Daily bump.
[official-gcc.git] / libstdc++-v3 / configure
blob16e09f097acde5c35fb4e88186cd3367c9a51884
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_VISIBILITY_FALSE
647 ENABLE_VISIBILITY_TRUE
648 libtool_VERSION
649 ENABLE_SYMVERS_SUN_FALSE
650 ENABLE_SYMVERS_SUN_TRUE
651 ENABLE_SYMVERS_DARWIN_FALSE
652 ENABLE_SYMVERS_DARWIN_TRUE
653 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
654 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
655 ENABLE_SYMVERS_GNU_FALSE
656 ENABLE_SYMVERS_GNU_TRUE
657 ENABLE_SYMVERS_FALSE
658 ENABLE_SYMVERS_TRUE
659 port_specific_symbol_files
660 SYMVER_FILE
661 CXXFILT
662 LTLIBICONV
663 LIBICONV
664 OPT_LDFLAGS
665 SECTION_LDFLAGS
666 GLIBCXX_LIBS
667 ENABLE_VTABLE_VERIFY_FALSE
668 ENABLE_VTABLE_VERIFY_TRUE
669 VTV_CXXLINKFLAGS
670 VTV_PCH_CXXFLAGS
671 VTV_CXXFLAGS
672 ENABLE_WERROR_FALSE
673 ENABLE_WERROR_TRUE
674 ENABLE_PYTHONDIR_FALSE
675 ENABLE_PYTHONDIR_TRUE
676 python_mod_dir
677 ENABLE_EXTERN_TEMPLATE_FALSE
678 ENABLE_EXTERN_TEMPLATE_TRUE
679 EXTRA_CXX_FLAGS
680 GLIBCXX_BUILD_DEBUG_FALSE
681 GLIBCXX_BUILD_DEBUG_TRUE
682 DEBUG_FLAGS
683 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
684 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
685 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
686 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
687 GLIBCXX_C_HEADERS_C_STD_FALSE
688 GLIBCXX_C_HEADERS_C_STD_TRUE
689 GLIBCXX_C_HEADERS_C_FALSE
690 GLIBCXX_C_HEADERS_C_TRUE
691 C_INCLUDE_DIR
692 ALLOCATOR_NAME
693 ALLOCATOR_H
694 CLOCALE_INTERNAL_H
695 CLOCALE_CC
696 CTIME_CC
697 CTIME_H
698 CNUMERIC_CC
699 CMONEY_CC
700 CMESSAGES_CC
701 CCTYPE_CC
702 CCOLLATE_CC
703 CCODECVT_CC
704 CMESSAGES_H
705 CLOCALE_H
706 USE_NLS
707 glibcxx_localedir
708 glibcxx_POFILES
709 glibcxx_MOFILES
710 check_msgfmt
711 BASIC_FILE_CC
712 BASIC_FILE_H
713 CSTDIO_H
714 SECTION_FLAGS
715 WERROR
716 thread_header
717 glibcxx_PCHFLAGS
718 GLIBCXX_BUILD_PCH_FALSE
719 GLIBCXX_BUILD_PCH_TRUE
720 GLIBCXX_HOSTED_FALSE
721 GLIBCXX_HOSTED_TRUE
722 glibcxx_compiler_shared_flag
723 glibcxx_compiler_pic_flag
724 glibcxx_lt_pic_flag
725 enable_static
726 enable_shared
727 lt_host_flags
728 CXXCPP
729 OTOOL64
730 OTOOL
731 LIPO
732 NMEDIT
733 DSYMUTIL
734 OBJDUMP
736 ac_ct_DUMPBIN
737 DUMPBIN
739 FGREP
741 LIBTOOL
742 EGREP
743 GREP
745 MAINT
746 MAINTAINER_MODE_FALSE
747 MAINTAINER_MODE_TRUE
748 RANLIB
751 LN_S
752 toplevel_srcdir
753 toplevel_builddir
754 glibcxx_srcdir
755 glibcxx_builddir
756 ac_ct_CXX
757 CXXFLAGS
759 OBJEXT
760 EXEEXT
761 ac_ct_CC
762 CPPFLAGS
763 LDFLAGS
764 CFLAGS
766 am__untar
767 am__tar
768 AMTAR
769 am__leading_dot
770 SET_MAKE
772 mkdir_p
773 MKDIR_P
774 INSTALL_STRIP_PROGRAM
775 STRIP
776 install_sh
777 MAKEINFO
778 AUTOHEADER
779 AUTOMAKE
780 AUTOCONF
781 ACLOCAL
782 VERSION
783 PACKAGE
784 CYGPATH_W
785 am__isrc
786 INSTALL_DATA
787 INSTALL_SCRIPT
788 INSTALL_PROGRAM
789 target_os
790 target_vendor
791 target_cpu
792 target
793 host_os
794 host_vendor
795 host_cpu
796 host
797 build_os
798 build_vendor
799 build_cpu
800 build
801 multi_basedir
802 target_alias
803 host_alias
804 build_alias
805 LIBS
806 ECHO_T
807 ECHO_N
808 ECHO_C
809 DEFS
810 mandir
811 localedir
812 libdir
813 psdir
814 pdfdir
815 dvidir
816 htmldir
817 infodir
818 docdir
819 oldincludedir
820 includedir
821 localstatedir
822 sharedstatedir
823 sysconfdir
824 datadir
825 datarootdir
826 libexecdir
827 sbindir
828 bindir
829 program_transform_name
830 prefix
831 exec_prefix
832 PACKAGE_URL
833 PACKAGE_BUGREPORT
834 PACKAGE_STRING
835 PACKAGE_VERSION
836 PACKAGE_TARNAME
837 PACKAGE_NAME
838 PATH_SEPARATOR
839 SHELL'
840 ac_subst_files=''
841 ac_user_opts='
842 enable_option_checking
843 enable_multilib
844 with_target_subdir
845 with_cross_host
846 with_newlib
847 enable_maintainer_mode
848 enable_shared
849 enable_static
850 with_pic
851 enable_fast_install
852 with_gnu_ld
853 enable_libtool_lock
854 enable_hosted_libstdcxx
855 enable_libstdcxx_verbose
856 enable_sjlj_exceptions
857 enable_libstdcxx_pch
858 enable_cstdio
859 enable_clocale
860 enable_nls
861 enable_libstdcxx_allocator
862 enable_cheaders
863 enable_long_long
864 enable_wchar_t
865 enable_c99
866 enable_concept_checks
867 enable_libstdcxx_debug_flags
868 enable_libstdcxx_debug
869 enable_cxx_flags
870 enable_fully_dynamic_string
871 enable_extern_template
872 with_python_dir
873 enable_werror
874 enable_vtable_verify
875 enable_libstdcxx_time
876 enable_tls
877 enable_rpath
878 with_libiconv_prefix
879 with_system_libunwind
880 enable_linux_futex
881 enable_symvers
882 enable_libstdcxx_visibility
883 enable_libstdcxx_threads
884 with_gxx_include_dir
885 enable_version_specific_runtime_libs
887 ac_precious_vars='build_alias
888 host_alias
889 target_alias
891 CFLAGS
892 LDFLAGS
893 LIBS
894 CPPFLAGS
896 CXXFLAGS
899 CXXCPP
900 CXXFILT'
903 # Initialize some variables set by options.
904 ac_init_help=
905 ac_init_version=false
906 ac_unrecognized_opts=
907 ac_unrecognized_sep=
908 # The variables have the same names as the options, with
909 # dashes changed to underlines.
910 cache_file=/dev/null
911 exec_prefix=NONE
912 no_create=
913 no_recursion=
914 prefix=NONE
915 program_prefix=NONE
916 program_suffix=NONE
917 program_transform_name=s,x,x,
918 silent=
919 site=
920 srcdir=
921 verbose=
922 x_includes=NONE
923 x_libraries=NONE
925 # Installation directory options.
926 # These are left unexpanded so users can "make install exec_prefix=/foo"
927 # and all the variables that are supposed to be based on exec_prefix
928 # by default will actually change.
929 # Use braces instead of parens because sh, perl, etc. also accept them.
930 # (The list follows the same order as the GNU Coding Standards.)
931 bindir='${exec_prefix}/bin'
932 sbindir='${exec_prefix}/sbin'
933 libexecdir='${exec_prefix}/libexec'
934 datarootdir='${prefix}/share'
935 datadir='${datarootdir}'
936 sysconfdir='${prefix}/etc'
937 sharedstatedir='${prefix}/com'
938 localstatedir='${prefix}/var'
939 includedir='${prefix}/include'
940 oldincludedir='/usr/include'
941 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
942 infodir='${datarootdir}/info'
943 htmldir='${docdir}'
944 dvidir='${docdir}'
945 pdfdir='${docdir}'
946 psdir='${docdir}'
947 libdir='${exec_prefix}/lib'
948 localedir='${datarootdir}/locale'
949 mandir='${datarootdir}/man'
951 ac_prev=
952 ac_dashdash=
953 for ac_option
955 # If the previous option needs an argument, assign it.
956 if test -n "$ac_prev"; then
957 eval $ac_prev=\$ac_option
958 ac_prev=
959 continue
962 case $ac_option in
963 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
964 *) ac_optarg=yes ;;
965 esac
967 # Accept the important Cygnus configure options, so we can diagnose typos.
969 case $ac_dashdash$ac_option in
971 ac_dashdash=yes ;;
973 -bindir | --bindir | --bindi | --bind | --bin | --bi)
974 ac_prev=bindir ;;
975 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
976 bindir=$ac_optarg ;;
978 -build | --build | --buil | --bui | --bu)
979 ac_prev=build_alias ;;
980 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
981 build_alias=$ac_optarg ;;
983 -cache-file | --cache-file | --cache-fil | --cache-fi \
984 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
985 ac_prev=cache_file ;;
986 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
987 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
988 cache_file=$ac_optarg ;;
990 --config-cache | -C)
991 cache_file=config.cache ;;
993 -datadir | --datadir | --datadi | --datad)
994 ac_prev=datadir ;;
995 -datadir=* | --datadir=* | --datadi=* | --datad=*)
996 datadir=$ac_optarg ;;
998 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
999 | --dataroo | --dataro | --datar)
1000 ac_prev=datarootdir ;;
1001 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1002 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1003 datarootdir=$ac_optarg ;;
1005 -disable-* | --disable-*)
1006 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1007 # Reject names that are not valid shell variable names.
1008 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1009 as_fn_error "invalid feature name: $ac_useropt"
1010 ac_useropt_orig=$ac_useropt
1011 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1012 case $ac_user_opts in
1014 "enable_$ac_useropt"
1015 "*) ;;
1016 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1017 ac_unrecognized_sep=', ';;
1018 esac
1019 eval enable_$ac_useropt=no ;;
1021 -docdir | --docdir | --docdi | --doc | --do)
1022 ac_prev=docdir ;;
1023 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1024 docdir=$ac_optarg ;;
1026 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1027 ac_prev=dvidir ;;
1028 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1029 dvidir=$ac_optarg ;;
1031 -enable-* | --enable-*)
1032 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1033 # Reject names that are not valid shell variable names.
1034 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1035 as_fn_error "invalid feature name: $ac_useropt"
1036 ac_useropt_orig=$ac_useropt
1037 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1038 case $ac_user_opts in
1040 "enable_$ac_useropt"
1041 "*) ;;
1042 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1043 ac_unrecognized_sep=', ';;
1044 esac
1045 eval enable_$ac_useropt=\$ac_optarg ;;
1047 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1048 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1049 | --exec | --exe | --ex)
1050 ac_prev=exec_prefix ;;
1051 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1052 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1053 | --exec=* | --exe=* | --ex=*)
1054 exec_prefix=$ac_optarg ;;
1056 -gas | --gas | --ga | --g)
1057 # Obsolete; use --with-gas.
1058 with_gas=yes ;;
1060 -help | --help | --hel | --he | -h)
1061 ac_init_help=long ;;
1062 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1063 ac_init_help=recursive ;;
1064 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1065 ac_init_help=short ;;
1067 -host | --host | --hos | --ho)
1068 ac_prev=host_alias ;;
1069 -host=* | --host=* | --hos=* | --ho=*)
1070 host_alias=$ac_optarg ;;
1072 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1073 ac_prev=htmldir ;;
1074 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1075 | --ht=*)
1076 htmldir=$ac_optarg ;;
1078 -includedir | --includedir | --includedi | --included | --include \
1079 | --includ | --inclu | --incl | --inc)
1080 ac_prev=includedir ;;
1081 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1082 | --includ=* | --inclu=* | --incl=* | --inc=*)
1083 includedir=$ac_optarg ;;
1085 -infodir | --infodir | --infodi | --infod | --info | --inf)
1086 ac_prev=infodir ;;
1087 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1088 infodir=$ac_optarg ;;
1090 -libdir | --libdir | --libdi | --libd)
1091 ac_prev=libdir ;;
1092 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1093 libdir=$ac_optarg ;;
1095 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1096 | --libexe | --libex | --libe)
1097 ac_prev=libexecdir ;;
1098 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1099 | --libexe=* | --libex=* | --libe=*)
1100 libexecdir=$ac_optarg ;;
1102 -localedir | --localedir | --localedi | --localed | --locale)
1103 ac_prev=localedir ;;
1104 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1105 localedir=$ac_optarg ;;
1107 -localstatedir | --localstatedir | --localstatedi | --localstated \
1108 | --localstate | --localstat | --localsta | --localst | --locals)
1109 ac_prev=localstatedir ;;
1110 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1111 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1112 localstatedir=$ac_optarg ;;
1114 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1115 ac_prev=mandir ;;
1116 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1117 mandir=$ac_optarg ;;
1119 -nfp | --nfp | --nf)
1120 # Obsolete; use --without-fp.
1121 with_fp=no ;;
1123 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1124 | --no-cr | --no-c | -n)
1125 no_create=yes ;;
1127 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1128 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1129 no_recursion=yes ;;
1131 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1132 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1133 | --oldin | --oldi | --old | --ol | --o)
1134 ac_prev=oldincludedir ;;
1135 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1136 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1137 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1138 oldincludedir=$ac_optarg ;;
1140 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1141 ac_prev=prefix ;;
1142 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1143 prefix=$ac_optarg ;;
1145 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1146 | --program-pre | --program-pr | --program-p)
1147 ac_prev=program_prefix ;;
1148 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1149 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1150 program_prefix=$ac_optarg ;;
1152 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1153 | --program-suf | --program-su | --program-s)
1154 ac_prev=program_suffix ;;
1155 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1156 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1157 program_suffix=$ac_optarg ;;
1159 -program-transform-name | --program-transform-name \
1160 | --program-transform-nam | --program-transform-na \
1161 | --program-transform-n | --program-transform- \
1162 | --program-transform | --program-transfor \
1163 | --program-transfo | --program-transf \
1164 | --program-trans | --program-tran \
1165 | --progr-tra | --program-tr | --program-t)
1166 ac_prev=program_transform_name ;;
1167 -program-transform-name=* | --program-transform-name=* \
1168 | --program-transform-nam=* | --program-transform-na=* \
1169 | --program-transform-n=* | --program-transform-=* \
1170 | --program-transform=* | --program-transfor=* \
1171 | --program-transfo=* | --program-transf=* \
1172 | --program-trans=* | --program-tran=* \
1173 | --progr-tra=* | --program-tr=* | --program-t=*)
1174 program_transform_name=$ac_optarg ;;
1176 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1177 ac_prev=pdfdir ;;
1178 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1179 pdfdir=$ac_optarg ;;
1181 -psdir | --psdir | --psdi | --psd | --ps)
1182 ac_prev=psdir ;;
1183 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1184 psdir=$ac_optarg ;;
1186 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1187 | -silent | --silent | --silen | --sile | --sil)
1188 silent=yes ;;
1190 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1191 ac_prev=sbindir ;;
1192 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1193 | --sbi=* | --sb=*)
1194 sbindir=$ac_optarg ;;
1196 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1197 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1198 | --sharedst | --shareds | --shared | --share | --shar \
1199 | --sha | --sh)
1200 ac_prev=sharedstatedir ;;
1201 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1202 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1203 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1204 | --sha=* | --sh=*)
1205 sharedstatedir=$ac_optarg ;;
1207 -site | --site | --sit)
1208 ac_prev=site ;;
1209 -site=* | --site=* | --sit=*)
1210 site=$ac_optarg ;;
1212 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1213 ac_prev=srcdir ;;
1214 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1215 srcdir=$ac_optarg ;;
1217 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1218 | --syscon | --sysco | --sysc | --sys | --sy)
1219 ac_prev=sysconfdir ;;
1220 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1221 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1222 sysconfdir=$ac_optarg ;;
1224 -target | --target | --targe | --targ | --tar | --ta | --t)
1225 ac_prev=target_alias ;;
1226 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1227 target_alias=$ac_optarg ;;
1229 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1230 verbose=yes ;;
1232 -version | --version | --versio | --versi | --vers | -V)
1233 ac_init_version=: ;;
1235 -with-* | --with-*)
1236 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1237 # Reject names that are not valid shell variable names.
1238 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1239 as_fn_error "invalid package name: $ac_useropt"
1240 ac_useropt_orig=$ac_useropt
1241 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1242 case $ac_user_opts in
1244 "with_$ac_useropt"
1245 "*) ;;
1246 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1247 ac_unrecognized_sep=', ';;
1248 esac
1249 eval with_$ac_useropt=\$ac_optarg ;;
1251 -without-* | --without-*)
1252 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1253 # Reject names that are not valid shell variable names.
1254 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1255 as_fn_error "invalid package name: $ac_useropt"
1256 ac_useropt_orig=$ac_useropt
1257 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1258 case $ac_user_opts in
1260 "with_$ac_useropt"
1261 "*) ;;
1262 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1263 ac_unrecognized_sep=', ';;
1264 esac
1265 eval with_$ac_useropt=no ;;
1267 --x)
1268 # Obsolete; use --with-x.
1269 with_x=yes ;;
1271 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1272 | --x-incl | --x-inc | --x-in | --x-i)
1273 ac_prev=x_includes ;;
1274 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1275 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1276 x_includes=$ac_optarg ;;
1278 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1279 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1280 ac_prev=x_libraries ;;
1281 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1282 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1283 x_libraries=$ac_optarg ;;
1285 -*) as_fn_error "unrecognized option: \`$ac_option'
1286 Try \`$0 --help' for more information."
1289 *=*)
1290 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1291 # Reject names that are not valid shell variable names.
1292 case $ac_envvar in #(
1293 '' | [0-9]* | *[!_$as_cr_alnum]* )
1294 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1295 esac
1296 eval $ac_envvar=\$ac_optarg
1297 export $ac_envvar ;;
1300 # FIXME: should be removed in autoconf 3.0.
1301 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1302 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1303 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1304 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1307 esac
1308 done
1310 if test -n "$ac_prev"; then
1311 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1312 as_fn_error "missing argument to $ac_option"
1315 if test -n "$ac_unrecognized_opts"; then
1316 case $enable_option_checking in
1317 no) ;;
1318 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1319 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1320 esac
1323 # Check all directory arguments for consistency.
1324 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1325 datadir sysconfdir sharedstatedir localstatedir includedir \
1326 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1327 libdir localedir mandir
1329 eval ac_val=\$$ac_var
1330 # Remove trailing slashes.
1331 case $ac_val in
1332 */ )
1333 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1334 eval $ac_var=\$ac_val;;
1335 esac
1336 # Be sure to have absolute directory names.
1337 case $ac_val in
1338 [\\/$]* | ?:[\\/]* ) continue;;
1339 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1340 esac
1341 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1342 done
1344 # There might be people who depend on the old broken behavior: `$host'
1345 # used to hold the argument of --host etc.
1346 # FIXME: To remove some day.
1347 build=$build_alias
1348 host=$host_alias
1349 target=$target_alias
1351 # FIXME: To remove some day.
1352 if test "x$host_alias" != x; then
1353 if test "x$build_alias" = x; then
1354 cross_compiling=maybe
1355 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1356 If a cross compiler is detected then cross compile mode will be used." >&2
1357 elif test "x$build_alias" != "x$host_alias"; then
1358 cross_compiling=yes
1362 ac_tool_prefix=
1363 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1365 test "$silent" = yes && exec 6>/dev/null
1368 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1369 ac_ls_di=`ls -di .` &&
1370 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1371 as_fn_error "working directory cannot be determined"
1372 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1373 as_fn_error "pwd does not report name of working directory"
1376 # Find the source files, if location was not specified.
1377 if test -z "$srcdir"; then
1378 ac_srcdir_defaulted=yes
1379 # Try the directory containing this script, then the parent directory.
1380 ac_confdir=`$as_dirname -- "$as_myself" ||
1381 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1382 X"$as_myself" : 'X\(//\)[^/]' \| \
1383 X"$as_myself" : 'X\(//\)$' \| \
1384 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1385 $as_echo X"$as_myself" |
1386 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1387 s//\1/
1390 /^X\(\/\/\)[^/].*/{
1391 s//\1/
1394 /^X\(\/\/\)$/{
1395 s//\1/
1398 /^X\(\/\).*/{
1399 s//\1/
1402 s/.*/./; q'`
1403 srcdir=$ac_confdir
1404 if test ! -r "$srcdir/$ac_unique_file"; then
1405 srcdir=..
1407 else
1408 ac_srcdir_defaulted=no
1410 if test ! -r "$srcdir/$ac_unique_file"; then
1411 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1412 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1414 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1415 ac_abs_confdir=`(
1416 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1417 pwd)`
1418 # When building in place, set srcdir=.
1419 if test "$ac_abs_confdir" = "$ac_pwd"; then
1420 srcdir=.
1422 # Remove unnecessary trailing slashes from srcdir.
1423 # Double slashes in file names in object file debugging info
1424 # mess up M-x gdb in Emacs.
1425 case $srcdir in
1426 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1427 esac
1428 for ac_var in $ac_precious_vars; do
1429 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1430 eval ac_env_${ac_var}_value=\$${ac_var}
1431 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1432 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1433 done
1436 # Report the --help message.
1438 if test "$ac_init_help" = "long"; then
1439 # Omit some internal or obsolete options to make the list less imposing.
1440 # This message is too long to be a string in the A/UX 3.1 sh.
1441 cat <<_ACEOF
1442 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1444 Usage: $0 [OPTION]... [VAR=VALUE]...
1446 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1447 VAR=VALUE. See below for descriptions of some of the useful variables.
1449 Defaults for the options are specified in brackets.
1451 Configuration:
1452 -h, --help display this help and exit
1453 --help=short display options specific to this package
1454 --help=recursive display the short help of all the included packages
1455 -V, --version display version information and exit
1456 -q, --quiet, --silent do not print \`checking...' messages
1457 --cache-file=FILE cache test results in FILE [disabled]
1458 -C, --config-cache alias for \`--cache-file=config.cache'
1459 -n, --no-create do not create output files
1460 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1462 Installation directories:
1463 --prefix=PREFIX install architecture-independent files in PREFIX
1464 [$ac_default_prefix]
1465 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1466 [PREFIX]
1468 By default, \`make install' will install all the files in
1469 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1470 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1471 for instance \`--prefix=\$HOME'.
1473 For better control, use the options below.
1475 Fine tuning of the installation directories:
1476 --bindir=DIR user executables [EPREFIX/bin]
1477 --sbindir=DIR system admin executables [EPREFIX/sbin]
1478 --libexecdir=DIR program executables [EPREFIX/libexec]
1479 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1480 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1481 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1482 --libdir=DIR object code libraries [EPREFIX/lib]
1483 --includedir=DIR C header files [PREFIX/include]
1484 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1485 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1486 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1487 --infodir=DIR info documentation [DATAROOTDIR/info]
1488 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1489 --mandir=DIR man documentation [DATAROOTDIR/man]
1490 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1491 --htmldir=DIR html documentation [DOCDIR]
1492 --dvidir=DIR dvi documentation [DOCDIR]
1493 --pdfdir=DIR pdf documentation [DOCDIR]
1494 --psdir=DIR ps documentation [DOCDIR]
1495 _ACEOF
1497 cat <<\_ACEOF
1499 Program names:
1500 --program-prefix=PREFIX prepend PREFIX to installed program names
1501 --program-suffix=SUFFIX append SUFFIX to installed program names
1502 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1504 System types:
1505 --build=BUILD configure for building on BUILD [guessed]
1506 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1507 --target=TARGET configure for building compilers for TARGET [HOST]
1508 _ACEOF
1511 if test -n "$ac_init_help"; then
1512 case $ac_init_help in
1513 short | recursive ) echo "Configuration of package-unused version-unused:";;
1514 esac
1515 cat <<\_ACEOF
1517 Optional Features:
1518 --disable-option-checking ignore unrecognized --enable/--with options
1519 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1520 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1521 --enable-multilib build many library versions (default)
1522 --enable-maintainer-mode enable make rules and dependencies not useful
1523 (and sometimes confusing) to the casual installer
1524 --enable-shared[=PKGS] build shared libraries [default=yes]
1525 --enable-static[=PKGS] build static libraries [default=yes]
1526 --enable-fast-install[=PKGS]
1527 optimize for fast installation [default=yes]
1528 --disable-libtool-lock avoid locking (might break parallel builds)
1529 --disable-hosted-libstdcxx
1530 only build freestanding C++ runtime support
1531 --disable-libstdcxx-verbose
1532 disable termination messages to standard error
1533 --enable-sjlj-exceptions
1534 force use of builtin_setjmp for exceptions
1535 [default=auto]
1536 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1537 [default=$is_hosted]
1538 --enable-cstdio[=PACKAGE]
1539 use target-specific I/O package [default=stdio]
1540 --enable-clocale[=MODEL]
1541 use MODEL for target locale package [default=auto]
1542 --enable-nls use Native Language Support (default)
1543 --enable-libstdcxx-allocator[=KIND]
1544 use KIND for target std::allocator base
1545 [default=auto]
1546 --enable-cheaders[=KIND]
1547 construct "C" headers for g++ [default=$c_model]
1548 --enable-long-long enable template specializations for 'long long'
1549 [default=yes]
1550 --enable-wchar_t enable template specializations for 'wchar_t'
1551 [default=yes]
1552 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1553 --enable-concept-checks use Boost-derived template checks [default=no]
1554 --enable-libstdcxx-debug-flags=FLAGS
1555 pass compiler FLAGS when building debug library
1556 [default="-gdwarf-4 -g3 -O0"]
1557 --enable-libstdcxx-debug
1558 build extra debug library [default=no]
1559 --enable-cxx-flags=FLAGS
1560 pass compiler FLAGS when building library [default=]
1561 --enable-fully-dynamic-string
1562 do not put empty strings in per-process static
1563 memory [default=no]
1564 --enable-extern-template
1565 enable extern template [default=yes]
1566 --enable-werror turns on -Werror [default=yes]
1567 --enable-vtable-verify enable vtable verify [default=no]
1568 --enable-libstdcxx-time[=KIND]
1569 use KIND for check type [default=auto]
1570 --enable-tls Use thread-local storage [default=yes]
1571 --disable-rpath do not hardcode runtime library paths
1572 --enable-linux-futex use the Linux futex system call [default=default]
1573 --enable-symvers[=STYLE]
1574 enables symbol versioning of the shared library
1575 [default=yes]
1576 --enable-libstdcxx-visibility
1577 enables visibility safe usage [default=yes]
1578 --enable-libstdcxx-threads
1579 enable C++11 threads support [default=auto]
1580 --enable-version-specific-runtime-libs
1581 Specify that runtime libraries should be installed
1582 in a compiler-specific directory
1584 Optional Packages:
1585 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1586 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1587 --with-target-subdir=SUBDIR
1588 configuring in a subdirectory
1589 --with-cross-host=HOST configuring with a cross compiler
1590 --with-newlib assume newlib as a system C library
1591 --with-pic try to use only PIC/non-PIC objects [default=use
1592 both]
1593 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1594 --with-python-dir the location to install Python modules. This path is
1595 relative starting from the prefix.
1596 --with-gnu-ld assume the C compiler uses GNU ld default=no
1597 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1598 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1599 --with-system-libunwind use installed libunwind
1600 --with-gxx-include-dir=DIR
1601 installation directory for include files
1603 Some influential environment variables:
1604 CC C compiler command
1605 CFLAGS C compiler flags
1606 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1607 nonstandard directory <lib dir>
1608 LIBS libraries to pass to the linker, e.g. -l<library>
1609 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1610 you have headers in a nonstandard directory <include dir>
1611 CXX C++ compiler command
1612 CXXFLAGS C++ compiler flags
1613 CPP C preprocessor
1614 CXXCPP C++ preprocessor
1615 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1616 `c++filt', `gc++filt' on PATH.
1618 Use these variables to override the choices made by `configure' or to help
1619 it to find libraries and programs with nonstandard names/locations.
1621 Report bugs to the package provider.
1622 _ACEOF
1623 ac_status=$?
1626 if test "$ac_init_help" = "recursive"; then
1627 # If there are subdirs, report their specific --help.
1628 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1629 test -d "$ac_dir" ||
1630 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1631 continue
1632 ac_builddir=.
1634 case "$ac_dir" in
1635 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1637 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1638 # A ".." for each directory in $ac_dir_suffix.
1639 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1640 case $ac_top_builddir_sub in
1641 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1642 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1643 esac ;;
1644 esac
1645 ac_abs_top_builddir=$ac_pwd
1646 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1647 # for backward compatibility:
1648 ac_top_builddir=$ac_top_build_prefix
1650 case $srcdir in
1651 .) # We are building in place.
1652 ac_srcdir=.
1653 ac_top_srcdir=$ac_top_builddir_sub
1654 ac_abs_top_srcdir=$ac_pwd ;;
1655 [\\/]* | ?:[\\/]* ) # Absolute name.
1656 ac_srcdir=$srcdir$ac_dir_suffix;
1657 ac_top_srcdir=$srcdir
1658 ac_abs_top_srcdir=$srcdir ;;
1659 *) # Relative name.
1660 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1661 ac_top_srcdir=$ac_top_build_prefix$srcdir
1662 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1663 esac
1664 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1666 cd "$ac_dir" || { ac_status=$?; continue; }
1667 # Check for guested configure.
1668 if test -f "$ac_srcdir/configure.gnu"; then
1669 echo &&
1670 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1671 elif test -f "$ac_srcdir/configure"; then
1672 echo &&
1673 $SHELL "$ac_srcdir/configure" --help=recursive
1674 else
1675 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1676 fi || ac_status=$?
1677 cd "$ac_pwd" || { ac_status=$?; break; }
1678 done
1681 test -n "$ac_init_help" && exit $ac_status
1682 if $ac_init_version; then
1683 cat <<\_ACEOF
1684 package-unused configure version-unused
1685 generated by GNU Autoconf 2.64
1687 Copyright (C) 2009 Free Software Foundation, Inc.
1688 This configure script is free software; the Free Software Foundation
1689 gives unlimited permission to copy, distribute and modify it.
1690 _ACEOF
1691 exit
1694 ## ------------------------ ##
1695 ## Autoconf initialization. ##
1696 ## ------------------------ ##
1698 # ac_fn_c_try_compile LINENO
1699 # --------------------------
1700 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1701 ac_fn_c_try_compile ()
1703 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1704 rm -f conftest.$ac_objext
1705 if { { ac_try="$ac_compile"
1706 case "(($ac_try" in
1707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1708 *) ac_try_echo=$ac_try;;
1709 esac
1710 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1711 $as_echo "$ac_try_echo"; } >&5
1712 (eval "$ac_compile") 2>conftest.err
1713 ac_status=$?
1714 if test -s conftest.err; then
1715 grep -v '^ *+' conftest.err >conftest.er1
1716 cat conftest.er1 >&5
1717 mv -f conftest.er1 conftest.err
1719 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1720 test $ac_status = 0; } && {
1721 test -z "$ac_c_werror_flag" ||
1722 test ! -s conftest.err
1723 } && test -s conftest.$ac_objext; then :
1724 ac_retval=0
1725 else
1726 $as_echo "$as_me: failed program was:" >&5
1727 sed 's/^/| /' conftest.$ac_ext >&5
1729 ac_retval=1
1731 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1732 return $ac_retval
1734 } # ac_fn_c_try_compile
1736 # ac_fn_cxx_try_compile LINENO
1737 # ----------------------------
1738 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1739 ac_fn_cxx_try_compile ()
1741 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1742 rm -f conftest.$ac_objext
1743 if { { ac_try="$ac_compile"
1744 case "(($ac_try" in
1745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1746 *) ac_try_echo=$ac_try;;
1747 esac
1748 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1749 $as_echo "$ac_try_echo"; } >&5
1750 (eval "$ac_compile") 2>conftest.err
1751 ac_status=$?
1752 if test -s conftest.err; then
1753 grep -v '^ *+' conftest.err >conftest.er1
1754 cat conftest.er1 >&5
1755 mv -f conftest.er1 conftest.err
1757 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1758 test $ac_status = 0; } && {
1759 test -z "$ac_cxx_werror_flag" ||
1760 test ! -s conftest.err
1761 } && test -s conftest.$ac_objext; then :
1762 ac_retval=0
1763 else
1764 $as_echo "$as_me: failed program was:" >&5
1765 sed 's/^/| /' conftest.$ac_ext >&5
1767 ac_retval=1
1769 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1770 return $ac_retval
1772 } # ac_fn_cxx_try_compile
1774 # ac_fn_c_try_cpp LINENO
1775 # ----------------------
1776 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1777 ac_fn_c_try_cpp ()
1779 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1780 if { { ac_try="$ac_cpp conftest.$ac_ext"
1781 case "(($ac_try" in
1782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1783 *) ac_try_echo=$ac_try;;
1784 esac
1785 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1786 $as_echo "$ac_try_echo"; } >&5
1787 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1788 ac_status=$?
1789 if test -s conftest.err; then
1790 grep -v '^ *+' conftest.err >conftest.er1
1791 cat conftest.er1 >&5
1792 mv -f conftest.er1 conftest.err
1794 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1795 test $ac_status = 0; } >/dev/null && {
1796 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1797 test ! -s conftest.err
1798 }; then :
1799 ac_retval=0
1800 else
1801 $as_echo "$as_me: failed program was:" >&5
1802 sed 's/^/| /' conftest.$ac_ext >&5
1804 ac_retval=1
1806 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1807 return $ac_retval
1809 } # ac_fn_c_try_cpp
1811 # ac_fn_c_try_link LINENO
1812 # -----------------------
1813 # Try to link conftest.$ac_ext, and return whether this succeeded.
1814 ac_fn_c_try_link ()
1816 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1817 rm -f conftest.$ac_objext conftest$ac_exeext
1818 if { { ac_try="$ac_link"
1819 case "(($ac_try" in
1820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1821 *) ac_try_echo=$ac_try;;
1822 esac
1823 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1824 $as_echo "$ac_try_echo"; } >&5
1825 (eval "$ac_link") 2>conftest.err
1826 ac_status=$?
1827 if test -s conftest.err; then
1828 grep -v '^ *+' conftest.err >conftest.er1
1829 cat conftest.er1 >&5
1830 mv -f conftest.er1 conftest.err
1832 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1833 test $ac_status = 0; } && {
1834 test -z "$ac_c_werror_flag" ||
1835 test ! -s conftest.err
1836 } && test -s conftest$ac_exeext && {
1837 test "$cross_compiling" = yes ||
1838 $as_test_x conftest$ac_exeext
1839 }; then :
1840 ac_retval=0
1841 else
1842 $as_echo "$as_me: failed program was:" >&5
1843 sed 's/^/| /' conftest.$ac_ext >&5
1845 ac_retval=1
1847 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1848 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1849 # interfere with the next link command; also delete a directory that is
1850 # left behind by Apple's compiler. We do this before executing the actions.
1851 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1852 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1853 return $ac_retval
1855 } # ac_fn_c_try_link
1857 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1858 # -------------------------------------------------------
1859 # Tests whether HEADER exists and can be compiled using the include files in
1860 # INCLUDES, setting the cache variable VAR accordingly.
1861 ac_fn_c_check_header_compile ()
1863 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1865 $as_echo_n "checking for $2... " >&6; }
1866 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1867 $as_echo_n "(cached) " >&6
1868 else
1869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1870 /* end confdefs.h. */
1872 #include <$2>
1873 _ACEOF
1874 if ac_fn_c_try_compile "$LINENO"; then :
1875 eval "$3=yes"
1876 else
1877 eval "$3=no"
1879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1881 eval ac_res=\$$3
1882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1883 $as_echo "$ac_res" >&6; }
1884 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1886 } # ac_fn_c_check_header_compile
1888 # ac_fn_c_try_run LINENO
1889 # ----------------------
1890 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1891 # that executables *can* be run.
1892 ac_fn_c_try_run ()
1894 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1895 if { { ac_try="$ac_link"
1896 case "(($ac_try" in
1897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1898 *) ac_try_echo=$ac_try;;
1899 esac
1900 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1901 $as_echo "$ac_try_echo"; } >&5
1902 (eval "$ac_link") 2>&5
1903 ac_status=$?
1904 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1905 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1906 { { case "(($ac_try" in
1907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1908 *) ac_try_echo=$ac_try;;
1909 esac
1910 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1911 $as_echo "$ac_try_echo"; } >&5
1912 (eval "$ac_try") 2>&5
1913 ac_status=$?
1914 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1915 test $ac_status = 0; }; }; then :
1916 ac_retval=0
1917 else
1918 $as_echo "$as_me: program exited with status $ac_status" >&5
1919 $as_echo "$as_me: failed program was:" >&5
1920 sed 's/^/| /' conftest.$ac_ext >&5
1922 ac_retval=$ac_status
1924 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1925 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1926 return $ac_retval
1928 } # ac_fn_c_try_run
1930 # ac_fn_c_check_func LINENO FUNC VAR
1931 # ----------------------------------
1932 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1933 ac_fn_c_check_func ()
1935 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1937 $as_echo_n "checking for $2... " >&6; }
1938 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1939 $as_echo_n "(cached) " >&6
1940 else
1941 if test x$gcc_no_link = xyes; then
1942 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1945 /* end confdefs.h. */
1946 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1947 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1948 #define $2 innocuous_$2
1950 /* System header to define __stub macros and hopefully few prototypes,
1951 which can conflict with char $2 (); below.
1952 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1953 <limits.h> exists even on freestanding compilers. */
1955 #ifdef __STDC__
1956 # include <limits.h>
1957 #else
1958 # include <assert.h>
1959 #endif
1961 #undef $2
1963 /* Override any GCC internal prototype to avoid an error.
1964 Use char because int might match the return type of a GCC
1965 builtin and then its argument prototype would still apply. */
1966 #ifdef __cplusplus
1967 extern "C"
1968 #endif
1969 char $2 ();
1970 /* The GNU C library defines this for functions which it implements
1971 to always fail with ENOSYS. Some functions are actually named
1972 something starting with __ and the normal name is an alias. */
1973 #if defined __stub_$2 || defined __stub___$2
1974 choke me
1975 #endif
1978 main ()
1980 return $2 ();
1982 return 0;
1984 _ACEOF
1985 if ac_fn_c_try_link "$LINENO"; then :
1986 eval "$3=yes"
1987 else
1988 eval "$3=no"
1990 rm -f core conftest.err conftest.$ac_objext \
1991 conftest$ac_exeext conftest.$ac_ext
1993 eval ac_res=\$$3
1994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1995 $as_echo "$ac_res" >&6; }
1996 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1998 } # ac_fn_c_check_func
2000 # ac_fn_cxx_try_cpp LINENO
2001 # ------------------------
2002 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2003 ac_fn_cxx_try_cpp ()
2005 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2006 if { { ac_try="$ac_cpp conftest.$ac_ext"
2007 case "(($ac_try" in
2008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2009 *) ac_try_echo=$ac_try;;
2010 esac
2011 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2012 $as_echo "$ac_try_echo"; } >&5
2013 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2014 ac_status=$?
2015 if test -s conftest.err; then
2016 grep -v '^ *+' conftest.err >conftest.er1
2017 cat conftest.er1 >&5
2018 mv -f conftest.er1 conftest.err
2020 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2021 test $ac_status = 0; } >/dev/null && {
2022 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2023 test ! -s conftest.err
2024 }; then :
2025 ac_retval=0
2026 else
2027 $as_echo "$as_me: failed program was:" >&5
2028 sed 's/^/| /' conftest.$ac_ext >&5
2030 ac_retval=1
2032 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2033 return $ac_retval
2035 } # ac_fn_cxx_try_cpp
2037 # ac_fn_cxx_try_link LINENO
2038 # -------------------------
2039 # Try to link conftest.$ac_ext, and return whether this succeeded.
2040 ac_fn_cxx_try_link ()
2042 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2043 rm -f conftest.$ac_objext conftest$ac_exeext
2044 if { { ac_try="$ac_link"
2045 case "(($ac_try" in
2046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2047 *) ac_try_echo=$ac_try;;
2048 esac
2049 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2050 $as_echo "$ac_try_echo"; } >&5
2051 (eval "$ac_link") 2>conftest.err
2052 ac_status=$?
2053 if test -s conftest.err; then
2054 grep -v '^ *+' conftest.err >conftest.er1
2055 cat conftest.er1 >&5
2056 mv -f conftest.er1 conftest.err
2058 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2059 test $ac_status = 0; } && {
2060 test -z "$ac_cxx_werror_flag" ||
2061 test ! -s conftest.err
2062 } && test -s conftest$ac_exeext && {
2063 test "$cross_compiling" = yes ||
2064 $as_test_x conftest$ac_exeext
2065 }; then :
2066 ac_retval=0
2067 else
2068 $as_echo "$as_me: failed program was:" >&5
2069 sed 's/^/| /' conftest.$ac_ext >&5
2071 ac_retval=1
2073 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2074 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2075 # interfere with the next link command; also delete a directory that is
2076 # left behind by Apple's compiler. We do this before executing the actions.
2077 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2078 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2079 return $ac_retval
2081 } # ac_fn_cxx_try_link
2083 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2084 # -------------------------------------------------------
2085 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2086 # the include files in INCLUDES and setting the cache variable VAR
2087 # accordingly.
2088 ac_fn_c_check_header_mongrel ()
2090 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2091 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2093 $as_echo_n "checking for $2... " >&6; }
2094 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2095 $as_echo_n "(cached) " >&6
2097 eval ac_res=\$$3
2098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2099 $as_echo "$ac_res" >&6; }
2100 else
2101 # Is the header compilable?
2102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2103 $as_echo_n "checking $2 usability... " >&6; }
2104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2105 /* end confdefs.h. */
2107 #include <$2>
2108 _ACEOF
2109 if ac_fn_c_try_compile "$LINENO"; then :
2110 ac_header_compiler=yes
2111 else
2112 ac_header_compiler=no
2114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2116 $as_echo "$ac_header_compiler" >&6; }
2118 # Is the header present?
2119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2120 $as_echo_n "checking $2 presence... " >&6; }
2121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2122 /* end confdefs.h. */
2123 #include <$2>
2124 _ACEOF
2125 if ac_fn_c_try_cpp "$LINENO"; then :
2126 ac_header_preproc=yes
2127 else
2128 ac_header_preproc=no
2130 rm -f conftest.err conftest.$ac_ext
2131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2132 $as_echo "$ac_header_preproc" >&6; }
2134 # So? What about this header?
2135 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2136 yes:no: )
2137 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2138 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2139 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2140 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2142 no:yes:* )
2143 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2144 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2145 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2146 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2147 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2148 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2149 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2150 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2151 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2152 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2154 esac
2155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2156 $as_echo_n "checking for $2... " >&6; }
2157 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2158 $as_echo_n "(cached) " >&6
2159 else
2160 eval "$3=\$ac_header_compiler"
2162 eval ac_res=\$$3
2163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2164 $as_echo "$ac_res" >&6; }
2166 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2168 } # ac_fn_c_check_header_mongrel
2170 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2171 # ---------------------------------------------------------
2172 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2173 # the include files in INCLUDES and setting the cache variable VAR
2174 # accordingly.
2175 ac_fn_cxx_check_header_mongrel ()
2177 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2178 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2180 $as_echo_n "checking for $2... " >&6; }
2181 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2182 $as_echo_n "(cached) " >&6
2184 eval ac_res=\$$3
2185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2186 $as_echo "$ac_res" >&6; }
2187 else
2188 # Is the header compilable?
2189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2190 $as_echo_n "checking $2 usability... " >&6; }
2191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2192 /* end confdefs.h. */
2194 #include <$2>
2195 _ACEOF
2196 if ac_fn_cxx_try_compile "$LINENO"; then :
2197 ac_header_compiler=yes
2198 else
2199 ac_header_compiler=no
2201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2203 $as_echo "$ac_header_compiler" >&6; }
2205 # Is the header present?
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2207 $as_echo_n "checking $2 presence... " >&6; }
2208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2209 /* end confdefs.h. */
2210 #include <$2>
2211 _ACEOF
2212 if ac_fn_cxx_try_cpp "$LINENO"; then :
2213 ac_header_preproc=yes
2214 else
2215 ac_header_preproc=no
2217 rm -f conftest.err conftest.$ac_ext
2218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2219 $as_echo "$ac_header_preproc" >&6; }
2221 # So? What about this header?
2222 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2223 yes:no: )
2224 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2225 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2226 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2227 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2229 no:yes:* )
2230 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2231 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2232 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2233 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2234 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2235 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2236 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2237 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2238 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2239 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2241 esac
2242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2243 $as_echo_n "checking for $2... " >&6; }
2244 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2245 $as_echo_n "(cached) " >&6
2246 else
2247 eval "$3=\$ac_header_compiler"
2249 eval ac_res=\$$3
2250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2251 $as_echo "$ac_res" >&6; }
2253 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2255 } # ac_fn_cxx_check_header_mongrel
2257 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2258 # --------------------------------------------
2259 # Tries to find the compile-time value of EXPR in a program that includes
2260 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2261 # computed
2262 ac_fn_c_compute_int ()
2264 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2265 if test "$cross_compiling" = yes; then
2266 # Depending upon the size, compute the lo and hi bounds.
2267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2268 /* end confdefs.h. */
2271 main ()
2273 static int test_array [1 - 2 * !(($2) >= 0)];
2274 test_array [0] = 0
2277 return 0;
2279 _ACEOF
2280 if ac_fn_c_try_compile "$LINENO"; then :
2281 ac_lo=0 ac_mid=0
2282 while :; do
2283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2284 /* end confdefs.h. */
2287 main ()
2289 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2290 test_array [0] = 0
2293 return 0;
2295 _ACEOF
2296 if ac_fn_c_try_compile "$LINENO"; then :
2297 ac_hi=$ac_mid; break
2298 else
2299 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2300 if test $ac_lo -le $ac_mid; then
2301 ac_lo= ac_hi=
2302 break
2304 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2307 done
2308 else
2309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2310 /* end confdefs.h. */
2313 main ()
2315 static int test_array [1 - 2 * !(($2) < 0)];
2316 test_array [0] = 0
2319 return 0;
2321 _ACEOF
2322 if ac_fn_c_try_compile "$LINENO"; then :
2323 ac_hi=-1 ac_mid=-1
2324 while :; do
2325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2326 /* end confdefs.h. */
2329 main ()
2331 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2332 test_array [0] = 0
2335 return 0;
2337 _ACEOF
2338 if ac_fn_c_try_compile "$LINENO"; then :
2339 ac_lo=$ac_mid; break
2340 else
2341 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2342 if test $ac_mid -le $ac_hi; then
2343 ac_lo= ac_hi=
2344 break
2346 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2349 done
2350 else
2351 ac_lo= ac_hi=
2353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2356 # Binary search between lo and hi bounds.
2357 while test "x$ac_lo" != "x$ac_hi"; do
2358 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2360 /* end confdefs.h. */
2363 main ()
2365 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2366 test_array [0] = 0
2369 return 0;
2371 _ACEOF
2372 if ac_fn_c_try_compile "$LINENO"; then :
2373 ac_hi=$ac_mid
2374 else
2375 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2378 done
2379 case $ac_lo in #((
2380 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2381 '') ac_retval=1 ;;
2382 esac
2383 else
2384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2385 /* end confdefs.h. */
2387 static long int longval () { return $2; }
2388 static unsigned long int ulongval () { return $2; }
2389 #include <stdio.h>
2390 #include <stdlib.h>
2392 main ()
2395 FILE *f = fopen ("conftest.val", "w");
2396 if (! f)
2397 return 1;
2398 if (($2) < 0)
2400 long int i = longval ();
2401 if (i != ($2))
2402 return 1;
2403 fprintf (f, "%ld", i);
2405 else
2407 unsigned long int i = ulongval ();
2408 if (i != ($2))
2409 return 1;
2410 fprintf (f, "%lu", i);
2412 /* Do not output a trailing newline, as this causes \r\n confusion
2413 on some platforms. */
2414 return ferror (f) || fclose (f) != 0;
2417 return 0;
2419 _ACEOF
2420 if ac_fn_c_try_run "$LINENO"; then :
2421 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2422 else
2423 ac_retval=1
2425 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2426 conftest.$ac_objext conftest.beam conftest.$ac_ext
2427 rm -f conftest.val
2430 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2431 return $ac_retval
2433 } # ac_fn_c_compute_int
2435 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2436 # -------------------------------------------
2437 # Tests whether TYPE exists after having included INCLUDES, setting cache
2438 # variable VAR accordingly.
2439 ac_fn_c_check_type ()
2441 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2443 $as_echo_n "checking for $2... " >&6; }
2444 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2445 $as_echo_n "(cached) " >&6
2446 else
2447 eval "$3=no"
2448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2449 /* end confdefs.h. */
2452 main ()
2454 if (sizeof ($2))
2455 return 0;
2457 return 0;
2459 _ACEOF
2460 if ac_fn_c_try_compile "$LINENO"; then :
2461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2462 /* end confdefs.h. */
2465 main ()
2467 if (sizeof (($2)))
2468 return 0;
2470 return 0;
2472 _ACEOF
2473 if ac_fn_c_try_compile "$LINENO"; then :
2475 else
2476 eval "$3=yes"
2478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2482 eval ac_res=\$$3
2483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2484 $as_echo "$ac_res" >&6; }
2485 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2487 } # ac_fn_c_check_type
2488 cat >config.log <<_ACEOF
2489 This file contains any messages produced by compilers while
2490 running configure, to aid debugging if configure makes a mistake.
2492 It was created by package-unused $as_me version-unused, which was
2493 generated by GNU Autoconf 2.64. Invocation command line was
2495 $ $0 $@
2497 _ACEOF
2498 exec 5>>config.log
2500 cat <<_ASUNAME
2501 ## --------- ##
2502 ## Platform. ##
2503 ## --------- ##
2505 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2506 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2507 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2508 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2509 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2511 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2512 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2514 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2515 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2516 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2517 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2518 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2519 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2520 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2522 _ASUNAME
2524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2525 for as_dir in $PATH
2527 IFS=$as_save_IFS
2528 test -z "$as_dir" && as_dir=.
2529 $as_echo "PATH: $as_dir"
2530 done
2531 IFS=$as_save_IFS
2533 } >&5
2535 cat >&5 <<_ACEOF
2538 ## ----------- ##
2539 ## Core tests. ##
2540 ## ----------- ##
2542 _ACEOF
2545 # Keep a trace of the command line.
2546 # Strip out --no-create and --no-recursion so they do not pile up.
2547 # Strip out --silent because we don't want to record it for future runs.
2548 # Also quote any args containing shell meta-characters.
2549 # Make two passes to allow for proper duplicate-argument suppression.
2550 ac_configure_args=
2551 ac_configure_args0=
2552 ac_configure_args1=
2553 ac_must_keep_next=false
2554 for ac_pass in 1 2
2556 for ac_arg
2558 case $ac_arg in
2559 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2560 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2561 | -silent | --silent | --silen | --sile | --sil)
2562 continue ;;
2563 *\'*)
2564 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2565 esac
2566 case $ac_pass in
2567 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2569 as_fn_append ac_configure_args1 " '$ac_arg'"
2570 if test $ac_must_keep_next = true; then
2571 ac_must_keep_next=false # Got value, back to normal.
2572 else
2573 case $ac_arg in
2574 *=* | --config-cache | -C | -disable-* | --disable-* \
2575 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2576 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2577 | -with-* | --with-* | -without-* | --without-* | --x)
2578 case "$ac_configure_args0 " in
2579 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2580 esac
2582 -* ) ac_must_keep_next=true ;;
2583 esac
2585 as_fn_append ac_configure_args " '$ac_arg'"
2587 esac
2588 done
2589 done
2590 { ac_configure_args0=; unset ac_configure_args0;}
2591 { ac_configure_args1=; unset ac_configure_args1;}
2593 # When interrupted or exit'd, cleanup temporary files, and complete
2594 # config.log. We remove comments because anyway the quotes in there
2595 # would cause problems or look ugly.
2596 # WARNING: Use '\'' to represent an apostrophe within the trap.
2597 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2598 trap 'exit_status=$?
2599 # Save into config.log some information that might help in debugging.
2601 echo
2603 cat <<\_ASBOX
2604 ## ---------------- ##
2605 ## Cache variables. ##
2606 ## ---------------- ##
2607 _ASBOX
2608 echo
2609 # The following way of writing the cache mishandles newlines in values,
2611 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2612 eval ac_val=\$$ac_var
2613 case $ac_val in #(
2614 *${as_nl}*)
2615 case $ac_var in #(
2616 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2617 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2618 esac
2619 case $ac_var in #(
2620 _ | IFS | as_nl) ;; #(
2621 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2622 *) { eval $ac_var=; unset $ac_var;} ;;
2623 esac ;;
2624 esac
2625 done
2626 (set) 2>&1 |
2627 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2628 *${as_nl}ac_space=\ *)
2629 sed -n \
2630 "s/'\''/'\''\\\\'\'''\''/g;
2631 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2632 ;; #(
2634 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2636 esac |
2637 sort
2639 echo
2641 cat <<\_ASBOX
2642 ## ----------------- ##
2643 ## Output variables. ##
2644 ## ----------------- ##
2645 _ASBOX
2646 echo
2647 for ac_var in $ac_subst_vars
2649 eval ac_val=\$$ac_var
2650 case $ac_val in
2651 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2652 esac
2653 $as_echo "$ac_var='\''$ac_val'\''"
2654 done | sort
2655 echo
2657 if test -n "$ac_subst_files"; then
2658 cat <<\_ASBOX
2659 ## ------------------- ##
2660 ## File substitutions. ##
2661 ## ------------------- ##
2662 _ASBOX
2663 echo
2664 for ac_var in $ac_subst_files
2666 eval ac_val=\$$ac_var
2667 case $ac_val in
2668 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2669 esac
2670 $as_echo "$ac_var='\''$ac_val'\''"
2671 done | sort
2672 echo
2675 if test -s confdefs.h; then
2676 cat <<\_ASBOX
2677 ## ----------- ##
2678 ## confdefs.h. ##
2679 ## ----------- ##
2680 _ASBOX
2681 echo
2682 cat confdefs.h
2683 echo
2685 test "$ac_signal" != 0 &&
2686 $as_echo "$as_me: caught signal $ac_signal"
2687 $as_echo "$as_me: exit $exit_status"
2688 } >&5
2689 rm -f core *.core core.conftest.* &&
2690 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2691 exit $exit_status
2693 for ac_signal in 1 2 13 15; do
2694 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2695 done
2696 ac_signal=0
2698 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2699 rm -f -r conftest* confdefs.h
2701 $as_echo "/* confdefs.h */" > confdefs.h
2703 # Predefined preprocessor variables.
2705 cat >>confdefs.h <<_ACEOF
2706 #define PACKAGE_NAME "$PACKAGE_NAME"
2707 _ACEOF
2709 cat >>confdefs.h <<_ACEOF
2710 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2711 _ACEOF
2713 cat >>confdefs.h <<_ACEOF
2714 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2715 _ACEOF
2717 cat >>confdefs.h <<_ACEOF
2718 #define PACKAGE_STRING "$PACKAGE_STRING"
2719 _ACEOF
2721 cat >>confdefs.h <<_ACEOF
2722 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2723 _ACEOF
2725 cat >>confdefs.h <<_ACEOF
2726 #define PACKAGE_URL "$PACKAGE_URL"
2727 _ACEOF
2730 # Let the site file select an alternate cache file if it wants to.
2731 # Prefer an explicitly selected file to automatically selected ones.
2732 ac_site_file1=NONE
2733 ac_site_file2=NONE
2734 if test -n "$CONFIG_SITE"; then
2735 ac_site_file1=$CONFIG_SITE
2736 elif test "x$prefix" != xNONE; then
2737 ac_site_file1=$prefix/share/config.site
2738 ac_site_file2=$prefix/etc/config.site
2739 else
2740 ac_site_file1=$ac_default_prefix/share/config.site
2741 ac_site_file2=$ac_default_prefix/etc/config.site
2743 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2745 test "x$ac_site_file" = xNONE && continue
2746 if test -r "$ac_site_file"; then
2747 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2748 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2749 sed 's/^/| /' "$ac_site_file" >&5
2750 . "$ac_site_file"
2752 done
2754 if test -r "$cache_file"; then
2755 # Some versions of bash will fail to source /dev/null (special
2756 # files actually), so we avoid doing that.
2757 if test -f "$cache_file"; then
2758 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2759 $as_echo "$as_me: loading cache $cache_file" >&6;}
2760 case $cache_file in
2761 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2762 *) . "./$cache_file";;
2763 esac
2765 else
2766 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2767 $as_echo "$as_me: creating cache $cache_file" >&6;}
2768 >$cache_file
2771 # Check that the precious variables saved in the cache have kept the same
2772 # value.
2773 ac_cache_corrupted=false
2774 for ac_var in $ac_precious_vars; do
2775 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2776 eval ac_new_set=\$ac_env_${ac_var}_set
2777 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2778 eval ac_new_val=\$ac_env_${ac_var}_value
2779 case $ac_old_set,$ac_new_set in
2780 set,)
2781 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2782 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2783 ac_cache_corrupted=: ;;
2784 ,set)
2785 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2786 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2787 ac_cache_corrupted=: ;;
2788 ,);;
2790 if test "x$ac_old_val" != "x$ac_new_val"; then
2791 # differences in whitespace do not lead to failure.
2792 ac_old_val_w=`echo x $ac_old_val`
2793 ac_new_val_w=`echo x $ac_new_val`
2794 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2795 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2796 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2797 ac_cache_corrupted=:
2798 else
2799 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2800 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2801 eval $ac_var=\$ac_old_val
2803 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2804 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2805 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2806 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2807 fi;;
2808 esac
2809 # Pass precious variables to config.status.
2810 if test "$ac_new_set" = set; then
2811 case $ac_new_val in
2812 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2813 *) ac_arg=$ac_var=$ac_new_val ;;
2814 esac
2815 case " $ac_configure_args " in
2816 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2817 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2818 esac
2820 done
2821 if $ac_cache_corrupted; then
2822 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2823 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2824 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2825 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2826 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2828 ## -------------------- ##
2829 ## Main body of script. ##
2830 ## -------------------- ##
2832 ac_ext=c
2833 ac_cpp='$CPP $CPPFLAGS'
2834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2843 ac_config_headers="$ac_config_headers config.h"
2846 # This works around the fact that libtool configuration may change LD
2847 # for this particular configuration, but some shells, instead of
2848 # keeping the changes in LD private, export them just because LD is
2849 # exported. Only used at the end of this file.
2850 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2852 # Find the rest of the source tree framework.
2853 # Default to --enable-multilib
2854 # Check whether --enable-multilib was given.
2855 if test "${enable_multilib+set}" = set; then :
2856 enableval=$enable_multilib; case "$enableval" in
2857 yes) multilib=yes ;;
2858 no) multilib=no ;;
2859 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2860 esac
2861 else
2862 multilib=yes
2866 # We may get other options which we leave undocumented:
2867 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2868 # See config-ml.in if you want the gory details.
2870 if test "$srcdir" = "."; then
2871 if test "$with_target_subdir" != "."; then
2872 multi_basedir="$srcdir/$with_multisrctop../.."
2873 else
2874 multi_basedir="$srcdir/$with_multisrctop.."
2876 else
2877 multi_basedir="$srcdir/.."
2881 # Even if the default multilib is not a cross compilation,
2882 # it may be that some of the other multilibs are.
2883 if test $cross_compiling = no && test $multilib = yes \
2884 && test "x${with_multisubdir}" != x ; then
2885 cross_compiling=maybe
2888 ac_config_commands="$ac_config_commands default-1"
2891 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2893 # You will slowly go insane if you do not grok the following fact: when
2894 # building v3 as part of the compiler, the top-level /target/ becomes the
2895 # library's /host/. configure then causes --target to default to --host,
2896 # exactly like any other package using autoconf. Therefore, 'target' and
2897 # 'host' will always be the same. This makes sense both for native and
2898 # cross compilers, just think about it for a little while. :-)
2900 # Also, if v3 is being configured as part of a cross compiler, the top-level
2901 # configure script will pass the "real" host as $with_cross_host.
2903 # Do not delete or change the following two lines. For why, see
2904 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2905 ac_aux_dir=
2906 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2907 for ac_t in install-sh install.sh shtool; do
2908 if test -f "$ac_dir/$ac_t"; then
2909 ac_aux_dir=$ac_dir
2910 ac_install_sh="$ac_aux_dir/$ac_t -c"
2911 break 2
2913 done
2914 done
2915 if test -z "$ac_aux_dir"; then
2916 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2919 # These three variables are undocumented and unsupported,
2920 # and are intended to be withdrawn in a future Autoconf release.
2921 # They can cause serious problems if a builder's source tree is in a directory
2922 # whose full name contains unusual characters.
2923 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2924 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2925 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2928 # Make sure we can run config.sub.
2929 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2930 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2933 $as_echo_n "checking build system type... " >&6; }
2934 if test "${ac_cv_build+set}" = set; then :
2935 $as_echo_n "(cached) " >&6
2936 else
2937 ac_build_alias=$build_alias
2938 test "x$ac_build_alias" = x &&
2939 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2940 test "x$ac_build_alias" = x &&
2941 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2942 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2943 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2947 $as_echo "$ac_cv_build" >&6; }
2948 case $ac_cv_build in
2949 *-*-*) ;;
2950 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2951 esac
2952 build=$ac_cv_build
2953 ac_save_IFS=$IFS; IFS='-'
2954 set x $ac_cv_build
2955 shift
2956 build_cpu=$1
2957 build_vendor=$2
2958 shift; shift
2959 # Remember, the first character of IFS is used to create $*,
2960 # except with old shells:
2961 build_os=$*
2962 IFS=$ac_save_IFS
2963 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2967 $as_echo_n "checking host system type... " >&6; }
2968 if test "${ac_cv_host+set}" = set; then :
2969 $as_echo_n "(cached) " >&6
2970 else
2971 if test "x$host_alias" = x; then
2972 ac_cv_host=$ac_cv_build
2973 else
2974 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2975 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2980 $as_echo "$ac_cv_host" >&6; }
2981 case $ac_cv_host in
2982 *-*-*) ;;
2983 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2984 esac
2985 host=$ac_cv_host
2986 ac_save_IFS=$IFS; IFS='-'
2987 set x $ac_cv_host
2988 shift
2989 host_cpu=$1
2990 host_vendor=$2
2991 shift; shift
2992 # Remember, the first character of IFS is used to create $*,
2993 # except with old shells:
2994 host_os=$*
2995 IFS=$ac_save_IFS
2996 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3000 $as_echo_n "checking target system type... " >&6; }
3001 if test "${ac_cv_target+set}" = set; then :
3002 $as_echo_n "(cached) " >&6
3003 else
3004 if test "x$target_alias" = x; then
3005 ac_cv_target=$ac_cv_host
3006 else
3007 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3008 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3013 $as_echo "$ac_cv_target" >&6; }
3014 case $ac_cv_target in
3015 *-*-*) ;;
3016 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
3017 esac
3018 target=$ac_cv_target
3019 ac_save_IFS=$IFS; IFS='-'
3020 set x $ac_cv_target
3021 shift
3022 target_cpu=$1
3023 target_vendor=$2
3024 shift; shift
3025 # Remember, the first character of IFS is used to create $*,
3026 # except with old shells:
3027 target_os=$*
3028 IFS=$ac_save_IFS
3029 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3032 # The aliases save the names the user supplied, while $host etc.
3033 # will get canonicalized.
3034 test -n "$target_alias" &&
3035 test "$program_prefix$program_suffix$program_transform_name" = \
3036 NONENONEs,x,x, &&
3037 program_prefix=${target_alias}-
3039 target_alias=${target_alias-$host_alias}
3041 # Handy for debugging:
3042 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3044 if test "$build" != "$host"; then
3045 # We are being configured with some form of cross compiler.
3046 GLIBCXX_IS_NATIVE=false
3047 case "$host","$target" in
3048 # Darwin crosses can use the host system's libraries and headers,
3049 # because of the fat library support. Of course, it must be the
3050 # same version of Darwin on both sides. Allow the user to
3051 # just say --target=foo-darwin without a version number to mean
3052 # "the version on this system".
3053 *-*-darwin*,*-*-darwin*)
3054 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3055 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3056 if test $hostos = $targetos -o $targetos = darwin ; then
3057 GLIBCXX_IS_NATIVE=true
3064 esac
3065 else
3066 GLIBCXX_IS_NATIVE=true
3069 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3070 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3071 # 1.x: minimum required version
3072 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3073 # of other PACKAGE_* variables will, however, and there's nothing
3074 # we can do about that; they come from AC_INIT).
3075 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3076 # file in the top srcdir, etc, etc), so stop complaining.
3077 # no-dependencies: turns off auto dependency generation (just for now)
3078 # no-dist: we don't want 'dist' and related rules.
3079 # -Wall: turns on all automake warnings...
3080 # -Wno-portability: ...except this one, since GNU make is now required.
3081 am__api_version='1.11'
3083 # Find a good install program. We prefer a C program (faster),
3084 # so one script is as good as another. But avoid the broken or
3085 # incompatible versions:
3086 # SysV /etc/install, /usr/sbin/install
3087 # SunOS /usr/etc/install
3088 # IRIX /sbin/install
3089 # AIX /bin/install
3090 # AmigaOS /C/install, which installs bootblocks on floppy discs
3091 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3092 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3093 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3094 # OS/2's system install, which has a completely different semantic
3095 # ./install, which can be erroneously created by make from ./install.sh.
3096 # Reject install programs that cannot install multiple files.
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3098 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3099 if test -z "$INSTALL"; then
3100 if test "${ac_cv_path_install+set}" = set; then :
3101 $as_echo_n "(cached) " >&6
3102 else
3103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3104 for as_dir in $PATH
3106 IFS=$as_save_IFS
3107 test -z "$as_dir" && as_dir=.
3108 # Account for people who put trailing slashes in PATH elements.
3109 case $as_dir/ in #((
3110 ./ | .// | /[cC]/* | \
3111 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3112 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3113 /usr/ucb/* ) ;;
3115 # OSF1 and SCO ODT 3.0 have their own names for install.
3116 # Don't use installbsd from OSF since it installs stuff as root
3117 # by default.
3118 for ac_prog in ginstall scoinst install; do
3119 for ac_exec_ext in '' $ac_executable_extensions; do
3120 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3121 if test $ac_prog = install &&
3122 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3123 # AIX install. It has an incompatible calling convention.
3125 elif test $ac_prog = install &&
3126 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3127 # program-specific install script used by HP pwplus--don't use.
3129 else
3130 rm -rf conftest.one conftest.two conftest.dir
3131 echo one > conftest.one
3132 echo two > conftest.two
3133 mkdir conftest.dir
3134 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3135 test -s conftest.one && test -s conftest.two &&
3136 test -s conftest.dir/conftest.one &&
3137 test -s conftest.dir/conftest.two
3138 then
3139 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3140 break 3
3144 done
3145 done
3147 esac
3149 done
3150 IFS=$as_save_IFS
3152 rm -rf conftest.one conftest.two conftest.dir
3155 if test "${ac_cv_path_install+set}" = set; then
3156 INSTALL=$ac_cv_path_install
3157 else
3158 # As a last resort, use the slow shell script. Don't cache a
3159 # value for INSTALL within a source directory, because that will
3160 # break other packages using the cache if that directory is
3161 # removed, or if the value is a relative name.
3162 INSTALL=$ac_install_sh
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3166 $as_echo "$INSTALL" >&6; }
3168 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3169 # It thinks the first close brace ends the variable substitution.
3170 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3172 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3174 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3177 $as_echo_n "checking whether build environment is sane... " >&6; }
3178 # Just in case
3179 sleep 1
3180 echo timestamp > conftest.file
3181 # Reject unsafe characters in $srcdir or the absolute working directory
3182 # name. Accept space and tab only in the latter.
3183 am_lf='
3185 case `pwd` in
3186 *[\\\"\#\$\&\'\`$am_lf]*)
3187 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3188 esac
3189 case $srcdir in
3190 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3191 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3192 esac
3194 # Do `set' in a subshell so we don't clobber the current shell's
3195 # arguments. Must try -L first in case configure is actually a
3196 # symlink; some systems play weird games with the mod time of symlinks
3197 # (eg FreeBSD returns the mod time of the symlink's containing
3198 # directory).
3199 if (
3200 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3201 if test "$*" = "X"; then
3202 # -L didn't work.
3203 set X `ls -t "$srcdir/configure" conftest.file`
3205 rm -f conftest.file
3206 if test "$*" != "X $srcdir/configure conftest.file" \
3207 && test "$*" != "X conftest.file $srcdir/configure"; then
3209 # If neither matched, then we have a broken ls. This can happen
3210 # if, for instance, CONFIG_SHELL is bash and it inherits a
3211 # broken ls alias from the environment. This has actually
3212 # happened. Such a system could not be considered "sane".
3213 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3214 alias in your environment" "$LINENO" 5
3217 test "$2" = conftest.file
3219 then
3220 # Ok.
3222 else
3223 as_fn_error "newly created file is older than distributed files!
3224 Check your system clock" "$LINENO" 5
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3227 $as_echo "yes" >&6; }
3228 test "$program_prefix" != NONE &&
3229 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3230 # Use a double $ so make ignores it.
3231 test "$program_suffix" != NONE &&
3232 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3233 # Double any \ or $.
3234 # By default was `s,x,x', remove it if useless.
3235 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3236 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3238 # expand $ac_aux_dir to an absolute path
3239 am_aux_dir=`cd $ac_aux_dir && pwd`
3241 if test x"${MISSING+set}" != xset; then
3242 case $am_aux_dir in
3243 *\ * | *\ *)
3244 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3246 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3247 esac
3249 # Use eval to expand $SHELL
3250 if eval "$MISSING --run true"; then
3251 am_missing_run="$MISSING --run "
3252 else
3253 am_missing_run=
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3255 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3258 if test x"${install_sh}" != xset; then
3259 case $am_aux_dir in
3260 *\ * | *\ *)
3261 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3263 install_sh="\${SHELL} $am_aux_dir/install-sh"
3264 esac
3267 # Installed binaries are usually stripped using `strip' when the user
3268 # run `make install-strip'. However `strip' might not be the right
3269 # tool to use in cross-compilation environments, therefore Automake
3270 # will honor the `STRIP' environment variable to overrule this program.
3271 if test "$cross_compiling" != no; then
3272 if test -n "$ac_tool_prefix"; then
3273 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3274 set dummy ${ac_tool_prefix}strip; ac_word=$2
3275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3276 $as_echo_n "checking for $ac_word... " >&6; }
3277 if test "${ac_cv_prog_STRIP+set}" = set; then :
3278 $as_echo_n "(cached) " >&6
3279 else
3280 if test -n "$STRIP"; then
3281 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3282 else
3283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3284 for as_dir in $PATH
3286 IFS=$as_save_IFS
3287 test -z "$as_dir" && as_dir=.
3288 for ac_exec_ext in '' $ac_executable_extensions; do
3289 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3290 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3291 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3292 break 2
3294 done
3295 done
3296 IFS=$as_save_IFS
3300 STRIP=$ac_cv_prog_STRIP
3301 if test -n "$STRIP"; then
3302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3303 $as_echo "$STRIP" >&6; }
3304 else
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3306 $as_echo "no" >&6; }
3311 if test -z "$ac_cv_prog_STRIP"; then
3312 ac_ct_STRIP=$STRIP
3313 # Extract the first word of "strip", so it can be a program name with args.
3314 set dummy strip; ac_word=$2
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3316 $as_echo_n "checking for $ac_word... " >&6; }
3317 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3318 $as_echo_n "(cached) " >&6
3319 else
3320 if test -n "$ac_ct_STRIP"; then
3321 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3322 else
3323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3324 for as_dir in $PATH
3326 IFS=$as_save_IFS
3327 test -z "$as_dir" && as_dir=.
3328 for ac_exec_ext in '' $ac_executable_extensions; do
3329 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3330 ac_cv_prog_ac_ct_STRIP="strip"
3331 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3332 break 2
3334 done
3335 done
3336 IFS=$as_save_IFS
3340 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3341 if test -n "$ac_ct_STRIP"; then
3342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3343 $as_echo "$ac_ct_STRIP" >&6; }
3344 else
3345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3346 $as_echo "no" >&6; }
3349 if test "x$ac_ct_STRIP" = x; then
3350 STRIP=":"
3351 else
3352 case $cross_compiling:$ac_tool_warned in
3353 yes:)
3354 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3355 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3356 ac_tool_warned=yes ;;
3357 esac
3358 STRIP=$ac_ct_STRIP
3360 else
3361 STRIP="$ac_cv_prog_STRIP"
3365 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3368 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3369 if test -z "$MKDIR_P"; then
3370 if test "${ac_cv_path_mkdir+set}" = set; then :
3371 $as_echo_n "(cached) " >&6
3372 else
3373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3374 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3376 IFS=$as_save_IFS
3377 test -z "$as_dir" && as_dir=.
3378 for ac_prog in mkdir gmkdir; do
3379 for ac_exec_ext in '' $ac_executable_extensions; do
3380 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3381 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3382 'mkdir (GNU coreutils) '* | \
3383 'mkdir (coreutils) '* | \
3384 'mkdir (fileutils) '4.1*)
3385 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3386 break 3;;
3387 esac
3388 done
3389 done
3390 done
3391 IFS=$as_save_IFS
3395 if test "${ac_cv_path_mkdir+set}" = set; then
3396 MKDIR_P="$ac_cv_path_mkdir -p"
3397 else
3398 # As a last resort, use the slow shell script. Don't cache a
3399 # value for MKDIR_P within a source directory, because that will
3400 # break other packages using the cache if that directory is
3401 # removed, or if the value is a relative name.
3402 test -d ./--version && rmdir ./--version
3403 MKDIR_P="$ac_install_sh -d"
3406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3407 $as_echo "$MKDIR_P" >&6; }
3409 mkdir_p="$MKDIR_P"
3410 case $mkdir_p in
3411 [\\/$]* | ?:[\\/]*) ;;
3412 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3413 esac
3415 for ac_prog in gawk mawk nawk awk
3417 # Extract the first word of "$ac_prog", so it can be a program name with args.
3418 set dummy $ac_prog; ac_word=$2
3419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3420 $as_echo_n "checking for $ac_word... " >&6; }
3421 if test "${ac_cv_prog_AWK+set}" = set; then :
3422 $as_echo_n "(cached) " >&6
3423 else
3424 if test -n "$AWK"; then
3425 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3426 else
3427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3428 for as_dir in $PATH
3430 IFS=$as_save_IFS
3431 test -z "$as_dir" && as_dir=.
3432 for ac_exec_ext in '' $ac_executable_extensions; do
3433 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3434 ac_cv_prog_AWK="$ac_prog"
3435 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3436 break 2
3438 done
3439 done
3440 IFS=$as_save_IFS
3444 AWK=$ac_cv_prog_AWK
3445 if test -n "$AWK"; then
3446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3447 $as_echo "$AWK" >&6; }
3448 else
3449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3450 $as_echo "no" >&6; }
3454 test -n "$AWK" && break
3455 done
3457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3458 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3459 set x ${MAKE-make}
3460 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3461 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3462 $as_echo_n "(cached) " >&6
3463 else
3464 cat >conftest.make <<\_ACEOF
3465 SHELL = /bin/sh
3466 all:
3467 @echo '@@@%%%=$(MAKE)=@@@%%%'
3468 _ACEOF
3469 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3470 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3471 *@@@%%%=?*=@@@%%%*)
3472 eval ac_cv_prog_make_${ac_make}_set=yes;;
3474 eval ac_cv_prog_make_${ac_make}_set=no;;
3475 esac
3476 rm -f conftest.make
3478 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3480 $as_echo "yes" >&6; }
3481 SET_MAKE=
3482 else
3483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3484 $as_echo "no" >&6; }
3485 SET_MAKE="MAKE=${MAKE-make}"
3488 rm -rf .tst 2>/dev/null
3489 mkdir .tst 2>/dev/null
3490 if test -d .tst; then
3491 am__leading_dot=.
3492 else
3493 am__leading_dot=_
3495 rmdir .tst 2>/dev/null
3497 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3498 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3499 # is not polluted with repeated "-I."
3500 am__isrc=' -I$(srcdir)'
3501 # test to see if srcdir already configured
3502 if test -f $srcdir/config.status; then
3503 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3507 # test whether we have cygpath
3508 if test -z "$CYGPATH_W"; then
3509 if (cygpath --version) >/dev/null 2>/dev/null; then
3510 CYGPATH_W='cygpath -w'
3511 else
3512 CYGPATH_W=echo
3517 # Define the identity of the package.
3518 PACKAGE='libstdc++'
3519 VERSION='version-unused'
3522 # Some tools Automake needs.
3524 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3527 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3530 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3533 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3536 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3538 # We need awk for the "check" target. The system "awk" is bad on
3539 # some platforms.
3540 # Always define AMTAR for backward compatibility.
3542 AMTAR=${AMTAR-"${am_missing_run}tar"}
3544 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3553 # -fno-builtin must be present here so that a non-conflicting form of
3554 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3556 save_CXXFLAGS="$CXXFLAGS"
3557 CXXFLAGS="$CXXFLAGS -fno-builtin"
3558 ac_ext=c
3559 ac_cpp='$CPP $CPPFLAGS'
3560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3563 if test -n "$ac_tool_prefix"; then
3564 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3565 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3567 $as_echo_n "checking for $ac_word... " >&6; }
3568 if test "${ac_cv_prog_CC+set}" = set; then :
3569 $as_echo_n "(cached) " >&6
3570 else
3571 if test -n "$CC"; then
3572 ac_cv_prog_CC="$CC" # Let the user override the test.
3573 else
3574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3575 for as_dir in $PATH
3577 IFS=$as_save_IFS
3578 test -z "$as_dir" && as_dir=.
3579 for ac_exec_ext in '' $ac_executable_extensions; do
3580 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3581 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3582 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3583 break 2
3585 done
3586 done
3587 IFS=$as_save_IFS
3591 CC=$ac_cv_prog_CC
3592 if test -n "$CC"; then
3593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3594 $as_echo "$CC" >&6; }
3595 else
3596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3597 $as_echo "no" >&6; }
3602 if test -z "$ac_cv_prog_CC"; then
3603 ac_ct_CC=$CC
3604 # Extract the first word of "gcc", so it can be a program name with args.
3605 set dummy gcc; ac_word=$2
3606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3607 $as_echo_n "checking for $ac_word... " >&6; }
3608 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3609 $as_echo_n "(cached) " >&6
3610 else
3611 if test -n "$ac_ct_CC"; then
3612 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3613 else
3614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3615 for as_dir in $PATH
3617 IFS=$as_save_IFS
3618 test -z "$as_dir" && as_dir=.
3619 for ac_exec_ext in '' $ac_executable_extensions; do
3620 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3621 ac_cv_prog_ac_ct_CC="gcc"
3622 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3623 break 2
3625 done
3626 done
3627 IFS=$as_save_IFS
3631 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3632 if test -n "$ac_ct_CC"; then
3633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3634 $as_echo "$ac_ct_CC" >&6; }
3635 else
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3637 $as_echo "no" >&6; }
3640 if test "x$ac_ct_CC" = x; then
3641 CC=""
3642 else
3643 case $cross_compiling:$ac_tool_warned in
3644 yes:)
3645 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3646 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3647 ac_tool_warned=yes ;;
3648 esac
3649 CC=$ac_ct_CC
3651 else
3652 CC="$ac_cv_prog_CC"
3655 if test -z "$CC"; then
3656 if test -n "$ac_tool_prefix"; then
3657 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3658 set dummy ${ac_tool_prefix}cc; ac_word=$2
3659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3660 $as_echo_n "checking for $ac_word... " >&6; }
3661 if test "${ac_cv_prog_CC+set}" = set; then :
3662 $as_echo_n "(cached) " >&6
3663 else
3664 if test -n "$CC"; then
3665 ac_cv_prog_CC="$CC" # Let the user override the test.
3666 else
3667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3668 for as_dir in $PATH
3670 IFS=$as_save_IFS
3671 test -z "$as_dir" && as_dir=.
3672 for ac_exec_ext in '' $ac_executable_extensions; do
3673 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3674 ac_cv_prog_CC="${ac_tool_prefix}cc"
3675 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3676 break 2
3678 done
3679 done
3680 IFS=$as_save_IFS
3684 CC=$ac_cv_prog_CC
3685 if test -n "$CC"; then
3686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3687 $as_echo "$CC" >&6; }
3688 else
3689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3690 $as_echo "no" >&6; }
3696 if test -z "$CC"; then
3697 # Extract the first word of "cc", so it can be a program name with args.
3698 set dummy cc; ac_word=$2
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3700 $as_echo_n "checking for $ac_word... " >&6; }
3701 if test "${ac_cv_prog_CC+set}" = set; then :
3702 $as_echo_n "(cached) " >&6
3703 else
3704 if test -n "$CC"; then
3705 ac_cv_prog_CC="$CC" # Let the user override the test.
3706 else
3707 ac_prog_rejected=no
3708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3709 for as_dir in $PATH
3711 IFS=$as_save_IFS
3712 test -z "$as_dir" && as_dir=.
3713 for ac_exec_ext in '' $ac_executable_extensions; do
3714 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3715 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3716 ac_prog_rejected=yes
3717 continue
3719 ac_cv_prog_CC="cc"
3720 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3721 break 2
3723 done
3724 done
3725 IFS=$as_save_IFS
3727 if test $ac_prog_rejected = yes; then
3728 # We found a bogon in the path, so make sure we never use it.
3729 set dummy $ac_cv_prog_CC
3730 shift
3731 if test $# != 0; then
3732 # We chose a different compiler from the bogus one.
3733 # However, it has the same basename, so the bogon will be chosen
3734 # first if we set CC to just the basename; use the full file name.
3735 shift
3736 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3741 CC=$ac_cv_prog_CC
3742 if test -n "$CC"; then
3743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3744 $as_echo "$CC" >&6; }
3745 else
3746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3747 $as_echo "no" >&6; }
3752 if test -z "$CC"; then
3753 if test -n "$ac_tool_prefix"; then
3754 for ac_prog in cl.exe
3756 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3757 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3759 $as_echo_n "checking for $ac_word... " >&6; }
3760 if test "${ac_cv_prog_CC+set}" = set; then :
3761 $as_echo_n "(cached) " >&6
3762 else
3763 if test -n "$CC"; then
3764 ac_cv_prog_CC="$CC" # Let the user override the test.
3765 else
3766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3767 for as_dir in $PATH
3769 IFS=$as_save_IFS
3770 test -z "$as_dir" && as_dir=.
3771 for ac_exec_ext in '' $ac_executable_extensions; do
3772 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3773 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3774 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3775 break 2
3777 done
3778 done
3779 IFS=$as_save_IFS
3783 CC=$ac_cv_prog_CC
3784 if test -n "$CC"; then
3785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3786 $as_echo "$CC" >&6; }
3787 else
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3789 $as_echo "no" >&6; }
3793 test -n "$CC" && break
3794 done
3796 if test -z "$CC"; then
3797 ac_ct_CC=$CC
3798 for ac_prog in cl.exe
3800 # Extract the first word of "$ac_prog", so it can be a program name with args.
3801 set dummy $ac_prog; ac_word=$2
3802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3803 $as_echo_n "checking for $ac_word... " >&6; }
3804 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3805 $as_echo_n "(cached) " >&6
3806 else
3807 if test -n "$ac_ct_CC"; then
3808 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3809 else
3810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3811 for as_dir in $PATH
3813 IFS=$as_save_IFS
3814 test -z "$as_dir" && as_dir=.
3815 for ac_exec_ext in '' $ac_executable_extensions; do
3816 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3817 ac_cv_prog_ac_ct_CC="$ac_prog"
3818 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3819 break 2
3821 done
3822 done
3823 IFS=$as_save_IFS
3827 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3828 if test -n "$ac_ct_CC"; then
3829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3830 $as_echo "$ac_ct_CC" >&6; }
3831 else
3832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3833 $as_echo "no" >&6; }
3837 test -n "$ac_ct_CC" && break
3838 done
3840 if test "x$ac_ct_CC" = x; then
3841 CC=""
3842 else
3843 case $cross_compiling:$ac_tool_warned in
3844 yes:)
3845 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3846 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3847 ac_tool_warned=yes ;;
3848 esac
3849 CC=$ac_ct_CC
3856 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3857 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3858 as_fn_error "no acceptable C compiler found in \$PATH
3859 See \`config.log' for more details." "$LINENO" 5; }
3861 # Provide some information about the compiler.
3862 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3863 set X $ac_compile
3864 ac_compiler=$2
3865 for ac_option in --version -v -V -qversion; do
3866 { { ac_try="$ac_compiler $ac_option >&5"
3867 case "(($ac_try" in
3868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3869 *) ac_try_echo=$ac_try;;
3870 esac
3871 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3872 $as_echo "$ac_try_echo"; } >&5
3873 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3874 ac_status=$?
3875 if test -s conftest.err; then
3876 sed '10a\
3877 ... rest of stderr output deleted ...
3878 10q' conftest.err >conftest.er1
3879 cat conftest.er1 >&5
3880 rm -f conftest.er1 conftest.err
3882 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3883 test $ac_status = 0; }
3884 done
3886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3887 /* end confdefs.h. */
3890 main ()
3894 return 0;
3896 _ACEOF
3897 # FIXME: Cleanup?
3898 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3899 (eval $ac_link) 2>&5
3900 ac_status=$?
3901 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3902 test $ac_status = 0; }; then :
3903 gcc_no_link=no
3904 else
3905 gcc_no_link=yes
3907 if test x$gcc_no_link = xyes; then
3908 # Setting cross_compile will disable run tests; it will
3909 # also disable AC_CHECK_FILE but that's generally
3910 # correct if we can't link.
3911 cross_compiling=yes
3912 EXEEXT=
3913 else
3914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3915 /* end confdefs.h. */
3918 main ()
3922 return 0;
3924 _ACEOF
3925 ac_clean_files_save=$ac_clean_files
3926 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3927 # Try to create an executable without -o first, disregard a.out.
3928 # It will help us diagnose broken compilers, and finding out an intuition
3929 # of exeext.
3930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3931 $as_echo_n "checking for C compiler default output file name... " >&6; }
3932 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3934 # The possible output files:
3935 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3937 ac_rmfiles=
3938 for ac_file in $ac_files
3940 case $ac_file in
3941 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3942 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3943 esac
3944 done
3945 rm -f $ac_rmfiles
3947 if { { ac_try="$ac_link_default"
3948 case "(($ac_try" in
3949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3950 *) ac_try_echo=$ac_try;;
3951 esac
3952 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3953 $as_echo "$ac_try_echo"; } >&5
3954 (eval "$ac_link_default") 2>&5
3955 ac_status=$?
3956 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3957 test $ac_status = 0; }; then :
3958 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3959 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3960 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3961 # so that the user can short-circuit this test for compilers unknown to
3962 # Autoconf.
3963 for ac_file in $ac_files ''
3965 test -f "$ac_file" || continue
3966 case $ac_file in
3967 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3969 [ab].out )
3970 # We found the default executable, but exeext='' is most
3971 # certainly right.
3972 break;;
3973 *.* )
3974 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3975 then :; else
3976 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3978 # We set ac_cv_exeext here because the later test for it is not
3979 # safe: cross compilers may not add the suffix if given an `-o'
3980 # argument, so we may need to know it at that point already.
3981 # Even if this section looks crufty: it has the advantage of
3982 # actually working.
3983 break;;
3985 break;;
3986 esac
3987 done
3988 test "$ac_cv_exeext" = no && ac_cv_exeext=
3990 else
3991 ac_file=''
3993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3994 $as_echo "$ac_file" >&6; }
3995 if test -z "$ac_file"; then :
3996 $as_echo "$as_me: failed program was:" >&5
3997 sed 's/^/| /' conftest.$ac_ext >&5
3999 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4000 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4001 { as_fn_set_status 77
4002 as_fn_error "C compiler cannot create executables
4003 See \`config.log' for more details." "$LINENO" 5; }; }
4005 ac_exeext=$ac_cv_exeext
4007 # Check that the compiler produces executables we can run. If not, either
4008 # the compiler is broken, or we cross compile.
4009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4010 $as_echo_n "checking whether the C compiler works... " >&6; }
4011 # If not cross compiling, check that we can run a simple program.
4012 if test "$cross_compiling" != yes; then
4013 if { ac_try='./$ac_file'
4014 { { case "(($ac_try" in
4015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4016 *) ac_try_echo=$ac_try;;
4017 esac
4018 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4019 $as_echo "$ac_try_echo"; } >&5
4020 (eval "$ac_try") 2>&5
4021 ac_status=$?
4022 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4023 test $ac_status = 0; }; }; then
4024 cross_compiling=no
4025 else
4026 if test "$cross_compiling" = maybe; then
4027 cross_compiling=yes
4028 else
4029 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4030 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4031 as_fn_error "cannot run C compiled programs.
4032 If you meant to cross compile, use \`--host'.
4033 See \`config.log' for more details." "$LINENO" 5; }
4037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4038 $as_echo "yes" >&6; }
4040 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4041 ac_clean_files=$ac_clean_files_save
4042 # Check that the compiler produces executables we can run. If not, either
4043 # the compiler is broken, or we cross compile.
4044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4045 $as_echo_n "checking whether we are cross compiling... " >&6; }
4046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4047 $as_echo "$cross_compiling" >&6; }
4049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4050 $as_echo_n "checking for suffix of executables... " >&6; }
4051 if { { ac_try="$ac_link"
4052 case "(($ac_try" in
4053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4054 *) ac_try_echo=$ac_try;;
4055 esac
4056 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4057 $as_echo "$ac_try_echo"; } >&5
4058 (eval "$ac_link") 2>&5
4059 ac_status=$?
4060 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4061 test $ac_status = 0; }; then :
4062 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4063 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4064 # work properly (i.e., refer to `conftest.exe'), while it won't with
4065 # `rm'.
4066 for ac_file in conftest.exe conftest conftest.*; do
4067 test -f "$ac_file" || continue
4068 case $ac_file in
4069 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4070 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4071 break;;
4072 * ) break;;
4073 esac
4074 done
4075 else
4076 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4077 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4078 as_fn_error "cannot compute suffix of executables: cannot compile and link
4079 See \`config.log' for more details." "$LINENO" 5; }
4081 rm -f conftest$ac_cv_exeext
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4083 $as_echo "$ac_cv_exeext" >&6; }
4085 rm -f conftest.$ac_ext
4086 EXEEXT=$ac_cv_exeext
4087 ac_exeext=$EXEEXT
4089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4090 $as_echo_n "checking for suffix of object files... " >&6; }
4091 if test "${ac_cv_objext+set}" = set; then :
4092 $as_echo_n "(cached) " >&6
4093 else
4094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4095 /* end confdefs.h. */
4098 main ()
4102 return 0;
4104 _ACEOF
4105 rm -f conftest.o conftest.obj
4106 if { { ac_try="$ac_compile"
4107 case "(($ac_try" in
4108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4109 *) ac_try_echo=$ac_try;;
4110 esac
4111 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4112 $as_echo "$ac_try_echo"; } >&5
4113 (eval "$ac_compile") 2>&5
4114 ac_status=$?
4115 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4116 test $ac_status = 0; }; then :
4117 for ac_file in conftest.o conftest.obj conftest.*; do
4118 test -f "$ac_file" || continue;
4119 case $ac_file in
4120 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4121 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4122 break;;
4123 esac
4124 done
4125 else
4126 $as_echo "$as_me: failed program was:" >&5
4127 sed 's/^/| /' conftest.$ac_ext >&5
4129 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4130 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4131 as_fn_error "cannot compute suffix of object files: cannot compile
4132 See \`config.log' for more details." "$LINENO" 5; }
4134 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4137 $as_echo "$ac_cv_objext" >&6; }
4138 OBJEXT=$ac_cv_objext
4139 ac_objext=$OBJEXT
4140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4141 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4142 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4143 $as_echo_n "(cached) " >&6
4144 else
4145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4146 /* end confdefs.h. */
4149 main ()
4151 #ifndef __GNUC__
4152 choke me
4153 #endif
4156 return 0;
4158 _ACEOF
4159 if ac_fn_c_try_compile "$LINENO"; then :
4160 ac_compiler_gnu=yes
4161 else
4162 ac_compiler_gnu=no
4164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4165 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4169 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4170 if test $ac_compiler_gnu = yes; then
4171 GCC=yes
4172 else
4173 GCC=
4175 ac_test_CFLAGS=${CFLAGS+set}
4176 ac_save_CFLAGS=$CFLAGS
4177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4178 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4179 if test "${ac_cv_prog_cc_g+set}" = set; then :
4180 $as_echo_n "(cached) " >&6
4181 else
4182 ac_save_c_werror_flag=$ac_c_werror_flag
4183 ac_c_werror_flag=yes
4184 ac_cv_prog_cc_g=no
4185 CFLAGS="-g"
4186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4187 /* end confdefs.h. */
4190 main ()
4194 return 0;
4196 _ACEOF
4197 if ac_fn_c_try_compile "$LINENO"; then :
4198 ac_cv_prog_cc_g=yes
4199 else
4200 CFLAGS=""
4201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4202 /* end confdefs.h. */
4205 main ()
4209 return 0;
4211 _ACEOF
4212 if ac_fn_c_try_compile "$LINENO"; then :
4214 else
4215 ac_c_werror_flag=$ac_save_c_werror_flag
4216 CFLAGS="-g"
4217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4218 /* end confdefs.h. */
4221 main ()
4225 return 0;
4227 _ACEOF
4228 if ac_fn_c_try_compile "$LINENO"; then :
4229 ac_cv_prog_cc_g=yes
4231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4236 ac_c_werror_flag=$ac_save_c_werror_flag
4238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4239 $as_echo "$ac_cv_prog_cc_g" >&6; }
4240 if test "$ac_test_CFLAGS" = set; then
4241 CFLAGS=$ac_save_CFLAGS
4242 elif test $ac_cv_prog_cc_g = yes; then
4243 if test "$GCC" = yes; then
4244 CFLAGS="-g -O2"
4245 else
4246 CFLAGS="-g"
4248 else
4249 if test "$GCC" = yes; then
4250 CFLAGS="-O2"
4251 else
4252 CFLAGS=
4255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4256 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4257 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4258 $as_echo_n "(cached) " >&6
4259 else
4260 ac_cv_prog_cc_c89=no
4261 ac_save_CC=$CC
4262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4263 /* end confdefs.h. */
4264 #include <stdarg.h>
4265 #include <stdio.h>
4266 #include <sys/types.h>
4267 #include <sys/stat.h>
4268 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4269 struct buf { int x; };
4270 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4271 static char *e (p, i)
4272 char **p;
4273 int i;
4275 return p[i];
4277 static char *f (char * (*g) (char **, int), char **p, ...)
4279 char *s;
4280 va_list v;
4281 va_start (v,p);
4282 s = g (p, va_arg (v,int));
4283 va_end (v);
4284 return s;
4287 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4288 function prototypes and stuff, but not '\xHH' hex character constants.
4289 These don't provoke an error unfortunately, instead are silently treated
4290 as 'x'. The following induces an error, until -std is added to get
4291 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4292 array size at least. It's necessary to write '\x00'==0 to get something
4293 that's true only with -std. */
4294 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4296 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4297 inside strings and character constants. */
4298 #define FOO(x) 'x'
4299 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4301 int test (int i, double x);
4302 struct s1 {int (*f) (int a);};
4303 struct s2 {int (*f) (double a);};
4304 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4305 int argc;
4306 char **argv;
4308 main ()
4310 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4312 return 0;
4314 _ACEOF
4315 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4316 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4318 CC="$ac_save_CC $ac_arg"
4319 if ac_fn_c_try_compile "$LINENO"; then :
4320 ac_cv_prog_cc_c89=$ac_arg
4322 rm -f core conftest.err conftest.$ac_objext
4323 test "x$ac_cv_prog_cc_c89" != "xno" && break
4324 done
4325 rm -f conftest.$ac_ext
4326 CC=$ac_save_CC
4329 # AC_CACHE_VAL
4330 case "x$ac_cv_prog_cc_c89" in
4332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4333 $as_echo "none needed" >&6; } ;;
4334 xno)
4335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4336 $as_echo "unsupported" >&6; } ;;
4338 CC="$CC $ac_cv_prog_cc_c89"
4339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4340 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4341 esac
4342 if test "x$ac_cv_prog_cc_c89" != xno; then :
4346 ac_ext=c
4347 ac_cpp='$CPP $CPPFLAGS'
4348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4352 ac_ext=cpp
4353 ac_cpp='$CXXCPP $CPPFLAGS'
4354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4357 if test -z "$CXX"; then
4358 if test -n "$CCC"; then
4359 CXX=$CCC
4360 else
4361 if test -n "$ac_tool_prefix"; then
4362 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4364 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4365 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4367 $as_echo_n "checking for $ac_word... " >&6; }
4368 if test "${ac_cv_prog_CXX+set}" = set; then :
4369 $as_echo_n "(cached) " >&6
4370 else
4371 if test -n "$CXX"; then
4372 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4373 else
4374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4375 for as_dir in $PATH
4377 IFS=$as_save_IFS
4378 test -z "$as_dir" && as_dir=.
4379 for ac_exec_ext in '' $ac_executable_extensions; do
4380 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4381 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4382 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4383 break 2
4385 done
4386 done
4387 IFS=$as_save_IFS
4391 CXX=$ac_cv_prog_CXX
4392 if test -n "$CXX"; then
4393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4394 $as_echo "$CXX" >&6; }
4395 else
4396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4397 $as_echo "no" >&6; }
4401 test -n "$CXX" && break
4402 done
4404 if test -z "$CXX"; then
4405 ac_ct_CXX=$CXX
4406 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4408 # Extract the first word of "$ac_prog", so it can be a program name with args.
4409 set dummy $ac_prog; ac_word=$2
4410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4411 $as_echo_n "checking for $ac_word... " >&6; }
4412 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4413 $as_echo_n "(cached) " >&6
4414 else
4415 if test -n "$ac_ct_CXX"; then
4416 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4417 else
4418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4419 for as_dir in $PATH
4421 IFS=$as_save_IFS
4422 test -z "$as_dir" && as_dir=.
4423 for ac_exec_ext in '' $ac_executable_extensions; do
4424 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4425 ac_cv_prog_ac_ct_CXX="$ac_prog"
4426 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4427 break 2
4429 done
4430 done
4431 IFS=$as_save_IFS
4435 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4436 if test -n "$ac_ct_CXX"; then
4437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4438 $as_echo "$ac_ct_CXX" >&6; }
4439 else
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4441 $as_echo "no" >&6; }
4445 test -n "$ac_ct_CXX" && break
4446 done
4448 if test "x$ac_ct_CXX" = x; then
4449 CXX="g++"
4450 else
4451 case $cross_compiling:$ac_tool_warned in
4452 yes:)
4453 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4454 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4455 ac_tool_warned=yes ;;
4456 esac
4457 CXX=$ac_ct_CXX
4463 # Provide some information about the compiler.
4464 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4465 set X $ac_compile
4466 ac_compiler=$2
4467 for ac_option in --version -v -V -qversion; do
4468 { { ac_try="$ac_compiler $ac_option >&5"
4469 case "(($ac_try" in
4470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4471 *) ac_try_echo=$ac_try;;
4472 esac
4473 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4474 $as_echo "$ac_try_echo"; } >&5
4475 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4476 ac_status=$?
4477 if test -s conftest.err; then
4478 sed '10a\
4479 ... rest of stderr output deleted ...
4480 10q' conftest.err >conftest.er1
4481 cat conftest.er1 >&5
4482 rm -f conftest.er1 conftest.err
4484 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4485 test $ac_status = 0; }
4486 done
4488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4489 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4490 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4491 $as_echo_n "(cached) " >&6
4492 else
4493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4494 /* end confdefs.h. */
4497 main ()
4499 #ifndef __GNUC__
4500 choke me
4501 #endif
4504 return 0;
4506 _ACEOF
4507 if ac_fn_cxx_try_compile "$LINENO"; then :
4508 ac_compiler_gnu=yes
4509 else
4510 ac_compiler_gnu=no
4512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4513 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4517 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4518 if test $ac_compiler_gnu = yes; then
4519 GXX=yes
4520 else
4521 GXX=
4523 ac_test_CXXFLAGS=${CXXFLAGS+set}
4524 ac_save_CXXFLAGS=$CXXFLAGS
4525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4526 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4527 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4528 $as_echo_n "(cached) " >&6
4529 else
4530 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4531 ac_cxx_werror_flag=yes
4532 ac_cv_prog_cxx_g=no
4533 CXXFLAGS="-g"
4534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4535 /* end confdefs.h. */
4538 main ()
4542 return 0;
4544 _ACEOF
4545 if ac_fn_cxx_try_compile "$LINENO"; then :
4546 ac_cv_prog_cxx_g=yes
4547 else
4548 CXXFLAGS=""
4549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4550 /* end confdefs.h. */
4553 main ()
4557 return 0;
4559 _ACEOF
4560 if ac_fn_cxx_try_compile "$LINENO"; then :
4562 else
4563 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4564 CXXFLAGS="-g"
4565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4566 /* end confdefs.h. */
4569 main ()
4573 return 0;
4575 _ACEOF
4576 if ac_fn_cxx_try_compile "$LINENO"; then :
4577 ac_cv_prog_cxx_g=yes
4579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4584 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4587 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4588 if test "$ac_test_CXXFLAGS" = set; then
4589 CXXFLAGS=$ac_save_CXXFLAGS
4590 elif test $ac_cv_prog_cxx_g = yes; then
4591 if test "$GXX" = yes; then
4592 CXXFLAGS="-g -O2"
4593 else
4594 CXXFLAGS="-g"
4596 else
4597 if test "$GXX" = yes; then
4598 CXXFLAGS="-O2"
4599 else
4600 CXXFLAGS=
4603 ac_ext=c
4604 ac_cpp='$CPP $CPPFLAGS'
4605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4609 CXXFLAGS="$save_CXXFLAGS"
4611 # Runs configure.host, and assorted other critical bits. Sets
4612 # up critical shell variables.
4614 ac_ext=c
4615 ac_cpp='$CPP $CPPFLAGS'
4616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4620 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4621 # On Suns, sometimes $CPP names a directory.
4622 if test -n "$CPP" && test -d "$CPP"; then
4623 CPP=
4625 if test -z "$CPP"; then
4626 if test "${ac_cv_prog_CPP+set}" = set; then :
4627 $as_echo_n "(cached) " >&6
4628 else
4629 # Double quotes because CPP needs to be expanded
4630 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4632 ac_preproc_ok=false
4633 for ac_c_preproc_warn_flag in '' yes
4635 # Use a header file that comes with gcc, so configuring glibc
4636 # with a fresh cross-compiler works.
4637 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4638 # <limits.h> exists even on freestanding compilers.
4639 # On the NeXT, cc -E runs the code through the compiler's parser,
4640 # not just through cpp. "Syntax error" is here to catch this case.
4641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4642 /* end confdefs.h. */
4643 #ifdef __STDC__
4644 # include <limits.h>
4645 #else
4646 # include <assert.h>
4647 #endif
4648 Syntax error
4649 _ACEOF
4650 if ac_fn_c_try_cpp "$LINENO"; then :
4652 else
4653 # Broken: fails on valid input.
4654 continue
4656 rm -f conftest.err conftest.$ac_ext
4658 # OK, works on sane cases. Now check whether nonexistent headers
4659 # can be detected and how.
4660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4661 /* end confdefs.h. */
4662 #include <ac_nonexistent.h>
4663 _ACEOF
4664 if ac_fn_c_try_cpp "$LINENO"; then :
4665 # Broken: success on invalid input.
4666 continue
4667 else
4668 # Passes both tests.
4669 ac_preproc_ok=:
4670 break
4672 rm -f conftest.err conftest.$ac_ext
4674 done
4675 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4676 rm -f conftest.err conftest.$ac_ext
4677 if $ac_preproc_ok; then :
4678 break
4681 done
4682 ac_cv_prog_CPP=$CPP
4685 CPP=$ac_cv_prog_CPP
4686 else
4687 ac_cv_prog_CPP=$CPP
4689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4690 $as_echo "$CPP" >&6; }
4691 ac_preproc_ok=false
4692 for ac_c_preproc_warn_flag in '' yes
4694 # Use a header file that comes with gcc, so configuring glibc
4695 # with a fresh cross-compiler works.
4696 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4697 # <limits.h> exists even on freestanding compilers.
4698 # On the NeXT, cc -E runs the code through the compiler's parser,
4699 # not just through cpp. "Syntax error" is here to catch this case.
4700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4701 /* end confdefs.h. */
4702 #ifdef __STDC__
4703 # include <limits.h>
4704 #else
4705 # include <assert.h>
4706 #endif
4707 Syntax error
4708 _ACEOF
4709 if ac_fn_c_try_cpp "$LINENO"; then :
4711 else
4712 # Broken: fails on valid input.
4713 continue
4715 rm -f conftest.err conftest.$ac_ext
4717 # OK, works on sane cases. Now check whether nonexistent headers
4718 # can be detected and how.
4719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4720 /* end confdefs.h. */
4721 #include <ac_nonexistent.h>
4722 _ACEOF
4723 if ac_fn_c_try_cpp "$LINENO"; then :
4724 # Broken: success on invalid input.
4725 continue
4726 else
4727 # Passes both tests.
4728 ac_preproc_ok=:
4729 break
4731 rm -f conftest.err conftest.$ac_ext
4733 done
4734 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4735 rm -f conftest.err conftest.$ac_ext
4736 if $ac_preproc_ok; then :
4738 else
4739 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4740 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4741 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4742 See \`config.log' for more details." "$LINENO" 5; }
4745 ac_ext=c
4746 ac_cpp='$CPP $CPPFLAGS'
4747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4753 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4754 if test "${ac_cv_path_GREP+set}" = set; then :
4755 $as_echo_n "(cached) " >&6
4756 else
4757 if test -z "$GREP"; then
4758 ac_path_GREP_found=false
4759 # Loop through the user's path and test for each of PROGNAME-LIST
4760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4761 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4763 IFS=$as_save_IFS
4764 test -z "$as_dir" && as_dir=.
4765 for ac_prog in grep ggrep; do
4766 for ac_exec_ext in '' $ac_executable_extensions; do
4767 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4768 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4769 # Check for GNU ac_path_GREP and select it if it is found.
4770 # Check for GNU $ac_path_GREP
4771 case `"$ac_path_GREP" --version 2>&1` in
4772 *GNU*)
4773 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4775 ac_count=0
4776 $as_echo_n 0123456789 >"conftest.in"
4777 while :
4779 cat "conftest.in" "conftest.in" >"conftest.tmp"
4780 mv "conftest.tmp" "conftest.in"
4781 cp "conftest.in" "conftest.nl"
4782 $as_echo 'GREP' >> "conftest.nl"
4783 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4784 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4785 as_fn_arith $ac_count + 1 && ac_count=$as_val
4786 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4787 # Best one so far, save it but keep looking for a better one
4788 ac_cv_path_GREP="$ac_path_GREP"
4789 ac_path_GREP_max=$ac_count
4791 # 10*(2^10) chars as input seems more than enough
4792 test $ac_count -gt 10 && break
4793 done
4794 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4795 esac
4797 $ac_path_GREP_found && break 3
4798 done
4799 done
4800 done
4801 IFS=$as_save_IFS
4802 if test -z "$ac_cv_path_GREP"; then
4803 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4805 else
4806 ac_cv_path_GREP=$GREP
4810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4811 $as_echo "$ac_cv_path_GREP" >&6; }
4812 GREP="$ac_cv_path_GREP"
4815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4816 $as_echo_n "checking for egrep... " >&6; }
4817 if test "${ac_cv_path_EGREP+set}" = set; then :
4818 $as_echo_n "(cached) " >&6
4819 else
4820 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4821 then ac_cv_path_EGREP="$GREP -E"
4822 else
4823 if test -z "$EGREP"; then
4824 ac_path_EGREP_found=false
4825 # Loop through the user's path and test for each of PROGNAME-LIST
4826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4827 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4829 IFS=$as_save_IFS
4830 test -z "$as_dir" && as_dir=.
4831 for ac_prog in egrep; do
4832 for ac_exec_ext in '' $ac_executable_extensions; do
4833 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4834 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4835 # Check for GNU ac_path_EGREP and select it if it is found.
4836 # Check for GNU $ac_path_EGREP
4837 case `"$ac_path_EGREP" --version 2>&1` in
4838 *GNU*)
4839 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4841 ac_count=0
4842 $as_echo_n 0123456789 >"conftest.in"
4843 while :
4845 cat "conftest.in" "conftest.in" >"conftest.tmp"
4846 mv "conftest.tmp" "conftest.in"
4847 cp "conftest.in" "conftest.nl"
4848 $as_echo 'EGREP' >> "conftest.nl"
4849 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4850 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4851 as_fn_arith $ac_count + 1 && ac_count=$as_val
4852 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4853 # Best one so far, save it but keep looking for a better one
4854 ac_cv_path_EGREP="$ac_path_EGREP"
4855 ac_path_EGREP_max=$ac_count
4857 # 10*(2^10) chars as input seems more than enough
4858 test $ac_count -gt 10 && break
4859 done
4860 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4861 esac
4863 $ac_path_EGREP_found && break 3
4864 done
4865 done
4866 done
4867 IFS=$as_save_IFS
4868 if test -z "$ac_cv_path_EGREP"; then
4869 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4871 else
4872 ac_cv_path_EGREP=$EGREP
4877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4878 $as_echo "$ac_cv_path_EGREP" >&6; }
4879 EGREP="$ac_cv_path_EGREP"
4883 # Keep these sync'd with the list in Makefile.am. The first provides an
4884 # expandable list at autoconf time; the second provides an expandable list
4885 # (i.e., shell variable) at configure time.
4887 SUBDIRS='include libsupc++ python src src/c++98 src/c++11 doc po testsuite'
4889 # These need to be absolute paths, yet at the same time need to
4890 # canonicalize only relative paths, because then amd will not unmount
4891 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4892 glibcxx_builddir=`${PWDCMD-pwd}`
4893 case $srcdir in
4894 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4895 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4896 esac
4897 toplevel_builddir=${glibcxx_builddir}/..
4898 toplevel_srcdir=${glibcxx_srcdir}/..
4904 # We use these options to decide which functions to include. They are
4905 # set from the top level.
4907 # Check whether --with-target-subdir was given.
4908 if test "${with_target_subdir+set}" = set; then :
4909 withval=$with_target_subdir;
4914 # Check whether --with-cross-host was given.
4915 if test "${with_cross_host+set}" = set; then :
4916 withval=$with_cross_host;
4921 # Check whether --with-newlib was given.
4922 if test "${with_newlib+set}" = set; then :
4923 withval=$with_newlib;
4927 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
4928 # available). Uncomment the next line to force a particular method.
4929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4930 $as_echo_n "checking whether ln -s works... " >&6; }
4931 LN_S=$as_ln_s
4932 if test "$LN_S" = "ln -s"; then
4933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4934 $as_echo "yes" >&6; }
4935 else
4936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4937 $as_echo "no, using $LN_S" >&6; }
4940 #LN_S='cp -p'
4942 if test -n "$ac_tool_prefix"; then
4943 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4944 set dummy ${ac_tool_prefix}as; ac_word=$2
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4946 $as_echo_n "checking for $ac_word... " >&6; }
4947 if test "${ac_cv_prog_AS+set}" = set; then :
4948 $as_echo_n "(cached) " >&6
4949 else
4950 if test -n "$AS"; then
4951 ac_cv_prog_AS="$AS" # Let the user override the test.
4952 else
4953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4954 for as_dir in $PATH
4956 IFS=$as_save_IFS
4957 test -z "$as_dir" && as_dir=.
4958 for ac_exec_ext in '' $ac_executable_extensions; do
4959 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4960 ac_cv_prog_AS="${ac_tool_prefix}as"
4961 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4962 break 2
4964 done
4965 done
4966 IFS=$as_save_IFS
4970 AS=$ac_cv_prog_AS
4971 if test -n "$AS"; then
4972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4973 $as_echo "$AS" >&6; }
4974 else
4975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4976 $as_echo "no" >&6; }
4981 if test -z "$ac_cv_prog_AS"; then
4982 ac_ct_AS=$AS
4983 # Extract the first word of "as", so it can be a program name with args.
4984 set dummy as; ac_word=$2
4985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4986 $as_echo_n "checking for $ac_word... " >&6; }
4987 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4988 $as_echo_n "(cached) " >&6
4989 else
4990 if test -n "$ac_ct_AS"; then
4991 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4992 else
4993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4994 for as_dir in $PATH
4996 IFS=$as_save_IFS
4997 test -z "$as_dir" && as_dir=.
4998 for ac_exec_ext in '' $ac_executable_extensions; do
4999 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5000 ac_cv_prog_ac_ct_AS="as"
5001 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5002 break 2
5004 done
5005 done
5006 IFS=$as_save_IFS
5010 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5011 if test -n "$ac_ct_AS"; then
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5013 $as_echo "$ac_ct_AS" >&6; }
5014 else
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5016 $as_echo "no" >&6; }
5019 if test "x$ac_ct_AS" = x; then
5020 AS=""
5021 else
5022 case $cross_compiling:$ac_tool_warned in
5023 yes:)
5024 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5025 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5026 ac_tool_warned=yes ;;
5027 esac
5028 AS=$ac_ct_AS
5030 else
5031 AS="$ac_cv_prog_AS"
5034 if test -n "$ac_tool_prefix"; then
5035 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5036 set dummy ${ac_tool_prefix}ar; ac_word=$2
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5038 $as_echo_n "checking for $ac_word... " >&6; }
5039 if test "${ac_cv_prog_AR+set}" = set; then :
5040 $as_echo_n "(cached) " >&6
5041 else
5042 if test -n "$AR"; then
5043 ac_cv_prog_AR="$AR" # Let the user override the test.
5044 else
5045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5046 for as_dir in $PATH
5048 IFS=$as_save_IFS
5049 test -z "$as_dir" && as_dir=.
5050 for ac_exec_ext in '' $ac_executable_extensions; do
5051 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5052 ac_cv_prog_AR="${ac_tool_prefix}ar"
5053 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5054 break 2
5056 done
5057 done
5058 IFS=$as_save_IFS
5062 AR=$ac_cv_prog_AR
5063 if test -n "$AR"; then
5064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5065 $as_echo "$AR" >&6; }
5066 else
5067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5068 $as_echo "no" >&6; }
5073 if test -z "$ac_cv_prog_AR"; then
5074 ac_ct_AR=$AR
5075 # Extract the first word of "ar", so it can be a program name with args.
5076 set dummy ar; ac_word=$2
5077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5078 $as_echo_n "checking for $ac_word... " >&6; }
5079 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5080 $as_echo_n "(cached) " >&6
5081 else
5082 if test -n "$ac_ct_AR"; then
5083 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5084 else
5085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5086 for as_dir in $PATH
5088 IFS=$as_save_IFS
5089 test -z "$as_dir" && as_dir=.
5090 for ac_exec_ext in '' $ac_executable_extensions; do
5091 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5092 ac_cv_prog_ac_ct_AR="ar"
5093 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5094 break 2
5096 done
5097 done
5098 IFS=$as_save_IFS
5102 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5103 if test -n "$ac_ct_AR"; then
5104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5105 $as_echo "$ac_ct_AR" >&6; }
5106 else
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5108 $as_echo "no" >&6; }
5111 if test "x$ac_ct_AR" = x; then
5112 AR=""
5113 else
5114 case $cross_compiling:$ac_tool_warned in
5115 yes:)
5116 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5117 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5118 ac_tool_warned=yes ;;
5119 esac
5120 AR=$ac_ct_AR
5122 else
5123 AR="$ac_cv_prog_AR"
5126 if test -n "$ac_tool_prefix"; then
5127 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5128 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5130 $as_echo_n "checking for $ac_word... " >&6; }
5131 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5132 $as_echo_n "(cached) " >&6
5133 else
5134 if test -n "$RANLIB"; then
5135 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5136 else
5137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5138 for as_dir in $PATH
5140 IFS=$as_save_IFS
5141 test -z "$as_dir" && as_dir=.
5142 for ac_exec_ext in '' $ac_executable_extensions; do
5143 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5144 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5145 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5146 break 2
5148 done
5149 done
5150 IFS=$as_save_IFS
5154 RANLIB=$ac_cv_prog_RANLIB
5155 if test -n "$RANLIB"; then
5156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5157 $as_echo "$RANLIB" >&6; }
5158 else
5159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5160 $as_echo "no" >&6; }
5165 if test -z "$ac_cv_prog_RANLIB"; then
5166 ac_ct_RANLIB=$RANLIB
5167 # Extract the first word of "ranlib", so it can be a program name with args.
5168 set dummy ranlib; ac_word=$2
5169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5170 $as_echo_n "checking for $ac_word... " >&6; }
5171 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5172 $as_echo_n "(cached) " >&6
5173 else
5174 if test -n "$ac_ct_RANLIB"; then
5175 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5176 else
5177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5178 for as_dir in $PATH
5180 IFS=$as_save_IFS
5181 test -z "$as_dir" && as_dir=.
5182 for ac_exec_ext in '' $ac_executable_extensions; do
5183 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5184 ac_cv_prog_ac_ct_RANLIB="ranlib"
5185 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5186 break 2
5188 done
5189 done
5190 IFS=$as_save_IFS
5194 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5195 if test -n "$ac_ct_RANLIB"; then
5196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5197 $as_echo "$ac_ct_RANLIB" >&6; }
5198 else
5199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5200 $as_echo "no" >&6; }
5203 if test "x$ac_ct_RANLIB" = x; then
5204 RANLIB="ranlib-not-found-in-path-error"
5205 else
5206 case $cross_compiling:$ac_tool_warned in
5207 yes:)
5208 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5209 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5210 ac_tool_warned=yes ;;
5211 esac
5212 RANLIB=$ac_ct_RANLIB
5214 else
5215 RANLIB="$ac_cv_prog_RANLIB"
5220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5221 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5222 # Check whether --enable-maintainer-mode was given.
5223 if test "${enable_maintainer_mode+set}" = set; then :
5224 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5225 else
5226 USE_MAINTAINER_MODE=no
5229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5230 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5231 if test $USE_MAINTAINER_MODE = yes; then
5232 MAINTAINER_MODE_TRUE=
5233 MAINTAINER_MODE_FALSE='#'
5234 else
5235 MAINTAINER_MODE_TRUE='#'
5236 MAINTAINER_MODE_FALSE=
5239 MAINT=$MAINTAINER_MODE_TRUE
5243 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5244 # which are themselves conditionally expanded.
5245 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5246 ## other macros from doing the same. This should be automated.) -pme
5248 # Check for C library flavor since GNU/Linux platforms use different
5249 # configuration directories depending on the C library in use.
5250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5251 /* end confdefs.h. */
5253 #include <stdio.h>
5254 #if __UCLIBC__
5255 _using_uclibc
5256 #endif
5258 _ACEOF
5259 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5260 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5261 uclibc=yes
5262 else
5263 uclibc=no
5265 rm -f conftest*
5268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5269 /* end confdefs.h. */
5271 #include <stdio.h>
5272 #if __BIONIC__
5273 _using_bionic
5274 #endif
5276 _ACEOF
5277 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5278 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5279 bionic=yes
5280 else
5281 bionic=no
5283 rm -f conftest*
5286 # Find platform-specific directories containing configuration info.
5287 # Also possibly modify flags used elsewhere, as needed by the platform.
5289 . $glibcxx_srcdir/configure.host
5290 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5291 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5293 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5297 # Libtool setup.
5298 if test "x${with_newlib}" != "xyes"; then
5299 enable_dlopen=yes
5304 case `pwd` in
5305 *\ * | *\ *)
5306 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5307 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5308 esac
5312 macro_version='2.2.7a'
5313 macro_revision='1.3134'
5327 ltmain="$ac_aux_dir/ltmain.sh"
5329 # Backslashify metacharacters that are still active within
5330 # double-quoted strings.
5331 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5333 # Same as above, but do not quote variable references.
5334 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5336 # Sed substitution to delay expansion of an escaped shell variable in a
5337 # double_quote_subst'ed string.
5338 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5340 # Sed substitution to delay expansion of an escaped single quote.
5341 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5343 # Sed substitution to avoid accidental globbing in evaled expressions
5344 no_glob_subst='s/\*/\\\*/g'
5346 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5347 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5348 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5351 $as_echo_n "checking how to print strings... " >&6; }
5352 # Test print first, because it will be a builtin if present.
5353 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5354 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5355 ECHO='print -r --'
5356 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5357 ECHO='printf %s\n'
5358 else
5359 # Use this function as a fallback that always works.
5360 func_fallback_echo ()
5362 eval 'cat <<_LTECHO_EOF
5364 _LTECHO_EOF'
5366 ECHO='func_fallback_echo'
5369 # func_echo_all arg...
5370 # Invoke $ECHO with all args, space-separated.
5371 func_echo_all ()
5373 $ECHO ""
5376 case "$ECHO" in
5377 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5378 $as_echo "printf" >&6; } ;;
5379 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5380 $as_echo "print -r" >&6; } ;;
5381 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5382 $as_echo "cat" >&6; } ;;
5383 esac
5398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5399 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5400 if test "${ac_cv_path_SED+set}" = set; then :
5401 $as_echo_n "(cached) " >&6
5402 else
5403 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5404 for ac_i in 1 2 3 4 5 6 7; do
5405 ac_script="$ac_script$as_nl$ac_script"
5406 done
5407 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5408 { ac_script=; unset ac_script;}
5409 if test -z "$SED"; then
5410 ac_path_SED_found=false
5411 # Loop through the user's path and test for each of PROGNAME-LIST
5412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5413 for as_dir in $PATH
5415 IFS=$as_save_IFS
5416 test -z "$as_dir" && as_dir=.
5417 for ac_prog in sed gsed; do
5418 for ac_exec_ext in '' $ac_executable_extensions; do
5419 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5420 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5421 # Check for GNU ac_path_SED and select it if it is found.
5422 # Check for GNU $ac_path_SED
5423 case `"$ac_path_SED" --version 2>&1` in
5424 *GNU*)
5425 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5427 ac_count=0
5428 $as_echo_n 0123456789 >"conftest.in"
5429 while :
5431 cat "conftest.in" "conftest.in" >"conftest.tmp"
5432 mv "conftest.tmp" "conftest.in"
5433 cp "conftest.in" "conftest.nl"
5434 $as_echo '' >> "conftest.nl"
5435 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5436 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5437 as_fn_arith $ac_count + 1 && ac_count=$as_val
5438 if test $ac_count -gt ${ac_path_SED_max-0}; then
5439 # Best one so far, save it but keep looking for a better one
5440 ac_cv_path_SED="$ac_path_SED"
5441 ac_path_SED_max=$ac_count
5443 # 10*(2^10) chars as input seems more than enough
5444 test $ac_count -gt 10 && break
5445 done
5446 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5447 esac
5449 $ac_path_SED_found && break 3
5450 done
5451 done
5452 done
5453 IFS=$as_save_IFS
5454 if test -z "$ac_cv_path_SED"; then
5455 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5457 else
5458 ac_cv_path_SED=$SED
5462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5463 $as_echo "$ac_cv_path_SED" >&6; }
5464 SED="$ac_cv_path_SED"
5465 rm -f conftest.sed
5467 test -z "$SED" && SED=sed
5468 Xsed="$SED -e 1s/^X//"
5480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5481 $as_echo_n "checking for fgrep... " >&6; }
5482 if test "${ac_cv_path_FGREP+set}" = set; then :
5483 $as_echo_n "(cached) " >&6
5484 else
5485 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5486 then ac_cv_path_FGREP="$GREP -F"
5487 else
5488 if test -z "$FGREP"; then
5489 ac_path_FGREP_found=false
5490 # Loop through the user's path and test for each of PROGNAME-LIST
5491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5492 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5494 IFS=$as_save_IFS
5495 test -z "$as_dir" && as_dir=.
5496 for ac_prog in fgrep; do
5497 for ac_exec_ext in '' $ac_executable_extensions; do
5498 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5499 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5500 # Check for GNU ac_path_FGREP and select it if it is found.
5501 # Check for GNU $ac_path_FGREP
5502 case `"$ac_path_FGREP" --version 2>&1` in
5503 *GNU*)
5504 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5506 ac_count=0
5507 $as_echo_n 0123456789 >"conftest.in"
5508 while :
5510 cat "conftest.in" "conftest.in" >"conftest.tmp"
5511 mv "conftest.tmp" "conftest.in"
5512 cp "conftest.in" "conftest.nl"
5513 $as_echo 'FGREP' >> "conftest.nl"
5514 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5515 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5516 as_fn_arith $ac_count + 1 && ac_count=$as_val
5517 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5518 # Best one so far, save it but keep looking for a better one
5519 ac_cv_path_FGREP="$ac_path_FGREP"
5520 ac_path_FGREP_max=$ac_count
5522 # 10*(2^10) chars as input seems more than enough
5523 test $ac_count -gt 10 && break
5524 done
5525 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5526 esac
5528 $ac_path_FGREP_found && break 3
5529 done
5530 done
5531 done
5532 IFS=$as_save_IFS
5533 if test -z "$ac_cv_path_FGREP"; then
5534 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5536 else
5537 ac_cv_path_FGREP=$FGREP
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5543 $as_echo "$ac_cv_path_FGREP" >&6; }
5544 FGREP="$ac_cv_path_FGREP"
5547 test -z "$GREP" && GREP=grep
5567 # Check whether --with-gnu-ld was given.
5568 if test "${with_gnu_ld+set}" = set; then :
5569 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5570 else
5571 with_gnu_ld=no
5574 ac_prog=ld
5575 if test "$GCC" = yes; then
5576 # Check if gcc -print-prog-name=ld gives a path.
5577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5578 $as_echo_n "checking for ld used by $CC... " >&6; }
5579 case $host in
5580 *-*-mingw*)
5581 # gcc leaves a trailing carriage return which upsets mingw
5582 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5584 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5585 esac
5586 case $ac_prog in
5587 # Accept absolute paths.
5588 [\\/]* | ?:[\\/]*)
5589 re_direlt='/[^/][^/]*/\.\./'
5590 # Canonicalize the pathname of ld
5591 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5592 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5593 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5594 done
5595 test -z "$LD" && LD="$ac_prog"
5598 # If it fails, then pretend we aren't using GCC.
5599 ac_prog=ld
5602 # If it is relative, then search for the first ld in PATH.
5603 with_gnu_ld=unknown
5605 esac
5606 elif test "$with_gnu_ld" = yes; then
5607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5608 $as_echo_n "checking for GNU ld... " >&6; }
5609 else
5610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5611 $as_echo_n "checking for non-GNU ld... " >&6; }
5613 if test "${lt_cv_path_LD+set}" = set; then :
5614 $as_echo_n "(cached) " >&6
5615 else
5616 if test -z "$LD"; then
5617 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5618 for ac_dir in $PATH; do
5619 IFS="$lt_save_ifs"
5620 test -z "$ac_dir" && ac_dir=.
5621 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5622 lt_cv_path_LD="$ac_dir/$ac_prog"
5623 # Check to see if the program is GNU ld. I'd rather use --version,
5624 # but apparently some variants of GNU ld only accept -v.
5625 # Break only if it was the GNU/non-GNU ld that we prefer.
5626 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5627 *GNU* | *'with BFD'*)
5628 test "$with_gnu_ld" != no && break
5631 test "$with_gnu_ld" != yes && break
5633 esac
5635 done
5636 IFS="$lt_save_ifs"
5637 else
5638 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5642 LD="$lt_cv_path_LD"
5643 if test -n "$LD"; then
5644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5645 $as_echo "$LD" >&6; }
5646 else
5647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5648 $as_echo "no" >&6; }
5650 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5652 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5653 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5654 $as_echo_n "(cached) " >&6
5655 else
5656 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5657 case `$LD -v 2>&1 </dev/null` in
5658 *GNU* | *'with BFD'*)
5659 lt_cv_prog_gnu_ld=yes
5662 lt_cv_prog_gnu_ld=no
5664 esac
5666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5667 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5668 with_gnu_ld=$lt_cv_prog_gnu_ld
5678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5679 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5680 if test "${lt_cv_path_NM+set}" = set; then :
5681 $as_echo_n "(cached) " >&6
5682 else
5683 if test -n "$NM"; then
5684 # Let the user override the test.
5685 lt_cv_path_NM="$NM"
5686 else
5687 lt_nm_to_check="${ac_tool_prefix}nm"
5688 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5689 lt_nm_to_check="$lt_nm_to_check nm"
5691 for lt_tmp_nm in $lt_nm_to_check; do
5692 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5693 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5694 IFS="$lt_save_ifs"
5695 test -z "$ac_dir" && ac_dir=.
5696 tmp_nm="$ac_dir/$lt_tmp_nm"
5697 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5698 # Check to see if the nm accepts a BSD-compat flag.
5699 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5700 # nm: unknown option "B" ignored
5701 # Tru64's nm complains that /dev/null is an invalid object file
5702 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5703 */dev/null* | *'Invalid file or object type'*)
5704 lt_cv_path_NM="$tmp_nm -B"
5705 break
5708 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5709 */dev/null*)
5710 lt_cv_path_NM="$tmp_nm -p"
5711 break
5714 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5715 continue # so that we can try to find one that supports BSD flags
5717 esac
5719 esac
5721 done
5722 IFS="$lt_save_ifs"
5723 done
5724 : ${lt_cv_path_NM=no}
5727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5728 $as_echo "$lt_cv_path_NM" >&6; }
5729 if test "$lt_cv_path_NM" != "no"; then
5730 NM="$lt_cv_path_NM"
5731 else
5732 # Didn't find any BSD compatible name lister, look for dumpbin.
5733 if test -n "$DUMPBIN"; then :
5734 # Let the user override the test.
5735 else
5736 if test -n "$ac_tool_prefix"; then
5737 for ac_prog in dumpbin "link -dump"
5739 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5740 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5742 $as_echo_n "checking for $ac_word... " >&6; }
5743 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5744 $as_echo_n "(cached) " >&6
5745 else
5746 if test -n "$DUMPBIN"; then
5747 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5748 else
5749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5750 for as_dir in $PATH
5752 IFS=$as_save_IFS
5753 test -z "$as_dir" && as_dir=.
5754 for ac_exec_ext in '' $ac_executable_extensions; do
5755 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5756 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5757 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5758 break 2
5760 done
5761 done
5762 IFS=$as_save_IFS
5766 DUMPBIN=$ac_cv_prog_DUMPBIN
5767 if test -n "$DUMPBIN"; then
5768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5769 $as_echo "$DUMPBIN" >&6; }
5770 else
5771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5772 $as_echo "no" >&6; }
5776 test -n "$DUMPBIN" && break
5777 done
5779 if test -z "$DUMPBIN"; then
5780 ac_ct_DUMPBIN=$DUMPBIN
5781 for ac_prog in dumpbin "link -dump"
5783 # Extract the first word of "$ac_prog", so it can be a program name with args.
5784 set dummy $ac_prog; ac_word=$2
5785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5786 $as_echo_n "checking for $ac_word... " >&6; }
5787 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5788 $as_echo_n "(cached) " >&6
5789 else
5790 if test -n "$ac_ct_DUMPBIN"; then
5791 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5792 else
5793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5794 for as_dir in $PATH
5796 IFS=$as_save_IFS
5797 test -z "$as_dir" && as_dir=.
5798 for ac_exec_ext in '' $ac_executable_extensions; do
5799 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5800 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5801 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5802 break 2
5804 done
5805 done
5806 IFS=$as_save_IFS
5810 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5811 if test -n "$ac_ct_DUMPBIN"; then
5812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5813 $as_echo "$ac_ct_DUMPBIN" >&6; }
5814 else
5815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5816 $as_echo "no" >&6; }
5820 test -n "$ac_ct_DUMPBIN" && break
5821 done
5823 if test "x$ac_ct_DUMPBIN" = x; then
5824 DUMPBIN=":"
5825 else
5826 case $cross_compiling:$ac_tool_warned in
5827 yes:)
5828 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5829 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5830 ac_tool_warned=yes ;;
5831 esac
5832 DUMPBIN=$ac_ct_DUMPBIN
5836 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5837 *COFF*)
5838 DUMPBIN="$DUMPBIN -symbols"
5841 DUMPBIN=:
5843 esac
5846 if test "$DUMPBIN" != ":"; then
5847 NM="$DUMPBIN"
5850 test -z "$NM" && NM=nm
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5858 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5859 if test "${lt_cv_nm_interface+set}" = set; then :
5860 $as_echo_n "(cached) " >&6
5861 else
5862 lt_cv_nm_interface="BSD nm"
5863 echo "int some_variable = 0;" > conftest.$ac_ext
5864 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5865 (eval "$ac_compile" 2>conftest.err)
5866 cat conftest.err >&5
5867 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5868 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5869 cat conftest.err >&5
5870 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5871 cat conftest.out >&5
5872 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5873 lt_cv_nm_interface="MS dumpbin"
5875 rm -f conftest*
5877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5878 $as_echo "$lt_cv_nm_interface" >&6; }
5880 # find the maximum length of command line arguments
5881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5882 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5883 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5884 $as_echo_n "(cached) " >&6
5885 else
5887 teststring="ABCD"
5889 case $build_os in
5890 msdosdjgpp*)
5891 # On DJGPP, this test can blow up pretty badly due to problems in libc
5892 # (any single argument exceeding 2000 bytes causes a buffer overrun
5893 # during glob expansion). Even if it were fixed, the result of this
5894 # check would be larger than it should be.
5895 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5898 gnu*)
5899 # Under GNU Hurd, this test is not required because there is
5900 # no limit to the length of command line arguments.
5901 # Libtool will interpret -1 as no limit whatsoever
5902 lt_cv_sys_max_cmd_len=-1;
5905 cygwin* | mingw* | cegcc*)
5906 # On Win9x/ME, this test blows up -- it succeeds, but takes
5907 # about 5 minutes as the teststring grows exponentially.
5908 # Worse, since 9x/ME are not pre-emptively multitasking,
5909 # you end up with a "frozen" computer, even though with patience
5910 # the test eventually succeeds (with a max line length of 256k).
5911 # Instead, let's just punt: use the minimum linelength reported by
5912 # all of the supported platforms: 8192 (on NT/2K/XP).
5913 lt_cv_sys_max_cmd_len=8192;
5916 mint*)
5917 # On MiNT this can take a long time and run out of memory.
5918 lt_cv_sys_max_cmd_len=8192;
5921 amigaos*)
5922 # On AmigaOS with pdksh, this test takes hours, literally.
5923 # So we just punt and use a minimum line length of 8192.
5924 lt_cv_sys_max_cmd_len=8192;
5927 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5928 # This has been around since 386BSD, at least. Likely further.
5929 if test -x /sbin/sysctl; then
5930 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5931 elif test -x /usr/sbin/sysctl; then
5932 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5933 else
5934 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5936 # And add a safety zone
5937 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5938 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5941 interix*)
5942 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5943 lt_cv_sys_max_cmd_len=196608
5946 osf*)
5947 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5948 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5949 # nice to cause kernel panics so lets avoid the loop below.
5950 # First set a reasonable default.
5951 lt_cv_sys_max_cmd_len=16384
5953 if test -x /sbin/sysconfig; then
5954 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5955 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5956 esac
5959 sco3.2v5*)
5960 lt_cv_sys_max_cmd_len=102400
5962 sysv5* | sco5v6* | sysv4.2uw2*)
5963 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5964 if test -n "$kargmax"; then
5965 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5966 else
5967 lt_cv_sys_max_cmd_len=32768
5971 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5972 if test -n "$lt_cv_sys_max_cmd_len"; then
5973 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5974 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5975 else
5976 # Make teststring a little bigger before we do anything with it.
5977 # a 1K string should be a reasonable start.
5978 for i in 1 2 3 4 5 6 7 8 ; do
5979 teststring=$teststring$teststring
5980 done
5981 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5982 # If test is not a shell built-in, we'll probably end up computing a
5983 # maximum length that is only half of the actual maximum length, but
5984 # we can't tell.
5985 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5986 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5987 test $i != 17 # 1/2 MB should be enough
5989 i=`expr $i + 1`
5990 teststring=$teststring$teststring
5991 done
5992 # Only check the string length outside the loop.
5993 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5994 teststring=
5995 # Add a significant safety factor because C++ compilers can tack on
5996 # massive amounts of additional arguments before passing them to the
5997 # linker. It appears as though 1/2 is a usable value.
5998 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6001 esac
6005 if test -n $lt_cv_sys_max_cmd_len ; then
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6007 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6008 else
6009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6010 $as_echo "none" >&6; }
6012 max_cmd_len=$lt_cv_sys_max_cmd_len
6019 : ${CP="cp -f"}
6020 : ${MV="mv -f"}
6021 : ${RM="rm -f"}
6023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6024 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6025 # Try some XSI features
6026 xsi_shell=no
6027 ( _lt_dummy="a/b/c"
6028 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6029 = c,a/b,, \
6030 && eval 'test $(( 1 + 1 )) -eq 2 \
6031 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6032 && xsi_shell=yes
6033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6034 $as_echo "$xsi_shell" >&6; }
6037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6038 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6039 lt_shell_append=no
6040 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6041 >/dev/null 2>&1 \
6042 && lt_shell_append=yes
6043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6044 $as_echo "$lt_shell_append" >&6; }
6047 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6048 lt_unset=unset
6049 else
6050 lt_unset=false
6057 # test EBCDIC or ASCII
6058 case `echo X|tr X '\101'` in
6059 A) # ASCII based system
6060 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6061 lt_SP2NL='tr \040 \012'
6062 lt_NL2SP='tr \015\012 \040\040'
6064 *) # EBCDIC based system
6065 lt_SP2NL='tr \100 \n'
6066 lt_NL2SP='tr \r\n \100\100'
6068 esac
6078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6079 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6080 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6081 $as_echo_n "(cached) " >&6
6082 else
6083 lt_cv_ld_reload_flag='-r'
6085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6086 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6087 reload_flag=$lt_cv_ld_reload_flag
6088 case $reload_flag in
6089 "" | " "*) ;;
6090 *) reload_flag=" $reload_flag" ;;
6091 esac
6092 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6093 case $host_os in
6094 darwin*)
6095 if test "$GCC" = yes; then
6096 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6097 else
6098 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6101 esac
6111 if test -n "$ac_tool_prefix"; then
6112 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6113 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6115 $as_echo_n "checking for $ac_word... " >&6; }
6116 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6117 $as_echo_n "(cached) " >&6
6118 else
6119 if test -n "$OBJDUMP"; then
6120 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6121 else
6122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6123 for as_dir in $PATH
6125 IFS=$as_save_IFS
6126 test -z "$as_dir" && as_dir=.
6127 for ac_exec_ext in '' $ac_executable_extensions; do
6128 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6129 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6130 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6131 break 2
6133 done
6134 done
6135 IFS=$as_save_IFS
6139 OBJDUMP=$ac_cv_prog_OBJDUMP
6140 if test -n "$OBJDUMP"; then
6141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6142 $as_echo "$OBJDUMP" >&6; }
6143 else
6144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6145 $as_echo "no" >&6; }
6150 if test -z "$ac_cv_prog_OBJDUMP"; then
6151 ac_ct_OBJDUMP=$OBJDUMP
6152 # Extract the first word of "objdump", so it can be a program name with args.
6153 set dummy objdump; ac_word=$2
6154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6155 $as_echo_n "checking for $ac_word... " >&6; }
6156 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6157 $as_echo_n "(cached) " >&6
6158 else
6159 if test -n "$ac_ct_OBJDUMP"; then
6160 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6161 else
6162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6163 for as_dir in $PATH
6165 IFS=$as_save_IFS
6166 test -z "$as_dir" && as_dir=.
6167 for ac_exec_ext in '' $ac_executable_extensions; do
6168 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6169 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6170 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6171 break 2
6173 done
6174 done
6175 IFS=$as_save_IFS
6179 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6180 if test -n "$ac_ct_OBJDUMP"; then
6181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6182 $as_echo "$ac_ct_OBJDUMP" >&6; }
6183 else
6184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6185 $as_echo "no" >&6; }
6188 if test "x$ac_ct_OBJDUMP" = x; then
6189 OBJDUMP="false"
6190 else
6191 case $cross_compiling:$ac_tool_warned in
6192 yes:)
6193 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6194 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6195 ac_tool_warned=yes ;;
6196 esac
6197 OBJDUMP=$ac_ct_OBJDUMP
6199 else
6200 OBJDUMP="$ac_cv_prog_OBJDUMP"
6203 test -z "$OBJDUMP" && OBJDUMP=objdump
6213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6214 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6215 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6216 $as_echo_n "(cached) " >&6
6217 else
6218 lt_cv_file_magic_cmd='$MAGIC_CMD'
6219 lt_cv_file_magic_test_file=
6220 lt_cv_deplibs_check_method='unknown'
6221 # Need to set the preceding variable on all platforms that support
6222 # interlibrary dependencies.
6223 # 'none' -- dependencies not supported.
6224 # `unknown' -- same as none, but documents that we really don't know.
6225 # 'pass_all' -- all dependencies passed with no checks.
6226 # 'test_compile' -- check by making test program.
6227 # 'file_magic [[regex]]' -- check by looking for files in library path
6228 # which responds to the $file_magic_cmd with a given extended regex.
6229 # If you have `file' or equivalent on your system and you're not sure
6230 # whether `pass_all' will *always* work, you probably want this one.
6232 case $host_os in
6233 aix[4-9]*)
6234 lt_cv_deplibs_check_method=pass_all
6237 beos*)
6238 lt_cv_deplibs_check_method=pass_all
6241 bsdi[45]*)
6242 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6243 lt_cv_file_magic_cmd='/usr/bin/file -L'
6244 lt_cv_file_magic_test_file=/shlib/libc.so
6247 cygwin*)
6248 # func_win32_libid is a shell function defined in ltmain.sh
6249 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6250 lt_cv_file_magic_cmd='func_win32_libid'
6253 mingw* | pw32*)
6254 # Base MSYS/MinGW do not provide the 'file' command needed by
6255 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6256 # unless we find 'file', for example because we are cross-compiling.
6257 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6258 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6259 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6260 lt_cv_file_magic_cmd='func_win32_libid'
6261 else
6262 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6263 lt_cv_file_magic_cmd='$OBJDUMP -f'
6267 cegcc*)
6268 # use the weaker test based on 'objdump'. See mingw*.
6269 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6270 lt_cv_file_magic_cmd='$OBJDUMP -f'
6273 darwin* | rhapsody*)
6274 lt_cv_deplibs_check_method=pass_all
6277 freebsd* | dragonfly*)
6278 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6279 case $host_cpu in
6280 i*86 )
6281 # Not sure whether the presence of OpenBSD here was a mistake.
6282 # Let's accept both of them until this is cleared up.
6283 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6284 lt_cv_file_magic_cmd=/usr/bin/file
6285 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6287 esac
6288 else
6289 lt_cv_deplibs_check_method=pass_all
6293 gnu*)
6294 lt_cv_deplibs_check_method=pass_all
6297 haiku*)
6298 lt_cv_deplibs_check_method=pass_all
6301 hpux10.20* | hpux11*)
6302 lt_cv_file_magic_cmd=/usr/bin/file
6303 case $host_cpu in
6304 ia64*)
6305 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6306 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6308 hppa*64*)
6309 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]'
6310 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6313 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6314 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6316 esac
6319 interix[3-9]*)
6320 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6321 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6324 irix5* | irix6* | nonstopux*)
6325 case $LD in
6326 *-32|*"-32 ") libmagic=32-bit;;
6327 *-n32|*"-n32 ") libmagic=N32;;
6328 *-64|*"-64 ") libmagic=64-bit;;
6329 *) libmagic=never-match;;
6330 esac
6331 lt_cv_deplibs_check_method=pass_all
6334 # This must be Linux ELF.
6335 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6336 lt_cv_deplibs_check_method=pass_all
6339 netbsd*)
6340 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6341 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6342 else
6343 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6347 newos6*)
6348 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6349 lt_cv_file_magic_cmd=/usr/bin/file
6350 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6353 *nto* | *qnx*)
6354 lt_cv_deplibs_check_method=pass_all
6357 openbsd*)
6358 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6359 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6360 else
6361 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6365 osf3* | osf4* | osf5*)
6366 lt_cv_deplibs_check_method=pass_all
6369 rdos*)
6370 lt_cv_deplibs_check_method=pass_all
6373 solaris*)
6374 lt_cv_deplibs_check_method=pass_all
6377 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6378 lt_cv_deplibs_check_method=pass_all
6381 sysv4 | sysv4.3*)
6382 case $host_vendor in
6383 motorola)
6384 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]'
6385 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6387 ncr)
6388 lt_cv_deplibs_check_method=pass_all
6390 sequent)
6391 lt_cv_file_magic_cmd='/bin/file'
6392 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6394 sni)
6395 lt_cv_file_magic_cmd='/bin/file'
6396 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6397 lt_cv_file_magic_test_file=/lib/libc.so
6399 siemens)
6400 lt_cv_deplibs_check_method=pass_all
6403 lt_cv_deplibs_check_method=pass_all
6405 esac
6408 tpf*)
6409 lt_cv_deplibs_check_method=pass_all
6411 esac
6414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6415 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6416 file_magic_cmd=$lt_cv_file_magic_cmd
6417 deplibs_check_method=$lt_cv_deplibs_check_method
6418 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6431 if test -n "$ac_tool_prefix"; then
6432 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6433 set dummy ${ac_tool_prefix}ar; ac_word=$2
6434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6435 $as_echo_n "checking for $ac_word... " >&6; }
6436 if test "${ac_cv_prog_AR+set}" = set; then :
6437 $as_echo_n "(cached) " >&6
6438 else
6439 if test -n "$AR"; then
6440 ac_cv_prog_AR="$AR" # Let the user override the test.
6441 else
6442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6443 for as_dir in $PATH
6445 IFS=$as_save_IFS
6446 test -z "$as_dir" && as_dir=.
6447 for ac_exec_ext in '' $ac_executable_extensions; do
6448 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6449 ac_cv_prog_AR="${ac_tool_prefix}ar"
6450 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6451 break 2
6453 done
6454 done
6455 IFS=$as_save_IFS
6459 AR=$ac_cv_prog_AR
6460 if test -n "$AR"; then
6461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6462 $as_echo "$AR" >&6; }
6463 else
6464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6465 $as_echo "no" >&6; }
6470 if test -z "$ac_cv_prog_AR"; then
6471 ac_ct_AR=$AR
6472 # Extract the first word of "ar", so it can be a program name with args.
6473 set dummy ar; ac_word=$2
6474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6475 $as_echo_n "checking for $ac_word... " >&6; }
6476 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6477 $as_echo_n "(cached) " >&6
6478 else
6479 if test -n "$ac_ct_AR"; then
6480 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6481 else
6482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6483 for as_dir in $PATH
6485 IFS=$as_save_IFS
6486 test -z "$as_dir" && as_dir=.
6487 for ac_exec_ext in '' $ac_executable_extensions; do
6488 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6489 ac_cv_prog_ac_ct_AR="ar"
6490 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6491 break 2
6493 done
6494 done
6495 IFS=$as_save_IFS
6499 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6500 if test -n "$ac_ct_AR"; then
6501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6502 $as_echo "$ac_ct_AR" >&6; }
6503 else
6504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6505 $as_echo "no" >&6; }
6508 if test "x$ac_ct_AR" = x; then
6509 AR="false"
6510 else
6511 case $cross_compiling:$ac_tool_warned in
6512 yes:)
6513 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6514 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6515 ac_tool_warned=yes ;;
6516 esac
6517 AR=$ac_ct_AR
6519 else
6520 AR="$ac_cv_prog_AR"
6523 test -z "$AR" && AR=ar
6524 test -z "$AR_FLAGS" && AR_FLAGS=cru
6536 if test -n "$ac_tool_prefix"; then
6537 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6538 set dummy ${ac_tool_prefix}strip; ac_word=$2
6539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6540 $as_echo_n "checking for $ac_word... " >&6; }
6541 if test "${ac_cv_prog_STRIP+set}" = set; then :
6542 $as_echo_n "(cached) " >&6
6543 else
6544 if test -n "$STRIP"; then
6545 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6546 else
6547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6548 for as_dir in $PATH
6550 IFS=$as_save_IFS
6551 test -z "$as_dir" && as_dir=.
6552 for ac_exec_ext in '' $ac_executable_extensions; do
6553 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6554 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6555 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6556 break 2
6558 done
6559 done
6560 IFS=$as_save_IFS
6564 STRIP=$ac_cv_prog_STRIP
6565 if test -n "$STRIP"; then
6566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6567 $as_echo "$STRIP" >&6; }
6568 else
6569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6570 $as_echo "no" >&6; }
6575 if test -z "$ac_cv_prog_STRIP"; then
6576 ac_ct_STRIP=$STRIP
6577 # Extract the first word of "strip", so it can be a program name with args.
6578 set dummy strip; ac_word=$2
6579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6580 $as_echo_n "checking for $ac_word... " >&6; }
6581 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6582 $as_echo_n "(cached) " >&6
6583 else
6584 if test -n "$ac_ct_STRIP"; then
6585 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6586 else
6587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6588 for as_dir in $PATH
6590 IFS=$as_save_IFS
6591 test -z "$as_dir" && as_dir=.
6592 for ac_exec_ext in '' $ac_executable_extensions; do
6593 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6594 ac_cv_prog_ac_ct_STRIP="strip"
6595 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6596 break 2
6598 done
6599 done
6600 IFS=$as_save_IFS
6604 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6605 if test -n "$ac_ct_STRIP"; then
6606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6607 $as_echo "$ac_ct_STRIP" >&6; }
6608 else
6609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6610 $as_echo "no" >&6; }
6613 if test "x$ac_ct_STRIP" = x; then
6614 STRIP=":"
6615 else
6616 case $cross_compiling:$ac_tool_warned in
6617 yes:)
6618 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6619 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6620 ac_tool_warned=yes ;;
6621 esac
6622 STRIP=$ac_ct_STRIP
6624 else
6625 STRIP="$ac_cv_prog_STRIP"
6628 test -z "$STRIP" && STRIP=:
6635 if test -n "$ac_tool_prefix"; then
6636 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6637 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6639 $as_echo_n "checking for $ac_word... " >&6; }
6640 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6641 $as_echo_n "(cached) " >&6
6642 else
6643 if test -n "$RANLIB"; then
6644 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6645 else
6646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6647 for as_dir in $PATH
6649 IFS=$as_save_IFS
6650 test -z "$as_dir" && as_dir=.
6651 for ac_exec_ext in '' $ac_executable_extensions; do
6652 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6653 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6654 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6655 break 2
6657 done
6658 done
6659 IFS=$as_save_IFS
6663 RANLIB=$ac_cv_prog_RANLIB
6664 if test -n "$RANLIB"; then
6665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6666 $as_echo "$RANLIB" >&6; }
6667 else
6668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6669 $as_echo "no" >&6; }
6674 if test -z "$ac_cv_prog_RANLIB"; then
6675 ac_ct_RANLIB=$RANLIB
6676 # Extract the first word of "ranlib", so it can be a program name with args.
6677 set dummy ranlib; ac_word=$2
6678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6679 $as_echo_n "checking for $ac_word... " >&6; }
6680 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6681 $as_echo_n "(cached) " >&6
6682 else
6683 if test -n "$ac_ct_RANLIB"; then
6684 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6685 else
6686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6687 for as_dir in $PATH
6689 IFS=$as_save_IFS
6690 test -z "$as_dir" && as_dir=.
6691 for ac_exec_ext in '' $ac_executable_extensions; do
6692 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6693 ac_cv_prog_ac_ct_RANLIB="ranlib"
6694 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6695 break 2
6697 done
6698 done
6699 IFS=$as_save_IFS
6703 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6704 if test -n "$ac_ct_RANLIB"; then
6705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6706 $as_echo "$ac_ct_RANLIB" >&6; }
6707 else
6708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6709 $as_echo "no" >&6; }
6712 if test "x$ac_ct_RANLIB" = x; then
6713 RANLIB=":"
6714 else
6715 case $cross_compiling:$ac_tool_warned in
6716 yes:)
6717 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6718 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6719 ac_tool_warned=yes ;;
6720 esac
6721 RANLIB=$ac_ct_RANLIB
6723 else
6724 RANLIB="$ac_cv_prog_RANLIB"
6727 test -z "$RANLIB" && RANLIB=:
6734 # Determine commands to create old-style static archives.
6735 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6736 old_postinstall_cmds='chmod 644 $oldlib'
6737 old_postuninstall_cmds=
6739 if test -n "$RANLIB"; then
6740 case $host_os in
6741 openbsd*)
6742 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6745 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6747 esac
6748 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6751 case $host_os in
6752 darwin*)
6753 lock_old_archive_extraction=yes ;;
6755 lock_old_archive_extraction=no ;;
6756 esac
6796 # If no C compiler was specified, use CC.
6797 LTCC=${LTCC-"$CC"}
6799 # If no C compiler flags were specified, use CFLAGS.
6800 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6802 # Allow CC to be a program name with arguments.
6803 compiler=$CC
6806 # Check for command to grab the raw symbol name followed by C symbol from nm.
6807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6808 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6809 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6810 $as_echo_n "(cached) " >&6
6811 else
6813 # These are sane defaults that work on at least a few old systems.
6814 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6816 # Character class describing NM global symbol codes.
6817 symcode='[BCDEGRST]'
6819 # Regexp to match symbols that can be accessed directly from C.
6820 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6822 # Define system-specific variables.
6823 case $host_os in
6824 aix*)
6825 symcode='[BCDT]'
6827 cygwin* | mingw* | pw32* | cegcc*)
6828 symcode='[ABCDGISTW]'
6830 hpux*)
6831 if test "$host_cpu" = ia64; then
6832 symcode='[ABCDEGRST]'
6835 irix* | nonstopux*)
6836 symcode='[BCDEGRST]'
6838 osf*)
6839 symcode='[BCDEGQRST]'
6841 solaris*)
6842 symcode='[BDRT]'
6844 sco3.2v5*)
6845 symcode='[DT]'
6847 sysv4.2uw2*)
6848 symcode='[DT]'
6850 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6851 symcode='[ABDT]'
6853 sysv4)
6854 symcode='[DFNSTU]'
6856 esac
6858 # If we're using GNU nm, then use its standard symbol codes.
6859 case `$NM -V 2>&1` in
6860 *GNU* | *'with BFD'*)
6861 symcode='[ABCDGIRSTW]' ;;
6862 esac
6864 # Transform an extracted symbol line into a proper C declaration.
6865 # Some systems (esp. on ia64) link data and code symbols differently,
6866 # so use this general approach.
6867 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6869 # Transform an extracted symbol line into symbol name and symbol address
6870 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6871 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'"
6873 # Handle CRLF in mingw tool chain
6874 opt_cr=
6875 case $build_os in
6876 mingw*)
6877 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6879 esac
6881 # Try without a prefix underscore, then with it.
6882 for ac_symprfx in "" "_"; do
6884 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6885 symxfrm="\\1 $ac_symprfx\\2 \\2"
6887 # Write the raw and C identifiers.
6888 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6889 # Fake it for dumpbin and say T for any non-static function
6890 # and D for any global variable.
6891 # Also find C++ and __fastcall symbols from MSVC++,
6892 # which start with @ or ?.
6893 lt_cv_sys_global_symbol_pipe="$AWK '"\
6894 " {last_section=section; section=\$ 3};"\
6895 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6896 " \$ 0!~/External *\|/{next};"\
6897 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6898 " {if(hide[section]) next};"\
6899 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6900 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6901 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6902 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6903 " ' prfx=^$ac_symprfx"
6904 else
6905 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6908 # Check to see that the pipe works correctly.
6909 pipe_works=no
6911 rm -f conftest*
6912 cat > conftest.$ac_ext <<_LT_EOF
6913 #ifdef __cplusplus
6914 extern "C" {
6915 #endif
6916 char nm_test_var;
6917 void nm_test_func(void);
6918 void nm_test_func(void){}
6919 #ifdef __cplusplus
6921 #endif
6922 int main(){nm_test_var='a';nm_test_func();return(0);}
6923 _LT_EOF
6925 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6926 (eval $ac_compile) 2>&5
6927 ac_status=$?
6928 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6929 test $ac_status = 0; }; then
6930 # Now try to grab the symbols.
6931 nlist=conftest.nm
6932 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6933 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6934 ac_status=$?
6935 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6936 test $ac_status = 0; } && test -s "$nlist"; then
6937 # Try sorting and uniquifying the output.
6938 if sort "$nlist" | uniq > "$nlist"T; then
6939 mv -f "$nlist"T "$nlist"
6940 else
6941 rm -f "$nlist"T
6944 # Make sure that we snagged all the symbols we need.
6945 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6946 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6947 cat <<_LT_EOF > conftest.$ac_ext
6948 #ifdef __cplusplus
6949 extern "C" {
6950 #endif
6952 _LT_EOF
6953 # Now generate the symbol file.
6954 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6956 cat <<_LT_EOF >> conftest.$ac_ext
6958 /* The mapping between symbol names and symbols. */
6959 const struct {
6960 const char *name;
6961 void *address;
6963 lt__PROGRAM__LTX_preloaded_symbols[] =
6965 { "@PROGRAM@", (void *) 0 },
6966 _LT_EOF
6967 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6968 cat <<\_LT_EOF >> conftest.$ac_ext
6969 {0, (void *) 0}
6972 /* This works around a problem in FreeBSD linker */
6973 #ifdef FREEBSD_WORKAROUND
6974 static const void *lt_preloaded_setup() {
6975 return lt__PROGRAM__LTX_preloaded_symbols;
6977 #endif
6979 #ifdef __cplusplus
6981 #endif
6982 _LT_EOF
6983 # Now try linking the two files.
6984 mv conftest.$ac_objext conftstm.$ac_objext
6985 lt_save_LIBS="$LIBS"
6986 lt_save_CFLAGS="$CFLAGS"
6987 LIBS="conftstm.$ac_objext"
6988 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6989 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6990 (eval $ac_link) 2>&5
6991 ac_status=$?
6992 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6993 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6994 pipe_works=yes
6996 LIBS="$lt_save_LIBS"
6997 CFLAGS="$lt_save_CFLAGS"
6998 else
6999 echo "cannot find nm_test_func in $nlist" >&5
7001 else
7002 echo "cannot find nm_test_var in $nlist" >&5
7004 else
7005 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7007 else
7008 echo "$progname: failed program was:" >&5
7009 cat conftest.$ac_ext >&5
7011 rm -rf conftest* conftst*
7013 # Do not use the global_symbol_pipe unless it works.
7014 if test "$pipe_works" = yes; then
7015 break
7016 else
7017 lt_cv_sys_global_symbol_pipe=
7019 done
7023 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7024 lt_cv_sys_global_symbol_to_cdecl=
7026 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7028 $as_echo "failed" >&6; }
7029 else
7030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7031 $as_echo "ok" >&6; }
7055 # Check whether --enable-libtool-lock was given.
7056 if test "${enable_libtool_lock+set}" = set; then :
7057 enableval=$enable_libtool_lock;
7060 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7062 # Some flags need to be propagated to the compiler or linker for good
7063 # libtool support.
7064 case $host in
7065 ia64-*-hpux*)
7066 # Find out which ABI we are using.
7067 echo 'int i;' > conftest.$ac_ext
7068 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7069 (eval $ac_compile) 2>&5
7070 ac_status=$?
7071 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7072 test $ac_status = 0; }; then
7073 case `/usr/bin/file conftest.$ac_objext` in
7074 *ELF-32*)
7075 HPUX_IA64_MODE="32"
7077 *ELF-64*)
7078 HPUX_IA64_MODE="64"
7080 esac
7082 rm -rf conftest*
7084 *-*-irix6*)
7085 # Find out which ABI we are using.
7086 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7087 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7088 (eval $ac_compile) 2>&5
7089 ac_status=$?
7090 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7091 test $ac_status = 0; }; then
7092 if test "$lt_cv_prog_gnu_ld" = yes; then
7093 case `/usr/bin/file conftest.$ac_objext` in
7094 *32-bit*)
7095 LD="${LD-ld} -melf32bsmip"
7097 *N32*)
7098 LD="${LD-ld} -melf32bmipn32"
7100 *64-bit*)
7101 LD="${LD-ld} -melf64bmip"
7103 esac
7104 else
7105 case `/usr/bin/file conftest.$ac_objext` in
7106 *32-bit*)
7107 LD="${LD-ld} -32"
7109 *N32*)
7110 LD="${LD-ld} -n32"
7112 *64-bit*)
7113 LD="${LD-ld} -64"
7115 esac
7118 rm -rf conftest*
7121 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7122 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7123 # Find out which ABI we are using.
7124 echo 'int i;' > conftest.$ac_ext
7125 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7126 (eval $ac_compile) 2>&5
7127 ac_status=$?
7128 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7129 test $ac_status = 0; }; then
7130 case `/usr/bin/file conftest.o` in
7131 *32-bit*)
7132 case $host in
7133 x86_64-*kfreebsd*-gnu)
7134 LD="${LD-ld} -m elf_i386_fbsd"
7136 x86_64-*linux*)
7137 case `/usr/bin/file conftest.o` in
7138 *x86-64*)
7139 LD="${LD-ld} -m elf32_x86_64"
7142 LD="${LD-ld} -m elf_i386"
7144 esac
7146 powerpc64le-*linux*)
7147 LD="${LD-ld} -m elf32lppclinux"
7149 powerpc64-*linux*)
7150 LD="${LD-ld} -m elf32ppclinux"
7152 s390x-*linux*)
7153 LD="${LD-ld} -m elf_s390"
7155 sparc64-*linux*)
7156 LD="${LD-ld} -m elf32_sparc"
7158 esac
7160 *64-bit*)
7161 case $host in
7162 x86_64-*kfreebsd*-gnu)
7163 LD="${LD-ld} -m elf_x86_64_fbsd"
7165 x86_64-*linux*)
7166 LD="${LD-ld} -m elf_x86_64"
7168 powerpcle-*linux*)
7169 LD="${LD-ld} -m elf64lppc"
7171 powerpc-*linux*)
7172 LD="${LD-ld} -m elf64ppc"
7174 s390*-*linux*|s390*-*tpf*)
7175 LD="${LD-ld} -m elf64_s390"
7177 sparc*-*linux*)
7178 LD="${LD-ld} -m elf64_sparc"
7180 esac
7182 esac
7184 rm -rf conftest*
7187 *-*-sco3.2v5*)
7188 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7189 SAVE_CFLAGS="$CFLAGS"
7190 CFLAGS="$CFLAGS -belf"
7191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7192 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7193 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7194 $as_echo_n "(cached) " >&6
7195 else
7196 ac_ext=c
7197 ac_cpp='$CPP $CPPFLAGS'
7198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7202 if test x$gcc_no_link = xyes; then
7203 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7206 /* end confdefs.h. */
7209 main ()
7213 return 0;
7215 _ACEOF
7216 if ac_fn_c_try_link "$LINENO"; then :
7217 lt_cv_cc_needs_belf=yes
7218 else
7219 lt_cv_cc_needs_belf=no
7221 rm -f core conftest.err conftest.$ac_objext \
7222 conftest$ac_exeext conftest.$ac_ext
7223 ac_ext=c
7224 ac_cpp='$CPP $CPPFLAGS'
7225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7231 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7232 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7233 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7234 CFLAGS="$SAVE_CFLAGS"
7237 sparc*-*solaris*)
7238 # Find out which ABI we are using.
7239 echo 'int i;' > conftest.$ac_ext
7240 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7241 (eval $ac_compile) 2>&5
7242 ac_status=$?
7243 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7244 test $ac_status = 0; }; then
7245 case `/usr/bin/file conftest.o` in
7246 *64-bit*)
7247 case $lt_cv_prog_gnu_ld in
7248 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7250 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7251 LD="${LD-ld} -64"
7254 esac
7256 esac
7258 rm -rf conftest*
7260 esac
7262 need_locks="$enable_libtool_lock"
7265 case $host_os in
7266 rhapsody* | darwin*)
7267 if test -n "$ac_tool_prefix"; then
7268 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7269 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7271 $as_echo_n "checking for $ac_word... " >&6; }
7272 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7273 $as_echo_n "(cached) " >&6
7274 else
7275 if test -n "$DSYMUTIL"; then
7276 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7277 else
7278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7279 for as_dir in $PATH
7281 IFS=$as_save_IFS
7282 test -z "$as_dir" && as_dir=.
7283 for ac_exec_ext in '' $ac_executable_extensions; do
7284 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7285 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7286 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7287 break 2
7289 done
7290 done
7291 IFS=$as_save_IFS
7295 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7296 if test -n "$DSYMUTIL"; then
7297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7298 $as_echo "$DSYMUTIL" >&6; }
7299 else
7300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7301 $as_echo "no" >&6; }
7306 if test -z "$ac_cv_prog_DSYMUTIL"; then
7307 ac_ct_DSYMUTIL=$DSYMUTIL
7308 # Extract the first word of "dsymutil", so it can be a program name with args.
7309 set dummy dsymutil; ac_word=$2
7310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7311 $as_echo_n "checking for $ac_word... " >&6; }
7312 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7313 $as_echo_n "(cached) " >&6
7314 else
7315 if test -n "$ac_ct_DSYMUTIL"; then
7316 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7317 else
7318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7319 for as_dir in $PATH
7321 IFS=$as_save_IFS
7322 test -z "$as_dir" && as_dir=.
7323 for ac_exec_ext in '' $ac_executable_extensions; do
7324 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7325 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7326 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7327 break 2
7329 done
7330 done
7331 IFS=$as_save_IFS
7335 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7336 if test -n "$ac_ct_DSYMUTIL"; then
7337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7338 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7339 else
7340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7341 $as_echo "no" >&6; }
7344 if test "x$ac_ct_DSYMUTIL" = x; then
7345 DSYMUTIL=":"
7346 else
7347 case $cross_compiling:$ac_tool_warned in
7348 yes:)
7349 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7350 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7351 ac_tool_warned=yes ;;
7352 esac
7353 DSYMUTIL=$ac_ct_DSYMUTIL
7355 else
7356 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7359 if test -n "$ac_tool_prefix"; then
7360 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7361 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7363 $as_echo_n "checking for $ac_word... " >&6; }
7364 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7365 $as_echo_n "(cached) " >&6
7366 else
7367 if test -n "$NMEDIT"; then
7368 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7369 else
7370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7371 for as_dir in $PATH
7373 IFS=$as_save_IFS
7374 test -z "$as_dir" && as_dir=.
7375 for ac_exec_ext in '' $ac_executable_extensions; do
7376 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7377 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7378 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7379 break 2
7381 done
7382 done
7383 IFS=$as_save_IFS
7387 NMEDIT=$ac_cv_prog_NMEDIT
7388 if test -n "$NMEDIT"; then
7389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7390 $as_echo "$NMEDIT" >&6; }
7391 else
7392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7393 $as_echo "no" >&6; }
7398 if test -z "$ac_cv_prog_NMEDIT"; then
7399 ac_ct_NMEDIT=$NMEDIT
7400 # Extract the first word of "nmedit", so it can be a program name with args.
7401 set dummy nmedit; ac_word=$2
7402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7403 $as_echo_n "checking for $ac_word... " >&6; }
7404 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7405 $as_echo_n "(cached) " >&6
7406 else
7407 if test -n "$ac_ct_NMEDIT"; then
7408 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7409 else
7410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7411 for as_dir in $PATH
7413 IFS=$as_save_IFS
7414 test -z "$as_dir" && as_dir=.
7415 for ac_exec_ext in '' $ac_executable_extensions; do
7416 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7417 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7418 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7419 break 2
7421 done
7422 done
7423 IFS=$as_save_IFS
7427 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7428 if test -n "$ac_ct_NMEDIT"; then
7429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7430 $as_echo "$ac_ct_NMEDIT" >&6; }
7431 else
7432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7433 $as_echo "no" >&6; }
7436 if test "x$ac_ct_NMEDIT" = x; then
7437 NMEDIT=":"
7438 else
7439 case $cross_compiling:$ac_tool_warned in
7440 yes:)
7441 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7442 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7443 ac_tool_warned=yes ;;
7444 esac
7445 NMEDIT=$ac_ct_NMEDIT
7447 else
7448 NMEDIT="$ac_cv_prog_NMEDIT"
7451 if test -n "$ac_tool_prefix"; then
7452 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7453 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7455 $as_echo_n "checking for $ac_word... " >&6; }
7456 if test "${ac_cv_prog_LIPO+set}" = set; then :
7457 $as_echo_n "(cached) " >&6
7458 else
7459 if test -n "$LIPO"; then
7460 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7461 else
7462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7463 for as_dir in $PATH
7465 IFS=$as_save_IFS
7466 test -z "$as_dir" && as_dir=.
7467 for ac_exec_ext in '' $ac_executable_extensions; do
7468 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7469 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7470 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7471 break 2
7473 done
7474 done
7475 IFS=$as_save_IFS
7479 LIPO=$ac_cv_prog_LIPO
7480 if test -n "$LIPO"; then
7481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7482 $as_echo "$LIPO" >&6; }
7483 else
7484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7485 $as_echo "no" >&6; }
7490 if test -z "$ac_cv_prog_LIPO"; then
7491 ac_ct_LIPO=$LIPO
7492 # Extract the first word of "lipo", so it can be a program name with args.
7493 set dummy lipo; ac_word=$2
7494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7495 $as_echo_n "checking for $ac_word... " >&6; }
7496 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7497 $as_echo_n "(cached) " >&6
7498 else
7499 if test -n "$ac_ct_LIPO"; then
7500 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7501 else
7502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7503 for as_dir in $PATH
7505 IFS=$as_save_IFS
7506 test -z "$as_dir" && as_dir=.
7507 for ac_exec_ext in '' $ac_executable_extensions; do
7508 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7509 ac_cv_prog_ac_ct_LIPO="lipo"
7510 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7511 break 2
7513 done
7514 done
7515 IFS=$as_save_IFS
7519 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7520 if test -n "$ac_ct_LIPO"; then
7521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7522 $as_echo "$ac_ct_LIPO" >&6; }
7523 else
7524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7525 $as_echo "no" >&6; }
7528 if test "x$ac_ct_LIPO" = x; then
7529 LIPO=":"
7530 else
7531 case $cross_compiling:$ac_tool_warned in
7532 yes:)
7533 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7534 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7535 ac_tool_warned=yes ;;
7536 esac
7537 LIPO=$ac_ct_LIPO
7539 else
7540 LIPO="$ac_cv_prog_LIPO"
7543 if test -n "$ac_tool_prefix"; then
7544 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7545 set dummy ${ac_tool_prefix}otool; ac_word=$2
7546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7547 $as_echo_n "checking for $ac_word... " >&6; }
7548 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7549 $as_echo_n "(cached) " >&6
7550 else
7551 if test -n "$OTOOL"; then
7552 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7553 else
7554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7555 for as_dir in $PATH
7557 IFS=$as_save_IFS
7558 test -z "$as_dir" && as_dir=.
7559 for ac_exec_ext in '' $ac_executable_extensions; do
7560 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7561 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7562 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7563 break 2
7565 done
7566 done
7567 IFS=$as_save_IFS
7571 OTOOL=$ac_cv_prog_OTOOL
7572 if test -n "$OTOOL"; then
7573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7574 $as_echo "$OTOOL" >&6; }
7575 else
7576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7577 $as_echo "no" >&6; }
7582 if test -z "$ac_cv_prog_OTOOL"; then
7583 ac_ct_OTOOL=$OTOOL
7584 # Extract the first word of "otool", so it can be a program name with args.
7585 set dummy otool; ac_word=$2
7586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7587 $as_echo_n "checking for $ac_word... " >&6; }
7588 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7589 $as_echo_n "(cached) " >&6
7590 else
7591 if test -n "$ac_ct_OTOOL"; then
7592 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7593 else
7594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7595 for as_dir in $PATH
7597 IFS=$as_save_IFS
7598 test -z "$as_dir" && as_dir=.
7599 for ac_exec_ext in '' $ac_executable_extensions; do
7600 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7601 ac_cv_prog_ac_ct_OTOOL="otool"
7602 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7603 break 2
7605 done
7606 done
7607 IFS=$as_save_IFS
7611 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7612 if test -n "$ac_ct_OTOOL"; then
7613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7614 $as_echo "$ac_ct_OTOOL" >&6; }
7615 else
7616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7617 $as_echo "no" >&6; }
7620 if test "x$ac_ct_OTOOL" = x; then
7621 OTOOL=":"
7622 else
7623 case $cross_compiling:$ac_tool_warned in
7624 yes:)
7625 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7626 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7627 ac_tool_warned=yes ;;
7628 esac
7629 OTOOL=$ac_ct_OTOOL
7631 else
7632 OTOOL="$ac_cv_prog_OTOOL"
7635 if test -n "$ac_tool_prefix"; then
7636 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7637 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7639 $as_echo_n "checking for $ac_word... " >&6; }
7640 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7641 $as_echo_n "(cached) " >&6
7642 else
7643 if test -n "$OTOOL64"; then
7644 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7645 else
7646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7647 for as_dir in $PATH
7649 IFS=$as_save_IFS
7650 test -z "$as_dir" && as_dir=.
7651 for ac_exec_ext in '' $ac_executable_extensions; do
7652 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7653 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7654 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7655 break 2
7657 done
7658 done
7659 IFS=$as_save_IFS
7663 OTOOL64=$ac_cv_prog_OTOOL64
7664 if test -n "$OTOOL64"; then
7665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7666 $as_echo "$OTOOL64" >&6; }
7667 else
7668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7669 $as_echo "no" >&6; }
7674 if test -z "$ac_cv_prog_OTOOL64"; then
7675 ac_ct_OTOOL64=$OTOOL64
7676 # Extract the first word of "otool64", so it can be a program name with args.
7677 set dummy otool64; ac_word=$2
7678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7679 $as_echo_n "checking for $ac_word... " >&6; }
7680 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7681 $as_echo_n "(cached) " >&6
7682 else
7683 if test -n "$ac_ct_OTOOL64"; then
7684 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7685 else
7686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7687 for as_dir in $PATH
7689 IFS=$as_save_IFS
7690 test -z "$as_dir" && as_dir=.
7691 for ac_exec_ext in '' $ac_executable_extensions; do
7692 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7693 ac_cv_prog_ac_ct_OTOOL64="otool64"
7694 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7695 break 2
7697 done
7698 done
7699 IFS=$as_save_IFS
7703 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7704 if test -n "$ac_ct_OTOOL64"; then
7705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7706 $as_echo "$ac_ct_OTOOL64" >&6; }
7707 else
7708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7709 $as_echo "no" >&6; }
7712 if test "x$ac_ct_OTOOL64" = x; then
7713 OTOOL64=":"
7714 else
7715 case $cross_compiling:$ac_tool_warned in
7716 yes:)
7717 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7718 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7719 ac_tool_warned=yes ;;
7720 esac
7721 OTOOL64=$ac_ct_OTOOL64
7723 else
7724 OTOOL64="$ac_cv_prog_OTOOL64"
7753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7754 $as_echo_n "checking for -single_module linker flag... " >&6; }
7755 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7756 $as_echo_n "(cached) " >&6
7757 else
7758 lt_cv_apple_cc_single_mod=no
7759 if test -z "${LT_MULTI_MODULE}"; then
7760 # By default we will add the -single_module flag. You can override
7761 # by either setting the environment variable LT_MULTI_MODULE
7762 # non-empty at configure time, or by adding -multi_module to the
7763 # link flags.
7764 rm -rf libconftest.dylib*
7765 echo "int foo(void){return 1;}" > conftest.c
7766 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7767 -dynamiclib -Wl,-single_module conftest.c" >&5
7768 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7769 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7770 _lt_result=$?
7771 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7772 lt_cv_apple_cc_single_mod=yes
7773 else
7774 cat conftest.err >&5
7776 rm -rf libconftest.dylib*
7777 rm -f conftest.*
7780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7781 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7783 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7784 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7785 $as_echo_n "(cached) " >&6
7786 else
7787 lt_cv_ld_exported_symbols_list=no
7788 save_LDFLAGS=$LDFLAGS
7789 echo "_main" > conftest.sym
7790 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7791 if test x$gcc_no_link = xyes; then
7792 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7795 /* end confdefs.h. */
7798 main ()
7802 return 0;
7804 _ACEOF
7805 if ac_fn_c_try_link "$LINENO"; then :
7806 lt_cv_ld_exported_symbols_list=yes
7807 else
7808 lt_cv_ld_exported_symbols_list=no
7810 rm -f core conftest.err conftest.$ac_objext \
7811 conftest$ac_exeext conftest.$ac_ext
7812 LDFLAGS="$save_LDFLAGS"
7815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7816 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7818 $as_echo_n "checking for -force_load linker flag... " >&6; }
7819 if test "${lt_cv_ld_force_load+set}" = set; then :
7820 $as_echo_n "(cached) " >&6
7821 else
7822 lt_cv_ld_force_load=no
7823 cat > conftest.c << _LT_EOF
7824 int forced_loaded() { return 2;}
7825 _LT_EOF
7826 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7827 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7828 echo "$AR cru libconftest.a conftest.o" >&5
7829 $AR cru libconftest.a conftest.o 2>&5
7830 cat > conftest.c << _LT_EOF
7831 int main() { return 0;}
7832 _LT_EOF
7833 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7834 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7835 _lt_result=$?
7836 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7837 lt_cv_ld_force_load=yes
7838 else
7839 cat conftest.err >&5
7841 rm -f conftest.err libconftest.a conftest conftest.c
7842 rm -rf conftest.dSYM
7845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7846 $as_echo "$lt_cv_ld_force_load" >&6; }
7847 case $host_os in
7848 rhapsody* | darwin1.[012])
7849 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7850 darwin1.*)
7851 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7852 darwin*) # darwin 5.x on
7853 # if running on 10.5 or later, the deployment target defaults
7854 # to the OS version, if on x86, and 10.4, the deployment
7855 # target defaults to 10.4. Don't you love it?
7856 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7857 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7858 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7859 10.[012]*)
7860 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7861 10.*)
7862 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7863 esac
7865 esac
7866 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7867 _lt_dar_single_mod='$single_module'
7869 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7870 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7871 else
7872 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7874 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7875 _lt_dsymutil='~$DSYMUTIL $lib || :'
7876 else
7877 _lt_dsymutil=
7880 esac
7882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7883 $as_echo_n "checking for ANSI C header files... " >&6; }
7884 if test "${ac_cv_header_stdc+set}" = set; then :
7885 $as_echo_n "(cached) " >&6
7886 else
7887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7888 /* end confdefs.h. */
7889 #include <stdlib.h>
7890 #include <stdarg.h>
7891 #include <string.h>
7892 #include <float.h>
7895 main ()
7899 return 0;
7901 _ACEOF
7902 if ac_fn_c_try_compile "$LINENO"; then :
7903 ac_cv_header_stdc=yes
7904 else
7905 ac_cv_header_stdc=no
7907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7909 if test $ac_cv_header_stdc = yes; then
7910 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7912 /* end confdefs.h. */
7913 #include <string.h>
7915 _ACEOF
7916 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7917 $EGREP "memchr" >/dev/null 2>&1; then :
7919 else
7920 ac_cv_header_stdc=no
7922 rm -f conftest*
7926 if test $ac_cv_header_stdc = yes; then
7927 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7929 /* end confdefs.h. */
7930 #include <stdlib.h>
7932 _ACEOF
7933 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7934 $EGREP "free" >/dev/null 2>&1; then :
7936 else
7937 ac_cv_header_stdc=no
7939 rm -f conftest*
7943 if test $ac_cv_header_stdc = yes; then
7944 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7945 if test "$cross_compiling" = yes; then :
7947 else
7948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7949 /* end confdefs.h. */
7950 #include <ctype.h>
7951 #include <stdlib.h>
7952 #if ((' ' & 0x0FF) == 0x020)
7953 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7954 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7955 #else
7956 # define ISLOWER(c) \
7957 (('a' <= (c) && (c) <= 'i') \
7958 || ('j' <= (c) && (c) <= 'r') \
7959 || ('s' <= (c) && (c) <= 'z'))
7960 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7961 #endif
7963 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7965 main ()
7967 int i;
7968 for (i = 0; i < 256; i++)
7969 if (XOR (islower (i), ISLOWER (i))
7970 || toupper (i) != TOUPPER (i))
7971 return 2;
7972 return 0;
7974 _ACEOF
7975 if ac_fn_c_try_run "$LINENO"; then :
7977 else
7978 ac_cv_header_stdc=no
7980 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7981 conftest.$ac_objext conftest.beam conftest.$ac_ext
7986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7987 $as_echo "$ac_cv_header_stdc" >&6; }
7988 if test $ac_cv_header_stdc = yes; then
7990 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7994 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7995 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7996 inttypes.h stdint.h unistd.h
7997 do :
7998 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7999 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8001 eval as_val=\$$as_ac_Header
8002 if test "x$as_val" = x""yes; then :
8003 cat >>confdefs.h <<_ACEOF
8004 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8005 _ACEOF
8009 done
8012 for ac_header in dlfcn.h
8013 do :
8014 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8016 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8017 cat >>confdefs.h <<_ACEOF
8018 #define HAVE_DLFCN_H 1
8019 _ACEOF
8023 done
8030 # Set options
8035 enable_win32_dll=no
8038 # Check whether --enable-shared was given.
8039 if test "${enable_shared+set}" = set; then :
8040 enableval=$enable_shared; p=${PACKAGE-default}
8041 case $enableval in
8042 yes) enable_shared=yes ;;
8043 no) enable_shared=no ;;
8045 enable_shared=no
8046 # Look at the argument we got. We use all the common list separators.
8047 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8048 for pkg in $enableval; do
8049 IFS="$lt_save_ifs"
8050 if test "X$pkg" = "X$p"; then
8051 enable_shared=yes
8053 done
8054 IFS="$lt_save_ifs"
8056 esac
8057 else
8058 enable_shared=yes
8069 # Check whether --enable-static was given.
8070 if test "${enable_static+set}" = set; then :
8071 enableval=$enable_static; p=${PACKAGE-default}
8072 case $enableval in
8073 yes) enable_static=yes ;;
8074 no) enable_static=no ;;
8076 enable_static=no
8077 # Look at the argument we got. We use all the common list separators.
8078 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8079 for pkg in $enableval; do
8080 IFS="$lt_save_ifs"
8081 if test "X$pkg" = "X$p"; then
8082 enable_static=yes
8084 done
8085 IFS="$lt_save_ifs"
8087 esac
8088 else
8089 enable_static=yes
8101 # Check whether --with-pic was given.
8102 if test "${with_pic+set}" = set; then :
8103 withval=$with_pic; pic_mode="$withval"
8104 else
8105 pic_mode=default
8109 test -z "$pic_mode" && pic_mode=default
8117 # Check whether --enable-fast-install was given.
8118 if test "${enable_fast_install+set}" = set; then :
8119 enableval=$enable_fast_install; p=${PACKAGE-default}
8120 case $enableval in
8121 yes) enable_fast_install=yes ;;
8122 no) enable_fast_install=no ;;
8124 enable_fast_install=no
8125 # Look at the argument we got. We use all the common list separators.
8126 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8127 for pkg in $enableval; do
8128 IFS="$lt_save_ifs"
8129 if test "X$pkg" = "X$p"; then
8130 enable_fast_install=yes
8132 done
8133 IFS="$lt_save_ifs"
8135 esac
8136 else
8137 enable_fast_install=yes
8150 # This can be used to rebuild libtool when needed
8151 LIBTOOL_DEPS="$ltmain"
8153 # Always use our own libtool.
8154 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8181 test -z "$LN_S" && LN_S="ln -s"
8196 if test -n "${ZSH_VERSION+set}" ; then
8197 setopt NO_GLOB_SUBST
8200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8201 $as_echo_n "checking for objdir... " >&6; }
8202 if test "${lt_cv_objdir+set}" = set; then :
8203 $as_echo_n "(cached) " >&6
8204 else
8205 rm -f .libs 2>/dev/null
8206 mkdir .libs 2>/dev/null
8207 if test -d .libs; then
8208 lt_cv_objdir=.libs
8209 else
8210 # MS-DOS does not allow filenames that begin with a dot.
8211 lt_cv_objdir=_libs
8213 rmdir .libs 2>/dev/null
8215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8216 $as_echo "$lt_cv_objdir" >&6; }
8217 objdir=$lt_cv_objdir
8223 cat >>confdefs.h <<_ACEOF
8224 #define LT_OBJDIR "$lt_cv_objdir/"
8225 _ACEOF
8230 case $host_os in
8231 aix3*)
8232 # AIX sometimes has problems with the GCC collect2 program. For some
8233 # reason, if we set the COLLECT_NAMES environment variable, the problems
8234 # vanish in a puff of smoke.
8235 if test "X${COLLECT_NAMES+set}" != Xset; then
8236 COLLECT_NAMES=
8237 export COLLECT_NAMES
8240 esac
8242 # Global variables:
8243 ofile=libtool
8244 can_build_shared=yes
8246 # All known linkers require a `.a' archive for static linking (except MSVC,
8247 # which needs '.lib').
8248 libext=a
8250 with_gnu_ld="$lt_cv_prog_gnu_ld"
8252 old_CC="$CC"
8253 old_CFLAGS="$CFLAGS"
8255 # Set sane defaults for various variables
8256 test -z "$CC" && CC=cc
8257 test -z "$LTCC" && LTCC=$CC
8258 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8259 test -z "$LD" && LD=ld
8260 test -z "$ac_objext" && ac_objext=o
8262 for cc_temp in $compiler""; do
8263 case $cc_temp in
8264 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8265 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8266 \-*) ;;
8267 *) break;;
8268 esac
8269 done
8270 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8273 # Only perform the check for file, if the check method requires it
8274 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8275 case $deplibs_check_method in
8276 file_magic*)
8277 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8279 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8280 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8281 $as_echo_n "(cached) " >&6
8282 else
8283 case $MAGIC_CMD in
8284 [\\/*] | ?:[\\/]*)
8285 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8288 lt_save_MAGIC_CMD="$MAGIC_CMD"
8289 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8290 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8291 for ac_dir in $ac_dummy; do
8292 IFS="$lt_save_ifs"
8293 test -z "$ac_dir" && ac_dir=.
8294 if test -f $ac_dir/${ac_tool_prefix}file; then
8295 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8296 if test -n "$file_magic_test_file"; then
8297 case $deplibs_check_method in
8298 "file_magic "*)
8299 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8300 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8301 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8302 $EGREP "$file_magic_regex" > /dev/null; then
8304 else
8305 cat <<_LT_EOF 1>&2
8307 *** Warning: the command libtool uses to detect shared libraries,
8308 *** $file_magic_cmd, produces output that libtool cannot recognize.
8309 *** The result is that libtool may fail to recognize shared libraries
8310 *** as such. This will affect the creation of libtool libraries that
8311 *** depend on shared libraries, but programs linked with such libtool
8312 *** libraries will work regardless of this problem. Nevertheless, you
8313 *** may want to report the problem to your system manager and/or to
8314 *** bug-libtool@gnu.org
8316 _LT_EOF
8317 fi ;;
8318 esac
8320 break
8322 done
8323 IFS="$lt_save_ifs"
8324 MAGIC_CMD="$lt_save_MAGIC_CMD"
8326 esac
8329 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8330 if test -n "$MAGIC_CMD"; then
8331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8332 $as_echo "$MAGIC_CMD" >&6; }
8333 else
8334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8335 $as_echo "no" >&6; }
8342 if test -z "$lt_cv_path_MAGIC_CMD"; then
8343 if test -n "$ac_tool_prefix"; then
8344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8345 $as_echo_n "checking for file... " >&6; }
8346 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8347 $as_echo_n "(cached) " >&6
8348 else
8349 case $MAGIC_CMD in
8350 [\\/*] | ?:[\\/]*)
8351 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8354 lt_save_MAGIC_CMD="$MAGIC_CMD"
8355 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8356 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8357 for ac_dir in $ac_dummy; do
8358 IFS="$lt_save_ifs"
8359 test -z "$ac_dir" && ac_dir=.
8360 if test -f $ac_dir/file; then
8361 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8362 if test -n "$file_magic_test_file"; then
8363 case $deplibs_check_method in
8364 "file_magic "*)
8365 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8366 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8367 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8368 $EGREP "$file_magic_regex" > /dev/null; then
8370 else
8371 cat <<_LT_EOF 1>&2
8373 *** Warning: the command libtool uses to detect shared libraries,
8374 *** $file_magic_cmd, produces output that libtool cannot recognize.
8375 *** The result is that libtool may fail to recognize shared libraries
8376 *** as such. This will affect the creation of libtool libraries that
8377 *** depend on shared libraries, but programs linked with such libtool
8378 *** libraries will work regardless of this problem. Nevertheless, you
8379 *** may want to report the problem to your system manager and/or to
8380 *** bug-libtool@gnu.org
8382 _LT_EOF
8383 fi ;;
8384 esac
8386 break
8388 done
8389 IFS="$lt_save_ifs"
8390 MAGIC_CMD="$lt_save_MAGIC_CMD"
8392 esac
8395 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8396 if test -n "$MAGIC_CMD"; then
8397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8398 $as_echo "$MAGIC_CMD" >&6; }
8399 else
8400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8401 $as_echo "no" >&6; }
8405 else
8406 MAGIC_CMD=:
8412 esac
8414 # Use C for the default configuration in the libtool script
8416 lt_save_CC="$CC"
8417 ac_ext=c
8418 ac_cpp='$CPP $CPPFLAGS'
8419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8424 # Source file extension for C test sources.
8425 ac_ext=c
8427 # Object file extension for compiled C test sources.
8428 objext=o
8429 objext=$objext
8431 # Code to be used in simple compile tests
8432 lt_simple_compile_test_code="int some_variable = 0;"
8434 # Code to be used in simple link tests
8435 lt_simple_link_test_code='int main(){return(0);}'
8443 # If no C compiler was specified, use CC.
8444 LTCC=${LTCC-"$CC"}
8446 # If no C compiler flags were specified, use CFLAGS.
8447 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8449 # Allow CC to be a program name with arguments.
8450 compiler=$CC
8452 # Save the default compiler, since it gets overwritten when the other
8453 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8454 compiler_DEFAULT=$CC
8456 # save warnings/boilerplate of simple test code
8457 ac_outfile=conftest.$ac_objext
8458 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8459 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8460 _lt_compiler_boilerplate=`cat conftest.err`
8461 $RM conftest*
8463 ac_outfile=conftest.$ac_objext
8464 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8465 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8466 _lt_linker_boilerplate=`cat conftest.err`
8467 $RM -r conftest*
8470 ## CAVEAT EMPTOR:
8471 ## There is no encapsulation within the following macros, do not change
8472 ## the running order or otherwise move them around unless you know exactly
8473 ## what you are doing...
8474 if test -n "$compiler"; then
8476 lt_prog_compiler_no_builtin_flag=
8478 if test "$GCC" = yes; then
8479 case $cc_basename in
8480 nvcc*)
8481 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8483 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8484 esac
8486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8487 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8488 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8489 $as_echo_n "(cached) " >&6
8490 else
8491 lt_cv_prog_compiler_rtti_exceptions=no
8492 ac_outfile=conftest.$ac_objext
8493 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8494 lt_compiler_flag="-fno-rtti -fno-exceptions"
8495 # Insert the option either (1) after the last *FLAGS variable, or
8496 # (2) before a word containing "conftest.", or (3) at the end.
8497 # Note that $ac_compile itself does not contain backslashes and begins
8498 # with a dollar sign (not a hyphen), so the echo should work correctly.
8499 # The option is referenced via a variable to avoid confusing sed.
8500 lt_compile=`echo "$ac_compile" | $SED \
8501 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8502 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8503 -e 's:$: $lt_compiler_flag:'`
8504 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8505 (eval "$lt_compile" 2>conftest.err)
8506 ac_status=$?
8507 cat conftest.err >&5
8508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8509 if (exit $ac_status) && test -s "$ac_outfile"; then
8510 # The compiler can only warn and ignore the option if not recognized
8511 # So say no if there are warnings other than the usual output.
8512 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8513 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8514 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8515 lt_cv_prog_compiler_rtti_exceptions=yes
8518 $RM conftest*
8521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8522 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8524 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8525 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8526 else
8537 lt_prog_compiler_wl=
8538 lt_prog_compiler_pic=
8539 lt_prog_compiler_static=
8541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8542 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8544 if test "$GCC" = yes; then
8545 lt_prog_compiler_wl='-Wl,'
8546 lt_prog_compiler_static='-static'
8548 case $host_os in
8549 aix*)
8550 # All AIX code is PIC.
8551 if test "$host_cpu" = ia64; then
8552 # AIX 5 now supports IA64 processor
8553 lt_prog_compiler_static='-Bstatic'
8555 lt_prog_compiler_pic='-fPIC'
8558 amigaos*)
8559 case $host_cpu in
8560 powerpc)
8561 # see comment about AmigaOS4 .so support
8562 lt_prog_compiler_pic='-fPIC'
8564 m68k)
8565 # FIXME: we need at least 68020 code to build shared libraries, but
8566 # adding the `-m68020' flag to GCC prevents building anything better,
8567 # like `-m68040'.
8568 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8570 esac
8573 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8574 # PIC is the default for these OSes.
8577 mingw* | cygwin* | pw32* | os2* | cegcc*)
8578 # This hack is so that the source file can tell whether it is being
8579 # built for inclusion in a dll (and should export symbols for example).
8580 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8581 # (--disable-auto-import) libraries
8582 lt_prog_compiler_pic='-DDLL_EXPORT'
8585 darwin* | rhapsody*)
8586 # PIC is the default on this platform
8587 # Common symbols not allowed in MH_DYLIB files
8588 lt_prog_compiler_pic='-fno-common'
8591 haiku*)
8592 # PIC is the default for Haiku.
8593 # The "-static" flag exists, but is broken.
8594 lt_prog_compiler_static=
8597 hpux*)
8598 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8599 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8600 # sets the default TLS model and affects inlining.
8601 case $host_cpu in
8602 hppa*64*)
8603 # +Z the default
8606 lt_prog_compiler_pic='-fPIC'
8608 esac
8611 interix[3-9]*)
8612 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8613 # Instead, we relocate shared libraries at runtime.
8616 msdosdjgpp*)
8617 # Just because we use GCC doesn't mean we suddenly get shared libraries
8618 # on systems that don't support them.
8619 lt_prog_compiler_can_build_shared=no
8620 enable_shared=no
8623 *nto* | *qnx*)
8624 # QNX uses GNU C++, but need to define -shared option too, otherwise
8625 # it will coredump.
8626 lt_prog_compiler_pic='-fPIC -shared'
8629 sysv4*MP*)
8630 if test -d /usr/nec; then
8631 lt_prog_compiler_pic=-Kconform_pic
8636 lt_prog_compiler_pic='-fPIC'
8638 esac
8640 case $cc_basename in
8641 nvcc*) # Cuda Compiler Driver 2.2
8642 lt_prog_compiler_wl='-Xlinker '
8643 lt_prog_compiler_pic='-Xcompiler -fPIC'
8645 esac
8646 else
8647 # PORTME Check for flag to pass linker flags through the system compiler.
8648 case $host_os in
8649 aix*)
8650 lt_prog_compiler_wl='-Wl,'
8651 if test "$host_cpu" = ia64; then
8652 # AIX 5 now supports IA64 processor
8653 lt_prog_compiler_static='-Bstatic'
8654 else
8655 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8659 mingw* | cygwin* | pw32* | os2* | cegcc*)
8660 # This hack is so that the source file can tell whether it is being
8661 # built for inclusion in a dll (and should export symbols for example).
8662 lt_prog_compiler_pic='-DDLL_EXPORT'
8665 hpux9* | hpux10* | hpux11*)
8666 lt_prog_compiler_wl='-Wl,'
8667 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8668 # not for PA HP-UX.
8669 case $host_cpu in
8670 hppa*64*|ia64*)
8671 # +Z the default
8674 lt_prog_compiler_pic='+Z'
8676 esac
8677 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8678 lt_prog_compiler_static='${wl}-a ${wl}archive'
8681 irix5* | irix6* | nonstopux*)
8682 lt_prog_compiler_wl='-Wl,'
8683 # PIC (with -KPIC) is the default.
8684 lt_prog_compiler_static='-non_shared'
8687 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8688 case $cc_basename in
8689 # old Intel for x86_64 which still supported -KPIC.
8690 ecc*)
8691 lt_prog_compiler_wl='-Wl,'
8692 lt_prog_compiler_pic='-KPIC'
8693 lt_prog_compiler_static='-static'
8695 # icc used to be incompatible with GCC.
8696 # ICC 10 doesn't accept -KPIC any more.
8697 icc* | ifort*)
8698 lt_prog_compiler_wl='-Wl,'
8699 lt_prog_compiler_pic='-fPIC'
8700 lt_prog_compiler_static='-static'
8702 # Lahey Fortran 8.1.
8703 lf95*)
8704 lt_prog_compiler_wl='-Wl,'
8705 lt_prog_compiler_pic='--shared'
8706 lt_prog_compiler_static='--static'
8708 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8709 # Portland Group compilers (*not* the Pentium gcc compiler,
8710 # which looks to be a dead project)
8711 lt_prog_compiler_wl='-Wl,'
8712 lt_prog_compiler_pic='-fpic'
8713 lt_prog_compiler_static='-Bstatic'
8715 ccc*)
8716 lt_prog_compiler_wl='-Wl,'
8717 # All Alpha code is PIC.
8718 lt_prog_compiler_static='-non_shared'
8720 xl* | bgxl* | bgf* | mpixl*)
8721 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8722 lt_prog_compiler_wl='-Wl,'
8723 lt_prog_compiler_pic='-qpic'
8724 lt_prog_compiler_static='-qstaticlink'
8727 case `$CC -V 2>&1 | sed 5q` in
8728 *Sun\ F* | *Sun*Fortran*)
8729 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8730 lt_prog_compiler_pic='-KPIC'
8731 lt_prog_compiler_static='-Bstatic'
8732 lt_prog_compiler_wl=''
8734 *Sun\ C*)
8735 # Sun C 5.9
8736 lt_prog_compiler_pic='-KPIC'
8737 lt_prog_compiler_static='-Bstatic'
8738 lt_prog_compiler_wl='-Wl,'
8740 esac
8742 esac
8745 newsos6)
8746 lt_prog_compiler_pic='-KPIC'
8747 lt_prog_compiler_static='-Bstatic'
8750 *nto* | *qnx*)
8751 # QNX uses GNU C++, but need to define -shared option too, otherwise
8752 # it will coredump.
8753 lt_prog_compiler_pic='-fPIC -shared'
8756 osf3* | osf4* | osf5*)
8757 lt_prog_compiler_wl='-Wl,'
8758 # All OSF/1 code is PIC.
8759 lt_prog_compiler_static='-non_shared'
8762 rdos*)
8763 lt_prog_compiler_static='-non_shared'
8766 solaris*)
8767 lt_prog_compiler_pic='-KPIC'
8768 lt_prog_compiler_static='-Bstatic'
8769 case $cc_basename in
8770 f77* | f90* | f95*)
8771 lt_prog_compiler_wl='-Qoption ld ';;
8773 lt_prog_compiler_wl='-Wl,';;
8774 esac
8777 sunos4*)
8778 lt_prog_compiler_wl='-Qoption ld '
8779 lt_prog_compiler_pic='-PIC'
8780 lt_prog_compiler_static='-Bstatic'
8783 sysv4 | sysv4.2uw2* | sysv4.3*)
8784 lt_prog_compiler_wl='-Wl,'
8785 lt_prog_compiler_pic='-KPIC'
8786 lt_prog_compiler_static='-Bstatic'
8789 sysv4*MP*)
8790 if test -d /usr/nec ;then
8791 lt_prog_compiler_pic='-Kconform_pic'
8792 lt_prog_compiler_static='-Bstatic'
8796 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8797 lt_prog_compiler_wl='-Wl,'
8798 lt_prog_compiler_pic='-KPIC'
8799 lt_prog_compiler_static='-Bstatic'
8802 unicos*)
8803 lt_prog_compiler_wl='-Wl,'
8804 lt_prog_compiler_can_build_shared=no
8807 uts4*)
8808 lt_prog_compiler_pic='-pic'
8809 lt_prog_compiler_static='-Bstatic'
8813 lt_prog_compiler_can_build_shared=no
8815 esac
8818 case $host_os in
8819 # For platforms which do not support PIC, -DPIC is meaningless:
8820 *djgpp*)
8821 lt_prog_compiler_pic=
8824 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8826 esac
8827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8828 $as_echo "$lt_prog_compiler_pic" >&6; }
8836 # Check to make sure the PIC flag actually works.
8838 if test -n "$lt_prog_compiler_pic"; then
8839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8840 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8841 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8842 $as_echo_n "(cached) " >&6
8843 else
8844 lt_cv_prog_compiler_pic_works=no
8845 ac_outfile=conftest.$ac_objext
8846 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8847 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8848 # Insert the option either (1) after the last *FLAGS variable, or
8849 # (2) before a word containing "conftest.", or (3) at the end.
8850 # Note that $ac_compile itself does not contain backslashes and begins
8851 # with a dollar sign (not a hyphen), so the echo should work correctly.
8852 # The option is referenced via a variable to avoid confusing sed.
8853 lt_compile=`echo "$ac_compile" | $SED \
8854 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8855 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8856 -e 's:$: $lt_compiler_flag:'`
8857 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8858 (eval "$lt_compile" 2>conftest.err)
8859 ac_status=$?
8860 cat conftest.err >&5
8861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8862 if (exit $ac_status) && test -s "$ac_outfile"; then
8863 # The compiler can only warn and ignore the option if not recognized
8864 # So say no if there are warnings other than the usual output.
8865 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8866 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8867 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8868 lt_cv_prog_compiler_pic_works=yes
8871 $RM conftest*
8874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8875 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8877 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8878 case $lt_prog_compiler_pic in
8879 "" | " "*) ;;
8880 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8881 esac
8882 else
8883 lt_prog_compiler_pic=
8884 lt_prog_compiler_can_build_shared=no
8895 # Check to make sure the static flag actually works.
8897 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8899 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8900 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8901 $as_echo_n "(cached) " >&6
8902 else
8903 lt_cv_prog_compiler_static_works=no
8904 save_LDFLAGS="$LDFLAGS"
8905 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8906 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8907 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8908 # The linker can only warn and ignore the option if not recognized
8909 # So say no if there are warnings
8910 if test -s conftest.err; then
8911 # Append any errors to the config.log.
8912 cat conftest.err 1>&5
8913 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8914 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8915 if diff conftest.exp conftest.er2 >/dev/null; then
8916 lt_cv_prog_compiler_static_works=yes
8918 else
8919 lt_cv_prog_compiler_static_works=yes
8922 $RM -r conftest*
8923 LDFLAGS="$save_LDFLAGS"
8926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8927 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8929 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8931 else
8932 lt_prog_compiler_static=
8941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8942 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8943 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8944 $as_echo_n "(cached) " >&6
8945 else
8946 lt_cv_prog_compiler_c_o=no
8947 $RM -r conftest 2>/dev/null
8948 mkdir conftest
8949 cd conftest
8950 mkdir out
8951 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8953 lt_compiler_flag="-o out/conftest2.$ac_objext"
8954 # Insert the option either (1) after the last *FLAGS variable, or
8955 # (2) before a word containing "conftest.", or (3) at the end.
8956 # Note that $ac_compile itself does not contain backslashes and begins
8957 # with a dollar sign (not a hyphen), so the echo should work correctly.
8958 lt_compile=`echo "$ac_compile" | $SED \
8959 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8960 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8961 -e 's:$: $lt_compiler_flag:'`
8962 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8963 (eval "$lt_compile" 2>out/conftest.err)
8964 ac_status=$?
8965 cat out/conftest.err >&5
8966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8967 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8968 then
8969 # The compiler can only warn and ignore the option if not recognized
8970 # So say no if there are warnings
8971 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8972 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8973 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8974 lt_cv_prog_compiler_c_o=yes
8977 chmod u+w . 2>&5
8978 $RM conftest*
8979 # SGI C++ compiler will create directory out/ii_files/ for
8980 # template instantiation
8981 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8982 $RM out/* && rmdir out
8983 cd ..
8984 $RM -r conftest
8985 $RM conftest*
8988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8989 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8997 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8998 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8999 $as_echo_n "(cached) " >&6
9000 else
9001 lt_cv_prog_compiler_c_o=no
9002 $RM -r conftest 2>/dev/null
9003 mkdir conftest
9004 cd conftest
9005 mkdir out
9006 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9008 lt_compiler_flag="-o out/conftest2.$ac_objext"
9009 # Insert the option either (1) after the last *FLAGS variable, or
9010 # (2) before a word containing "conftest.", or (3) at the end.
9011 # Note that $ac_compile itself does not contain backslashes and begins
9012 # with a dollar sign (not a hyphen), so the echo should work correctly.
9013 lt_compile=`echo "$ac_compile" | $SED \
9014 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9015 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9016 -e 's:$: $lt_compiler_flag:'`
9017 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9018 (eval "$lt_compile" 2>out/conftest.err)
9019 ac_status=$?
9020 cat out/conftest.err >&5
9021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9022 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9023 then
9024 # The compiler can only warn and ignore the option if not recognized
9025 # So say no if there are warnings
9026 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9027 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9028 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9029 lt_cv_prog_compiler_c_o=yes
9032 chmod u+w . 2>&5
9033 $RM conftest*
9034 # SGI C++ compiler will create directory out/ii_files/ for
9035 # template instantiation
9036 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9037 $RM out/* && rmdir out
9038 cd ..
9039 $RM -r conftest
9040 $RM conftest*
9043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9044 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9049 hard_links="nottested"
9050 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9051 # do not overwrite the value of need_locks provided by the user
9052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9053 $as_echo_n "checking if we can lock with hard links... " >&6; }
9054 hard_links=yes
9055 $RM conftest*
9056 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9057 touch conftest.a
9058 ln conftest.a conftest.b 2>&5 || hard_links=no
9059 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9061 $as_echo "$hard_links" >&6; }
9062 if test "$hard_links" = no; then
9063 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9064 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9065 need_locks=warn
9067 else
9068 need_locks=no
9076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9077 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9079 runpath_var=
9080 allow_undefined_flag=
9081 always_export_symbols=no
9082 archive_cmds=
9083 archive_expsym_cmds=
9084 compiler_needs_object=no
9085 enable_shared_with_static_runtimes=no
9086 export_dynamic_flag_spec=
9087 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9088 hardcode_automatic=no
9089 hardcode_direct=no
9090 hardcode_direct_absolute=no
9091 hardcode_libdir_flag_spec=
9092 hardcode_libdir_flag_spec_ld=
9093 hardcode_libdir_separator=
9094 hardcode_minus_L=no
9095 hardcode_shlibpath_var=unsupported
9096 inherit_rpath=no
9097 link_all_deplibs=unknown
9098 module_cmds=
9099 module_expsym_cmds=
9100 old_archive_from_new_cmds=
9101 old_archive_from_expsyms_cmds=
9102 thread_safe_flag_spec=
9103 whole_archive_flag_spec=
9104 # include_expsyms should be a list of space-separated symbols to be *always*
9105 # included in the symbol list
9106 include_expsyms=
9107 # exclude_expsyms can be an extended regexp of symbols to exclude
9108 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9109 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9110 # as well as any symbol that contains `d'.
9111 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9112 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9113 # platforms (ab)use it in PIC code, but their linkers get confused if
9114 # the symbol is explicitly referenced. Since portable code cannot
9115 # rely on this symbol name, it's probably fine to never include it in
9116 # preloaded symbol tables.
9117 # Exclude shared library initialization/finalization symbols.
9118 extract_expsyms_cmds=
9120 case $host_os in
9121 cygwin* | mingw* | pw32* | cegcc*)
9122 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9123 # When not using gcc, we currently assume that we are using
9124 # Microsoft Visual C++.
9125 if test "$GCC" != yes; then
9126 with_gnu_ld=no
9129 interix*)
9130 # we just hope/assume this is gcc and not c89 (= MSVC++)
9131 with_gnu_ld=yes
9133 openbsd*)
9134 with_gnu_ld=no
9136 esac
9138 ld_shlibs=yes
9140 # On some targets, GNU ld is compatible enough with the native linker
9141 # that we're better off using the native interface for both.
9142 lt_use_gnu_ld_interface=no
9143 if test "$with_gnu_ld" = yes; then
9144 case $host_os in
9145 aix*)
9146 # The AIX port of GNU ld has always aspired to compatibility
9147 # with the native linker. However, as the warning in the GNU ld
9148 # block says, versions before 2.19.5* couldn't really create working
9149 # shared libraries, regardless of the interface used.
9150 case `$LD -v 2>&1` in
9151 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9152 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9153 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9155 lt_use_gnu_ld_interface=yes
9157 esac
9160 lt_use_gnu_ld_interface=yes
9162 esac
9165 if test "$lt_use_gnu_ld_interface" = yes; then
9166 # If archive_cmds runs LD, not CC, wlarc should be empty
9167 wlarc='${wl}'
9169 # Set some defaults for GNU ld with shared library support. These
9170 # are reset later if shared libraries are not supported. Putting them
9171 # here allows them to be overridden if necessary.
9172 runpath_var=LD_RUN_PATH
9173 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9174 export_dynamic_flag_spec='${wl}--export-dynamic'
9175 # ancient GNU ld didn't support --whole-archive et. al.
9176 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9177 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9178 else
9179 whole_archive_flag_spec=
9181 supports_anon_versioning=no
9182 case `$LD -v 2>&1` in
9183 *GNU\ gold*) supports_anon_versioning=yes ;;
9184 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9185 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9186 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9187 *\ 2.11.*) ;; # other 2.11 versions
9188 *) supports_anon_versioning=yes ;;
9189 esac
9191 # See if GNU ld supports shared libraries.
9192 case $host_os in
9193 aix[3-9]*)
9194 # On AIX/PPC, the GNU linker is very broken
9195 if test "$host_cpu" != ia64; then
9196 ld_shlibs=no
9197 cat <<_LT_EOF 1>&2
9199 *** Warning: the GNU linker, at least up to release 2.19, is reported
9200 *** to be unable to reliably create shared libraries on AIX.
9201 *** Therefore, libtool is disabling shared libraries support. If you
9202 *** really care for shared libraries, you may want to install binutils
9203 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9204 *** You will then need to restart the configuration process.
9206 _LT_EOF
9210 amigaos*)
9211 case $host_cpu in
9212 powerpc)
9213 # see comment about AmigaOS4 .so support
9214 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9215 archive_expsym_cmds=''
9217 m68k)
9218 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)'
9219 hardcode_libdir_flag_spec='-L$libdir'
9220 hardcode_minus_L=yes
9222 esac
9225 beos*)
9226 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9227 allow_undefined_flag=unsupported
9228 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9229 # support --undefined. This deserves some investigation. FIXME
9230 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9231 else
9232 ld_shlibs=no
9236 cygwin* | mingw* | pw32* | cegcc*)
9237 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9238 # as there is no search path for DLLs.
9239 hardcode_libdir_flag_spec='-L$libdir'
9240 export_dynamic_flag_spec='${wl}--export-all-symbols'
9241 allow_undefined_flag=unsupported
9242 always_export_symbols=no
9243 enable_shared_with_static_runtimes=yes
9244 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9246 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9247 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9248 # If the export-symbols file already is a .def file (1st line
9249 # is EXPORTS), use it as is; otherwise, prepend...
9250 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9251 cp $export_symbols $output_objdir/$soname.def;
9252 else
9253 echo EXPORTS > $output_objdir/$soname.def;
9254 cat $export_symbols >> $output_objdir/$soname.def;
9256 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9257 else
9258 ld_shlibs=no
9262 haiku*)
9263 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9264 link_all_deplibs=yes
9267 interix[3-9]*)
9268 hardcode_direct=no
9269 hardcode_shlibpath_var=no
9270 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9271 export_dynamic_flag_spec='${wl}-E'
9272 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9273 # Instead, shared libraries are loaded at an image base (0x10000000 by
9274 # default) and relocated if they conflict, which is a slow very memory
9275 # consuming and fragmenting process. To avoid this, we pick a random,
9276 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9277 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9278 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9279 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'
9282 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9283 tmp_diet=no
9284 if test "$host_os" = linux-dietlibc; then
9285 case $cc_basename in
9286 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9287 esac
9289 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9290 && test "$tmp_diet" = no
9291 then
9292 tmp_addflag=
9293 tmp_sharedflag='-shared'
9294 case $cc_basename,$host_cpu in
9295 pgcc*) # Portland Group C compiler
9296 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'
9297 tmp_addflag=' $pic_flag'
9299 pgf77* | pgf90* | pgf95* | pgfortran*)
9300 # Portland Group f77 and f90 compilers
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 -Mnomain' ;;
9303 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9304 tmp_addflag=' -i_dynamic' ;;
9305 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9306 tmp_addflag=' -i_dynamic -nofor_main' ;;
9307 ifc* | ifort*) # Intel Fortran compiler
9308 tmp_addflag=' -nofor_main' ;;
9309 lf95*) # Lahey Fortran 8.1
9310 whole_archive_flag_spec=
9311 tmp_sharedflag='--shared' ;;
9312 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9313 tmp_sharedflag='-qmkshrobj'
9314 tmp_addflag= ;;
9315 nvcc*) # Cuda Compiler Driver 2.2
9316 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'
9317 compiler_needs_object=yes
9319 esac
9320 case `$CC -V 2>&1 | sed 5q` in
9321 *Sun\ C*) # Sun C 5.9
9322 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'
9323 compiler_needs_object=yes
9324 tmp_sharedflag='-G' ;;
9325 *Sun\ F*) # Sun Fortran 8.3
9326 tmp_sharedflag='-G' ;;
9327 esac
9328 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9330 if test "x$supports_anon_versioning" = xyes; then
9331 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9332 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9333 echo "local: *; };" >> $output_objdir/$libname.ver~
9334 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9337 case $cc_basename in
9338 xlf* | bgf* | bgxlf* | mpixlf*)
9339 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9340 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9341 hardcode_libdir_flag_spec=
9342 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9343 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9344 if test "x$supports_anon_versioning" = xyes; then
9345 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9346 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9347 echo "local: *; };" >> $output_objdir/$libname.ver~
9348 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9351 esac
9352 else
9353 ld_shlibs=no
9357 netbsd*)
9358 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9359 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9360 wlarc=
9361 else
9362 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9363 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9367 solaris*)
9368 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9369 ld_shlibs=no
9370 cat <<_LT_EOF 1>&2
9372 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9373 *** create shared libraries on Solaris systems. Therefore, libtool
9374 *** is disabling shared libraries support. We urge you to upgrade GNU
9375 *** binutils to release 2.9.1 or newer. Another option is to modify
9376 *** your PATH or compiler configuration so that the native linker is
9377 *** used, and then restart.
9379 _LT_EOF
9380 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9381 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9382 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9383 else
9384 ld_shlibs=no
9388 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9389 case `$LD -v 2>&1` in
9390 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9391 ld_shlibs=no
9392 cat <<_LT_EOF 1>&2
9394 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9395 *** reliably create shared libraries on SCO systems. Therefore, libtool
9396 *** is disabling shared libraries support. We urge you to upgrade GNU
9397 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9398 *** your PATH or compiler configuration so that the native linker is
9399 *** used, and then restart.
9401 _LT_EOF
9404 # For security reasons, it is highly recommended that you always
9405 # use absolute paths for naming shared libraries, and exclude the
9406 # DT_RUNPATH tag from executables and libraries. But doing so
9407 # requires that you compile everything twice, which is a pain.
9408 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9409 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9410 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9411 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9412 else
9413 ld_shlibs=no
9416 esac
9419 sunos4*)
9420 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9421 wlarc=
9422 hardcode_direct=yes
9423 hardcode_shlibpath_var=no
9427 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9428 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9429 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9430 else
9431 ld_shlibs=no
9434 esac
9436 if test "$ld_shlibs" = no; then
9437 runpath_var=
9438 hardcode_libdir_flag_spec=
9439 export_dynamic_flag_spec=
9440 whole_archive_flag_spec=
9442 else
9443 # PORTME fill in a description of your system's linker (not GNU ld)
9444 case $host_os in
9445 aix3*)
9446 allow_undefined_flag=unsupported
9447 always_export_symbols=yes
9448 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'
9449 # Note: this linker hardcodes the directories in LIBPATH if there
9450 # are no directories specified by -L.
9451 hardcode_minus_L=yes
9452 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9453 # Neither direct hardcoding nor static linking is supported with a
9454 # broken collect2.
9455 hardcode_direct=unsupported
9459 aix[4-9]*)
9460 if test "$host_cpu" = ia64; then
9461 # On IA64, the linker does run time linking by default, so we don't
9462 # have to do anything special.
9463 aix_use_runtimelinking=no
9464 exp_sym_flag='-Bexport'
9465 no_entry_flag=""
9466 else
9467 # If we're using GNU nm, then we don't want the "-C" option.
9468 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9469 # Also, AIX nm treats weak defined symbols like other global
9470 # defined symbols, whereas GNU nm marks them as "W".
9471 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9472 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'
9473 else
9474 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'
9476 aix_use_runtimelinking=no
9478 # Test if we are trying to use run time linking or normal
9479 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9480 # need to do runtime linking.
9481 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9482 for ld_flag in $LDFLAGS; do
9483 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9484 aix_use_runtimelinking=yes
9485 break
9487 done
9489 esac
9491 exp_sym_flag='-bexport'
9492 no_entry_flag='-bnoentry'
9495 # When large executables or shared objects are built, AIX ld can
9496 # have problems creating the table of contents. If linking a library
9497 # or program results in "error TOC overflow" add -mminimal-toc to
9498 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9499 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9501 archive_cmds=''
9502 hardcode_direct=yes
9503 hardcode_direct_absolute=yes
9504 hardcode_libdir_separator=':'
9505 link_all_deplibs=yes
9506 file_list_spec='${wl}-f,'
9508 if test "$GCC" = yes; then
9509 case $host_os in aix4.[012]|aix4.[012].*)
9510 # We only want to do this on AIX 4.2 and lower, the check
9511 # below for broken collect2 doesn't work under 4.3+
9512 collect2name=`${CC} -print-prog-name=collect2`
9513 if test -f "$collect2name" &&
9514 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9515 then
9516 # We have reworked collect2
9518 else
9519 # We have old collect2
9520 hardcode_direct=unsupported
9521 # It fails to find uninstalled libraries when the uninstalled
9522 # path is not listed in the libpath. Setting hardcode_minus_L
9523 # to unsupported forces relinking
9524 hardcode_minus_L=yes
9525 hardcode_libdir_flag_spec='-L$libdir'
9526 hardcode_libdir_separator=
9529 esac
9530 shared_flag='-shared'
9531 if test "$aix_use_runtimelinking" = yes; then
9532 shared_flag="$shared_flag "'${wl}-G'
9534 else
9535 # not using gcc
9536 if test "$host_cpu" = ia64; then
9537 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9538 # chokes on -Wl,-G. The following line is correct:
9539 shared_flag='-G'
9540 else
9541 if test "$aix_use_runtimelinking" = yes; then
9542 shared_flag='${wl}-G'
9543 else
9544 shared_flag='${wl}-bM:SRE'
9549 export_dynamic_flag_spec='${wl}-bexpall'
9550 # It seems that -bexpall does not export symbols beginning with
9551 # underscore (_), so it is better to generate a list of symbols to export.
9552 always_export_symbols=yes
9553 if test "$aix_use_runtimelinking" = yes; then
9554 # Warning - without using the other runtime loading flags (-brtl),
9555 # -berok will link without error, but may produce a broken library.
9556 allow_undefined_flag='-berok'
9557 # Determine the default libpath from the value encoded in an
9558 # empty executable.
9559 if test x$gcc_no_link = xyes; then
9560 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9563 /* end confdefs.h. */
9566 main ()
9570 return 0;
9572 _ACEOF
9573 if ac_fn_c_try_link "$LINENO"; then :
9575 lt_aix_libpath_sed='
9576 /Import File Strings/,/^$/ {
9577 /^0/ {
9578 s/^0 *\(.*\)$/\1/
9582 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9583 # Check for a 64-bit object if we didn't find anything.
9584 if test -z "$aix_libpath"; then
9585 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9588 rm -f core conftest.err conftest.$ac_objext \
9589 conftest$ac_exeext conftest.$ac_ext
9590 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9592 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9593 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"
9594 else
9595 if test "$host_cpu" = ia64; then
9596 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9597 allow_undefined_flag="-z nodefs"
9598 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"
9599 else
9600 # Determine the default libpath from the value encoded in an
9601 # empty executable.
9602 if test x$gcc_no_link = xyes; then
9603 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9606 /* end confdefs.h. */
9609 main ()
9613 return 0;
9615 _ACEOF
9616 if ac_fn_c_try_link "$LINENO"; then :
9618 lt_aix_libpath_sed='
9619 /Import File Strings/,/^$/ {
9620 /^0/ {
9621 s/^0 *\(.*\)$/\1/
9625 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9626 # Check for a 64-bit object if we didn't find anything.
9627 if test -z "$aix_libpath"; then
9628 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9631 rm -f core conftest.err conftest.$ac_objext \
9632 conftest$ac_exeext conftest.$ac_ext
9633 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9635 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9636 # Warning - without using the other run time loading flags,
9637 # -berok will link without error, but may produce a broken library.
9638 no_undefined_flag=' ${wl}-bernotok'
9639 allow_undefined_flag=' ${wl}-berok'
9640 if test "$with_gnu_ld" = yes; then
9641 # We only use this code for GNU lds that support --whole-archive.
9642 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9643 else
9644 # Exported symbols can be pulled into shared objects from archives
9645 whole_archive_flag_spec='$convenience'
9647 archive_cmds_need_lc=yes
9648 # This is similar to how AIX traditionally builds its shared libraries.
9649 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'
9654 amigaos*)
9655 case $host_cpu in
9656 powerpc)
9657 # see comment about AmigaOS4 .so support
9658 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9659 archive_expsym_cmds=''
9661 m68k)
9662 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)'
9663 hardcode_libdir_flag_spec='-L$libdir'
9664 hardcode_minus_L=yes
9666 esac
9669 bsdi[45]*)
9670 export_dynamic_flag_spec=-rdynamic
9673 cygwin* | mingw* | pw32* | cegcc*)
9674 # When not using gcc, we currently assume that we are using
9675 # Microsoft Visual C++.
9676 # hardcode_libdir_flag_spec is actually meaningless, as there is
9677 # no search path for DLLs.
9678 hardcode_libdir_flag_spec=' '
9679 allow_undefined_flag=unsupported
9680 # Tell ltmain to make .lib files, not .a files.
9681 libext=lib
9682 # Tell ltmain to make .dll files, not .so files.
9683 shrext_cmds=".dll"
9684 # FIXME: Setting linknames here is a bad hack.
9685 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9686 # The linker will automatically build a .lib file if we build a DLL.
9687 old_archive_from_new_cmds='true'
9688 # FIXME: Should let the user specify the lib program.
9689 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9690 fix_srcfile_path='`cygpath -w "$srcfile"`'
9691 enable_shared_with_static_runtimes=yes
9694 darwin* | rhapsody*)
9697 archive_cmds_need_lc=no
9698 hardcode_direct=no
9699 hardcode_automatic=yes
9700 hardcode_shlibpath_var=unsupported
9701 if test "$lt_cv_ld_force_load" = "yes"; then
9702 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\"`'
9703 else
9704 whole_archive_flag_spec=''
9706 link_all_deplibs=yes
9707 allow_undefined_flag="$_lt_dar_allow_undefined"
9708 case $cc_basename in
9709 ifort*) _lt_dar_can_shared=yes ;;
9710 *) _lt_dar_can_shared=$GCC ;;
9711 esac
9712 if test "$_lt_dar_can_shared" = "yes"; then
9713 output_verbose_link_cmd=func_echo_all
9714 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9715 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9716 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}"
9717 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}"
9719 else
9720 ld_shlibs=no
9725 dgux*)
9726 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9727 hardcode_libdir_flag_spec='-L$libdir'
9728 hardcode_shlibpath_var=no
9731 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9732 # support. Future versions do this automatically, but an explicit c++rt0.o
9733 # does not break anything, and helps significantly (at the cost of a little
9734 # extra space).
9735 freebsd2.2*)
9736 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9737 hardcode_libdir_flag_spec='-R$libdir'
9738 hardcode_direct=yes
9739 hardcode_shlibpath_var=no
9742 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9743 freebsd2.*)
9744 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9745 hardcode_direct=yes
9746 hardcode_minus_L=yes
9747 hardcode_shlibpath_var=no
9750 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9751 freebsd* | dragonfly*)
9752 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9753 hardcode_libdir_flag_spec='-R$libdir'
9754 hardcode_direct=yes
9755 hardcode_shlibpath_var=no
9758 hpux9*)
9759 if test "$GCC" = yes; then
9760 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'
9761 else
9762 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'
9764 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9765 hardcode_libdir_separator=:
9766 hardcode_direct=yes
9768 # hardcode_minus_L: Not really in the search PATH,
9769 # but as the default location of the library.
9770 hardcode_minus_L=yes
9771 export_dynamic_flag_spec='${wl}-E'
9774 hpux10*)
9775 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9776 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9777 else
9778 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9780 if test "$with_gnu_ld" = no; then
9781 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9782 hardcode_libdir_flag_spec_ld='+b $libdir'
9783 hardcode_libdir_separator=:
9784 hardcode_direct=yes
9785 hardcode_direct_absolute=yes
9786 export_dynamic_flag_spec='${wl}-E'
9787 # hardcode_minus_L: Not really in the search PATH,
9788 # but as the default location of the library.
9789 hardcode_minus_L=yes
9793 hpux11*)
9794 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9795 case $host_cpu in
9796 hppa*64*)
9797 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9799 ia64*)
9800 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9803 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9805 esac
9806 else
9807 case $host_cpu in
9808 hppa*64*)
9809 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9811 ia64*)
9812 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9816 # Older versions of the 11.00 compiler do not understand -b yet
9817 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9819 $as_echo_n "checking if $CC understands -b... " >&6; }
9820 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9821 $as_echo_n "(cached) " >&6
9822 else
9823 lt_cv_prog_compiler__b=no
9824 save_LDFLAGS="$LDFLAGS"
9825 LDFLAGS="$LDFLAGS -b"
9826 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9827 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9828 # The linker can only warn and ignore the option if not recognized
9829 # So say no if there are warnings
9830 if test -s conftest.err; then
9831 # Append any errors to the config.log.
9832 cat conftest.err 1>&5
9833 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9834 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9835 if diff conftest.exp conftest.er2 >/dev/null; then
9836 lt_cv_prog_compiler__b=yes
9838 else
9839 lt_cv_prog_compiler__b=yes
9842 $RM -r conftest*
9843 LDFLAGS="$save_LDFLAGS"
9846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9847 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9849 if test x"$lt_cv_prog_compiler__b" = xyes; then
9850 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9851 else
9852 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9856 esac
9858 if test "$with_gnu_ld" = no; then
9859 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9860 hardcode_libdir_separator=:
9862 case $host_cpu in
9863 hppa*64*|ia64*)
9864 hardcode_direct=no
9865 hardcode_shlibpath_var=no
9868 hardcode_direct=yes
9869 hardcode_direct_absolute=yes
9870 export_dynamic_flag_spec='${wl}-E'
9872 # hardcode_minus_L: Not really in the search PATH,
9873 # but as the default location of the library.
9874 hardcode_minus_L=yes
9876 esac
9880 irix5* | irix6* | nonstopux*)
9881 if test "$GCC" = yes; then
9882 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'
9883 # Try to use the -exported_symbol ld option, if it does not
9884 # work, assume that -exports_file does not work either and
9885 # implicitly export all symbols.
9886 save_LDFLAGS="$LDFLAGS"
9887 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9888 if test x$gcc_no_link = xyes; then
9889 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9892 /* end confdefs.h. */
9893 int foo(void) {}
9894 _ACEOF
9895 if ac_fn_c_try_link "$LINENO"; then :
9896 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'
9899 rm -f core conftest.err conftest.$ac_objext \
9900 conftest$ac_exeext conftest.$ac_ext
9901 LDFLAGS="$save_LDFLAGS"
9902 else
9903 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'
9904 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'
9906 archive_cmds_need_lc='no'
9907 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9908 hardcode_libdir_separator=:
9909 inherit_rpath=yes
9910 link_all_deplibs=yes
9913 netbsd*)
9914 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9915 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9916 else
9917 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9919 hardcode_libdir_flag_spec='-R$libdir'
9920 hardcode_direct=yes
9921 hardcode_shlibpath_var=no
9924 newsos6)
9925 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9926 hardcode_direct=yes
9927 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9928 hardcode_libdir_separator=:
9929 hardcode_shlibpath_var=no
9932 *nto* | *qnx*)
9935 openbsd*)
9936 if test -f /usr/libexec/ld.so; then
9937 hardcode_direct=yes
9938 hardcode_shlibpath_var=no
9939 hardcode_direct_absolute=yes
9940 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9941 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9942 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9943 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9944 export_dynamic_flag_spec='${wl}-E'
9945 else
9946 case $host_os in
9947 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9948 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9949 hardcode_libdir_flag_spec='-R$libdir'
9952 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9953 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9955 esac
9957 else
9958 ld_shlibs=no
9962 os2*)
9963 hardcode_libdir_flag_spec='-L$libdir'
9964 hardcode_minus_L=yes
9965 allow_undefined_flag=unsupported
9966 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'
9967 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9970 osf3*)
9971 if test "$GCC" = yes; then
9972 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9973 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'
9974 else
9975 allow_undefined_flag=' -expect_unresolved \*'
9976 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'
9978 archive_cmds_need_lc='no'
9979 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9980 hardcode_libdir_separator=:
9983 osf4* | osf5*) # as osf3* with the addition of -msym flag
9984 if test "$GCC" = yes; then
9985 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9986 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-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'
9987 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9988 else
9989 allow_undefined_flag=' -expect_unresolved \*'
9990 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'
9991 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~
9992 $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'
9994 # Both c and cxx compiler support -rpath directly
9995 hardcode_libdir_flag_spec='-rpath $libdir'
9997 archive_cmds_need_lc='no'
9998 hardcode_libdir_separator=:
10001 solaris*)
10002 no_undefined_flag=' -z defs'
10003 if test "$GCC" = yes; then
10004 wlarc='${wl}'
10005 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10006 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10007 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10008 else
10009 case `$CC -V 2>&1` in
10010 *"Compilers 5.0"*)
10011 wlarc=''
10012 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10013 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10014 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10017 wlarc='${wl}'
10018 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10019 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10020 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10022 esac
10024 hardcode_libdir_flag_spec='-R$libdir'
10025 hardcode_shlibpath_var=no
10026 case $host_os in
10027 solaris2.[0-5] | solaris2.[0-5].*) ;;
10029 # The compiler driver will combine and reorder linker options,
10030 # but understands `-z linker_flag'. GCC discards it without `$wl',
10031 # but is careful enough not to reorder.
10032 # Supported since Solaris 2.6 (maybe 2.5.1?)
10033 if test "$GCC" = yes; then
10034 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10035 else
10036 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10039 esac
10040 link_all_deplibs=yes
10043 sunos4*)
10044 if test "x$host_vendor" = xsequent; then
10045 # Use $CC to link under sequent, because it throws in some extra .o
10046 # files that make .init and .fini sections work.
10047 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10048 else
10049 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10051 hardcode_libdir_flag_spec='-L$libdir'
10052 hardcode_direct=yes
10053 hardcode_minus_L=yes
10054 hardcode_shlibpath_var=no
10057 sysv4)
10058 case $host_vendor in
10059 sni)
10060 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10061 hardcode_direct=yes # is this really true???
10063 siemens)
10064 ## LD is ld it makes a PLAMLIB
10065 ## CC just makes a GrossModule.
10066 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10067 reload_cmds='$CC -r -o $output$reload_objs'
10068 hardcode_direct=no
10070 motorola)
10071 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10072 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10074 esac
10075 runpath_var='LD_RUN_PATH'
10076 hardcode_shlibpath_var=no
10079 sysv4.3*)
10080 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10081 hardcode_shlibpath_var=no
10082 export_dynamic_flag_spec='-Bexport'
10085 sysv4*MP*)
10086 if test -d /usr/nec; then
10087 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10088 hardcode_shlibpath_var=no
10089 runpath_var=LD_RUN_PATH
10090 hardcode_runpath_var=yes
10091 ld_shlibs=yes
10095 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10096 no_undefined_flag='${wl}-z,text'
10097 archive_cmds_need_lc=no
10098 hardcode_shlibpath_var=no
10099 runpath_var='LD_RUN_PATH'
10101 if test "$GCC" = yes; then
10102 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10103 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10104 else
10105 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10106 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10110 sysv5* | sco3.2v5* | sco5v6*)
10111 # Note: We can NOT use -z defs as we might desire, because we do not
10112 # link with -lc, and that would cause any symbols used from libc to
10113 # always be unresolved, which means just about no library would
10114 # ever link correctly. If we're not using GNU ld we use -z text
10115 # though, which does catch some bad symbols but isn't as heavy-handed
10116 # as -z defs.
10117 no_undefined_flag='${wl}-z,text'
10118 allow_undefined_flag='${wl}-z,nodefs'
10119 archive_cmds_need_lc=no
10120 hardcode_shlibpath_var=no
10121 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10122 hardcode_libdir_separator=':'
10123 link_all_deplibs=yes
10124 export_dynamic_flag_spec='${wl}-Bexport'
10125 runpath_var='LD_RUN_PATH'
10127 if test "$GCC" = yes; then
10128 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10129 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10130 else
10131 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10132 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10136 uts4*)
10137 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10138 hardcode_libdir_flag_spec='-L$libdir'
10139 hardcode_shlibpath_var=no
10143 ld_shlibs=no
10145 esac
10147 if test x$host_vendor = xsni; then
10148 case $host in
10149 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10150 export_dynamic_flag_spec='${wl}-Blargedynsym'
10152 esac
10156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10157 $as_echo "$ld_shlibs" >&6; }
10158 test "$ld_shlibs" = no && can_build_shared=no
10160 with_gnu_ld=$with_gnu_ld
10177 # Do we need to explicitly link libc?
10179 case "x$archive_cmds_need_lc" in
10180 x|xyes)
10181 # Assume -lc should be added
10182 archive_cmds_need_lc=yes
10184 if test "$enable_shared" = yes && test "$GCC" = yes; then
10185 case $archive_cmds in
10186 *'~'*)
10187 # FIXME: we may have to deal with multi-command sequences.
10189 '$CC '*)
10190 # Test whether the compiler implicitly links with -lc since on some
10191 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10192 # to ld, don't add -lc before -lgcc.
10193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10194 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10195 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10196 $as_echo_n "(cached) " >&6
10197 else
10198 $RM conftest*
10199 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10201 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10202 (eval $ac_compile) 2>&5
10203 ac_status=$?
10204 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10205 test $ac_status = 0; } 2>conftest.err; then
10206 soname=conftest
10207 lib=conftest
10208 libobjs=conftest.$ac_objext
10209 deplibs=
10210 wl=$lt_prog_compiler_wl
10211 pic_flag=$lt_prog_compiler_pic
10212 compiler_flags=-v
10213 linker_flags=-v
10214 verstring=
10215 output_objdir=.
10216 libname=conftest
10217 lt_save_allow_undefined_flag=$allow_undefined_flag
10218 allow_undefined_flag=
10219 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10220 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10221 ac_status=$?
10222 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10223 test $ac_status = 0; }
10224 then
10225 lt_cv_archive_cmds_need_lc=no
10226 else
10227 lt_cv_archive_cmds_need_lc=yes
10229 allow_undefined_flag=$lt_save_allow_undefined_flag
10230 else
10231 cat conftest.err 1>&5
10233 $RM conftest*
10236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10237 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10238 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10240 esac
10243 esac
10401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10402 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10404 if test "$GCC" = yes; then
10405 case $host_os in
10406 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10407 *) lt_awk_arg="/^libraries:/" ;;
10408 esac
10409 case $host_os in
10410 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10411 *) lt_sed_strip_eq="s,=/,/,g" ;;
10412 esac
10413 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10414 case $lt_search_path_spec in
10415 *\;*)
10416 # if the path contains ";" then we assume it to be the separator
10417 # otherwise default to the standard path separator (i.e. ":") - it is
10418 # assumed that no part of a normal pathname contains ";" but that should
10419 # okay in the real world where ";" in dirpaths is itself problematic.
10420 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10423 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10425 esac
10426 # Ok, now we have the path, separated by spaces, we can step through it
10427 # and add multilib dir if necessary.
10428 lt_tmp_lt_search_path_spec=
10429 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10430 for lt_sys_path in $lt_search_path_spec; do
10431 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10432 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10433 else
10434 test -d "$lt_sys_path" && \
10435 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10437 done
10438 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10439 BEGIN {RS=" "; FS="/|\n";} {
10440 lt_foo="";
10441 lt_count=0;
10442 for (lt_i = NF; lt_i > 0; lt_i--) {
10443 if ($lt_i != "" && $lt_i != ".") {
10444 if ($lt_i == "..") {
10445 lt_count++;
10446 } else {
10447 if (lt_count == 0) {
10448 lt_foo="/" $lt_i lt_foo;
10449 } else {
10450 lt_count--;
10455 if (lt_foo != "") { lt_freq[lt_foo]++; }
10456 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10458 # AWK program above erroneously prepends '/' to C:/dos/paths
10459 # for these hosts.
10460 case $host_os in
10461 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10462 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10463 esac
10464 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10465 else
10466 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10468 library_names_spec=
10469 libname_spec='lib$name'
10470 soname_spec=
10471 shrext_cmds=".so"
10472 postinstall_cmds=
10473 postuninstall_cmds=
10474 finish_cmds=
10475 finish_eval=
10476 shlibpath_var=
10477 shlibpath_overrides_runpath=unknown
10478 version_type=none
10479 dynamic_linker="$host_os ld.so"
10480 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10481 need_lib_prefix=unknown
10482 hardcode_into_libs=no
10484 # when you set need_version to no, make sure it does not cause -set_version
10485 # flags to be left without arguments
10486 need_version=unknown
10488 case $host_os in
10489 aix3*)
10490 version_type=linux
10491 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10492 shlibpath_var=LIBPATH
10494 # AIX 3 has no versioning support, so we append a major version to the name.
10495 soname_spec='${libname}${release}${shared_ext}$major'
10498 aix[4-9]*)
10499 version_type=linux
10500 need_lib_prefix=no
10501 need_version=no
10502 hardcode_into_libs=yes
10503 if test "$host_cpu" = ia64; then
10504 # AIX 5 supports IA64
10505 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10506 shlibpath_var=LD_LIBRARY_PATH
10507 else
10508 # With GCC up to 2.95.x, collect2 would create an import file
10509 # for dependence libraries. The import file would start with
10510 # the line `#! .'. This would cause the generated library to
10511 # depend on `.', always an invalid library. This was fixed in
10512 # development snapshots of GCC prior to 3.0.
10513 case $host_os in
10514 aix4 | aix4.[01] | aix4.[01].*)
10515 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10516 echo ' yes '
10517 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10519 else
10520 can_build_shared=no
10523 esac
10524 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10525 # soname into executable. Probably we can add versioning support to
10526 # collect2, so additional links can be useful in future.
10527 if test "$aix_use_runtimelinking" = yes; then
10528 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10529 # instead of lib<name>.a to let people know that these are not
10530 # typical AIX shared libraries.
10531 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10532 else
10533 # We preserve .a as extension for shared libraries through AIX4.2
10534 # and later when we are not doing run time linking.
10535 library_names_spec='${libname}${release}.a $libname.a'
10536 soname_spec='${libname}${release}${shared_ext}$major'
10538 shlibpath_var=LIBPATH
10542 amigaos*)
10543 case $host_cpu in
10544 powerpc)
10545 # Since July 2007 AmigaOS4 officially supports .so libraries.
10546 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10547 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10549 m68k)
10550 library_names_spec='$libname.ixlibrary $libname.a'
10551 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10552 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'
10554 esac
10557 beos*)
10558 library_names_spec='${libname}${shared_ext}'
10559 dynamic_linker="$host_os ld.so"
10560 shlibpath_var=LIBRARY_PATH
10563 bsdi[45]*)
10564 version_type=linux
10565 need_version=no
10566 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10567 soname_spec='${libname}${release}${shared_ext}$major'
10568 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10569 shlibpath_var=LD_LIBRARY_PATH
10570 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10571 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10572 # the default ld.so.conf also contains /usr/contrib/lib and
10573 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10574 # libtool to hard-code these into programs
10577 cygwin* | mingw* | pw32* | cegcc*)
10578 version_type=windows
10579 shrext_cmds=".dll"
10580 need_version=no
10581 need_lib_prefix=no
10583 case $GCC,$host_os in
10584 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10585 library_names_spec='$libname.dll.a'
10586 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10587 postinstall_cmds='base_file=`basename \${file}`~
10588 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10589 dldir=$destdir/`dirname \$dlpath`~
10590 test -d \$dldir || mkdir -p \$dldir~
10591 $install_prog $dir/$dlname \$dldir/$dlname~
10592 chmod a+x \$dldir/$dlname~
10593 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10594 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10596 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10597 dlpath=$dir/\$dldll~
10598 $RM \$dlpath'
10599 shlibpath_overrides_runpath=yes
10601 case $host_os in
10602 cygwin*)
10603 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10604 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10606 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10608 mingw* | cegcc*)
10609 # MinGW DLLs use traditional 'lib' prefix
10610 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10612 pw32*)
10613 # pw32 DLLs use 'pw' prefix rather than 'lib'
10614 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10616 esac
10620 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10622 esac
10623 dynamic_linker='Win32 ld.exe'
10624 # FIXME: first we should search . and the directory the executable is in
10625 shlibpath_var=PATH
10628 darwin* | rhapsody*)
10629 dynamic_linker="$host_os dyld"
10630 version_type=darwin
10631 need_lib_prefix=no
10632 need_version=no
10633 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10634 soname_spec='${libname}${release}${major}$shared_ext'
10635 shlibpath_overrides_runpath=yes
10636 shlibpath_var=DYLD_LIBRARY_PATH
10637 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10639 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10640 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10643 dgux*)
10644 version_type=linux
10645 need_lib_prefix=no
10646 need_version=no
10647 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10648 soname_spec='${libname}${release}${shared_ext}$major'
10649 shlibpath_var=LD_LIBRARY_PATH
10652 freebsd* | dragonfly*)
10653 # DragonFly does not have aout. When/if they implement a new
10654 # versioning mechanism, adjust this.
10655 if test -x /usr/bin/objformat; then
10656 objformat=`/usr/bin/objformat`
10657 else
10658 case $host_os in
10659 freebsd[23].*) objformat=aout ;;
10660 *) objformat=elf ;;
10661 esac
10663 version_type=freebsd-$objformat
10664 case $version_type in
10665 freebsd-elf*)
10666 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10667 need_version=no
10668 need_lib_prefix=no
10670 freebsd-*)
10671 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10672 need_version=yes
10674 esac
10675 shlibpath_var=LD_LIBRARY_PATH
10676 case $host_os in
10677 freebsd2.*)
10678 shlibpath_overrides_runpath=yes
10680 freebsd3.[01]* | freebsdelf3.[01]*)
10681 shlibpath_overrides_runpath=yes
10682 hardcode_into_libs=yes
10684 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10685 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10686 shlibpath_overrides_runpath=no
10687 hardcode_into_libs=yes
10689 *) # from 4.6 on, and DragonFly
10690 shlibpath_overrides_runpath=yes
10691 hardcode_into_libs=yes
10693 esac
10696 gnu*)
10697 version_type=linux
10698 need_lib_prefix=no
10699 need_version=no
10700 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10701 soname_spec='${libname}${release}${shared_ext}$major'
10702 shlibpath_var=LD_LIBRARY_PATH
10703 hardcode_into_libs=yes
10706 haiku*)
10707 version_type=linux
10708 need_lib_prefix=no
10709 need_version=no
10710 dynamic_linker="$host_os runtime_loader"
10711 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10712 soname_spec='${libname}${release}${shared_ext}$major'
10713 shlibpath_var=LIBRARY_PATH
10714 shlibpath_overrides_runpath=yes
10715 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10716 hardcode_into_libs=yes
10719 hpux9* | hpux10* | hpux11*)
10720 # Give a soname corresponding to the major version so that dld.sl refuses to
10721 # link against other versions.
10722 version_type=sunos
10723 need_lib_prefix=no
10724 need_version=no
10725 case $host_cpu in
10726 ia64*)
10727 shrext_cmds='.so'
10728 hardcode_into_libs=yes
10729 dynamic_linker="$host_os dld.so"
10730 shlibpath_var=LD_LIBRARY_PATH
10731 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10732 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10733 soname_spec='${libname}${release}${shared_ext}$major'
10734 if test "X$HPUX_IA64_MODE" = X32; then
10735 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10736 else
10737 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10739 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10741 hppa*64*)
10742 shrext_cmds='.sl'
10743 hardcode_into_libs=yes
10744 dynamic_linker="$host_os dld.sl"
10745 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10746 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10747 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10748 soname_spec='${libname}${release}${shared_ext}$major'
10749 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10750 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10753 shrext_cmds='.sl'
10754 dynamic_linker="$host_os dld.sl"
10755 shlibpath_var=SHLIB_PATH
10756 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10757 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10758 soname_spec='${libname}${release}${shared_ext}$major'
10760 esac
10761 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10762 postinstall_cmds='chmod 555 $lib'
10763 # or fails outright, so override atomically:
10764 install_override_mode=555
10767 interix[3-9]*)
10768 version_type=linux
10769 need_lib_prefix=no
10770 need_version=no
10771 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10772 soname_spec='${libname}${release}${shared_ext}$major'
10773 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10774 shlibpath_var=LD_LIBRARY_PATH
10775 shlibpath_overrides_runpath=no
10776 hardcode_into_libs=yes
10779 irix5* | irix6* | nonstopux*)
10780 case $host_os in
10781 nonstopux*) version_type=nonstopux ;;
10783 if test "$lt_cv_prog_gnu_ld" = yes; then
10784 version_type=linux
10785 else
10786 version_type=irix
10787 fi ;;
10788 esac
10789 need_lib_prefix=no
10790 need_version=no
10791 soname_spec='${libname}${release}${shared_ext}$major'
10792 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10793 case $host_os in
10794 irix5* | nonstopux*)
10795 libsuff= shlibsuff=
10798 case $LD in # libtool.m4 will add one of these switches to LD
10799 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10800 libsuff= shlibsuff= libmagic=32-bit;;
10801 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10802 libsuff=32 shlibsuff=N32 libmagic=N32;;
10803 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10804 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10805 *) libsuff= shlibsuff= libmagic=never-match;;
10806 esac
10808 esac
10809 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10810 shlibpath_overrides_runpath=no
10811 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10812 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10813 hardcode_into_libs=yes
10816 # No shared lib support for Linux oldld, aout, or coff.
10817 linux*oldld* | linux*aout* | linux*coff*)
10818 dynamic_linker=no
10821 # This must be Linux ELF.
10822 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10823 version_type=linux
10824 need_lib_prefix=no
10825 need_version=no
10826 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10827 soname_spec='${libname}${release}${shared_ext}$major'
10828 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10829 shlibpath_var=LD_LIBRARY_PATH
10830 shlibpath_overrides_runpath=no
10832 # Some binutils ld are patched to set DT_RUNPATH
10833 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10834 $as_echo_n "(cached) " >&6
10835 else
10836 lt_cv_shlibpath_overrides_runpath=no
10837 save_LDFLAGS=$LDFLAGS
10838 save_libdir=$libdir
10839 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10840 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10841 if test x$gcc_no_link = xyes; then
10842 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10845 /* end confdefs.h. */
10848 main ()
10852 return 0;
10854 _ACEOF
10855 if ac_fn_c_try_link "$LINENO"; then :
10856 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10857 lt_cv_shlibpath_overrides_runpath=yes
10860 rm -f core conftest.err conftest.$ac_objext \
10861 conftest$ac_exeext conftest.$ac_ext
10862 LDFLAGS=$save_LDFLAGS
10863 libdir=$save_libdir
10867 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10869 # This implies no fast_install, which is unacceptable.
10870 # Some rework will be needed to allow for fast_install
10871 # before this can be enabled.
10872 hardcode_into_libs=yes
10874 # Append ld.so.conf contents to the search path
10875 if test -f /etc/ld.so.conf; then
10876 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' ' '`
10877 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10880 # We used to test for /lib/ld.so.1 and disable shared libraries on
10881 # powerpc, because MkLinux only supported shared libraries with the
10882 # GNU dynamic linker. Since this was broken with cross compilers,
10883 # most powerpc-linux boxes support dynamic linking these days and
10884 # people can always --disable-shared, the test was removed, and we
10885 # assume the GNU/Linux dynamic linker is in use.
10886 dynamic_linker='GNU/Linux ld.so'
10889 netbsd*)
10890 version_type=sunos
10891 need_lib_prefix=no
10892 need_version=no
10893 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10894 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10895 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10896 dynamic_linker='NetBSD (a.out) ld.so'
10897 else
10898 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10899 soname_spec='${libname}${release}${shared_ext}$major'
10900 dynamic_linker='NetBSD ld.elf_so'
10902 shlibpath_var=LD_LIBRARY_PATH
10903 shlibpath_overrides_runpath=yes
10904 hardcode_into_libs=yes
10907 newsos6)
10908 version_type=linux
10909 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10910 shlibpath_var=LD_LIBRARY_PATH
10911 shlibpath_overrides_runpath=yes
10914 *nto* | *qnx*)
10915 version_type=qnx
10916 need_lib_prefix=no
10917 need_version=no
10918 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10919 soname_spec='${libname}${release}${shared_ext}$major'
10920 shlibpath_var=LD_LIBRARY_PATH
10921 shlibpath_overrides_runpath=no
10922 hardcode_into_libs=yes
10923 dynamic_linker='ldqnx.so'
10926 openbsd*)
10927 version_type=sunos
10928 sys_lib_dlsearch_path_spec="/usr/lib"
10929 need_lib_prefix=no
10930 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10931 case $host_os in
10932 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10933 *) need_version=no ;;
10934 esac
10935 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10936 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10937 shlibpath_var=LD_LIBRARY_PATH
10938 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10939 case $host_os in
10940 openbsd2.[89] | openbsd2.[89].*)
10941 shlibpath_overrides_runpath=no
10944 shlibpath_overrides_runpath=yes
10946 esac
10947 else
10948 shlibpath_overrides_runpath=yes
10952 os2*)
10953 libname_spec='$name'
10954 shrext_cmds=".dll"
10955 need_lib_prefix=no
10956 library_names_spec='$libname${shared_ext} $libname.a'
10957 dynamic_linker='OS/2 ld.exe'
10958 shlibpath_var=LIBPATH
10961 osf3* | osf4* | osf5*)
10962 version_type=osf
10963 need_lib_prefix=no
10964 need_version=no
10965 soname_spec='${libname}${release}${shared_ext}$major'
10966 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10967 shlibpath_var=LD_LIBRARY_PATH
10968 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10969 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10972 rdos*)
10973 dynamic_linker=no
10976 solaris*)
10977 version_type=linux
10978 need_lib_prefix=no
10979 need_version=no
10980 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10981 soname_spec='${libname}${release}${shared_ext}$major'
10982 shlibpath_var=LD_LIBRARY_PATH
10983 shlibpath_overrides_runpath=yes
10984 hardcode_into_libs=yes
10985 # ldd complains unless libraries are executable
10986 postinstall_cmds='chmod +x $lib'
10989 sunos4*)
10990 version_type=sunos
10991 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10992 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10993 shlibpath_var=LD_LIBRARY_PATH
10994 shlibpath_overrides_runpath=yes
10995 if test "$with_gnu_ld" = yes; then
10996 need_lib_prefix=no
10998 need_version=yes
11001 sysv4 | sysv4.3*)
11002 version_type=linux
11003 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11004 soname_spec='${libname}${release}${shared_ext}$major'
11005 shlibpath_var=LD_LIBRARY_PATH
11006 case $host_vendor in
11007 sni)
11008 shlibpath_overrides_runpath=no
11009 need_lib_prefix=no
11010 runpath_var=LD_RUN_PATH
11012 siemens)
11013 need_lib_prefix=no
11015 motorola)
11016 need_lib_prefix=no
11017 need_version=no
11018 shlibpath_overrides_runpath=no
11019 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11021 esac
11024 sysv4*MP*)
11025 if test -d /usr/nec ;then
11026 version_type=linux
11027 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11028 soname_spec='$libname${shared_ext}.$major'
11029 shlibpath_var=LD_LIBRARY_PATH
11033 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11034 version_type=freebsd-elf
11035 need_lib_prefix=no
11036 need_version=no
11037 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11038 soname_spec='${libname}${release}${shared_ext}$major'
11039 shlibpath_var=LD_LIBRARY_PATH
11040 shlibpath_overrides_runpath=yes
11041 hardcode_into_libs=yes
11042 if test "$with_gnu_ld" = yes; then
11043 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11044 else
11045 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11046 case $host_os in
11047 sco3.2v5*)
11048 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11050 esac
11052 sys_lib_dlsearch_path_spec='/usr/lib'
11055 tpf*)
11056 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11057 version_type=linux
11058 need_lib_prefix=no
11059 need_version=no
11060 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11061 shlibpath_var=LD_LIBRARY_PATH
11062 shlibpath_overrides_runpath=no
11063 hardcode_into_libs=yes
11066 uts4*)
11067 version_type=linux
11068 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11069 soname_spec='${libname}${release}${shared_ext}$major'
11070 shlibpath_var=LD_LIBRARY_PATH
11074 dynamic_linker=no
11076 esac
11077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11078 $as_echo "$dynamic_linker" >&6; }
11079 test "$dynamic_linker" = no && can_build_shared=no
11081 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11082 if test "$GCC" = yes; then
11083 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11086 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11087 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11089 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11090 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11185 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11186 hardcode_action=
11187 if test -n "$hardcode_libdir_flag_spec" ||
11188 test -n "$runpath_var" ||
11189 test "X$hardcode_automatic" = "Xyes" ; then
11191 # We can hardcode non-existent directories.
11192 if test "$hardcode_direct" != no &&
11193 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11194 # have to relink, otherwise we might link with an installed library
11195 # when we should be linking with a yet-to-be-installed one
11196 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11197 test "$hardcode_minus_L" != no; then
11198 # Linking always hardcodes the temporary library directory.
11199 hardcode_action=relink
11200 else
11201 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11202 hardcode_action=immediate
11204 else
11205 # We cannot hardcode anything, or else we can only hardcode existing
11206 # directories.
11207 hardcode_action=unsupported
11209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11210 $as_echo "$hardcode_action" >&6; }
11212 if test "$hardcode_action" = relink ||
11213 test "$inherit_rpath" = yes; then
11214 # Fast installation is not supported
11215 enable_fast_install=no
11216 elif test "$shlibpath_overrides_runpath" = yes ||
11217 test "$enable_shared" = no; then
11218 # Fast installation is not necessary
11219 enable_fast_install=needless
11227 if test "x$enable_dlopen" != xyes; then
11228 enable_dlopen=unknown
11229 enable_dlopen_self=unknown
11230 enable_dlopen_self_static=unknown
11231 else
11232 lt_cv_dlopen=no
11233 lt_cv_dlopen_libs=
11235 case $host_os in
11236 beos*)
11237 lt_cv_dlopen="load_add_on"
11238 lt_cv_dlopen_libs=
11239 lt_cv_dlopen_self=yes
11242 mingw* | pw32* | cegcc*)
11243 lt_cv_dlopen="LoadLibrary"
11244 lt_cv_dlopen_libs=
11247 cygwin*)
11248 lt_cv_dlopen="dlopen"
11249 lt_cv_dlopen_libs=
11252 darwin*)
11253 # if libdl is installed we need to link against it
11254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11255 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11256 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11257 $as_echo_n "(cached) " >&6
11258 else
11259 ac_check_lib_save_LIBS=$LIBS
11260 LIBS="-ldl $LIBS"
11261 if test x$gcc_no_link = xyes; then
11262 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11265 /* end confdefs.h. */
11267 /* Override any GCC internal prototype to avoid an error.
11268 Use char because int might match the return type of a GCC
11269 builtin and then its argument prototype would still apply. */
11270 #ifdef __cplusplus
11271 extern "C"
11272 #endif
11273 char dlopen ();
11275 main ()
11277 return dlopen ();
11279 return 0;
11281 _ACEOF
11282 if ac_fn_c_try_link "$LINENO"; then :
11283 ac_cv_lib_dl_dlopen=yes
11284 else
11285 ac_cv_lib_dl_dlopen=no
11287 rm -f core conftest.err conftest.$ac_objext \
11288 conftest$ac_exeext conftest.$ac_ext
11289 LIBS=$ac_check_lib_save_LIBS
11291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11292 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11293 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11294 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11295 else
11297 lt_cv_dlopen="dyld"
11298 lt_cv_dlopen_libs=
11299 lt_cv_dlopen_self=yes
11306 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11307 if test "x$ac_cv_func_shl_load" = x""yes; then :
11308 lt_cv_dlopen="shl_load"
11309 else
11310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11311 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11312 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11313 $as_echo_n "(cached) " >&6
11314 else
11315 ac_check_lib_save_LIBS=$LIBS
11316 LIBS="-ldld $LIBS"
11317 if test x$gcc_no_link = xyes; then
11318 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11321 /* end confdefs.h. */
11323 /* Override any GCC internal prototype to avoid an error.
11324 Use char because int might match the return type of a GCC
11325 builtin and then its argument prototype would still apply. */
11326 #ifdef __cplusplus
11327 extern "C"
11328 #endif
11329 char shl_load ();
11331 main ()
11333 return shl_load ();
11335 return 0;
11337 _ACEOF
11338 if ac_fn_c_try_link "$LINENO"; then :
11339 ac_cv_lib_dld_shl_load=yes
11340 else
11341 ac_cv_lib_dld_shl_load=no
11343 rm -f core conftest.err conftest.$ac_objext \
11344 conftest$ac_exeext conftest.$ac_ext
11345 LIBS=$ac_check_lib_save_LIBS
11347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11348 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11349 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11350 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11351 else
11352 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11353 if test "x$ac_cv_func_dlopen" = x""yes; then :
11354 lt_cv_dlopen="dlopen"
11355 else
11356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11357 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11358 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11359 $as_echo_n "(cached) " >&6
11360 else
11361 ac_check_lib_save_LIBS=$LIBS
11362 LIBS="-ldl $LIBS"
11363 if test x$gcc_no_link = xyes; then
11364 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11367 /* end confdefs.h. */
11369 /* Override any GCC internal prototype to avoid an error.
11370 Use char because int might match the return type of a GCC
11371 builtin and then its argument prototype would still apply. */
11372 #ifdef __cplusplus
11373 extern "C"
11374 #endif
11375 char dlopen ();
11377 main ()
11379 return dlopen ();
11381 return 0;
11383 _ACEOF
11384 if ac_fn_c_try_link "$LINENO"; then :
11385 ac_cv_lib_dl_dlopen=yes
11386 else
11387 ac_cv_lib_dl_dlopen=no
11389 rm -f core conftest.err conftest.$ac_objext \
11390 conftest$ac_exeext conftest.$ac_ext
11391 LIBS=$ac_check_lib_save_LIBS
11393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11394 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11395 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11396 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11397 else
11398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11399 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11400 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11401 $as_echo_n "(cached) " >&6
11402 else
11403 ac_check_lib_save_LIBS=$LIBS
11404 LIBS="-lsvld $LIBS"
11405 if test x$gcc_no_link = xyes; then
11406 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11409 /* end confdefs.h. */
11411 /* Override any GCC internal prototype to avoid an error.
11412 Use char because int might match the return type of a GCC
11413 builtin and then its argument prototype would still apply. */
11414 #ifdef __cplusplus
11415 extern "C"
11416 #endif
11417 char dlopen ();
11419 main ()
11421 return dlopen ();
11423 return 0;
11425 _ACEOF
11426 if ac_fn_c_try_link "$LINENO"; then :
11427 ac_cv_lib_svld_dlopen=yes
11428 else
11429 ac_cv_lib_svld_dlopen=no
11431 rm -f core conftest.err conftest.$ac_objext \
11432 conftest$ac_exeext conftest.$ac_ext
11433 LIBS=$ac_check_lib_save_LIBS
11435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11436 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11437 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11438 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11439 else
11440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11441 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11442 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11443 $as_echo_n "(cached) " >&6
11444 else
11445 ac_check_lib_save_LIBS=$LIBS
11446 LIBS="-ldld $LIBS"
11447 if test x$gcc_no_link = xyes; then
11448 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11451 /* end confdefs.h. */
11453 /* Override any GCC internal prototype to avoid an error.
11454 Use char because int might match the return type of a GCC
11455 builtin and then its argument prototype would still apply. */
11456 #ifdef __cplusplus
11457 extern "C"
11458 #endif
11459 char dld_link ();
11461 main ()
11463 return dld_link ();
11465 return 0;
11467 _ACEOF
11468 if ac_fn_c_try_link "$LINENO"; then :
11469 ac_cv_lib_dld_dld_link=yes
11470 else
11471 ac_cv_lib_dld_dld_link=no
11473 rm -f core conftest.err conftest.$ac_objext \
11474 conftest$ac_exeext conftest.$ac_ext
11475 LIBS=$ac_check_lib_save_LIBS
11477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11478 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11479 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11480 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11499 esac
11501 if test "x$lt_cv_dlopen" != xno; then
11502 enable_dlopen=yes
11503 else
11504 enable_dlopen=no
11507 case $lt_cv_dlopen in
11508 dlopen)
11509 save_CPPFLAGS="$CPPFLAGS"
11510 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11512 save_LDFLAGS="$LDFLAGS"
11513 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11515 save_LIBS="$LIBS"
11516 LIBS="$lt_cv_dlopen_libs $LIBS"
11518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11519 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11520 if test "${lt_cv_dlopen_self+set}" = set; then :
11521 $as_echo_n "(cached) " >&6
11522 else
11523 if test "$cross_compiling" = yes; then :
11524 lt_cv_dlopen_self=cross
11525 else
11526 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11527 lt_status=$lt_dlunknown
11528 cat > conftest.$ac_ext <<_LT_EOF
11529 #line 11529 "configure"
11530 #include "confdefs.h"
11532 #if HAVE_DLFCN_H
11533 #include <dlfcn.h>
11534 #endif
11536 #include <stdio.h>
11538 #ifdef RTLD_GLOBAL
11539 # define LT_DLGLOBAL RTLD_GLOBAL
11540 #else
11541 # ifdef DL_GLOBAL
11542 # define LT_DLGLOBAL DL_GLOBAL
11543 # else
11544 # define LT_DLGLOBAL 0
11545 # endif
11546 #endif
11548 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11549 find out it does not work in some platform. */
11550 #ifndef LT_DLLAZY_OR_NOW
11551 # ifdef RTLD_LAZY
11552 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11553 # else
11554 # ifdef DL_LAZY
11555 # define LT_DLLAZY_OR_NOW DL_LAZY
11556 # else
11557 # ifdef RTLD_NOW
11558 # define LT_DLLAZY_OR_NOW RTLD_NOW
11559 # else
11560 # ifdef DL_NOW
11561 # define LT_DLLAZY_OR_NOW DL_NOW
11562 # else
11563 # define LT_DLLAZY_OR_NOW 0
11564 # endif
11565 # endif
11566 # endif
11567 # endif
11568 #endif
11570 /* When -fvisbility=hidden is used, assume the code has been annotated
11571 correspondingly for the symbols needed. */
11572 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11573 void fnord () __attribute__((visibility("default")));
11574 #endif
11576 void fnord () { int i=42; }
11577 int main ()
11579 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11580 int status = $lt_dlunknown;
11582 if (self)
11584 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11585 else
11587 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11588 else puts (dlerror ());
11590 /* dlclose (self); */
11592 else
11593 puts (dlerror ());
11595 return status;
11597 _LT_EOF
11598 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11599 (eval $ac_link) 2>&5
11600 ac_status=$?
11601 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11602 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11603 (./conftest; exit; ) >&5 2>/dev/null
11604 lt_status=$?
11605 case x$lt_status in
11606 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11607 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11608 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11609 esac
11610 else :
11611 # compilation failed
11612 lt_cv_dlopen_self=no
11615 rm -fr conftest*
11619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11620 $as_echo "$lt_cv_dlopen_self" >&6; }
11622 if test "x$lt_cv_dlopen_self" = xyes; then
11623 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11625 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11626 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11627 $as_echo_n "(cached) " >&6
11628 else
11629 if test "$cross_compiling" = yes; then :
11630 lt_cv_dlopen_self_static=cross
11631 else
11632 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11633 lt_status=$lt_dlunknown
11634 cat > conftest.$ac_ext <<_LT_EOF
11635 #line 11635 "configure"
11636 #include "confdefs.h"
11638 #if HAVE_DLFCN_H
11639 #include <dlfcn.h>
11640 #endif
11642 #include <stdio.h>
11644 #ifdef RTLD_GLOBAL
11645 # define LT_DLGLOBAL RTLD_GLOBAL
11646 #else
11647 # ifdef DL_GLOBAL
11648 # define LT_DLGLOBAL DL_GLOBAL
11649 # else
11650 # define LT_DLGLOBAL 0
11651 # endif
11652 #endif
11654 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11655 find out it does not work in some platform. */
11656 #ifndef LT_DLLAZY_OR_NOW
11657 # ifdef RTLD_LAZY
11658 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11659 # else
11660 # ifdef DL_LAZY
11661 # define LT_DLLAZY_OR_NOW DL_LAZY
11662 # else
11663 # ifdef RTLD_NOW
11664 # define LT_DLLAZY_OR_NOW RTLD_NOW
11665 # else
11666 # ifdef DL_NOW
11667 # define LT_DLLAZY_OR_NOW DL_NOW
11668 # else
11669 # define LT_DLLAZY_OR_NOW 0
11670 # endif
11671 # endif
11672 # endif
11673 # endif
11674 #endif
11676 /* When -fvisbility=hidden is used, assume the code has been annotated
11677 correspondingly for the symbols needed. */
11678 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11679 void fnord () __attribute__((visibility("default")));
11680 #endif
11682 void fnord () { int i=42; }
11683 int main ()
11685 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11686 int status = $lt_dlunknown;
11688 if (self)
11690 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11691 else
11693 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11694 else puts (dlerror ());
11696 /* dlclose (self); */
11698 else
11699 puts (dlerror ());
11701 return status;
11703 _LT_EOF
11704 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11705 (eval $ac_link) 2>&5
11706 ac_status=$?
11707 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11708 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11709 (./conftest; exit; ) >&5 2>/dev/null
11710 lt_status=$?
11711 case x$lt_status in
11712 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11713 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11714 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11715 esac
11716 else :
11717 # compilation failed
11718 lt_cv_dlopen_self_static=no
11721 rm -fr conftest*
11725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11726 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11729 CPPFLAGS="$save_CPPFLAGS"
11730 LDFLAGS="$save_LDFLAGS"
11731 LIBS="$save_LIBS"
11733 esac
11735 case $lt_cv_dlopen_self in
11736 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11737 *) enable_dlopen_self=unknown ;;
11738 esac
11740 case $lt_cv_dlopen_self_static in
11741 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11742 *) enable_dlopen_self_static=unknown ;;
11743 esac
11762 striplib=
11763 old_striplib=
11764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11765 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11766 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11767 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11768 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11770 $as_echo "yes" >&6; }
11771 else
11772 # FIXME - insert some real tests, host_os isn't really good enough
11773 case $host_os in
11774 darwin*)
11775 if test -n "$STRIP" ; then
11776 striplib="$STRIP -x"
11777 old_striplib="$STRIP -S"
11778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11779 $as_echo "yes" >&6; }
11780 else
11781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11782 $as_echo "no" >&6; }
11786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11787 $as_echo "no" >&6; }
11789 esac
11803 # Report which library types will actually be built
11804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11805 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11807 $as_echo "$can_build_shared" >&6; }
11809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11810 $as_echo_n "checking whether to build shared libraries... " >&6; }
11811 test "$can_build_shared" = "no" && enable_shared=no
11813 # On AIX, shared libraries and static libraries use the same namespace, and
11814 # are all built from PIC.
11815 case $host_os in
11816 aix3*)
11817 test "$enable_shared" = yes && enable_static=no
11818 if test -n "$RANLIB"; then
11819 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11820 postinstall_cmds='$RANLIB $lib'
11824 aix[4-9]*)
11825 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11826 test "$enable_shared" = yes && enable_static=no
11829 esac
11830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11831 $as_echo "$enable_shared" >&6; }
11833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11834 $as_echo_n "checking whether to build static libraries... " >&6; }
11835 # Make sure either enable_shared or enable_static is yes.
11836 test "$enable_shared" = yes || enable_static=yes
11837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11838 $as_echo "$enable_static" >&6; }
11844 ac_ext=c
11845 ac_cpp='$CPP $CPPFLAGS'
11846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11850 CC="$lt_save_CC"
11852 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11853 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11854 (test "X$CXX" != "Xg++"))) ; then
11855 ac_ext=cpp
11856 ac_cpp='$CXXCPP $CPPFLAGS'
11857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11861 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11862 if test -z "$CXXCPP"; then
11863 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11864 $as_echo_n "(cached) " >&6
11865 else
11866 # Double quotes because CXXCPP needs to be expanded
11867 for CXXCPP in "$CXX -E" "/lib/cpp"
11869 ac_preproc_ok=false
11870 for ac_cxx_preproc_warn_flag in '' yes
11872 # Use a header file that comes with gcc, so configuring glibc
11873 # with a fresh cross-compiler works.
11874 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11875 # <limits.h> exists even on freestanding compilers.
11876 # On the NeXT, cc -E runs the code through the compiler's parser,
11877 # not just through cpp. "Syntax error" is here to catch this case.
11878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11879 /* end confdefs.h. */
11880 #ifdef __STDC__
11881 # include <limits.h>
11882 #else
11883 # include <assert.h>
11884 #endif
11885 Syntax error
11886 _ACEOF
11887 if ac_fn_cxx_try_cpp "$LINENO"; then :
11889 else
11890 # Broken: fails on valid input.
11891 continue
11893 rm -f conftest.err conftest.$ac_ext
11895 # OK, works on sane cases. Now check whether nonexistent headers
11896 # can be detected and how.
11897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11898 /* end confdefs.h. */
11899 #include <ac_nonexistent.h>
11900 _ACEOF
11901 if ac_fn_cxx_try_cpp "$LINENO"; then :
11902 # Broken: success on invalid input.
11903 continue
11904 else
11905 # Passes both tests.
11906 ac_preproc_ok=:
11907 break
11909 rm -f conftest.err conftest.$ac_ext
11911 done
11912 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11913 rm -f conftest.err conftest.$ac_ext
11914 if $ac_preproc_ok; then :
11915 break
11918 done
11919 ac_cv_prog_CXXCPP=$CXXCPP
11922 CXXCPP=$ac_cv_prog_CXXCPP
11923 else
11924 ac_cv_prog_CXXCPP=$CXXCPP
11926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11927 $as_echo "$CXXCPP" >&6; }
11928 ac_preproc_ok=false
11929 for ac_cxx_preproc_warn_flag in '' yes
11931 # Use a header file that comes with gcc, so configuring glibc
11932 # with a fresh cross-compiler works.
11933 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11934 # <limits.h> exists even on freestanding compilers.
11935 # On the NeXT, cc -E runs the code through the compiler's parser,
11936 # not just through cpp. "Syntax error" is here to catch this case.
11937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11938 /* end confdefs.h. */
11939 #ifdef __STDC__
11940 # include <limits.h>
11941 #else
11942 # include <assert.h>
11943 #endif
11944 Syntax error
11945 _ACEOF
11946 if ac_fn_cxx_try_cpp "$LINENO"; then :
11948 else
11949 # Broken: fails on valid input.
11950 continue
11952 rm -f conftest.err conftest.$ac_ext
11954 # OK, works on sane cases. Now check whether nonexistent headers
11955 # can be detected and how.
11956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11957 /* end confdefs.h. */
11958 #include <ac_nonexistent.h>
11959 _ACEOF
11960 if ac_fn_cxx_try_cpp "$LINENO"; then :
11961 # Broken: success on invalid input.
11962 continue
11963 else
11964 # Passes both tests.
11965 ac_preproc_ok=:
11966 break
11968 rm -f conftest.err conftest.$ac_ext
11970 done
11971 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11972 rm -f conftest.err conftest.$ac_ext
11973 if $ac_preproc_ok; then :
11975 else
11976 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11977 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11978 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
11979 See \`config.log' for more details." "$LINENO" 5; }
11982 ac_ext=c
11983 ac_cpp='$CPP $CPPFLAGS'
11984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11988 else
11989 _lt_caught_CXX_error=yes
11992 ac_ext=cpp
11993 ac_cpp='$CXXCPP $CPPFLAGS'
11994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11998 archive_cmds_need_lc_CXX=no
11999 allow_undefined_flag_CXX=
12000 always_export_symbols_CXX=no
12001 archive_expsym_cmds_CXX=
12002 compiler_needs_object_CXX=no
12003 export_dynamic_flag_spec_CXX=
12004 hardcode_direct_CXX=no
12005 hardcode_direct_absolute_CXX=no
12006 hardcode_libdir_flag_spec_CXX=
12007 hardcode_libdir_flag_spec_ld_CXX=
12008 hardcode_libdir_separator_CXX=
12009 hardcode_minus_L_CXX=no
12010 hardcode_shlibpath_var_CXX=unsupported
12011 hardcode_automatic_CXX=no
12012 inherit_rpath_CXX=no
12013 module_cmds_CXX=
12014 module_expsym_cmds_CXX=
12015 link_all_deplibs_CXX=unknown
12016 old_archive_cmds_CXX=$old_archive_cmds
12017 reload_flag_CXX=$reload_flag
12018 reload_cmds_CXX=$reload_cmds
12019 no_undefined_flag_CXX=
12020 whole_archive_flag_spec_CXX=
12021 enable_shared_with_static_runtimes_CXX=no
12023 # Source file extension for C++ test sources.
12024 ac_ext=cpp
12026 # Object file extension for compiled C++ test sources.
12027 objext=o
12028 objext_CXX=$objext
12030 # No sense in running all these tests if we already determined that
12031 # the CXX compiler isn't working. Some variables (like enable_shared)
12032 # are currently assumed to apply to all compilers on this platform,
12033 # and will be corrupted by setting them based on a non-working compiler.
12034 if test "$_lt_caught_CXX_error" != yes; then
12035 # Code to be used in simple compile tests
12036 lt_simple_compile_test_code="int some_variable = 0;"
12038 # Code to be used in simple link tests
12039 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12041 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12048 # If no C compiler was specified, use CC.
12049 LTCC=${LTCC-"$CC"}
12051 # If no C compiler flags were specified, use CFLAGS.
12052 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12054 # Allow CC to be a program name with arguments.
12055 compiler=$CC
12058 # save warnings/boilerplate of simple test code
12059 ac_outfile=conftest.$ac_objext
12060 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12061 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12062 _lt_compiler_boilerplate=`cat conftest.err`
12063 $RM conftest*
12065 ac_outfile=conftest.$ac_objext
12066 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12067 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12068 _lt_linker_boilerplate=`cat conftest.err`
12069 $RM -r conftest*
12072 # Allow CC to be a program name with arguments.
12073 lt_save_CC=$CC
12074 lt_save_LD=$LD
12075 lt_save_GCC=$GCC
12076 GCC=$GXX
12077 lt_save_with_gnu_ld=$with_gnu_ld
12078 lt_save_path_LD=$lt_cv_path_LD
12079 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12080 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12081 else
12082 $as_unset lt_cv_prog_gnu_ld
12084 if test -n "${lt_cv_path_LDCXX+set}"; then
12085 lt_cv_path_LD=$lt_cv_path_LDCXX
12086 else
12087 $as_unset lt_cv_path_LD
12089 test -z "${LDCXX+set}" || LD=$LDCXX
12090 CC=${CXX-"c++"}
12091 compiler=$CC
12092 compiler_CXX=$CC
12093 for cc_temp in $compiler""; do
12094 case $cc_temp in
12095 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12096 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12097 \-*) ;;
12098 *) break;;
12099 esac
12100 done
12101 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12104 if test -n "$compiler"; then
12105 # We don't want -fno-exception when compiling C++ code, so set the
12106 # no_builtin_flag separately
12107 if test "$GXX" = yes; then
12108 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12109 else
12110 lt_prog_compiler_no_builtin_flag_CXX=
12113 if test "$GXX" = yes; then
12114 # Set up default GNU C++ configuration
12118 # Check whether --with-gnu-ld was given.
12119 if test "${with_gnu_ld+set}" = set; then :
12120 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12121 else
12122 with_gnu_ld=no
12125 ac_prog=ld
12126 if test "$GCC" = yes; then
12127 # Check if gcc -print-prog-name=ld gives a path.
12128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12129 $as_echo_n "checking for ld used by $CC... " >&6; }
12130 case $host in
12131 *-*-mingw*)
12132 # gcc leaves a trailing carriage return which upsets mingw
12133 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12135 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12136 esac
12137 case $ac_prog in
12138 # Accept absolute paths.
12139 [\\/]* | ?:[\\/]*)
12140 re_direlt='/[^/][^/]*/\.\./'
12141 # Canonicalize the pathname of ld
12142 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12143 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12144 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12145 done
12146 test -z "$LD" && LD="$ac_prog"
12149 # If it fails, then pretend we aren't using GCC.
12150 ac_prog=ld
12153 # If it is relative, then search for the first ld in PATH.
12154 with_gnu_ld=unknown
12156 esac
12157 elif test "$with_gnu_ld" = yes; then
12158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12159 $as_echo_n "checking for GNU ld... " >&6; }
12160 else
12161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12162 $as_echo_n "checking for non-GNU ld... " >&6; }
12164 if test "${lt_cv_path_LD+set}" = set; then :
12165 $as_echo_n "(cached) " >&6
12166 else
12167 if test -z "$LD"; then
12168 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12169 for ac_dir in $PATH; do
12170 IFS="$lt_save_ifs"
12171 test -z "$ac_dir" && ac_dir=.
12172 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12173 lt_cv_path_LD="$ac_dir/$ac_prog"
12174 # Check to see if the program is GNU ld. I'd rather use --version,
12175 # but apparently some variants of GNU ld only accept -v.
12176 # Break only if it was the GNU/non-GNU ld that we prefer.
12177 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12178 *GNU* | *'with BFD'*)
12179 test "$with_gnu_ld" != no && break
12182 test "$with_gnu_ld" != yes && break
12184 esac
12186 done
12187 IFS="$lt_save_ifs"
12188 else
12189 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12193 LD="$lt_cv_path_LD"
12194 if test -n "$LD"; then
12195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12196 $as_echo "$LD" >&6; }
12197 else
12198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12199 $as_echo "no" >&6; }
12201 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12203 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12204 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12205 $as_echo_n "(cached) " >&6
12206 else
12207 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12208 case `$LD -v 2>&1 </dev/null` in
12209 *GNU* | *'with BFD'*)
12210 lt_cv_prog_gnu_ld=yes
12213 lt_cv_prog_gnu_ld=no
12215 esac
12217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12218 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12219 with_gnu_ld=$lt_cv_prog_gnu_ld
12227 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12228 # archiving commands below assume that GNU ld is being used.
12229 if test "$with_gnu_ld" = yes; then
12230 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12231 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'
12233 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12234 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12236 # If archive_cmds runs LD, not CC, wlarc should be empty
12237 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12238 # investigate it a little bit more. (MM)
12239 wlarc='${wl}'
12241 # ancient GNU ld didn't support --whole-archive et. al.
12242 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12243 $GREP 'no-whole-archive' > /dev/null; then
12244 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12245 else
12246 whole_archive_flag_spec_CXX=
12248 else
12249 with_gnu_ld=no
12250 wlarc=
12252 # A generic and very simple default shared library creation
12253 # command for GNU C++ for the case where it uses the native
12254 # linker, instead of GNU ld. If possible, this setting should
12255 # overridden to take advantage of the native linker features on
12256 # the platform it is being used on.
12257 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12260 # Commands to make compiler produce verbose output that lists
12261 # what "hidden" libraries, object files and flags are used when
12262 # linking a shared library.
12263 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12265 else
12266 GXX=no
12267 with_gnu_ld=no
12268 wlarc=
12271 # PORTME: fill in a description of your system's C++ link characteristics
12272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12273 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12274 ld_shlibs_CXX=yes
12275 case $host_os in
12276 aix3*)
12277 # FIXME: insert proper C++ library support
12278 ld_shlibs_CXX=no
12280 aix[4-9]*)
12281 if test "$host_cpu" = ia64; then
12282 # On IA64, the linker does run time linking by default, so we don't
12283 # have to do anything special.
12284 aix_use_runtimelinking=no
12285 exp_sym_flag='-Bexport'
12286 no_entry_flag=""
12287 else
12288 aix_use_runtimelinking=no
12290 # Test if we are trying to use run time linking or normal
12291 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12292 # need to do runtime linking.
12293 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12294 for ld_flag in $LDFLAGS; do
12295 case $ld_flag in
12296 *-brtl*)
12297 aix_use_runtimelinking=yes
12298 break
12300 esac
12301 done
12303 esac
12305 exp_sym_flag='-bexport'
12306 no_entry_flag='-bnoentry'
12309 # When large executables or shared objects are built, AIX ld can
12310 # have problems creating the table of contents. If linking a library
12311 # or program results in "error TOC overflow" add -mminimal-toc to
12312 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12313 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12315 archive_cmds_CXX=''
12316 hardcode_direct_CXX=yes
12317 hardcode_direct_absolute_CXX=yes
12318 hardcode_libdir_separator_CXX=':'
12319 link_all_deplibs_CXX=yes
12320 file_list_spec_CXX='${wl}-f,'
12322 if test "$GXX" = yes; then
12323 case $host_os in aix4.[012]|aix4.[012].*)
12324 # We only want to do this on AIX 4.2 and lower, the check
12325 # below for broken collect2 doesn't work under 4.3+
12326 collect2name=`${CC} -print-prog-name=collect2`
12327 if test -f "$collect2name" &&
12328 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12329 then
12330 # We have reworked collect2
12332 else
12333 # We have old collect2
12334 hardcode_direct_CXX=unsupported
12335 # It fails to find uninstalled libraries when the uninstalled
12336 # path is not listed in the libpath. Setting hardcode_minus_L
12337 # to unsupported forces relinking
12338 hardcode_minus_L_CXX=yes
12339 hardcode_libdir_flag_spec_CXX='-L$libdir'
12340 hardcode_libdir_separator_CXX=
12342 esac
12343 shared_flag='-shared'
12344 if test "$aix_use_runtimelinking" = yes; then
12345 shared_flag="$shared_flag "'${wl}-G'
12347 else
12348 # not using gcc
12349 if test "$host_cpu" = ia64; then
12350 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12351 # chokes on -Wl,-G. The following line is correct:
12352 shared_flag='-G'
12353 else
12354 if test "$aix_use_runtimelinking" = yes; then
12355 shared_flag='${wl}-G'
12356 else
12357 shared_flag='${wl}-bM:SRE'
12362 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12363 # It seems that -bexpall does not export symbols beginning with
12364 # underscore (_), so it is better to generate a list of symbols to
12365 # export.
12366 always_export_symbols_CXX=yes
12367 if test "$aix_use_runtimelinking" = yes; then
12368 # Warning - without using the other runtime loading flags (-brtl),
12369 # -berok will link without error, but may produce a broken library.
12370 allow_undefined_flag_CXX='-berok'
12371 # Determine the default libpath from the value encoded in an empty
12372 # executable.
12373 if test x$gcc_no_link = xyes; then
12374 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12377 /* end confdefs.h. */
12380 main ()
12384 return 0;
12386 _ACEOF
12387 if ac_fn_cxx_try_link "$LINENO"; then :
12389 lt_aix_libpath_sed='
12390 /Import File Strings/,/^$/ {
12391 /^0/ {
12392 s/^0 *\(.*\)$/\1/
12396 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12397 # Check for a 64-bit object if we didn't find anything.
12398 if test -z "$aix_libpath"; then
12399 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12402 rm -f core conftest.err conftest.$ac_objext \
12403 conftest$ac_exeext conftest.$ac_ext
12404 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12406 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12408 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"
12409 else
12410 if test "$host_cpu" = ia64; then
12411 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12412 allow_undefined_flag_CXX="-z nodefs"
12413 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"
12414 else
12415 # Determine the default libpath from the value encoded in an
12416 # empty executable.
12417 if test x$gcc_no_link = xyes; then
12418 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12421 /* end confdefs.h. */
12424 main ()
12428 return 0;
12430 _ACEOF
12431 if ac_fn_cxx_try_link "$LINENO"; then :
12433 lt_aix_libpath_sed='
12434 /Import File Strings/,/^$/ {
12435 /^0/ {
12436 s/^0 *\(.*\)$/\1/
12440 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12441 # Check for a 64-bit object if we didn't find anything.
12442 if test -z "$aix_libpath"; then
12443 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12446 rm -f core conftest.err conftest.$ac_objext \
12447 conftest$ac_exeext conftest.$ac_ext
12448 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12450 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12451 # Warning - without using the other run time loading flags,
12452 # -berok will link without error, but may produce a broken library.
12453 no_undefined_flag_CXX=' ${wl}-bernotok'
12454 allow_undefined_flag_CXX=' ${wl}-berok'
12455 if test "$with_gnu_ld" = yes; then
12456 # We only use this code for GNU lds that support --whole-archive.
12457 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12458 else
12459 # Exported symbols can be pulled into shared objects from archives
12460 whole_archive_flag_spec_CXX='$convenience'
12462 archive_cmds_need_lc_CXX=yes
12463 # This is similar to how AIX traditionally builds its shared
12464 # libraries.
12465 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'
12470 beos*)
12471 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12472 allow_undefined_flag_CXX=unsupported
12473 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12474 # support --undefined. This deserves some investigation. FIXME
12475 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12476 else
12477 ld_shlibs_CXX=no
12481 chorus*)
12482 case $cc_basename in
12484 # FIXME: insert proper C++ library support
12485 ld_shlibs_CXX=no
12487 esac
12490 cygwin* | mingw* | pw32* | cegcc*)
12491 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12492 # as there is no search path for DLLs.
12493 hardcode_libdir_flag_spec_CXX='-L$libdir'
12494 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12495 allow_undefined_flag_CXX=unsupported
12496 always_export_symbols_CXX=no
12497 enable_shared_with_static_runtimes_CXX=yes
12499 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12500 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'
12501 # If the export-symbols file already is a .def file (1st line
12502 # is EXPORTS), use it as is; otherwise, prepend...
12503 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12504 cp $export_symbols $output_objdir/$soname.def;
12505 else
12506 echo EXPORTS > $output_objdir/$soname.def;
12507 cat $export_symbols >> $output_objdir/$soname.def;
12509 $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'
12510 else
12511 ld_shlibs_CXX=no
12514 darwin* | rhapsody*)
12517 archive_cmds_need_lc_CXX=no
12518 hardcode_direct_CXX=no
12519 hardcode_automatic_CXX=yes
12520 hardcode_shlibpath_var_CXX=unsupported
12521 if test "$lt_cv_ld_force_load" = "yes"; then
12522 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\"`'
12523 else
12524 whole_archive_flag_spec_CXX=''
12526 link_all_deplibs_CXX=yes
12527 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12528 case $cc_basename in
12529 ifort*) _lt_dar_can_shared=yes ;;
12530 *) _lt_dar_can_shared=$GCC ;;
12531 esac
12532 if test "$_lt_dar_can_shared" = "yes"; then
12533 output_verbose_link_cmd=func_echo_all
12534 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}"
12535 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12536 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}"
12537 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}"
12538 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12539 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}"
12540 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}"
12543 else
12544 ld_shlibs_CXX=no
12549 dgux*)
12550 case $cc_basename in
12551 ec++*)
12552 # FIXME: insert proper C++ library support
12553 ld_shlibs_CXX=no
12555 ghcx*)
12556 # Green Hills C++ Compiler
12557 # FIXME: insert proper C++ library support
12558 ld_shlibs_CXX=no
12561 # FIXME: insert proper C++ library support
12562 ld_shlibs_CXX=no
12564 esac
12567 freebsd2.*)
12568 # C++ shared libraries reported to be fairly broken before
12569 # switch to ELF
12570 ld_shlibs_CXX=no
12573 freebsd-elf*)
12574 archive_cmds_need_lc_CXX=no
12577 freebsd* | dragonfly*)
12578 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12579 # conventions
12580 ld_shlibs_CXX=yes
12583 gnu*)
12586 haiku*)
12587 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12588 link_all_deplibs_CXX=yes
12591 hpux9*)
12592 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12593 hardcode_libdir_separator_CXX=:
12594 export_dynamic_flag_spec_CXX='${wl}-E'
12595 hardcode_direct_CXX=yes
12596 hardcode_minus_L_CXX=yes # Not in the search PATH,
12597 # but as the default
12598 # location of the library.
12600 case $cc_basename in
12601 CC*)
12602 # FIXME: insert proper C++ library support
12603 ld_shlibs_CXX=no
12605 aCC*)
12606 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'
12607 # Commands to make compiler produce verbose output that lists
12608 # what "hidden" libraries, object files and flags are used when
12609 # linking a shared library.
12611 # There doesn't appear to be a way to prevent this compiler from
12612 # explicitly linking system object files so we need to strip them
12613 # from the output so that they don't get included in the library
12614 # dependencies.
12615 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"'
12618 if test "$GXX" = yes; then
12619 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'
12620 else
12621 # FIXME: insert proper C++ library support
12622 ld_shlibs_CXX=no
12625 esac
12628 hpux10*|hpux11*)
12629 if test $with_gnu_ld = no; then
12630 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12631 hardcode_libdir_separator_CXX=:
12633 case $host_cpu in
12634 hppa*64*|ia64*)
12637 export_dynamic_flag_spec_CXX='${wl}-E'
12639 esac
12641 case $host_cpu in
12642 hppa*64*|ia64*)
12643 hardcode_direct_CXX=no
12644 hardcode_shlibpath_var_CXX=no
12647 hardcode_direct_CXX=yes
12648 hardcode_direct_absolute_CXX=yes
12649 hardcode_minus_L_CXX=yes # Not in the search PATH,
12650 # but as the default
12651 # location of the library.
12653 esac
12655 case $cc_basename in
12656 CC*)
12657 # FIXME: insert proper C++ library support
12658 ld_shlibs_CXX=no
12660 aCC*)
12661 case $host_cpu in
12662 hppa*64*)
12663 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12665 ia64*)
12666 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12669 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12671 esac
12672 # Commands to make compiler produce verbose output that lists
12673 # what "hidden" libraries, object files and flags are used when
12674 # linking a shared library.
12676 # There doesn't appear to be a way to prevent this compiler from
12677 # explicitly linking system object files so we need to strip them
12678 # from the output so that they don't get included in the library
12679 # dependencies.
12680 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"'
12683 if test "$GXX" = yes; then
12684 if test $with_gnu_ld = no; then
12685 case $host_cpu in
12686 hppa*64*)
12687 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12689 ia64*)
12690 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12693 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'
12695 esac
12697 else
12698 # FIXME: insert proper C++ library support
12699 ld_shlibs_CXX=no
12702 esac
12705 interix[3-9]*)
12706 hardcode_direct_CXX=no
12707 hardcode_shlibpath_var_CXX=no
12708 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12709 export_dynamic_flag_spec_CXX='${wl}-E'
12710 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12711 # Instead, shared libraries are loaded at an image base (0x10000000 by
12712 # default) and relocated if they conflict, which is a slow very memory
12713 # consuming and fragmenting process. To avoid this, we pick a random,
12714 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12715 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12716 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'
12717 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'
12719 irix5* | irix6*)
12720 case $cc_basename in
12721 CC*)
12722 # SGI C++
12723 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'
12725 # Archives containing C++ object files must be created using
12726 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12727 # necessary to make sure instantiated templates are included
12728 # in the archive.
12729 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12732 if test "$GXX" = yes; then
12733 if test "$with_gnu_ld" = no; then
12734 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'
12735 else
12736 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'
12739 link_all_deplibs_CXX=yes
12741 esac
12742 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12743 hardcode_libdir_separator_CXX=:
12744 inherit_rpath_CXX=yes
12747 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12748 case $cc_basename in
12749 KCC*)
12750 # Kuck and Associates, Inc. (KAI) C++ Compiler
12752 # KCC will only create a shared library if the output file
12753 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12754 # to its proper name (with version) after linking.
12755 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'
12756 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'
12757 # Commands to make compiler produce verbose output that lists
12758 # what "hidden" libraries, object files and flags are used when
12759 # linking a shared library.
12761 # There doesn't appear to be a way to prevent this compiler from
12762 # explicitly linking system object files so we need to strip them
12763 # from the output so that they don't get included in the library
12764 # dependencies.
12765 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"'
12767 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12768 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12770 # Archives containing C++ object files must be created using
12771 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12772 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12774 icpc* | ecpc* )
12775 # Intel C++
12776 with_gnu_ld=yes
12777 # version 8.0 and above of icpc choke on multiply defined symbols
12778 # if we add $predep_objects and $postdep_objects, however 7.1 and
12779 # earlier do not add the objects themselves.
12780 case `$CC -V 2>&1` in
12781 *"Version 7."*)
12782 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12783 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'
12785 *) # Version 8.0 or newer
12786 tmp_idyn=
12787 case $host_cpu in
12788 ia64*) tmp_idyn=' -i_dynamic';;
12789 esac
12790 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12791 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'
12793 esac
12794 archive_cmds_need_lc_CXX=no
12795 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12796 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12797 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12799 pgCC* | pgcpp*)
12800 # Portland Group C++ compiler
12801 case `$CC -V` in
12802 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12803 prelink_cmds_CXX='tpldir=Template.dir~
12804 rm -rf $tpldir~
12805 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12806 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12807 old_archive_cmds_CXX='tpldir=Template.dir~
12808 rm -rf $tpldir~
12809 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12810 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12811 $RANLIB $oldlib'
12812 archive_cmds_CXX='tpldir=Template.dir~
12813 rm -rf $tpldir~
12814 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12815 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12816 archive_expsym_cmds_CXX='tpldir=Template.dir~
12817 rm -rf $tpldir~
12818 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12819 $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'
12821 *) # Version 6 and above use weak symbols
12822 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12823 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'
12825 esac
12827 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12828 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12829 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'
12831 cxx*)
12832 # Compaq C++
12833 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12834 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'
12836 runpath_var=LD_RUN_PATH
12837 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12838 hardcode_libdir_separator_CXX=:
12840 # Commands to make compiler produce verbose output that lists
12841 # what "hidden" libraries, object files and flags are used when
12842 # linking a shared library.
12844 # There doesn't appear to be a way to prevent this compiler from
12845 # explicitly linking system object files so we need to strip them
12846 # from the output so that they don't get included in the library
12847 # dependencies.
12848 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'
12850 xl* | mpixl* | bgxl*)
12851 # IBM XL 8.0 on PPC, with GNU ld
12852 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12853 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12854 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12855 if test "x$supports_anon_versioning" = xyes; then
12856 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12857 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12858 echo "local: *; };" >> $output_objdir/$libname.ver~
12859 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12863 case `$CC -V 2>&1 | sed 5q` in
12864 *Sun\ C*)
12865 # Sun C++ 5.9
12866 no_undefined_flag_CXX=' -zdefs'
12867 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12868 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'
12869 hardcode_libdir_flag_spec_CXX='-R$libdir'
12870 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'
12871 compiler_needs_object_CXX=yes
12873 # Not sure whether something based on
12874 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12875 # would be better.
12876 output_verbose_link_cmd='func_echo_all'
12878 # Archives containing C++ object files must be created using
12879 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12880 # necessary to make sure instantiated templates are included
12881 # in the archive.
12882 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12884 esac
12886 esac
12889 lynxos*)
12890 # FIXME: insert proper C++ library support
12891 ld_shlibs_CXX=no
12894 m88k*)
12895 # FIXME: insert proper C++ library support
12896 ld_shlibs_CXX=no
12899 mvs*)
12900 case $cc_basename in
12901 cxx*)
12902 # FIXME: insert proper C++ library support
12903 ld_shlibs_CXX=no
12906 # FIXME: insert proper C++ library support
12907 ld_shlibs_CXX=no
12909 esac
12912 netbsd*)
12913 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12914 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12915 wlarc=
12916 hardcode_libdir_flag_spec_CXX='-R$libdir'
12917 hardcode_direct_CXX=yes
12918 hardcode_shlibpath_var_CXX=no
12920 # Workaround some broken pre-1.5 toolchains
12921 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12924 *nto* | *qnx*)
12925 ld_shlibs_CXX=yes
12928 openbsd2*)
12929 # C++ shared libraries are fairly broken
12930 ld_shlibs_CXX=no
12933 openbsd*)
12934 if test -f /usr/libexec/ld.so; then
12935 hardcode_direct_CXX=yes
12936 hardcode_shlibpath_var_CXX=no
12937 hardcode_direct_absolute_CXX=yes
12938 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12939 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12940 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12941 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12942 export_dynamic_flag_spec_CXX='${wl}-E'
12943 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12945 output_verbose_link_cmd=func_echo_all
12946 else
12947 ld_shlibs_CXX=no
12951 osf3* | osf4* | osf5*)
12952 case $cc_basename in
12953 KCC*)
12954 # Kuck and Associates, Inc. (KAI) C++ Compiler
12956 # KCC will only create a shared library if the output file
12957 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12958 # to its proper name (with version) after linking.
12959 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'
12961 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12962 hardcode_libdir_separator_CXX=:
12964 # Archives containing C++ object files must be created using
12965 # the KAI C++ compiler.
12966 case $host in
12967 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12968 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12969 esac
12971 RCC*)
12972 # Rational C++ 2.4.1
12973 # FIXME: insert proper C++ library support
12974 ld_shlibs_CXX=no
12976 cxx*)
12977 case $host in
12978 osf3*)
12979 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12980 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'
12981 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12984 allow_undefined_flag_CXX=' -expect_unresolved \*'
12985 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'
12986 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12987 echo "-hidden">> $lib.exp~
12988 $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~
12989 $RM $lib.exp'
12990 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12992 esac
12994 hardcode_libdir_separator_CXX=:
12996 # Commands to make compiler produce verbose output that lists
12997 # what "hidden" libraries, object files and flags are used when
12998 # linking a shared library.
13000 # There doesn't appear to be a way to prevent this compiler from
13001 # explicitly linking system object files so we need to strip them
13002 # from the output so that they don't get included in the library
13003 # dependencies.
13004 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"'
13007 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13008 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13009 case $host in
13010 osf3*)
13011 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'
13014 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'
13016 esac
13018 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13019 hardcode_libdir_separator_CXX=:
13021 # Commands to make compiler produce verbose output that lists
13022 # what "hidden" libraries, object files and flags are used when
13023 # linking a shared library.
13024 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13026 else
13027 # FIXME: insert proper C++ library support
13028 ld_shlibs_CXX=no
13031 esac
13034 psos*)
13035 # FIXME: insert proper C++ library support
13036 ld_shlibs_CXX=no
13039 sunos4*)
13040 case $cc_basename in
13041 CC*)
13042 # Sun C++ 4.x
13043 # FIXME: insert proper C++ library support
13044 ld_shlibs_CXX=no
13046 lcc*)
13047 # Lucid
13048 # FIXME: insert proper C++ library support
13049 ld_shlibs_CXX=no
13052 # FIXME: insert proper C++ library support
13053 ld_shlibs_CXX=no
13055 esac
13058 solaris*)
13059 case $cc_basename in
13060 CC*)
13061 # Sun C++ 4.2, 5.x and Centerline C++
13062 archive_cmds_need_lc_CXX=yes
13063 no_undefined_flag_CXX=' -zdefs'
13064 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13065 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13066 $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'
13068 hardcode_libdir_flag_spec_CXX='-R$libdir'
13069 hardcode_shlibpath_var_CXX=no
13070 case $host_os in
13071 solaris2.[0-5] | solaris2.[0-5].*) ;;
13073 # The compiler driver will combine and reorder linker options,
13074 # but understands `-z linker_flag'.
13075 # Supported since Solaris 2.6 (maybe 2.5.1?)
13076 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13078 esac
13079 link_all_deplibs_CXX=yes
13081 output_verbose_link_cmd='func_echo_all'
13083 # Archives containing C++ object files must be created using
13084 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13085 # necessary to make sure instantiated templates are included
13086 # in the archive.
13087 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13089 gcx*)
13090 # Green Hills C++ Compiler
13091 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13093 # The C++ compiler must be used to create the archive.
13094 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13097 # GNU C++ compiler with Solaris linker
13098 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13099 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13100 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13101 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13102 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13103 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13105 # Commands to make compiler produce verbose output that lists
13106 # what "hidden" libraries, object files and flags are used when
13107 # linking a shared library.
13108 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13109 else
13110 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13111 # platform.
13112 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13113 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13114 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13116 # Commands to make compiler produce verbose output that lists
13117 # what "hidden" libraries, object files and flags are used when
13118 # linking a shared library.
13119 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13122 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13123 case $host_os in
13124 solaris2.[0-5] | solaris2.[0-5].*) ;;
13126 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13128 esac
13131 esac
13134 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13135 no_undefined_flag_CXX='${wl}-z,text'
13136 archive_cmds_need_lc_CXX=no
13137 hardcode_shlibpath_var_CXX=no
13138 runpath_var='LD_RUN_PATH'
13140 case $cc_basename in
13141 CC*)
13142 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13143 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13146 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13147 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13149 esac
13152 sysv5* | sco3.2v5* | sco5v6*)
13153 # Note: We can NOT use -z defs as we might desire, because we do not
13154 # link with -lc, and that would cause any symbols used from libc to
13155 # always be unresolved, which means just about no library would
13156 # ever link correctly. If we're not using GNU ld we use -z text
13157 # though, which does catch some bad symbols but isn't as heavy-handed
13158 # as -z defs.
13159 no_undefined_flag_CXX='${wl}-z,text'
13160 allow_undefined_flag_CXX='${wl}-z,nodefs'
13161 archive_cmds_need_lc_CXX=no
13162 hardcode_shlibpath_var_CXX=no
13163 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13164 hardcode_libdir_separator_CXX=':'
13165 link_all_deplibs_CXX=yes
13166 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13167 runpath_var='LD_RUN_PATH'
13169 case $cc_basename in
13170 CC*)
13171 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13172 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13173 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13174 '"$old_archive_cmds_CXX"
13175 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13176 '"$reload_cmds_CXX"
13179 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13180 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13182 esac
13185 tandem*)
13186 case $cc_basename in
13187 NCC*)
13188 # NonStop-UX NCC 3.20
13189 # FIXME: insert proper C++ library support
13190 ld_shlibs_CXX=no
13193 # FIXME: insert proper C++ library support
13194 ld_shlibs_CXX=no
13196 esac
13199 vxworks*)
13200 # FIXME: insert proper C++ library support
13201 ld_shlibs_CXX=no
13205 # FIXME: insert proper C++ library support
13206 ld_shlibs_CXX=no
13208 esac
13210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13211 $as_echo "$ld_shlibs_CXX" >&6; }
13212 test "$ld_shlibs_CXX" = no && can_build_shared=no
13214 GCC_CXX="$GXX"
13215 LD_CXX="$LD"
13217 ## CAVEAT EMPTOR:
13218 ## There is no encapsulation within the following macros, do not change
13219 ## the running order or otherwise move them around unless you know exactly
13220 ## what you are doing...
13221 # Dependencies to place before and after the object being linked:
13222 predep_objects_CXX=
13223 postdep_objects_CXX=
13224 predeps_CXX=
13225 postdeps_CXX=
13226 compiler_lib_search_path_CXX=
13228 cat > conftest.$ac_ext <<_LT_EOF
13229 class Foo
13231 public:
13232 Foo (void) { a = 0; }
13233 private:
13234 int a;
13236 _LT_EOF
13238 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13239 (eval $ac_compile) 2>&5
13240 ac_status=$?
13241 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13242 test $ac_status = 0; }; then
13243 # Parse the compiler output and extract the necessary
13244 # objects, libraries and library flags.
13246 # Sentinel used to keep track of whether or not we are before
13247 # the conftest object file.
13248 pre_test_object_deps_done=no
13250 for p in `eval "$output_verbose_link_cmd"`; do
13251 case $p in
13253 -L* | -R* | -l*)
13254 # Some compilers place space between "-{L,R}" and the path.
13255 # Remove the space.
13256 if test $p = "-L" ||
13257 test $p = "-R"; then
13258 prev=$p
13259 continue
13260 else
13261 prev=
13264 if test "$pre_test_object_deps_done" = no; then
13265 case $p in
13266 -L* | -R*)
13267 # Internal compiler library paths should come after those
13268 # provided the user. The postdeps already come after the
13269 # user supplied libs so there is no need to process them.
13270 if test -z "$compiler_lib_search_path_CXX"; then
13271 compiler_lib_search_path_CXX="${prev}${p}"
13272 else
13273 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13276 # The "-l" case would never come before the object being
13277 # linked, so don't bother handling this case.
13278 esac
13279 else
13280 if test -z "$postdeps_CXX"; then
13281 postdeps_CXX="${prev}${p}"
13282 else
13283 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13288 *.$objext)
13289 # This assumes that the test object file only shows up
13290 # once in the compiler output.
13291 if test "$p" = "conftest.$objext"; then
13292 pre_test_object_deps_done=yes
13293 continue
13296 if test "$pre_test_object_deps_done" = no; then
13297 if test -z "$predep_objects_CXX"; then
13298 predep_objects_CXX="$p"
13299 else
13300 predep_objects_CXX="$predep_objects_CXX $p"
13302 else
13303 if test -z "$postdep_objects_CXX"; then
13304 postdep_objects_CXX="$p"
13305 else
13306 postdep_objects_CXX="$postdep_objects_CXX $p"
13311 *) ;; # Ignore the rest.
13313 esac
13314 done
13316 # Clean up.
13317 rm -f a.out a.exe
13318 else
13319 echo "libtool.m4: error: problem compiling CXX test program"
13322 $RM -f confest.$objext
13324 # PORTME: override above test on systems where it is broken
13325 case $host_os in
13326 interix[3-9]*)
13327 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13328 # hack all around it, let's just trust "g++" to DTRT.
13329 predep_objects_CXX=
13330 postdep_objects_CXX=
13331 postdeps_CXX=
13334 linux*)
13335 case `$CC -V 2>&1 | sed 5q` in
13336 *Sun\ C*)
13337 # Sun C++ 5.9
13339 # The more standards-conforming stlport4 library is
13340 # incompatible with the Cstd library. Avoid specifying
13341 # it if it's in CXXFLAGS. Ignore libCrun as
13342 # -library=stlport4 depends on it.
13343 case " $CXX $CXXFLAGS " in
13344 *" -library=stlport4 "*)
13345 solaris_use_stlport4=yes
13347 esac
13349 if test "$solaris_use_stlport4" != yes; then
13350 postdeps_CXX='-library=Cstd -library=Crun'
13353 esac
13356 solaris*)
13357 case $cc_basename in
13358 CC*)
13359 # The more standards-conforming stlport4 library is
13360 # incompatible with the Cstd library. Avoid specifying
13361 # it if it's in CXXFLAGS. Ignore libCrun as
13362 # -library=stlport4 depends on it.
13363 case " $CXX $CXXFLAGS " in
13364 *" -library=stlport4 "*)
13365 solaris_use_stlport4=yes
13367 esac
13369 # Adding this requires a known-good setup of shared libraries for
13370 # Sun compiler versions before 5.6, else PIC objects from an old
13371 # archive will be linked into the output, leading to subtle bugs.
13372 if test "$solaris_use_stlport4" != yes; then
13373 postdeps_CXX='-library=Cstd -library=Crun'
13376 esac
13378 esac
13381 case " $postdeps_CXX " in
13382 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13383 esac
13384 compiler_lib_search_dirs_CXX=
13385 if test -n "${compiler_lib_search_path_CXX}"; then
13386 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13419 lt_prog_compiler_wl_CXX=
13420 lt_prog_compiler_pic_CXX=
13421 lt_prog_compiler_static_CXX=
13423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13424 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13426 # C++ specific cases for pic, static, wl, etc.
13427 if test "$GXX" = yes; then
13428 lt_prog_compiler_wl_CXX='-Wl,'
13429 lt_prog_compiler_static_CXX='-static'
13431 case $host_os in
13432 aix*)
13433 # All AIX code is PIC.
13434 if test "$host_cpu" = ia64; then
13435 # AIX 5 now supports IA64 processor
13436 lt_prog_compiler_static_CXX='-Bstatic'
13438 lt_prog_compiler_pic_CXX='-fPIC'
13441 amigaos*)
13442 case $host_cpu in
13443 powerpc)
13444 # see comment about AmigaOS4 .so support
13445 lt_prog_compiler_pic_CXX='-fPIC'
13447 m68k)
13448 # FIXME: we need at least 68020 code to build shared libraries, but
13449 # adding the `-m68020' flag to GCC prevents building anything better,
13450 # like `-m68040'.
13451 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13453 esac
13456 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13457 # PIC is the default for these OSes.
13459 mingw* | cygwin* | os2* | pw32* | cegcc*)
13460 # This hack is so that the source file can tell whether it is being
13461 # built for inclusion in a dll (and should export symbols for example).
13462 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13463 # (--disable-auto-import) libraries
13464 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13466 darwin* | rhapsody*)
13467 # PIC is the default on this platform
13468 # Common symbols not allowed in MH_DYLIB files
13469 lt_prog_compiler_pic_CXX='-fno-common'
13471 *djgpp*)
13472 # DJGPP does not support shared libraries at all
13473 lt_prog_compiler_pic_CXX=
13475 haiku*)
13476 # PIC is the default for Haiku.
13477 # The "-static" flag exists, but is broken.
13478 lt_prog_compiler_static_CXX=
13480 interix[3-9]*)
13481 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13482 # Instead, we relocate shared libraries at runtime.
13484 sysv4*MP*)
13485 if test -d /usr/nec; then
13486 lt_prog_compiler_pic_CXX=-Kconform_pic
13489 hpux*)
13490 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13491 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13492 # sets the default TLS model and affects inlining.
13493 case $host_cpu in
13494 hppa*64*)
13497 lt_prog_compiler_pic_CXX='-fPIC'
13499 esac
13501 *qnx* | *nto*)
13502 # QNX uses GNU C++, but need to define -shared option too, otherwise
13503 # it will coredump.
13504 lt_prog_compiler_pic_CXX='-fPIC -shared'
13507 lt_prog_compiler_pic_CXX='-fPIC'
13509 esac
13510 else
13511 case $host_os in
13512 aix[4-9]*)
13513 # All AIX code is PIC.
13514 if test "$host_cpu" = ia64; then
13515 # AIX 5 now supports IA64 processor
13516 lt_prog_compiler_static_CXX='-Bstatic'
13517 else
13518 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13521 chorus*)
13522 case $cc_basename in
13523 cxch68*)
13524 # Green Hills C++ Compiler
13525 # _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"
13527 esac
13529 dgux*)
13530 case $cc_basename in
13531 ec++*)
13532 lt_prog_compiler_pic_CXX='-KPIC'
13534 ghcx*)
13535 # Green Hills C++ Compiler
13536 lt_prog_compiler_pic_CXX='-pic'
13540 esac
13542 freebsd* | dragonfly*)
13543 # FreeBSD uses GNU C++
13545 hpux9* | hpux10* | hpux11*)
13546 case $cc_basename in
13547 CC*)
13548 lt_prog_compiler_wl_CXX='-Wl,'
13549 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13550 if test "$host_cpu" != ia64; then
13551 lt_prog_compiler_pic_CXX='+Z'
13554 aCC*)
13555 lt_prog_compiler_wl_CXX='-Wl,'
13556 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13557 case $host_cpu in
13558 hppa*64*|ia64*)
13559 # +Z the default
13562 lt_prog_compiler_pic_CXX='+Z'
13564 esac
13568 esac
13570 interix*)
13571 # This is c89, which is MS Visual C++ (no shared libs)
13572 # Anyone wants to do a port?
13574 irix5* | irix6* | nonstopux*)
13575 case $cc_basename in
13576 CC*)
13577 lt_prog_compiler_wl_CXX='-Wl,'
13578 lt_prog_compiler_static_CXX='-non_shared'
13579 # CC pic flag -KPIC is the default.
13583 esac
13585 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13586 case $cc_basename in
13587 KCC*)
13588 # KAI C++ Compiler
13589 lt_prog_compiler_wl_CXX='--backend -Wl,'
13590 lt_prog_compiler_pic_CXX='-fPIC'
13592 ecpc* )
13593 # old Intel C++ for x86_64 which still supported -KPIC.
13594 lt_prog_compiler_wl_CXX='-Wl,'
13595 lt_prog_compiler_pic_CXX='-KPIC'
13596 lt_prog_compiler_static_CXX='-static'
13598 icpc* )
13599 # Intel C++, used to be incompatible with GCC.
13600 # ICC 10 doesn't accept -KPIC any more.
13601 lt_prog_compiler_wl_CXX='-Wl,'
13602 lt_prog_compiler_pic_CXX='-fPIC'
13603 lt_prog_compiler_static_CXX='-static'
13605 pgCC* | pgcpp*)
13606 # Portland Group C++ compiler
13607 lt_prog_compiler_wl_CXX='-Wl,'
13608 lt_prog_compiler_pic_CXX='-fpic'
13609 lt_prog_compiler_static_CXX='-Bstatic'
13611 cxx*)
13612 # Compaq C++
13613 # Make sure the PIC flag is empty. It appears that all Alpha
13614 # Linux and Compaq Tru64 Unix objects are PIC.
13615 lt_prog_compiler_pic_CXX=
13616 lt_prog_compiler_static_CXX='-non_shared'
13618 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13619 # IBM XL 8.0, 9.0 on PPC and BlueGene
13620 lt_prog_compiler_wl_CXX='-Wl,'
13621 lt_prog_compiler_pic_CXX='-qpic'
13622 lt_prog_compiler_static_CXX='-qstaticlink'
13625 case `$CC -V 2>&1 | sed 5q` in
13626 *Sun\ C*)
13627 # Sun C++ 5.9
13628 lt_prog_compiler_pic_CXX='-KPIC'
13629 lt_prog_compiler_static_CXX='-Bstatic'
13630 lt_prog_compiler_wl_CXX='-Qoption ld '
13632 esac
13634 esac
13636 lynxos*)
13638 m88k*)
13640 mvs*)
13641 case $cc_basename in
13642 cxx*)
13643 lt_prog_compiler_pic_CXX='-W c,exportall'
13647 esac
13649 netbsd*)
13651 *qnx* | *nto*)
13652 # QNX uses GNU C++, but need to define -shared option too, otherwise
13653 # it will coredump.
13654 lt_prog_compiler_pic_CXX='-fPIC -shared'
13656 osf3* | osf4* | osf5*)
13657 case $cc_basename in
13658 KCC*)
13659 lt_prog_compiler_wl_CXX='--backend -Wl,'
13661 RCC*)
13662 # Rational C++ 2.4.1
13663 lt_prog_compiler_pic_CXX='-pic'
13665 cxx*)
13666 # Digital/Compaq C++
13667 lt_prog_compiler_wl_CXX='-Wl,'
13668 # Make sure the PIC flag is empty. It appears that all Alpha
13669 # Linux and Compaq Tru64 Unix objects are PIC.
13670 lt_prog_compiler_pic_CXX=
13671 lt_prog_compiler_static_CXX='-non_shared'
13675 esac
13677 psos*)
13679 solaris*)
13680 case $cc_basename in
13681 CC*)
13682 # Sun C++ 4.2, 5.x and Centerline C++
13683 lt_prog_compiler_pic_CXX='-KPIC'
13684 lt_prog_compiler_static_CXX='-Bstatic'
13685 lt_prog_compiler_wl_CXX='-Qoption ld '
13687 gcx*)
13688 # Green Hills C++ Compiler
13689 lt_prog_compiler_pic_CXX='-PIC'
13693 esac
13695 sunos4*)
13696 case $cc_basename in
13697 CC*)
13698 # Sun C++ 4.x
13699 lt_prog_compiler_pic_CXX='-pic'
13700 lt_prog_compiler_static_CXX='-Bstatic'
13702 lcc*)
13703 # Lucid
13704 lt_prog_compiler_pic_CXX='-pic'
13708 esac
13710 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13711 case $cc_basename in
13712 CC*)
13713 lt_prog_compiler_wl_CXX='-Wl,'
13714 lt_prog_compiler_pic_CXX='-KPIC'
13715 lt_prog_compiler_static_CXX='-Bstatic'
13717 esac
13719 tandem*)
13720 case $cc_basename in
13721 NCC*)
13722 # NonStop-UX NCC 3.20
13723 lt_prog_compiler_pic_CXX='-KPIC'
13727 esac
13729 vxworks*)
13732 lt_prog_compiler_can_build_shared_CXX=no
13734 esac
13737 case $host_os in
13738 # For platforms which do not support PIC, -DPIC is meaningless:
13739 *djgpp*)
13740 lt_prog_compiler_pic_CXX=
13743 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13745 esac
13746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13747 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13752 # Check to make sure the PIC flag actually works.
13754 if test -n "$lt_prog_compiler_pic_CXX"; then
13755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13756 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13757 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13758 $as_echo_n "(cached) " >&6
13759 else
13760 lt_cv_prog_compiler_pic_works_CXX=no
13761 ac_outfile=conftest.$ac_objext
13762 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13763 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13764 # Insert the option either (1) after the last *FLAGS variable, or
13765 # (2) before a word containing "conftest.", or (3) at the end.
13766 # Note that $ac_compile itself does not contain backslashes and begins
13767 # with a dollar sign (not a hyphen), so the echo should work correctly.
13768 # The option is referenced via a variable to avoid confusing sed.
13769 lt_compile=`echo "$ac_compile" | $SED \
13770 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13771 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13772 -e 's:$: $lt_compiler_flag:'`
13773 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13774 (eval "$lt_compile" 2>conftest.err)
13775 ac_status=$?
13776 cat conftest.err >&5
13777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13778 if (exit $ac_status) && test -s "$ac_outfile"; then
13779 # The compiler can only warn and ignore the option if not recognized
13780 # So say no if there are warnings other than the usual output.
13781 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13782 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13783 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13784 lt_cv_prog_compiler_pic_works_CXX=yes
13787 $RM conftest*
13790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13791 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13793 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13794 case $lt_prog_compiler_pic_CXX in
13795 "" | " "*) ;;
13796 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13797 esac
13798 else
13799 lt_prog_compiler_pic_CXX=
13800 lt_prog_compiler_can_build_shared_CXX=no
13808 # Check to make sure the static flag actually works.
13810 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13812 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13813 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13814 $as_echo_n "(cached) " >&6
13815 else
13816 lt_cv_prog_compiler_static_works_CXX=no
13817 save_LDFLAGS="$LDFLAGS"
13818 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13819 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13820 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13821 # The linker can only warn and ignore the option if not recognized
13822 # So say no if there are warnings
13823 if test -s conftest.err; then
13824 # Append any errors to the config.log.
13825 cat conftest.err 1>&5
13826 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13827 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13828 if diff conftest.exp conftest.er2 >/dev/null; then
13829 lt_cv_prog_compiler_static_works_CXX=yes
13831 else
13832 lt_cv_prog_compiler_static_works_CXX=yes
13835 $RM -r conftest*
13836 LDFLAGS="$save_LDFLAGS"
13839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13840 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13842 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13844 else
13845 lt_prog_compiler_static_CXX=
13851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13852 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13853 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13854 $as_echo_n "(cached) " >&6
13855 else
13856 lt_cv_prog_compiler_c_o_CXX=no
13857 $RM -r conftest 2>/dev/null
13858 mkdir conftest
13859 cd conftest
13860 mkdir out
13861 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13863 lt_compiler_flag="-o out/conftest2.$ac_objext"
13864 # Insert the option either (1) after the last *FLAGS variable, or
13865 # (2) before a word containing "conftest.", or (3) at the end.
13866 # Note that $ac_compile itself does not contain backslashes and begins
13867 # with a dollar sign (not a hyphen), so the echo should work correctly.
13868 lt_compile=`echo "$ac_compile" | $SED \
13869 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13870 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13871 -e 's:$: $lt_compiler_flag:'`
13872 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13873 (eval "$lt_compile" 2>out/conftest.err)
13874 ac_status=$?
13875 cat out/conftest.err >&5
13876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13877 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13878 then
13879 # The compiler can only warn and ignore the option if not recognized
13880 # So say no if there are warnings
13881 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13882 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13883 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13884 lt_cv_prog_compiler_c_o_CXX=yes
13887 chmod u+w . 2>&5
13888 $RM conftest*
13889 # SGI C++ compiler will create directory out/ii_files/ for
13890 # template instantiation
13891 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13892 $RM out/* && rmdir out
13893 cd ..
13894 $RM -r conftest
13895 $RM conftest*
13898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13899 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13904 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13905 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13906 $as_echo_n "(cached) " >&6
13907 else
13908 lt_cv_prog_compiler_c_o_CXX=no
13909 $RM -r conftest 2>/dev/null
13910 mkdir conftest
13911 cd conftest
13912 mkdir out
13913 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13915 lt_compiler_flag="-o out/conftest2.$ac_objext"
13916 # Insert the option either (1) after the last *FLAGS variable, or
13917 # (2) before a word containing "conftest.", or (3) at the end.
13918 # Note that $ac_compile itself does not contain backslashes and begins
13919 # with a dollar sign (not a hyphen), so the echo should work correctly.
13920 lt_compile=`echo "$ac_compile" | $SED \
13921 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13922 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13923 -e 's:$: $lt_compiler_flag:'`
13924 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13925 (eval "$lt_compile" 2>out/conftest.err)
13926 ac_status=$?
13927 cat out/conftest.err >&5
13928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13929 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13930 then
13931 # The compiler can only warn and ignore the option if not recognized
13932 # So say no if there are warnings
13933 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13934 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13935 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13936 lt_cv_prog_compiler_c_o_CXX=yes
13939 chmod u+w . 2>&5
13940 $RM conftest*
13941 # SGI C++ compiler will create directory out/ii_files/ for
13942 # template instantiation
13943 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13944 $RM out/* && rmdir out
13945 cd ..
13946 $RM -r conftest
13947 $RM conftest*
13950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13951 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13956 hard_links="nottested"
13957 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13958 # do not overwrite the value of need_locks provided by the user
13959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13960 $as_echo_n "checking if we can lock with hard links... " >&6; }
13961 hard_links=yes
13962 $RM conftest*
13963 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13964 touch conftest.a
13965 ln conftest.a conftest.b 2>&5 || hard_links=no
13966 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13968 $as_echo "$hard_links" >&6; }
13969 if test "$hard_links" = no; then
13970 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13971 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13972 need_locks=warn
13974 else
13975 need_locks=no
13980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13981 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13983 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13984 case $host_os in
13985 aix[4-9]*)
13986 # If we're using GNU nm, then we don't want the "-C" option.
13987 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13988 # Also, AIX nm treats weak defined symbols like other global defined
13989 # symbols, whereas GNU nm marks them as "W".
13990 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13991 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'
13992 else
13993 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'
13996 pw32*)
13997 export_symbols_cmds_CXX="$ltdll_cmds"
13999 cygwin* | mingw* | cegcc*)
14000 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'
14003 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14005 esac
14006 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14009 $as_echo "$ld_shlibs_CXX" >&6; }
14010 test "$ld_shlibs_CXX" = no && can_build_shared=no
14012 with_gnu_ld_CXX=$with_gnu_ld
14020 # Do we need to explicitly link libc?
14022 case "x$archive_cmds_need_lc_CXX" in
14023 x|xyes)
14024 # Assume -lc should be added
14025 archive_cmds_need_lc_CXX=yes
14027 if test "$enable_shared" = yes && test "$GCC" = yes; then
14028 case $archive_cmds_CXX in
14029 *'~'*)
14030 # FIXME: we may have to deal with multi-command sequences.
14032 '$CC '*)
14033 # Test whether the compiler implicitly links with -lc since on some
14034 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14035 # to ld, don't add -lc before -lgcc.
14036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14037 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14038 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14039 $as_echo_n "(cached) " >&6
14040 else
14041 $RM conftest*
14042 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14044 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14045 (eval $ac_compile) 2>&5
14046 ac_status=$?
14047 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14048 test $ac_status = 0; } 2>conftest.err; then
14049 soname=conftest
14050 lib=conftest
14051 libobjs=conftest.$ac_objext
14052 deplibs=
14053 wl=$lt_prog_compiler_wl_CXX
14054 pic_flag=$lt_prog_compiler_pic_CXX
14055 compiler_flags=-v
14056 linker_flags=-v
14057 verstring=
14058 output_objdir=.
14059 libname=conftest
14060 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14061 allow_undefined_flag_CXX=
14062 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14063 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14064 ac_status=$?
14065 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14066 test $ac_status = 0; }
14067 then
14068 lt_cv_archive_cmds_need_lc_CXX=no
14069 else
14070 lt_cv_archive_cmds_need_lc_CXX=yes
14072 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14073 else
14074 cat conftest.err 1>&5
14076 $RM conftest*
14079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14080 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14081 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14083 esac
14086 esac
14151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14152 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14154 library_names_spec=
14155 libname_spec='lib$name'
14156 soname_spec=
14157 shrext_cmds=".so"
14158 postinstall_cmds=
14159 postuninstall_cmds=
14160 finish_cmds=
14161 finish_eval=
14162 shlibpath_var=
14163 shlibpath_overrides_runpath=unknown
14164 version_type=none
14165 dynamic_linker="$host_os ld.so"
14166 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14167 need_lib_prefix=unknown
14168 hardcode_into_libs=no
14170 # when you set need_version to no, make sure it does not cause -set_version
14171 # flags to be left without arguments
14172 need_version=unknown
14174 case $host_os in
14175 aix3*)
14176 version_type=linux
14177 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14178 shlibpath_var=LIBPATH
14180 # AIX 3 has no versioning support, so we append a major version to the name.
14181 soname_spec='${libname}${release}${shared_ext}$major'
14184 aix[4-9]*)
14185 version_type=linux
14186 need_lib_prefix=no
14187 need_version=no
14188 hardcode_into_libs=yes
14189 if test "$host_cpu" = ia64; then
14190 # AIX 5 supports IA64
14191 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14192 shlibpath_var=LD_LIBRARY_PATH
14193 else
14194 # With GCC up to 2.95.x, collect2 would create an import file
14195 # for dependence libraries. The import file would start with
14196 # the line `#! .'. This would cause the generated library to
14197 # depend on `.', always an invalid library. This was fixed in
14198 # development snapshots of GCC prior to 3.0.
14199 case $host_os in
14200 aix4 | aix4.[01] | aix4.[01].*)
14201 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14202 echo ' yes '
14203 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14205 else
14206 can_build_shared=no
14209 esac
14210 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14211 # soname into executable. Probably we can add versioning support to
14212 # collect2, so additional links can be useful in future.
14213 if test "$aix_use_runtimelinking" = yes; then
14214 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14215 # instead of lib<name>.a to let people know that these are not
14216 # typical AIX shared libraries.
14217 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14218 else
14219 # We preserve .a as extension for shared libraries through AIX4.2
14220 # and later when we are not doing run time linking.
14221 library_names_spec='${libname}${release}.a $libname.a'
14222 soname_spec='${libname}${release}${shared_ext}$major'
14224 shlibpath_var=LIBPATH
14228 amigaos*)
14229 case $host_cpu in
14230 powerpc)
14231 # Since July 2007 AmigaOS4 officially supports .so libraries.
14232 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14233 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14235 m68k)
14236 library_names_spec='$libname.ixlibrary $libname.a'
14237 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14238 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'
14240 esac
14243 beos*)
14244 library_names_spec='${libname}${shared_ext}'
14245 dynamic_linker="$host_os ld.so"
14246 shlibpath_var=LIBRARY_PATH
14249 bsdi[45]*)
14250 version_type=linux
14251 need_version=no
14252 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14253 soname_spec='${libname}${release}${shared_ext}$major'
14254 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14255 shlibpath_var=LD_LIBRARY_PATH
14256 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14257 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14258 # the default ld.so.conf also contains /usr/contrib/lib and
14259 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14260 # libtool to hard-code these into programs
14263 cygwin* | mingw* | pw32* | cegcc*)
14264 version_type=windows
14265 shrext_cmds=".dll"
14266 need_version=no
14267 need_lib_prefix=no
14269 case $GCC,$host_os in
14270 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14271 library_names_spec='$libname.dll.a'
14272 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14273 postinstall_cmds='base_file=`basename \${file}`~
14274 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14275 dldir=$destdir/`dirname \$dlpath`~
14276 test -d \$dldir || mkdir -p \$dldir~
14277 $install_prog $dir/$dlname \$dldir/$dlname~
14278 chmod a+x \$dldir/$dlname~
14279 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14280 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14282 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14283 dlpath=$dir/\$dldll~
14284 $RM \$dlpath'
14285 shlibpath_overrides_runpath=yes
14287 case $host_os in
14288 cygwin*)
14289 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14290 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14293 mingw* | cegcc*)
14294 # MinGW DLLs use traditional 'lib' prefix
14295 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14297 pw32*)
14298 # pw32 DLLs use 'pw' prefix rather than 'lib'
14299 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14301 esac
14305 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14307 esac
14308 dynamic_linker='Win32 ld.exe'
14309 # FIXME: first we should search . and the directory the executable is in
14310 shlibpath_var=PATH
14313 darwin* | rhapsody*)
14314 dynamic_linker="$host_os dyld"
14315 version_type=darwin
14316 need_lib_prefix=no
14317 need_version=no
14318 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14319 soname_spec='${libname}${release}${major}$shared_ext'
14320 shlibpath_overrides_runpath=yes
14321 shlibpath_var=DYLD_LIBRARY_PATH
14322 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14324 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14327 dgux*)
14328 version_type=linux
14329 need_lib_prefix=no
14330 need_version=no
14331 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14332 soname_spec='${libname}${release}${shared_ext}$major'
14333 shlibpath_var=LD_LIBRARY_PATH
14336 freebsd* | dragonfly*)
14337 # DragonFly does not have aout. When/if they implement a new
14338 # versioning mechanism, adjust this.
14339 if test -x /usr/bin/objformat; then
14340 objformat=`/usr/bin/objformat`
14341 else
14342 case $host_os in
14343 freebsd[23].*) objformat=aout ;;
14344 *) objformat=elf ;;
14345 esac
14347 version_type=freebsd-$objformat
14348 case $version_type in
14349 freebsd-elf*)
14350 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14351 need_version=no
14352 need_lib_prefix=no
14354 freebsd-*)
14355 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14356 need_version=yes
14358 esac
14359 shlibpath_var=LD_LIBRARY_PATH
14360 case $host_os in
14361 freebsd2.*)
14362 shlibpath_overrides_runpath=yes
14364 freebsd3.[01]* | freebsdelf3.[01]*)
14365 shlibpath_overrides_runpath=yes
14366 hardcode_into_libs=yes
14368 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14369 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14370 shlibpath_overrides_runpath=no
14371 hardcode_into_libs=yes
14373 *) # from 4.6 on, and DragonFly
14374 shlibpath_overrides_runpath=yes
14375 hardcode_into_libs=yes
14377 esac
14380 gnu*)
14381 version_type=linux
14382 need_lib_prefix=no
14383 need_version=no
14384 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14385 soname_spec='${libname}${release}${shared_ext}$major'
14386 shlibpath_var=LD_LIBRARY_PATH
14387 hardcode_into_libs=yes
14390 haiku*)
14391 version_type=linux
14392 need_lib_prefix=no
14393 need_version=no
14394 dynamic_linker="$host_os runtime_loader"
14395 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14396 soname_spec='${libname}${release}${shared_ext}$major'
14397 shlibpath_var=LIBRARY_PATH
14398 shlibpath_overrides_runpath=yes
14399 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14400 hardcode_into_libs=yes
14403 hpux9* | hpux10* | hpux11*)
14404 # Give a soname corresponding to the major version so that dld.sl refuses to
14405 # link against other versions.
14406 version_type=sunos
14407 need_lib_prefix=no
14408 need_version=no
14409 case $host_cpu in
14410 ia64*)
14411 shrext_cmds='.so'
14412 hardcode_into_libs=yes
14413 dynamic_linker="$host_os dld.so"
14414 shlibpath_var=LD_LIBRARY_PATH
14415 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14416 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14417 soname_spec='${libname}${release}${shared_ext}$major'
14418 if test "X$HPUX_IA64_MODE" = X32; then
14419 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14420 else
14421 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14423 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14425 hppa*64*)
14426 shrext_cmds='.sl'
14427 hardcode_into_libs=yes
14428 dynamic_linker="$host_os dld.sl"
14429 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14430 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14431 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14432 soname_spec='${libname}${release}${shared_ext}$major'
14433 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14434 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14437 shrext_cmds='.sl'
14438 dynamic_linker="$host_os dld.sl"
14439 shlibpath_var=SHLIB_PATH
14440 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14441 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14442 soname_spec='${libname}${release}${shared_ext}$major'
14444 esac
14445 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14446 postinstall_cmds='chmod 555 $lib'
14447 # or fails outright, so override atomically:
14448 install_override_mode=555
14451 interix[3-9]*)
14452 version_type=linux
14453 need_lib_prefix=no
14454 need_version=no
14455 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14456 soname_spec='${libname}${release}${shared_ext}$major'
14457 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14458 shlibpath_var=LD_LIBRARY_PATH
14459 shlibpath_overrides_runpath=no
14460 hardcode_into_libs=yes
14463 irix5* | irix6* | nonstopux*)
14464 case $host_os in
14465 nonstopux*) version_type=nonstopux ;;
14467 if test "$lt_cv_prog_gnu_ld" = yes; then
14468 version_type=linux
14469 else
14470 version_type=irix
14471 fi ;;
14472 esac
14473 need_lib_prefix=no
14474 need_version=no
14475 soname_spec='${libname}${release}${shared_ext}$major'
14476 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14477 case $host_os in
14478 irix5* | nonstopux*)
14479 libsuff= shlibsuff=
14482 case $LD in # libtool.m4 will add one of these switches to LD
14483 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14484 libsuff= shlibsuff= libmagic=32-bit;;
14485 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14486 libsuff=32 shlibsuff=N32 libmagic=N32;;
14487 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14488 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14489 *) libsuff= shlibsuff= libmagic=never-match;;
14490 esac
14492 esac
14493 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14494 shlibpath_overrides_runpath=no
14495 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14496 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14497 hardcode_into_libs=yes
14500 # No shared lib support for Linux oldld, aout, or coff.
14501 linux*oldld* | linux*aout* | linux*coff*)
14502 dynamic_linker=no
14505 # This must be Linux ELF.
14506 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14507 version_type=linux
14508 need_lib_prefix=no
14509 need_version=no
14510 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14511 soname_spec='${libname}${release}${shared_ext}$major'
14512 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14513 shlibpath_var=LD_LIBRARY_PATH
14514 shlibpath_overrides_runpath=no
14516 # Some binutils ld are patched to set DT_RUNPATH
14517 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14518 $as_echo_n "(cached) " >&6
14519 else
14520 lt_cv_shlibpath_overrides_runpath=no
14521 save_LDFLAGS=$LDFLAGS
14522 save_libdir=$libdir
14523 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14524 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14525 if test x$gcc_no_link = xyes; then
14526 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14529 /* end confdefs.h. */
14532 main ()
14536 return 0;
14538 _ACEOF
14539 if ac_fn_cxx_try_link "$LINENO"; then :
14540 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14541 lt_cv_shlibpath_overrides_runpath=yes
14544 rm -f core conftest.err conftest.$ac_objext \
14545 conftest$ac_exeext conftest.$ac_ext
14546 LDFLAGS=$save_LDFLAGS
14547 libdir=$save_libdir
14551 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14553 # This implies no fast_install, which is unacceptable.
14554 # Some rework will be needed to allow for fast_install
14555 # before this can be enabled.
14556 hardcode_into_libs=yes
14558 # Append ld.so.conf contents to the search path
14559 if test -f /etc/ld.so.conf; then
14560 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' ' '`
14561 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14564 # We used to test for /lib/ld.so.1 and disable shared libraries on
14565 # powerpc, because MkLinux only supported shared libraries with the
14566 # GNU dynamic linker. Since this was broken with cross compilers,
14567 # most powerpc-linux boxes support dynamic linking these days and
14568 # people can always --disable-shared, the test was removed, and we
14569 # assume the GNU/Linux dynamic linker is in use.
14570 dynamic_linker='GNU/Linux ld.so'
14573 netbsd*)
14574 version_type=sunos
14575 need_lib_prefix=no
14576 need_version=no
14577 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14578 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14579 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14580 dynamic_linker='NetBSD (a.out) ld.so'
14581 else
14582 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14583 soname_spec='${libname}${release}${shared_ext}$major'
14584 dynamic_linker='NetBSD ld.elf_so'
14586 shlibpath_var=LD_LIBRARY_PATH
14587 shlibpath_overrides_runpath=yes
14588 hardcode_into_libs=yes
14591 newsos6)
14592 version_type=linux
14593 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14594 shlibpath_var=LD_LIBRARY_PATH
14595 shlibpath_overrides_runpath=yes
14598 *nto* | *qnx*)
14599 version_type=qnx
14600 need_lib_prefix=no
14601 need_version=no
14602 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14603 soname_spec='${libname}${release}${shared_ext}$major'
14604 shlibpath_var=LD_LIBRARY_PATH
14605 shlibpath_overrides_runpath=no
14606 hardcode_into_libs=yes
14607 dynamic_linker='ldqnx.so'
14610 openbsd*)
14611 version_type=sunos
14612 sys_lib_dlsearch_path_spec="/usr/lib"
14613 need_lib_prefix=no
14614 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14615 case $host_os in
14616 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14617 *) need_version=no ;;
14618 esac
14619 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14620 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14621 shlibpath_var=LD_LIBRARY_PATH
14622 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14623 case $host_os in
14624 openbsd2.[89] | openbsd2.[89].*)
14625 shlibpath_overrides_runpath=no
14628 shlibpath_overrides_runpath=yes
14630 esac
14631 else
14632 shlibpath_overrides_runpath=yes
14636 os2*)
14637 libname_spec='$name'
14638 shrext_cmds=".dll"
14639 need_lib_prefix=no
14640 library_names_spec='$libname${shared_ext} $libname.a'
14641 dynamic_linker='OS/2 ld.exe'
14642 shlibpath_var=LIBPATH
14645 osf3* | osf4* | osf5*)
14646 version_type=osf
14647 need_lib_prefix=no
14648 need_version=no
14649 soname_spec='${libname}${release}${shared_ext}$major'
14650 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14651 shlibpath_var=LD_LIBRARY_PATH
14652 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14653 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14656 rdos*)
14657 dynamic_linker=no
14660 solaris*)
14661 version_type=linux
14662 need_lib_prefix=no
14663 need_version=no
14664 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14665 soname_spec='${libname}${release}${shared_ext}$major'
14666 shlibpath_var=LD_LIBRARY_PATH
14667 shlibpath_overrides_runpath=yes
14668 hardcode_into_libs=yes
14669 # ldd complains unless libraries are executable
14670 postinstall_cmds='chmod +x $lib'
14673 sunos4*)
14674 version_type=sunos
14675 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14676 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14677 shlibpath_var=LD_LIBRARY_PATH
14678 shlibpath_overrides_runpath=yes
14679 if test "$with_gnu_ld" = yes; then
14680 need_lib_prefix=no
14682 need_version=yes
14685 sysv4 | sysv4.3*)
14686 version_type=linux
14687 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14688 soname_spec='${libname}${release}${shared_ext}$major'
14689 shlibpath_var=LD_LIBRARY_PATH
14690 case $host_vendor in
14691 sni)
14692 shlibpath_overrides_runpath=no
14693 need_lib_prefix=no
14694 runpath_var=LD_RUN_PATH
14696 siemens)
14697 need_lib_prefix=no
14699 motorola)
14700 need_lib_prefix=no
14701 need_version=no
14702 shlibpath_overrides_runpath=no
14703 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14705 esac
14708 sysv4*MP*)
14709 if test -d /usr/nec ;then
14710 version_type=linux
14711 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14712 soname_spec='$libname${shared_ext}.$major'
14713 shlibpath_var=LD_LIBRARY_PATH
14717 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14718 version_type=freebsd-elf
14719 need_lib_prefix=no
14720 need_version=no
14721 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14722 soname_spec='${libname}${release}${shared_ext}$major'
14723 shlibpath_var=LD_LIBRARY_PATH
14724 shlibpath_overrides_runpath=yes
14725 hardcode_into_libs=yes
14726 if test "$with_gnu_ld" = yes; then
14727 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14728 else
14729 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14730 case $host_os in
14731 sco3.2v5*)
14732 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14734 esac
14736 sys_lib_dlsearch_path_spec='/usr/lib'
14739 tpf*)
14740 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14741 version_type=linux
14742 need_lib_prefix=no
14743 need_version=no
14744 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14745 shlibpath_var=LD_LIBRARY_PATH
14746 shlibpath_overrides_runpath=no
14747 hardcode_into_libs=yes
14750 uts4*)
14751 version_type=linux
14752 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14753 soname_spec='${libname}${release}${shared_ext}$major'
14754 shlibpath_var=LD_LIBRARY_PATH
14758 dynamic_linker=no
14760 esac
14761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14762 $as_echo "$dynamic_linker" >&6; }
14763 test "$dynamic_linker" = no && can_build_shared=no
14765 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14766 if test "$GCC" = yes; then
14767 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14770 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14771 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14773 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14774 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14815 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14816 hardcode_action_CXX=
14817 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14818 test -n "$runpath_var_CXX" ||
14819 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14821 # We can hardcode non-existent directories.
14822 if test "$hardcode_direct_CXX" != no &&
14823 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14824 # have to relink, otherwise we might link with an installed library
14825 # when we should be linking with a yet-to-be-installed one
14826 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14827 test "$hardcode_minus_L_CXX" != no; then
14828 # Linking always hardcodes the temporary library directory.
14829 hardcode_action_CXX=relink
14830 else
14831 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14832 hardcode_action_CXX=immediate
14834 else
14835 # We cannot hardcode anything, or else we can only hardcode existing
14836 # directories.
14837 hardcode_action_CXX=unsupported
14839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14840 $as_echo "$hardcode_action_CXX" >&6; }
14842 if test "$hardcode_action_CXX" = relink ||
14843 test "$inherit_rpath_CXX" = yes; then
14844 # Fast installation is not supported
14845 enable_fast_install=no
14846 elif test "$shlibpath_overrides_runpath" = yes ||
14847 test "$enable_shared" = no; then
14848 # Fast installation is not necessary
14849 enable_fast_install=needless
14858 fi # test -n "$compiler"
14860 CC=$lt_save_CC
14861 LDCXX=$LD
14862 LD=$lt_save_LD
14863 GCC=$lt_save_GCC
14864 with_gnu_ld=$lt_save_with_gnu_ld
14865 lt_cv_path_LDCXX=$lt_cv_path_LD
14866 lt_cv_path_LD=$lt_save_path_LD
14867 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14868 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14869 fi # test "$_lt_caught_CXX_error" != yes
14871 ac_ext=c
14872 ac_cpp='$CPP $CPPFLAGS'
14873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14889 ac_config_commands="$ac_config_commands libtool"
14894 # Only expand once:
14900 case $host in
14901 *-cygwin* | *-mingw*)
14902 # 'host' will be top-level target in the case of a target lib,
14903 # we must compare to with_cross_host to decide if this is a native
14904 # or cross-compiler and select where to install dlls appropriately.
14905 if test -n "$with_cross_host" &&
14906 test x"$with_cross_host" != x"no"; then
14907 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
14908 else
14909 lt_host_flags='-no-undefined -bindir "$(bindir)"';
14913 lt_host_flags=
14915 esac
14922 if test "$enable_vtable_verify" = yes; then
14923 predep_objects_CXX="${predep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_start.o"
14924 postdep_objects_CXX="${postdep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_end.o"
14928 # libtool variables for C++ shared and position-independent compiles.
14930 # Use glibcxx_lt_pic_flag to designate the automake variable
14931 # used to encapsulate the default libtool approach to creating objects
14932 # with position-independent code. Default: -prefer-pic.
14934 # Use glibcxx_compiler_shared_flag to designate a compile-time flags for
14935 # creating shared objects. Default: -D_GLIBCXX_SHARED.
14937 # Use glibcxx_compiler_pic_flag to designate a compile-time flags for
14938 # creating position-independent objects. This varies with the target
14939 # hardware and operating system, but is often: -DPIC -fPIC.
14940 if test "$enable_shared" = yes; then
14941 glibcxx_lt_pic_flag="-prefer-pic"
14942 glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
14943 glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
14945 else
14946 glibcxx_lt_pic_flag=
14947 glibcxx_compiler_pic_flag=
14948 glibcxx_compiler_shared_flag=
14954 # Override the libtool's pic_flag and pic_mode.
14955 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
14956 # NB: this impacts --with-pic and --without-pic.
14957 lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
14958 pic_mode='default'
14960 # Eliminate -lstdc++ addition to postdeps for cross compiles.
14961 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
14963 # Possibly disable most of the library.
14964 ## TODO: Consider skipping unncessary tests altogether in this case, rather
14965 ## than just ignoring the results. Faster /and/ more correct, win win.
14967 # Check whether --enable-hosted-libstdcxx was given.
14968 if test "${enable_hosted_libstdcxx+set}" = set; then :
14969 enableval=$enable_hosted_libstdcxx;
14970 else
14971 case "$host" in
14972 arm*-*-symbianelf*)
14973 enable_hosted_libstdcxx=no
14976 enable_hosted_libstdcxx=yes
14978 esac
14981 if test "$enable_hosted_libstdcxx" = no; then
14982 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
14983 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
14984 is_hosted=no
14985 hosted_define=0
14986 enable_abi_check=no
14987 enable_libstdcxx_pch=no
14988 else
14989 is_hosted=yes
14990 hosted_define=1
14994 cat >>confdefs.h <<_ACEOF
14995 #define _GLIBCXX_HOSTED $hosted_define
14996 _ACEOF
15000 # Enable descriptive messages to standard output on termination.
15002 # Check whether --enable-libstdcxx-verbose was given.
15003 if test "${enable_libstdcxx_verbose+set}" = set; then :
15004 enableval=$enable_libstdcxx_verbose;
15005 else
15006 enable_libstdcxx_verbose=yes
15009 if test x"$enable_libstdcxx_verbose" = xyes; then
15010 verbose_define=1
15011 else
15012 { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
15013 $as_echo "$as_me: verbose termination messages are disabled" >&6;}
15014 verbose_define=0
15017 cat >>confdefs.h <<_ACEOF
15018 #define _GLIBCXX_VERBOSE $verbose_define
15019 _ACEOF
15023 # Enable compiler support that doesn't require linking.
15025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception model to use" >&5
15026 $as_echo_n "checking for exception model to use... " >&6; }
15028 ac_ext=cpp
15029 ac_cpp='$CXXCPP $CPPFLAGS'
15030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15034 # Check whether --enable-sjlj-exceptions was given.
15035 if test "${enable_sjlj_exceptions+set}" = set; then :
15036 enableval=$enable_sjlj_exceptions;
15037 case "$enableval" in
15038 yes|no|auto) ;;
15039 *) as_fn_error "Unknown argument to enable/disable sjlj-exceptions" "$LINENO" 5 ;;
15040 esac
15042 else
15043 enable_sjlj_exceptions=auto
15048 if test $enable_sjlj_exceptions = auto; then
15049 # Botheration. Now we've got to detect the exception model. Link tests
15050 # against libgcc.a are problematic since we've not been given proper -L
15051 # bits for single-tree newlib and libgloss.
15053 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
15054 cat > conftest.$ac_ext << EOF
15055 #line 15055 "configure"
15056 struct S { ~S(); };
15057 void bar();
15058 void foo()
15060 S s;
15061 bar();
15064 old_CXXFLAGS="$CXXFLAGS"
15065 CXXFLAGS=-S
15066 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15067 (eval $ac_compile) 2>&5
15068 ac_status=$?
15069 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15070 test $ac_status = 0; }; then
15071 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
15072 enable_sjlj_exceptions=yes
15073 elif grep _Unwind_SjLj_Register conftest.s >/dev/null 2>&1 ; then
15074 enable_sjlj_exceptions=yes
15075 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
15076 enable_sjlj_exceptions=no
15077 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
15078 enable_sjlj_exceptions=no
15081 CXXFLAGS="$old_CXXFLAGS"
15082 rm -f conftest*
15085 # This is a tad weird, for hysterical raisins. We have to map
15086 # enable/disable to two different models.
15087 case $enable_sjlj_exceptions in
15088 yes)
15090 $as_echo "#define _GLIBCXX_SJLJ_EXCEPTIONS 1" >>confdefs.h
15092 ac_exception_model_name=sjlj
15095 ac_exception_model_name="call frame"
15098 as_fn_error "unable to detect exception model" "$LINENO" 5
15100 esac
15101 ac_ext=c
15102 ac_cpp='$CPP $CPPFLAGS'
15103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_exception_model_name" >&5
15108 $as_echo "$ac_exception_model_name" >&6; }
15111 # Check whether --enable-libstdcxx-pch was given.
15112 if test "${enable_libstdcxx_pch+set}" = set; then :
15113 enableval=$enable_libstdcxx_pch;
15114 case "$enableval" in
15115 yes|no) ;;
15116 *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15117 esac
15119 else
15120 enable_libstdcxx_pch=$is_hosted
15124 if test $enable_libstdcxx_pch = yes; then
15125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15126 $as_echo_n "checking for compiler with PCH support... " >&6; }
15127 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15128 $as_echo_n "(cached) " >&6
15129 else
15130 ac_save_CXXFLAGS="$CXXFLAGS"
15131 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15133 ac_ext=cpp
15134 ac_cpp='$CXXCPP $CPPFLAGS'
15135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15139 echo '#include <math.h>' > conftest.h
15140 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15141 -o conftest.h.gch 1>&5 2>&1 &&
15142 echo '#error "pch failed"' > conftest.h &&
15143 echo '#include "conftest.h"' > conftest.cc &&
15144 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15145 then
15146 glibcxx_cv_prog_CXX_pch=yes
15147 else
15148 glibcxx_cv_prog_CXX_pch=no
15150 rm -f conftest*
15151 CXXFLAGS=$ac_save_CXXFLAGS
15152 ac_ext=c
15153 ac_cpp='$CPP $CPPFLAGS'
15154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15161 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15162 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15166 $as_echo_n "checking for enabled PCH... " >&6; }
15167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15168 $as_echo "$enable_libstdcxx_pch" >&6; }
15171 if test $enable_libstdcxx_pch = yes; then
15172 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15173 else
15174 glibcxx_PCHFLAGS=""
15179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15180 $as_echo_n "checking for thread model used by GCC... " >&6; }
15181 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15183 $as_echo "$target_thread_file" >&6; }
15185 case $target_thread_file in
15186 aix) thread_header=config/rs6000/gthr-aix.h ;;
15187 dce) thread_header=config/pa/gthr-dce.h ;;
15188 lynx) thread_header=config/gthr-lynx.h ;;
15189 mipssde) thread_header=config/mips/gthr-mipssde.h ;;
15190 posix) thread_header=gthr-posix.h ;;
15191 rtems) thread_header=config/gthr-rtems.h ;;
15192 single) thread_header=gthr-single.h ;;
15193 tpf) thread_header=config/s390/gthr-tpf.h ;;
15194 vxworks) thread_header=config/gthr-vxworks.h ;;
15195 win32) thread_header=config/i386/gthr-win32.h ;;
15196 esac
15202 ac_ext=cpp
15203 ac_cpp='$CXXCPP $CPPFLAGS'
15204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15208 old_CXXFLAGS="$CXXFLAGS"
15210 # Do link tests if possible, instead asm tests, limited to some platforms
15211 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15212 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15213 atomic_builtins_link_tests=no
15214 if test x$gcc_no_link != xyes; then
15215 # Can do link tests. Limit to some tested platforms
15216 case "$host" in
15217 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15218 atomic_builtins_link_tests=yes
15220 esac
15223 if test x$atomic_builtins_link_tests = xyes; then
15225 # Do link tests.
15227 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15230 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15231 if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15232 $as_echo_n "(cached) " >&6
15233 else
15235 if test x$gcc_no_link = xyes; then
15236 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15239 /* end confdefs.h. */
15242 main ()
15244 typedef bool atomic_type;
15245 atomic_type c1;
15246 atomic_type c2;
15247 atomic_type c3(0);
15248 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15249 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15250 __ATOMIC_RELAXED);
15251 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15252 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15255 return 0;
15257 _ACEOF
15258 if ac_fn_cxx_try_link "$LINENO"; then :
15259 glibcxx_cv_atomic_bool=yes
15260 else
15261 glibcxx_cv_atomic_bool=no
15263 rm -f core conftest.err conftest.$ac_objext \
15264 conftest$ac_exeext conftest.$ac_ext
15268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15269 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15272 $as_echo_n "checking for atomic builtins for short... " >&6; }
15273 if test "${glibcxx_cv_atomic_short+set}" = set; then :
15274 $as_echo_n "(cached) " >&6
15275 else
15277 if test x$gcc_no_link = xyes; then
15278 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15281 /* end confdefs.h. */
15284 main ()
15286 typedef short atomic_type;
15287 atomic_type c1;
15288 atomic_type c2;
15289 atomic_type c3(0);
15290 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15291 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15292 __ATOMIC_RELAXED);
15293 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15294 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15297 return 0;
15299 _ACEOF
15300 if ac_fn_cxx_try_link "$LINENO"; then :
15301 glibcxx_cv_atomic_short=yes
15302 else
15303 glibcxx_cv_atomic_short=no
15305 rm -f core conftest.err conftest.$ac_objext \
15306 conftest$ac_exeext conftest.$ac_ext
15310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15311 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15314 $as_echo_n "checking for atomic builtins for int... " >&6; }
15315 if test "${glibcxx_cv_atomic_int+set}" = set; then :
15316 $as_echo_n "(cached) " >&6
15317 else
15319 if test x$gcc_no_link = xyes; then
15320 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15323 /* end confdefs.h. */
15326 main ()
15328 typedef int atomic_type;
15329 atomic_type c1;
15330 atomic_type c2;
15331 atomic_type c3(0);
15332 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15333 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15334 __ATOMIC_RELAXED);
15335 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15336 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15339 return 0;
15341 _ACEOF
15342 if ac_fn_cxx_try_link "$LINENO"; then :
15343 glibcxx_cv_atomic_int=yes
15344 else
15345 glibcxx_cv_atomic_int=no
15347 rm -f core conftest.err conftest.$ac_objext \
15348 conftest$ac_exeext conftest.$ac_ext
15352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15353 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15356 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15357 if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15358 $as_echo_n "(cached) " >&6
15359 else
15361 if test x$gcc_no_link = xyes; then
15362 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15365 /* end confdefs.h. */
15368 main ()
15370 typedef long long atomic_type;
15371 atomic_type c1;
15372 atomic_type c2;
15373 atomic_type c3(0);
15374 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15375 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15376 __ATOMIC_RELAXED);
15377 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15378 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15381 return 0;
15383 _ACEOF
15384 if ac_fn_cxx_try_link "$LINENO"; then :
15385 glibcxx_cv_atomic_long_long=yes
15386 else
15387 glibcxx_cv_atomic_long_long=no
15389 rm -f core conftest.err conftest.$ac_objext \
15390 conftest$ac_exeext conftest.$ac_ext
15394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15395 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15397 else
15399 # Do asm tests.
15401 # Compile unoptimized.
15402 CXXFLAGS='-O0 -S'
15404 # Fake what AC_TRY_COMPILE does.
15406 cat > conftest.$ac_ext << EOF
15407 #line 15407 "configure"
15408 int main()
15410 typedef bool atomic_type;
15411 atomic_type c1;
15412 atomic_type c2;
15413 atomic_type c3(0);
15414 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15415 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15416 __ATOMIC_RELAXED);
15417 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15418 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15420 return 0;
15424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15425 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15426 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15427 (eval $ac_compile) 2>&5
15428 ac_status=$?
15429 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15430 test $ac_status = 0; }; then
15431 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15432 glibcxx_cv_atomic_bool=no
15433 else
15434 glibcxx_cv_atomic_bool=yes
15437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15438 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15439 rm -f conftest*
15441 cat > conftest.$ac_ext << EOF
15442 #line 15442 "configure"
15443 int main()
15445 typedef short atomic_type;
15446 atomic_type c1;
15447 atomic_type c2;
15448 atomic_type c3(0);
15449 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15450 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15451 __ATOMIC_RELAXED);
15452 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15453 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15455 return 0;
15459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15460 $as_echo_n "checking for atomic builtins for short... " >&6; }
15461 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15462 (eval $ac_compile) 2>&5
15463 ac_status=$?
15464 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15465 test $ac_status = 0; }; then
15466 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15467 glibcxx_cv_atomic_short=no
15468 else
15469 glibcxx_cv_atomic_short=yes
15472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15473 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15474 rm -f conftest*
15476 cat > conftest.$ac_ext << EOF
15477 #line 15477 "configure"
15478 int main()
15480 // NB: _Atomic_word not necessarily int.
15481 typedef int atomic_type;
15482 atomic_type c1;
15483 atomic_type c2;
15484 atomic_type c3(0);
15485 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15486 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15487 __ATOMIC_RELAXED);
15488 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15489 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15491 return 0;
15495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15496 $as_echo_n "checking for atomic builtins for int... " >&6; }
15497 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15498 (eval $ac_compile) 2>&5
15499 ac_status=$?
15500 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15501 test $ac_status = 0; }; then
15502 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15503 glibcxx_cv_atomic_int=no
15504 else
15505 glibcxx_cv_atomic_int=yes
15508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15509 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15510 rm -f conftest*
15512 cat > conftest.$ac_ext << EOF
15513 #line 15513 "configure"
15514 int main()
15516 typedef long long atomic_type;
15517 atomic_type c1;
15518 atomic_type c2;
15519 atomic_type c3(0);
15520 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15521 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15522 __ATOMIC_RELAXED);
15523 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15524 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15526 return 0;
15530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15531 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15532 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15533 (eval $ac_compile) 2>&5
15534 ac_status=$?
15535 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15536 test $ac_status = 0; }; then
15537 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15538 glibcxx_cv_atomic_long_long=no
15539 else
15540 glibcxx_cv_atomic_long_long=yes
15543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15544 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15545 rm -f conftest*
15549 CXXFLAGS="$old_CXXFLAGS"
15550 ac_ext=c
15551 ac_cpp='$CPP $CPPFLAGS'
15552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15557 # Set atomicity_dir to builtins if all but the long long test above passes.
15558 if test $glibcxx_cv_atomic_bool = yes \
15559 && test $glibcxx_cv_atomic_short = yes \
15560 && test $glibcxx_cv_atomic_int = yes; then
15562 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
15564 atomicity_dir=cpu/generic/atomicity_builtins
15567 # If still generic, set to mutex.
15568 if test $atomicity_dir = "cpu/generic" ; then
15569 atomicity_dir=cpu/generic/atomicity_mutex
15570 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15571 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15572 if test "x$target_thread_file" = xsingle; then
15573 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15574 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15575 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15576 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15577 else
15578 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15579 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15580 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15581 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15588 # Fake what AC_TRY_COMPILE does, without linking as this is
15589 # unnecessary for this test.
15591 cat > conftest.$ac_ext << EOF
15592 #line 15592 "configure"
15593 int main()
15595 _Decimal32 d1;
15596 _Decimal64 d2;
15597 _Decimal128 d3;
15598 return 0;
15602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15603 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15604 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15605 (eval $ac_compile) 2>&5
15606 ac_status=$?
15607 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15608 test $ac_status = 0; }; then
15610 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15612 enable_dfp=yes
15613 else
15614 enable_dfp=no
15616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15617 $as_echo "$enable_dfp" >&6; }
15618 rm -f conftest*
15623 ac_ext=cpp
15624 ac_cpp='$CXXCPP $CPPFLAGS'
15625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15630 # Fake what AC_TRY_COMPILE does, without linking as this is
15631 # unnecessary for this test.
15633 cat > conftest.$ac_ext << EOF
15634 #line 15634 "configure"
15635 template<typename T1, typename T2>
15636 struct same
15637 { typedef T2 type; };
15639 template<typename T>
15640 struct same<T, T>;
15642 int main()
15644 typename same<long, __int128>::type i1;
15645 typename same<long long, __int128>::type i2;
15649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
15650 $as_echo_n "checking for __int128... " >&6; }
15651 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15652 (eval $ac_compile) 2>&5
15653 ac_status=$?
15654 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15655 test $ac_status = 0; }; then
15657 $as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
15659 enable_int128=yes
15660 else
15661 enable_int128=no
15663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
15664 $as_echo "$enable_int128" >&6; }
15665 rm -f conftest*
15667 cat > conftest.$ac_ext << EOF
15668 #line 15668 "configure"
15669 template<typename T1, typename T2>
15670 struct same
15671 { typedef T2 type; };
15673 template<typename T>
15674 struct same<T, T>;
15676 int main()
15678 typename same<double, __float128>::type f1;
15679 typename same<long double, __float128>::type f2;
15683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
15684 $as_echo_n "checking for __float128... " >&6; }
15685 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15686 (eval $ac_compile) 2>&5
15687 ac_status=$?
15688 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15689 test $ac_status = 0; }; then
15691 $as_echo "#define _GLIBCXX_USE_FLOAT128 1" >>confdefs.h
15693 enable_float128=yes
15694 else
15695 enable_float128=no
15697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
15698 $as_echo "$enable_float128" >&6; }
15699 rm -f conftest*
15701 ac_ext=c
15702 ac_cpp='$CPP $CPPFLAGS'
15703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15709 # Checks for compiler support that doesn't require linking.
15711 # All these tests are for C++; save the language and the compiler flags.
15712 # The CXXFLAGS thing is suspicious, but based on similar bits previously
15713 # found in GLIBCXX_CONFIGURE.
15715 ac_ext=cpp
15716 ac_cpp='$CXXCPP $CPPFLAGS'
15717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15721 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15722 ac_save_CXXFLAGS="$CXXFLAGS"
15724 # Check for maintainer-mode bits.
15725 if test x"$USE_MAINTAINER_MODE" = xno; then
15726 WERROR=''
15727 else
15728 WERROR='-Werror'
15731 # Check for -ffunction-sections -fdata-sections
15732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15733 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15734 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15736 /* end confdefs.h. */
15737 int foo; void bar() { };
15739 main ()
15743 return 0;
15745 _ACEOF
15746 if ac_fn_cxx_try_compile "$LINENO"; then :
15747 ac_fdsections=yes
15748 else
15749 ac_fdsections=no
15751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15752 if test "$ac_test_CXXFLAGS" = set; then
15753 CXXFLAGS="$ac_save_CXXFLAGS"
15754 else
15755 # this is the suspicious part
15756 CXXFLAGS=''
15758 if test x"$ac_fdsections" = x"yes"; then
15759 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15762 $as_echo "$ac_fdsections" >&6; }
15764 ac_ext=c
15765 ac_cpp='$CPP $CPPFLAGS'
15766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15774 # Enable all the variable C++ runtime options that don't require linking.
15776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15777 $as_echo_n "checking for underlying I/O to use... " >&6; }
15778 # Check whether --enable-cstdio was given.
15779 if test "${enable_cstdio+set}" = set; then :
15780 enableval=$enable_cstdio;
15781 case "$enableval" in
15782 stdio) ;;
15783 *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15784 esac
15786 else
15787 enable_cstdio=stdio
15792 # Now that libio has been removed, you can have any color you want as long
15793 # as it's black. This is one big no-op until other packages are added, but
15794 # showing the framework never hurts.
15795 case ${enable_cstdio} in
15796 stdio)
15797 CSTDIO_H=config/io/c_io_stdio.h
15798 BASIC_FILE_H=config/io/basic_file_stdio.h
15799 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15801 $as_echo "stdio" >&6; }
15803 esac
15810 # Check whether --enable-clocale was given.
15811 if test "${enable_clocale+set}" = set; then :
15812 enableval=$enable_clocale;
15813 case "$enableval" in
15814 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
15815 *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15816 esac
15818 else
15819 enable_clocale=auto
15824 # Deal with gettext issues. Default to not using it (=no) until we detect
15825 # support for it later. Let the user turn it off via --e/d, but let that
15826 # default to on for easier handling.
15827 USE_NLS=no
15828 # Check whether --enable-nls was given.
15829 if test "${enable_nls+set}" = set; then :
15830 enableval=$enable_nls;
15831 else
15832 enable_nls=yes
15836 # Either a known package, or "auto"
15837 if test $enable_clocale = no || test $enable_clocale = yes; then
15838 enable_clocale=auto
15840 enable_clocale_flag=$enable_clocale
15842 # Probe for locale model to use if none specified.
15843 # Default to "generic".
15844 if test $enable_clocale_flag = auto; then
15845 case ${target_os} in
15846 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15847 enable_clocale_flag=gnu
15849 darwin* | freebsd*)
15850 enable_clocale_flag=darwin
15852 openbsd*)
15853 enable_clocale_flag=newlib
15856 if test x"$with_newlib" = x"yes"; then
15857 enable_clocale_flag=newlib
15858 else
15859 enable_clocale_flag=generic
15862 esac
15865 # Sanity check model, and test for special functionality.
15866 if test $enable_clocale_flag = gnu; then
15867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15868 /* end confdefs.h. */
15870 #include <features.h>
15871 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15872 _GLIBCXX_ok
15873 #endif
15875 _ACEOF
15876 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15877 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15878 enable_clocale_flag=gnu
15879 else
15880 enable_clocale_flag=generic
15882 rm -f conftest*
15885 # Set it to scream when it hurts.
15886 ac_save_CFLAGS="$CFLAGS"
15887 CFLAGS="-Wimplicit-function-declaration -Werror"
15889 # Use strxfrm_l if available.
15890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15891 /* end confdefs.h. */
15892 #define _GNU_SOURCE 1
15893 #include <string.h>
15894 #include <locale.h>
15896 main ()
15898 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15900 return 0;
15902 _ACEOF
15903 if ac_fn_c_try_compile "$LINENO"; then :
15905 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15910 # Use strerror_l if available.
15911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15912 /* end confdefs.h. */
15913 #define _GNU_SOURCE 1
15914 #include <string.h>
15915 #include <locale.h>
15917 main ()
15919 __locale_t loc; strerror_l(5, loc);
15921 return 0;
15923 _ACEOF
15924 if ac_fn_c_try_compile "$LINENO"; then :
15926 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15931 CFLAGS="$ac_save_CFLAGS"
15934 # Perhaps use strerror_r if available, and strerror_l isn't.
15935 ac_save_CFLAGS="$CFLAGS"
15936 CFLAGS="-Wimplicit-function-declaration -Werror"
15937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15938 /* end confdefs.h. */
15939 #define _GNU_SOURCE 1
15940 #include <string.h>
15941 #include <locale.h>
15943 main ()
15945 char s[128]; strerror_r(5, s, 128);
15947 return 0;
15949 _ACEOF
15950 if ac_fn_c_try_compile "$LINENO"; then :
15952 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15956 CFLAGS="$ac_save_CFLAGS"
15958 # Set configure bits for specified locale package
15959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15960 $as_echo_n "checking for C locale to use... " >&6; }
15961 case ${enable_clocale_flag} in
15962 generic)
15963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15964 $as_echo "generic" >&6; }
15966 CLOCALE_H=config/locale/generic/c_locale.h
15967 CLOCALE_CC=config/locale/generic/c_locale.cc
15968 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15969 CCOLLATE_CC=config/locale/generic/collate_members.cc
15970 CCTYPE_CC=config/locale/generic/ctype_members.cc
15971 CMESSAGES_H=config/locale/generic/messages_members.h
15972 CMESSAGES_CC=config/locale/generic/messages_members.cc
15973 CMONEY_CC=config/locale/generic/monetary_members.cc
15974 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15975 CTIME_H=config/locale/generic/time_members.h
15976 CTIME_CC=config/locale/generic/time_members.cc
15977 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15979 darwin)
15980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin or freebsd" >&5
15981 $as_echo "darwin or freebsd" >&6; }
15983 CLOCALE_H=config/locale/generic/c_locale.h
15984 CLOCALE_CC=config/locale/generic/c_locale.cc
15985 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15986 CCOLLATE_CC=config/locale/generic/collate_members.cc
15987 CCTYPE_CC=config/locale/darwin/ctype_members.cc
15988 CMESSAGES_H=config/locale/generic/messages_members.h
15989 CMESSAGES_CC=config/locale/generic/messages_members.cc
15990 CMONEY_CC=config/locale/generic/monetary_members.cc
15991 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15992 CTIME_H=config/locale/generic/time_members.h
15993 CTIME_CC=config/locale/generic/time_members.cc
15994 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15997 gnu)
15998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
15999 $as_echo "gnu" >&6; }
16001 # Declare intention to use gettext, and add support for specific
16002 # languages.
16003 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
16004 ALL_LINGUAS="de fr"
16006 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
16007 # Extract the first word of "msgfmt", so it can be a program name with args.
16008 set dummy msgfmt; ac_word=$2
16009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16010 $as_echo_n "checking for $ac_word... " >&6; }
16011 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
16012 $as_echo_n "(cached) " >&6
16013 else
16014 if test -n "$check_msgfmt"; then
16015 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
16016 else
16017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16018 for as_dir in $PATH
16020 IFS=$as_save_IFS
16021 test -z "$as_dir" && as_dir=.
16022 for ac_exec_ext in '' $ac_executable_extensions; do
16023 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16024 ac_cv_prog_check_msgfmt="yes"
16025 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16026 break 2
16028 done
16029 done
16030 IFS=$as_save_IFS
16032 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16035 check_msgfmt=$ac_cv_prog_check_msgfmt
16036 if test -n "$check_msgfmt"; then
16037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16038 $as_echo "$check_msgfmt" >&6; }
16039 else
16040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16041 $as_echo "no" >&6; }
16045 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16046 USE_NLS=yes
16048 # Export the build objects.
16049 for ling in $ALL_LINGUAS; do \
16050 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16051 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16052 done
16056 CLOCALE_H=config/locale/gnu/c_locale.h
16057 CLOCALE_CC=config/locale/gnu/c_locale.cc
16058 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16059 CCOLLATE_CC=config/locale/gnu/collate_members.cc
16060 CCTYPE_CC=config/locale/gnu/ctype_members.cc
16061 CMESSAGES_H=config/locale/gnu/messages_members.h
16062 CMESSAGES_CC=config/locale/gnu/messages_members.cc
16063 CMONEY_CC=config/locale/gnu/monetary_members.cc
16064 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16065 CTIME_H=config/locale/gnu/time_members.h
16066 CTIME_CC=config/locale/gnu/time_members.cc
16067 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16069 ieee_1003.1-2001)
16070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16071 $as_echo "IEEE 1003.1" >&6; }
16073 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16074 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16075 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16076 CCOLLATE_CC=config/locale/generic/collate_members.cc
16077 CCTYPE_CC=config/locale/generic/ctype_members.cc
16078 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16079 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16080 CMONEY_CC=config/locale/generic/monetary_members.cc
16081 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16082 CTIME_H=config/locale/generic/time_members.h
16083 CTIME_CC=config/locale/generic/time_members.cc
16084 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16086 newlib)
16087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16088 $as_echo "newlib" >&6; }
16090 CLOCALE_H=config/locale/generic/c_locale.h
16091 CLOCALE_CC=config/locale/generic/c_locale.cc
16092 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16093 CCOLLATE_CC=config/locale/generic/collate_members.cc
16094 CCTYPE_CC=config/locale/newlib/ctype_members.cc
16095 CMESSAGES_H=config/locale/generic/messages_members.h
16096 CMESSAGES_CC=config/locale/generic/messages_members.cc
16097 CMONEY_CC=config/locale/generic/monetary_members.cc
16098 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16099 CTIME_H=config/locale/generic/time_members.h
16100 CTIME_CC=config/locale/generic/time_members.cc
16101 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16103 esac
16105 # This is where the testsuite looks for locale catalogs, using the
16106 # -DLOCALEDIR define during testsuite compilation.
16107 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16110 # A standalone libintl (e.g., GNU libintl) may be in use.
16111 if test $USE_NLS = yes; then
16112 for ac_header in libintl.h
16113 do :
16114 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16115 if test "x$ac_cv_header_libintl_h" = x""yes; then :
16116 cat >>confdefs.h <<_ACEOF
16117 #define HAVE_LIBINTL_H 1
16118 _ACEOF
16120 else
16121 USE_NLS=no
16124 done
16126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16127 $as_echo_n "checking for library containing gettext... " >&6; }
16128 if test "${ac_cv_search_gettext+set}" = set; then :
16129 $as_echo_n "(cached) " >&6
16130 else
16131 ac_func_search_save_LIBS=$LIBS
16132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16133 /* end confdefs.h. */
16135 /* Override any GCC internal prototype to avoid an error.
16136 Use char because int might match the return type of a GCC
16137 builtin and then its argument prototype would still apply. */
16138 #ifdef __cplusplus
16139 extern "C"
16140 #endif
16141 char gettext ();
16143 main ()
16145 return gettext ();
16147 return 0;
16149 _ACEOF
16150 for ac_lib in '' intl; do
16151 if test -z "$ac_lib"; then
16152 ac_res="none required"
16153 else
16154 ac_res=-l$ac_lib
16155 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16157 if test x$gcc_no_link = xyes; then
16158 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16160 if ac_fn_c_try_link "$LINENO"; then :
16161 ac_cv_search_gettext=$ac_res
16163 rm -f core conftest.err conftest.$ac_objext \
16164 conftest$ac_exeext
16165 if test "${ac_cv_search_gettext+set}" = set; then :
16166 break
16168 done
16169 if test "${ac_cv_search_gettext+set}" = set; then :
16171 else
16172 ac_cv_search_gettext=no
16174 rm conftest.$ac_ext
16175 LIBS=$ac_func_search_save_LIBS
16177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16178 $as_echo "$ac_cv_search_gettext" >&6; }
16179 ac_res=$ac_cv_search_gettext
16180 if test "$ac_res" != no; then :
16181 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16183 else
16184 USE_NLS=no
16188 if test $USE_NLS = yes; then
16190 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16210 $as_echo_n "checking for std::allocator base class... " >&6; }
16211 # Check whether --enable-libstdcxx-allocator was given.
16212 if test "${enable_libstdcxx_allocator+set}" = set; then :
16213 enableval=$enable_libstdcxx_allocator;
16214 case "$enableval" in
16215 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16216 *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16217 esac
16219 else
16220 enable_libstdcxx_allocator=auto
16225 # If they didn't use this option switch, or if they specified --enable
16226 # with no specific model, we'll have to look for one. If they
16227 # specified --disable (???), do likewise.
16228 if test $enable_libstdcxx_allocator = no ||
16229 test $enable_libstdcxx_allocator = yes;
16230 then
16231 enable_libstdcxx_allocator=auto
16234 # Either a known package, or "auto". Auto implies the default choice
16235 # for a particular platform.
16236 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16238 # Probe for host-specific support if no specific model is specified.
16239 # Default to "new".
16240 if test $enable_libstdcxx_allocator_flag = auto; then
16241 case ${target_os} in
16242 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16243 enable_libstdcxx_allocator_flag=new
16246 enable_libstdcxx_allocator_flag=new
16248 esac
16250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16251 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16254 # Set configure bits for specified locale package
16255 case ${enable_libstdcxx_allocator_flag} in
16256 bitmap)
16257 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16258 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16260 malloc)
16261 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16262 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16265 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16266 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16268 new)
16269 ALLOCATOR_H=config/allocator/new_allocator_base.h
16270 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16272 pool)
16273 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16274 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16276 esac
16282 # Check whether --enable-cheaders was given.
16283 if test "${enable_cheaders+set}" = set; then :
16284 enableval=$enable_cheaders;
16285 case "$enableval" in
16286 c|c_std|c_global) ;;
16287 *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16288 esac
16290 else
16291 enable_cheaders=$c_model
16295 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16296 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16298 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16300 # Allow overrides to configure.host here.
16301 if test $enable_cheaders = c_global; then
16302 c_compatibility=yes
16311 # Check whether --enable-long-long was given.
16312 if test "${enable_long_long+set}" = set; then :
16313 enableval=$enable_long_long;
16314 case "$enableval" in
16315 yes|no) ;;
16316 *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16317 esac
16319 else
16320 enable_long_long=yes
16324 if test $enable_long_long = yes; then
16326 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16330 $as_echo_n "checking for enabled long long specializations... " >&6; }
16331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16332 $as_echo "$enable_long_long" >&6; }
16335 # Check whether --enable-wchar_t was given.
16336 if test "${enable_wchar_t+set}" = set; then :
16337 enableval=$enable_wchar_t;
16338 case "$enableval" in
16339 yes|no) ;;
16340 *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16341 esac
16343 else
16344 enable_wchar_t=yes
16349 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16350 for ac_header in wchar.h
16351 do :
16352 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16353 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16354 cat >>confdefs.h <<_ACEOF
16355 #define HAVE_WCHAR_H 1
16356 _ACEOF
16357 ac_has_wchar_h=yes
16358 else
16359 ac_has_wchar_h=no
16362 done
16364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16365 $as_echo_n "checking for mbstate_t... " >&6; }
16366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16367 /* end confdefs.h. */
16368 #include <wchar.h>
16370 main ()
16372 mbstate_t teststate;
16374 return 0;
16376 _ACEOF
16377 if ac_fn_c_try_compile "$LINENO"; then :
16378 have_mbstate_t=yes
16379 else
16380 have_mbstate_t=no
16382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16384 $as_echo "$have_mbstate_t" >&6; }
16385 if test x"$have_mbstate_t" = xyes; then
16387 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16391 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16392 # ac_has_wchar_h.
16393 for ac_header in wctype.h
16394 do :
16395 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16396 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16397 cat >>confdefs.h <<_ACEOF
16398 #define HAVE_WCTYPE_H 1
16399 _ACEOF
16400 ac_has_wctype_h=yes
16401 else
16402 ac_has_wctype_h=no
16405 done
16408 if test x"$enable_wchar_t" = x"yes"; then
16411 ac_ext=cpp
16412 ac_cpp='$CXXCPP $CPPFLAGS'
16413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16418 if test x"$ac_has_wchar_h" = xyes &&
16419 test x"$ac_has_wctype_h" = xyes; then
16420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16421 /* end confdefs.h. */
16422 #include <wchar.h>
16423 #include <stddef.h>
16424 wint_t i;
16425 long l = WEOF;
16426 long j = WCHAR_MIN;
16427 long k = WCHAR_MAX;
16428 namespace test
16430 using ::btowc;
16431 using ::fgetwc;
16432 using ::fgetws;
16433 using ::fputwc;
16434 using ::fputws;
16435 using ::fwide;
16436 using ::fwprintf;
16437 using ::fwscanf;
16438 using ::getwc;
16439 using ::getwchar;
16440 using ::mbrlen;
16441 using ::mbrtowc;
16442 using ::mbsinit;
16443 using ::mbsrtowcs;
16444 using ::putwc;
16445 using ::putwchar;
16446 using ::swprintf;
16447 using ::swscanf;
16448 using ::ungetwc;
16449 using ::vfwprintf;
16450 using ::vswprintf;
16451 using ::vwprintf;
16452 using ::wcrtomb;
16453 using ::wcscat;
16454 using ::wcschr;
16455 using ::wcscmp;
16456 using ::wcscoll;
16457 using ::wcscpy;
16458 using ::wcscspn;
16459 using ::wcsftime;
16460 using ::wcslen;
16461 using ::wcsncat;
16462 using ::wcsncmp;
16463 using ::wcsncpy;
16464 using ::wcspbrk;
16465 using ::wcsrchr;
16466 using ::wcsrtombs;
16467 using ::wcsspn;
16468 using ::wcsstr;
16469 using ::wcstod;
16470 using ::wcstok;
16471 using ::wcstol;
16472 using ::wcstoul;
16473 using ::wcsxfrm;
16474 using ::wctob;
16475 using ::wmemchr;
16476 using ::wmemcmp;
16477 using ::wmemcpy;
16478 using ::wmemmove;
16479 using ::wmemset;
16480 using ::wprintf;
16481 using ::wscanf;
16485 main ()
16489 return 0;
16491 _ACEOF
16492 if ac_fn_cxx_try_compile "$LINENO"; then :
16494 else
16495 enable_wchar_t=no
16497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16498 else
16499 enable_wchar_t=no
16502 ac_ext=c
16503 ac_cpp='$CPP $CPPFLAGS'
16504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16510 if test x"$enable_wchar_t" = x"yes"; then
16512 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16517 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16519 $as_echo "$enable_wchar_t" >&6; }
16523 # Check whether --enable-c99 was given.
16524 if test "${enable_c99+set}" = set; then :
16525 enableval=$enable_c99;
16526 case "$enableval" in
16527 yes|no) ;;
16528 *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16529 esac
16531 else
16532 enable_c99=yes
16537 if test x"$enable_c99" = x"yes"; then
16540 ac_ext=cpp
16541 ac_cpp='$CXXCPP $CPPFLAGS'
16542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16547 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16548 # undefined and fake C99 facilities - like pre-standard snprintf - may be
16549 # spuriously enabled.
16550 # Long term, -std=c++0x could be even better, could manage to explicitly
16551 # request C99 facilities to the underlying C headers.
16552 ac_save_CXXFLAGS="$CXXFLAGS"
16553 CXXFLAGS="$CXXFLAGS -std=c++98"
16554 ac_save_LIBS="$LIBS"
16555 ac_save_gcc_no_link="$gcc_no_link"
16557 if test x$gcc_no_link != xyes; then
16558 # Use -fno-exceptions to that the C driver can link these tests without
16559 # hitting undefined references to personality routines.
16560 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16562 $as_echo_n "checking for sin in -lm... " >&6; }
16563 if test "${ac_cv_lib_m_sin+set}" = set; then :
16564 $as_echo_n "(cached) " >&6
16565 else
16566 ac_check_lib_save_LIBS=$LIBS
16567 LIBS="-lm $LIBS"
16568 if test x$gcc_no_link = xyes; then
16569 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16572 /* end confdefs.h. */
16574 /* Override any GCC internal prototype to avoid an error.
16575 Use char because int might match the return type of a GCC
16576 builtin and then its argument prototype would still apply. */
16577 #ifdef __cplusplus
16578 extern "C"
16579 #endif
16580 char sin ();
16582 main ()
16584 return sin ();
16586 return 0;
16588 _ACEOF
16589 if ac_fn_cxx_try_link "$LINENO"; then :
16590 ac_cv_lib_m_sin=yes
16591 else
16592 ac_cv_lib_m_sin=no
16594 rm -f core conftest.err conftest.$ac_objext \
16595 conftest$ac_exeext conftest.$ac_ext
16596 LIBS=$ac_check_lib_save_LIBS
16598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16599 $as_echo "$ac_cv_lib_m_sin" >&6; }
16600 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16602 LIBS="$LIBS -lm"
16604 else
16606 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16607 gcc_no_link=yes
16613 # Check for the existence of <math.h> functions used if C99 is enabled.
16614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h>" >&5
16615 $as_echo_n "checking for ISO C99 support in <math.h>... " >&6; }
16616 if test "${glibcxx_cv_c99_math+set}" = set; then :
16617 $as_echo_n "(cached) " >&6
16618 else
16620 if test x$gcc_no_link = xyes; then
16621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16622 /* end confdefs.h. */
16623 #include <math.h>
16624 volatile double d1, d2;
16625 volatile int i;
16627 main ()
16629 i = fpclassify(d1);
16630 i = isfinite(d1);
16631 i = isinf(d1);
16632 i = isnan(d1);
16633 i = isnormal(d1);
16634 i = signbit(d1);
16635 i = isgreater(d1, d2);
16636 i = isgreaterequal(d1, d2);
16637 i = isless(d1, d2);
16638 i = islessequal(d1, d2);
16639 i = islessgreater(d1, d2);
16640 i = islessgreater(d1, d2);
16641 i = isunordered(d1, d2);
16644 return 0;
16646 _ACEOF
16647 if ac_fn_cxx_try_compile "$LINENO"; then :
16648 glibcxx_cv_c99_math=yes
16649 else
16650 glibcxx_cv_c99_math=no
16652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16653 else
16654 if test x$gcc_no_link = xyes; then
16655 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16658 /* end confdefs.h. */
16659 #include <math.h>
16660 volatile double d1, d2;
16661 volatile int i;
16663 main ()
16665 i = fpclassify(d1);
16666 i = isfinite(d1);
16667 i = isinf(d1);
16668 i = isnan(d1);
16669 i = isnormal(d1);
16670 i = signbit(d1);
16671 i = isgreater(d1, d2);
16672 i = isgreaterequal(d1, d2);
16673 i = isless(d1, d2);
16674 i = islessequal(d1, d2);
16675 i = islessgreater(d1, d2);
16676 i = islessgreater(d1, d2);
16677 i = isunordered(d1, d2);
16680 return 0;
16682 _ACEOF
16683 if ac_fn_cxx_try_link "$LINENO"; then :
16684 glibcxx_cv_c99_math=yes
16685 else
16686 glibcxx_cv_c99_math=no
16688 rm -f core conftest.err conftest.$ac_objext \
16689 conftest$ac_exeext conftest.$ac_ext
16694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math" >&5
16695 $as_echo "$glibcxx_cv_c99_math" >&6; }
16696 if test x"$glibcxx_cv_c99_math" = x"yes"; then
16698 $as_echo "#define _GLIBCXX_USE_C99_MATH 1" >>confdefs.h
16702 # Check for the existence of <complex.h> complex math functions.
16703 # This is necessary even though libstdc++ uses the builtin versions
16704 # of these functions, because if the builtin cannot be used, a reference
16705 # to the library function is emitted.
16706 for ac_header in tgmath.h
16707 do :
16708 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16709 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16710 cat >>confdefs.h <<_ACEOF
16711 #define HAVE_TGMATH_H 1
16712 _ACEOF
16713 ac_has_tgmath_h=yes
16714 else
16715 ac_has_tgmath_h=no
16718 done
16720 for ac_header in complex.h
16721 do :
16722 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16723 if test "x$ac_cv_header_complex_h" = x""yes; then :
16724 cat >>confdefs.h <<_ACEOF
16725 #define HAVE_COMPLEX_H 1
16726 _ACEOF
16727 ac_has_complex_h=yes
16728 else
16729 ac_has_complex_h=no
16732 done
16734 glibcxx_cv_c99_complex=no;
16735 if test x"$ac_has_complex_h" = x"yes"; then
16736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h>" >&5
16737 $as_echo_n "checking for ISO C99 support in <complex.h>... " >&6; }
16738 if test x$gcc_no_link = xyes; then
16739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16740 /* end confdefs.h. */
16741 #include <complex.h>
16742 typedef __complex__ float float_type;
16743 typedef __complex__ double double_type;
16744 typedef __complex__ long double ld_type;
16745 volatile float_type tmpf;
16746 volatile double_type tmpd;
16747 volatile ld_type tmpld;
16748 volatile float f;
16749 volatile double d;
16750 volatile long double ld;
16752 main ()
16754 f = cabsf(tmpf);
16755 f = cargf(tmpf);
16756 tmpf = ccosf(tmpf);
16757 tmpf = ccoshf(tmpf);
16758 tmpf = cexpf(tmpf);
16759 tmpf = clogf(tmpf);
16760 tmpf = csinf(tmpf);
16761 tmpf = csinhf(tmpf);
16762 tmpf = csqrtf(tmpf);
16763 tmpf = ctanf(tmpf);
16764 tmpf = ctanhf(tmpf);
16765 tmpf = cpowf(tmpf, tmpf);
16766 tmpf = cprojf(tmpf);
16767 d = cabs(tmpd);
16768 d = carg(tmpd);
16769 tmpd = ccos(tmpd);
16770 tmpd = ccosh(tmpd);
16771 tmpd = cexp(tmpd);
16772 tmpd = clog(tmpd);
16773 tmpd = csin(tmpd);
16774 tmpd = csinh(tmpd);
16775 tmpd = csqrt(tmpd);
16776 tmpd = ctan(tmpd);
16777 tmpd = ctanh(tmpd);
16778 tmpd = cpow(tmpd, tmpd);
16779 tmpd = cproj(tmpd);
16780 ld = cabsl(tmpld);
16781 ld = cargl(tmpld);
16782 tmpld = ccosl(tmpld);
16783 tmpld = ccoshl(tmpld);
16784 tmpld = cexpl(tmpld);
16785 tmpld = clogl(tmpld);
16786 tmpld = csinl(tmpld);
16787 tmpld = csinhl(tmpld);
16788 tmpld = csqrtl(tmpld);
16789 tmpld = ctanl(tmpld);
16790 tmpld = ctanhl(tmpld);
16791 tmpld = cpowl(tmpld, tmpld);
16792 tmpld = cprojl(tmpld);
16795 return 0;
16797 _ACEOF
16798 if ac_fn_cxx_try_compile "$LINENO"; then :
16799 glibcxx_cv_c99_complex=yes
16800 else
16801 glibcxx_cv_c99_complex=no
16803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16804 else
16805 if test x$gcc_no_link = xyes; then
16806 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16809 /* end confdefs.h. */
16810 #include <complex.h>
16811 typedef __complex__ float float_type;
16812 typedef __complex__ double double_type;
16813 typedef __complex__ long double ld_type;
16814 volatile float_type tmpf;
16815 volatile double_type tmpd;
16816 volatile ld_type tmpld;
16817 volatile float f;
16818 volatile double d;
16819 volatile long double ld;
16821 main ()
16823 f = cabsf(tmpf);
16824 f = cargf(tmpf);
16825 tmpf = ccosf(tmpf);
16826 tmpf = ccoshf(tmpf);
16827 tmpf = cexpf(tmpf);
16828 tmpf = clogf(tmpf);
16829 tmpf = csinf(tmpf);
16830 tmpf = csinhf(tmpf);
16831 tmpf = csqrtf(tmpf);
16832 tmpf = ctanf(tmpf);
16833 tmpf = ctanhf(tmpf);
16834 tmpf = cpowf(tmpf, tmpf);
16835 tmpf = cprojf(tmpf);
16836 d = cabs(tmpd);
16837 d = carg(tmpd);
16838 tmpd = ccos(tmpd);
16839 tmpd = ccosh(tmpd);
16840 tmpd = cexp(tmpd);
16841 tmpd = clog(tmpd);
16842 tmpd = csin(tmpd);
16843 tmpd = csinh(tmpd);
16844 tmpd = csqrt(tmpd);
16845 tmpd = ctan(tmpd);
16846 tmpd = ctanh(tmpd);
16847 tmpd = cpow(tmpd, tmpd);
16848 tmpd = cproj(tmpd);
16849 ld = cabsl(tmpld);
16850 ld = cargl(tmpld);
16851 tmpld = ccosl(tmpld);
16852 tmpld = ccoshl(tmpld);
16853 tmpld = cexpl(tmpld);
16854 tmpld = clogl(tmpld);
16855 tmpld = csinl(tmpld);
16856 tmpld = csinhl(tmpld);
16857 tmpld = csqrtl(tmpld);
16858 tmpld = ctanl(tmpld);
16859 tmpld = ctanhl(tmpld);
16860 tmpld = cpowl(tmpld, tmpld);
16861 tmpld = cprojl(tmpld);
16864 return 0;
16866 _ACEOF
16867 if ac_fn_cxx_try_link "$LINENO"; then :
16868 glibcxx_cv_c99_complex=yes
16869 else
16870 glibcxx_cv_c99_complex=no
16872 rm -f core conftest.err conftest.$ac_objext \
16873 conftest$ac_exeext conftest.$ac_ext
16876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex" >&5
16877 $as_echo "$glibcxx_cv_c99_complex" >&6; }
16878 if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16880 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX 1" >>confdefs.h
16884 # Check for the existence in <stdio.h> of vscanf, et. al.
16885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h>" >&5
16886 $as_echo_n "checking for ISO C99 support in <stdio.h>... " >&6; }
16887 if test "${glibcxx_cv_c99_stdio+set}" = set; then :
16888 $as_echo_n "(cached) " >&6
16889 else
16891 if test x$gcc_no_link = xyes; then
16892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16893 /* end confdefs.h. */
16894 #include <stdio.h>
16895 #include <stdarg.h>
16896 void foo(char* fmt, ...)
16898 va_list args; va_start(args, fmt);
16899 vfscanf(stderr, "%i", args);
16900 vscanf("%i", args);
16901 vsnprintf(fmt, 0, "%i", args);
16902 vsscanf(fmt, "%i", args);
16905 main ()
16907 snprintf("12", 0, "%i");
16909 return 0;
16911 _ACEOF
16912 if ac_fn_cxx_try_compile "$LINENO"; then :
16913 glibcxx_cv_c99_stdio=yes
16914 else
16915 glibcxx_cv_c99_stdio=no
16917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16918 else
16919 if test x$gcc_no_link = xyes; then
16920 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16923 /* end confdefs.h. */
16924 #include <stdio.h>
16925 #include <stdarg.h>
16926 void foo(char* fmt, ...)
16928 va_list args; va_start(args, fmt);
16929 vfscanf(stderr, "%i", args);
16930 vscanf("%i", args);
16931 vsnprintf(fmt, 0, "%i", args);
16932 vsscanf(fmt, "%i", args);
16935 main ()
16937 snprintf("12", 0, "%i");
16939 return 0;
16941 _ACEOF
16942 if ac_fn_cxx_try_link "$LINENO"; then :
16943 glibcxx_cv_c99_stdio=yes
16944 else
16945 glibcxx_cv_c99_stdio=no
16947 rm -f core conftest.err conftest.$ac_objext \
16948 conftest$ac_exeext conftest.$ac_ext
16953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio" >&5
16954 $as_echo "$glibcxx_cv_c99_stdio" >&6; }
16956 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h>" >&5
16958 $as_echo_n "checking for ISO C99 support in <stdlib.h>... " >&6; }
16959 if test "${glibcxx_cv_c99_stdlib+set}" = set; then :
16960 $as_echo_n "(cached) " >&6
16961 else
16963 if test x$gcc_no_link = xyes; then
16964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16965 /* end confdefs.h. */
16966 #include <stdlib.h>
16967 volatile float f;
16968 volatile long double ld;
16969 volatile unsigned long long ll;
16970 lldiv_t mydivt;
16972 main ()
16974 char* tmp;
16975 f = strtof("gnu", &tmp);
16976 ld = strtold("gnu", &tmp);
16977 ll = strtoll("gnu", &tmp, 10);
16978 ll = strtoull("gnu", &tmp, 10);
16979 ll = llabs(10);
16980 mydivt = lldiv(10,1);
16981 ll = mydivt.quot;
16982 ll = mydivt.rem;
16983 ll = atoll("10");
16984 _Exit(0);
16987 return 0;
16989 _ACEOF
16990 if ac_fn_cxx_try_compile "$LINENO"; then :
16991 glibcxx_cv_c99_stdlib=yes
16992 else
16993 glibcxx_cv_c99_stdlib=no
16995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16996 else
16997 if test x$gcc_no_link = xyes; then
16998 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17001 /* end confdefs.h. */
17002 #include <stdlib.h>
17003 volatile float f;
17004 volatile long double ld;
17005 volatile unsigned long long ll;
17006 lldiv_t mydivt;
17008 main ()
17010 char* tmp;
17011 f = strtof("gnu", &tmp);
17012 ld = strtold("gnu", &tmp);
17013 ll = strtoll("gnu", &tmp, 10);
17014 ll = strtoull("gnu", &tmp, 10);
17015 ll = llabs(10);
17016 mydivt = lldiv(10,1);
17017 ll = mydivt.quot;
17018 ll = mydivt.rem;
17019 ll = atoll("10");
17020 _Exit(0);
17023 return 0;
17025 _ACEOF
17026 if ac_fn_cxx_try_link "$LINENO"; then :
17027 glibcxx_cv_c99_stdlib=yes
17028 else
17029 glibcxx_cv_c99_stdlib=no
17031 rm -f core conftest.err conftest.$ac_objext \
17032 conftest$ac_exeext conftest.$ac_ext
17037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib" >&5
17038 $as_echo "$glibcxx_cv_c99_stdlib" >&6; }
17040 # Check for the existence in <wchar.h> of wcstold, etc.
17041 glibcxx_cv_c99_wchar=no;
17042 if test x"$ac_has_wchar_h" = xyes &&
17043 test x"$ac_has_wctype_h" = xyes; then
17044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h>" >&5
17045 $as_echo_n "checking for ISO C99 support in <wchar.h>... " >&6; }
17046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17047 /* end confdefs.h. */
17048 #include <wchar.h>
17049 namespace test
17051 using ::wcstold;
17052 using ::wcstoll;
17053 using ::wcstoull;
17057 main ()
17061 return 0;
17063 _ACEOF
17064 if ac_fn_cxx_try_compile "$LINENO"; then :
17065 glibcxx_cv_c99_wchar=yes
17066 else
17067 glibcxx_cv_c99_wchar=no
17069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17071 # Checks for wide character functions that may not be present.
17072 # Injection of these is wrapped with guard macros.
17073 # NB: only put functions here, instead of immediately above, if
17074 # absolutely necessary.
17075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17076 /* end confdefs.h. */
17077 #include <wchar.h>
17078 namespace test { using ::vfwscanf; }
17080 main ()
17084 return 0;
17086 _ACEOF
17087 if ac_fn_cxx_try_compile "$LINENO"; then :
17089 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17095 /* end confdefs.h. */
17096 #include <wchar.h>
17097 namespace test { using ::vswscanf; }
17099 main ()
17103 return 0;
17105 _ACEOF
17106 if ac_fn_cxx_try_compile "$LINENO"; then :
17108 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17114 /* end confdefs.h. */
17115 #include <wchar.h>
17116 namespace test { using ::vwscanf; }
17118 main ()
17122 return 0;
17124 _ACEOF
17125 if ac_fn_cxx_try_compile "$LINENO"; then :
17127 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17133 /* end confdefs.h. */
17134 #include <wchar.h>
17135 namespace test { using ::wcstof; }
17137 main ()
17141 return 0;
17143 _ACEOF
17144 if ac_fn_cxx_try_compile "$LINENO"; then :
17146 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17152 /* end confdefs.h. */
17153 #include <wctype.h>
17155 main ()
17157 wint_t t; int i = iswblank(t);
17159 return 0;
17161 _ACEOF
17162 if ac_fn_cxx_try_compile "$LINENO"; then :
17164 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar" >&5
17170 $as_echo "$glibcxx_cv_c99_wchar" >&6; }
17173 # Option parsed, now set things appropriately.
17174 if test x"$glibcxx_cv_c99_math" = x"no" ||
17175 test x"$glibcxx_cv_c99_complex" = x"no" ||
17176 test x"$glibcxx_cv_c99_stdio" = x"no" ||
17177 test x"$glibcxx_cv_c99_stdlib" = x"no" ||
17178 test x"$glibcxx_cv_c99_wchar" = x"no"; then
17179 enable_c99=no;
17180 else
17182 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17186 gcc_no_link="$ac_save_gcc_no_link"
17187 LIBS="$ac_save_LIBS"
17188 CXXFLAGS="$ac_save_CXXFLAGS"
17189 ac_ext=c
17190 ac_cpp='$CPP $CPPFLAGS'
17191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17198 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17200 $as_echo "$enable_c99" >&6; }
17203 # Check whether --enable-concept-checks was given.
17204 if test "${enable_concept_checks+set}" = set; then :
17205 enableval=$enable_concept_checks;
17206 case "$enableval" in
17207 yes|no) ;;
17208 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17209 esac
17211 else
17212 enable_concept_checks=no
17216 if test $enable_concept_checks = yes; then
17218 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17223 # Check whether --enable-libstdcxx-debug-flags was given.
17224 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17225 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17226 xno | x) enable_libstdcxx_debug_flags= ;;
17227 x-*) ;;
17228 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17229 esac
17230 else
17231 enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0"
17236 # Option parsed, now set things appropriately
17237 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17240 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17241 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17245 $as_echo_n "checking for additional debug build... " >&6; }
17246 # Check whether --enable-libstdcxx-debug was given.
17247 if test "${enable_libstdcxx_debug+set}" = set; then :
17248 enableval=$enable_libstdcxx_debug;
17249 case "$enableval" in
17250 yes|no) ;;
17251 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17252 esac
17254 else
17255 enable_libstdcxx_debug=no
17259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17260 $as_echo "$enable_libstdcxx_debug" >&6; }
17265 enable_parallel=no;
17267 # See if configured libgomp/omp.h exists. (libgomp may be in
17268 # noconfigdirs but not explicitly disabled.)
17269 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17270 enable_parallel=yes;
17271 else
17272 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17273 $as_echo "$as_me: target-libgomp not built" >&6;}
17276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17277 $as_echo_n "checking for parallel mode support... " >&6; }
17278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17279 $as_echo "$enable_parallel" >&6; }
17281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17282 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17283 # Check whether --enable-cxx-flags was given.
17284 if test "${enable_cxx_flags+set}" = set; then :
17285 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17286 xno | x) enable_cxx_flags= ;;
17287 x-*) ;;
17288 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17289 esac
17290 else
17291 enable_cxx_flags=
17296 # Run through flags (either default or command-line) and set anything
17297 # extra (e.g., #defines) that must accompany particular g++ options.
17298 if test -n "$enable_cxx_flags"; then
17299 for f in $enable_cxx_flags; do
17300 case "$f" in
17301 -fhonor-std) ;;
17302 -*) ;;
17303 *) # and we're trying to pass /what/ exactly?
17304 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
17305 esac
17306 done
17309 EXTRA_CXX_FLAGS="$enable_cxx_flags"
17310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
17311 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
17315 # Check whether --enable-fully-dynamic-string was given.
17316 if test "${enable_fully_dynamic_string+set}" = set; then :
17317 enableval=$enable_fully_dynamic_string;
17318 case "$enableval" in
17319 yes|no) ;;
17320 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
17321 esac
17323 else
17324 enable_fully_dynamic_string=no
17328 if test $enable_fully_dynamic_string = yes; then
17329 enable_fully_dynamic_string_def=1
17330 else
17331 enable_fully_dynamic_string_def=0
17334 cat >>confdefs.h <<_ACEOF
17335 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
17336 _ACEOF
17341 # Check whether --enable-extern-template was given.
17342 if test "${enable_extern_template+set}" = set; then :
17343 enableval=$enable_extern_template;
17344 case "$enableval" in
17345 yes|no) ;;
17346 *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
17347 esac
17349 else
17350 enable_extern_template=yes
17355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
17356 $as_echo_n "checking for extern template support... " >&6; }
17357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
17358 $as_echo "$enable_extern_template" >&6; }
17364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
17365 $as_echo_n "checking for custom python install directory... " >&6; }
17367 # Check whether --with-python-dir was given.
17368 if test "${with_python_dir+set}" = set; then :
17369 withval=$with_python_dir; with_python_dir=$withval
17370 else
17371 with_python_dir="no"
17374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
17375 $as_echo "${with_python_dir}" >&6; }
17377 # Needed for installing Python modules during make install.
17378 python_mod_dir="${with_python_dir}"
17383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
17384 $as_echo_n "checking for -Werror... " >&6; }
17385 # Check whether --enable-werror was given.
17386 if test "${enable_werror+set}" = set; then :
17387 enableval=$enable_werror;
17388 case "$enableval" in
17389 yes|no) ;;
17390 *) as_fn_error "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
17391 esac
17393 else
17394 enable_werror=yes
17398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
17399 $as_echo "$enable_werror" >&6; }
17404 # Check whether --enable-vtable-verify was given.
17405 if test "${enable_vtable_verify+set}" = set; then :
17406 enableval=$enable_vtable_verify;
17407 case "$enableval" in
17408 yes|no) ;;
17409 *) as_fn_error "Argument to enable/disable vtable-verify must be yes or no" "$LINENO" 5 ;;
17410 esac
17412 else
17413 enable_vtable_verify=no
17418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtable verify support" >&5
17419 $as_echo_n "checking for vtable verify support... " >&6; }
17420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
17421 $as_echo "$enable_vtable_verify" >&6; }
17423 if test $enable_vtable_verify = yes; then
17424 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
17425 VTV_PCH_CXXFLAGS="-fvtable-verify=std"
17426 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
17427 else
17428 VTV_CXXFLAGS=
17429 VTV_PCH_CXXFLAGS=
17430 VTV_CXXLINKFLAGS=
17439 # Checks for operating systems support that doesn't require linking.
17443 ac_ext=cpp
17444 ac_cpp='$CXXCPP $CPPFLAGS'
17445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
17451 $as_echo_n "checking for gets declaration... " >&6; }
17452 if test "${glibcxx_cv_gets+set}" = set; then :
17453 $as_echo_n "(cached) " >&6
17454 else
17456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17457 /* end confdefs.h. */
17458 #include <stdio.h>
17459 namespace test
17461 using ::gets;
17464 _ACEOF
17465 if ac_fn_cxx_try_compile "$LINENO"; then :
17466 glibcxx_cv_gets=yes
17467 else
17468 glibcxx_cv_gets=no
17471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17475 if test $glibcxx_cv_gets = yes; then
17477 $as_echo "#define HAVE_GETS 1" >>confdefs.h
17480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
17481 $as_echo "$glibcxx_cv_gets" >&6; }
17483 ac_ext=c
17484 ac_cpp='$CPP $CPPFLAGS'
17485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
17493 $as_echo_n "checking for EOWNERDEAD... " >&6; }
17494 if test "${glibcxx_cv_system_error1+set}" = set; then :
17495 $as_echo_n "(cached) " >&6
17496 else
17498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17499 /* end confdefs.h. */
17500 #include <errno.h>
17502 main ()
17504 int i = EOWNERDEAD;
17506 return 0;
17508 _ACEOF
17509 if ac_fn_c_try_compile "$LINENO"; then :
17510 glibcxx_cv_system_error1=yes
17511 else
17512 glibcxx_cv_system_error1=no
17514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
17519 $as_echo "$glibcxx_cv_system_error1" >&6; }
17520 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17522 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
17525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
17526 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
17527 if test "${glibcxx_cv_system_error2+set}" = set; then :
17528 $as_echo_n "(cached) " >&6
17529 else
17531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17532 /* end confdefs.h. */
17533 #include <errno.h>
17535 main ()
17537 int i = ENOTRECOVERABLE;
17539 return 0;
17541 _ACEOF
17542 if ac_fn_c_try_compile "$LINENO"; then :
17543 glibcxx_cv_system_error2=yes
17544 else
17545 glibcxx_cv_system_error2=no
17547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
17552 $as_echo "$glibcxx_cv_system_error2" >&6; }
17553 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17555 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
17558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
17559 $as_echo_n "checking for ENOLINK... " >&6; }
17560 if test "${glibcxx_cv_system_error3+set}" = set; then :
17561 $as_echo_n "(cached) " >&6
17562 else
17564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17565 /* end confdefs.h. */
17566 #include <errno.h>
17568 main ()
17570 int i = ENOLINK;
17572 return 0;
17574 _ACEOF
17575 if ac_fn_c_try_compile "$LINENO"; then :
17576 glibcxx_cv_system_error3=yes
17577 else
17578 glibcxx_cv_system_error3=no
17580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
17585 $as_echo "$glibcxx_cv_system_error3" >&6; }
17586 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17588 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
17591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
17592 $as_echo_n "checking for EPROTO... " >&6; }
17593 if test "${glibcxx_cv_system_error4+set}" = set; then :
17594 $as_echo_n "(cached) " >&6
17595 else
17597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17598 /* end confdefs.h. */
17599 #include <errno.h>
17601 main ()
17603 int i = EPROTO;
17605 return 0;
17607 _ACEOF
17608 if ac_fn_c_try_compile "$LINENO"; then :
17609 glibcxx_cv_system_error4=yes
17610 else
17611 glibcxx_cv_system_error4=no
17613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
17618 $as_echo "$glibcxx_cv_system_error4" >&6; }
17619 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17621 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
17624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
17625 $as_echo_n "checking for ENODATA... " >&6; }
17626 if test "${glibcxx_cv_system_error5+set}" = set; then :
17627 $as_echo_n "(cached) " >&6
17628 else
17630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17631 /* end confdefs.h. */
17632 #include <errno.h>
17634 main ()
17636 int i = ENODATA;
17638 return 0;
17640 _ACEOF
17641 if ac_fn_c_try_compile "$LINENO"; then :
17642 glibcxx_cv_system_error5=yes
17643 else
17644 glibcxx_cv_system_error5=no
17646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
17651 $as_echo "$glibcxx_cv_system_error5" >&6; }
17652 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17654 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
17657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
17658 $as_echo_n "checking for ENOSR... " >&6; }
17659 if test "${glibcxx_cv_system_error6+set}" = set; then :
17660 $as_echo_n "(cached) " >&6
17661 else
17663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17664 /* end confdefs.h. */
17665 #include <errno.h>
17667 main ()
17669 int i = ENOSR;
17671 return 0;
17673 _ACEOF
17674 if ac_fn_c_try_compile "$LINENO"; then :
17675 glibcxx_cv_system_error6=yes
17676 else
17677 glibcxx_cv_system_error6=no
17679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
17684 $as_echo "$glibcxx_cv_system_error6" >&6; }
17685 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17687 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
17690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
17691 $as_echo_n "checking for ENOSTR... " >&6; }
17692 if test "${glibcxx_cv_system_error7+set}" = set; then :
17693 $as_echo_n "(cached) " >&6
17694 else
17696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17697 /* end confdefs.h. */
17698 #include <errno.h>
17700 main ()
17702 int i = ENOSTR;
17704 return 0;
17706 _ACEOF
17707 if ac_fn_c_try_compile "$LINENO"; then :
17708 glibcxx_cv_system_error7=yes
17709 else
17710 glibcxx_cv_system_error7=no
17712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
17717 $as_echo "$glibcxx_cv_system_error7" >&6; }
17718 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17720 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
17723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
17724 $as_echo_n "checking for ETIME... " >&6; }
17725 if test "${glibcxx_cv_system_error8+set}" = set; then :
17726 $as_echo_n "(cached) " >&6
17727 else
17729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17730 /* end confdefs.h. */
17731 #include <errno.h>
17733 main ()
17735 int i = ETIME;
17737 return 0;
17739 _ACEOF
17740 if ac_fn_c_try_compile "$LINENO"; then :
17741 glibcxx_cv_system_error8=yes
17742 else
17743 glibcxx_cv_system_error8=no
17745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
17750 $as_echo "$glibcxx_cv_system_error8" >&6; }
17751 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17753 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
17756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
17757 $as_echo_n "checking for EBADMSG... " >&6; }
17758 if test "${glibcxx_cv_system_error9+set}" = set; then :
17759 $as_echo_n "(cached) " >&6
17760 else
17762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17763 /* end confdefs.h. */
17764 #include <errno.h>
17766 main ()
17768 int i = EBADMSG;
17770 return 0;
17772 _ACEOF
17773 if ac_fn_c_try_compile "$LINENO"; then :
17774 glibcxx_cv_system_error9=yes
17775 else
17776 glibcxx_cv_system_error9=no
17778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
17783 $as_echo "$glibcxx_cv_system_error9" >&6; }
17784 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17786 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
17789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
17790 $as_echo_n "checking for ECANCELED... " >&6; }
17791 if test "${glibcxx_cv_system_error10+set}" = set; then :
17792 $as_echo_n "(cached) " >&6
17793 else
17795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17796 /* end confdefs.h. */
17797 #include <errno.h>
17799 main ()
17801 int i = ECANCELED;
17803 return 0;
17805 _ACEOF
17806 if ac_fn_c_try_compile "$LINENO"; then :
17807 glibcxx_cv_system_error10=yes
17808 else
17809 glibcxx_cv_system_error10=no
17811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
17816 $as_echo "$glibcxx_cv_system_error10" >&6; }
17817 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17819 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
17822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
17823 $as_echo_n "checking for EOVERFLOW... " >&6; }
17824 if test "${glibcxx_cv_system_error11+set}" = set; then :
17825 $as_echo_n "(cached) " >&6
17826 else
17828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17829 /* end confdefs.h. */
17830 #include <errno.h>
17832 main ()
17834 int i = EOVERFLOW;
17836 return 0;
17838 _ACEOF
17839 if ac_fn_c_try_compile "$LINENO"; then :
17840 glibcxx_cv_system_error11=yes
17841 else
17842 glibcxx_cv_system_error11=no
17844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
17849 $as_echo "$glibcxx_cv_system_error11" >&6; }
17850 if test x"$glibcxx_cv_system_error11" = x"yes"; then
17852 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
17855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
17856 $as_echo_n "checking for ENOTSUP... " >&6; }
17857 if test "${glibcxx_cv_system_error12+set}" = set; then :
17858 $as_echo_n "(cached) " >&6
17859 else
17861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17862 /* end confdefs.h. */
17863 #include <errno.h>
17865 main ()
17867 int i = ENOTSUP;
17869 return 0;
17871 _ACEOF
17872 if ac_fn_c_try_compile "$LINENO"; then :
17873 glibcxx_cv_system_error12=yes
17874 else
17875 glibcxx_cv_system_error12=no
17877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
17882 $as_echo "$glibcxx_cv_system_error12" >&6; }
17883 if test x"$glibcxx_cv_system_error12" = x"yes"; then
17885 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
17888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
17889 $as_echo_n "checking for EIDRM... " >&6; }
17890 if test "${glibcxx_cv_system_error13+set}" = set; then :
17891 $as_echo_n "(cached) " >&6
17892 else
17894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17895 /* end confdefs.h. */
17896 #include <errno.h>
17898 main ()
17900 int i = EIDRM;
17902 return 0;
17904 _ACEOF
17905 if ac_fn_c_try_compile "$LINENO"; then :
17906 glibcxx_cv_system_error13=yes
17907 else
17908 glibcxx_cv_system_error13=no
17910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
17915 $as_echo "$glibcxx_cv_system_error13" >&6; }
17916 if test x"$glibcxx_cv_system_error13" = x"yes"; then
17918 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
17921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
17922 $as_echo_n "checking for ETXTBSY... " >&6; }
17923 if test "${glibcxx_cv_system_error14+set}" = set; then :
17924 $as_echo_n "(cached) " >&6
17925 else
17927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17928 /* end confdefs.h. */
17929 #include <errno.h>
17931 main ()
17933 int i = ETXTBSY;
17935 return 0;
17937 _ACEOF
17938 if ac_fn_c_try_compile "$LINENO"; then :
17939 glibcxx_cv_system_error14=yes
17940 else
17941 glibcxx_cv_system_error14=no
17943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
17948 $as_echo "$glibcxx_cv_system_error14" >&6; }
17949 if test x"$glibcxx_cv_system_error14" = x"yes"; then
17951 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
17954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
17955 $as_echo_n "checking for ECHILD... " >&6; }
17956 if test "${glibcxx_cv_system_error15+set}" = set; then :
17957 $as_echo_n "(cached) " >&6
17958 else
17960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17961 /* end confdefs.h. */
17962 #include <errno.h>
17964 main ()
17966 int i = ECHILD;
17968 return 0;
17970 _ACEOF
17971 if ac_fn_c_try_compile "$LINENO"; then :
17972 glibcxx_cv_system_error15=yes
17973 else
17974 glibcxx_cv_system_error15=no
17976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
17981 $as_echo "$glibcxx_cv_system_error15" >&6; }
17982 if test x"$glibcxx_cv_system_error15" = x"yes"; then
17984 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
17987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
17988 $as_echo_n "checking for ENOSPC... " >&6; }
17989 if test "${glibcxx_cv_system_error16+set}" = set; then :
17990 $as_echo_n "(cached) " >&6
17991 else
17993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17994 /* end confdefs.h. */
17995 #include <errno.h>
17997 main ()
17999 int i = ENOSPC;
18001 return 0;
18003 _ACEOF
18004 if ac_fn_c_try_compile "$LINENO"; then :
18005 glibcxx_cv_system_error16=yes
18006 else
18007 glibcxx_cv_system_error16=no
18009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
18014 $as_echo "$glibcxx_cv_system_error16" >&6; }
18015 if test x"$glibcxx_cv_system_error16" = x"yes"; then
18017 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
18020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
18021 $as_echo_n "checking for EPERM... " >&6; }
18022 if test "${glibcxx_cv_system_error17+set}" = set; then :
18023 $as_echo_n "(cached) " >&6
18024 else
18026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18027 /* end confdefs.h. */
18028 #include <errno.h>
18030 main ()
18032 int i = EPERM;
18034 return 0;
18036 _ACEOF
18037 if ac_fn_c_try_compile "$LINENO"; then :
18038 glibcxx_cv_system_error17=yes
18039 else
18040 glibcxx_cv_system_error17=no
18042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
18047 $as_echo "$glibcxx_cv_system_error17" >&6; }
18048 if test x"$glibcxx_cv_system_error17" = x"yes"; then
18050 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
18053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
18054 $as_echo_n "checking for ETIMEDOUT... " >&6; }
18055 if test "${glibcxx_cv_system_error18+set}" = set; then :
18056 $as_echo_n "(cached) " >&6
18057 else
18059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18060 /* end confdefs.h. */
18061 #include <errno.h>
18063 main ()
18065 int i = ETIMEDOUT;
18067 return 0;
18069 _ACEOF
18070 if ac_fn_c_try_compile "$LINENO"; then :
18071 glibcxx_cv_system_error18=yes
18072 else
18073 glibcxx_cv_system_error18=no
18075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
18080 $as_echo "$glibcxx_cv_system_error18" >&6; }
18081 if test x"$glibcxx_cv_system_error18" = x"yes"; then
18083 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
18086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
18087 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
18088 if test "${glibcxx_cv_system_error19+set}" = set; then :
18089 $as_echo_n "(cached) " >&6
18090 else
18092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18093 /* end confdefs.h. */
18094 #include <errno.h>
18096 main ()
18098 int i = EWOULDBLOCK;
18100 return 0;
18102 _ACEOF
18103 if ac_fn_c_try_compile "$LINENO"; then :
18104 glibcxx_cv_system_error19=yes
18105 else
18106 glibcxx_cv_system_error19=no
18108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
18113 $as_echo "$glibcxx_cv_system_error19" >&6; }
18114 if test x"$glibcxx_cv_system_error19" = x"yes"; then
18116 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
18122 # For the streamoff typedef.
18126 ac_ext=cpp
18127 ac_cpp='$CXXCPP $CPPFLAGS'
18128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
18134 $as_echo_n "checking for int64_t... " >&6; }
18135 if test "${glibcxx_cv_INT64_T+set}" = set; then :
18136 $as_echo_n "(cached) " >&6
18137 else
18139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18140 /* end confdefs.h. */
18141 #include <stdint.h>
18143 main ()
18145 int64_t var;
18147 return 0;
18149 _ACEOF
18150 if ac_fn_cxx_try_compile "$LINENO"; then :
18151 glibcxx_cv_INT64_T=yes
18152 else
18153 glibcxx_cv_INT64_T=no
18155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18160 if test $glibcxx_cv_INT64_T = yes; then
18162 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
18164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
18165 $as_echo "$glibcxx_cv_INT64_T" >&6; }
18167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
18168 $as_echo_n "checking for int64_t as long... " >&6; }
18169 if test "${glibcxx_cv_int64_t_long+set}" = set; then :
18170 $as_echo_n "(cached) " >&6
18171 else
18173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18174 /* end confdefs.h. */
18175 #include <stdint.h>
18176 template<typename, typename> struct same { enum { value = -1 }; };
18177 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18178 int array[same<int64_t, long>::value];
18180 main ()
18184 return 0;
18186 _ACEOF
18187 if ac_fn_cxx_try_compile "$LINENO"; then :
18188 glibcxx_cv_int64_t_long=yes
18189 else
18190 glibcxx_cv_int64_t_long=no
18192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18197 if test $glibcxx_cv_int64_t_long = yes; then
18199 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
18201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
18202 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
18205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
18206 $as_echo_n "checking for int64_t as long long... " >&6; }
18207 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
18208 $as_echo_n "(cached) " >&6
18209 else
18211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18212 /* end confdefs.h. */
18213 #include <stdint.h>
18214 template<typename, typename> struct same { enum { value = -1 }; };
18215 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18216 int array[same<int64_t, long long>::value];
18218 main ()
18222 return 0;
18224 _ACEOF
18225 if ac_fn_cxx_try_compile "$LINENO"; then :
18226 glibcxx_cv_int64_t_long_long=yes
18227 else
18228 glibcxx_cv_int64_t_long_long=no
18230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18235 if test $glibcxx_cv_int64_t_long_long = yes; then
18237 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
18239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
18240 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
18244 ac_ext=c
18245 ac_cpp='$CPP $CPPFLAGS'
18246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18252 # For LFS support.
18255 ac_ext=cpp
18256 ac_cpp='$CXXCPP $CPPFLAGS'
18257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18261 ac_save_CXXFLAGS="$CXXFLAGS"
18262 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
18264 $as_echo_n "checking for LFS support... " >&6; }
18265 if test "${glibcxx_cv_LFS+set}" = set; then :
18266 $as_echo_n "(cached) " >&6
18267 else
18269 if test x$gcc_no_link = xyes; then
18270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18271 /* end confdefs.h. */
18272 #include <unistd.h>
18273 #include <stdio.h>
18274 #include <sys/stat.h>
18277 main ()
18279 FILE* fp;
18280 fopen64("t", "w");
18281 fseeko64(fp, 0, SEEK_CUR);
18282 ftello64(fp);
18283 lseek64(1, 0, SEEK_CUR);
18284 struct stat64 buf;
18285 fstat64(1, &buf);
18287 return 0;
18289 _ACEOF
18290 if ac_fn_cxx_try_compile "$LINENO"; then :
18291 glibcxx_cv_LFS=yes
18292 else
18293 glibcxx_cv_LFS=no
18295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18296 else
18297 if test x$gcc_no_link = xyes; then
18298 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18301 /* end confdefs.h. */
18302 #include <unistd.h>
18303 #include <stdio.h>
18304 #include <sys/stat.h>
18307 main ()
18309 FILE* fp;
18310 fopen64("t", "w");
18311 fseeko64(fp, 0, SEEK_CUR);
18312 ftello64(fp);
18313 lseek64(1, 0, SEEK_CUR);
18314 struct stat64 buf;
18315 fstat64(1, &buf);
18317 return 0;
18319 _ACEOF
18320 if ac_fn_cxx_try_link "$LINENO"; then :
18321 glibcxx_cv_LFS=yes
18322 else
18323 glibcxx_cv_LFS=no
18325 rm -f core conftest.err conftest.$ac_objext \
18326 conftest$ac_exeext conftest.$ac_ext
18331 if test $glibcxx_cv_LFS = yes; then
18333 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
18336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
18337 $as_echo "$glibcxx_cv_LFS" >&6; }
18338 CXXFLAGS="$ac_save_CXXFLAGS"
18339 ac_ext=c
18340 ac_cpp='$CPP $CPPFLAGS'
18341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18347 # For showmanyc_helper().
18348 for ac_header in sys/ioctl.h sys/filio.h
18349 do :
18350 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18351 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18352 eval as_val=\$$as_ac_Header
18353 if test "x$as_val" = x""yes; then :
18354 cat >>confdefs.h <<_ACEOF
18355 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18356 _ACEOF
18360 done
18365 ac_ext=cpp
18366 ac_cpp='$CXXCPP $CPPFLAGS'
18367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18371 ac_save_CXXFLAGS="$CXXFLAGS"
18372 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
18375 $as_echo_n "checking for poll... " >&6; }
18376 if test "${glibcxx_cv_POLL+set}" = set; then :
18377 $as_echo_n "(cached) " >&6
18378 else
18380 if test x$gcc_no_link = xyes; then
18381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18382 /* end confdefs.h. */
18383 #include <poll.h>
18385 main ()
18387 struct pollfd pfd[1];
18388 pfd[0].events = POLLIN;
18389 poll(pfd, 1, 0);
18391 return 0;
18393 _ACEOF
18394 if ac_fn_cxx_try_compile "$LINENO"; then :
18395 glibcxx_cv_POLL=yes
18396 else
18397 glibcxx_cv_POLL=no
18399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18400 else
18401 if test x$gcc_no_link = xyes; then
18402 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18405 /* end confdefs.h. */
18406 #include <poll.h>
18408 main ()
18410 struct pollfd pfd[1];
18411 pfd[0].events = POLLIN;
18412 poll(pfd, 1, 0);
18414 return 0;
18416 _ACEOF
18417 if ac_fn_cxx_try_link "$LINENO"; then :
18418 glibcxx_cv_POLL=yes
18419 else
18420 glibcxx_cv_POLL=no
18422 rm -f core conftest.err conftest.$ac_objext \
18423 conftest$ac_exeext conftest.$ac_ext
18428 if test $glibcxx_cv_POLL = yes; then
18430 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
18434 $as_echo "$glibcxx_cv_POLL" >&6; }
18436 CXXFLAGS="$ac_save_CXXFLAGS"
18437 ac_ext=c
18438 ac_cpp='$CPP $CPPFLAGS'
18439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18447 ac_ext=cpp
18448 ac_cpp='$CXXCPP $CPPFLAGS'
18449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18453 ac_save_CXXFLAGS="$CXXFLAGS"
18454 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
18457 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
18458 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
18459 $as_echo_n "(cached) " >&6
18460 else
18462 if test x$gcc_no_link = xyes; then
18463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18464 /* end confdefs.h. */
18465 #include <sys/stat.h>
18467 main ()
18469 struct stat buffer;
18470 fstat(0, &buffer);
18471 S_ISREG(buffer.st_mode);
18473 return 0;
18475 _ACEOF
18476 if ac_fn_cxx_try_compile "$LINENO"; then :
18477 glibcxx_cv_S_ISREG=yes
18478 else
18479 glibcxx_cv_S_ISREG=no
18481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18482 else
18483 if test x$gcc_no_link = xyes; then
18484 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18487 /* end confdefs.h. */
18488 #include <sys/stat.h>
18490 main ()
18492 struct stat buffer;
18493 fstat(0, &buffer);
18494 S_ISREG(buffer.st_mode);
18496 return 0;
18498 _ACEOF
18499 if ac_fn_cxx_try_link "$LINENO"; then :
18500 glibcxx_cv_S_ISREG=yes
18501 else
18502 glibcxx_cv_S_ISREG=no
18504 rm -f core conftest.err conftest.$ac_objext \
18505 conftest$ac_exeext conftest.$ac_ext
18510 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
18511 $as_echo_n "(cached) " >&6
18512 else
18514 if test x$gcc_no_link = xyes; then
18515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18516 /* end confdefs.h. */
18517 #include <sys/stat.h>
18519 main ()
18521 struct stat buffer;
18522 fstat(0, &buffer);
18523 S_IFREG & buffer.st_mode;
18525 return 0;
18527 _ACEOF
18528 if ac_fn_cxx_try_compile "$LINENO"; then :
18529 glibcxx_cv_S_IFREG=yes
18530 else
18531 glibcxx_cv_S_IFREG=no
18533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18534 else
18535 if test x$gcc_no_link = xyes; then
18536 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18539 /* end confdefs.h. */
18540 #include <sys/stat.h>
18542 main ()
18544 struct stat buffer;
18545 fstat(0, &buffer);
18546 S_IFREG & buffer.st_mode;
18548 return 0;
18550 _ACEOF
18551 if ac_fn_cxx_try_link "$LINENO"; then :
18552 glibcxx_cv_S_IFREG=yes
18553 else
18554 glibcxx_cv_S_IFREG=no
18556 rm -f core conftest.err conftest.$ac_objext \
18557 conftest$ac_exeext conftest.$ac_ext
18562 res=no
18563 if test $glibcxx_cv_S_ISREG = yes; then
18565 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
18567 res=S_ISREG
18568 elif test $glibcxx_cv_S_IFREG = yes; then
18570 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
18572 res=S_IFREG
18574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
18575 $as_echo "$res" >&6; }
18577 CXXFLAGS="$ac_save_CXXFLAGS"
18578 ac_ext=c
18579 ac_cpp='$CPP $CPPFLAGS'
18580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18586 # For xsputn_2().
18587 for ac_header in sys/uio.h
18588 do :
18589 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
18590 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
18591 cat >>confdefs.h <<_ACEOF
18592 #define HAVE_SYS_UIO_H 1
18593 _ACEOF
18597 done
18602 ac_ext=cpp
18603 ac_cpp='$CXXCPP $CPPFLAGS'
18604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18608 ac_save_CXXFLAGS="$CXXFLAGS"
18609 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
18612 $as_echo_n "checking for writev... " >&6; }
18613 if test "${glibcxx_cv_WRITEV+set}" = set; then :
18614 $as_echo_n "(cached) " >&6
18615 else
18617 if test x$gcc_no_link = xyes; then
18618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18619 /* end confdefs.h. */
18620 #include <sys/uio.h>
18622 main ()
18624 struct iovec iov[2];
18625 writev(0, iov, 0);
18627 return 0;
18629 _ACEOF
18630 if ac_fn_cxx_try_compile "$LINENO"; then :
18631 glibcxx_cv_WRITEV=yes
18632 else
18633 glibcxx_cv_WRITEV=no
18635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18636 else
18637 if test x$gcc_no_link = xyes; then
18638 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18641 /* end confdefs.h. */
18642 #include <sys/uio.h>
18644 main ()
18646 struct iovec iov[2];
18647 writev(0, iov, 0);
18649 return 0;
18651 _ACEOF
18652 if ac_fn_cxx_try_link "$LINENO"; then :
18653 glibcxx_cv_WRITEV=yes
18654 else
18655 glibcxx_cv_WRITEV=no
18657 rm -f core conftest.err conftest.$ac_objext \
18658 conftest$ac_exeext conftest.$ac_ext
18663 if test $glibcxx_cv_WRITEV = yes; then
18665 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
18668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
18669 $as_echo "$glibcxx_cv_WRITEV" >&6; }
18671 CXXFLAGS="$ac_save_CXXFLAGS"
18672 ac_ext=c
18673 ac_cpp='$CPP $CPPFLAGS'
18674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18680 # Check for fenv.h and complex.h before GLIBCXX_CHECK_C99_TR1
18681 # so that the check is done with the C compiler (not C++).
18682 # Checking with C++ can break a canadian cross build if either
18683 # file does not exist in C but does in C++.
18684 for ac_header in fenv.h complex.h
18685 do :
18686 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18687 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18688 eval as_val=\$$as_ac_Header
18689 if test "x$as_val" = x""yes; then :
18690 cat >>confdefs.h <<_ACEOF
18691 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18692 _ACEOF
18696 done
18699 # For C99 support to TR1.
18703 ac_ext=cpp
18704 ac_cpp='$CXXCPP $CPPFLAGS'
18705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18710 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
18711 # undefined and fake C99 facilities may be spuriously enabled.
18712 ac_save_CXXFLAGS="$CXXFLAGS"
18713 CXXFLAGS="$CXXFLAGS -std=c++98"
18715 # Check for the existence of <complex.h> complex math functions used
18716 # by tr1/complex.
18717 for ac_header in complex.h
18718 do :
18719 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18720 if test "x$ac_cv_header_complex_h" = x""yes; then :
18721 cat >>confdefs.h <<_ACEOF
18722 #define HAVE_COMPLEX_H 1
18723 _ACEOF
18724 ac_has_complex_h=yes
18725 else
18726 ac_has_complex_h=no
18729 done
18731 ac_c99_complex_tr1=no;
18732 if test x"$ac_has_complex_h" = x"yes"; then
18733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
18734 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
18735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18736 /* end confdefs.h. */
18737 #include <complex.h>
18739 main ()
18741 typedef __complex__ float float_type; float_type tmpf;
18742 cacosf(tmpf);
18743 casinf(tmpf);
18744 catanf(tmpf);
18745 cacoshf(tmpf);
18746 casinhf(tmpf);
18747 catanhf(tmpf);
18748 typedef __complex__ double double_type; double_type tmpd;
18749 cacos(tmpd);
18750 casin(tmpd);
18751 catan(tmpd);
18752 cacosh(tmpd);
18753 casinh(tmpd);
18754 catanh(tmpd);
18755 typedef __complex__ long double ld_type; ld_type tmpld;
18756 cacosl(tmpld);
18757 casinl(tmpld);
18758 catanl(tmpld);
18759 cacoshl(tmpld);
18760 casinhl(tmpld);
18761 catanhl(tmpld);
18764 return 0;
18766 _ACEOF
18767 if ac_fn_cxx_try_compile "$LINENO"; then :
18768 ac_c99_complex_tr1=yes
18769 else
18770 ac_c99_complex_tr1=no
18772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
18775 $as_echo "$ac_c99_complex_tr1" >&6; }
18776 if test x"$ac_c99_complex_tr1" = x"yes"; then
18778 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
18782 # Check for the existence of <ctype.h> functions.
18783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
18784 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
18785 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
18786 $as_echo_n "(cached) " >&6
18787 else
18789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18790 /* end confdefs.h. */
18791 #include <ctype.h>
18793 main ()
18795 int ch;
18796 int ret;
18797 ret = isblank(ch);
18800 return 0;
18802 _ACEOF
18803 if ac_fn_cxx_try_compile "$LINENO"; then :
18804 glibcxx_cv_c99_ctype_tr1=yes
18805 else
18806 glibcxx_cv_c99_ctype_tr1=no
18808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
18813 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
18814 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
18816 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
18820 # Check for the existence of <fenv.h> functions.
18821 for ac_header in fenv.h
18822 do :
18823 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
18824 if test "x$ac_cv_header_fenv_h" = x""yes; then :
18825 cat >>confdefs.h <<_ACEOF
18826 #define HAVE_FENV_H 1
18827 _ACEOF
18828 ac_has_fenv_h=yes
18829 else
18830 ac_has_fenv_h=no
18833 done
18835 ac_c99_fenv_tr1=no;
18836 if test x"$ac_has_fenv_h" = x"yes"; then
18837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
18838 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
18839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18840 /* end confdefs.h. */
18841 #include <fenv.h>
18843 main ()
18845 int except, mode;
18846 fexcept_t* pflag;
18847 fenv_t* penv;
18848 int ret;
18849 ret = feclearexcept(except);
18850 ret = fegetexceptflag(pflag, except);
18851 ret = feraiseexcept(except);
18852 ret = fesetexceptflag(pflag, except);
18853 ret = fetestexcept(except);
18854 ret = fegetround();
18855 ret = fesetround(mode);
18856 ret = fegetenv(penv);
18857 ret = feholdexcept(penv);
18858 ret = fesetenv(penv);
18859 ret = feupdateenv(penv);
18862 return 0;
18864 _ACEOF
18865 if ac_fn_cxx_try_compile "$LINENO"; then :
18866 ac_c99_fenv_tr1=yes
18867 else
18868 ac_c99_fenv_tr1=no
18870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
18873 $as_echo "$ac_c99_fenv_tr1" >&6; }
18874 if test x"$ac_c99_fenv_tr1" = x"yes"; then
18876 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
18880 # Check for the existence of <stdint.h> types.
18881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
18882 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
18883 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
18884 $as_echo_n "(cached) " >&6
18885 else
18887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18888 /* end confdefs.h. */
18889 #define __STDC_LIMIT_MACROS
18890 #define __STDC_CONSTANT_MACROS
18891 #include <stdint.h>
18893 main ()
18895 typedef int8_t my_int8_t;
18896 my_int8_t i8 = INT8_MIN;
18897 i8 = INT8_MAX;
18898 typedef int16_t my_int16_t;
18899 my_int16_t i16 = INT16_MIN;
18900 i16 = INT16_MAX;
18901 typedef int32_t my_int32_t;
18902 my_int32_t i32 = INT32_MIN;
18903 i32 = INT32_MAX;
18904 typedef int64_t my_int64_t;
18905 my_int64_t i64 = INT64_MIN;
18906 i64 = INT64_MAX;
18907 typedef int_fast8_t my_int_fast8_t;
18908 my_int_fast8_t if8 = INT_FAST8_MIN;
18909 if8 = INT_FAST8_MAX;
18910 typedef int_fast16_t my_int_fast16_t;
18911 my_int_fast16_t if16 = INT_FAST16_MIN;
18912 if16 = INT_FAST16_MAX;
18913 typedef int_fast32_t my_int_fast32_t;
18914 my_int_fast32_t if32 = INT_FAST32_MIN;
18915 if32 = INT_FAST32_MAX;
18916 typedef int_fast64_t my_int_fast64_t;
18917 my_int_fast64_t if64 = INT_FAST64_MIN;
18918 if64 = INT_FAST64_MAX;
18919 typedef int_least8_t my_int_least8_t;
18920 my_int_least8_t il8 = INT_LEAST8_MIN;
18921 il8 = INT_LEAST8_MAX;
18922 typedef int_least16_t my_int_least16_t;
18923 my_int_least16_t il16 = INT_LEAST16_MIN;
18924 il16 = INT_LEAST16_MAX;
18925 typedef int_least32_t my_int_least32_t;
18926 my_int_least32_t il32 = INT_LEAST32_MIN;
18927 il32 = INT_LEAST32_MAX;
18928 typedef int_least64_t my_int_least64_t;
18929 my_int_least64_t il64 = INT_LEAST64_MIN;
18930 il64 = INT_LEAST64_MAX;
18931 typedef intmax_t my_intmax_t;
18932 my_intmax_t im = INTMAX_MAX;
18933 im = INTMAX_MIN;
18934 typedef intptr_t my_intptr_t;
18935 my_intptr_t ip = INTPTR_MAX;
18936 ip = INTPTR_MIN;
18937 typedef uint8_t my_uint8_t;
18938 my_uint8_t ui8 = UINT8_MAX;
18939 ui8 = UINT8_MAX;
18940 typedef uint16_t my_uint16_t;
18941 my_uint16_t ui16 = UINT16_MAX;
18942 ui16 = UINT16_MAX;
18943 typedef uint32_t my_uint32_t;
18944 my_uint32_t ui32 = UINT32_MAX;
18945 ui32 = UINT32_MAX;
18946 typedef uint64_t my_uint64_t;
18947 my_uint64_t ui64 = UINT64_MAX;
18948 ui64 = UINT64_MAX;
18949 typedef uint_fast8_t my_uint_fast8_t;
18950 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
18951 uif8 = UINT_FAST8_MAX;
18952 typedef uint_fast16_t my_uint_fast16_t;
18953 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
18954 uif16 = UINT_FAST16_MAX;
18955 typedef uint_fast32_t my_uint_fast32_t;
18956 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
18957 uif32 = UINT_FAST32_MAX;
18958 typedef uint_fast64_t my_uint_fast64_t;
18959 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
18960 uif64 = UINT_FAST64_MAX;
18961 typedef uint_least8_t my_uint_least8_t;
18962 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
18963 uil8 = UINT_LEAST8_MAX;
18964 typedef uint_least16_t my_uint_least16_t;
18965 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
18966 uil16 = UINT_LEAST16_MAX;
18967 typedef uint_least32_t my_uint_least32_t;
18968 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
18969 uil32 = UINT_LEAST32_MAX;
18970 typedef uint_least64_t my_uint_least64_t;
18971 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
18972 uil64 = UINT_LEAST64_MAX;
18973 typedef uintmax_t my_uintmax_t;
18974 my_uintmax_t uim = UINTMAX_MAX;
18975 uim = UINTMAX_MAX;
18976 typedef uintptr_t my_uintptr_t;
18977 my_uintptr_t uip = UINTPTR_MAX;
18978 uip = UINTPTR_MAX;
18981 return 0;
18983 _ACEOF
18984 if ac_fn_cxx_try_compile "$LINENO"; then :
18985 glibcxx_cv_c99_stdint_tr1=yes
18986 else
18987 glibcxx_cv_c99_stdint_tr1=no
18989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
18994 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
18995 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18997 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
19001 # Check for the existence of <math.h> functions.
19002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
19003 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
19004 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
19005 $as_echo_n "(cached) " >&6
19006 else
19008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19009 /* end confdefs.h. */
19010 #include <math.h>
19012 main ()
19014 typedef double_t my_double_t;
19015 typedef float_t my_float_t;
19016 acosh(0.0);
19017 acoshf(0.0f);
19018 acoshl(0.0l);
19019 asinh(0.0);
19020 asinhf(0.0f);
19021 asinhl(0.0l);
19022 atanh(0.0);
19023 atanhf(0.0f);
19024 atanhl(0.0l);
19025 cbrt(0.0);
19026 cbrtf(0.0f);
19027 cbrtl(0.0l);
19028 copysign(0.0, 0.0);
19029 copysignf(0.0f, 0.0f);
19030 copysignl(0.0l, 0.0l);
19031 erf(0.0);
19032 erff(0.0f);
19033 erfl(0.0l);
19034 erfc(0.0);
19035 erfcf(0.0f);
19036 erfcl(0.0l);
19037 exp2(0.0);
19038 exp2f(0.0f);
19039 exp2l(0.0l);
19040 expm1(0.0);
19041 expm1f(0.0f);
19042 expm1l(0.0l);
19043 fdim(0.0, 0.0);
19044 fdimf(0.0f, 0.0f);
19045 fdiml(0.0l, 0.0l);
19046 fma(0.0, 0.0, 0.0);
19047 fmaf(0.0f, 0.0f, 0.0f);
19048 fmal(0.0l, 0.0l, 0.0l);
19049 fmax(0.0, 0.0);
19050 fmaxf(0.0f, 0.0f);
19051 fmaxl(0.0l, 0.0l);
19052 fmin(0.0, 0.0);
19053 fminf(0.0f, 0.0f);
19054 fminl(0.0l, 0.0l);
19055 hypot(0.0, 0.0);
19056 hypotf(0.0f, 0.0f);
19057 hypotl(0.0l, 0.0l);
19058 ilogb(0.0);
19059 ilogbf(0.0f);
19060 ilogbl(0.0l);
19061 lgamma(0.0);
19062 lgammaf(0.0f);
19063 lgammal(0.0l);
19064 llrint(0.0);
19065 llrintf(0.0f);
19066 llrintl(0.0l);
19067 llround(0.0);
19068 llroundf(0.0f);
19069 llroundl(0.0l);
19070 log1p(0.0);
19071 log1pf(0.0f);
19072 log1pl(0.0l);
19073 log2(0.0);
19074 log2f(0.0f);
19075 log2l(0.0l);
19076 logb(0.0);
19077 logbf(0.0f);
19078 logbl(0.0l);
19079 lrint(0.0);
19080 lrintf(0.0f);
19081 lrintl(0.0l);
19082 lround(0.0);
19083 lroundf(0.0f);
19084 lroundl(0.0l);
19085 nan(0);
19086 nanf(0);
19087 nanl(0);
19088 nearbyint(0.0);
19089 nearbyintf(0.0f);
19090 nearbyintl(0.0l);
19091 nextafter(0.0, 0.0);
19092 nextafterf(0.0f, 0.0f);
19093 nextafterl(0.0l, 0.0l);
19094 nexttoward(0.0, 0.0);
19095 nexttowardf(0.0f, 0.0f);
19096 nexttowardl(0.0l, 0.0l);
19097 remainder(0.0, 0.0);
19098 remainderf(0.0f, 0.0f);
19099 remainderl(0.0l, 0.0l);
19100 remquo(0.0, 0.0, 0);
19101 remquof(0.0f, 0.0f, 0);
19102 remquol(0.0l, 0.0l, 0);
19103 rint(0.0);
19104 rintf(0.0f);
19105 rintl(0.0l);
19106 round(0.0);
19107 roundf(0.0f);
19108 roundl(0.0l);
19109 scalbln(0.0, 0l);
19110 scalblnf(0.0f, 0l);
19111 scalblnl(0.0l, 0l);
19112 scalbn(0.0, 0);
19113 scalbnf(0.0f, 0);
19114 scalbnl(0.0l, 0);
19115 tgamma(0.0);
19116 tgammaf(0.0f);
19117 tgammal(0.0l);
19118 trunc(0.0);
19119 truncf(0.0f);
19120 truncl(0.0l);
19123 return 0;
19125 _ACEOF
19126 if ac_fn_cxx_try_compile "$LINENO"; then :
19127 glibcxx_cv_c99_math_tr1=yes
19128 else
19129 glibcxx_cv_c99_math_tr1=no
19131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
19136 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
19137 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
19139 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
19143 # Check for the existence of <inttypes.h> functions (NB: doesn't make
19144 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19145 ac_c99_inttypes_tr1=no;
19146 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
19148 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19150 /* end confdefs.h. */
19151 #include <inttypes.h>
19153 main ()
19155 intmax_t i, numer, denom, base;
19156 const char* s;
19157 char** endptr;
19158 intmax_t ret = imaxabs(i);
19159 imaxdiv_t dret = imaxdiv(numer, denom);
19160 ret = strtoimax(s, endptr, base);
19161 uintmax_t uret = strtoumax(s, endptr, base);
19164 return 0;
19166 _ACEOF
19167 if ac_fn_cxx_try_compile "$LINENO"; then :
19168 ac_c99_inttypes_tr1=yes
19169 else
19170 ac_c99_inttypes_tr1=no
19172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
19175 $as_echo "$ac_c99_inttypes_tr1" >&6; }
19176 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
19178 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
19182 # Check for the existence of whcar_t <inttypes.h> functions (NB: doesn't
19183 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19184 ac_c99_inttypes_wchar_t_tr1=no;
19185 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
19187 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19189 /* end confdefs.h. */
19190 #include <inttypes.h>
19192 main ()
19194 intmax_t base;
19195 const wchar_t* s;
19196 wchar_t** endptr;
19197 intmax_t ret = wcstoimax(s, endptr, base);
19198 uintmax_t uret = wcstoumax(s, endptr, base);
19201 return 0;
19203 _ACEOF
19204 if ac_fn_cxx_try_compile "$LINENO"; then :
19205 ac_c99_inttypes_wchar_t_tr1=yes
19206 else
19207 ac_c99_inttypes_wchar_t_tr1=no
19209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
19212 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
19213 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
19215 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
19219 # Check for the existence of the <stdbool.h> header.
19220 for ac_header in stdbool.h
19221 do :
19222 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
19223 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
19224 cat >>confdefs.h <<_ACEOF
19225 #define HAVE_STDBOOL_H 1
19226 _ACEOF
19230 done
19233 # Check for the existence of the <stdalign.h> header.
19234 for ac_header in stdalign.h
19235 do :
19236 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
19237 if test "x$ac_cv_header_stdalign_h" = x""yes; then :
19238 cat >>confdefs.h <<_ACEOF
19239 #define HAVE_STDALIGN_H 1
19240 _ACEOF
19244 done
19247 CXXFLAGS="$ac_save_CXXFLAGS"
19248 ac_ext=c
19249 ac_cpp='$CPP $CPPFLAGS'
19250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19256 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
19259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
19260 $as_echo_n "checking for the value of EOF... " >&6; }
19261 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
19262 $as_echo_n "(cached) " >&6
19263 else
19265 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
19267 else
19268 as_fn_error "computing EOF failed" "$LINENO" 5
19273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
19274 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
19276 cat >>confdefs.h <<_ACEOF
19277 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
19278 _ACEOF
19281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
19282 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
19283 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
19284 $as_echo_n "(cached) " >&6
19285 else
19287 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
19289 else
19290 as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
19295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
19296 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
19298 cat >>confdefs.h <<_ACEOF
19299 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
19300 _ACEOF
19303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
19304 $as_echo_n "checking for the value of SEEK_END... " >&6; }
19305 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
19306 $as_echo_n "(cached) " >&6
19307 else
19309 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
19311 else
19312 as_fn_error "computing SEEK_END failed" "$LINENO" 5
19317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
19318 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
19320 cat >>confdefs.h <<_ACEOF
19321 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
19322 _ACEOF
19326 # For gettimeofday support.
19329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19330 $as_echo_n "checking for gettimeofday... " >&6; }
19333 ac_ext=cpp
19334 ac_cpp='$CXXCPP $CPPFLAGS'
19335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19339 ac_save_CXXFLAGS="$CXXFLAGS"
19340 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19342 ac_has_gettimeofday=no;
19343 for ac_header in sys/time.h
19344 do :
19345 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
19346 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
19347 cat >>confdefs.h <<_ACEOF
19348 #define HAVE_SYS_TIME_H 1
19349 _ACEOF
19350 ac_has_sys_time_h=yes
19351 else
19352 ac_has_sys_time_h=no
19355 done
19357 if test x"$ac_has_sys_time_h" = x"yes"; then
19358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19359 $as_echo_n "checking for gettimeofday... " >&6; }
19360 if test x$gcc_no_link = xyes; then
19361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19362 /* end confdefs.h. */
19363 #include <sys/time.h>
19365 main ()
19367 timeval tv; gettimeofday(&tv, 0);
19369 return 0;
19371 _ACEOF
19372 if ac_fn_cxx_try_compile "$LINENO"; then :
19373 ac_has_gettimeofday=yes
19374 else
19375 ac_has_gettimeofday=no
19377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19378 else
19379 if test x$gcc_no_link = xyes; then
19380 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19383 /* end confdefs.h. */
19384 #include <sys/time.h>
19386 main ()
19388 timeval tv; gettimeofday(&tv, 0);
19390 return 0;
19392 _ACEOF
19393 if ac_fn_cxx_try_link "$LINENO"; then :
19394 ac_has_gettimeofday=yes
19395 else
19396 ac_has_gettimeofday=no
19398 rm -f core conftest.err conftest.$ac_objext \
19399 conftest$ac_exeext conftest.$ac_ext
19402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
19403 $as_echo "$ac_has_gettimeofday" >&6; }
19406 if test x"$ac_has_gettimeofday" = x"yes"; then
19408 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
19412 CXXFLAGS="$ac_save_CXXFLAGS"
19413 ac_ext=c
19414 ac_cpp='$CPP $CPPFLAGS'
19415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19421 # For clock_gettime, nanosleep and sched_yield support.
19424 # Check whether --enable-libstdcxx-time was given.
19425 if test "${enable_libstdcxx_time+set}" = set; then :
19426 enableval=$enable_libstdcxx_time;
19427 case "$enableval" in
19428 yes|no|rt) ;;
19429 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
19430 esac
19432 else
19433 enable_libstdcxx_time=auto
19439 ac_ext=cpp
19440 ac_cpp='$CXXCPP $CPPFLAGS'
19441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19445 ac_save_CXXFLAGS="$CXXFLAGS"
19446 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19447 ac_save_LIBS="$LIBS"
19449 ac_has_clock_monotonic=no
19450 ac_has_clock_realtime=no
19451 ac_has_nanosleep=no
19452 ac_has_sched_yield=no
19454 if test x"$enable_libstdcxx_time" = x"auto"; then
19456 case "${target_os}" in
19457 cygwin*)
19458 ac_has_nanosleep=yes
19460 darwin*)
19461 ac_has_nanosleep=yes
19462 ac_has_sched_yield=yes
19464 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
19465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at least GNU libc 2.17" >&5
19466 $as_echo_n "checking for at least GNU libc 2.17... " >&6; }
19467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19468 /* end confdefs.h. */
19469 #include <features.h>
19471 main ()
19474 #if ! __GLIBC_PREREQ(2, 17)
19475 #error
19476 #endif
19479 return 0;
19481 _ACEOF
19482 if ac_fn_cxx_try_compile "$LINENO"; then :
19483 glibcxx_glibc217=yes
19484 else
19485 glibcxx_glibc217=no
19487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_glibc217" >&5
19489 $as_echo "$glibcxx_glibc217" >&6; }
19491 if test x"$glibcxx_glibc217" = x"yes"; then
19492 ac_has_clock_monotonic=yes
19493 ac_has_clock_realtime=yes
19495 ac_has_nanosleep=yes
19496 ac_has_sched_yield=yes
19498 freebsd*|netbsd*)
19499 ac_has_clock_monotonic=yes
19500 ac_has_clock_realtime=yes
19501 ac_has_nanosleep=yes
19502 ac_has_sched_yield=yes
19504 openbsd*)
19505 ac_has_clock_monotonic=yes
19506 ac_has_clock_realtime=yes
19507 ac_has_nanosleep=yes
19509 solaris*)
19510 GLIBCXX_LIBS="$GLIBCXX_LIBS -lrt"
19511 ac_has_clock_monotonic=yes
19512 ac_has_clock_realtime=yes
19513 ac_has_nanosleep=yes
19514 ac_has_sched_yield=yes
19516 esac
19518 elif test x"$enable_libstdcxx_time" != x"no"; then
19520 if test x"$enable_libstdcxx_time" = x"rt"; then
19521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19522 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19523 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19524 $as_echo_n "(cached) " >&6
19525 else
19526 ac_func_search_save_LIBS=$LIBS
19527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19528 /* end confdefs.h. */
19530 /* Override any GCC internal prototype to avoid an error.
19531 Use char because int might match the return type of a GCC
19532 builtin and then its argument prototype would still apply. */
19533 #ifdef __cplusplus
19534 extern "C"
19535 #endif
19536 char clock_gettime ();
19538 main ()
19540 return clock_gettime ();
19542 return 0;
19544 _ACEOF
19545 for ac_lib in '' rt posix4; do
19546 if test -z "$ac_lib"; then
19547 ac_res="none required"
19548 else
19549 ac_res=-l$ac_lib
19550 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19552 if test x$gcc_no_link = xyes; then
19553 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19555 if ac_fn_cxx_try_link "$LINENO"; then :
19556 ac_cv_search_clock_gettime=$ac_res
19558 rm -f core conftest.err conftest.$ac_objext \
19559 conftest$ac_exeext
19560 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19561 break
19563 done
19564 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19566 else
19567 ac_cv_search_clock_gettime=no
19569 rm conftest.$ac_ext
19570 LIBS=$ac_func_search_save_LIBS
19572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19573 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19574 ac_res=$ac_cv_search_clock_gettime
19575 if test "$ac_res" != no; then :
19576 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19581 $as_echo_n "checking for library containing nanosleep... " >&6; }
19582 if test "${ac_cv_search_nanosleep+set}" = set; then :
19583 $as_echo_n "(cached) " >&6
19584 else
19585 ac_func_search_save_LIBS=$LIBS
19586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19587 /* end confdefs.h. */
19589 /* Override any GCC internal prototype to avoid an error.
19590 Use char because int might match the return type of a GCC
19591 builtin and then its argument prototype would still apply. */
19592 #ifdef __cplusplus
19593 extern "C"
19594 #endif
19595 char nanosleep ();
19597 main ()
19599 return nanosleep ();
19601 return 0;
19603 _ACEOF
19604 for ac_lib in '' rt posix4; do
19605 if test -z "$ac_lib"; then
19606 ac_res="none required"
19607 else
19608 ac_res=-l$ac_lib
19609 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19611 if test x$gcc_no_link = xyes; then
19612 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19614 if ac_fn_cxx_try_link "$LINENO"; then :
19615 ac_cv_search_nanosleep=$ac_res
19617 rm -f core conftest.err conftest.$ac_objext \
19618 conftest$ac_exeext
19619 if test "${ac_cv_search_nanosleep+set}" = set; then :
19620 break
19622 done
19623 if test "${ac_cv_search_nanosleep+set}" = set; then :
19625 else
19626 ac_cv_search_nanosleep=no
19628 rm conftest.$ac_ext
19629 LIBS=$ac_func_search_save_LIBS
19631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19632 $as_echo "$ac_cv_search_nanosleep" >&6; }
19633 ac_res=$ac_cv_search_nanosleep
19634 if test "$ac_res" != no; then :
19635 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19639 else
19640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19641 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19642 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19643 $as_echo_n "(cached) " >&6
19644 else
19645 ac_func_search_save_LIBS=$LIBS
19646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19647 /* end confdefs.h. */
19649 /* Override any GCC internal prototype to avoid an error.
19650 Use char because int might match the return type of a GCC
19651 builtin and then its argument prototype would still apply. */
19652 #ifdef __cplusplus
19653 extern "C"
19654 #endif
19655 char clock_gettime ();
19657 main ()
19659 return clock_gettime ();
19661 return 0;
19663 _ACEOF
19664 for ac_lib in '' posix4; do
19665 if test -z "$ac_lib"; then
19666 ac_res="none required"
19667 else
19668 ac_res=-l$ac_lib
19669 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19671 if test x$gcc_no_link = xyes; then
19672 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19674 if ac_fn_cxx_try_link "$LINENO"; then :
19675 ac_cv_search_clock_gettime=$ac_res
19677 rm -f core conftest.err conftest.$ac_objext \
19678 conftest$ac_exeext
19679 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19680 break
19682 done
19683 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19685 else
19686 ac_cv_search_clock_gettime=no
19688 rm conftest.$ac_ext
19689 LIBS=$ac_func_search_save_LIBS
19691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19692 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19693 ac_res=$ac_cv_search_clock_gettime
19694 if test "$ac_res" != no; then :
19695 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19700 $as_echo_n "checking for library containing nanosleep... " >&6; }
19701 if test "${ac_cv_search_nanosleep+set}" = set; then :
19702 $as_echo_n "(cached) " >&6
19703 else
19704 ac_func_search_save_LIBS=$LIBS
19705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19706 /* end confdefs.h. */
19708 /* Override any GCC internal prototype to avoid an error.
19709 Use char because int might match the return type of a GCC
19710 builtin and then its argument prototype would still apply. */
19711 #ifdef __cplusplus
19712 extern "C"
19713 #endif
19714 char nanosleep ();
19716 main ()
19718 return nanosleep ();
19720 return 0;
19722 _ACEOF
19723 for ac_lib in '' posix4; do
19724 if test -z "$ac_lib"; then
19725 ac_res="none required"
19726 else
19727 ac_res=-l$ac_lib
19728 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19730 if test x$gcc_no_link = xyes; then
19731 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19733 if ac_fn_cxx_try_link "$LINENO"; then :
19734 ac_cv_search_nanosleep=$ac_res
19736 rm -f core conftest.err conftest.$ac_objext \
19737 conftest$ac_exeext
19738 if test "${ac_cv_search_nanosleep+set}" = set; then :
19739 break
19741 done
19742 if test "${ac_cv_search_nanosleep+set}" = set; then :
19744 else
19745 ac_cv_search_nanosleep=no
19747 rm conftest.$ac_ext
19748 LIBS=$ac_func_search_save_LIBS
19750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19751 $as_echo "$ac_cv_search_nanosleep" >&6; }
19752 ac_res=$ac_cv_search_nanosleep
19753 if test "$ac_res" != no; then :
19754 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19760 case "$ac_cv_search_clock_gettime" in
19761 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
19763 esac
19764 case "$ac_cv_search_nanosleep" in
19765 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
19767 esac
19769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
19770 $as_echo_n "checking for library containing sched_yield... " >&6; }
19771 if test "${ac_cv_search_sched_yield+set}" = set; then :
19772 $as_echo_n "(cached) " >&6
19773 else
19774 ac_func_search_save_LIBS=$LIBS
19775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19776 /* end confdefs.h. */
19778 /* Override any GCC internal prototype to avoid an error.
19779 Use char because int might match the return type of a GCC
19780 builtin and then its argument prototype would still apply. */
19781 #ifdef __cplusplus
19782 extern "C"
19783 #endif
19784 char sched_yield ();
19786 main ()
19788 return sched_yield ();
19790 return 0;
19792 _ACEOF
19793 for ac_lib in '' rt posix4; do
19794 if test -z "$ac_lib"; then
19795 ac_res="none required"
19796 else
19797 ac_res=-l$ac_lib
19798 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19800 if test x$gcc_no_link = xyes; then
19801 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19803 if ac_fn_cxx_try_link "$LINENO"; then :
19804 ac_cv_search_sched_yield=$ac_res
19806 rm -f core conftest.err conftest.$ac_objext \
19807 conftest$ac_exeext
19808 if test "${ac_cv_search_sched_yield+set}" = set; then :
19809 break
19811 done
19812 if test "${ac_cv_search_sched_yield+set}" = set; then :
19814 else
19815 ac_cv_search_sched_yield=no
19817 rm conftest.$ac_ext
19818 LIBS=$ac_func_search_save_LIBS
19820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
19821 $as_echo "$ac_cv_search_sched_yield" >&6; }
19822 ac_res=$ac_cv_search_sched_yield
19823 if test "$ac_res" != no; then :
19824 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19829 case "$ac_cv_search_sched_yield" in
19830 -lposix4*)
19831 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19832 ac_has_sched_yield=yes
19834 -lrt*)
19835 if test x"$enable_libstdcxx_time" = x"rt"; then
19836 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19837 ac_has_sched_yield=yes
19841 ac_has_sched_yield=yes
19843 esac
19845 for ac_header in unistd.h
19846 do :
19847 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19848 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19849 cat >>confdefs.h <<_ACEOF
19850 #define HAVE_UNISTD_H 1
19851 _ACEOF
19852 ac_has_unistd_h=yes
19853 else
19854 ac_has_unistd_h=no
19857 done
19860 if test x"$ac_has_unistd_h" = x"yes"; then
19861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
19862 $as_echo_n "checking for monotonic clock... " >&6; }
19863 if test x$gcc_no_link = xyes; then
19864 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19867 /* end confdefs.h. */
19868 #include <unistd.h>
19869 #include <time.h>
19872 main ()
19874 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19875 timespec tp;
19876 #endif
19877 clock_gettime(CLOCK_MONOTONIC, &tp);
19880 return 0;
19882 _ACEOF
19883 if ac_fn_cxx_try_link "$LINENO"; then :
19884 ac_has_clock_monotonic=yes
19885 else
19886 ac_has_clock_monotonic=no
19888 rm -f core conftest.err conftest.$ac_objext \
19889 conftest$ac_exeext conftest.$ac_ext
19891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
19892 $as_echo "$ac_has_clock_monotonic" >&6; }
19894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
19895 $as_echo_n "checking for realtime clock... " >&6; }
19896 if test x$gcc_no_link = xyes; then
19897 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19900 /* end confdefs.h. */
19901 #include <unistd.h>
19902 #include <time.h>
19905 main ()
19907 #if _POSIX_TIMERS > 0
19908 timespec tp;
19909 #endif
19910 clock_gettime(CLOCK_REALTIME, &tp);
19913 return 0;
19915 _ACEOF
19916 if ac_fn_cxx_try_link "$LINENO"; then :
19917 ac_has_clock_realtime=yes
19918 else
19919 ac_has_clock_realtime=no
19921 rm -f core conftest.err conftest.$ac_objext \
19922 conftest$ac_exeext conftest.$ac_ext
19924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
19925 $as_echo "$ac_has_clock_realtime" >&6; }
19927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
19928 $as_echo_n "checking for nanosleep... " >&6; }
19929 if test x$gcc_no_link = xyes; then
19930 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19933 /* end confdefs.h. */
19934 #include <unistd.h>
19935 #include <time.h>
19938 main ()
19940 #if _POSIX_TIMERS > 0
19941 timespec tp;
19942 #endif
19943 nanosleep(&tp, 0);
19946 return 0;
19948 _ACEOF
19949 if ac_fn_cxx_try_link "$LINENO"; then :
19950 ac_has_nanosleep=yes
19951 else
19952 ac_has_nanosleep=no
19954 rm -f core conftest.err conftest.$ac_objext \
19955 conftest$ac_exeext conftest.$ac_ext
19957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
19958 $as_echo "$ac_has_nanosleep" >&6; }
19962 if test x"$ac_has_clock_monotonic" != x"yes"; then
19963 case ${target_os} in
19964 linux*)
19965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
19966 $as_echo_n "checking for clock_gettime syscall... " >&6; }
19967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19968 /* end confdefs.h. */
19969 #include <unistd.h>
19970 #include <time.h>
19971 #include <sys/syscall.h>
19974 main ()
19976 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19977 timespec tp;
19978 #endif
19979 syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
19980 syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
19983 return 0;
19985 _ACEOF
19986 if ac_fn_cxx_try_compile "$LINENO"; then :
19987 ac_has_clock_monotonic_syscall=yes
19988 else
19989 ac_has_clock_monotonic_syscall=no
19991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic_syscall" >&5
19993 $as_echo "$ac_has_clock_monotonic_syscall" >&6; }
19994 if test x"$ac_has_clock_monotonic_syscall" = x"yes"; then
19996 $as_echo "#define _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL 1" >>confdefs.h
19998 ac_has_clock_monotonic=yes
19999 ac_has_clock_realtime=yes
20000 fi;;
20001 esac
20004 if test x"$ac_has_clock_monotonic" = x"yes"; then
20006 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
20010 if test x"$ac_has_clock_realtime" = x"yes"; then
20012 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
20016 if test x"$ac_has_sched_yield" = x"yes"; then
20018 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
20022 if test x"$ac_has_nanosleep" = x"yes"; then
20024 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
20026 else
20027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
20028 $as_echo_n "checking for sleep... " >&6; }
20029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20030 /* end confdefs.h. */
20031 #include <unistd.h>
20033 main ()
20035 sleep(1)
20037 return 0;
20039 _ACEOF
20040 if ac_fn_cxx_try_compile "$LINENO"; then :
20041 ac_has_sleep=yes
20042 else
20043 ac_has_sleep=no
20045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20046 if test x"$ac_has_sleep" = x"yes"; then
20048 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
20051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
20052 $as_echo "$ac_has_sleep" >&6; }
20053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
20054 $as_echo_n "checking for usleep... " >&6; }
20055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20056 /* end confdefs.h. */
20057 #include <unistd.h>
20059 main ()
20061 sleep(1);
20062 usleep(100);
20064 return 0;
20066 _ACEOF
20067 if ac_fn_cxx_try_compile "$LINENO"; then :
20068 ac_has_usleep=yes
20069 else
20070 ac_has_usleep=no
20072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20073 if test x"$ac_has_usleep" = x"yes"; then
20075 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
20078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
20079 $as_echo "$ac_has_usleep" >&6; }
20082 if test x"$ac_has_nanosleep$ac_has_sleep" = x"nono"; then
20083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sleep" >&5
20084 $as_echo_n "checking for Sleep... " >&6; }
20085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20086 /* end confdefs.h. */
20087 #include <windows.h>
20089 main ()
20091 Sleep(1)
20093 return 0;
20095 _ACEOF
20096 if ac_fn_cxx_try_compile "$LINENO"; then :
20097 ac_has_win32_sleep=yes
20098 else
20099 ac_has_win32_sleep=no
20101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20102 if test x"$ac_has_win32_sleep" = x"yes"; then
20104 $as_echo "#define HAVE_WIN32_SLEEP 1" >>confdefs.h
20107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_win32_sleep" >&5
20108 $as_echo "$ac_has_win32_sleep" >&6; }
20113 CXXFLAGS="$ac_save_CXXFLAGS"
20114 LIBS="$ac_save_LIBS"
20115 ac_ext=c
20116 ac_cpp='$CPP $CPPFLAGS'
20117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20123 # Check for tmpnam which is obsolescent in POSIX.1-2008
20125 ac_ext=cpp
20126 ac_cpp='$CXXCPP $CPPFLAGS'
20127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20131 ac_save_CXXFLAGS="$CXXFLAGS"
20132 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tmpnam" >&5
20134 $as_echo_n "checking for tmpnam... " >&6; }
20135 if test "${glibcxx_cv_TMPNAM+set}" = set; then :
20136 $as_echo_n "(cached) " >&6
20137 else
20138 if test x$gcc_no_link = xyes; then
20139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20140 /* end confdefs.h. */
20141 #include <stdio.h>
20143 main ()
20145 char *tmp = tmpnam(NULL);
20147 return 0;
20149 _ACEOF
20150 if ac_fn_cxx_try_compile "$LINENO"; then :
20151 glibcxx_cv_TMPNAM=yes
20152 else
20153 glibcxx_cv_TMPNAM=no
20155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20156 else
20157 if test x$gcc_no_link = xyes; then
20158 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20161 /* end confdefs.h. */
20162 #include <stdio.h>
20164 main ()
20166 char *tmp = tmpnam(NULL);
20168 return 0;
20170 _ACEOF
20171 if ac_fn_cxx_try_link "$LINENO"; then :
20172 glibcxx_cv_TMPNAM=yes
20173 else
20174 glibcxx_cv_TMPNAM=no
20176 rm -f core conftest.err conftest.$ac_objext \
20177 conftest$ac_exeext conftest.$ac_ext
20182 if test $glibcxx_cv_TMPNAM = yes; then
20184 $as_echo "#define _GLIBCXX_USE_TMPNAM 1" >>confdefs.h
20187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_TMPNAM" >&5
20188 $as_echo "$glibcxx_cv_TMPNAM" >&6; }
20189 CXXFLAGS="$ac_save_CXXFLAGS"
20190 ac_ext=c
20191 ac_cpp='$CPP $CPPFLAGS'
20192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20199 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
20200 if test "x$ac_cv_header_locale_h" = x""yes; then :
20202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
20203 $as_echo_n "checking for LC_MESSAGES... " >&6; }
20204 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
20205 $as_echo_n "(cached) " >&6
20206 else
20207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20208 /* end confdefs.h. */
20209 #include <locale.h>
20211 main ()
20213 return LC_MESSAGES
20215 return 0;
20217 _ACEOF
20218 if ac_fn_c_try_compile "$LINENO"; then :
20219 ac_cv_val_LC_MESSAGES=yes
20220 else
20221 ac_cv_val_LC_MESSAGES=no
20223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
20226 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
20227 if test $ac_cv_val_LC_MESSAGES = yes; then
20229 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
20238 # For hardware_concurrency
20239 for ac_header in sys/sysinfo.h
20240 do :
20241 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
20242 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
20243 cat >>confdefs.h <<_ACEOF
20244 #define HAVE_SYS_SYSINFO_H 1
20245 _ACEOF
20249 done
20254 ac_ext=cpp
20255 ac_cpp='$CXXCPP $CPPFLAGS'
20256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20260 ac_save_CXXFLAGS="$CXXFLAGS"
20261 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
20264 $as_echo_n "checking for get_nprocs... " >&6; }
20265 if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
20266 $as_echo_n "(cached) " >&6
20267 else
20269 if test x$gcc_no_link = xyes; then
20270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20271 /* end confdefs.h. */
20272 #include <sys/sysinfo.h>
20274 main ()
20276 int n = get_nprocs();
20278 return 0;
20280 _ACEOF
20281 if ac_fn_cxx_try_compile "$LINENO"; then :
20282 glibcxx_cv_GET_NPROCS=yes
20283 else
20284 glibcxx_cv_GET_NPROCS=no
20286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20287 else
20288 if test x$gcc_no_link = xyes; then
20289 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20292 /* end confdefs.h. */
20293 #include <sys/sysinfo.h>
20295 main ()
20297 int n = get_nprocs();
20299 return 0;
20301 _ACEOF
20302 if ac_fn_cxx_try_link "$LINENO"; then :
20303 glibcxx_cv_GET_NPROCS=yes
20304 else
20305 glibcxx_cv_GET_NPROCS=no
20307 rm -f core conftest.err conftest.$ac_objext \
20308 conftest$ac_exeext conftest.$ac_ext
20313 if test $glibcxx_cv_GET_NPROCS = yes; then
20315 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
20318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
20319 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
20321 CXXFLAGS="$ac_save_CXXFLAGS"
20322 ac_ext=c
20323 ac_cpp='$CPP $CPPFLAGS'
20324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20329 for ac_header in unistd.h
20330 do :
20331 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20332 if test "x$ac_cv_header_unistd_h" = x""yes; then :
20333 cat >>confdefs.h <<_ACEOF
20334 #define HAVE_UNISTD_H 1
20335 _ACEOF
20339 done
20344 ac_ext=cpp
20345 ac_cpp='$CXXCPP $CPPFLAGS'
20346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20350 ac_save_CXXFLAGS="$CXXFLAGS"
20351 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
20354 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
20355 if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
20356 $as_echo_n "(cached) " >&6
20357 else
20359 if test x$gcc_no_link = xyes; then
20360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20361 /* end confdefs.h. */
20362 #include <unistd.h>
20364 main ()
20366 int n = sysconf(_SC_NPROCESSORS_ONLN);
20368 return 0;
20370 _ACEOF
20371 if ac_fn_cxx_try_compile "$LINENO"; then :
20372 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20373 else
20374 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20377 else
20378 if test x$gcc_no_link = xyes; then
20379 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20382 /* end confdefs.h. */
20383 #include <unistd.h>
20385 main ()
20387 int n = sysconf(_SC_NPROCESSORS_ONLN);
20389 return 0;
20391 _ACEOF
20392 if ac_fn_cxx_try_link "$LINENO"; then :
20393 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20394 else
20395 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20397 rm -f core conftest.err conftest.$ac_objext \
20398 conftest$ac_exeext conftest.$ac_ext
20403 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
20405 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
20408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
20409 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
20411 CXXFLAGS="$ac_save_CXXFLAGS"
20412 ac_ext=c
20413 ac_cpp='$CPP $CPPFLAGS'
20414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20422 ac_ext=cpp
20423 ac_cpp='$CXXCPP $CPPFLAGS'
20424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20428 ac_save_CXXFLAGS="$CXXFLAGS"
20429 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
20432 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
20433 if test "${glibcxx_cv_SC_NPROC_ONLN+set}" = set; then :
20434 $as_echo_n "(cached) " >&6
20435 else
20437 if test x$gcc_no_link = xyes; then
20438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20439 /* end confdefs.h. */
20440 #include <unistd.h>
20442 main ()
20444 int n = sysconf(_SC_NPROC_ONLN);
20446 return 0;
20448 _ACEOF
20449 if ac_fn_cxx_try_compile "$LINENO"; then :
20450 glibcxx_cv_SC_NPROC_ONLN=yes
20451 else
20452 glibcxx_cv_SC_NPROC_ONLN=no
20454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20455 else
20456 if test x$gcc_no_link = xyes; then
20457 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20460 /* end confdefs.h. */
20461 #include <unistd.h>
20463 main ()
20465 int n = sysconf(_SC_NPROC_ONLN);
20467 return 0;
20469 _ACEOF
20470 if ac_fn_cxx_try_link "$LINENO"; then :
20471 glibcxx_cv_SC_NPROC_ONLN=yes
20472 else
20473 glibcxx_cv_SC_NPROC_ONLN=no
20475 rm -f core conftest.err conftest.$ac_objext \
20476 conftest$ac_exeext conftest.$ac_ext
20481 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
20483 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
20486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
20487 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
20489 CXXFLAGS="$ac_save_CXXFLAGS"
20490 ac_ext=c
20491 ac_cpp='$CPP $CPPFLAGS'
20492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20500 ac_ext=cpp
20501 ac_cpp='$CXXCPP $CPPFLAGS'
20502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20506 ac_save_CXXFLAGS="$CXXFLAGS"
20507 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
20510 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
20511 if test "${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+set}" = set; then :
20512 $as_echo_n "(cached) " >&6
20513 else
20515 if test x$gcc_no_link = xyes; then
20516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20517 /* end confdefs.h. */
20518 #include <pthread.h>
20520 main ()
20522 int n = pthread_num_processors_np();
20524 return 0;
20526 _ACEOF
20527 if ac_fn_cxx_try_compile "$LINENO"; then :
20528 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20529 else
20530 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20533 else
20534 if test x$gcc_no_link = xyes; then
20535 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20538 /* end confdefs.h. */
20539 #include <pthread.h>
20541 main ()
20543 int n = pthread_num_processors_np();
20545 return 0;
20547 _ACEOF
20548 if ac_fn_cxx_try_link "$LINENO"; then :
20549 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20550 else
20551 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20553 rm -f core conftest.err conftest.$ac_objext \
20554 conftest$ac_exeext conftest.$ac_ext
20559 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
20561 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
20564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
20565 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
20567 CXXFLAGS="$ac_save_CXXFLAGS"
20568 ac_ext=c
20569 ac_cpp='$CPP $CPPFLAGS'
20570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20578 ac_ext=cpp
20579 ac_cpp='$CXXCPP $CPPFLAGS'
20580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20584 ac_save_CXXFLAGS="$CXXFLAGS"
20585 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
20588 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
20589 if test "${glibcxx_cv_SYSCTL_HW_NCPU+set}" = set; then :
20590 $as_echo_n "(cached) " >&6
20591 else
20593 if test x$gcc_no_link = xyes; then
20594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20595 /* end confdefs.h. */
20597 #include <stddef.h>
20598 #include <sys/sysctl.h>
20601 main ()
20604 int count;
20605 size_t size = sizeof(count);
20606 int mib[] = { CTL_HW, HW_NCPU };
20607 sysctl(mib, 2, &count, &size, NULL, 0);
20610 return 0;
20612 _ACEOF
20613 if ac_fn_cxx_try_compile "$LINENO"; then :
20614 glibcxx_cv_SYSCTL_HW_NCPU=yes
20615 else
20616 glibcxx_cv_SYSCTL_HW_NCPU=no
20618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20619 else
20620 if test x$gcc_no_link = xyes; then
20621 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20624 /* end confdefs.h. */
20626 #include <stddef.h>
20627 #include <sys/sysctl.h>
20630 main ()
20633 int count;
20634 size_t size = sizeof(count);
20635 int mib[] = { CTL_HW, HW_NCPU };
20636 sysctl(mib, 2, &count, &size, NULL, 0);
20639 return 0;
20641 _ACEOF
20642 if ac_fn_cxx_try_link "$LINENO"; then :
20643 glibcxx_cv_SYSCTL_HW_NCPU=yes
20644 else
20645 glibcxx_cv_SYSCTL_HW_NCPU=no
20647 rm -f core conftest.err conftest.$ac_objext \
20648 conftest$ac_exeext conftest.$ac_ext
20653 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
20655 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
20658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
20659 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
20661 CXXFLAGS="$ac_save_CXXFLAGS"
20662 ac_ext=c
20663 ac_cpp='$CPP $CPPFLAGS'
20664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: for suitable sys/sdt.h" >&5
20671 $as_echo "for suitable sys/sdt.h" >&6; }
20672 # Note that this test has to be run with the C language.
20673 # Otherwise, sdt.h will try to include some headers from
20674 # libstdc++ itself.
20676 ac_ext=c
20677 ac_cpp='$CPP $CPPFLAGS'
20678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20682 if test "${glibcxx_cv_sys_sdt_h+set}" = set; then :
20683 $as_echo_n "(cached) " >&6
20684 else
20686 # Because we have to run the test in C, we use grep rather
20687 # than the compiler to check for the bug. The bug is that
20688 # were strings without trailing whitespace, causing g++
20689 # to look for operator"". The pattern searches for the fixed
20690 # output.
20691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20692 /* end confdefs.h. */
20694 #include <sys/sdt.h>
20695 int f() { STAP_PROBE(hi, bob); }
20697 _ACEOF
20698 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20699 $EGREP " \",\" " >/dev/null 2>&1; then :
20700 glibcxx_cv_sys_sdt_h=yes
20701 else
20702 glibcxx_cv_sys_sdt_h=no
20704 rm -f conftest*
20709 ac_ext=c
20710 ac_cpp='$CPP $CPPFLAGS'
20711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20715 if test $glibcxx_cv_sys_sdt_h = yes; then
20717 $as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
20720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
20721 $as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
20724 # Check for available headers.
20725 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
20726 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
20727 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
20728 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
20729 wchar.h wctype.h
20730 do :
20731 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20732 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20733 eval as_val=\$$as_ac_Header
20734 if test "x$as_val" = x""yes; then :
20735 cat >>confdefs.h <<_ACEOF
20736 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20737 _ACEOF
20741 done
20744 # Only do link tests if native. Else, hardcode.
20745 if $GLIBCXX_IS_NATIVE; then
20747 # We can do more elaborate tests that assume a working linker.
20748 CANADIAN=no
20752 # Check whether --with-gnu-ld was given.
20753 if test "${with_gnu_ld+set}" = set; then :
20754 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
20755 else
20756 with_gnu_ld=no
20759 ac_prog=ld
20760 if test "$GCC" = yes; then
20761 # Check if gcc -print-prog-name=ld gives a path.
20762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
20763 $as_echo_n "checking for ld used by $CC... " >&6; }
20764 case $host in
20765 *-*-mingw*)
20766 # gcc leaves a trailing carriage return which upsets mingw
20767 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
20769 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
20770 esac
20771 case $ac_prog in
20772 # Accept absolute paths.
20773 [\\/]* | ?:[\\/]*)
20774 re_direlt='/[^/][^/]*/\.\./'
20775 # Canonicalize the pathname of ld
20776 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
20777 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
20778 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
20779 done
20780 test -z "$LD" && LD="$ac_prog"
20783 # If it fails, then pretend we aren't using GCC.
20784 ac_prog=ld
20787 # If it is relative, then search for the first ld in PATH.
20788 with_gnu_ld=unknown
20790 esac
20791 elif test "$with_gnu_ld" = yes; then
20792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
20793 $as_echo_n "checking for GNU ld... " >&6; }
20794 else
20795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
20796 $as_echo_n "checking for non-GNU ld... " >&6; }
20798 if test "${lt_cv_path_LD+set}" = set; then :
20799 $as_echo_n "(cached) " >&6
20800 else
20801 if test -z "$LD"; then
20802 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
20803 for ac_dir in $PATH; do
20804 IFS="$lt_save_ifs"
20805 test -z "$ac_dir" && ac_dir=.
20806 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
20807 lt_cv_path_LD="$ac_dir/$ac_prog"
20808 # Check to see if the program is GNU ld. I'd rather use --version,
20809 # but apparently some variants of GNU ld only accept -v.
20810 # Break only if it was the GNU/non-GNU ld that we prefer.
20811 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
20812 *GNU* | *'with BFD'*)
20813 test "$with_gnu_ld" != no && break
20816 test "$with_gnu_ld" != yes && break
20818 esac
20820 done
20821 IFS="$lt_save_ifs"
20822 else
20823 lt_cv_path_LD="$LD" # Let the user override the test with a path.
20827 LD="$lt_cv_path_LD"
20828 if test -n "$LD"; then
20829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
20830 $as_echo "$LD" >&6; }
20831 else
20832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20833 $as_echo "no" >&6; }
20835 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
20836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
20837 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
20838 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
20839 $as_echo_n "(cached) " >&6
20840 else
20841 # I'd rather use --version here, but apparently some GNU lds only accept -v.
20842 case `$LD -v 2>&1 </dev/null` in
20843 *GNU* | *'with BFD'*)
20844 lt_cv_prog_gnu_ld=yes
20847 lt_cv_prog_gnu_ld=no
20849 esac
20851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
20852 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
20853 with_gnu_ld=$lt_cv_prog_gnu_ld
20861 # If we're not using GNU ld, then there's no point in even trying these
20862 # tests. Check for that first. We should have already tested for gld
20863 # by now (in libtool), but require it now just to be safe...
20864 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
20865 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
20869 # The name set by libtool depends on the version of libtool. Shame on us
20870 # for depending on an impl detail, but c'est la vie. Older versions used
20871 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
20872 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
20873 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
20874 # set (hence we're using an older libtool), then set it.
20875 if test x${with_gnu_ld+set} != xset; then
20876 if test x${ac_cv_prog_gnu_ld+set} != xset; then
20877 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
20878 with_gnu_ld=no
20879 else
20880 with_gnu_ld=$ac_cv_prog_gnu_ld
20884 # Start by getting the version number. I think the libtool test already
20885 # does some of this, but throws away the result.
20886 glibcxx_ld_is_gold=no
20887 if test x"$with_gnu_ld" = x"yes"; then
20888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
20889 $as_echo_n "checking for ld version... " >&6; }
20891 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
20892 glibcxx_ld_is_gold=yes
20894 ldver=`$LD --version 2>/dev/null |
20895 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'`
20897 glibcxx_gnu_ld_version=`echo $ldver | \
20898 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
20899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
20900 $as_echo "$glibcxx_gnu_ld_version" >&6; }
20903 # Set --gc-sections.
20904 glibcxx_have_gc_sections=no
20905 if test "$glibcxx_ld_is_gold" = "yes"; then
20906 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
20907 glibcxx_have_gc_sections=yes
20909 else
20910 glibcxx_gcsections_min_ld=21602
20911 if test x"$with_gnu_ld" = x"yes" &&
20912 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
20913 glibcxx_have_gc_sections=yes
20916 if test "$glibcxx_have_gc_sections" = "yes"; then
20917 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
20918 # NB: This flag only works reliably after 2.16.1. Configure tests
20919 # for this are difficult, so hard wire a value that should work.
20921 ac_test_CFLAGS="${CFLAGS+set}"
20922 ac_save_CFLAGS="$CFLAGS"
20923 CFLAGS='-Wl,--gc-sections'
20925 # Check for -Wl,--gc-sections
20926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
20927 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
20928 if test x$gcc_no_link = xyes; then
20929 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20932 /* end confdefs.h. */
20933 int one(void) { return 1; }
20934 int two(void) { return 2; }
20937 main ()
20939 two();
20941 return 0;
20943 _ACEOF
20944 if ac_fn_c_try_link "$LINENO"; then :
20945 ac_gcsections=yes
20946 else
20947 ac_gcsections=no
20949 rm -f core conftest.err conftest.$ac_objext \
20950 conftest$ac_exeext conftest.$ac_ext
20951 if test "$ac_gcsections" = "yes"; then
20952 rm -f conftest.c
20953 touch conftest.c
20954 if $CC -c conftest.c; then
20955 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
20956 grep "Warning: gc-sections option ignored" > /dev/null; then
20957 ac_gcsections=no
20960 rm -f conftest.c conftest.o conftest
20962 if test "$ac_gcsections" = "yes"; then
20963 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
20965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
20966 $as_echo "$ac_gcsections" >&6; }
20968 if test "$ac_test_CFLAGS" = set; then
20969 CFLAGS="$ac_save_CFLAGS"
20970 else
20971 # this is the suspicious part
20972 CFLAGS=''
20976 # Set -z,relro.
20977 # Note this is only for shared objects.
20978 ac_ld_relro=no
20979 if test x"$with_gnu_ld" = x"yes"; then
20980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
20981 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
20982 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
20983 if test -n "$cxx_z_relo"; then
20984 OPT_LDFLAGS="-Wl,-z,relro"
20985 ac_ld_relro=yes
20987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
20988 $as_echo "$ac_ld_relro" >&6; }
20991 # Set linker optimization flags.
20992 if test x"$with_gnu_ld" = x"yes"; then
20993 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
21000 ac_test_CXXFLAGS="${CXXFLAGS+set}"
21001 ac_save_CXXFLAGS="$CXXFLAGS"
21002 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
21004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
21005 $as_echo_n "checking for sin in -lm... " >&6; }
21006 if test "${ac_cv_lib_m_sin+set}" = set; then :
21007 $as_echo_n "(cached) " >&6
21008 else
21009 ac_check_lib_save_LIBS=$LIBS
21010 LIBS="-lm $LIBS"
21011 if test x$gcc_no_link = xyes; then
21012 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21015 /* end confdefs.h. */
21017 /* Override any GCC internal prototype to avoid an error.
21018 Use char because int might match the return type of a GCC
21019 builtin and then its argument prototype would still apply. */
21020 #ifdef __cplusplus
21021 extern "C"
21022 #endif
21023 char sin ();
21025 main ()
21027 return sin ();
21029 return 0;
21031 _ACEOF
21032 if ac_fn_c_try_link "$LINENO"; then :
21033 ac_cv_lib_m_sin=yes
21034 else
21035 ac_cv_lib_m_sin=no
21037 rm -f core conftest.err conftest.$ac_objext \
21038 conftest$ac_exeext conftest.$ac_ext
21039 LIBS=$ac_check_lib_save_LIBS
21041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
21042 $as_echo "$ac_cv_lib_m_sin" >&6; }
21043 if test "x$ac_cv_lib_m_sin" = x""yes; then :
21044 libm="-lm"
21047 ac_save_LIBS="$LIBS"
21048 LIBS="$LIBS $libm"
21052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
21053 $as_echo_n "checking for isinf declaration... " >&6; }
21054 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
21055 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
21056 $as_echo_n "(cached) " >&6
21057 else
21060 ac_ext=cpp
21061 ac_cpp='$CXXCPP $CPPFLAGS'
21062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21067 /* end confdefs.h. */
21068 #include <math.h>
21069 #ifdef HAVE_IEEEFP_H
21070 #include <ieeefp.h>
21071 #endif
21074 main ()
21076 isinf(0);
21078 return 0;
21080 _ACEOF
21081 if ac_fn_cxx_try_compile "$LINENO"; then :
21082 glibcxx_cv_func_isinf_use=yes
21083 else
21084 glibcxx_cv_func_isinf_use=no
21086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21087 ac_ext=c
21088 ac_cpp='$CPP $CPPFLAGS'
21089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
21098 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
21100 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
21101 for ac_func in isinf
21102 do :
21103 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
21104 if test "x$ac_cv_func_isinf" = x""yes; then :
21105 cat >>confdefs.h <<_ACEOF
21106 #define HAVE_ISINF 1
21107 _ACEOF
21110 done
21112 else
21114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
21115 $as_echo_n "checking for _isinf declaration... " >&6; }
21116 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
21117 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
21118 $as_echo_n "(cached) " >&6
21119 else
21122 ac_ext=cpp
21123 ac_cpp='$CXXCPP $CPPFLAGS'
21124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21129 /* end confdefs.h. */
21130 #include <math.h>
21131 #ifdef HAVE_IEEEFP_H
21132 #include <ieeefp.h>
21133 #endif
21136 main ()
21138 _isinf(0);
21140 return 0;
21142 _ACEOF
21143 if ac_fn_cxx_try_compile "$LINENO"; then :
21144 glibcxx_cv_func__isinf_use=yes
21145 else
21146 glibcxx_cv_func__isinf_use=no
21148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21149 ac_ext=c
21150 ac_cpp='$CPP $CPPFLAGS'
21151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
21160 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
21162 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
21163 for ac_func in _isinf
21164 do :
21165 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
21166 if test "x$ac_cv_func__isinf" = x""yes; then :
21167 cat >>confdefs.h <<_ACEOF
21168 #define HAVE__ISINF 1
21169 _ACEOF
21172 done
21181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
21182 $as_echo_n "checking for isnan declaration... " >&6; }
21183 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
21184 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
21185 $as_echo_n "(cached) " >&6
21186 else
21189 ac_ext=cpp
21190 ac_cpp='$CXXCPP $CPPFLAGS'
21191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21196 /* end confdefs.h. */
21197 #include <math.h>
21198 #ifdef HAVE_IEEEFP_H
21199 #include <ieeefp.h>
21200 #endif
21203 main ()
21205 isnan(0);
21207 return 0;
21209 _ACEOF
21210 if ac_fn_cxx_try_compile "$LINENO"; then :
21211 glibcxx_cv_func_isnan_use=yes
21212 else
21213 glibcxx_cv_func_isnan_use=no
21215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21216 ac_ext=c
21217 ac_cpp='$CPP $CPPFLAGS'
21218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
21227 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
21229 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
21230 for ac_func in isnan
21231 do :
21232 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
21233 if test "x$ac_cv_func_isnan" = x""yes; then :
21234 cat >>confdefs.h <<_ACEOF
21235 #define HAVE_ISNAN 1
21236 _ACEOF
21239 done
21241 else
21243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
21244 $as_echo_n "checking for _isnan declaration... " >&6; }
21245 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
21246 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
21247 $as_echo_n "(cached) " >&6
21248 else
21251 ac_ext=cpp
21252 ac_cpp='$CXXCPP $CPPFLAGS'
21253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21258 /* end confdefs.h. */
21259 #include <math.h>
21260 #ifdef HAVE_IEEEFP_H
21261 #include <ieeefp.h>
21262 #endif
21265 main ()
21267 _isnan(0);
21269 return 0;
21271 _ACEOF
21272 if ac_fn_cxx_try_compile "$LINENO"; then :
21273 glibcxx_cv_func__isnan_use=yes
21274 else
21275 glibcxx_cv_func__isnan_use=no
21277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21278 ac_ext=c
21279 ac_cpp='$CPP $CPPFLAGS'
21280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
21289 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
21291 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
21292 for ac_func in _isnan
21293 do :
21294 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
21295 if test "x$ac_cv_func__isnan" = x""yes; then :
21296 cat >>confdefs.h <<_ACEOF
21297 #define HAVE__ISNAN 1
21298 _ACEOF
21301 done
21310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
21311 $as_echo_n "checking for finite declaration... " >&6; }
21312 if test x${glibcxx_cv_func_finite_use+set} != xset; then
21313 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
21314 $as_echo_n "(cached) " >&6
21315 else
21318 ac_ext=cpp
21319 ac_cpp='$CXXCPP $CPPFLAGS'
21320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21325 /* end confdefs.h. */
21326 #include <math.h>
21327 #ifdef HAVE_IEEEFP_H
21328 #include <ieeefp.h>
21329 #endif
21332 main ()
21334 finite(0);
21336 return 0;
21338 _ACEOF
21339 if ac_fn_cxx_try_compile "$LINENO"; then :
21340 glibcxx_cv_func_finite_use=yes
21341 else
21342 glibcxx_cv_func_finite_use=no
21344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21345 ac_ext=c
21346 ac_cpp='$CPP $CPPFLAGS'
21347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
21356 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
21358 if test x$glibcxx_cv_func_finite_use = x"yes"; then
21359 for ac_func in finite
21360 do :
21361 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
21362 if test "x$ac_cv_func_finite" = x""yes; then :
21363 cat >>confdefs.h <<_ACEOF
21364 #define HAVE_FINITE 1
21365 _ACEOF
21368 done
21370 else
21372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
21373 $as_echo_n "checking for _finite declaration... " >&6; }
21374 if test x${glibcxx_cv_func__finite_use+set} != xset; then
21375 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
21376 $as_echo_n "(cached) " >&6
21377 else
21380 ac_ext=cpp
21381 ac_cpp='$CXXCPP $CPPFLAGS'
21382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21387 /* end confdefs.h. */
21388 #include <math.h>
21389 #ifdef HAVE_IEEEFP_H
21390 #include <ieeefp.h>
21391 #endif
21394 main ()
21396 _finite(0);
21398 return 0;
21400 _ACEOF
21401 if ac_fn_cxx_try_compile "$LINENO"; then :
21402 glibcxx_cv_func__finite_use=yes
21403 else
21404 glibcxx_cv_func__finite_use=no
21406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21407 ac_ext=c
21408 ac_cpp='$CPP $CPPFLAGS'
21409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
21418 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
21420 if test x$glibcxx_cv_func__finite_use = x"yes"; then
21421 for ac_func in _finite
21422 do :
21423 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
21424 if test "x$ac_cv_func__finite" = x""yes; then :
21425 cat >>confdefs.h <<_ACEOF
21426 #define HAVE__FINITE 1
21427 _ACEOF
21430 done
21439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
21440 $as_echo_n "checking for sincos declaration... " >&6; }
21441 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
21442 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
21443 $as_echo_n "(cached) " >&6
21444 else
21447 ac_ext=cpp
21448 ac_cpp='$CXXCPP $CPPFLAGS'
21449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21454 /* end confdefs.h. */
21455 #include <math.h>
21457 main ()
21459 sincos(0, 0, 0);
21461 return 0;
21463 _ACEOF
21464 if ac_fn_cxx_try_compile "$LINENO"; then :
21465 glibcxx_cv_func_sincos_use=yes
21466 else
21467 glibcxx_cv_func_sincos_use=no
21469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21470 ac_ext=c
21471 ac_cpp='$CPP $CPPFLAGS'
21472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
21481 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
21483 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
21484 for ac_func in sincos
21485 do :
21486 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
21487 if test "x$ac_cv_func_sincos" = x""yes; then :
21488 cat >>confdefs.h <<_ACEOF
21489 #define HAVE_SINCOS 1
21490 _ACEOF
21493 done
21495 else
21497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
21498 $as_echo_n "checking for _sincos declaration... " >&6; }
21499 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
21500 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
21501 $as_echo_n "(cached) " >&6
21502 else
21505 ac_ext=cpp
21506 ac_cpp='$CXXCPP $CPPFLAGS'
21507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21512 /* end confdefs.h. */
21513 #include <math.h>
21515 main ()
21517 _sincos(0, 0, 0);
21519 return 0;
21521 _ACEOF
21522 if ac_fn_cxx_try_compile "$LINENO"; then :
21523 glibcxx_cv_func__sincos_use=yes
21524 else
21525 glibcxx_cv_func__sincos_use=no
21527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21528 ac_ext=c
21529 ac_cpp='$CPP $CPPFLAGS'
21530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
21539 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
21541 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
21542 for ac_func in _sincos
21543 do :
21544 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
21545 if test "x$ac_cv_func__sincos" = x""yes; then :
21546 cat >>confdefs.h <<_ACEOF
21547 #define HAVE__SINCOS 1
21548 _ACEOF
21551 done
21560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
21561 $as_echo_n "checking for fpclass declaration... " >&6; }
21562 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
21563 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
21564 $as_echo_n "(cached) " >&6
21565 else
21568 ac_ext=cpp
21569 ac_cpp='$CXXCPP $CPPFLAGS'
21570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21575 /* end confdefs.h. */
21576 #include <math.h>
21577 #ifdef HAVE_IEEEFP_H
21578 #include <ieeefp.h>
21579 #endif
21582 main ()
21584 fpclass(0);
21586 return 0;
21588 _ACEOF
21589 if ac_fn_cxx_try_compile "$LINENO"; then :
21590 glibcxx_cv_func_fpclass_use=yes
21591 else
21592 glibcxx_cv_func_fpclass_use=no
21594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21595 ac_ext=c
21596 ac_cpp='$CPP $CPPFLAGS'
21597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
21606 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
21608 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
21609 for ac_func in fpclass
21610 do :
21611 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
21612 if test "x$ac_cv_func_fpclass" = x""yes; then :
21613 cat >>confdefs.h <<_ACEOF
21614 #define HAVE_FPCLASS 1
21615 _ACEOF
21618 done
21620 else
21622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
21623 $as_echo_n "checking for _fpclass declaration... " >&6; }
21624 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
21625 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
21626 $as_echo_n "(cached) " >&6
21627 else
21630 ac_ext=cpp
21631 ac_cpp='$CXXCPP $CPPFLAGS'
21632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21637 /* end confdefs.h. */
21638 #include <math.h>
21639 #ifdef HAVE_IEEEFP_H
21640 #include <ieeefp.h>
21641 #endif
21644 main ()
21646 _fpclass(0);
21648 return 0;
21650 _ACEOF
21651 if ac_fn_cxx_try_compile "$LINENO"; then :
21652 glibcxx_cv_func__fpclass_use=yes
21653 else
21654 glibcxx_cv_func__fpclass_use=no
21656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21657 ac_ext=c
21658 ac_cpp='$CPP $CPPFLAGS'
21659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
21668 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
21670 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
21671 for ac_func in _fpclass
21672 do :
21673 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
21674 if test "x$ac_cv_func__fpclass" = x""yes; then :
21675 cat >>confdefs.h <<_ACEOF
21676 #define HAVE__FPCLASS 1
21677 _ACEOF
21680 done
21689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
21690 $as_echo_n "checking for qfpclass declaration... " >&6; }
21691 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
21692 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
21693 $as_echo_n "(cached) " >&6
21694 else
21697 ac_ext=cpp
21698 ac_cpp='$CXXCPP $CPPFLAGS'
21699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21704 /* end confdefs.h. */
21705 #include <math.h>
21706 #ifdef HAVE_IEEEFP_H
21707 #include <ieeefp.h>
21708 #endif
21711 main ()
21713 qfpclass(0);
21715 return 0;
21717 _ACEOF
21718 if ac_fn_cxx_try_compile "$LINENO"; then :
21719 glibcxx_cv_func_qfpclass_use=yes
21720 else
21721 glibcxx_cv_func_qfpclass_use=no
21723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21724 ac_ext=c
21725 ac_cpp='$CPP $CPPFLAGS'
21726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
21735 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
21737 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
21738 for ac_func in qfpclass
21739 do :
21740 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
21741 if test "x$ac_cv_func_qfpclass" = x""yes; then :
21742 cat >>confdefs.h <<_ACEOF
21743 #define HAVE_QFPCLASS 1
21744 _ACEOF
21747 done
21749 else
21751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
21752 $as_echo_n "checking for _qfpclass declaration... " >&6; }
21753 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
21754 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
21755 $as_echo_n "(cached) " >&6
21756 else
21759 ac_ext=cpp
21760 ac_cpp='$CXXCPP $CPPFLAGS'
21761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21766 /* end confdefs.h. */
21767 #include <math.h>
21768 #ifdef HAVE_IEEEFP_H
21769 #include <ieeefp.h>
21770 #endif
21773 main ()
21775 _qfpclass(0);
21777 return 0;
21779 _ACEOF
21780 if ac_fn_cxx_try_compile "$LINENO"; then :
21781 glibcxx_cv_func__qfpclass_use=yes
21782 else
21783 glibcxx_cv_func__qfpclass_use=no
21785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21786 ac_ext=c
21787 ac_cpp='$CPP $CPPFLAGS'
21788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
21797 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
21799 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
21800 for ac_func in _qfpclass
21801 do :
21802 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
21803 if test "x$ac_cv_func__qfpclass" = x""yes; then :
21804 cat >>confdefs.h <<_ACEOF
21805 #define HAVE__QFPCLASS 1
21806 _ACEOF
21809 done
21818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
21819 $as_echo_n "checking for hypot declaration... " >&6; }
21820 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
21821 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
21822 $as_echo_n "(cached) " >&6
21823 else
21826 ac_ext=cpp
21827 ac_cpp='$CXXCPP $CPPFLAGS'
21828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21833 /* end confdefs.h. */
21834 #include <math.h>
21836 main ()
21838 hypot(0, 0);
21840 return 0;
21842 _ACEOF
21843 if ac_fn_cxx_try_compile "$LINENO"; then :
21844 glibcxx_cv_func_hypot_use=yes
21845 else
21846 glibcxx_cv_func_hypot_use=no
21848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21849 ac_ext=c
21850 ac_cpp='$CPP $CPPFLAGS'
21851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
21860 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
21862 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
21863 for ac_func in hypot
21864 do :
21865 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
21866 if test "x$ac_cv_func_hypot" = x""yes; then :
21867 cat >>confdefs.h <<_ACEOF
21868 #define HAVE_HYPOT 1
21869 _ACEOF
21872 done
21874 else
21876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
21877 $as_echo_n "checking for _hypot declaration... " >&6; }
21878 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
21879 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
21880 $as_echo_n "(cached) " >&6
21881 else
21884 ac_ext=cpp
21885 ac_cpp='$CXXCPP $CPPFLAGS'
21886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21891 /* end confdefs.h. */
21892 #include <math.h>
21894 main ()
21896 _hypot(0, 0);
21898 return 0;
21900 _ACEOF
21901 if ac_fn_cxx_try_compile "$LINENO"; then :
21902 glibcxx_cv_func__hypot_use=yes
21903 else
21904 glibcxx_cv_func__hypot_use=no
21906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21907 ac_ext=c
21908 ac_cpp='$CPP $CPPFLAGS'
21909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
21918 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
21920 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
21921 for ac_func in _hypot
21922 do :
21923 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
21924 if test "x$ac_cv_func__hypot" = x""yes; then :
21925 cat >>confdefs.h <<_ACEOF
21926 #define HAVE__HYPOT 1
21927 _ACEOF
21930 done
21939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
21940 $as_echo_n "checking for float trig functions... " >&6; }
21941 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
21942 $as_echo_n "(cached) " >&6
21943 else
21946 ac_ext=cpp
21947 ac_cpp='$CXXCPP $CPPFLAGS'
21948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21953 /* end confdefs.h. */
21954 #include <math.h>
21956 main ()
21958 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
21960 return 0;
21962 _ACEOF
21963 if ac_fn_cxx_try_compile "$LINENO"; then :
21964 glibcxx_cv_func_float_trig_use=yes
21965 else
21966 glibcxx_cv_func_float_trig_use=no
21968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21969 ac_ext=c
21970 ac_cpp='$CPP $CPPFLAGS'
21971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
21978 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
21979 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
21980 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
21981 do :
21982 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21983 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21984 eval as_val=\$$as_ac_var
21985 if test "x$as_val" = x""yes; then :
21986 cat >>confdefs.h <<_ACEOF
21987 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21988 _ACEOF
21991 done
21993 else
21994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
21995 $as_echo_n "checking for _float trig functions... " >&6; }
21996 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
21997 $as_echo_n "(cached) " >&6
21998 else
22001 ac_ext=cpp
22002 ac_cpp='$CXXCPP $CPPFLAGS'
22003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22008 /* end confdefs.h. */
22009 #include <math.h>
22011 main ()
22013 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
22015 return 0;
22017 _ACEOF
22018 if ac_fn_cxx_try_compile "$LINENO"; then :
22019 glibcxx_cv_func__float_trig_use=yes
22020 else
22021 glibcxx_cv_func__float_trig_use=no
22023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22024 ac_ext=c
22025 ac_cpp='$CPP $CPPFLAGS'
22026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
22033 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
22034 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
22035 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
22036 do :
22037 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22038 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22039 eval as_val=\$$as_ac_var
22040 if test "x$as_val" = x""yes; then :
22041 cat >>confdefs.h <<_ACEOF
22042 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22043 _ACEOF
22046 done
22055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
22056 $as_echo_n "checking for float round functions... " >&6; }
22057 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
22058 $as_echo_n "(cached) " >&6
22059 else
22062 ac_ext=cpp
22063 ac_cpp='$CXXCPP $CPPFLAGS'
22064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22069 /* end confdefs.h. */
22070 #include <math.h>
22072 main ()
22074 ceilf (0); floorf (0);
22076 return 0;
22078 _ACEOF
22079 if ac_fn_cxx_try_compile "$LINENO"; then :
22080 glibcxx_cv_func_float_round_use=yes
22081 else
22082 glibcxx_cv_func_float_round_use=no
22084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22085 ac_ext=c
22086 ac_cpp='$CPP $CPPFLAGS'
22087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
22094 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
22095 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
22096 for ac_func in ceilf floorf
22097 do :
22098 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22099 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22100 eval as_val=\$$as_ac_var
22101 if test "x$as_val" = x""yes; then :
22102 cat >>confdefs.h <<_ACEOF
22103 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22104 _ACEOF
22107 done
22109 else
22110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
22111 $as_echo_n "checking for _float round functions... " >&6; }
22112 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
22113 $as_echo_n "(cached) " >&6
22114 else
22117 ac_ext=cpp
22118 ac_cpp='$CXXCPP $CPPFLAGS'
22119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22124 /* end confdefs.h. */
22125 #include <math.h>
22127 main ()
22129 _ceilf (0); _floorf (0);
22131 return 0;
22133 _ACEOF
22134 if ac_fn_cxx_try_compile "$LINENO"; then :
22135 glibcxx_cv_func__float_round_use=yes
22136 else
22137 glibcxx_cv_func__float_round_use=no
22139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22140 ac_ext=c
22141 ac_cpp='$CPP $CPPFLAGS'
22142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
22149 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
22150 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
22151 for ac_func in _ceilf _floorf
22152 do :
22153 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22154 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22155 eval as_val=\$$as_ac_var
22156 if test "x$as_val" = x""yes; then :
22157 cat >>confdefs.h <<_ACEOF
22158 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22159 _ACEOF
22162 done
22172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
22173 $as_echo_n "checking for expf declaration... " >&6; }
22174 if test x${glibcxx_cv_func_expf_use+set} != xset; then
22175 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
22176 $as_echo_n "(cached) " >&6
22177 else
22180 ac_ext=cpp
22181 ac_cpp='$CXXCPP $CPPFLAGS'
22182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22187 /* end confdefs.h. */
22188 #include <math.h>
22189 #ifdef HAVE_IEEEFP_H
22190 #include <ieeefp.h>
22191 #endif
22194 main ()
22196 expf(0);
22198 return 0;
22200 _ACEOF
22201 if ac_fn_cxx_try_compile "$LINENO"; then :
22202 glibcxx_cv_func_expf_use=yes
22203 else
22204 glibcxx_cv_func_expf_use=no
22206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22207 ac_ext=c
22208 ac_cpp='$CPP $CPPFLAGS'
22209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
22218 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
22220 if test x$glibcxx_cv_func_expf_use = x"yes"; then
22221 for ac_func in expf
22222 do :
22223 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
22224 if test "x$ac_cv_func_expf" = x""yes; then :
22225 cat >>confdefs.h <<_ACEOF
22226 #define HAVE_EXPF 1
22227 _ACEOF
22230 done
22232 else
22234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
22235 $as_echo_n "checking for _expf declaration... " >&6; }
22236 if test x${glibcxx_cv_func__expf_use+set} != xset; then
22237 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
22238 $as_echo_n "(cached) " >&6
22239 else
22242 ac_ext=cpp
22243 ac_cpp='$CXXCPP $CPPFLAGS'
22244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22249 /* end confdefs.h. */
22250 #include <math.h>
22251 #ifdef HAVE_IEEEFP_H
22252 #include <ieeefp.h>
22253 #endif
22256 main ()
22258 _expf(0);
22260 return 0;
22262 _ACEOF
22263 if ac_fn_cxx_try_compile "$LINENO"; then :
22264 glibcxx_cv_func__expf_use=yes
22265 else
22266 glibcxx_cv_func__expf_use=no
22268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22269 ac_ext=c
22270 ac_cpp='$CPP $CPPFLAGS'
22271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
22280 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
22282 if test x$glibcxx_cv_func__expf_use = x"yes"; then
22283 for ac_func in _expf
22284 do :
22285 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
22286 if test "x$ac_cv_func__expf" = x""yes; then :
22287 cat >>confdefs.h <<_ACEOF
22288 #define HAVE__EXPF 1
22289 _ACEOF
22292 done
22301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
22302 $as_echo_n "checking for isnanf declaration... " >&6; }
22303 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
22304 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
22305 $as_echo_n "(cached) " >&6
22306 else
22309 ac_ext=cpp
22310 ac_cpp='$CXXCPP $CPPFLAGS'
22311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22316 /* end confdefs.h. */
22317 #include <math.h>
22318 #ifdef HAVE_IEEEFP_H
22319 #include <ieeefp.h>
22320 #endif
22323 main ()
22325 isnanf(0);
22327 return 0;
22329 _ACEOF
22330 if ac_fn_cxx_try_compile "$LINENO"; then :
22331 glibcxx_cv_func_isnanf_use=yes
22332 else
22333 glibcxx_cv_func_isnanf_use=no
22335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22336 ac_ext=c
22337 ac_cpp='$CPP $CPPFLAGS'
22338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
22347 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
22349 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
22350 for ac_func in isnanf
22351 do :
22352 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
22353 if test "x$ac_cv_func_isnanf" = x""yes; then :
22354 cat >>confdefs.h <<_ACEOF
22355 #define HAVE_ISNANF 1
22356 _ACEOF
22359 done
22361 else
22363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
22364 $as_echo_n "checking for _isnanf declaration... " >&6; }
22365 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
22366 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
22367 $as_echo_n "(cached) " >&6
22368 else
22371 ac_ext=cpp
22372 ac_cpp='$CXXCPP $CPPFLAGS'
22373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22378 /* end confdefs.h. */
22379 #include <math.h>
22380 #ifdef HAVE_IEEEFP_H
22381 #include <ieeefp.h>
22382 #endif
22385 main ()
22387 _isnanf(0);
22389 return 0;
22391 _ACEOF
22392 if ac_fn_cxx_try_compile "$LINENO"; then :
22393 glibcxx_cv_func__isnanf_use=yes
22394 else
22395 glibcxx_cv_func__isnanf_use=no
22397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22398 ac_ext=c
22399 ac_cpp='$CPP $CPPFLAGS'
22400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
22409 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
22411 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
22412 for ac_func in _isnanf
22413 do :
22414 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
22415 if test "x$ac_cv_func__isnanf" = x""yes; then :
22416 cat >>confdefs.h <<_ACEOF
22417 #define HAVE__ISNANF 1
22418 _ACEOF
22421 done
22430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
22431 $as_echo_n "checking for isinff declaration... " >&6; }
22432 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
22433 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
22434 $as_echo_n "(cached) " >&6
22435 else
22438 ac_ext=cpp
22439 ac_cpp='$CXXCPP $CPPFLAGS'
22440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22445 /* end confdefs.h. */
22446 #include <math.h>
22447 #ifdef HAVE_IEEEFP_H
22448 #include <ieeefp.h>
22449 #endif
22452 main ()
22454 isinff(0);
22456 return 0;
22458 _ACEOF
22459 if ac_fn_cxx_try_compile "$LINENO"; then :
22460 glibcxx_cv_func_isinff_use=yes
22461 else
22462 glibcxx_cv_func_isinff_use=no
22464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22465 ac_ext=c
22466 ac_cpp='$CPP $CPPFLAGS'
22467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
22476 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
22478 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
22479 for ac_func in isinff
22480 do :
22481 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
22482 if test "x$ac_cv_func_isinff" = x""yes; then :
22483 cat >>confdefs.h <<_ACEOF
22484 #define HAVE_ISINFF 1
22485 _ACEOF
22488 done
22490 else
22492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
22493 $as_echo_n "checking for _isinff declaration... " >&6; }
22494 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
22495 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
22496 $as_echo_n "(cached) " >&6
22497 else
22500 ac_ext=cpp
22501 ac_cpp='$CXXCPP $CPPFLAGS'
22502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22507 /* end confdefs.h. */
22508 #include <math.h>
22509 #ifdef HAVE_IEEEFP_H
22510 #include <ieeefp.h>
22511 #endif
22514 main ()
22516 _isinff(0);
22518 return 0;
22520 _ACEOF
22521 if ac_fn_cxx_try_compile "$LINENO"; then :
22522 glibcxx_cv_func__isinff_use=yes
22523 else
22524 glibcxx_cv_func__isinff_use=no
22526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22527 ac_ext=c
22528 ac_cpp='$CPP $CPPFLAGS'
22529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
22538 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
22540 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
22541 for ac_func in _isinff
22542 do :
22543 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
22544 if test "x$ac_cv_func__isinff" = x""yes; then :
22545 cat >>confdefs.h <<_ACEOF
22546 #define HAVE__ISINFF 1
22547 _ACEOF
22550 done
22559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
22560 $as_echo_n "checking for atan2f declaration... " >&6; }
22561 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
22562 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
22563 $as_echo_n "(cached) " >&6
22564 else
22567 ac_ext=cpp
22568 ac_cpp='$CXXCPP $CPPFLAGS'
22569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22574 /* end confdefs.h. */
22575 #include <math.h>
22577 main ()
22579 atan2f(0, 0);
22581 return 0;
22583 _ACEOF
22584 if ac_fn_cxx_try_compile "$LINENO"; then :
22585 glibcxx_cv_func_atan2f_use=yes
22586 else
22587 glibcxx_cv_func_atan2f_use=no
22589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22590 ac_ext=c
22591 ac_cpp='$CPP $CPPFLAGS'
22592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
22601 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
22603 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
22604 for ac_func in atan2f
22605 do :
22606 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
22607 if test "x$ac_cv_func_atan2f" = x""yes; then :
22608 cat >>confdefs.h <<_ACEOF
22609 #define HAVE_ATAN2F 1
22610 _ACEOF
22613 done
22615 else
22617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
22618 $as_echo_n "checking for _atan2f declaration... " >&6; }
22619 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
22620 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
22621 $as_echo_n "(cached) " >&6
22622 else
22625 ac_ext=cpp
22626 ac_cpp='$CXXCPP $CPPFLAGS'
22627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22632 /* end confdefs.h. */
22633 #include <math.h>
22635 main ()
22637 _atan2f(0, 0);
22639 return 0;
22641 _ACEOF
22642 if ac_fn_cxx_try_compile "$LINENO"; then :
22643 glibcxx_cv_func__atan2f_use=yes
22644 else
22645 glibcxx_cv_func__atan2f_use=no
22647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22648 ac_ext=c
22649 ac_cpp='$CPP $CPPFLAGS'
22650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
22659 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
22661 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
22662 for ac_func in _atan2f
22663 do :
22664 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
22665 if test "x$ac_cv_func__atan2f" = x""yes; then :
22666 cat >>confdefs.h <<_ACEOF
22667 #define HAVE__ATAN2F 1
22668 _ACEOF
22671 done
22680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
22681 $as_echo_n "checking for fabsf declaration... " >&6; }
22682 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
22683 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
22684 $as_echo_n "(cached) " >&6
22685 else
22688 ac_ext=cpp
22689 ac_cpp='$CXXCPP $CPPFLAGS'
22690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22695 /* end confdefs.h. */
22696 #include <math.h>
22697 #ifdef HAVE_IEEEFP_H
22698 #include <ieeefp.h>
22699 #endif
22702 main ()
22704 fabsf(0);
22706 return 0;
22708 _ACEOF
22709 if ac_fn_cxx_try_compile "$LINENO"; then :
22710 glibcxx_cv_func_fabsf_use=yes
22711 else
22712 glibcxx_cv_func_fabsf_use=no
22714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22715 ac_ext=c
22716 ac_cpp='$CPP $CPPFLAGS'
22717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
22726 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
22728 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
22729 for ac_func in fabsf
22730 do :
22731 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
22732 if test "x$ac_cv_func_fabsf" = x""yes; then :
22733 cat >>confdefs.h <<_ACEOF
22734 #define HAVE_FABSF 1
22735 _ACEOF
22738 done
22740 else
22742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
22743 $as_echo_n "checking for _fabsf declaration... " >&6; }
22744 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
22745 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
22746 $as_echo_n "(cached) " >&6
22747 else
22750 ac_ext=cpp
22751 ac_cpp='$CXXCPP $CPPFLAGS'
22752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22757 /* end confdefs.h. */
22758 #include <math.h>
22759 #ifdef HAVE_IEEEFP_H
22760 #include <ieeefp.h>
22761 #endif
22764 main ()
22766 _fabsf(0);
22768 return 0;
22770 _ACEOF
22771 if ac_fn_cxx_try_compile "$LINENO"; then :
22772 glibcxx_cv_func__fabsf_use=yes
22773 else
22774 glibcxx_cv_func__fabsf_use=no
22776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22777 ac_ext=c
22778 ac_cpp='$CPP $CPPFLAGS'
22779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
22788 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
22790 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
22791 for ac_func in _fabsf
22792 do :
22793 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
22794 if test "x$ac_cv_func__fabsf" = x""yes; then :
22795 cat >>confdefs.h <<_ACEOF
22796 #define HAVE__FABSF 1
22797 _ACEOF
22800 done
22809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
22810 $as_echo_n "checking for fmodf declaration... " >&6; }
22811 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
22812 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
22813 $as_echo_n "(cached) " >&6
22814 else
22817 ac_ext=cpp
22818 ac_cpp='$CXXCPP $CPPFLAGS'
22819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22824 /* end confdefs.h. */
22825 #include <math.h>
22827 main ()
22829 fmodf(0, 0);
22831 return 0;
22833 _ACEOF
22834 if ac_fn_cxx_try_compile "$LINENO"; then :
22835 glibcxx_cv_func_fmodf_use=yes
22836 else
22837 glibcxx_cv_func_fmodf_use=no
22839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22840 ac_ext=c
22841 ac_cpp='$CPP $CPPFLAGS'
22842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
22851 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
22853 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
22854 for ac_func in fmodf
22855 do :
22856 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
22857 if test "x$ac_cv_func_fmodf" = x""yes; then :
22858 cat >>confdefs.h <<_ACEOF
22859 #define HAVE_FMODF 1
22860 _ACEOF
22863 done
22865 else
22867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
22868 $as_echo_n "checking for _fmodf declaration... " >&6; }
22869 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
22870 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
22871 $as_echo_n "(cached) " >&6
22872 else
22875 ac_ext=cpp
22876 ac_cpp='$CXXCPP $CPPFLAGS'
22877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22882 /* end confdefs.h. */
22883 #include <math.h>
22885 main ()
22887 _fmodf(0, 0);
22889 return 0;
22891 _ACEOF
22892 if ac_fn_cxx_try_compile "$LINENO"; then :
22893 glibcxx_cv_func__fmodf_use=yes
22894 else
22895 glibcxx_cv_func__fmodf_use=no
22897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22898 ac_ext=c
22899 ac_cpp='$CPP $CPPFLAGS'
22900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
22909 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
22911 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
22912 for ac_func in _fmodf
22913 do :
22914 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
22915 if test "x$ac_cv_func__fmodf" = x""yes; then :
22916 cat >>confdefs.h <<_ACEOF
22917 #define HAVE__FMODF 1
22918 _ACEOF
22921 done
22930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
22931 $as_echo_n "checking for frexpf declaration... " >&6; }
22932 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
22933 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
22934 $as_echo_n "(cached) " >&6
22935 else
22938 ac_ext=cpp
22939 ac_cpp='$CXXCPP $CPPFLAGS'
22940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22945 /* end confdefs.h. */
22946 #include <math.h>
22948 main ()
22950 frexpf(0, 0);
22952 return 0;
22954 _ACEOF
22955 if ac_fn_cxx_try_compile "$LINENO"; then :
22956 glibcxx_cv_func_frexpf_use=yes
22957 else
22958 glibcxx_cv_func_frexpf_use=no
22960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22961 ac_ext=c
22962 ac_cpp='$CPP $CPPFLAGS'
22963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
22972 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
22974 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
22975 for ac_func in frexpf
22976 do :
22977 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
22978 if test "x$ac_cv_func_frexpf" = x""yes; then :
22979 cat >>confdefs.h <<_ACEOF
22980 #define HAVE_FREXPF 1
22981 _ACEOF
22984 done
22986 else
22988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
22989 $as_echo_n "checking for _frexpf declaration... " >&6; }
22990 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
22991 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
22992 $as_echo_n "(cached) " >&6
22993 else
22996 ac_ext=cpp
22997 ac_cpp='$CXXCPP $CPPFLAGS'
22998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23003 /* end confdefs.h. */
23004 #include <math.h>
23006 main ()
23008 _frexpf(0, 0);
23010 return 0;
23012 _ACEOF
23013 if ac_fn_cxx_try_compile "$LINENO"; then :
23014 glibcxx_cv_func__frexpf_use=yes
23015 else
23016 glibcxx_cv_func__frexpf_use=no
23018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23019 ac_ext=c
23020 ac_cpp='$CPP $CPPFLAGS'
23021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
23030 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
23032 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
23033 for ac_func in _frexpf
23034 do :
23035 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
23036 if test "x$ac_cv_func__frexpf" = x""yes; then :
23037 cat >>confdefs.h <<_ACEOF
23038 #define HAVE__FREXPF 1
23039 _ACEOF
23042 done
23051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
23052 $as_echo_n "checking for hypotf declaration... " >&6; }
23053 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
23054 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
23055 $as_echo_n "(cached) " >&6
23056 else
23059 ac_ext=cpp
23060 ac_cpp='$CXXCPP $CPPFLAGS'
23061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23066 /* end confdefs.h. */
23067 #include <math.h>
23069 main ()
23071 hypotf(0, 0);
23073 return 0;
23075 _ACEOF
23076 if ac_fn_cxx_try_compile "$LINENO"; then :
23077 glibcxx_cv_func_hypotf_use=yes
23078 else
23079 glibcxx_cv_func_hypotf_use=no
23081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23082 ac_ext=c
23083 ac_cpp='$CPP $CPPFLAGS'
23084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
23093 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
23095 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
23096 for ac_func in hypotf
23097 do :
23098 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
23099 if test "x$ac_cv_func_hypotf" = x""yes; then :
23100 cat >>confdefs.h <<_ACEOF
23101 #define HAVE_HYPOTF 1
23102 _ACEOF
23105 done
23107 else
23109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
23110 $as_echo_n "checking for _hypotf declaration... " >&6; }
23111 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
23112 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
23113 $as_echo_n "(cached) " >&6
23114 else
23117 ac_ext=cpp
23118 ac_cpp='$CXXCPP $CPPFLAGS'
23119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23124 /* end confdefs.h. */
23125 #include <math.h>
23127 main ()
23129 _hypotf(0, 0);
23131 return 0;
23133 _ACEOF
23134 if ac_fn_cxx_try_compile "$LINENO"; then :
23135 glibcxx_cv_func__hypotf_use=yes
23136 else
23137 glibcxx_cv_func__hypotf_use=no
23139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23140 ac_ext=c
23141 ac_cpp='$CPP $CPPFLAGS'
23142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
23151 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
23153 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
23154 for ac_func in _hypotf
23155 do :
23156 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
23157 if test "x$ac_cv_func__hypotf" = x""yes; then :
23158 cat >>confdefs.h <<_ACEOF
23159 #define HAVE__HYPOTF 1
23160 _ACEOF
23163 done
23172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
23173 $as_echo_n "checking for ldexpf declaration... " >&6; }
23174 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
23175 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
23176 $as_echo_n "(cached) " >&6
23177 else
23180 ac_ext=cpp
23181 ac_cpp='$CXXCPP $CPPFLAGS'
23182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23187 /* end confdefs.h. */
23188 #include <math.h>
23190 main ()
23192 ldexpf(0, 0);
23194 return 0;
23196 _ACEOF
23197 if ac_fn_cxx_try_compile "$LINENO"; then :
23198 glibcxx_cv_func_ldexpf_use=yes
23199 else
23200 glibcxx_cv_func_ldexpf_use=no
23202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23203 ac_ext=c
23204 ac_cpp='$CPP $CPPFLAGS'
23205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
23214 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
23216 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
23217 for ac_func in ldexpf
23218 do :
23219 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
23220 if test "x$ac_cv_func_ldexpf" = x""yes; then :
23221 cat >>confdefs.h <<_ACEOF
23222 #define HAVE_LDEXPF 1
23223 _ACEOF
23226 done
23228 else
23230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
23231 $as_echo_n "checking for _ldexpf declaration... " >&6; }
23232 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
23233 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
23234 $as_echo_n "(cached) " >&6
23235 else
23238 ac_ext=cpp
23239 ac_cpp='$CXXCPP $CPPFLAGS'
23240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23245 /* end confdefs.h. */
23246 #include <math.h>
23248 main ()
23250 _ldexpf(0, 0);
23252 return 0;
23254 _ACEOF
23255 if ac_fn_cxx_try_compile "$LINENO"; then :
23256 glibcxx_cv_func__ldexpf_use=yes
23257 else
23258 glibcxx_cv_func__ldexpf_use=no
23260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23261 ac_ext=c
23262 ac_cpp='$CPP $CPPFLAGS'
23263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
23272 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
23274 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
23275 for ac_func in _ldexpf
23276 do :
23277 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
23278 if test "x$ac_cv_func__ldexpf" = x""yes; then :
23279 cat >>confdefs.h <<_ACEOF
23280 #define HAVE__LDEXPF 1
23281 _ACEOF
23284 done
23293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
23294 $as_echo_n "checking for logf declaration... " >&6; }
23295 if test x${glibcxx_cv_func_logf_use+set} != xset; then
23296 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
23297 $as_echo_n "(cached) " >&6
23298 else
23301 ac_ext=cpp
23302 ac_cpp='$CXXCPP $CPPFLAGS'
23303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23308 /* end confdefs.h. */
23309 #include <math.h>
23310 #ifdef HAVE_IEEEFP_H
23311 #include <ieeefp.h>
23312 #endif
23315 main ()
23317 logf(0);
23319 return 0;
23321 _ACEOF
23322 if ac_fn_cxx_try_compile "$LINENO"; then :
23323 glibcxx_cv_func_logf_use=yes
23324 else
23325 glibcxx_cv_func_logf_use=no
23327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23328 ac_ext=c
23329 ac_cpp='$CPP $CPPFLAGS'
23330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
23339 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
23341 if test x$glibcxx_cv_func_logf_use = x"yes"; then
23342 for ac_func in logf
23343 do :
23344 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
23345 if test "x$ac_cv_func_logf" = x""yes; then :
23346 cat >>confdefs.h <<_ACEOF
23347 #define HAVE_LOGF 1
23348 _ACEOF
23351 done
23353 else
23355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
23356 $as_echo_n "checking for _logf declaration... " >&6; }
23357 if test x${glibcxx_cv_func__logf_use+set} != xset; then
23358 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
23359 $as_echo_n "(cached) " >&6
23360 else
23363 ac_ext=cpp
23364 ac_cpp='$CXXCPP $CPPFLAGS'
23365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23370 /* end confdefs.h. */
23371 #include <math.h>
23372 #ifdef HAVE_IEEEFP_H
23373 #include <ieeefp.h>
23374 #endif
23377 main ()
23379 _logf(0);
23381 return 0;
23383 _ACEOF
23384 if ac_fn_cxx_try_compile "$LINENO"; then :
23385 glibcxx_cv_func__logf_use=yes
23386 else
23387 glibcxx_cv_func__logf_use=no
23389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23390 ac_ext=c
23391 ac_cpp='$CPP $CPPFLAGS'
23392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
23401 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
23403 if test x$glibcxx_cv_func__logf_use = x"yes"; then
23404 for ac_func in _logf
23405 do :
23406 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
23407 if test "x$ac_cv_func__logf" = x""yes; then :
23408 cat >>confdefs.h <<_ACEOF
23409 #define HAVE__LOGF 1
23410 _ACEOF
23413 done
23422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
23423 $as_echo_n "checking for log10f declaration... " >&6; }
23424 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
23425 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
23426 $as_echo_n "(cached) " >&6
23427 else
23430 ac_ext=cpp
23431 ac_cpp='$CXXCPP $CPPFLAGS'
23432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23437 /* end confdefs.h. */
23438 #include <math.h>
23439 #ifdef HAVE_IEEEFP_H
23440 #include <ieeefp.h>
23441 #endif
23444 main ()
23446 log10f(0);
23448 return 0;
23450 _ACEOF
23451 if ac_fn_cxx_try_compile "$LINENO"; then :
23452 glibcxx_cv_func_log10f_use=yes
23453 else
23454 glibcxx_cv_func_log10f_use=no
23456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23457 ac_ext=c
23458 ac_cpp='$CPP $CPPFLAGS'
23459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
23468 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
23470 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
23471 for ac_func in log10f
23472 do :
23473 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
23474 if test "x$ac_cv_func_log10f" = x""yes; then :
23475 cat >>confdefs.h <<_ACEOF
23476 #define HAVE_LOG10F 1
23477 _ACEOF
23480 done
23482 else
23484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
23485 $as_echo_n "checking for _log10f declaration... " >&6; }
23486 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
23487 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
23488 $as_echo_n "(cached) " >&6
23489 else
23492 ac_ext=cpp
23493 ac_cpp='$CXXCPP $CPPFLAGS'
23494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23499 /* end confdefs.h. */
23500 #include <math.h>
23501 #ifdef HAVE_IEEEFP_H
23502 #include <ieeefp.h>
23503 #endif
23506 main ()
23508 _log10f(0);
23510 return 0;
23512 _ACEOF
23513 if ac_fn_cxx_try_compile "$LINENO"; then :
23514 glibcxx_cv_func__log10f_use=yes
23515 else
23516 glibcxx_cv_func__log10f_use=no
23518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23519 ac_ext=c
23520 ac_cpp='$CPP $CPPFLAGS'
23521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
23530 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
23532 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
23533 for ac_func in _log10f
23534 do :
23535 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
23536 if test "x$ac_cv_func__log10f" = x""yes; then :
23537 cat >>confdefs.h <<_ACEOF
23538 #define HAVE__LOG10F 1
23539 _ACEOF
23542 done
23551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
23552 $as_echo_n "checking for modff declaration... " >&6; }
23553 if test x${glibcxx_cv_func_modff_use+set} != xset; then
23554 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
23555 $as_echo_n "(cached) " >&6
23556 else
23559 ac_ext=cpp
23560 ac_cpp='$CXXCPP $CPPFLAGS'
23561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23566 /* end confdefs.h. */
23567 #include <math.h>
23569 main ()
23571 modff(0, 0);
23573 return 0;
23575 _ACEOF
23576 if ac_fn_cxx_try_compile "$LINENO"; then :
23577 glibcxx_cv_func_modff_use=yes
23578 else
23579 glibcxx_cv_func_modff_use=no
23581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23582 ac_ext=c
23583 ac_cpp='$CPP $CPPFLAGS'
23584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
23593 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
23595 if test x$glibcxx_cv_func_modff_use = x"yes"; then
23596 for ac_func in modff
23597 do :
23598 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
23599 if test "x$ac_cv_func_modff" = x""yes; then :
23600 cat >>confdefs.h <<_ACEOF
23601 #define HAVE_MODFF 1
23602 _ACEOF
23605 done
23607 else
23609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
23610 $as_echo_n "checking for _modff declaration... " >&6; }
23611 if test x${glibcxx_cv_func__modff_use+set} != xset; then
23612 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
23613 $as_echo_n "(cached) " >&6
23614 else
23617 ac_ext=cpp
23618 ac_cpp='$CXXCPP $CPPFLAGS'
23619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23624 /* end confdefs.h. */
23625 #include <math.h>
23627 main ()
23629 _modff(0, 0);
23631 return 0;
23633 _ACEOF
23634 if ac_fn_cxx_try_compile "$LINENO"; then :
23635 glibcxx_cv_func__modff_use=yes
23636 else
23637 glibcxx_cv_func__modff_use=no
23639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23640 ac_ext=c
23641 ac_cpp='$CPP $CPPFLAGS'
23642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
23651 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
23653 if test x$glibcxx_cv_func__modff_use = x"yes"; then
23654 for ac_func in _modff
23655 do :
23656 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
23657 if test "x$ac_cv_func__modff" = x""yes; then :
23658 cat >>confdefs.h <<_ACEOF
23659 #define HAVE__MODFF 1
23660 _ACEOF
23663 done
23672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
23673 $as_echo_n "checking for modf declaration... " >&6; }
23674 if test x${glibcxx_cv_func_modf_use+set} != xset; then
23675 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
23676 $as_echo_n "(cached) " >&6
23677 else
23680 ac_ext=cpp
23681 ac_cpp='$CXXCPP $CPPFLAGS'
23682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23687 /* end confdefs.h. */
23688 #include <math.h>
23690 main ()
23692 modf(0, 0);
23694 return 0;
23696 _ACEOF
23697 if ac_fn_cxx_try_compile "$LINENO"; then :
23698 glibcxx_cv_func_modf_use=yes
23699 else
23700 glibcxx_cv_func_modf_use=no
23702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23703 ac_ext=c
23704 ac_cpp='$CPP $CPPFLAGS'
23705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
23714 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
23716 if test x$glibcxx_cv_func_modf_use = x"yes"; then
23717 for ac_func in modf
23718 do :
23719 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
23720 if test "x$ac_cv_func_modf" = x""yes; then :
23721 cat >>confdefs.h <<_ACEOF
23722 #define HAVE_MODF 1
23723 _ACEOF
23726 done
23728 else
23730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
23731 $as_echo_n "checking for _modf declaration... " >&6; }
23732 if test x${glibcxx_cv_func__modf_use+set} != xset; then
23733 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
23734 $as_echo_n "(cached) " >&6
23735 else
23738 ac_ext=cpp
23739 ac_cpp='$CXXCPP $CPPFLAGS'
23740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23745 /* end confdefs.h. */
23746 #include <math.h>
23748 main ()
23750 _modf(0, 0);
23752 return 0;
23754 _ACEOF
23755 if ac_fn_cxx_try_compile "$LINENO"; then :
23756 glibcxx_cv_func__modf_use=yes
23757 else
23758 glibcxx_cv_func__modf_use=no
23760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23761 ac_ext=c
23762 ac_cpp='$CPP $CPPFLAGS'
23763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
23772 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
23774 if test x$glibcxx_cv_func__modf_use = x"yes"; then
23775 for ac_func in _modf
23776 do :
23777 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
23778 if test "x$ac_cv_func__modf" = x""yes; then :
23779 cat >>confdefs.h <<_ACEOF
23780 #define HAVE__MODF 1
23781 _ACEOF
23784 done
23793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
23794 $as_echo_n "checking for powf declaration... " >&6; }
23795 if test x${glibcxx_cv_func_powf_use+set} != xset; then
23796 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
23797 $as_echo_n "(cached) " >&6
23798 else
23801 ac_ext=cpp
23802 ac_cpp='$CXXCPP $CPPFLAGS'
23803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23808 /* end confdefs.h. */
23809 #include <math.h>
23811 main ()
23813 powf(0, 0);
23815 return 0;
23817 _ACEOF
23818 if ac_fn_cxx_try_compile "$LINENO"; then :
23819 glibcxx_cv_func_powf_use=yes
23820 else
23821 glibcxx_cv_func_powf_use=no
23823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23824 ac_ext=c
23825 ac_cpp='$CPP $CPPFLAGS'
23826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
23835 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
23837 if test x$glibcxx_cv_func_powf_use = x"yes"; then
23838 for ac_func in powf
23839 do :
23840 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
23841 if test "x$ac_cv_func_powf" = x""yes; then :
23842 cat >>confdefs.h <<_ACEOF
23843 #define HAVE_POWF 1
23844 _ACEOF
23847 done
23849 else
23851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
23852 $as_echo_n "checking for _powf declaration... " >&6; }
23853 if test x${glibcxx_cv_func__powf_use+set} != xset; then
23854 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
23855 $as_echo_n "(cached) " >&6
23856 else
23859 ac_ext=cpp
23860 ac_cpp='$CXXCPP $CPPFLAGS'
23861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23866 /* end confdefs.h. */
23867 #include <math.h>
23869 main ()
23871 _powf(0, 0);
23873 return 0;
23875 _ACEOF
23876 if ac_fn_cxx_try_compile "$LINENO"; then :
23877 glibcxx_cv_func__powf_use=yes
23878 else
23879 glibcxx_cv_func__powf_use=no
23881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23882 ac_ext=c
23883 ac_cpp='$CPP $CPPFLAGS'
23884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
23893 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
23895 if test x$glibcxx_cv_func__powf_use = x"yes"; then
23896 for ac_func in _powf
23897 do :
23898 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
23899 if test "x$ac_cv_func__powf" = x""yes; then :
23900 cat >>confdefs.h <<_ACEOF
23901 #define HAVE__POWF 1
23902 _ACEOF
23905 done
23914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
23915 $as_echo_n "checking for sqrtf declaration... " >&6; }
23916 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
23917 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
23918 $as_echo_n "(cached) " >&6
23919 else
23922 ac_ext=cpp
23923 ac_cpp='$CXXCPP $CPPFLAGS'
23924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23929 /* end confdefs.h. */
23930 #include <math.h>
23931 #ifdef HAVE_IEEEFP_H
23932 #include <ieeefp.h>
23933 #endif
23936 main ()
23938 sqrtf(0);
23940 return 0;
23942 _ACEOF
23943 if ac_fn_cxx_try_compile "$LINENO"; then :
23944 glibcxx_cv_func_sqrtf_use=yes
23945 else
23946 glibcxx_cv_func_sqrtf_use=no
23948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23949 ac_ext=c
23950 ac_cpp='$CPP $CPPFLAGS'
23951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
23960 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
23962 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
23963 for ac_func in sqrtf
23964 do :
23965 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
23966 if test "x$ac_cv_func_sqrtf" = x""yes; then :
23967 cat >>confdefs.h <<_ACEOF
23968 #define HAVE_SQRTF 1
23969 _ACEOF
23972 done
23974 else
23976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
23977 $as_echo_n "checking for _sqrtf declaration... " >&6; }
23978 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
23979 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
23980 $as_echo_n "(cached) " >&6
23981 else
23984 ac_ext=cpp
23985 ac_cpp='$CXXCPP $CPPFLAGS'
23986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23991 /* end confdefs.h. */
23992 #include <math.h>
23993 #ifdef HAVE_IEEEFP_H
23994 #include <ieeefp.h>
23995 #endif
23998 main ()
24000 _sqrtf(0);
24002 return 0;
24004 _ACEOF
24005 if ac_fn_cxx_try_compile "$LINENO"; then :
24006 glibcxx_cv_func__sqrtf_use=yes
24007 else
24008 glibcxx_cv_func__sqrtf_use=no
24010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24011 ac_ext=c
24012 ac_cpp='$CPP $CPPFLAGS'
24013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
24022 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
24024 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
24025 for ac_func in _sqrtf
24026 do :
24027 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
24028 if test "x$ac_cv_func__sqrtf" = x""yes; then :
24029 cat >>confdefs.h <<_ACEOF
24030 #define HAVE__SQRTF 1
24031 _ACEOF
24034 done
24043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
24044 $as_echo_n "checking for sincosf declaration... " >&6; }
24045 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
24046 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
24047 $as_echo_n "(cached) " >&6
24048 else
24051 ac_ext=cpp
24052 ac_cpp='$CXXCPP $CPPFLAGS'
24053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24058 /* end confdefs.h. */
24059 #include <math.h>
24061 main ()
24063 sincosf(0, 0, 0);
24065 return 0;
24067 _ACEOF
24068 if ac_fn_cxx_try_compile "$LINENO"; then :
24069 glibcxx_cv_func_sincosf_use=yes
24070 else
24071 glibcxx_cv_func_sincosf_use=no
24073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24074 ac_ext=c
24075 ac_cpp='$CPP $CPPFLAGS'
24076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
24085 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
24087 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
24088 for ac_func in sincosf
24089 do :
24090 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
24091 if test "x$ac_cv_func_sincosf" = x""yes; then :
24092 cat >>confdefs.h <<_ACEOF
24093 #define HAVE_SINCOSF 1
24094 _ACEOF
24097 done
24099 else
24101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
24102 $as_echo_n "checking for _sincosf declaration... " >&6; }
24103 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
24104 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
24105 $as_echo_n "(cached) " >&6
24106 else
24109 ac_ext=cpp
24110 ac_cpp='$CXXCPP $CPPFLAGS'
24111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24116 /* end confdefs.h. */
24117 #include <math.h>
24119 main ()
24121 _sincosf(0, 0, 0);
24123 return 0;
24125 _ACEOF
24126 if ac_fn_cxx_try_compile "$LINENO"; then :
24127 glibcxx_cv_func__sincosf_use=yes
24128 else
24129 glibcxx_cv_func__sincosf_use=no
24131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24132 ac_ext=c
24133 ac_cpp='$CPP $CPPFLAGS'
24134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
24143 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
24145 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
24146 for ac_func in _sincosf
24147 do :
24148 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
24149 if test "x$ac_cv_func__sincosf" = x""yes; then :
24150 cat >>confdefs.h <<_ACEOF
24151 #define HAVE__SINCOSF 1
24152 _ACEOF
24155 done
24164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
24165 $as_echo_n "checking for finitef declaration... " >&6; }
24166 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
24167 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
24168 $as_echo_n "(cached) " >&6
24169 else
24172 ac_ext=cpp
24173 ac_cpp='$CXXCPP $CPPFLAGS'
24174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24179 /* end confdefs.h. */
24180 #include <math.h>
24181 #ifdef HAVE_IEEEFP_H
24182 #include <ieeefp.h>
24183 #endif
24186 main ()
24188 finitef(0);
24190 return 0;
24192 _ACEOF
24193 if ac_fn_cxx_try_compile "$LINENO"; then :
24194 glibcxx_cv_func_finitef_use=yes
24195 else
24196 glibcxx_cv_func_finitef_use=no
24198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24199 ac_ext=c
24200 ac_cpp='$CPP $CPPFLAGS'
24201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
24210 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
24212 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
24213 for ac_func in finitef
24214 do :
24215 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
24216 if test "x$ac_cv_func_finitef" = x""yes; then :
24217 cat >>confdefs.h <<_ACEOF
24218 #define HAVE_FINITEF 1
24219 _ACEOF
24222 done
24224 else
24226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
24227 $as_echo_n "checking for _finitef declaration... " >&6; }
24228 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
24229 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
24230 $as_echo_n "(cached) " >&6
24231 else
24234 ac_ext=cpp
24235 ac_cpp='$CXXCPP $CPPFLAGS'
24236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24241 /* end confdefs.h. */
24242 #include <math.h>
24243 #ifdef HAVE_IEEEFP_H
24244 #include <ieeefp.h>
24245 #endif
24248 main ()
24250 _finitef(0);
24252 return 0;
24254 _ACEOF
24255 if ac_fn_cxx_try_compile "$LINENO"; then :
24256 glibcxx_cv_func__finitef_use=yes
24257 else
24258 glibcxx_cv_func__finitef_use=no
24260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24261 ac_ext=c
24262 ac_cpp='$CPP $CPPFLAGS'
24263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
24272 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
24274 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
24275 for ac_func in _finitef
24276 do :
24277 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
24278 if test "x$ac_cv_func__finitef" = x""yes; then :
24279 cat >>confdefs.h <<_ACEOF
24280 #define HAVE__FINITEF 1
24281 _ACEOF
24284 done
24293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
24294 $as_echo_n "checking for long double trig functions... " >&6; }
24295 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
24296 $as_echo_n "(cached) " >&6
24297 else
24300 ac_ext=cpp
24301 ac_cpp='$CXXCPP $CPPFLAGS'
24302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24307 /* end confdefs.h. */
24308 #include <math.h>
24310 main ()
24312 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
24314 return 0;
24316 _ACEOF
24317 if ac_fn_cxx_try_compile "$LINENO"; then :
24318 glibcxx_cv_func_long_double_trig_use=yes
24319 else
24320 glibcxx_cv_func_long_double_trig_use=no
24322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24323 ac_ext=c
24324 ac_cpp='$CPP $CPPFLAGS'
24325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
24332 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
24333 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
24334 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
24335 do :
24336 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24337 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24338 eval as_val=\$$as_ac_var
24339 if test "x$as_val" = x""yes; then :
24340 cat >>confdefs.h <<_ACEOF
24341 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24342 _ACEOF
24345 done
24347 else
24348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
24349 $as_echo_n "checking for _long double trig functions... " >&6; }
24350 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
24351 $as_echo_n "(cached) " >&6
24352 else
24355 ac_ext=cpp
24356 ac_cpp='$CXXCPP $CPPFLAGS'
24357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24362 /* end confdefs.h. */
24363 #include <math.h>
24365 main ()
24367 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
24369 return 0;
24371 _ACEOF
24372 if ac_fn_cxx_try_compile "$LINENO"; then :
24373 glibcxx_cv_func__long_double_trig_use=yes
24374 else
24375 glibcxx_cv_func__long_double_trig_use=no
24377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24378 ac_ext=c
24379 ac_cpp='$CPP $CPPFLAGS'
24380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
24387 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
24388 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
24389 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
24390 do :
24391 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24392 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24393 eval as_val=\$$as_ac_var
24394 if test "x$as_val" = x""yes; then :
24395 cat >>confdefs.h <<_ACEOF
24396 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24397 _ACEOF
24400 done
24409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
24410 $as_echo_n "checking for long double round functions... " >&6; }
24411 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
24412 $as_echo_n "(cached) " >&6
24413 else
24416 ac_ext=cpp
24417 ac_cpp='$CXXCPP $CPPFLAGS'
24418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24423 /* end confdefs.h. */
24424 #include <math.h>
24426 main ()
24428 ceill (0); floorl (0);
24430 return 0;
24432 _ACEOF
24433 if ac_fn_cxx_try_compile "$LINENO"; then :
24434 glibcxx_cv_func_long_double_round_use=yes
24435 else
24436 glibcxx_cv_func_long_double_round_use=no
24438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24439 ac_ext=c
24440 ac_cpp='$CPP $CPPFLAGS'
24441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
24448 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
24449 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
24450 for ac_func in ceill floorl
24451 do :
24452 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24453 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24454 eval as_val=\$$as_ac_var
24455 if test "x$as_val" = x""yes; then :
24456 cat >>confdefs.h <<_ACEOF
24457 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24458 _ACEOF
24461 done
24463 else
24464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
24465 $as_echo_n "checking for _long double round functions... " >&6; }
24466 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
24467 $as_echo_n "(cached) " >&6
24468 else
24471 ac_ext=cpp
24472 ac_cpp='$CXXCPP $CPPFLAGS'
24473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24478 /* end confdefs.h. */
24479 #include <math.h>
24481 main ()
24483 _ceill (0); _floorl (0);
24485 return 0;
24487 _ACEOF
24488 if ac_fn_cxx_try_compile "$LINENO"; then :
24489 glibcxx_cv_func__long_double_round_use=yes
24490 else
24491 glibcxx_cv_func__long_double_round_use=no
24493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24494 ac_ext=c
24495 ac_cpp='$CPP $CPPFLAGS'
24496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
24503 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
24504 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
24505 for ac_func in _ceill _floorl
24506 do :
24507 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24508 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24509 eval as_val=\$$as_ac_var
24510 if test "x$as_val" = x""yes; then :
24511 cat >>confdefs.h <<_ACEOF
24512 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24513 _ACEOF
24516 done
24526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
24527 $as_echo_n "checking for isnanl declaration... " >&6; }
24528 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
24529 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
24530 $as_echo_n "(cached) " >&6
24531 else
24534 ac_ext=cpp
24535 ac_cpp='$CXXCPP $CPPFLAGS'
24536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24541 /* end confdefs.h. */
24542 #include <math.h>
24543 #ifdef HAVE_IEEEFP_H
24544 #include <ieeefp.h>
24545 #endif
24548 main ()
24550 isnanl(0);
24552 return 0;
24554 _ACEOF
24555 if ac_fn_cxx_try_compile "$LINENO"; then :
24556 glibcxx_cv_func_isnanl_use=yes
24557 else
24558 glibcxx_cv_func_isnanl_use=no
24560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24561 ac_ext=c
24562 ac_cpp='$CPP $CPPFLAGS'
24563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
24572 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
24574 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
24575 for ac_func in isnanl
24576 do :
24577 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
24578 if test "x$ac_cv_func_isnanl" = x""yes; then :
24579 cat >>confdefs.h <<_ACEOF
24580 #define HAVE_ISNANL 1
24581 _ACEOF
24584 done
24586 else
24588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
24589 $as_echo_n "checking for _isnanl declaration... " >&6; }
24590 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
24591 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
24592 $as_echo_n "(cached) " >&6
24593 else
24596 ac_ext=cpp
24597 ac_cpp='$CXXCPP $CPPFLAGS'
24598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24603 /* end confdefs.h. */
24604 #include <math.h>
24605 #ifdef HAVE_IEEEFP_H
24606 #include <ieeefp.h>
24607 #endif
24610 main ()
24612 _isnanl(0);
24614 return 0;
24616 _ACEOF
24617 if ac_fn_cxx_try_compile "$LINENO"; then :
24618 glibcxx_cv_func__isnanl_use=yes
24619 else
24620 glibcxx_cv_func__isnanl_use=no
24622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24623 ac_ext=c
24624 ac_cpp='$CPP $CPPFLAGS'
24625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
24634 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
24636 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
24637 for ac_func in _isnanl
24638 do :
24639 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
24640 if test "x$ac_cv_func__isnanl" = x""yes; then :
24641 cat >>confdefs.h <<_ACEOF
24642 #define HAVE__ISNANL 1
24643 _ACEOF
24646 done
24655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
24656 $as_echo_n "checking for isinfl declaration... " >&6; }
24657 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
24658 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
24659 $as_echo_n "(cached) " >&6
24660 else
24663 ac_ext=cpp
24664 ac_cpp='$CXXCPP $CPPFLAGS'
24665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24670 /* end confdefs.h. */
24671 #include <math.h>
24672 #ifdef HAVE_IEEEFP_H
24673 #include <ieeefp.h>
24674 #endif
24677 main ()
24679 isinfl(0);
24681 return 0;
24683 _ACEOF
24684 if ac_fn_cxx_try_compile "$LINENO"; then :
24685 glibcxx_cv_func_isinfl_use=yes
24686 else
24687 glibcxx_cv_func_isinfl_use=no
24689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24690 ac_ext=c
24691 ac_cpp='$CPP $CPPFLAGS'
24692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
24701 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
24703 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
24704 for ac_func in isinfl
24705 do :
24706 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
24707 if test "x$ac_cv_func_isinfl" = x""yes; then :
24708 cat >>confdefs.h <<_ACEOF
24709 #define HAVE_ISINFL 1
24710 _ACEOF
24713 done
24715 else
24717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
24718 $as_echo_n "checking for _isinfl declaration... " >&6; }
24719 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
24720 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
24721 $as_echo_n "(cached) " >&6
24722 else
24725 ac_ext=cpp
24726 ac_cpp='$CXXCPP $CPPFLAGS'
24727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24732 /* end confdefs.h. */
24733 #include <math.h>
24734 #ifdef HAVE_IEEEFP_H
24735 #include <ieeefp.h>
24736 #endif
24739 main ()
24741 _isinfl(0);
24743 return 0;
24745 _ACEOF
24746 if ac_fn_cxx_try_compile "$LINENO"; then :
24747 glibcxx_cv_func__isinfl_use=yes
24748 else
24749 glibcxx_cv_func__isinfl_use=no
24751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24752 ac_ext=c
24753 ac_cpp='$CPP $CPPFLAGS'
24754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
24763 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
24765 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
24766 for ac_func in _isinfl
24767 do :
24768 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
24769 if test "x$ac_cv_func__isinfl" = x""yes; then :
24770 cat >>confdefs.h <<_ACEOF
24771 #define HAVE__ISINFL 1
24772 _ACEOF
24775 done
24784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
24785 $as_echo_n "checking for atan2l declaration... " >&6; }
24786 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
24787 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
24788 $as_echo_n "(cached) " >&6
24789 else
24792 ac_ext=cpp
24793 ac_cpp='$CXXCPP $CPPFLAGS'
24794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24799 /* end confdefs.h. */
24800 #include <math.h>
24802 main ()
24804 atan2l(0, 0);
24806 return 0;
24808 _ACEOF
24809 if ac_fn_cxx_try_compile "$LINENO"; then :
24810 glibcxx_cv_func_atan2l_use=yes
24811 else
24812 glibcxx_cv_func_atan2l_use=no
24814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24815 ac_ext=c
24816 ac_cpp='$CPP $CPPFLAGS'
24817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
24826 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
24828 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
24829 for ac_func in atan2l
24830 do :
24831 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
24832 if test "x$ac_cv_func_atan2l" = x""yes; then :
24833 cat >>confdefs.h <<_ACEOF
24834 #define HAVE_ATAN2L 1
24835 _ACEOF
24838 done
24840 else
24842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
24843 $as_echo_n "checking for _atan2l declaration... " >&6; }
24844 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
24845 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
24846 $as_echo_n "(cached) " >&6
24847 else
24850 ac_ext=cpp
24851 ac_cpp='$CXXCPP $CPPFLAGS'
24852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24857 /* end confdefs.h. */
24858 #include <math.h>
24860 main ()
24862 _atan2l(0, 0);
24864 return 0;
24866 _ACEOF
24867 if ac_fn_cxx_try_compile "$LINENO"; then :
24868 glibcxx_cv_func__atan2l_use=yes
24869 else
24870 glibcxx_cv_func__atan2l_use=no
24872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24873 ac_ext=c
24874 ac_cpp='$CPP $CPPFLAGS'
24875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
24884 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
24886 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
24887 for ac_func in _atan2l
24888 do :
24889 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
24890 if test "x$ac_cv_func__atan2l" = x""yes; then :
24891 cat >>confdefs.h <<_ACEOF
24892 #define HAVE__ATAN2L 1
24893 _ACEOF
24896 done
24905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
24906 $as_echo_n "checking for expl declaration... " >&6; }
24907 if test x${glibcxx_cv_func_expl_use+set} != xset; then
24908 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
24909 $as_echo_n "(cached) " >&6
24910 else
24913 ac_ext=cpp
24914 ac_cpp='$CXXCPP $CPPFLAGS'
24915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24920 /* end confdefs.h. */
24921 #include <math.h>
24922 #ifdef HAVE_IEEEFP_H
24923 #include <ieeefp.h>
24924 #endif
24927 main ()
24929 expl(0);
24931 return 0;
24933 _ACEOF
24934 if ac_fn_cxx_try_compile "$LINENO"; then :
24935 glibcxx_cv_func_expl_use=yes
24936 else
24937 glibcxx_cv_func_expl_use=no
24939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24940 ac_ext=c
24941 ac_cpp='$CPP $CPPFLAGS'
24942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
24951 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
24953 if test x$glibcxx_cv_func_expl_use = x"yes"; then
24954 for ac_func in expl
24955 do :
24956 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
24957 if test "x$ac_cv_func_expl" = x""yes; then :
24958 cat >>confdefs.h <<_ACEOF
24959 #define HAVE_EXPL 1
24960 _ACEOF
24963 done
24965 else
24967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
24968 $as_echo_n "checking for _expl declaration... " >&6; }
24969 if test x${glibcxx_cv_func__expl_use+set} != xset; then
24970 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
24971 $as_echo_n "(cached) " >&6
24972 else
24975 ac_ext=cpp
24976 ac_cpp='$CXXCPP $CPPFLAGS'
24977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24982 /* end confdefs.h. */
24983 #include <math.h>
24984 #ifdef HAVE_IEEEFP_H
24985 #include <ieeefp.h>
24986 #endif
24989 main ()
24991 _expl(0);
24993 return 0;
24995 _ACEOF
24996 if ac_fn_cxx_try_compile "$LINENO"; then :
24997 glibcxx_cv_func__expl_use=yes
24998 else
24999 glibcxx_cv_func__expl_use=no
25001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25002 ac_ext=c
25003 ac_cpp='$CPP $CPPFLAGS'
25004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
25013 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
25015 if test x$glibcxx_cv_func__expl_use = x"yes"; then
25016 for ac_func in _expl
25017 do :
25018 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
25019 if test "x$ac_cv_func__expl" = x""yes; then :
25020 cat >>confdefs.h <<_ACEOF
25021 #define HAVE__EXPL 1
25022 _ACEOF
25025 done
25034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
25035 $as_echo_n "checking for fabsl declaration... " >&6; }
25036 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
25037 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
25038 $as_echo_n "(cached) " >&6
25039 else
25042 ac_ext=cpp
25043 ac_cpp='$CXXCPP $CPPFLAGS'
25044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25049 /* end confdefs.h. */
25050 #include <math.h>
25051 #ifdef HAVE_IEEEFP_H
25052 #include <ieeefp.h>
25053 #endif
25056 main ()
25058 fabsl(0);
25060 return 0;
25062 _ACEOF
25063 if ac_fn_cxx_try_compile "$LINENO"; then :
25064 glibcxx_cv_func_fabsl_use=yes
25065 else
25066 glibcxx_cv_func_fabsl_use=no
25068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25069 ac_ext=c
25070 ac_cpp='$CPP $CPPFLAGS'
25071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
25080 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
25082 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
25083 for ac_func in fabsl
25084 do :
25085 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
25086 if test "x$ac_cv_func_fabsl" = x""yes; then :
25087 cat >>confdefs.h <<_ACEOF
25088 #define HAVE_FABSL 1
25089 _ACEOF
25092 done
25094 else
25096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
25097 $as_echo_n "checking for _fabsl declaration... " >&6; }
25098 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
25099 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
25100 $as_echo_n "(cached) " >&6
25101 else
25104 ac_ext=cpp
25105 ac_cpp='$CXXCPP $CPPFLAGS'
25106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25111 /* end confdefs.h. */
25112 #include <math.h>
25113 #ifdef HAVE_IEEEFP_H
25114 #include <ieeefp.h>
25115 #endif
25118 main ()
25120 _fabsl(0);
25122 return 0;
25124 _ACEOF
25125 if ac_fn_cxx_try_compile "$LINENO"; then :
25126 glibcxx_cv_func__fabsl_use=yes
25127 else
25128 glibcxx_cv_func__fabsl_use=no
25130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25131 ac_ext=c
25132 ac_cpp='$CPP $CPPFLAGS'
25133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
25142 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
25144 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
25145 for ac_func in _fabsl
25146 do :
25147 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
25148 if test "x$ac_cv_func__fabsl" = x""yes; then :
25149 cat >>confdefs.h <<_ACEOF
25150 #define HAVE__FABSL 1
25151 _ACEOF
25154 done
25163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
25164 $as_echo_n "checking for fmodl declaration... " >&6; }
25165 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
25166 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
25167 $as_echo_n "(cached) " >&6
25168 else
25171 ac_ext=cpp
25172 ac_cpp='$CXXCPP $CPPFLAGS'
25173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25178 /* end confdefs.h. */
25179 #include <math.h>
25181 main ()
25183 fmodl(0, 0);
25185 return 0;
25187 _ACEOF
25188 if ac_fn_cxx_try_compile "$LINENO"; then :
25189 glibcxx_cv_func_fmodl_use=yes
25190 else
25191 glibcxx_cv_func_fmodl_use=no
25193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25194 ac_ext=c
25195 ac_cpp='$CPP $CPPFLAGS'
25196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
25205 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
25207 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
25208 for ac_func in fmodl
25209 do :
25210 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
25211 if test "x$ac_cv_func_fmodl" = x""yes; then :
25212 cat >>confdefs.h <<_ACEOF
25213 #define HAVE_FMODL 1
25214 _ACEOF
25217 done
25219 else
25221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
25222 $as_echo_n "checking for _fmodl declaration... " >&6; }
25223 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
25224 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
25225 $as_echo_n "(cached) " >&6
25226 else
25229 ac_ext=cpp
25230 ac_cpp='$CXXCPP $CPPFLAGS'
25231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25236 /* end confdefs.h. */
25237 #include <math.h>
25239 main ()
25241 _fmodl(0, 0);
25243 return 0;
25245 _ACEOF
25246 if ac_fn_cxx_try_compile "$LINENO"; then :
25247 glibcxx_cv_func__fmodl_use=yes
25248 else
25249 glibcxx_cv_func__fmodl_use=no
25251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25252 ac_ext=c
25253 ac_cpp='$CPP $CPPFLAGS'
25254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
25263 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
25265 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
25266 for ac_func in _fmodl
25267 do :
25268 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
25269 if test "x$ac_cv_func__fmodl" = x""yes; then :
25270 cat >>confdefs.h <<_ACEOF
25271 #define HAVE__FMODL 1
25272 _ACEOF
25275 done
25284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
25285 $as_echo_n "checking for frexpl declaration... " >&6; }
25286 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
25287 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
25288 $as_echo_n "(cached) " >&6
25289 else
25292 ac_ext=cpp
25293 ac_cpp='$CXXCPP $CPPFLAGS'
25294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25299 /* end confdefs.h. */
25300 #include <math.h>
25302 main ()
25304 frexpl(0, 0);
25306 return 0;
25308 _ACEOF
25309 if ac_fn_cxx_try_compile "$LINENO"; then :
25310 glibcxx_cv_func_frexpl_use=yes
25311 else
25312 glibcxx_cv_func_frexpl_use=no
25314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25315 ac_ext=c
25316 ac_cpp='$CPP $CPPFLAGS'
25317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
25326 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
25328 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
25329 for ac_func in frexpl
25330 do :
25331 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
25332 if test "x$ac_cv_func_frexpl" = x""yes; then :
25333 cat >>confdefs.h <<_ACEOF
25334 #define HAVE_FREXPL 1
25335 _ACEOF
25338 done
25340 else
25342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
25343 $as_echo_n "checking for _frexpl declaration... " >&6; }
25344 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
25345 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
25346 $as_echo_n "(cached) " >&6
25347 else
25350 ac_ext=cpp
25351 ac_cpp='$CXXCPP $CPPFLAGS'
25352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25357 /* end confdefs.h. */
25358 #include <math.h>
25360 main ()
25362 _frexpl(0, 0);
25364 return 0;
25366 _ACEOF
25367 if ac_fn_cxx_try_compile "$LINENO"; then :
25368 glibcxx_cv_func__frexpl_use=yes
25369 else
25370 glibcxx_cv_func__frexpl_use=no
25372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25373 ac_ext=c
25374 ac_cpp='$CPP $CPPFLAGS'
25375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
25384 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
25386 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
25387 for ac_func in _frexpl
25388 do :
25389 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
25390 if test "x$ac_cv_func__frexpl" = x""yes; then :
25391 cat >>confdefs.h <<_ACEOF
25392 #define HAVE__FREXPL 1
25393 _ACEOF
25396 done
25405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
25406 $as_echo_n "checking for hypotl declaration... " >&6; }
25407 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
25408 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
25409 $as_echo_n "(cached) " >&6
25410 else
25413 ac_ext=cpp
25414 ac_cpp='$CXXCPP $CPPFLAGS'
25415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25420 /* end confdefs.h. */
25421 #include <math.h>
25423 main ()
25425 hypotl(0, 0);
25427 return 0;
25429 _ACEOF
25430 if ac_fn_cxx_try_compile "$LINENO"; then :
25431 glibcxx_cv_func_hypotl_use=yes
25432 else
25433 glibcxx_cv_func_hypotl_use=no
25435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25436 ac_ext=c
25437 ac_cpp='$CPP $CPPFLAGS'
25438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
25447 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
25449 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
25450 for ac_func in hypotl
25451 do :
25452 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
25453 if test "x$ac_cv_func_hypotl" = x""yes; then :
25454 cat >>confdefs.h <<_ACEOF
25455 #define HAVE_HYPOTL 1
25456 _ACEOF
25459 done
25461 else
25463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
25464 $as_echo_n "checking for _hypotl declaration... " >&6; }
25465 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
25466 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
25467 $as_echo_n "(cached) " >&6
25468 else
25471 ac_ext=cpp
25472 ac_cpp='$CXXCPP $CPPFLAGS'
25473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25478 /* end confdefs.h. */
25479 #include <math.h>
25481 main ()
25483 _hypotl(0, 0);
25485 return 0;
25487 _ACEOF
25488 if ac_fn_cxx_try_compile "$LINENO"; then :
25489 glibcxx_cv_func__hypotl_use=yes
25490 else
25491 glibcxx_cv_func__hypotl_use=no
25493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25494 ac_ext=c
25495 ac_cpp='$CPP $CPPFLAGS'
25496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
25505 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
25507 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
25508 for ac_func in _hypotl
25509 do :
25510 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
25511 if test "x$ac_cv_func__hypotl" = x""yes; then :
25512 cat >>confdefs.h <<_ACEOF
25513 #define HAVE__HYPOTL 1
25514 _ACEOF
25517 done
25526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
25527 $as_echo_n "checking for ldexpl declaration... " >&6; }
25528 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
25529 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
25530 $as_echo_n "(cached) " >&6
25531 else
25534 ac_ext=cpp
25535 ac_cpp='$CXXCPP $CPPFLAGS'
25536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25541 /* end confdefs.h. */
25542 #include <math.h>
25544 main ()
25546 ldexpl(0, 0);
25548 return 0;
25550 _ACEOF
25551 if ac_fn_cxx_try_compile "$LINENO"; then :
25552 glibcxx_cv_func_ldexpl_use=yes
25553 else
25554 glibcxx_cv_func_ldexpl_use=no
25556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25557 ac_ext=c
25558 ac_cpp='$CPP $CPPFLAGS'
25559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
25568 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
25570 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
25571 for ac_func in ldexpl
25572 do :
25573 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
25574 if test "x$ac_cv_func_ldexpl" = x""yes; then :
25575 cat >>confdefs.h <<_ACEOF
25576 #define HAVE_LDEXPL 1
25577 _ACEOF
25580 done
25582 else
25584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
25585 $as_echo_n "checking for _ldexpl declaration... " >&6; }
25586 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
25587 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
25588 $as_echo_n "(cached) " >&6
25589 else
25592 ac_ext=cpp
25593 ac_cpp='$CXXCPP $CPPFLAGS'
25594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25599 /* end confdefs.h. */
25600 #include <math.h>
25602 main ()
25604 _ldexpl(0, 0);
25606 return 0;
25608 _ACEOF
25609 if ac_fn_cxx_try_compile "$LINENO"; then :
25610 glibcxx_cv_func__ldexpl_use=yes
25611 else
25612 glibcxx_cv_func__ldexpl_use=no
25614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25615 ac_ext=c
25616 ac_cpp='$CPP $CPPFLAGS'
25617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
25626 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
25628 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
25629 for ac_func in _ldexpl
25630 do :
25631 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
25632 if test "x$ac_cv_func__ldexpl" = x""yes; then :
25633 cat >>confdefs.h <<_ACEOF
25634 #define HAVE__LDEXPL 1
25635 _ACEOF
25638 done
25647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
25648 $as_echo_n "checking for logl declaration... " >&6; }
25649 if test x${glibcxx_cv_func_logl_use+set} != xset; then
25650 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
25651 $as_echo_n "(cached) " >&6
25652 else
25655 ac_ext=cpp
25656 ac_cpp='$CXXCPP $CPPFLAGS'
25657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25662 /* end confdefs.h. */
25663 #include <math.h>
25664 #ifdef HAVE_IEEEFP_H
25665 #include <ieeefp.h>
25666 #endif
25669 main ()
25671 logl(0);
25673 return 0;
25675 _ACEOF
25676 if ac_fn_cxx_try_compile "$LINENO"; then :
25677 glibcxx_cv_func_logl_use=yes
25678 else
25679 glibcxx_cv_func_logl_use=no
25681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25682 ac_ext=c
25683 ac_cpp='$CPP $CPPFLAGS'
25684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
25693 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
25695 if test x$glibcxx_cv_func_logl_use = x"yes"; then
25696 for ac_func in logl
25697 do :
25698 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
25699 if test "x$ac_cv_func_logl" = x""yes; then :
25700 cat >>confdefs.h <<_ACEOF
25701 #define HAVE_LOGL 1
25702 _ACEOF
25705 done
25707 else
25709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
25710 $as_echo_n "checking for _logl declaration... " >&6; }
25711 if test x${glibcxx_cv_func__logl_use+set} != xset; then
25712 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
25713 $as_echo_n "(cached) " >&6
25714 else
25717 ac_ext=cpp
25718 ac_cpp='$CXXCPP $CPPFLAGS'
25719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25724 /* end confdefs.h. */
25725 #include <math.h>
25726 #ifdef HAVE_IEEEFP_H
25727 #include <ieeefp.h>
25728 #endif
25731 main ()
25733 _logl(0);
25735 return 0;
25737 _ACEOF
25738 if ac_fn_cxx_try_compile "$LINENO"; then :
25739 glibcxx_cv_func__logl_use=yes
25740 else
25741 glibcxx_cv_func__logl_use=no
25743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25744 ac_ext=c
25745 ac_cpp='$CPP $CPPFLAGS'
25746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
25755 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
25757 if test x$glibcxx_cv_func__logl_use = x"yes"; then
25758 for ac_func in _logl
25759 do :
25760 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
25761 if test "x$ac_cv_func__logl" = x""yes; then :
25762 cat >>confdefs.h <<_ACEOF
25763 #define HAVE__LOGL 1
25764 _ACEOF
25767 done
25776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
25777 $as_echo_n "checking for log10l declaration... " >&6; }
25778 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
25779 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
25780 $as_echo_n "(cached) " >&6
25781 else
25784 ac_ext=cpp
25785 ac_cpp='$CXXCPP $CPPFLAGS'
25786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25791 /* end confdefs.h. */
25792 #include <math.h>
25793 #ifdef HAVE_IEEEFP_H
25794 #include <ieeefp.h>
25795 #endif
25798 main ()
25800 log10l(0);
25802 return 0;
25804 _ACEOF
25805 if ac_fn_cxx_try_compile "$LINENO"; then :
25806 glibcxx_cv_func_log10l_use=yes
25807 else
25808 glibcxx_cv_func_log10l_use=no
25810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25811 ac_ext=c
25812 ac_cpp='$CPP $CPPFLAGS'
25813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
25822 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
25824 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
25825 for ac_func in log10l
25826 do :
25827 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
25828 if test "x$ac_cv_func_log10l" = x""yes; then :
25829 cat >>confdefs.h <<_ACEOF
25830 #define HAVE_LOG10L 1
25831 _ACEOF
25834 done
25836 else
25838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
25839 $as_echo_n "checking for _log10l declaration... " >&6; }
25840 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
25841 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
25842 $as_echo_n "(cached) " >&6
25843 else
25846 ac_ext=cpp
25847 ac_cpp='$CXXCPP $CPPFLAGS'
25848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25853 /* end confdefs.h. */
25854 #include <math.h>
25855 #ifdef HAVE_IEEEFP_H
25856 #include <ieeefp.h>
25857 #endif
25860 main ()
25862 _log10l(0);
25864 return 0;
25866 _ACEOF
25867 if ac_fn_cxx_try_compile "$LINENO"; then :
25868 glibcxx_cv_func__log10l_use=yes
25869 else
25870 glibcxx_cv_func__log10l_use=no
25872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25873 ac_ext=c
25874 ac_cpp='$CPP $CPPFLAGS'
25875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
25884 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
25886 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
25887 for ac_func in _log10l
25888 do :
25889 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
25890 if test "x$ac_cv_func__log10l" = x""yes; then :
25891 cat >>confdefs.h <<_ACEOF
25892 #define HAVE__LOG10L 1
25893 _ACEOF
25896 done
25905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
25906 $as_echo_n "checking for modfl declaration... " >&6; }
25907 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
25908 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
25909 $as_echo_n "(cached) " >&6
25910 else
25913 ac_ext=cpp
25914 ac_cpp='$CXXCPP $CPPFLAGS'
25915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25920 /* end confdefs.h. */
25921 #include <math.h>
25923 main ()
25925 modfl(0, 0);
25927 return 0;
25929 _ACEOF
25930 if ac_fn_cxx_try_compile "$LINENO"; then :
25931 glibcxx_cv_func_modfl_use=yes
25932 else
25933 glibcxx_cv_func_modfl_use=no
25935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25936 ac_ext=c
25937 ac_cpp='$CPP $CPPFLAGS'
25938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
25947 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
25949 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
25950 for ac_func in modfl
25951 do :
25952 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
25953 if test "x$ac_cv_func_modfl" = x""yes; then :
25954 cat >>confdefs.h <<_ACEOF
25955 #define HAVE_MODFL 1
25956 _ACEOF
25959 done
25961 else
25963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
25964 $as_echo_n "checking for _modfl declaration... " >&6; }
25965 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
25966 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
25967 $as_echo_n "(cached) " >&6
25968 else
25971 ac_ext=cpp
25972 ac_cpp='$CXXCPP $CPPFLAGS'
25973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25978 /* end confdefs.h. */
25979 #include <math.h>
25981 main ()
25983 _modfl(0, 0);
25985 return 0;
25987 _ACEOF
25988 if ac_fn_cxx_try_compile "$LINENO"; then :
25989 glibcxx_cv_func__modfl_use=yes
25990 else
25991 glibcxx_cv_func__modfl_use=no
25993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25994 ac_ext=c
25995 ac_cpp='$CPP $CPPFLAGS'
25996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
26005 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
26007 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
26008 for ac_func in _modfl
26009 do :
26010 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
26011 if test "x$ac_cv_func__modfl" = x""yes; then :
26012 cat >>confdefs.h <<_ACEOF
26013 #define HAVE__MODFL 1
26014 _ACEOF
26017 done
26026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
26027 $as_echo_n "checking for powl declaration... " >&6; }
26028 if test x${glibcxx_cv_func_powl_use+set} != xset; then
26029 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
26030 $as_echo_n "(cached) " >&6
26031 else
26034 ac_ext=cpp
26035 ac_cpp='$CXXCPP $CPPFLAGS'
26036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26041 /* end confdefs.h. */
26042 #include <math.h>
26044 main ()
26046 powl(0, 0);
26048 return 0;
26050 _ACEOF
26051 if ac_fn_cxx_try_compile "$LINENO"; then :
26052 glibcxx_cv_func_powl_use=yes
26053 else
26054 glibcxx_cv_func_powl_use=no
26056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26057 ac_ext=c
26058 ac_cpp='$CPP $CPPFLAGS'
26059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
26068 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
26070 if test x$glibcxx_cv_func_powl_use = x"yes"; then
26071 for ac_func in powl
26072 do :
26073 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
26074 if test "x$ac_cv_func_powl" = x""yes; then :
26075 cat >>confdefs.h <<_ACEOF
26076 #define HAVE_POWL 1
26077 _ACEOF
26080 done
26082 else
26084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
26085 $as_echo_n "checking for _powl declaration... " >&6; }
26086 if test x${glibcxx_cv_func__powl_use+set} != xset; then
26087 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
26088 $as_echo_n "(cached) " >&6
26089 else
26092 ac_ext=cpp
26093 ac_cpp='$CXXCPP $CPPFLAGS'
26094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26099 /* end confdefs.h. */
26100 #include <math.h>
26102 main ()
26104 _powl(0, 0);
26106 return 0;
26108 _ACEOF
26109 if ac_fn_cxx_try_compile "$LINENO"; then :
26110 glibcxx_cv_func__powl_use=yes
26111 else
26112 glibcxx_cv_func__powl_use=no
26114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26115 ac_ext=c
26116 ac_cpp='$CPP $CPPFLAGS'
26117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
26126 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
26128 if test x$glibcxx_cv_func__powl_use = x"yes"; then
26129 for ac_func in _powl
26130 do :
26131 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
26132 if test "x$ac_cv_func__powl" = x""yes; then :
26133 cat >>confdefs.h <<_ACEOF
26134 #define HAVE__POWL 1
26135 _ACEOF
26138 done
26147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
26148 $as_echo_n "checking for sqrtl declaration... " >&6; }
26149 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
26150 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
26151 $as_echo_n "(cached) " >&6
26152 else
26155 ac_ext=cpp
26156 ac_cpp='$CXXCPP $CPPFLAGS'
26157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26162 /* end confdefs.h. */
26163 #include <math.h>
26164 #ifdef HAVE_IEEEFP_H
26165 #include <ieeefp.h>
26166 #endif
26169 main ()
26171 sqrtl(0);
26173 return 0;
26175 _ACEOF
26176 if ac_fn_cxx_try_compile "$LINENO"; then :
26177 glibcxx_cv_func_sqrtl_use=yes
26178 else
26179 glibcxx_cv_func_sqrtl_use=no
26181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26182 ac_ext=c
26183 ac_cpp='$CPP $CPPFLAGS'
26184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
26193 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
26195 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
26196 for ac_func in sqrtl
26197 do :
26198 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
26199 if test "x$ac_cv_func_sqrtl" = x""yes; then :
26200 cat >>confdefs.h <<_ACEOF
26201 #define HAVE_SQRTL 1
26202 _ACEOF
26205 done
26207 else
26209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
26210 $as_echo_n "checking for _sqrtl declaration... " >&6; }
26211 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
26212 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
26213 $as_echo_n "(cached) " >&6
26214 else
26217 ac_ext=cpp
26218 ac_cpp='$CXXCPP $CPPFLAGS'
26219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26224 /* end confdefs.h. */
26225 #include <math.h>
26226 #ifdef HAVE_IEEEFP_H
26227 #include <ieeefp.h>
26228 #endif
26231 main ()
26233 _sqrtl(0);
26235 return 0;
26237 _ACEOF
26238 if ac_fn_cxx_try_compile "$LINENO"; then :
26239 glibcxx_cv_func__sqrtl_use=yes
26240 else
26241 glibcxx_cv_func__sqrtl_use=no
26243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26244 ac_ext=c
26245 ac_cpp='$CPP $CPPFLAGS'
26246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
26255 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
26257 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
26258 for ac_func in _sqrtl
26259 do :
26260 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
26261 if test "x$ac_cv_func__sqrtl" = x""yes; then :
26262 cat >>confdefs.h <<_ACEOF
26263 #define HAVE__SQRTL 1
26264 _ACEOF
26267 done
26276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
26277 $as_echo_n "checking for sincosl declaration... " >&6; }
26278 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
26279 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
26280 $as_echo_n "(cached) " >&6
26281 else
26284 ac_ext=cpp
26285 ac_cpp='$CXXCPP $CPPFLAGS'
26286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26291 /* end confdefs.h. */
26292 #include <math.h>
26294 main ()
26296 sincosl(0, 0, 0);
26298 return 0;
26300 _ACEOF
26301 if ac_fn_cxx_try_compile "$LINENO"; then :
26302 glibcxx_cv_func_sincosl_use=yes
26303 else
26304 glibcxx_cv_func_sincosl_use=no
26306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26307 ac_ext=c
26308 ac_cpp='$CPP $CPPFLAGS'
26309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
26318 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
26320 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
26321 for ac_func in sincosl
26322 do :
26323 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
26324 if test "x$ac_cv_func_sincosl" = x""yes; then :
26325 cat >>confdefs.h <<_ACEOF
26326 #define HAVE_SINCOSL 1
26327 _ACEOF
26330 done
26332 else
26334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
26335 $as_echo_n "checking for _sincosl declaration... " >&6; }
26336 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
26337 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
26338 $as_echo_n "(cached) " >&6
26339 else
26342 ac_ext=cpp
26343 ac_cpp='$CXXCPP $CPPFLAGS'
26344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26349 /* end confdefs.h. */
26350 #include <math.h>
26352 main ()
26354 _sincosl(0, 0, 0);
26356 return 0;
26358 _ACEOF
26359 if ac_fn_cxx_try_compile "$LINENO"; then :
26360 glibcxx_cv_func__sincosl_use=yes
26361 else
26362 glibcxx_cv_func__sincosl_use=no
26364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26365 ac_ext=c
26366 ac_cpp='$CPP $CPPFLAGS'
26367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
26376 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
26378 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
26379 for ac_func in _sincosl
26380 do :
26381 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
26382 if test "x$ac_cv_func__sincosl" = x""yes; then :
26383 cat >>confdefs.h <<_ACEOF
26384 #define HAVE__SINCOSL 1
26385 _ACEOF
26388 done
26397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
26398 $as_echo_n "checking for finitel declaration... " >&6; }
26399 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
26400 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
26401 $as_echo_n "(cached) " >&6
26402 else
26405 ac_ext=cpp
26406 ac_cpp='$CXXCPP $CPPFLAGS'
26407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26412 /* end confdefs.h. */
26413 #include <math.h>
26414 #ifdef HAVE_IEEEFP_H
26415 #include <ieeefp.h>
26416 #endif
26419 main ()
26421 finitel(0);
26423 return 0;
26425 _ACEOF
26426 if ac_fn_cxx_try_compile "$LINENO"; then :
26427 glibcxx_cv_func_finitel_use=yes
26428 else
26429 glibcxx_cv_func_finitel_use=no
26431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26432 ac_ext=c
26433 ac_cpp='$CPP $CPPFLAGS'
26434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
26443 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
26445 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
26446 for ac_func in finitel
26447 do :
26448 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
26449 if test "x$ac_cv_func_finitel" = x""yes; then :
26450 cat >>confdefs.h <<_ACEOF
26451 #define HAVE_FINITEL 1
26452 _ACEOF
26455 done
26457 else
26459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
26460 $as_echo_n "checking for _finitel declaration... " >&6; }
26461 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
26462 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
26463 $as_echo_n "(cached) " >&6
26464 else
26467 ac_ext=cpp
26468 ac_cpp='$CXXCPP $CPPFLAGS'
26469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26474 /* end confdefs.h. */
26475 #include <math.h>
26476 #ifdef HAVE_IEEEFP_H
26477 #include <ieeefp.h>
26478 #endif
26481 main ()
26483 _finitel(0);
26485 return 0;
26487 _ACEOF
26488 if ac_fn_cxx_try_compile "$LINENO"; then :
26489 glibcxx_cv_func__finitel_use=yes
26490 else
26491 glibcxx_cv_func__finitel_use=no
26493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26494 ac_ext=c
26495 ac_cpp='$CPP $CPPFLAGS'
26496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
26505 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
26507 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
26508 for ac_func in _finitel
26509 do :
26510 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
26511 if test "x$ac_cv_func__finitel" = x""yes; then :
26512 cat >>confdefs.h <<_ACEOF
26513 #define HAVE__FINITEL 1
26514 _ACEOF
26517 done
26525 LIBS="$ac_save_LIBS"
26526 CXXFLAGS="$ac_save_CXXFLAGS"
26529 ac_test_CXXFLAGS="${CXXFLAGS+set}"
26530 ac_save_CXXFLAGS="$CXXFLAGS"
26531 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
26534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
26535 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
26536 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
26537 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
26538 $as_echo_n "(cached) " >&6
26539 else
26542 ac_ext=cpp
26543 ac_cpp='$CXXCPP $CPPFLAGS'
26544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26549 /* end confdefs.h. */
26550 #include <stdlib.h>
26552 main ()
26554 at_quick_exit(0);
26556 return 0;
26558 _ACEOF
26559 if ac_fn_cxx_try_compile "$LINENO"; then :
26560 glibcxx_cv_func_at_quick_exit_use=yes
26561 else
26562 glibcxx_cv_func_at_quick_exit_use=no
26564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26565 ac_ext=c
26566 ac_cpp='$CPP $CPPFLAGS'
26567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
26576 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
26577 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
26578 for ac_func in at_quick_exit
26579 do :
26580 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
26581 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
26582 cat >>confdefs.h <<_ACEOF
26583 #define HAVE_AT_QUICK_EXIT 1
26584 _ACEOF
26587 done
26592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
26593 $as_echo_n "checking for quick_exit declaration... " >&6; }
26594 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
26595 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
26596 $as_echo_n "(cached) " >&6
26597 else
26600 ac_ext=cpp
26601 ac_cpp='$CXXCPP $CPPFLAGS'
26602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26607 /* end confdefs.h. */
26608 #include <stdlib.h>
26610 main ()
26612 quick_exit(0);
26614 return 0;
26616 _ACEOF
26617 if ac_fn_cxx_try_compile "$LINENO"; then :
26618 glibcxx_cv_func_quick_exit_use=yes
26619 else
26620 glibcxx_cv_func_quick_exit_use=no
26622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26623 ac_ext=c
26624 ac_cpp='$CPP $CPPFLAGS'
26625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
26634 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
26635 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
26636 for ac_func in quick_exit
26637 do :
26638 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
26639 if test "x$ac_cv_func_quick_exit" = x""yes; then :
26640 cat >>confdefs.h <<_ACEOF
26641 #define HAVE_QUICK_EXIT 1
26642 _ACEOF
26645 done
26650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
26651 $as_echo_n "checking for strtold declaration... " >&6; }
26652 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
26653 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
26654 $as_echo_n "(cached) " >&6
26655 else
26658 ac_ext=cpp
26659 ac_cpp='$CXXCPP $CPPFLAGS'
26660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26665 /* end confdefs.h. */
26666 #include <stdlib.h>
26668 main ()
26670 strtold(0, 0);
26672 return 0;
26674 _ACEOF
26675 if ac_fn_cxx_try_compile "$LINENO"; then :
26676 glibcxx_cv_func_strtold_use=yes
26677 else
26678 glibcxx_cv_func_strtold_use=no
26680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26681 ac_ext=c
26682 ac_cpp='$CPP $CPPFLAGS'
26683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
26692 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
26693 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
26694 for ac_func in strtold
26695 do :
26696 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
26697 if test "x$ac_cv_func_strtold" = x""yes; then :
26698 cat >>confdefs.h <<_ACEOF
26699 #define HAVE_STRTOLD 1
26700 _ACEOF
26703 done
26710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
26711 $as_echo_n "checking for strtof declaration... " >&6; }
26712 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
26713 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
26714 $as_echo_n "(cached) " >&6
26715 else
26718 ac_ext=cpp
26719 ac_cpp='$CXXCPP $CPPFLAGS'
26720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26725 /* end confdefs.h. */
26726 #include <stdlib.h>
26728 main ()
26730 strtof(0, 0);
26732 return 0;
26734 _ACEOF
26735 if ac_fn_cxx_try_compile "$LINENO"; then :
26736 glibcxx_cv_func_strtof_use=yes
26737 else
26738 glibcxx_cv_func_strtof_use=no
26740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26741 ac_ext=c
26742 ac_cpp='$CPP $CPPFLAGS'
26743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
26752 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
26753 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
26754 for ac_func in strtof
26755 do :
26756 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
26757 if test "x$ac_cv_func_strtof" = x""yes; then :
26758 cat >>confdefs.h <<_ACEOF
26759 #define HAVE_STRTOF 1
26760 _ACEOF
26763 done
26770 CXXFLAGS="$ac_save_CXXFLAGS"
26773 # For /dev/random and /dev/urandom for TR1.
26776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
26777 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
26778 if test "${glibcxx_cv_random_tr1+set}" = set; then :
26779 $as_echo_n "(cached) " >&6
26780 else
26782 if test -r /dev/random && test -r /dev/urandom; then
26783 ## For MSys environment the test above is detect as false-positive
26784 ## on mingw-targets. So disable it explicit for them.
26785 case ${target_os} in
26786 *mingw*) glibcxx_cv_random_tr1=no ;;
26787 *) glibcxx_cv_random_tr1=yes ;;
26788 esac
26789 else
26790 glibcxx_cv_random_tr1=no;
26795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
26796 $as_echo "$glibcxx_cv_random_tr1" >&6; }
26798 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
26800 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
26806 # For TLS support.
26809 # Check whether --enable-tls was given.
26810 if test "${enable_tls+set}" = set; then :
26811 enableval=$enable_tls;
26812 case "$enableval" in
26813 yes|no) ;;
26814 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
26815 esac
26817 else
26818 enable_tls=yes
26822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
26823 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
26824 if test "${gcc_cv_have_tls+set}" = set; then :
26825 $as_echo_n "(cached) " >&6
26826 else
26828 if test "$cross_compiling" = yes; then :
26829 if test x$gcc_no_link = xyes; then
26830 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26833 /* end confdefs.h. */
26834 __thread int a; int b; int main() { return a = b; }
26835 _ACEOF
26836 if ac_fn_c_try_link "$LINENO"; then :
26837 chktls_save_LDFLAGS="$LDFLAGS"
26838 case $host in
26839 *-*-linux*)
26840 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
26842 esac
26843 chktls_save_CFLAGS="$CFLAGS"
26844 CFLAGS="-fPIC $CFLAGS"
26845 if test x$gcc_no_link = xyes; then
26846 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26849 /* end confdefs.h. */
26850 int f() { return 0; }
26851 _ACEOF
26852 if ac_fn_c_try_link "$LINENO"; then :
26853 if test x$gcc_no_link = xyes; then
26854 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26857 /* end confdefs.h. */
26858 __thread int a; int b; int f() { return a = b; }
26859 _ACEOF
26860 if ac_fn_c_try_link "$LINENO"; then :
26861 gcc_cv_have_tls=yes
26862 else
26863 gcc_cv_have_tls=no
26865 rm -f core conftest.err conftest.$ac_objext \
26866 conftest$ac_exeext conftest.$ac_ext
26867 else
26868 gcc_cv_have_tls=yes
26870 rm -f core conftest.err conftest.$ac_objext \
26871 conftest$ac_exeext conftest.$ac_ext
26872 CFLAGS="$chktls_save_CFLAGS"
26873 LDFLAGS="$chktls_save_LDFLAGS"
26874 else
26875 gcc_cv_have_tls=no
26877 rm -f core conftest.err conftest.$ac_objext \
26878 conftest$ac_exeext conftest.$ac_ext
26881 else
26882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26883 /* end confdefs.h. */
26884 __thread int a; int b; int main() { return a = b; }
26885 _ACEOF
26886 if ac_fn_c_try_run "$LINENO"; then :
26887 chktls_save_LDFLAGS="$LDFLAGS"
26888 LDFLAGS="-static $LDFLAGS"
26889 if test x$gcc_no_link = xyes; then
26890 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26893 /* end confdefs.h. */
26894 int main() { return 0; }
26895 _ACEOF
26896 if ac_fn_c_try_link "$LINENO"; then :
26897 if test "$cross_compiling" = yes; then :
26898 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26899 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26900 as_fn_error "cannot run test program while cross compiling
26901 See \`config.log' for more details." "$LINENO" 5; }
26902 else
26903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26904 /* end confdefs.h. */
26905 __thread int a; int b; int main() { return a = b; }
26906 _ACEOF
26907 if ac_fn_c_try_run "$LINENO"; then :
26908 gcc_cv_have_tls=yes
26909 else
26910 gcc_cv_have_tls=no
26912 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26913 conftest.$ac_objext conftest.beam conftest.$ac_ext
26916 else
26917 gcc_cv_have_tls=yes
26919 rm -f core conftest.err conftest.$ac_objext \
26920 conftest$ac_exeext conftest.$ac_ext
26921 LDFLAGS="$chktls_save_LDFLAGS"
26922 if test $gcc_cv_have_tls = yes; then
26923 chktls_save_CFLAGS="$CFLAGS"
26924 thread_CFLAGS=failed
26925 for flag in '' '-pthread' '-lpthread'; do
26926 CFLAGS="$flag $chktls_save_CFLAGS"
26927 if test x$gcc_no_link = xyes; then
26928 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26931 /* end confdefs.h. */
26932 #include <pthread.h>
26933 void *g(void *d) { return NULL; }
26935 main ()
26937 pthread_t t; pthread_create(&t,NULL,g,NULL);
26939 return 0;
26941 _ACEOF
26942 if ac_fn_c_try_link "$LINENO"; then :
26943 thread_CFLAGS="$flag"
26945 rm -f core conftest.err conftest.$ac_objext \
26946 conftest$ac_exeext conftest.$ac_ext
26947 if test "X$thread_CFLAGS" != Xfailed; then
26948 break
26950 done
26951 CFLAGS="$chktls_save_CFLAGS"
26952 if test "X$thread_CFLAGS" != Xfailed; then
26953 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
26954 if test "$cross_compiling" = yes; then :
26955 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26956 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26957 as_fn_error "cannot run test program while cross compiling
26958 See \`config.log' for more details." "$LINENO" 5; }
26959 else
26960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26961 /* end confdefs.h. */
26962 #include <pthread.h>
26963 __thread int a;
26964 static int *volatile a_in_other_thread;
26965 static void *
26966 thread_func (void *arg)
26968 a_in_other_thread = &a;
26969 return (void *)0;
26972 main ()
26974 pthread_t thread;
26975 void *thread_retval;
26976 int *volatile a_in_main_thread;
26977 a_in_main_thread = &a;
26978 if (pthread_create (&thread, (pthread_attr_t *)0,
26979 thread_func, (void *)0))
26980 return 0;
26981 if (pthread_join (thread, &thread_retval))
26982 return 0;
26983 return (a_in_other_thread == a_in_main_thread);
26985 return 0;
26987 _ACEOF
26988 if ac_fn_c_try_run "$LINENO"; then :
26989 gcc_cv_have_tls=yes
26990 else
26991 gcc_cv_have_tls=no
26993 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26994 conftest.$ac_objext conftest.beam conftest.$ac_ext
26997 CFLAGS="$chktls_save_CFLAGS"
27000 else
27001 gcc_cv_have_tls=no
27003 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27004 conftest.$ac_objext conftest.beam conftest.$ac_ext
27008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
27009 $as_echo "$gcc_cv_have_tls" >&6; }
27010 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
27012 $as_echo "#define HAVE_TLS 1" >>confdefs.h
27016 for ac_func in __cxa_thread_atexit_impl
27017 do :
27018 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
27019 if test "x$ac_cv_func___cxa_thread_atexit_impl" = x""yes; then :
27020 cat >>confdefs.h <<_ACEOF
27021 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
27022 _ACEOF
27025 done
27028 # For iconv support.
27030 if test "X$prefix" = "XNONE"; then
27031 acl_final_prefix="$ac_default_prefix"
27032 else
27033 acl_final_prefix="$prefix"
27035 if test "X$exec_prefix" = "XNONE"; then
27036 acl_final_exec_prefix='${prefix}'
27037 else
27038 acl_final_exec_prefix="$exec_prefix"
27040 acl_save_prefix="$prefix"
27041 prefix="$acl_final_prefix"
27042 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
27043 prefix="$acl_save_prefix"
27046 # Check whether --with-gnu-ld was given.
27047 if test "${with_gnu_ld+set}" = set; then :
27048 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
27049 else
27050 with_gnu_ld=no
27053 # Prepare PATH_SEPARATOR.
27054 # The user is always right.
27055 if test "${PATH_SEPARATOR+set}" != set; then
27056 echo "#! /bin/sh" >conf$$.sh
27057 echo "exit 0" >>conf$$.sh
27058 chmod +x conf$$.sh
27059 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
27060 PATH_SEPARATOR=';'
27061 else
27062 PATH_SEPARATOR=:
27064 rm -f conf$$.sh
27066 ac_prog=ld
27067 if test "$GCC" = yes; then
27068 # Check if gcc -print-prog-name=ld gives a path.
27069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
27070 $as_echo_n "checking for ld used by GCC... " >&6; }
27071 case $host in
27072 *-*-mingw*)
27073 # gcc leaves a trailing carriage return which upsets mingw
27074 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
27076 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
27077 esac
27078 case $ac_prog in
27079 # Accept absolute paths.
27080 [\\/]* | [A-Za-z]:[\\/]*)
27081 re_direlt='/[^/][^/]*/\.\./'
27082 # Canonicalize the path of ld
27083 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
27084 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
27085 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
27086 done
27087 test -z "$LD" && LD="$ac_prog"
27090 # If it fails, then pretend we aren't using GCC.
27091 ac_prog=ld
27094 # If it is relative, then search for the first ld in PATH.
27095 with_gnu_ld=unknown
27097 esac
27098 elif test "$with_gnu_ld" = yes; then
27099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
27100 $as_echo_n "checking for GNU ld... " >&6; }
27101 else
27102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
27103 $as_echo_n "checking for non-GNU ld... " >&6; }
27105 if test "${acl_cv_path_LD+set}" = set; then :
27106 $as_echo_n "(cached) " >&6
27107 else
27108 if test -z "$LD"; then
27109 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
27110 for ac_dir in $PATH; do
27111 test -z "$ac_dir" && ac_dir=.
27112 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
27113 acl_cv_path_LD="$ac_dir/$ac_prog"
27114 # Check to see if the program is GNU ld. I'd rather use --version,
27115 # but apparently some GNU ld's only accept -v.
27116 # Break only if it was the GNU/non-GNU ld that we prefer.
27117 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
27118 test "$with_gnu_ld" != no && break
27119 else
27120 test "$with_gnu_ld" != yes && break
27123 done
27124 IFS="$ac_save_ifs"
27125 else
27126 acl_cv_path_LD="$LD" # Let the user override the test with a path.
27130 LD="$acl_cv_path_LD"
27131 if test -n "$LD"; then
27132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
27133 $as_echo "$LD" >&6; }
27134 else
27135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27136 $as_echo "no" >&6; }
27138 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
27139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
27140 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
27141 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
27142 $as_echo_n "(cached) " >&6
27143 else
27144 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
27145 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
27146 acl_cv_prog_gnu_ld=yes
27147 else
27148 acl_cv_prog_gnu_ld=no
27151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
27152 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
27153 with_gnu_ld=$acl_cv_prog_gnu_ld
27157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
27158 $as_echo_n "checking for shared library run path origin... " >&6; }
27159 if test "${acl_cv_rpath+set}" = set; then :
27160 $as_echo_n "(cached) " >&6
27161 else
27163 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
27164 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
27165 . ./conftest.sh
27166 rm -f ./conftest.sh
27167 acl_cv_rpath=done
27170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
27171 $as_echo "$acl_cv_rpath" >&6; }
27172 wl="$acl_cv_wl"
27173 libext="$acl_cv_libext"
27174 shlibext="$acl_cv_shlibext"
27175 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
27176 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
27177 hardcode_direct="$acl_cv_hardcode_direct"
27178 hardcode_minus_L="$acl_cv_hardcode_minus_L"
27179 # Check whether --enable-rpath was given.
27180 if test "${enable_rpath+set}" = set; then :
27181 enableval=$enable_rpath; :
27182 else
27183 enable_rpath=yes
27193 use_additional=yes
27195 acl_save_prefix="$prefix"
27196 prefix="$acl_final_prefix"
27197 acl_save_exec_prefix="$exec_prefix"
27198 exec_prefix="$acl_final_exec_prefix"
27200 eval additional_includedir=\"$includedir\"
27201 eval additional_libdir=\"$libdir\"
27203 exec_prefix="$acl_save_exec_prefix"
27204 prefix="$acl_save_prefix"
27207 # Check whether --with-libiconv-prefix was given.
27208 if test "${with_libiconv_prefix+set}" = set; then :
27209 withval=$with_libiconv_prefix;
27210 if test "X$withval" = "Xno"; then
27211 use_additional=no
27212 else
27213 if test "X$withval" = "X"; then
27215 acl_save_prefix="$prefix"
27216 prefix="$acl_final_prefix"
27217 acl_save_exec_prefix="$exec_prefix"
27218 exec_prefix="$acl_final_exec_prefix"
27220 eval additional_includedir=\"$includedir\"
27221 eval additional_libdir=\"$libdir\"
27223 exec_prefix="$acl_save_exec_prefix"
27224 prefix="$acl_save_prefix"
27226 else
27227 additional_includedir="$withval/include"
27228 additional_libdir="$withval/lib"
27234 LIBICONV=
27235 LTLIBICONV=
27236 INCICONV=
27237 rpathdirs=
27238 ltrpathdirs=
27239 names_already_handled=
27240 names_next_round='iconv '
27241 while test -n "$names_next_round"; do
27242 names_this_round="$names_next_round"
27243 names_next_round=
27244 for name in $names_this_round; do
27245 already_handled=
27246 for n in $names_already_handled; do
27247 if test "$n" = "$name"; then
27248 already_handled=yes
27249 break
27251 done
27252 if test -z "$already_handled"; then
27253 names_already_handled="$names_already_handled $name"
27254 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
27255 eval value=\"\$HAVE_LIB$uppername\"
27256 if test -n "$value"; then
27257 if test "$value" = yes; then
27258 eval value=\"\$LIB$uppername\"
27259 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
27260 eval value=\"\$LTLIB$uppername\"
27261 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
27262 else
27265 else
27266 found_dir=
27267 found_la=
27268 found_so=
27269 found_a=
27270 if test $use_additional = yes; then
27271 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
27272 found_dir="$additional_libdir"
27273 found_so="$additional_libdir/lib$name.$shlibext"
27274 if test -f "$additional_libdir/lib$name.la"; then
27275 found_la="$additional_libdir/lib$name.la"
27277 else
27278 if test -f "$additional_libdir/lib$name.$libext"; then
27279 found_dir="$additional_libdir"
27280 found_a="$additional_libdir/lib$name.$libext"
27281 if test -f "$additional_libdir/lib$name.la"; then
27282 found_la="$additional_libdir/lib$name.la"
27287 if test "X$found_dir" = "X"; then
27288 for x in $LDFLAGS $LTLIBICONV; do
27290 acl_save_prefix="$prefix"
27291 prefix="$acl_final_prefix"
27292 acl_save_exec_prefix="$exec_prefix"
27293 exec_prefix="$acl_final_exec_prefix"
27294 eval x=\"$x\"
27295 exec_prefix="$acl_save_exec_prefix"
27296 prefix="$acl_save_prefix"
27298 case "$x" in
27299 -L*)
27300 dir=`echo "X$x" | sed -e 's/^X-L//'`
27301 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
27302 found_dir="$dir"
27303 found_so="$dir/lib$name.$shlibext"
27304 if test -f "$dir/lib$name.la"; then
27305 found_la="$dir/lib$name.la"
27307 else
27308 if test -f "$dir/lib$name.$libext"; then
27309 found_dir="$dir"
27310 found_a="$dir/lib$name.$libext"
27311 if test -f "$dir/lib$name.la"; then
27312 found_la="$dir/lib$name.la"
27317 esac
27318 if test "X$found_dir" != "X"; then
27319 break
27321 done
27323 if test "X$found_dir" != "X"; then
27324 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
27325 if test "X$found_so" != "X"; then
27326 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
27327 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27328 else
27329 haveit=
27330 for x in $ltrpathdirs; do
27331 if test "X$x" = "X$found_dir"; then
27332 haveit=yes
27333 break
27335 done
27336 if test -z "$haveit"; then
27337 ltrpathdirs="$ltrpathdirs $found_dir"
27339 if test "$hardcode_direct" = yes; then
27340 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27341 else
27342 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
27343 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27344 haveit=
27345 for x in $rpathdirs; do
27346 if test "X$x" = "X$found_dir"; then
27347 haveit=yes
27348 break
27350 done
27351 if test -z "$haveit"; then
27352 rpathdirs="$rpathdirs $found_dir"
27354 else
27355 haveit=
27356 for x in $LDFLAGS $LIBICONV; do
27358 acl_save_prefix="$prefix"
27359 prefix="$acl_final_prefix"
27360 acl_save_exec_prefix="$exec_prefix"
27361 exec_prefix="$acl_final_exec_prefix"
27362 eval x=\"$x\"
27363 exec_prefix="$acl_save_exec_prefix"
27364 prefix="$acl_save_prefix"
27366 if test "X$x" = "X-L$found_dir"; then
27367 haveit=yes
27368 break
27370 done
27371 if test -z "$haveit"; then
27372 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
27374 if test "$hardcode_minus_L" != no; then
27375 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27376 else
27377 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
27382 else
27383 if test "X$found_a" != "X"; then
27384 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
27385 else
27386 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
27389 additional_includedir=
27390 case "$found_dir" in
27391 */lib | */lib/)
27392 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
27393 additional_includedir="$basedir/include"
27395 esac
27396 if test "X$additional_includedir" != "X"; then
27397 if test "X$additional_includedir" != "X/usr/include"; then
27398 haveit=
27399 if test "X$additional_includedir" = "X/usr/local/include"; then
27400 if test -n "$GCC"; then
27401 case $host_os in
27402 linux*) haveit=yes;;
27403 esac
27406 if test -z "$haveit"; then
27407 for x in $CPPFLAGS $INCICONV; do
27409 acl_save_prefix="$prefix"
27410 prefix="$acl_final_prefix"
27411 acl_save_exec_prefix="$exec_prefix"
27412 exec_prefix="$acl_final_exec_prefix"
27413 eval x=\"$x\"
27414 exec_prefix="$acl_save_exec_prefix"
27415 prefix="$acl_save_prefix"
27417 if test "X$x" = "X-I$additional_includedir"; then
27418 haveit=yes
27419 break
27421 done
27422 if test -z "$haveit"; then
27423 if test -d "$additional_includedir"; then
27424 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
27430 if test -n "$found_la"; then
27431 save_libdir="$libdir"
27432 case "$found_la" in
27433 */* | *\\*) . "$found_la" ;;
27434 *) . "./$found_la" ;;
27435 esac
27436 libdir="$save_libdir"
27437 for dep in $dependency_libs; do
27438 case "$dep" in
27439 -L*)
27440 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
27441 if test "X$additional_libdir" != "X/usr/lib"; then
27442 haveit=
27443 if test "X$additional_libdir" = "X/usr/local/lib"; then
27444 if test -n "$GCC"; then
27445 case $host_os in
27446 linux*) haveit=yes;;
27447 esac
27450 if test -z "$haveit"; then
27451 haveit=
27452 for x in $LDFLAGS $LIBICONV; do
27454 acl_save_prefix="$prefix"
27455 prefix="$acl_final_prefix"
27456 acl_save_exec_prefix="$exec_prefix"
27457 exec_prefix="$acl_final_exec_prefix"
27458 eval x=\"$x\"
27459 exec_prefix="$acl_save_exec_prefix"
27460 prefix="$acl_save_prefix"
27462 if test "X$x" = "X-L$additional_libdir"; then
27463 haveit=yes
27464 break
27466 done
27467 if test -z "$haveit"; then
27468 if test -d "$additional_libdir"; then
27469 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
27472 haveit=
27473 for x in $LDFLAGS $LTLIBICONV; do
27475 acl_save_prefix="$prefix"
27476 prefix="$acl_final_prefix"
27477 acl_save_exec_prefix="$exec_prefix"
27478 exec_prefix="$acl_final_exec_prefix"
27479 eval x=\"$x\"
27480 exec_prefix="$acl_save_exec_prefix"
27481 prefix="$acl_save_prefix"
27483 if test "X$x" = "X-L$additional_libdir"; then
27484 haveit=yes
27485 break
27487 done
27488 if test -z "$haveit"; then
27489 if test -d "$additional_libdir"; then
27490 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
27496 -R*)
27497 dir=`echo "X$dep" | sed -e 's/^X-R//'`
27498 if test "$enable_rpath" != no; then
27499 haveit=
27500 for x in $rpathdirs; do
27501 if test "X$x" = "X$dir"; then
27502 haveit=yes
27503 break
27505 done
27506 if test -z "$haveit"; then
27507 rpathdirs="$rpathdirs $dir"
27509 haveit=
27510 for x in $ltrpathdirs; do
27511 if test "X$x" = "X$dir"; then
27512 haveit=yes
27513 break
27515 done
27516 if test -z "$haveit"; then
27517 ltrpathdirs="$ltrpathdirs $dir"
27521 -l*)
27522 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
27524 *.la)
27525 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
27528 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
27529 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
27531 esac
27532 done
27534 else
27535 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
27536 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
27540 done
27541 done
27542 if test "X$rpathdirs" != "X"; then
27543 if test -n "$hardcode_libdir_separator"; then
27544 alldirs=
27545 for found_dir in $rpathdirs; do
27546 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
27547 done
27548 acl_save_libdir="$libdir"
27549 libdir="$alldirs"
27550 eval flag=\"$hardcode_libdir_flag_spec\"
27551 libdir="$acl_save_libdir"
27552 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27553 else
27554 for found_dir in $rpathdirs; do
27555 acl_save_libdir="$libdir"
27556 libdir="$found_dir"
27557 eval flag=\"$hardcode_libdir_flag_spec\"
27558 libdir="$acl_save_libdir"
27559 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27560 done
27563 if test "X$ltrpathdirs" != "X"; then
27564 for found_dir in $ltrpathdirs; do
27565 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
27566 done
27575 am_save_CPPFLAGS="$CPPFLAGS"
27577 for element in $INCICONV; do
27578 haveit=
27579 for x in $CPPFLAGS; do
27581 acl_save_prefix="$prefix"
27582 prefix="$acl_final_prefix"
27583 acl_save_exec_prefix="$exec_prefix"
27584 exec_prefix="$acl_final_exec_prefix"
27585 eval x=\"$x\"
27586 exec_prefix="$acl_save_exec_prefix"
27587 prefix="$acl_save_prefix"
27589 if test "X$x" = "X$element"; then
27590 haveit=yes
27591 break
27593 done
27594 if test -z "$haveit"; then
27595 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
27597 done
27600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
27601 $as_echo_n "checking for iconv... " >&6; }
27602 if test "${am_cv_func_iconv+set}" = set; then :
27603 $as_echo_n "(cached) " >&6
27604 else
27606 am_cv_func_iconv="no, consider installing GNU libiconv"
27607 am_cv_lib_iconv=no
27608 if test x$gcc_no_link = xyes; then
27609 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27612 /* end confdefs.h. */
27613 #include <stdlib.h>
27614 #include <iconv.h>
27616 main ()
27618 iconv_t cd = iconv_open("","");
27619 iconv(cd,NULL,NULL,NULL,NULL);
27620 iconv_close(cd);
27622 return 0;
27624 _ACEOF
27625 if ac_fn_c_try_link "$LINENO"; then :
27626 am_cv_func_iconv=yes
27628 rm -f core conftest.err conftest.$ac_objext \
27629 conftest$ac_exeext conftest.$ac_ext
27630 if test "$am_cv_func_iconv" != yes; then
27631 am_save_LIBS="$LIBS"
27632 LIBS="$LIBS $LIBICONV"
27633 if test x$gcc_no_link = xyes; then
27634 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27637 /* end confdefs.h. */
27638 #include <stdlib.h>
27639 #include <iconv.h>
27641 main ()
27643 iconv_t cd = iconv_open("","");
27644 iconv(cd,NULL,NULL,NULL,NULL);
27645 iconv_close(cd);
27647 return 0;
27649 _ACEOF
27650 if ac_fn_c_try_link "$LINENO"; then :
27651 am_cv_lib_iconv=yes
27652 am_cv_func_iconv=yes
27654 rm -f core conftest.err conftest.$ac_objext \
27655 conftest$ac_exeext conftest.$ac_ext
27656 LIBS="$am_save_LIBS"
27660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
27661 $as_echo "$am_cv_func_iconv" >&6; }
27662 if test "$am_cv_func_iconv" = yes; then
27664 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27667 if test "$am_cv_lib_iconv" = yes; then
27668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
27669 $as_echo_n "checking how to link with libiconv... " >&6; }
27670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
27671 $as_echo "$LIBICONV" >&6; }
27672 else
27673 CPPFLAGS="$am_save_CPPFLAGS"
27674 LIBICONV=
27675 LTLIBICONV=
27680 if test "$am_cv_func_iconv" = yes; then
27681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
27682 $as_echo_n "checking for iconv declaration... " >&6; }
27683 if test "${am_cv_proto_iconv+set}" = set; then :
27684 $as_echo_n "(cached) " >&6
27685 else
27687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27688 /* end confdefs.h. */
27690 #include <stdlib.h>
27691 #include <iconv.h>
27692 extern
27693 #ifdef __cplusplus
27695 #endif
27696 #if defined(__STDC__) || defined(__cplusplus)
27697 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
27698 #else
27699 size_t iconv();
27700 #endif
27703 main ()
27707 return 0;
27709 _ACEOF
27710 if ac_fn_c_try_compile "$LINENO"; then :
27711 am_cv_proto_iconv_arg1=""
27712 else
27713 am_cv_proto_iconv_arg1="const"
27715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27716 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);"
27719 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
27720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
27721 }$am_cv_proto_iconv" >&5
27722 $as_echo "${ac_t:-
27723 }$am_cv_proto_iconv" >&6; }
27725 cat >>confdefs.h <<_ACEOF
27726 #define ICONV_CONST $am_cv_proto_iconv_arg1
27727 _ACEOF
27732 else
27734 # This lets us hard-code the functionality we know we'll have in the cross
27735 # target environment. "Let" is a sugar-coated word placed on an especially
27736 # dull and tedious hack, actually.
27738 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
27739 # that involve linking, can't be used:
27740 # "cannot open sim-crt0.o"
27741 # "cannot open crt0.o"
27742 # etc. All this is because there currently exists no unified, consistent
27743 # way for top level CC information to be passed down to target directories:
27744 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
27745 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
27746 # crosses can be removed.
27748 # If Canadian cross, then don't pick up tools from the build directory.
27749 # Used only in GLIBCXX_EXPORT_INCLUDES.
27750 if test -n "$with_cross_host" &&
27751 test x"$build_alias" != x"$with_cross_host" &&
27752 test x"$build" != x"$target";
27753 then
27754 CANADIAN=yes
27755 else
27756 CANADIAN=no
27759 # Construct crosses by hand, eliminating bits that need ld...
27760 # GLIBCXX_CHECK_MATH_SUPPORT
27762 # First, test for "known" system libraries. We may be using newlib even
27763 # on a hosted environment.
27764 if test "x${with_newlib}" = "xyes"; then
27765 os_include_dir="os/newlib"
27766 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
27769 # GLIBCXX_CHECK_STDLIB_SUPPORT
27770 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
27773 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
27775 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
27777 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
27779 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
27781 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
27783 $as_echo "#define HAVE_COSF 1" >>confdefs.h
27785 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
27787 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
27789 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
27791 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
27793 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
27795 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
27797 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
27799 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
27801 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
27803 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
27805 $as_echo "#define HAVE_POWF 1" >>confdefs.h
27807 $as_echo "#define HAVE_SINF 1" >>confdefs.h
27809 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
27811 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
27813 $as_echo "#define HAVE_TANF 1" >>confdefs.h
27815 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
27818 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27820 else
27822 # Base decisions on target environment.
27823 case "${host}" in
27824 arm*-*-symbianelf*)
27825 # This is a freestanding configuration; there is nothing to do here.
27828 mips*-sde-elf*)
27829 # These definitions are for the SDE C library rather than newlib.
27830 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27833 # All these tests are for C++; save the language and the compiler flags.
27834 # The CXXFLAGS thing is suspicious, but based on similar bits previously
27835 # found in GLIBCXX_CONFIGURE.
27837 ac_ext=cpp
27838 ac_cpp='$CXXCPP $CPPFLAGS'
27839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27843 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27844 ac_save_CXXFLAGS="$CXXFLAGS"
27846 # Check for maintainer-mode bits.
27847 if test x"$USE_MAINTAINER_MODE" = xno; then
27848 WERROR=''
27849 else
27850 WERROR='-Werror'
27853 # Check for -ffunction-sections -fdata-sections
27854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
27855 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
27856 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
27857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27858 /* end confdefs.h. */
27859 int foo; void bar() { };
27861 main ()
27865 return 0;
27867 _ACEOF
27868 if ac_fn_cxx_try_compile "$LINENO"; then :
27869 ac_fdsections=yes
27870 else
27871 ac_fdsections=no
27873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27874 if test "$ac_test_CXXFLAGS" = set; then
27875 CXXFLAGS="$ac_save_CXXFLAGS"
27876 else
27877 # this is the suspicious part
27878 CXXFLAGS=''
27880 if test x"$ac_fdsections" = x"yes"; then
27881 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
27884 $as_echo "$ac_fdsections" >&6; }
27886 ac_ext=c
27887 ac_cpp='$CPP $CPPFLAGS'
27888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27896 # If we're not using GNU ld, then there's no point in even trying these
27897 # tests. Check for that first. We should have already tested for gld
27898 # by now (in libtool), but require it now just to be safe...
27899 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
27900 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
27904 # The name set by libtool depends on the version of libtool. Shame on us
27905 # for depending on an impl detail, but c'est la vie. Older versions used
27906 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
27907 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
27908 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
27909 # set (hence we're using an older libtool), then set it.
27910 if test x${with_gnu_ld+set} != xset; then
27911 if test x${ac_cv_prog_gnu_ld+set} != xset; then
27912 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
27913 with_gnu_ld=no
27914 else
27915 with_gnu_ld=$ac_cv_prog_gnu_ld
27919 # Start by getting the version number. I think the libtool test already
27920 # does some of this, but throws away the result.
27921 glibcxx_ld_is_gold=no
27922 if test x"$with_gnu_ld" = x"yes"; then
27923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
27924 $as_echo_n "checking for ld version... " >&6; }
27926 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
27927 glibcxx_ld_is_gold=yes
27929 ldver=`$LD --version 2>/dev/null |
27930 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'`
27932 glibcxx_gnu_ld_version=`echo $ldver | \
27933 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
27934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
27935 $as_echo "$glibcxx_gnu_ld_version" >&6; }
27938 # Set --gc-sections.
27939 glibcxx_have_gc_sections=no
27940 if test "$glibcxx_ld_is_gold" = "yes"; then
27941 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
27942 glibcxx_have_gc_sections=yes
27944 else
27945 glibcxx_gcsections_min_ld=21602
27946 if test x"$with_gnu_ld" = x"yes" &&
27947 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
27948 glibcxx_have_gc_sections=yes
27951 if test "$glibcxx_have_gc_sections" = "yes"; then
27952 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
27953 # NB: This flag only works reliably after 2.16.1. Configure tests
27954 # for this are difficult, so hard wire a value that should work.
27956 ac_test_CFLAGS="${CFLAGS+set}"
27957 ac_save_CFLAGS="$CFLAGS"
27958 CFLAGS='-Wl,--gc-sections'
27960 # Check for -Wl,--gc-sections
27961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
27962 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
27963 if test x$gcc_no_link = xyes; then
27964 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27967 /* end confdefs.h. */
27968 int one(void) { return 1; }
27969 int two(void) { return 2; }
27972 main ()
27974 two();
27976 return 0;
27978 _ACEOF
27979 if ac_fn_c_try_link "$LINENO"; then :
27980 ac_gcsections=yes
27981 else
27982 ac_gcsections=no
27984 rm -f core conftest.err conftest.$ac_objext \
27985 conftest$ac_exeext conftest.$ac_ext
27986 if test "$ac_gcsections" = "yes"; then
27987 rm -f conftest.c
27988 touch conftest.c
27989 if $CC -c conftest.c; then
27990 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
27991 grep "Warning: gc-sections option ignored" > /dev/null; then
27992 ac_gcsections=no
27995 rm -f conftest.c conftest.o conftest
27997 if test "$ac_gcsections" = "yes"; then
27998 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
28000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
28001 $as_echo "$ac_gcsections" >&6; }
28003 if test "$ac_test_CFLAGS" = set; then
28004 CFLAGS="$ac_save_CFLAGS"
28005 else
28006 # this is the suspicious part
28007 CFLAGS=''
28011 # Set -z,relro.
28012 # Note this is only for shared objects.
28013 ac_ld_relro=no
28014 if test x"$with_gnu_ld" = x"yes"; then
28015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
28016 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
28017 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
28018 if test -n "$cxx_z_relo"; then
28019 OPT_LDFLAGS="-Wl,-z,relro"
28020 ac_ld_relro=yes
28022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
28023 $as_echo "$ac_ld_relro" >&6; }
28026 # Set linker optimization flags.
28027 if test x"$with_gnu_ld" = x"yes"; then
28028 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
28035 ac_test_CXXFLAGS="${CXXFLAGS+set}"
28036 ac_save_CXXFLAGS="$CXXFLAGS"
28037 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
28039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
28040 $as_echo_n "checking for sin in -lm... " >&6; }
28041 if test "${ac_cv_lib_m_sin+set}" = set; then :
28042 $as_echo_n "(cached) " >&6
28043 else
28044 ac_check_lib_save_LIBS=$LIBS
28045 LIBS="-lm $LIBS"
28046 if test x$gcc_no_link = xyes; then
28047 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28050 /* end confdefs.h. */
28052 /* Override any GCC internal prototype to avoid an error.
28053 Use char because int might match the return type of a GCC
28054 builtin and then its argument prototype would still apply. */
28055 #ifdef __cplusplus
28056 extern "C"
28057 #endif
28058 char sin ();
28060 main ()
28062 return sin ();
28064 return 0;
28066 _ACEOF
28067 if ac_fn_c_try_link "$LINENO"; then :
28068 ac_cv_lib_m_sin=yes
28069 else
28070 ac_cv_lib_m_sin=no
28072 rm -f core conftest.err conftest.$ac_objext \
28073 conftest$ac_exeext conftest.$ac_ext
28074 LIBS=$ac_check_lib_save_LIBS
28076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
28077 $as_echo "$ac_cv_lib_m_sin" >&6; }
28078 if test "x$ac_cv_lib_m_sin" = x""yes; then :
28079 libm="-lm"
28082 ac_save_LIBS="$LIBS"
28083 LIBS="$LIBS $libm"
28087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
28088 $as_echo_n "checking for isinf declaration... " >&6; }
28089 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
28090 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
28091 $as_echo_n "(cached) " >&6
28092 else
28095 ac_ext=cpp
28096 ac_cpp='$CXXCPP $CPPFLAGS'
28097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28102 /* end confdefs.h. */
28103 #include <math.h>
28104 #ifdef HAVE_IEEEFP_H
28105 #include <ieeefp.h>
28106 #endif
28109 main ()
28111 isinf(0);
28113 return 0;
28115 _ACEOF
28116 if ac_fn_cxx_try_compile "$LINENO"; then :
28117 glibcxx_cv_func_isinf_use=yes
28118 else
28119 glibcxx_cv_func_isinf_use=no
28121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28122 ac_ext=c
28123 ac_cpp='$CPP $CPPFLAGS'
28124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
28133 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
28135 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
28136 for ac_func in isinf
28137 do :
28138 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
28139 if test "x$ac_cv_func_isinf" = x""yes; then :
28140 cat >>confdefs.h <<_ACEOF
28141 #define HAVE_ISINF 1
28142 _ACEOF
28145 done
28147 else
28149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
28150 $as_echo_n "checking for _isinf declaration... " >&6; }
28151 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
28152 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
28153 $as_echo_n "(cached) " >&6
28154 else
28157 ac_ext=cpp
28158 ac_cpp='$CXXCPP $CPPFLAGS'
28159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28164 /* end confdefs.h. */
28165 #include <math.h>
28166 #ifdef HAVE_IEEEFP_H
28167 #include <ieeefp.h>
28168 #endif
28171 main ()
28173 _isinf(0);
28175 return 0;
28177 _ACEOF
28178 if ac_fn_cxx_try_compile "$LINENO"; then :
28179 glibcxx_cv_func__isinf_use=yes
28180 else
28181 glibcxx_cv_func__isinf_use=no
28183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28184 ac_ext=c
28185 ac_cpp='$CPP $CPPFLAGS'
28186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
28195 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
28197 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
28198 for ac_func in _isinf
28199 do :
28200 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
28201 if test "x$ac_cv_func__isinf" = x""yes; then :
28202 cat >>confdefs.h <<_ACEOF
28203 #define HAVE__ISINF 1
28204 _ACEOF
28207 done
28216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
28217 $as_echo_n "checking for isnan declaration... " >&6; }
28218 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
28219 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
28220 $as_echo_n "(cached) " >&6
28221 else
28224 ac_ext=cpp
28225 ac_cpp='$CXXCPP $CPPFLAGS'
28226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28231 /* end confdefs.h. */
28232 #include <math.h>
28233 #ifdef HAVE_IEEEFP_H
28234 #include <ieeefp.h>
28235 #endif
28238 main ()
28240 isnan(0);
28242 return 0;
28244 _ACEOF
28245 if ac_fn_cxx_try_compile "$LINENO"; then :
28246 glibcxx_cv_func_isnan_use=yes
28247 else
28248 glibcxx_cv_func_isnan_use=no
28250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28251 ac_ext=c
28252 ac_cpp='$CPP $CPPFLAGS'
28253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
28262 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
28264 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
28265 for ac_func in isnan
28266 do :
28267 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
28268 if test "x$ac_cv_func_isnan" = x""yes; then :
28269 cat >>confdefs.h <<_ACEOF
28270 #define HAVE_ISNAN 1
28271 _ACEOF
28274 done
28276 else
28278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
28279 $as_echo_n "checking for _isnan declaration... " >&6; }
28280 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
28281 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
28282 $as_echo_n "(cached) " >&6
28283 else
28286 ac_ext=cpp
28287 ac_cpp='$CXXCPP $CPPFLAGS'
28288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28293 /* end confdefs.h. */
28294 #include <math.h>
28295 #ifdef HAVE_IEEEFP_H
28296 #include <ieeefp.h>
28297 #endif
28300 main ()
28302 _isnan(0);
28304 return 0;
28306 _ACEOF
28307 if ac_fn_cxx_try_compile "$LINENO"; then :
28308 glibcxx_cv_func__isnan_use=yes
28309 else
28310 glibcxx_cv_func__isnan_use=no
28312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28313 ac_ext=c
28314 ac_cpp='$CPP $CPPFLAGS'
28315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
28324 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
28326 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
28327 for ac_func in _isnan
28328 do :
28329 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
28330 if test "x$ac_cv_func__isnan" = x""yes; then :
28331 cat >>confdefs.h <<_ACEOF
28332 #define HAVE__ISNAN 1
28333 _ACEOF
28336 done
28345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
28346 $as_echo_n "checking for finite declaration... " >&6; }
28347 if test x${glibcxx_cv_func_finite_use+set} != xset; then
28348 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
28349 $as_echo_n "(cached) " >&6
28350 else
28353 ac_ext=cpp
28354 ac_cpp='$CXXCPP $CPPFLAGS'
28355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28360 /* end confdefs.h. */
28361 #include <math.h>
28362 #ifdef HAVE_IEEEFP_H
28363 #include <ieeefp.h>
28364 #endif
28367 main ()
28369 finite(0);
28371 return 0;
28373 _ACEOF
28374 if ac_fn_cxx_try_compile "$LINENO"; then :
28375 glibcxx_cv_func_finite_use=yes
28376 else
28377 glibcxx_cv_func_finite_use=no
28379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28380 ac_ext=c
28381 ac_cpp='$CPP $CPPFLAGS'
28382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
28391 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
28393 if test x$glibcxx_cv_func_finite_use = x"yes"; then
28394 for ac_func in finite
28395 do :
28396 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
28397 if test "x$ac_cv_func_finite" = x""yes; then :
28398 cat >>confdefs.h <<_ACEOF
28399 #define HAVE_FINITE 1
28400 _ACEOF
28403 done
28405 else
28407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
28408 $as_echo_n "checking for _finite declaration... " >&6; }
28409 if test x${glibcxx_cv_func__finite_use+set} != xset; then
28410 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
28411 $as_echo_n "(cached) " >&6
28412 else
28415 ac_ext=cpp
28416 ac_cpp='$CXXCPP $CPPFLAGS'
28417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28422 /* end confdefs.h. */
28423 #include <math.h>
28424 #ifdef HAVE_IEEEFP_H
28425 #include <ieeefp.h>
28426 #endif
28429 main ()
28431 _finite(0);
28433 return 0;
28435 _ACEOF
28436 if ac_fn_cxx_try_compile "$LINENO"; then :
28437 glibcxx_cv_func__finite_use=yes
28438 else
28439 glibcxx_cv_func__finite_use=no
28441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28442 ac_ext=c
28443 ac_cpp='$CPP $CPPFLAGS'
28444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
28453 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
28455 if test x$glibcxx_cv_func__finite_use = x"yes"; then
28456 for ac_func in _finite
28457 do :
28458 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
28459 if test "x$ac_cv_func__finite" = x""yes; then :
28460 cat >>confdefs.h <<_ACEOF
28461 #define HAVE__FINITE 1
28462 _ACEOF
28465 done
28474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
28475 $as_echo_n "checking for sincos declaration... " >&6; }
28476 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
28477 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
28478 $as_echo_n "(cached) " >&6
28479 else
28482 ac_ext=cpp
28483 ac_cpp='$CXXCPP $CPPFLAGS'
28484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28489 /* end confdefs.h. */
28490 #include <math.h>
28492 main ()
28494 sincos(0, 0, 0);
28496 return 0;
28498 _ACEOF
28499 if ac_fn_cxx_try_compile "$LINENO"; then :
28500 glibcxx_cv_func_sincos_use=yes
28501 else
28502 glibcxx_cv_func_sincos_use=no
28504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28505 ac_ext=c
28506 ac_cpp='$CPP $CPPFLAGS'
28507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
28516 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
28518 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
28519 for ac_func in sincos
28520 do :
28521 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
28522 if test "x$ac_cv_func_sincos" = x""yes; then :
28523 cat >>confdefs.h <<_ACEOF
28524 #define HAVE_SINCOS 1
28525 _ACEOF
28528 done
28530 else
28532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
28533 $as_echo_n "checking for _sincos declaration... " >&6; }
28534 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
28535 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
28536 $as_echo_n "(cached) " >&6
28537 else
28540 ac_ext=cpp
28541 ac_cpp='$CXXCPP $CPPFLAGS'
28542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28547 /* end confdefs.h. */
28548 #include <math.h>
28550 main ()
28552 _sincos(0, 0, 0);
28554 return 0;
28556 _ACEOF
28557 if ac_fn_cxx_try_compile "$LINENO"; then :
28558 glibcxx_cv_func__sincos_use=yes
28559 else
28560 glibcxx_cv_func__sincos_use=no
28562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28563 ac_ext=c
28564 ac_cpp='$CPP $CPPFLAGS'
28565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
28574 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
28576 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
28577 for ac_func in _sincos
28578 do :
28579 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
28580 if test "x$ac_cv_func__sincos" = x""yes; then :
28581 cat >>confdefs.h <<_ACEOF
28582 #define HAVE__SINCOS 1
28583 _ACEOF
28586 done
28595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
28596 $as_echo_n "checking for fpclass declaration... " >&6; }
28597 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
28598 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
28599 $as_echo_n "(cached) " >&6
28600 else
28603 ac_ext=cpp
28604 ac_cpp='$CXXCPP $CPPFLAGS'
28605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28610 /* end confdefs.h. */
28611 #include <math.h>
28612 #ifdef HAVE_IEEEFP_H
28613 #include <ieeefp.h>
28614 #endif
28617 main ()
28619 fpclass(0);
28621 return 0;
28623 _ACEOF
28624 if ac_fn_cxx_try_compile "$LINENO"; then :
28625 glibcxx_cv_func_fpclass_use=yes
28626 else
28627 glibcxx_cv_func_fpclass_use=no
28629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28630 ac_ext=c
28631 ac_cpp='$CPP $CPPFLAGS'
28632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
28641 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
28643 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
28644 for ac_func in fpclass
28645 do :
28646 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
28647 if test "x$ac_cv_func_fpclass" = x""yes; then :
28648 cat >>confdefs.h <<_ACEOF
28649 #define HAVE_FPCLASS 1
28650 _ACEOF
28653 done
28655 else
28657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
28658 $as_echo_n "checking for _fpclass declaration... " >&6; }
28659 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
28660 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
28661 $as_echo_n "(cached) " >&6
28662 else
28665 ac_ext=cpp
28666 ac_cpp='$CXXCPP $CPPFLAGS'
28667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28672 /* end confdefs.h. */
28673 #include <math.h>
28674 #ifdef HAVE_IEEEFP_H
28675 #include <ieeefp.h>
28676 #endif
28679 main ()
28681 _fpclass(0);
28683 return 0;
28685 _ACEOF
28686 if ac_fn_cxx_try_compile "$LINENO"; then :
28687 glibcxx_cv_func__fpclass_use=yes
28688 else
28689 glibcxx_cv_func__fpclass_use=no
28691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28692 ac_ext=c
28693 ac_cpp='$CPP $CPPFLAGS'
28694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
28703 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
28705 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
28706 for ac_func in _fpclass
28707 do :
28708 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
28709 if test "x$ac_cv_func__fpclass" = x""yes; then :
28710 cat >>confdefs.h <<_ACEOF
28711 #define HAVE__FPCLASS 1
28712 _ACEOF
28715 done
28724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
28725 $as_echo_n "checking for qfpclass declaration... " >&6; }
28726 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
28727 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
28728 $as_echo_n "(cached) " >&6
28729 else
28732 ac_ext=cpp
28733 ac_cpp='$CXXCPP $CPPFLAGS'
28734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28739 /* end confdefs.h. */
28740 #include <math.h>
28741 #ifdef HAVE_IEEEFP_H
28742 #include <ieeefp.h>
28743 #endif
28746 main ()
28748 qfpclass(0);
28750 return 0;
28752 _ACEOF
28753 if ac_fn_cxx_try_compile "$LINENO"; then :
28754 glibcxx_cv_func_qfpclass_use=yes
28755 else
28756 glibcxx_cv_func_qfpclass_use=no
28758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28759 ac_ext=c
28760 ac_cpp='$CPP $CPPFLAGS'
28761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
28770 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
28772 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
28773 for ac_func in qfpclass
28774 do :
28775 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
28776 if test "x$ac_cv_func_qfpclass" = x""yes; then :
28777 cat >>confdefs.h <<_ACEOF
28778 #define HAVE_QFPCLASS 1
28779 _ACEOF
28782 done
28784 else
28786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
28787 $as_echo_n "checking for _qfpclass declaration... " >&6; }
28788 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
28789 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
28790 $as_echo_n "(cached) " >&6
28791 else
28794 ac_ext=cpp
28795 ac_cpp='$CXXCPP $CPPFLAGS'
28796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28801 /* end confdefs.h. */
28802 #include <math.h>
28803 #ifdef HAVE_IEEEFP_H
28804 #include <ieeefp.h>
28805 #endif
28808 main ()
28810 _qfpclass(0);
28812 return 0;
28814 _ACEOF
28815 if ac_fn_cxx_try_compile "$LINENO"; then :
28816 glibcxx_cv_func__qfpclass_use=yes
28817 else
28818 glibcxx_cv_func__qfpclass_use=no
28820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28821 ac_ext=c
28822 ac_cpp='$CPP $CPPFLAGS'
28823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
28832 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
28834 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
28835 for ac_func in _qfpclass
28836 do :
28837 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
28838 if test "x$ac_cv_func__qfpclass" = x""yes; then :
28839 cat >>confdefs.h <<_ACEOF
28840 #define HAVE__QFPCLASS 1
28841 _ACEOF
28844 done
28853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
28854 $as_echo_n "checking for hypot declaration... " >&6; }
28855 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
28856 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
28857 $as_echo_n "(cached) " >&6
28858 else
28861 ac_ext=cpp
28862 ac_cpp='$CXXCPP $CPPFLAGS'
28863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28868 /* end confdefs.h. */
28869 #include <math.h>
28871 main ()
28873 hypot(0, 0);
28875 return 0;
28877 _ACEOF
28878 if ac_fn_cxx_try_compile "$LINENO"; then :
28879 glibcxx_cv_func_hypot_use=yes
28880 else
28881 glibcxx_cv_func_hypot_use=no
28883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28884 ac_ext=c
28885 ac_cpp='$CPP $CPPFLAGS'
28886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
28895 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
28897 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
28898 for ac_func in hypot
28899 do :
28900 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
28901 if test "x$ac_cv_func_hypot" = x""yes; then :
28902 cat >>confdefs.h <<_ACEOF
28903 #define HAVE_HYPOT 1
28904 _ACEOF
28907 done
28909 else
28911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
28912 $as_echo_n "checking for _hypot declaration... " >&6; }
28913 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
28914 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
28915 $as_echo_n "(cached) " >&6
28916 else
28919 ac_ext=cpp
28920 ac_cpp='$CXXCPP $CPPFLAGS'
28921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28926 /* end confdefs.h. */
28927 #include <math.h>
28929 main ()
28931 _hypot(0, 0);
28933 return 0;
28935 _ACEOF
28936 if ac_fn_cxx_try_compile "$LINENO"; then :
28937 glibcxx_cv_func__hypot_use=yes
28938 else
28939 glibcxx_cv_func__hypot_use=no
28941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28942 ac_ext=c
28943 ac_cpp='$CPP $CPPFLAGS'
28944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
28953 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
28955 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
28956 for ac_func in _hypot
28957 do :
28958 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
28959 if test "x$ac_cv_func__hypot" = x""yes; then :
28960 cat >>confdefs.h <<_ACEOF
28961 #define HAVE__HYPOT 1
28962 _ACEOF
28965 done
28974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
28975 $as_echo_n "checking for float trig functions... " >&6; }
28976 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
28977 $as_echo_n "(cached) " >&6
28978 else
28981 ac_ext=cpp
28982 ac_cpp='$CXXCPP $CPPFLAGS'
28983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28988 /* end confdefs.h. */
28989 #include <math.h>
28991 main ()
28993 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
28995 return 0;
28997 _ACEOF
28998 if ac_fn_cxx_try_compile "$LINENO"; then :
28999 glibcxx_cv_func_float_trig_use=yes
29000 else
29001 glibcxx_cv_func_float_trig_use=no
29003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29004 ac_ext=c
29005 ac_cpp='$CPP $CPPFLAGS'
29006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
29013 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
29014 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
29015 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
29016 do :
29017 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29018 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29019 eval as_val=\$$as_ac_var
29020 if test "x$as_val" = x""yes; then :
29021 cat >>confdefs.h <<_ACEOF
29022 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29023 _ACEOF
29026 done
29028 else
29029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
29030 $as_echo_n "checking for _float trig functions... " >&6; }
29031 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
29032 $as_echo_n "(cached) " >&6
29033 else
29036 ac_ext=cpp
29037 ac_cpp='$CXXCPP $CPPFLAGS'
29038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29043 /* end confdefs.h. */
29044 #include <math.h>
29046 main ()
29048 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
29050 return 0;
29052 _ACEOF
29053 if ac_fn_cxx_try_compile "$LINENO"; then :
29054 glibcxx_cv_func__float_trig_use=yes
29055 else
29056 glibcxx_cv_func__float_trig_use=no
29058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29059 ac_ext=c
29060 ac_cpp='$CPP $CPPFLAGS'
29061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
29068 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
29069 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
29070 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
29071 do :
29072 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29073 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29074 eval as_val=\$$as_ac_var
29075 if test "x$as_val" = x""yes; then :
29076 cat >>confdefs.h <<_ACEOF
29077 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29078 _ACEOF
29081 done
29090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
29091 $as_echo_n "checking for float round functions... " >&6; }
29092 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
29093 $as_echo_n "(cached) " >&6
29094 else
29097 ac_ext=cpp
29098 ac_cpp='$CXXCPP $CPPFLAGS'
29099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29104 /* end confdefs.h. */
29105 #include <math.h>
29107 main ()
29109 ceilf (0); floorf (0);
29111 return 0;
29113 _ACEOF
29114 if ac_fn_cxx_try_compile "$LINENO"; then :
29115 glibcxx_cv_func_float_round_use=yes
29116 else
29117 glibcxx_cv_func_float_round_use=no
29119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29120 ac_ext=c
29121 ac_cpp='$CPP $CPPFLAGS'
29122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
29129 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
29130 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
29131 for ac_func in ceilf floorf
29132 do :
29133 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29134 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29135 eval as_val=\$$as_ac_var
29136 if test "x$as_val" = x""yes; then :
29137 cat >>confdefs.h <<_ACEOF
29138 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29139 _ACEOF
29142 done
29144 else
29145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
29146 $as_echo_n "checking for _float round functions... " >&6; }
29147 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
29148 $as_echo_n "(cached) " >&6
29149 else
29152 ac_ext=cpp
29153 ac_cpp='$CXXCPP $CPPFLAGS'
29154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29159 /* end confdefs.h. */
29160 #include <math.h>
29162 main ()
29164 _ceilf (0); _floorf (0);
29166 return 0;
29168 _ACEOF
29169 if ac_fn_cxx_try_compile "$LINENO"; then :
29170 glibcxx_cv_func__float_round_use=yes
29171 else
29172 glibcxx_cv_func__float_round_use=no
29174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29175 ac_ext=c
29176 ac_cpp='$CPP $CPPFLAGS'
29177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
29184 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
29185 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
29186 for ac_func in _ceilf _floorf
29187 do :
29188 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29189 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29190 eval as_val=\$$as_ac_var
29191 if test "x$as_val" = x""yes; then :
29192 cat >>confdefs.h <<_ACEOF
29193 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29194 _ACEOF
29197 done
29207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
29208 $as_echo_n "checking for expf declaration... " >&6; }
29209 if test x${glibcxx_cv_func_expf_use+set} != xset; then
29210 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
29211 $as_echo_n "(cached) " >&6
29212 else
29215 ac_ext=cpp
29216 ac_cpp='$CXXCPP $CPPFLAGS'
29217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29222 /* end confdefs.h. */
29223 #include <math.h>
29224 #ifdef HAVE_IEEEFP_H
29225 #include <ieeefp.h>
29226 #endif
29229 main ()
29231 expf(0);
29233 return 0;
29235 _ACEOF
29236 if ac_fn_cxx_try_compile "$LINENO"; then :
29237 glibcxx_cv_func_expf_use=yes
29238 else
29239 glibcxx_cv_func_expf_use=no
29241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29242 ac_ext=c
29243 ac_cpp='$CPP $CPPFLAGS'
29244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
29253 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
29255 if test x$glibcxx_cv_func_expf_use = x"yes"; then
29256 for ac_func in expf
29257 do :
29258 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
29259 if test "x$ac_cv_func_expf" = x""yes; then :
29260 cat >>confdefs.h <<_ACEOF
29261 #define HAVE_EXPF 1
29262 _ACEOF
29265 done
29267 else
29269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
29270 $as_echo_n "checking for _expf declaration... " >&6; }
29271 if test x${glibcxx_cv_func__expf_use+set} != xset; then
29272 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
29273 $as_echo_n "(cached) " >&6
29274 else
29277 ac_ext=cpp
29278 ac_cpp='$CXXCPP $CPPFLAGS'
29279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29284 /* end confdefs.h. */
29285 #include <math.h>
29286 #ifdef HAVE_IEEEFP_H
29287 #include <ieeefp.h>
29288 #endif
29291 main ()
29293 _expf(0);
29295 return 0;
29297 _ACEOF
29298 if ac_fn_cxx_try_compile "$LINENO"; then :
29299 glibcxx_cv_func__expf_use=yes
29300 else
29301 glibcxx_cv_func__expf_use=no
29303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29304 ac_ext=c
29305 ac_cpp='$CPP $CPPFLAGS'
29306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
29315 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
29317 if test x$glibcxx_cv_func__expf_use = x"yes"; then
29318 for ac_func in _expf
29319 do :
29320 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
29321 if test "x$ac_cv_func__expf" = x""yes; then :
29322 cat >>confdefs.h <<_ACEOF
29323 #define HAVE__EXPF 1
29324 _ACEOF
29327 done
29336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
29337 $as_echo_n "checking for isnanf declaration... " >&6; }
29338 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
29339 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
29340 $as_echo_n "(cached) " >&6
29341 else
29344 ac_ext=cpp
29345 ac_cpp='$CXXCPP $CPPFLAGS'
29346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29351 /* end confdefs.h. */
29352 #include <math.h>
29353 #ifdef HAVE_IEEEFP_H
29354 #include <ieeefp.h>
29355 #endif
29358 main ()
29360 isnanf(0);
29362 return 0;
29364 _ACEOF
29365 if ac_fn_cxx_try_compile "$LINENO"; then :
29366 glibcxx_cv_func_isnanf_use=yes
29367 else
29368 glibcxx_cv_func_isnanf_use=no
29370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29371 ac_ext=c
29372 ac_cpp='$CPP $CPPFLAGS'
29373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
29382 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
29384 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
29385 for ac_func in isnanf
29386 do :
29387 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
29388 if test "x$ac_cv_func_isnanf" = x""yes; then :
29389 cat >>confdefs.h <<_ACEOF
29390 #define HAVE_ISNANF 1
29391 _ACEOF
29394 done
29396 else
29398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
29399 $as_echo_n "checking for _isnanf declaration... " >&6; }
29400 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
29401 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
29402 $as_echo_n "(cached) " >&6
29403 else
29406 ac_ext=cpp
29407 ac_cpp='$CXXCPP $CPPFLAGS'
29408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29413 /* end confdefs.h. */
29414 #include <math.h>
29415 #ifdef HAVE_IEEEFP_H
29416 #include <ieeefp.h>
29417 #endif
29420 main ()
29422 _isnanf(0);
29424 return 0;
29426 _ACEOF
29427 if ac_fn_cxx_try_compile "$LINENO"; then :
29428 glibcxx_cv_func__isnanf_use=yes
29429 else
29430 glibcxx_cv_func__isnanf_use=no
29432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29433 ac_ext=c
29434 ac_cpp='$CPP $CPPFLAGS'
29435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
29444 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
29446 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
29447 for ac_func in _isnanf
29448 do :
29449 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
29450 if test "x$ac_cv_func__isnanf" = x""yes; then :
29451 cat >>confdefs.h <<_ACEOF
29452 #define HAVE__ISNANF 1
29453 _ACEOF
29456 done
29465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
29466 $as_echo_n "checking for isinff declaration... " >&6; }
29467 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
29468 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
29469 $as_echo_n "(cached) " >&6
29470 else
29473 ac_ext=cpp
29474 ac_cpp='$CXXCPP $CPPFLAGS'
29475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29480 /* end confdefs.h. */
29481 #include <math.h>
29482 #ifdef HAVE_IEEEFP_H
29483 #include <ieeefp.h>
29484 #endif
29487 main ()
29489 isinff(0);
29491 return 0;
29493 _ACEOF
29494 if ac_fn_cxx_try_compile "$LINENO"; then :
29495 glibcxx_cv_func_isinff_use=yes
29496 else
29497 glibcxx_cv_func_isinff_use=no
29499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29500 ac_ext=c
29501 ac_cpp='$CPP $CPPFLAGS'
29502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
29511 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
29513 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
29514 for ac_func in isinff
29515 do :
29516 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
29517 if test "x$ac_cv_func_isinff" = x""yes; then :
29518 cat >>confdefs.h <<_ACEOF
29519 #define HAVE_ISINFF 1
29520 _ACEOF
29523 done
29525 else
29527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
29528 $as_echo_n "checking for _isinff declaration... " >&6; }
29529 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
29530 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
29531 $as_echo_n "(cached) " >&6
29532 else
29535 ac_ext=cpp
29536 ac_cpp='$CXXCPP $CPPFLAGS'
29537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29542 /* end confdefs.h. */
29543 #include <math.h>
29544 #ifdef HAVE_IEEEFP_H
29545 #include <ieeefp.h>
29546 #endif
29549 main ()
29551 _isinff(0);
29553 return 0;
29555 _ACEOF
29556 if ac_fn_cxx_try_compile "$LINENO"; then :
29557 glibcxx_cv_func__isinff_use=yes
29558 else
29559 glibcxx_cv_func__isinff_use=no
29561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29562 ac_ext=c
29563 ac_cpp='$CPP $CPPFLAGS'
29564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
29573 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
29575 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
29576 for ac_func in _isinff
29577 do :
29578 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
29579 if test "x$ac_cv_func__isinff" = x""yes; then :
29580 cat >>confdefs.h <<_ACEOF
29581 #define HAVE__ISINFF 1
29582 _ACEOF
29585 done
29594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
29595 $as_echo_n "checking for atan2f declaration... " >&6; }
29596 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
29597 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
29598 $as_echo_n "(cached) " >&6
29599 else
29602 ac_ext=cpp
29603 ac_cpp='$CXXCPP $CPPFLAGS'
29604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29609 /* end confdefs.h. */
29610 #include <math.h>
29612 main ()
29614 atan2f(0, 0);
29616 return 0;
29618 _ACEOF
29619 if ac_fn_cxx_try_compile "$LINENO"; then :
29620 glibcxx_cv_func_atan2f_use=yes
29621 else
29622 glibcxx_cv_func_atan2f_use=no
29624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29625 ac_ext=c
29626 ac_cpp='$CPP $CPPFLAGS'
29627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
29636 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
29638 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
29639 for ac_func in atan2f
29640 do :
29641 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
29642 if test "x$ac_cv_func_atan2f" = x""yes; then :
29643 cat >>confdefs.h <<_ACEOF
29644 #define HAVE_ATAN2F 1
29645 _ACEOF
29648 done
29650 else
29652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
29653 $as_echo_n "checking for _atan2f declaration... " >&6; }
29654 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
29655 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
29656 $as_echo_n "(cached) " >&6
29657 else
29660 ac_ext=cpp
29661 ac_cpp='$CXXCPP $CPPFLAGS'
29662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29667 /* end confdefs.h. */
29668 #include <math.h>
29670 main ()
29672 _atan2f(0, 0);
29674 return 0;
29676 _ACEOF
29677 if ac_fn_cxx_try_compile "$LINENO"; then :
29678 glibcxx_cv_func__atan2f_use=yes
29679 else
29680 glibcxx_cv_func__atan2f_use=no
29682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29683 ac_ext=c
29684 ac_cpp='$CPP $CPPFLAGS'
29685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
29694 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
29696 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
29697 for ac_func in _atan2f
29698 do :
29699 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
29700 if test "x$ac_cv_func__atan2f" = x""yes; then :
29701 cat >>confdefs.h <<_ACEOF
29702 #define HAVE__ATAN2F 1
29703 _ACEOF
29706 done
29715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
29716 $as_echo_n "checking for fabsf declaration... " >&6; }
29717 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
29718 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
29719 $as_echo_n "(cached) " >&6
29720 else
29723 ac_ext=cpp
29724 ac_cpp='$CXXCPP $CPPFLAGS'
29725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29730 /* end confdefs.h. */
29731 #include <math.h>
29732 #ifdef HAVE_IEEEFP_H
29733 #include <ieeefp.h>
29734 #endif
29737 main ()
29739 fabsf(0);
29741 return 0;
29743 _ACEOF
29744 if ac_fn_cxx_try_compile "$LINENO"; then :
29745 glibcxx_cv_func_fabsf_use=yes
29746 else
29747 glibcxx_cv_func_fabsf_use=no
29749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29750 ac_ext=c
29751 ac_cpp='$CPP $CPPFLAGS'
29752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
29761 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
29763 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
29764 for ac_func in fabsf
29765 do :
29766 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
29767 if test "x$ac_cv_func_fabsf" = x""yes; then :
29768 cat >>confdefs.h <<_ACEOF
29769 #define HAVE_FABSF 1
29770 _ACEOF
29773 done
29775 else
29777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
29778 $as_echo_n "checking for _fabsf declaration... " >&6; }
29779 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
29780 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
29781 $as_echo_n "(cached) " >&6
29782 else
29785 ac_ext=cpp
29786 ac_cpp='$CXXCPP $CPPFLAGS'
29787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29792 /* end confdefs.h. */
29793 #include <math.h>
29794 #ifdef HAVE_IEEEFP_H
29795 #include <ieeefp.h>
29796 #endif
29799 main ()
29801 _fabsf(0);
29803 return 0;
29805 _ACEOF
29806 if ac_fn_cxx_try_compile "$LINENO"; then :
29807 glibcxx_cv_func__fabsf_use=yes
29808 else
29809 glibcxx_cv_func__fabsf_use=no
29811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29812 ac_ext=c
29813 ac_cpp='$CPP $CPPFLAGS'
29814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
29823 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
29825 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
29826 for ac_func in _fabsf
29827 do :
29828 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
29829 if test "x$ac_cv_func__fabsf" = x""yes; then :
29830 cat >>confdefs.h <<_ACEOF
29831 #define HAVE__FABSF 1
29832 _ACEOF
29835 done
29844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
29845 $as_echo_n "checking for fmodf declaration... " >&6; }
29846 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
29847 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
29848 $as_echo_n "(cached) " >&6
29849 else
29852 ac_ext=cpp
29853 ac_cpp='$CXXCPP $CPPFLAGS'
29854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29859 /* end confdefs.h. */
29860 #include <math.h>
29862 main ()
29864 fmodf(0, 0);
29866 return 0;
29868 _ACEOF
29869 if ac_fn_cxx_try_compile "$LINENO"; then :
29870 glibcxx_cv_func_fmodf_use=yes
29871 else
29872 glibcxx_cv_func_fmodf_use=no
29874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29875 ac_ext=c
29876 ac_cpp='$CPP $CPPFLAGS'
29877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
29886 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
29888 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
29889 for ac_func in fmodf
29890 do :
29891 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
29892 if test "x$ac_cv_func_fmodf" = x""yes; then :
29893 cat >>confdefs.h <<_ACEOF
29894 #define HAVE_FMODF 1
29895 _ACEOF
29898 done
29900 else
29902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
29903 $as_echo_n "checking for _fmodf declaration... " >&6; }
29904 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
29905 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
29906 $as_echo_n "(cached) " >&6
29907 else
29910 ac_ext=cpp
29911 ac_cpp='$CXXCPP $CPPFLAGS'
29912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29917 /* end confdefs.h. */
29918 #include <math.h>
29920 main ()
29922 _fmodf(0, 0);
29924 return 0;
29926 _ACEOF
29927 if ac_fn_cxx_try_compile "$LINENO"; then :
29928 glibcxx_cv_func__fmodf_use=yes
29929 else
29930 glibcxx_cv_func__fmodf_use=no
29932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29933 ac_ext=c
29934 ac_cpp='$CPP $CPPFLAGS'
29935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
29944 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
29946 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
29947 for ac_func in _fmodf
29948 do :
29949 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
29950 if test "x$ac_cv_func__fmodf" = x""yes; then :
29951 cat >>confdefs.h <<_ACEOF
29952 #define HAVE__FMODF 1
29953 _ACEOF
29956 done
29965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
29966 $as_echo_n "checking for frexpf declaration... " >&6; }
29967 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
29968 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
29969 $as_echo_n "(cached) " >&6
29970 else
29973 ac_ext=cpp
29974 ac_cpp='$CXXCPP $CPPFLAGS'
29975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29980 /* end confdefs.h. */
29981 #include <math.h>
29983 main ()
29985 frexpf(0, 0);
29987 return 0;
29989 _ACEOF
29990 if ac_fn_cxx_try_compile "$LINENO"; then :
29991 glibcxx_cv_func_frexpf_use=yes
29992 else
29993 glibcxx_cv_func_frexpf_use=no
29995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29996 ac_ext=c
29997 ac_cpp='$CPP $CPPFLAGS'
29998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
30007 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
30009 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
30010 for ac_func in frexpf
30011 do :
30012 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
30013 if test "x$ac_cv_func_frexpf" = x""yes; then :
30014 cat >>confdefs.h <<_ACEOF
30015 #define HAVE_FREXPF 1
30016 _ACEOF
30019 done
30021 else
30023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
30024 $as_echo_n "checking for _frexpf declaration... " >&6; }
30025 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
30026 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
30027 $as_echo_n "(cached) " >&6
30028 else
30031 ac_ext=cpp
30032 ac_cpp='$CXXCPP $CPPFLAGS'
30033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30038 /* end confdefs.h. */
30039 #include <math.h>
30041 main ()
30043 _frexpf(0, 0);
30045 return 0;
30047 _ACEOF
30048 if ac_fn_cxx_try_compile "$LINENO"; then :
30049 glibcxx_cv_func__frexpf_use=yes
30050 else
30051 glibcxx_cv_func__frexpf_use=no
30053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30054 ac_ext=c
30055 ac_cpp='$CPP $CPPFLAGS'
30056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
30065 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
30067 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
30068 for ac_func in _frexpf
30069 do :
30070 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
30071 if test "x$ac_cv_func__frexpf" = x""yes; then :
30072 cat >>confdefs.h <<_ACEOF
30073 #define HAVE__FREXPF 1
30074 _ACEOF
30077 done
30086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
30087 $as_echo_n "checking for hypotf declaration... " >&6; }
30088 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
30089 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
30090 $as_echo_n "(cached) " >&6
30091 else
30094 ac_ext=cpp
30095 ac_cpp='$CXXCPP $CPPFLAGS'
30096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30101 /* end confdefs.h. */
30102 #include <math.h>
30104 main ()
30106 hypotf(0, 0);
30108 return 0;
30110 _ACEOF
30111 if ac_fn_cxx_try_compile "$LINENO"; then :
30112 glibcxx_cv_func_hypotf_use=yes
30113 else
30114 glibcxx_cv_func_hypotf_use=no
30116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30117 ac_ext=c
30118 ac_cpp='$CPP $CPPFLAGS'
30119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
30128 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
30130 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
30131 for ac_func in hypotf
30132 do :
30133 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
30134 if test "x$ac_cv_func_hypotf" = x""yes; then :
30135 cat >>confdefs.h <<_ACEOF
30136 #define HAVE_HYPOTF 1
30137 _ACEOF
30140 done
30142 else
30144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
30145 $as_echo_n "checking for _hypotf declaration... " >&6; }
30146 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
30147 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
30148 $as_echo_n "(cached) " >&6
30149 else
30152 ac_ext=cpp
30153 ac_cpp='$CXXCPP $CPPFLAGS'
30154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30159 /* end confdefs.h. */
30160 #include <math.h>
30162 main ()
30164 _hypotf(0, 0);
30166 return 0;
30168 _ACEOF
30169 if ac_fn_cxx_try_compile "$LINENO"; then :
30170 glibcxx_cv_func__hypotf_use=yes
30171 else
30172 glibcxx_cv_func__hypotf_use=no
30174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30175 ac_ext=c
30176 ac_cpp='$CPP $CPPFLAGS'
30177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
30186 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
30188 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
30189 for ac_func in _hypotf
30190 do :
30191 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
30192 if test "x$ac_cv_func__hypotf" = x""yes; then :
30193 cat >>confdefs.h <<_ACEOF
30194 #define HAVE__HYPOTF 1
30195 _ACEOF
30198 done
30207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
30208 $as_echo_n "checking for ldexpf declaration... " >&6; }
30209 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
30210 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
30211 $as_echo_n "(cached) " >&6
30212 else
30215 ac_ext=cpp
30216 ac_cpp='$CXXCPP $CPPFLAGS'
30217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30222 /* end confdefs.h. */
30223 #include <math.h>
30225 main ()
30227 ldexpf(0, 0);
30229 return 0;
30231 _ACEOF
30232 if ac_fn_cxx_try_compile "$LINENO"; then :
30233 glibcxx_cv_func_ldexpf_use=yes
30234 else
30235 glibcxx_cv_func_ldexpf_use=no
30237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30238 ac_ext=c
30239 ac_cpp='$CPP $CPPFLAGS'
30240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
30249 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
30251 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
30252 for ac_func in ldexpf
30253 do :
30254 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
30255 if test "x$ac_cv_func_ldexpf" = x""yes; then :
30256 cat >>confdefs.h <<_ACEOF
30257 #define HAVE_LDEXPF 1
30258 _ACEOF
30261 done
30263 else
30265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
30266 $as_echo_n "checking for _ldexpf declaration... " >&6; }
30267 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
30268 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
30269 $as_echo_n "(cached) " >&6
30270 else
30273 ac_ext=cpp
30274 ac_cpp='$CXXCPP $CPPFLAGS'
30275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30280 /* end confdefs.h. */
30281 #include <math.h>
30283 main ()
30285 _ldexpf(0, 0);
30287 return 0;
30289 _ACEOF
30290 if ac_fn_cxx_try_compile "$LINENO"; then :
30291 glibcxx_cv_func__ldexpf_use=yes
30292 else
30293 glibcxx_cv_func__ldexpf_use=no
30295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30296 ac_ext=c
30297 ac_cpp='$CPP $CPPFLAGS'
30298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
30307 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
30309 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
30310 for ac_func in _ldexpf
30311 do :
30312 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
30313 if test "x$ac_cv_func__ldexpf" = x""yes; then :
30314 cat >>confdefs.h <<_ACEOF
30315 #define HAVE__LDEXPF 1
30316 _ACEOF
30319 done
30328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
30329 $as_echo_n "checking for logf declaration... " >&6; }
30330 if test x${glibcxx_cv_func_logf_use+set} != xset; then
30331 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
30332 $as_echo_n "(cached) " >&6
30333 else
30336 ac_ext=cpp
30337 ac_cpp='$CXXCPP $CPPFLAGS'
30338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30343 /* end confdefs.h. */
30344 #include <math.h>
30345 #ifdef HAVE_IEEEFP_H
30346 #include <ieeefp.h>
30347 #endif
30350 main ()
30352 logf(0);
30354 return 0;
30356 _ACEOF
30357 if ac_fn_cxx_try_compile "$LINENO"; then :
30358 glibcxx_cv_func_logf_use=yes
30359 else
30360 glibcxx_cv_func_logf_use=no
30362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30363 ac_ext=c
30364 ac_cpp='$CPP $CPPFLAGS'
30365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
30374 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
30376 if test x$glibcxx_cv_func_logf_use = x"yes"; then
30377 for ac_func in logf
30378 do :
30379 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
30380 if test "x$ac_cv_func_logf" = x""yes; then :
30381 cat >>confdefs.h <<_ACEOF
30382 #define HAVE_LOGF 1
30383 _ACEOF
30386 done
30388 else
30390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
30391 $as_echo_n "checking for _logf declaration... " >&6; }
30392 if test x${glibcxx_cv_func__logf_use+set} != xset; then
30393 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
30394 $as_echo_n "(cached) " >&6
30395 else
30398 ac_ext=cpp
30399 ac_cpp='$CXXCPP $CPPFLAGS'
30400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30405 /* end confdefs.h. */
30406 #include <math.h>
30407 #ifdef HAVE_IEEEFP_H
30408 #include <ieeefp.h>
30409 #endif
30412 main ()
30414 _logf(0);
30416 return 0;
30418 _ACEOF
30419 if ac_fn_cxx_try_compile "$LINENO"; then :
30420 glibcxx_cv_func__logf_use=yes
30421 else
30422 glibcxx_cv_func__logf_use=no
30424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30425 ac_ext=c
30426 ac_cpp='$CPP $CPPFLAGS'
30427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
30436 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
30438 if test x$glibcxx_cv_func__logf_use = x"yes"; then
30439 for ac_func in _logf
30440 do :
30441 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
30442 if test "x$ac_cv_func__logf" = x""yes; then :
30443 cat >>confdefs.h <<_ACEOF
30444 #define HAVE__LOGF 1
30445 _ACEOF
30448 done
30457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
30458 $as_echo_n "checking for log10f declaration... " >&6; }
30459 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
30460 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
30461 $as_echo_n "(cached) " >&6
30462 else
30465 ac_ext=cpp
30466 ac_cpp='$CXXCPP $CPPFLAGS'
30467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30472 /* end confdefs.h. */
30473 #include <math.h>
30474 #ifdef HAVE_IEEEFP_H
30475 #include <ieeefp.h>
30476 #endif
30479 main ()
30481 log10f(0);
30483 return 0;
30485 _ACEOF
30486 if ac_fn_cxx_try_compile "$LINENO"; then :
30487 glibcxx_cv_func_log10f_use=yes
30488 else
30489 glibcxx_cv_func_log10f_use=no
30491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30492 ac_ext=c
30493 ac_cpp='$CPP $CPPFLAGS'
30494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
30503 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
30505 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
30506 for ac_func in log10f
30507 do :
30508 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
30509 if test "x$ac_cv_func_log10f" = x""yes; then :
30510 cat >>confdefs.h <<_ACEOF
30511 #define HAVE_LOG10F 1
30512 _ACEOF
30515 done
30517 else
30519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
30520 $as_echo_n "checking for _log10f declaration... " >&6; }
30521 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
30522 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
30523 $as_echo_n "(cached) " >&6
30524 else
30527 ac_ext=cpp
30528 ac_cpp='$CXXCPP $CPPFLAGS'
30529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30534 /* end confdefs.h. */
30535 #include <math.h>
30536 #ifdef HAVE_IEEEFP_H
30537 #include <ieeefp.h>
30538 #endif
30541 main ()
30543 _log10f(0);
30545 return 0;
30547 _ACEOF
30548 if ac_fn_cxx_try_compile "$LINENO"; then :
30549 glibcxx_cv_func__log10f_use=yes
30550 else
30551 glibcxx_cv_func__log10f_use=no
30553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30554 ac_ext=c
30555 ac_cpp='$CPP $CPPFLAGS'
30556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
30565 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
30567 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
30568 for ac_func in _log10f
30569 do :
30570 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
30571 if test "x$ac_cv_func__log10f" = x""yes; then :
30572 cat >>confdefs.h <<_ACEOF
30573 #define HAVE__LOG10F 1
30574 _ACEOF
30577 done
30586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
30587 $as_echo_n "checking for modff declaration... " >&6; }
30588 if test x${glibcxx_cv_func_modff_use+set} != xset; then
30589 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
30590 $as_echo_n "(cached) " >&6
30591 else
30594 ac_ext=cpp
30595 ac_cpp='$CXXCPP $CPPFLAGS'
30596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30601 /* end confdefs.h. */
30602 #include <math.h>
30604 main ()
30606 modff(0, 0);
30608 return 0;
30610 _ACEOF
30611 if ac_fn_cxx_try_compile "$LINENO"; then :
30612 glibcxx_cv_func_modff_use=yes
30613 else
30614 glibcxx_cv_func_modff_use=no
30616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30617 ac_ext=c
30618 ac_cpp='$CPP $CPPFLAGS'
30619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
30628 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
30630 if test x$glibcxx_cv_func_modff_use = x"yes"; then
30631 for ac_func in modff
30632 do :
30633 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
30634 if test "x$ac_cv_func_modff" = x""yes; then :
30635 cat >>confdefs.h <<_ACEOF
30636 #define HAVE_MODFF 1
30637 _ACEOF
30640 done
30642 else
30644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
30645 $as_echo_n "checking for _modff declaration... " >&6; }
30646 if test x${glibcxx_cv_func__modff_use+set} != xset; then
30647 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
30648 $as_echo_n "(cached) " >&6
30649 else
30652 ac_ext=cpp
30653 ac_cpp='$CXXCPP $CPPFLAGS'
30654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30659 /* end confdefs.h. */
30660 #include <math.h>
30662 main ()
30664 _modff(0, 0);
30666 return 0;
30668 _ACEOF
30669 if ac_fn_cxx_try_compile "$LINENO"; then :
30670 glibcxx_cv_func__modff_use=yes
30671 else
30672 glibcxx_cv_func__modff_use=no
30674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30675 ac_ext=c
30676 ac_cpp='$CPP $CPPFLAGS'
30677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
30686 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
30688 if test x$glibcxx_cv_func__modff_use = x"yes"; then
30689 for ac_func in _modff
30690 do :
30691 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
30692 if test "x$ac_cv_func__modff" = x""yes; then :
30693 cat >>confdefs.h <<_ACEOF
30694 #define HAVE__MODFF 1
30695 _ACEOF
30698 done
30707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
30708 $as_echo_n "checking for modf declaration... " >&6; }
30709 if test x${glibcxx_cv_func_modf_use+set} != xset; then
30710 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
30711 $as_echo_n "(cached) " >&6
30712 else
30715 ac_ext=cpp
30716 ac_cpp='$CXXCPP $CPPFLAGS'
30717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30722 /* end confdefs.h. */
30723 #include <math.h>
30725 main ()
30727 modf(0, 0);
30729 return 0;
30731 _ACEOF
30732 if ac_fn_cxx_try_compile "$LINENO"; then :
30733 glibcxx_cv_func_modf_use=yes
30734 else
30735 glibcxx_cv_func_modf_use=no
30737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30738 ac_ext=c
30739 ac_cpp='$CPP $CPPFLAGS'
30740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
30749 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
30751 if test x$glibcxx_cv_func_modf_use = x"yes"; then
30752 for ac_func in modf
30753 do :
30754 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
30755 if test "x$ac_cv_func_modf" = x""yes; then :
30756 cat >>confdefs.h <<_ACEOF
30757 #define HAVE_MODF 1
30758 _ACEOF
30761 done
30763 else
30765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
30766 $as_echo_n "checking for _modf declaration... " >&6; }
30767 if test x${glibcxx_cv_func__modf_use+set} != xset; then
30768 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
30769 $as_echo_n "(cached) " >&6
30770 else
30773 ac_ext=cpp
30774 ac_cpp='$CXXCPP $CPPFLAGS'
30775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30780 /* end confdefs.h. */
30781 #include <math.h>
30783 main ()
30785 _modf(0, 0);
30787 return 0;
30789 _ACEOF
30790 if ac_fn_cxx_try_compile "$LINENO"; then :
30791 glibcxx_cv_func__modf_use=yes
30792 else
30793 glibcxx_cv_func__modf_use=no
30795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30796 ac_ext=c
30797 ac_cpp='$CPP $CPPFLAGS'
30798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
30807 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
30809 if test x$glibcxx_cv_func__modf_use = x"yes"; then
30810 for ac_func in _modf
30811 do :
30812 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
30813 if test "x$ac_cv_func__modf" = x""yes; then :
30814 cat >>confdefs.h <<_ACEOF
30815 #define HAVE__MODF 1
30816 _ACEOF
30819 done
30828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
30829 $as_echo_n "checking for powf declaration... " >&6; }
30830 if test x${glibcxx_cv_func_powf_use+set} != xset; then
30831 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
30832 $as_echo_n "(cached) " >&6
30833 else
30836 ac_ext=cpp
30837 ac_cpp='$CXXCPP $CPPFLAGS'
30838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30843 /* end confdefs.h. */
30844 #include <math.h>
30846 main ()
30848 powf(0, 0);
30850 return 0;
30852 _ACEOF
30853 if ac_fn_cxx_try_compile "$LINENO"; then :
30854 glibcxx_cv_func_powf_use=yes
30855 else
30856 glibcxx_cv_func_powf_use=no
30858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30859 ac_ext=c
30860 ac_cpp='$CPP $CPPFLAGS'
30861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
30870 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
30872 if test x$glibcxx_cv_func_powf_use = x"yes"; then
30873 for ac_func in powf
30874 do :
30875 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
30876 if test "x$ac_cv_func_powf" = x""yes; then :
30877 cat >>confdefs.h <<_ACEOF
30878 #define HAVE_POWF 1
30879 _ACEOF
30882 done
30884 else
30886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
30887 $as_echo_n "checking for _powf declaration... " >&6; }
30888 if test x${glibcxx_cv_func__powf_use+set} != xset; then
30889 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
30890 $as_echo_n "(cached) " >&6
30891 else
30894 ac_ext=cpp
30895 ac_cpp='$CXXCPP $CPPFLAGS'
30896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30901 /* end confdefs.h. */
30902 #include <math.h>
30904 main ()
30906 _powf(0, 0);
30908 return 0;
30910 _ACEOF
30911 if ac_fn_cxx_try_compile "$LINENO"; then :
30912 glibcxx_cv_func__powf_use=yes
30913 else
30914 glibcxx_cv_func__powf_use=no
30916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30917 ac_ext=c
30918 ac_cpp='$CPP $CPPFLAGS'
30919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
30928 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
30930 if test x$glibcxx_cv_func__powf_use = x"yes"; then
30931 for ac_func in _powf
30932 do :
30933 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
30934 if test "x$ac_cv_func__powf" = x""yes; then :
30935 cat >>confdefs.h <<_ACEOF
30936 #define HAVE__POWF 1
30937 _ACEOF
30940 done
30949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
30950 $as_echo_n "checking for sqrtf declaration... " >&6; }
30951 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
30952 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
30953 $as_echo_n "(cached) " >&6
30954 else
30957 ac_ext=cpp
30958 ac_cpp='$CXXCPP $CPPFLAGS'
30959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30964 /* end confdefs.h. */
30965 #include <math.h>
30966 #ifdef HAVE_IEEEFP_H
30967 #include <ieeefp.h>
30968 #endif
30971 main ()
30973 sqrtf(0);
30975 return 0;
30977 _ACEOF
30978 if ac_fn_cxx_try_compile "$LINENO"; then :
30979 glibcxx_cv_func_sqrtf_use=yes
30980 else
30981 glibcxx_cv_func_sqrtf_use=no
30983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30984 ac_ext=c
30985 ac_cpp='$CPP $CPPFLAGS'
30986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
30995 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
30997 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
30998 for ac_func in sqrtf
30999 do :
31000 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
31001 if test "x$ac_cv_func_sqrtf" = x""yes; then :
31002 cat >>confdefs.h <<_ACEOF
31003 #define HAVE_SQRTF 1
31004 _ACEOF
31007 done
31009 else
31011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
31012 $as_echo_n "checking for _sqrtf declaration... " >&6; }
31013 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
31014 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
31015 $as_echo_n "(cached) " >&6
31016 else
31019 ac_ext=cpp
31020 ac_cpp='$CXXCPP $CPPFLAGS'
31021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31026 /* end confdefs.h. */
31027 #include <math.h>
31028 #ifdef HAVE_IEEEFP_H
31029 #include <ieeefp.h>
31030 #endif
31033 main ()
31035 _sqrtf(0);
31037 return 0;
31039 _ACEOF
31040 if ac_fn_cxx_try_compile "$LINENO"; then :
31041 glibcxx_cv_func__sqrtf_use=yes
31042 else
31043 glibcxx_cv_func__sqrtf_use=no
31045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31046 ac_ext=c
31047 ac_cpp='$CPP $CPPFLAGS'
31048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
31057 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
31059 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
31060 for ac_func in _sqrtf
31061 do :
31062 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
31063 if test "x$ac_cv_func__sqrtf" = x""yes; then :
31064 cat >>confdefs.h <<_ACEOF
31065 #define HAVE__SQRTF 1
31066 _ACEOF
31069 done
31078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
31079 $as_echo_n "checking for sincosf declaration... " >&6; }
31080 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
31081 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
31082 $as_echo_n "(cached) " >&6
31083 else
31086 ac_ext=cpp
31087 ac_cpp='$CXXCPP $CPPFLAGS'
31088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31093 /* end confdefs.h. */
31094 #include <math.h>
31096 main ()
31098 sincosf(0, 0, 0);
31100 return 0;
31102 _ACEOF
31103 if ac_fn_cxx_try_compile "$LINENO"; then :
31104 glibcxx_cv_func_sincosf_use=yes
31105 else
31106 glibcxx_cv_func_sincosf_use=no
31108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31109 ac_ext=c
31110 ac_cpp='$CPP $CPPFLAGS'
31111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
31120 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
31122 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
31123 for ac_func in sincosf
31124 do :
31125 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
31126 if test "x$ac_cv_func_sincosf" = x""yes; then :
31127 cat >>confdefs.h <<_ACEOF
31128 #define HAVE_SINCOSF 1
31129 _ACEOF
31132 done
31134 else
31136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
31137 $as_echo_n "checking for _sincosf declaration... " >&6; }
31138 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
31139 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
31140 $as_echo_n "(cached) " >&6
31141 else
31144 ac_ext=cpp
31145 ac_cpp='$CXXCPP $CPPFLAGS'
31146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31151 /* end confdefs.h. */
31152 #include <math.h>
31154 main ()
31156 _sincosf(0, 0, 0);
31158 return 0;
31160 _ACEOF
31161 if ac_fn_cxx_try_compile "$LINENO"; then :
31162 glibcxx_cv_func__sincosf_use=yes
31163 else
31164 glibcxx_cv_func__sincosf_use=no
31166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31167 ac_ext=c
31168 ac_cpp='$CPP $CPPFLAGS'
31169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
31178 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
31180 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
31181 for ac_func in _sincosf
31182 do :
31183 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
31184 if test "x$ac_cv_func__sincosf" = x""yes; then :
31185 cat >>confdefs.h <<_ACEOF
31186 #define HAVE__SINCOSF 1
31187 _ACEOF
31190 done
31199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
31200 $as_echo_n "checking for finitef declaration... " >&6; }
31201 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
31202 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
31203 $as_echo_n "(cached) " >&6
31204 else
31207 ac_ext=cpp
31208 ac_cpp='$CXXCPP $CPPFLAGS'
31209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31214 /* end confdefs.h. */
31215 #include <math.h>
31216 #ifdef HAVE_IEEEFP_H
31217 #include <ieeefp.h>
31218 #endif
31221 main ()
31223 finitef(0);
31225 return 0;
31227 _ACEOF
31228 if ac_fn_cxx_try_compile "$LINENO"; then :
31229 glibcxx_cv_func_finitef_use=yes
31230 else
31231 glibcxx_cv_func_finitef_use=no
31233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31234 ac_ext=c
31235 ac_cpp='$CPP $CPPFLAGS'
31236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
31245 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
31247 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
31248 for ac_func in finitef
31249 do :
31250 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
31251 if test "x$ac_cv_func_finitef" = x""yes; then :
31252 cat >>confdefs.h <<_ACEOF
31253 #define HAVE_FINITEF 1
31254 _ACEOF
31257 done
31259 else
31261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
31262 $as_echo_n "checking for _finitef declaration... " >&6; }
31263 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
31264 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
31265 $as_echo_n "(cached) " >&6
31266 else
31269 ac_ext=cpp
31270 ac_cpp='$CXXCPP $CPPFLAGS'
31271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31276 /* end confdefs.h. */
31277 #include <math.h>
31278 #ifdef HAVE_IEEEFP_H
31279 #include <ieeefp.h>
31280 #endif
31283 main ()
31285 _finitef(0);
31287 return 0;
31289 _ACEOF
31290 if ac_fn_cxx_try_compile "$LINENO"; then :
31291 glibcxx_cv_func__finitef_use=yes
31292 else
31293 glibcxx_cv_func__finitef_use=no
31295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31296 ac_ext=c
31297 ac_cpp='$CPP $CPPFLAGS'
31298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
31307 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
31309 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
31310 for ac_func in _finitef
31311 do :
31312 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
31313 if test "x$ac_cv_func__finitef" = x""yes; then :
31314 cat >>confdefs.h <<_ACEOF
31315 #define HAVE__FINITEF 1
31316 _ACEOF
31319 done
31328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
31329 $as_echo_n "checking for long double trig functions... " >&6; }
31330 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
31331 $as_echo_n "(cached) " >&6
31332 else
31335 ac_ext=cpp
31336 ac_cpp='$CXXCPP $CPPFLAGS'
31337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31342 /* end confdefs.h. */
31343 #include <math.h>
31345 main ()
31347 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
31349 return 0;
31351 _ACEOF
31352 if ac_fn_cxx_try_compile "$LINENO"; then :
31353 glibcxx_cv_func_long_double_trig_use=yes
31354 else
31355 glibcxx_cv_func_long_double_trig_use=no
31357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31358 ac_ext=c
31359 ac_cpp='$CPP $CPPFLAGS'
31360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
31367 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
31368 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
31369 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
31370 do :
31371 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31372 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31373 eval as_val=\$$as_ac_var
31374 if test "x$as_val" = x""yes; then :
31375 cat >>confdefs.h <<_ACEOF
31376 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31377 _ACEOF
31380 done
31382 else
31383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
31384 $as_echo_n "checking for _long double trig functions... " >&6; }
31385 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
31386 $as_echo_n "(cached) " >&6
31387 else
31390 ac_ext=cpp
31391 ac_cpp='$CXXCPP $CPPFLAGS'
31392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31397 /* end confdefs.h. */
31398 #include <math.h>
31400 main ()
31402 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
31404 return 0;
31406 _ACEOF
31407 if ac_fn_cxx_try_compile "$LINENO"; then :
31408 glibcxx_cv_func__long_double_trig_use=yes
31409 else
31410 glibcxx_cv_func__long_double_trig_use=no
31412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31413 ac_ext=c
31414 ac_cpp='$CPP $CPPFLAGS'
31415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
31422 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
31423 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
31424 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
31425 do :
31426 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31427 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31428 eval as_val=\$$as_ac_var
31429 if test "x$as_val" = x""yes; then :
31430 cat >>confdefs.h <<_ACEOF
31431 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31432 _ACEOF
31435 done
31444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
31445 $as_echo_n "checking for long double round functions... " >&6; }
31446 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
31447 $as_echo_n "(cached) " >&6
31448 else
31451 ac_ext=cpp
31452 ac_cpp='$CXXCPP $CPPFLAGS'
31453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31458 /* end confdefs.h. */
31459 #include <math.h>
31461 main ()
31463 ceill (0); floorl (0);
31465 return 0;
31467 _ACEOF
31468 if ac_fn_cxx_try_compile "$LINENO"; then :
31469 glibcxx_cv_func_long_double_round_use=yes
31470 else
31471 glibcxx_cv_func_long_double_round_use=no
31473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31474 ac_ext=c
31475 ac_cpp='$CPP $CPPFLAGS'
31476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
31483 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
31484 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
31485 for ac_func in ceill floorl
31486 do :
31487 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31488 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31489 eval as_val=\$$as_ac_var
31490 if test "x$as_val" = x""yes; then :
31491 cat >>confdefs.h <<_ACEOF
31492 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31493 _ACEOF
31496 done
31498 else
31499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
31500 $as_echo_n "checking for _long double round functions... " >&6; }
31501 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
31502 $as_echo_n "(cached) " >&6
31503 else
31506 ac_ext=cpp
31507 ac_cpp='$CXXCPP $CPPFLAGS'
31508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31513 /* end confdefs.h. */
31514 #include <math.h>
31516 main ()
31518 _ceill (0); _floorl (0);
31520 return 0;
31522 _ACEOF
31523 if ac_fn_cxx_try_compile "$LINENO"; then :
31524 glibcxx_cv_func__long_double_round_use=yes
31525 else
31526 glibcxx_cv_func__long_double_round_use=no
31528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31529 ac_ext=c
31530 ac_cpp='$CPP $CPPFLAGS'
31531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
31538 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
31539 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
31540 for ac_func in _ceill _floorl
31541 do :
31542 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31543 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31544 eval as_val=\$$as_ac_var
31545 if test "x$as_val" = x""yes; then :
31546 cat >>confdefs.h <<_ACEOF
31547 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31548 _ACEOF
31551 done
31561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
31562 $as_echo_n "checking for isnanl declaration... " >&6; }
31563 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
31564 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
31565 $as_echo_n "(cached) " >&6
31566 else
31569 ac_ext=cpp
31570 ac_cpp='$CXXCPP $CPPFLAGS'
31571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31576 /* end confdefs.h. */
31577 #include <math.h>
31578 #ifdef HAVE_IEEEFP_H
31579 #include <ieeefp.h>
31580 #endif
31583 main ()
31585 isnanl(0);
31587 return 0;
31589 _ACEOF
31590 if ac_fn_cxx_try_compile "$LINENO"; then :
31591 glibcxx_cv_func_isnanl_use=yes
31592 else
31593 glibcxx_cv_func_isnanl_use=no
31595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31596 ac_ext=c
31597 ac_cpp='$CPP $CPPFLAGS'
31598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
31607 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
31609 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
31610 for ac_func in isnanl
31611 do :
31612 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
31613 if test "x$ac_cv_func_isnanl" = x""yes; then :
31614 cat >>confdefs.h <<_ACEOF
31615 #define HAVE_ISNANL 1
31616 _ACEOF
31619 done
31621 else
31623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
31624 $as_echo_n "checking for _isnanl declaration... " >&6; }
31625 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
31626 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
31627 $as_echo_n "(cached) " >&6
31628 else
31631 ac_ext=cpp
31632 ac_cpp='$CXXCPP $CPPFLAGS'
31633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31638 /* end confdefs.h. */
31639 #include <math.h>
31640 #ifdef HAVE_IEEEFP_H
31641 #include <ieeefp.h>
31642 #endif
31645 main ()
31647 _isnanl(0);
31649 return 0;
31651 _ACEOF
31652 if ac_fn_cxx_try_compile "$LINENO"; then :
31653 glibcxx_cv_func__isnanl_use=yes
31654 else
31655 glibcxx_cv_func__isnanl_use=no
31657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31658 ac_ext=c
31659 ac_cpp='$CPP $CPPFLAGS'
31660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
31669 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
31671 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
31672 for ac_func in _isnanl
31673 do :
31674 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
31675 if test "x$ac_cv_func__isnanl" = x""yes; then :
31676 cat >>confdefs.h <<_ACEOF
31677 #define HAVE__ISNANL 1
31678 _ACEOF
31681 done
31690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
31691 $as_echo_n "checking for isinfl declaration... " >&6; }
31692 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
31693 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
31694 $as_echo_n "(cached) " >&6
31695 else
31698 ac_ext=cpp
31699 ac_cpp='$CXXCPP $CPPFLAGS'
31700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31705 /* end confdefs.h. */
31706 #include <math.h>
31707 #ifdef HAVE_IEEEFP_H
31708 #include <ieeefp.h>
31709 #endif
31712 main ()
31714 isinfl(0);
31716 return 0;
31718 _ACEOF
31719 if ac_fn_cxx_try_compile "$LINENO"; then :
31720 glibcxx_cv_func_isinfl_use=yes
31721 else
31722 glibcxx_cv_func_isinfl_use=no
31724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31725 ac_ext=c
31726 ac_cpp='$CPP $CPPFLAGS'
31727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
31736 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
31738 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
31739 for ac_func in isinfl
31740 do :
31741 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
31742 if test "x$ac_cv_func_isinfl" = x""yes; then :
31743 cat >>confdefs.h <<_ACEOF
31744 #define HAVE_ISINFL 1
31745 _ACEOF
31748 done
31750 else
31752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
31753 $as_echo_n "checking for _isinfl declaration... " >&6; }
31754 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
31755 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
31756 $as_echo_n "(cached) " >&6
31757 else
31760 ac_ext=cpp
31761 ac_cpp='$CXXCPP $CPPFLAGS'
31762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31767 /* end confdefs.h. */
31768 #include <math.h>
31769 #ifdef HAVE_IEEEFP_H
31770 #include <ieeefp.h>
31771 #endif
31774 main ()
31776 _isinfl(0);
31778 return 0;
31780 _ACEOF
31781 if ac_fn_cxx_try_compile "$LINENO"; then :
31782 glibcxx_cv_func__isinfl_use=yes
31783 else
31784 glibcxx_cv_func__isinfl_use=no
31786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31787 ac_ext=c
31788 ac_cpp='$CPP $CPPFLAGS'
31789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
31798 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
31800 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
31801 for ac_func in _isinfl
31802 do :
31803 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
31804 if test "x$ac_cv_func__isinfl" = x""yes; then :
31805 cat >>confdefs.h <<_ACEOF
31806 #define HAVE__ISINFL 1
31807 _ACEOF
31810 done
31819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
31820 $as_echo_n "checking for atan2l declaration... " >&6; }
31821 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
31822 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
31823 $as_echo_n "(cached) " >&6
31824 else
31827 ac_ext=cpp
31828 ac_cpp='$CXXCPP $CPPFLAGS'
31829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31834 /* end confdefs.h. */
31835 #include <math.h>
31837 main ()
31839 atan2l(0, 0);
31841 return 0;
31843 _ACEOF
31844 if ac_fn_cxx_try_compile "$LINENO"; then :
31845 glibcxx_cv_func_atan2l_use=yes
31846 else
31847 glibcxx_cv_func_atan2l_use=no
31849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31850 ac_ext=c
31851 ac_cpp='$CPP $CPPFLAGS'
31852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
31861 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
31863 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
31864 for ac_func in atan2l
31865 do :
31866 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
31867 if test "x$ac_cv_func_atan2l" = x""yes; then :
31868 cat >>confdefs.h <<_ACEOF
31869 #define HAVE_ATAN2L 1
31870 _ACEOF
31873 done
31875 else
31877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
31878 $as_echo_n "checking for _atan2l declaration... " >&6; }
31879 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
31880 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
31881 $as_echo_n "(cached) " >&6
31882 else
31885 ac_ext=cpp
31886 ac_cpp='$CXXCPP $CPPFLAGS'
31887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31892 /* end confdefs.h. */
31893 #include <math.h>
31895 main ()
31897 _atan2l(0, 0);
31899 return 0;
31901 _ACEOF
31902 if ac_fn_cxx_try_compile "$LINENO"; then :
31903 glibcxx_cv_func__atan2l_use=yes
31904 else
31905 glibcxx_cv_func__atan2l_use=no
31907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31908 ac_ext=c
31909 ac_cpp='$CPP $CPPFLAGS'
31910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
31919 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
31921 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
31922 for ac_func in _atan2l
31923 do :
31924 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
31925 if test "x$ac_cv_func__atan2l" = x""yes; then :
31926 cat >>confdefs.h <<_ACEOF
31927 #define HAVE__ATAN2L 1
31928 _ACEOF
31931 done
31940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
31941 $as_echo_n "checking for expl declaration... " >&6; }
31942 if test x${glibcxx_cv_func_expl_use+set} != xset; then
31943 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
31944 $as_echo_n "(cached) " >&6
31945 else
31948 ac_ext=cpp
31949 ac_cpp='$CXXCPP $CPPFLAGS'
31950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31955 /* end confdefs.h. */
31956 #include <math.h>
31957 #ifdef HAVE_IEEEFP_H
31958 #include <ieeefp.h>
31959 #endif
31962 main ()
31964 expl(0);
31966 return 0;
31968 _ACEOF
31969 if ac_fn_cxx_try_compile "$LINENO"; then :
31970 glibcxx_cv_func_expl_use=yes
31971 else
31972 glibcxx_cv_func_expl_use=no
31974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31975 ac_ext=c
31976 ac_cpp='$CPP $CPPFLAGS'
31977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
31986 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
31988 if test x$glibcxx_cv_func_expl_use = x"yes"; then
31989 for ac_func in expl
31990 do :
31991 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
31992 if test "x$ac_cv_func_expl" = x""yes; then :
31993 cat >>confdefs.h <<_ACEOF
31994 #define HAVE_EXPL 1
31995 _ACEOF
31998 done
32000 else
32002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
32003 $as_echo_n "checking for _expl declaration... " >&6; }
32004 if test x${glibcxx_cv_func__expl_use+set} != xset; then
32005 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
32006 $as_echo_n "(cached) " >&6
32007 else
32010 ac_ext=cpp
32011 ac_cpp='$CXXCPP $CPPFLAGS'
32012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32017 /* end confdefs.h. */
32018 #include <math.h>
32019 #ifdef HAVE_IEEEFP_H
32020 #include <ieeefp.h>
32021 #endif
32024 main ()
32026 _expl(0);
32028 return 0;
32030 _ACEOF
32031 if ac_fn_cxx_try_compile "$LINENO"; then :
32032 glibcxx_cv_func__expl_use=yes
32033 else
32034 glibcxx_cv_func__expl_use=no
32036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32037 ac_ext=c
32038 ac_cpp='$CPP $CPPFLAGS'
32039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
32048 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
32050 if test x$glibcxx_cv_func__expl_use = x"yes"; then
32051 for ac_func in _expl
32052 do :
32053 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
32054 if test "x$ac_cv_func__expl" = x""yes; then :
32055 cat >>confdefs.h <<_ACEOF
32056 #define HAVE__EXPL 1
32057 _ACEOF
32060 done
32069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
32070 $as_echo_n "checking for fabsl declaration... " >&6; }
32071 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
32072 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
32073 $as_echo_n "(cached) " >&6
32074 else
32077 ac_ext=cpp
32078 ac_cpp='$CXXCPP $CPPFLAGS'
32079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32084 /* end confdefs.h. */
32085 #include <math.h>
32086 #ifdef HAVE_IEEEFP_H
32087 #include <ieeefp.h>
32088 #endif
32091 main ()
32093 fabsl(0);
32095 return 0;
32097 _ACEOF
32098 if ac_fn_cxx_try_compile "$LINENO"; then :
32099 glibcxx_cv_func_fabsl_use=yes
32100 else
32101 glibcxx_cv_func_fabsl_use=no
32103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32104 ac_ext=c
32105 ac_cpp='$CPP $CPPFLAGS'
32106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
32115 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
32117 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
32118 for ac_func in fabsl
32119 do :
32120 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
32121 if test "x$ac_cv_func_fabsl" = x""yes; then :
32122 cat >>confdefs.h <<_ACEOF
32123 #define HAVE_FABSL 1
32124 _ACEOF
32127 done
32129 else
32131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
32132 $as_echo_n "checking for _fabsl declaration... " >&6; }
32133 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
32134 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
32135 $as_echo_n "(cached) " >&6
32136 else
32139 ac_ext=cpp
32140 ac_cpp='$CXXCPP $CPPFLAGS'
32141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32146 /* end confdefs.h. */
32147 #include <math.h>
32148 #ifdef HAVE_IEEEFP_H
32149 #include <ieeefp.h>
32150 #endif
32153 main ()
32155 _fabsl(0);
32157 return 0;
32159 _ACEOF
32160 if ac_fn_cxx_try_compile "$LINENO"; then :
32161 glibcxx_cv_func__fabsl_use=yes
32162 else
32163 glibcxx_cv_func__fabsl_use=no
32165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32166 ac_ext=c
32167 ac_cpp='$CPP $CPPFLAGS'
32168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
32177 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
32179 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
32180 for ac_func in _fabsl
32181 do :
32182 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
32183 if test "x$ac_cv_func__fabsl" = x""yes; then :
32184 cat >>confdefs.h <<_ACEOF
32185 #define HAVE__FABSL 1
32186 _ACEOF
32189 done
32198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
32199 $as_echo_n "checking for fmodl declaration... " >&6; }
32200 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
32201 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
32202 $as_echo_n "(cached) " >&6
32203 else
32206 ac_ext=cpp
32207 ac_cpp='$CXXCPP $CPPFLAGS'
32208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32213 /* end confdefs.h. */
32214 #include <math.h>
32216 main ()
32218 fmodl(0, 0);
32220 return 0;
32222 _ACEOF
32223 if ac_fn_cxx_try_compile "$LINENO"; then :
32224 glibcxx_cv_func_fmodl_use=yes
32225 else
32226 glibcxx_cv_func_fmodl_use=no
32228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32229 ac_ext=c
32230 ac_cpp='$CPP $CPPFLAGS'
32231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
32240 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
32242 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
32243 for ac_func in fmodl
32244 do :
32245 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
32246 if test "x$ac_cv_func_fmodl" = x""yes; then :
32247 cat >>confdefs.h <<_ACEOF
32248 #define HAVE_FMODL 1
32249 _ACEOF
32252 done
32254 else
32256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
32257 $as_echo_n "checking for _fmodl declaration... " >&6; }
32258 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
32259 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
32260 $as_echo_n "(cached) " >&6
32261 else
32264 ac_ext=cpp
32265 ac_cpp='$CXXCPP $CPPFLAGS'
32266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32271 /* end confdefs.h. */
32272 #include <math.h>
32274 main ()
32276 _fmodl(0, 0);
32278 return 0;
32280 _ACEOF
32281 if ac_fn_cxx_try_compile "$LINENO"; then :
32282 glibcxx_cv_func__fmodl_use=yes
32283 else
32284 glibcxx_cv_func__fmodl_use=no
32286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32287 ac_ext=c
32288 ac_cpp='$CPP $CPPFLAGS'
32289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
32298 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
32300 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
32301 for ac_func in _fmodl
32302 do :
32303 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
32304 if test "x$ac_cv_func__fmodl" = x""yes; then :
32305 cat >>confdefs.h <<_ACEOF
32306 #define HAVE__FMODL 1
32307 _ACEOF
32310 done
32319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
32320 $as_echo_n "checking for frexpl declaration... " >&6; }
32321 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
32322 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
32323 $as_echo_n "(cached) " >&6
32324 else
32327 ac_ext=cpp
32328 ac_cpp='$CXXCPP $CPPFLAGS'
32329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32334 /* end confdefs.h. */
32335 #include <math.h>
32337 main ()
32339 frexpl(0, 0);
32341 return 0;
32343 _ACEOF
32344 if ac_fn_cxx_try_compile "$LINENO"; then :
32345 glibcxx_cv_func_frexpl_use=yes
32346 else
32347 glibcxx_cv_func_frexpl_use=no
32349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32350 ac_ext=c
32351 ac_cpp='$CPP $CPPFLAGS'
32352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
32361 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
32363 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
32364 for ac_func in frexpl
32365 do :
32366 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
32367 if test "x$ac_cv_func_frexpl" = x""yes; then :
32368 cat >>confdefs.h <<_ACEOF
32369 #define HAVE_FREXPL 1
32370 _ACEOF
32373 done
32375 else
32377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
32378 $as_echo_n "checking for _frexpl declaration... " >&6; }
32379 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
32380 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
32381 $as_echo_n "(cached) " >&6
32382 else
32385 ac_ext=cpp
32386 ac_cpp='$CXXCPP $CPPFLAGS'
32387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32392 /* end confdefs.h. */
32393 #include <math.h>
32395 main ()
32397 _frexpl(0, 0);
32399 return 0;
32401 _ACEOF
32402 if ac_fn_cxx_try_compile "$LINENO"; then :
32403 glibcxx_cv_func__frexpl_use=yes
32404 else
32405 glibcxx_cv_func__frexpl_use=no
32407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32408 ac_ext=c
32409 ac_cpp='$CPP $CPPFLAGS'
32410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
32419 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
32421 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
32422 for ac_func in _frexpl
32423 do :
32424 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
32425 if test "x$ac_cv_func__frexpl" = x""yes; then :
32426 cat >>confdefs.h <<_ACEOF
32427 #define HAVE__FREXPL 1
32428 _ACEOF
32431 done
32440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
32441 $as_echo_n "checking for hypotl declaration... " >&6; }
32442 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
32443 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
32444 $as_echo_n "(cached) " >&6
32445 else
32448 ac_ext=cpp
32449 ac_cpp='$CXXCPP $CPPFLAGS'
32450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32455 /* end confdefs.h. */
32456 #include <math.h>
32458 main ()
32460 hypotl(0, 0);
32462 return 0;
32464 _ACEOF
32465 if ac_fn_cxx_try_compile "$LINENO"; then :
32466 glibcxx_cv_func_hypotl_use=yes
32467 else
32468 glibcxx_cv_func_hypotl_use=no
32470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32471 ac_ext=c
32472 ac_cpp='$CPP $CPPFLAGS'
32473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
32482 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
32484 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
32485 for ac_func in hypotl
32486 do :
32487 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
32488 if test "x$ac_cv_func_hypotl" = x""yes; then :
32489 cat >>confdefs.h <<_ACEOF
32490 #define HAVE_HYPOTL 1
32491 _ACEOF
32494 done
32496 else
32498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
32499 $as_echo_n "checking for _hypotl declaration... " >&6; }
32500 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
32501 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
32502 $as_echo_n "(cached) " >&6
32503 else
32506 ac_ext=cpp
32507 ac_cpp='$CXXCPP $CPPFLAGS'
32508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32513 /* end confdefs.h. */
32514 #include <math.h>
32516 main ()
32518 _hypotl(0, 0);
32520 return 0;
32522 _ACEOF
32523 if ac_fn_cxx_try_compile "$LINENO"; then :
32524 glibcxx_cv_func__hypotl_use=yes
32525 else
32526 glibcxx_cv_func__hypotl_use=no
32528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32529 ac_ext=c
32530 ac_cpp='$CPP $CPPFLAGS'
32531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
32540 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
32542 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
32543 for ac_func in _hypotl
32544 do :
32545 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
32546 if test "x$ac_cv_func__hypotl" = x""yes; then :
32547 cat >>confdefs.h <<_ACEOF
32548 #define HAVE__HYPOTL 1
32549 _ACEOF
32552 done
32561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
32562 $as_echo_n "checking for ldexpl declaration... " >&6; }
32563 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
32564 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
32565 $as_echo_n "(cached) " >&6
32566 else
32569 ac_ext=cpp
32570 ac_cpp='$CXXCPP $CPPFLAGS'
32571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32576 /* end confdefs.h. */
32577 #include <math.h>
32579 main ()
32581 ldexpl(0, 0);
32583 return 0;
32585 _ACEOF
32586 if ac_fn_cxx_try_compile "$LINENO"; then :
32587 glibcxx_cv_func_ldexpl_use=yes
32588 else
32589 glibcxx_cv_func_ldexpl_use=no
32591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32592 ac_ext=c
32593 ac_cpp='$CPP $CPPFLAGS'
32594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
32603 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
32605 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
32606 for ac_func in ldexpl
32607 do :
32608 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
32609 if test "x$ac_cv_func_ldexpl" = x""yes; then :
32610 cat >>confdefs.h <<_ACEOF
32611 #define HAVE_LDEXPL 1
32612 _ACEOF
32615 done
32617 else
32619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
32620 $as_echo_n "checking for _ldexpl declaration... " >&6; }
32621 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
32622 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
32623 $as_echo_n "(cached) " >&6
32624 else
32627 ac_ext=cpp
32628 ac_cpp='$CXXCPP $CPPFLAGS'
32629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32634 /* end confdefs.h. */
32635 #include <math.h>
32637 main ()
32639 _ldexpl(0, 0);
32641 return 0;
32643 _ACEOF
32644 if ac_fn_cxx_try_compile "$LINENO"; then :
32645 glibcxx_cv_func__ldexpl_use=yes
32646 else
32647 glibcxx_cv_func__ldexpl_use=no
32649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32650 ac_ext=c
32651 ac_cpp='$CPP $CPPFLAGS'
32652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
32661 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
32663 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
32664 for ac_func in _ldexpl
32665 do :
32666 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
32667 if test "x$ac_cv_func__ldexpl" = x""yes; then :
32668 cat >>confdefs.h <<_ACEOF
32669 #define HAVE__LDEXPL 1
32670 _ACEOF
32673 done
32682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
32683 $as_echo_n "checking for logl declaration... " >&6; }
32684 if test x${glibcxx_cv_func_logl_use+set} != xset; then
32685 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
32686 $as_echo_n "(cached) " >&6
32687 else
32690 ac_ext=cpp
32691 ac_cpp='$CXXCPP $CPPFLAGS'
32692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32697 /* end confdefs.h. */
32698 #include <math.h>
32699 #ifdef HAVE_IEEEFP_H
32700 #include <ieeefp.h>
32701 #endif
32704 main ()
32706 logl(0);
32708 return 0;
32710 _ACEOF
32711 if ac_fn_cxx_try_compile "$LINENO"; then :
32712 glibcxx_cv_func_logl_use=yes
32713 else
32714 glibcxx_cv_func_logl_use=no
32716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32717 ac_ext=c
32718 ac_cpp='$CPP $CPPFLAGS'
32719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
32728 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
32730 if test x$glibcxx_cv_func_logl_use = x"yes"; then
32731 for ac_func in logl
32732 do :
32733 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
32734 if test "x$ac_cv_func_logl" = x""yes; then :
32735 cat >>confdefs.h <<_ACEOF
32736 #define HAVE_LOGL 1
32737 _ACEOF
32740 done
32742 else
32744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
32745 $as_echo_n "checking for _logl declaration... " >&6; }
32746 if test x${glibcxx_cv_func__logl_use+set} != xset; then
32747 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
32748 $as_echo_n "(cached) " >&6
32749 else
32752 ac_ext=cpp
32753 ac_cpp='$CXXCPP $CPPFLAGS'
32754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32759 /* end confdefs.h. */
32760 #include <math.h>
32761 #ifdef HAVE_IEEEFP_H
32762 #include <ieeefp.h>
32763 #endif
32766 main ()
32768 _logl(0);
32770 return 0;
32772 _ACEOF
32773 if ac_fn_cxx_try_compile "$LINENO"; then :
32774 glibcxx_cv_func__logl_use=yes
32775 else
32776 glibcxx_cv_func__logl_use=no
32778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32779 ac_ext=c
32780 ac_cpp='$CPP $CPPFLAGS'
32781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
32790 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
32792 if test x$glibcxx_cv_func__logl_use = x"yes"; then
32793 for ac_func in _logl
32794 do :
32795 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
32796 if test "x$ac_cv_func__logl" = x""yes; then :
32797 cat >>confdefs.h <<_ACEOF
32798 #define HAVE__LOGL 1
32799 _ACEOF
32802 done
32811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
32812 $as_echo_n "checking for log10l declaration... " >&6; }
32813 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
32814 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
32815 $as_echo_n "(cached) " >&6
32816 else
32819 ac_ext=cpp
32820 ac_cpp='$CXXCPP $CPPFLAGS'
32821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32826 /* end confdefs.h. */
32827 #include <math.h>
32828 #ifdef HAVE_IEEEFP_H
32829 #include <ieeefp.h>
32830 #endif
32833 main ()
32835 log10l(0);
32837 return 0;
32839 _ACEOF
32840 if ac_fn_cxx_try_compile "$LINENO"; then :
32841 glibcxx_cv_func_log10l_use=yes
32842 else
32843 glibcxx_cv_func_log10l_use=no
32845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32846 ac_ext=c
32847 ac_cpp='$CPP $CPPFLAGS'
32848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
32857 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
32859 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
32860 for ac_func in log10l
32861 do :
32862 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
32863 if test "x$ac_cv_func_log10l" = x""yes; then :
32864 cat >>confdefs.h <<_ACEOF
32865 #define HAVE_LOG10L 1
32866 _ACEOF
32869 done
32871 else
32873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
32874 $as_echo_n "checking for _log10l declaration... " >&6; }
32875 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
32876 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
32877 $as_echo_n "(cached) " >&6
32878 else
32881 ac_ext=cpp
32882 ac_cpp='$CXXCPP $CPPFLAGS'
32883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32888 /* end confdefs.h. */
32889 #include <math.h>
32890 #ifdef HAVE_IEEEFP_H
32891 #include <ieeefp.h>
32892 #endif
32895 main ()
32897 _log10l(0);
32899 return 0;
32901 _ACEOF
32902 if ac_fn_cxx_try_compile "$LINENO"; then :
32903 glibcxx_cv_func__log10l_use=yes
32904 else
32905 glibcxx_cv_func__log10l_use=no
32907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32908 ac_ext=c
32909 ac_cpp='$CPP $CPPFLAGS'
32910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
32919 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
32921 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
32922 for ac_func in _log10l
32923 do :
32924 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
32925 if test "x$ac_cv_func__log10l" = x""yes; then :
32926 cat >>confdefs.h <<_ACEOF
32927 #define HAVE__LOG10L 1
32928 _ACEOF
32931 done
32940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
32941 $as_echo_n "checking for modfl declaration... " >&6; }
32942 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
32943 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
32944 $as_echo_n "(cached) " >&6
32945 else
32948 ac_ext=cpp
32949 ac_cpp='$CXXCPP $CPPFLAGS'
32950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32955 /* end confdefs.h. */
32956 #include <math.h>
32958 main ()
32960 modfl(0, 0);
32962 return 0;
32964 _ACEOF
32965 if ac_fn_cxx_try_compile "$LINENO"; then :
32966 glibcxx_cv_func_modfl_use=yes
32967 else
32968 glibcxx_cv_func_modfl_use=no
32970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32971 ac_ext=c
32972 ac_cpp='$CPP $CPPFLAGS'
32973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
32982 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
32984 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
32985 for ac_func in modfl
32986 do :
32987 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
32988 if test "x$ac_cv_func_modfl" = x""yes; then :
32989 cat >>confdefs.h <<_ACEOF
32990 #define HAVE_MODFL 1
32991 _ACEOF
32994 done
32996 else
32998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
32999 $as_echo_n "checking for _modfl declaration... " >&6; }
33000 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
33001 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
33002 $as_echo_n "(cached) " >&6
33003 else
33006 ac_ext=cpp
33007 ac_cpp='$CXXCPP $CPPFLAGS'
33008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33013 /* end confdefs.h. */
33014 #include <math.h>
33016 main ()
33018 _modfl(0, 0);
33020 return 0;
33022 _ACEOF
33023 if ac_fn_cxx_try_compile "$LINENO"; then :
33024 glibcxx_cv_func__modfl_use=yes
33025 else
33026 glibcxx_cv_func__modfl_use=no
33028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33029 ac_ext=c
33030 ac_cpp='$CPP $CPPFLAGS'
33031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
33040 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
33042 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
33043 for ac_func in _modfl
33044 do :
33045 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
33046 if test "x$ac_cv_func__modfl" = x""yes; then :
33047 cat >>confdefs.h <<_ACEOF
33048 #define HAVE__MODFL 1
33049 _ACEOF
33052 done
33061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
33062 $as_echo_n "checking for powl declaration... " >&6; }
33063 if test x${glibcxx_cv_func_powl_use+set} != xset; then
33064 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
33065 $as_echo_n "(cached) " >&6
33066 else
33069 ac_ext=cpp
33070 ac_cpp='$CXXCPP $CPPFLAGS'
33071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33076 /* end confdefs.h. */
33077 #include <math.h>
33079 main ()
33081 powl(0, 0);
33083 return 0;
33085 _ACEOF
33086 if ac_fn_cxx_try_compile "$LINENO"; then :
33087 glibcxx_cv_func_powl_use=yes
33088 else
33089 glibcxx_cv_func_powl_use=no
33091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33092 ac_ext=c
33093 ac_cpp='$CPP $CPPFLAGS'
33094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
33103 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
33105 if test x$glibcxx_cv_func_powl_use = x"yes"; then
33106 for ac_func in powl
33107 do :
33108 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
33109 if test "x$ac_cv_func_powl" = x""yes; then :
33110 cat >>confdefs.h <<_ACEOF
33111 #define HAVE_POWL 1
33112 _ACEOF
33115 done
33117 else
33119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
33120 $as_echo_n "checking for _powl declaration... " >&6; }
33121 if test x${glibcxx_cv_func__powl_use+set} != xset; then
33122 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
33123 $as_echo_n "(cached) " >&6
33124 else
33127 ac_ext=cpp
33128 ac_cpp='$CXXCPP $CPPFLAGS'
33129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33134 /* end confdefs.h. */
33135 #include <math.h>
33137 main ()
33139 _powl(0, 0);
33141 return 0;
33143 _ACEOF
33144 if ac_fn_cxx_try_compile "$LINENO"; then :
33145 glibcxx_cv_func__powl_use=yes
33146 else
33147 glibcxx_cv_func__powl_use=no
33149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33150 ac_ext=c
33151 ac_cpp='$CPP $CPPFLAGS'
33152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
33161 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
33163 if test x$glibcxx_cv_func__powl_use = x"yes"; then
33164 for ac_func in _powl
33165 do :
33166 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
33167 if test "x$ac_cv_func__powl" = x""yes; then :
33168 cat >>confdefs.h <<_ACEOF
33169 #define HAVE__POWL 1
33170 _ACEOF
33173 done
33182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
33183 $as_echo_n "checking for sqrtl declaration... " >&6; }
33184 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
33185 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
33186 $as_echo_n "(cached) " >&6
33187 else
33190 ac_ext=cpp
33191 ac_cpp='$CXXCPP $CPPFLAGS'
33192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33197 /* end confdefs.h. */
33198 #include <math.h>
33199 #ifdef HAVE_IEEEFP_H
33200 #include <ieeefp.h>
33201 #endif
33204 main ()
33206 sqrtl(0);
33208 return 0;
33210 _ACEOF
33211 if ac_fn_cxx_try_compile "$LINENO"; then :
33212 glibcxx_cv_func_sqrtl_use=yes
33213 else
33214 glibcxx_cv_func_sqrtl_use=no
33216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33217 ac_ext=c
33218 ac_cpp='$CPP $CPPFLAGS'
33219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
33228 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
33230 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
33231 for ac_func in sqrtl
33232 do :
33233 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
33234 if test "x$ac_cv_func_sqrtl" = x""yes; then :
33235 cat >>confdefs.h <<_ACEOF
33236 #define HAVE_SQRTL 1
33237 _ACEOF
33240 done
33242 else
33244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
33245 $as_echo_n "checking for _sqrtl declaration... " >&6; }
33246 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
33247 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
33248 $as_echo_n "(cached) " >&6
33249 else
33252 ac_ext=cpp
33253 ac_cpp='$CXXCPP $CPPFLAGS'
33254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33259 /* end confdefs.h. */
33260 #include <math.h>
33261 #ifdef HAVE_IEEEFP_H
33262 #include <ieeefp.h>
33263 #endif
33266 main ()
33268 _sqrtl(0);
33270 return 0;
33272 _ACEOF
33273 if ac_fn_cxx_try_compile "$LINENO"; then :
33274 glibcxx_cv_func__sqrtl_use=yes
33275 else
33276 glibcxx_cv_func__sqrtl_use=no
33278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33279 ac_ext=c
33280 ac_cpp='$CPP $CPPFLAGS'
33281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
33290 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
33292 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
33293 for ac_func in _sqrtl
33294 do :
33295 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
33296 if test "x$ac_cv_func__sqrtl" = x""yes; then :
33297 cat >>confdefs.h <<_ACEOF
33298 #define HAVE__SQRTL 1
33299 _ACEOF
33302 done
33311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
33312 $as_echo_n "checking for sincosl declaration... " >&6; }
33313 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
33314 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
33315 $as_echo_n "(cached) " >&6
33316 else
33319 ac_ext=cpp
33320 ac_cpp='$CXXCPP $CPPFLAGS'
33321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33326 /* end confdefs.h. */
33327 #include <math.h>
33329 main ()
33331 sincosl(0, 0, 0);
33333 return 0;
33335 _ACEOF
33336 if ac_fn_cxx_try_compile "$LINENO"; then :
33337 glibcxx_cv_func_sincosl_use=yes
33338 else
33339 glibcxx_cv_func_sincosl_use=no
33341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33342 ac_ext=c
33343 ac_cpp='$CPP $CPPFLAGS'
33344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
33353 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
33355 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
33356 for ac_func in sincosl
33357 do :
33358 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
33359 if test "x$ac_cv_func_sincosl" = x""yes; then :
33360 cat >>confdefs.h <<_ACEOF
33361 #define HAVE_SINCOSL 1
33362 _ACEOF
33365 done
33367 else
33369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
33370 $as_echo_n "checking for _sincosl declaration... " >&6; }
33371 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
33372 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
33373 $as_echo_n "(cached) " >&6
33374 else
33377 ac_ext=cpp
33378 ac_cpp='$CXXCPP $CPPFLAGS'
33379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33384 /* end confdefs.h. */
33385 #include <math.h>
33387 main ()
33389 _sincosl(0, 0, 0);
33391 return 0;
33393 _ACEOF
33394 if ac_fn_cxx_try_compile "$LINENO"; then :
33395 glibcxx_cv_func__sincosl_use=yes
33396 else
33397 glibcxx_cv_func__sincosl_use=no
33399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33400 ac_ext=c
33401 ac_cpp='$CPP $CPPFLAGS'
33402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
33411 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
33413 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
33414 for ac_func in _sincosl
33415 do :
33416 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
33417 if test "x$ac_cv_func__sincosl" = x""yes; then :
33418 cat >>confdefs.h <<_ACEOF
33419 #define HAVE__SINCOSL 1
33420 _ACEOF
33423 done
33432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
33433 $as_echo_n "checking for finitel declaration... " >&6; }
33434 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
33435 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
33436 $as_echo_n "(cached) " >&6
33437 else
33440 ac_ext=cpp
33441 ac_cpp='$CXXCPP $CPPFLAGS'
33442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33447 /* end confdefs.h. */
33448 #include <math.h>
33449 #ifdef HAVE_IEEEFP_H
33450 #include <ieeefp.h>
33451 #endif
33454 main ()
33456 finitel(0);
33458 return 0;
33460 _ACEOF
33461 if ac_fn_cxx_try_compile "$LINENO"; then :
33462 glibcxx_cv_func_finitel_use=yes
33463 else
33464 glibcxx_cv_func_finitel_use=no
33466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33467 ac_ext=c
33468 ac_cpp='$CPP $CPPFLAGS'
33469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
33478 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
33480 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
33481 for ac_func in finitel
33482 do :
33483 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
33484 if test "x$ac_cv_func_finitel" = x""yes; then :
33485 cat >>confdefs.h <<_ACEOF
33486 #define HAVE_FINITEL 1
33487 _ACEOF
33490 done
33492 else
33494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
33495 $as_echo_n "checking for _finitel declaration... " >&6; }
33496 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
33497 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
33498 $as_echo_n "(cached) " >&6
33499 else
33502 ac_ext=cpp
33503 ac_cpp='$CXXCPP $CPPFLAGS'
33504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33509 /* end confdefs.h. */
33510 #include <math.h>
33511 #ifdef HAVE_IEEEFP_H
33512 #include <ieeefp.h>
33513 #endif
33516 main ()
33518 _finitel(0);
33520 return 0;
33522 _ACEOF
33523 if ac_fn_cxx_try_compile "$LINENO"; then :
33524 glibcxx_cv_func__finitel_use=yes
33525 else
33526 glibcxx_cv_func__finitel_use=no
33528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33529 ac_ext=c
33530 ac_cpp='$CPP $CPPFLAGS'
33531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
33540 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
33542 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
33543 for ac_func in _finitel
33544 do :
33545 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
33546 if test "x$ac_cv_func__finitel" = x""yes; then :
33547 cat >>confdefs.h <<_ACEOF
33548 #define HAVE__FINITEL 1
33549 _ACEOF
33552 done
33560 LIBS="$ac_save_LIBS"
33561 CXXFLAGS="$ac_save_CXXFLAGS"
33564 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33565 ac_save_CXXFLAGS="$CXXFLAGS"
33566 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
33570 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
33571 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
33572 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
33573 $as_echo_n "(cached) " >&6
33574 else
33577 ac_ext=cpp
33578 ac_cpp='$CXXCPP $CPPFLAGS'
33579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33584 /* end confdefs.h. */
33585 #include <stdlib.h>
33587 main ()
33589 at_quick_exit(0);
33591 return 0;
33593 _ACEOF
33594 if ac_fn_cxx_try_compile "$LINENO"; then :
33595 glibcxx_cv_func_at_quick_exit_use=yes
33596 else
33597 glibcxx_cv_func_at_quick_exit_use=no
33599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33600 ac_ext=c
33601 ac_cpp='$CPP $CPPFLAGS'
33602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
33611 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
33612 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
33613 for ac_func in at_quick_exit
33614 do :
33615 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
33616 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
33617 cat >>confdefs.h <<_ACEOF
33618 #define HAVE_AT_QUICK_EXIT 1
33619 _ACEOF
33622 done
33627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
33628 $as_echo_n "checking for quick_exit declaration... " >&6; }
33629 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
33630 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
33631 $as_echo_n "(cached) " >&6
33632 else
33635 ac_ext=cpp
33636 ac_cpp='$CXXCPP $CPPFLAGS'
33637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33642 /* end confdefs.h. */
33643 #include <stdlib.h>
33645 main ()
33647 quick_exit(0);
33649 return 0;
33651 _ACEOF
33652 if ac_fn_cxx_try_compile "$LINENO"; then :
33653 glibcxx_cv_func_quick_exit_use=yes
33654 else
33655 glibcxx_cv_func_quick_exit_use=no
33657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33658 ac_ext=c
33659 ac_cpp='$CPP $CPPFLAGS'
33660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
33669 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
33670 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
33671 for ac_func in quick_exit
33672 do :
33673 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
33674 if test "x$ac_cv_func_quick_exit" = x""yes; then :
33675 cat >>confdefs.h <<_ACEOF
33676 #define HAVE_QUICK_EXIT 1
33677 _ACEOF
33680 done
33685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
33686 $as_echo_n "checking for strtold declaration... " >&6; }
33687 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
33688 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
33689 $as_echo_n "(cached) " >&6
33690 else
33693 ac_ext=cpp
33694 ac_cpp='$CXXCPP $CPPFLAGS'
33695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33700 /* end confdefs.h. */
33701 #include <stdlib.h>
33703 main ()
33705 strtold(0, 0);
33707 return 0;
33709 _ACEOF
33710 if ac_fn_cxx_try_compile "$LINENO"; then :
33711 glibcxx_cv_func_strtold_use=yes
33712 else
33713 glibcxx_cv_func_strtold_use=no
33715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33716 ac_ext=c
33717 ac_cpp='$CPP $CPPFLAGS'
33718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
33727 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
33728 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
33729 for ac_func in strtold
33730 do :
33731 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
33732 if test "x$ac_cv_func_strtold" = x""yes; then :
33733 cat >>confdefs.h <<_ACEOF
33734 #define HAVE_STRTOLD 1
33735 _ACEOF
33738 done
33745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
33746 $as_echo_n "checking for strtof declaration... " >&6; }
33747 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
33748 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
33749 $as_echo_n "(cached) " >&6
33750 else
33753 ac_ext=cpp
33754 ac_cpp='$CXXCPP $CPPFLAGS'
33755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33760 /* end confdefs.h. */
33761 #include <stdlib.h>
33763 main ()
33765 strtof(0, 0);
33767 return 0;
33769 _ACEOF
33770 if ac_fn_cxx_try_compile "$LINENO"; then :
33771 glibcxx_cv_func_strtof_use=yes
33772 else
33773 glibcxx_cv_func_strtof_use=no
33775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33776 ac_ext=c
33777 ac_cpp='$CPP $CPPFLAGS'
33778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
33787 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
33788 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
33789 for ac_func in strtof
33790 do :
33791 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
33792 if test "x$ac_cv_func_strtof" = x""yes; then :
33793 cat >>confdefs.h <<_ACEOF
33794 #define HAVE_STRTOF 1
33795 _ACEOF
33798 done
33805 CXXFLAGS="$ac_save_CXXFLAGS"
33808 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
33810 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
33812 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
33814 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
33817 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
33819 $as_echo "#define HAVE_MODF 1" >>confdefs.h
33821 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
33825 spu-*-elf*)
33827 # All these tests are for C++; save the language and the compiler flags.
33828 # The CXXFLAGS thing is suspicious, but based on similar bits previously
33829 # found in GLIBCXX_CONFIGURE.
33831 ac_ext=cpp
33832 ac_cpp='$CXXCPP $CPPFLAGS'
33833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33837 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33838 ac_save_CXXFLAGS="$CXXFLAGS"
33840 # Check for maintainer-mode bits.
33841 if test x"$USE_MAINTAINER_MODE" = xno; then
33842 WERROR=''
33843 else
33844 WERROR='-Werror'
33847 # Check for -ffunction-sections -fdata-sections
33848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
33849 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
33850 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
33851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33852 /* end confdefs.h. */
33853 int foo; void bar() { };
33855 main ()
33859 return 0;
33861 _ACEOF
33862 if ac_fn_cxx_try_compile "$LINENO"; then :
33863 ac_fdsections=yes
33864 else
33865 ac_fdsections=no
33867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33868 if test "$ac_test_CXXFLAGS" = set; then
33869 CXXFLAGS="$ac_save_CXXFLAGS"
33870 else
33871 # this is the suspicious part
33872 CXXFLAGS=''
33874 if test x"$ac_fdsections" = x"yes"; then
33875 SECTION_FLAGS='-ffunction-sections -fdata-sections'
33877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
33878 $as_echo "$ac_fdsections" >&6; }
33880 ac_ext=c
33881 ac_cpp='$CPP $CPPFLAGS'
33882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33890 # If we're not using GNU ld, then there's no point in even trying these
33891 # tests. Check for that first. We should have already tested for gld
33892 # by now (in libtool), but require it now just to be safe...
33893 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
33894 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
33898 # The name set by libtool depends on the version of libtool. Shame on us
33899 # for depending on an impl detail, but c'est la vie. Older versions used
33900 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
33901 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
33902 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
33903 # set (hence we're using an older libtool), then set it.
33904 if test x${with_gnu_ld+set} != xset; then
33905 if test x${ac_cv_prog_gnu_ld+set} != xset; then
33906 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
33907 with_gnu_ld=no
33908 else
33909 with_gnu_ld=$ac_cv_prog_gnu_ld
33913 # Start by getting the version number. I think the libtool test already
33914 # does some of this, but throws away the result.
33915 glibcxx_ld_is_gold=no
33916 if test x"$with_gnu_ld" = x"yes"; then
33917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
33918 $as_echo_n "checking for ld version... " >&6; }
33920 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
33921 glibcxx_ld_is_gold=yes
33923 ldver=`$LD --version 2>/dev/null |
33924 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'`
33926 glibcxx_gnu_ld_version=`echo $ldver | \
33927 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
33928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
33929 $as_echo "$glibcxx_gnu_ld_version" >&6; }
33932 # Set --gc-sections.
33933 glibcxx_have_gc_sections=no
33934 if test "$glibcxx_ld_is_gold" = "yes"; then
33935 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
33936 glibcxx_have_gc_sections=yes
33938 else
33939 glibcxx_gcsections_min_ld=21602
33940 if test x"$with_gnu_ld" = x"yes" &&
33941 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
33942 glibcxx_have_gc_sections=yes
33945 if test "$glibcxx_have_gc_sections" = "yes"; then
33946 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
33947 # NB: This flag only works reliably after 2.16.1. Configure tests
33948 # for this are difficult, so hard wire a value that should work.
33950 ac_test_CFLAGS="${CFLAGS+set}"
33951 ac_save_CFLAGS="$CFLAGS"
33952 CFLAGS='-Wl,--gc-sections'
33954 # Check for -Wl,--gc-sections
33955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
33956 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
33957 if test x$gcc_no_link = xyes; then
33958 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33961 /* end confdefs.h. */
33962 int one(void) { return 1; }
33963 int two(void) { return 2; }
33966 main ()
33968 two();
33970 return 0;
33972 _ACEOF
33973 if ac_fn_c_try_link "$LINENO"; then :
33974 ac_gcsections=yes
33975 else
33976 ac_gcsections=no
33978 rm -f core conftest.err conftest.$ac_objext \
33979 conftest$ac_exeext conftest.$ac_ext
33980 if test "$ac_gcsections" = "yes"; then
33981 rm -f conftest.c
33982 touch conftest.c
33983 if $CC -c conftest.c; then
33984 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
33985 grep "Warning: gc-sections option ignored" > /dev/null; then
33986 ac_gcsections=no
33989 rm -f conftest.c conftest.o conftest
33991 if test "$ac_gcsections" = "yes"; then
33992 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
33994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
33995 $as_echo "$ac_gcsections" >&6; }
33997 if test "$ac_test_CFLAGS" = set; then
33998 CFLAGS="$ac_save_CFLAGS"
33999 else
34000 # this is the suspicious part
34001 CFLAGS=''
34005 # Set -z,relro.
34006 # Note this is only for shared objects.
34007 ac_ld_relro=no
34008 if test x"$with_gnu_ld" = x"yes"; then
34009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
34010 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
34011 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
34012 if test -n "$cxx_z_relo"; then
34013 OPT_LDFLAGS="-Wl,-z,relro"
34014 ac_ld_relro=yes
34016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
34017 $as_echo "$ac_ld_relro" >&6; }
34020 # Set linker optimization flags.
34021 if test x"$with_gnu_ld" = x"yes"; then
34022 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
34029 ac_test_CXXFLAGS="${CXXFLAGS+set}"
34030 ac_save_CXXFLAGS="$CXXFLAGS"
34031 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
34033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
34034 $as_echo_n "checking for sin in -lm... " >&6; }
34035 if test "${ac_cv_lib_m_sin+set}" = set; then :
34036 $as_echo_n "(cached) " >&6
34037 else
34038 ac_check_lib_save_LIBS=$LIBS
34039 LIBS="-lm $LIBS"
34040 if test x$gcc_no_link = xyes; then
34041 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
34043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34044 /* end confdefs.h. */
34046 /* Override any GCC internal prototype to avoid an error.
34047 Use char because int might match the return type of a GCC
34048 builtin and then its argument prototype would still apply. */
34049 #ifdef __cplusplus
34050 extern "C"
34051 #endif
34052 char sin ();
34054 main ()
34056 return sin ();
34058 return 0;
34060 _ACEOF
34061 if ac_fn_c_try_link "$LINENO"; then :
34062 ac_cv_lib_m_sin=yes
34063 else
34064 ac_cv_lib_m_sin=no
34066 rm -f core conftest.err conftest.$ac_objext \
34067 conftest$ac_exeext conftest.$ac_ext
34068 LIBS=$ac_check_lib_save_LIBS
34070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
34071 $as_echo "$ac_cv_lib_m_sin" >&6; }
34072 if test "x$ac_cv_lib_m_sin" = x""yes; then :
34073 libm="-lm"
34076 ac_save_LIBS="$LIBS"
34077 LIBS="$LIBS $libm"
34081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
34082 $as_echo_n "checking for isinf declaration... " >&6; }
34083 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
34084 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
34085 $as_echo_n "(cached) " >&6
34086 else
34089 ac_ext=cpp
34090 ac_cpp='$CXXCPP $CPPFLAGS'
34091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34096 /* end confdefs.h. */
34097 #include <math.h>
34098 #ifdef HAVE_IEEEFP_H
34099 #include <ieeefp.h>
34100 #endif
34103 main ()
34105 isinf(0);
34107 return 0;
34109 _ACEOF
34110 if ac_fn_cxx_try_compile "$LINENO"; then :
34111 glibcxx_cv_func_isinf_use=yes
34112 else
34113 glibcxx_cv_func_isinf_use=no
34115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34116 ac_ext=c
34117 ac_cpp='$CPP $CPPFLAGS'
34118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
34127 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
34129 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
34130 for ac_func in isinf
34131 do :
34132 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
34133 if test "x$ac_cv_func_isinf" = x""yes; then :
34134 cat >>confdefs.h <<_ACEOF
34135 #define HAVE_ISINF 1
34136 _ACEOF
34139 done
34141 else
34143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
34144 $as_echo_n "checking for _isinf declaration... " >&6; }
34145 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
34146 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
34147 $as_echo_n "(cached) " >&6
34148 else
34151 ac_ext=cpp
34152 ac_cpp='$CXXCPP $CPPFLAGS'
34153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34158 /* end confdefs.h. */
34159 #include <math.h>
34160 #ifdef HAVE_IEEEFP_H
34161 #include <ieeefp.h>
34162 #endif
34165 main ()
34167 _isinf(0);
34169 return 0;
34171 _ACEOF
34172 if ac_fn_cxx_try_compile "$LINENO"; then :
34173 glibcxx_cv_func__isinf_use=yes
34174 else
34175 glibcxx_cv_func__isinf_use=no
34177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34178 ac_ext=c
34179 ac_cpp='$CPP $CPPFLAGS'
34180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
34189 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
34191 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
34192 for ac_func in _isinf
34193 do :
34194 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
34195 if test "x$ac_cv_func__isinf" = x""yes; then :
34196 cat >>confdefs.h <<_ACEOF
34197 #define HAVE__ISINF 1
34198 _ACEOF
34201 done
34210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
34211 $as_echo_n "checking for isnan declaration... " >&6; }
34212 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
34213 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
34214 $as_echo_n "(cached) " >&6
34215 else
34218 ac_ext=cpp
34219 ac_cpp='$CXXCPP $CPPFLAGS'
34220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34225 /* end confdefs.h. */
34226 #include <math.h>
34227 #ifdef HAVE_IEEEFP_H
34228 #include <ieeefp.h>
34229 #endif
34232 main ()
34234 isnan(0);
34236 return 0;
34238 _ACEOF
34239 if ac_fn_cxx_try_compile "$LINENO"; then :
34240 glibcxx_cv_func_isnan_use=yes
34241 else
34242 glibcxx_cv_func_isnan_use=no
34244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34245 ac_ext=c
34246 ac_cpp='$CPP $CPPFLAGS'
34247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
34256 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
34258 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
34259 for ac_func in isnan
34260 do :
34261 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
34262 if test "x$ac_cv_func_isnan" = x""yes; then :
34263 cat >>confdefs.h <<_ACEOF
34264 #define HAVE_ISNAN 1
34265 _ACEOF
34268 done
34270 else
34272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
34273 $as_echo_n "checking for _isnan declaration... " >&6; }
34274 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
34275 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
34276 $as_echo_n "(cached) " >&6
34277 else
34280 ac_ext=cpp
34281 ac_cpp='$CXXCPP $CPPFLAGS'
34282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34287 /* end confdefs.h. */
34288 #include <math.h>
34289 #ifdef HAVE_IEEEFP_H
34290 #include <ieeefp.h>
34291 #endif
34294 main ()
34296 _isnan(0);
34298 return 0;
34300 _ACEOF
34301 if ac_fn_cxx_try_compile "$LINENO"; then :
34302 glibcxx_cv_func__isnan_use=yes
34303 else
34304 glibcxx_cv_func__isnan_use=no
34306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34307 ac_ext=c
34308 ac_cpp='$CPP $CPPFLAGS'
34309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
34318 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
34320 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
34321 for ac_func in _isnan
34322 do :
34323 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
34324 if test "x$ac_cv_func__isnan" = x""yes; then :
34325 cat >>confdefs.h <<_ACEOF
34326 #define HAVE__ISNAN 1
34327 _ACEOF
34330 done
34339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
34340 $as_echo_n "checking for finite declaration... " >&6; }
34341 if test x${glibcxx_cv_func_finite_use+set} != xset; then
34342 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
34343 $as_echo_n "(cached) " >&6
34344 else
34347 ac_ext=cpp
34348 ac_cpp='$CXXCPP $CPPFLAGS'
34349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34354 /* end confdefs.h. */
34355 #include <math.h>
34356 #ifdef HAVE_IEEEFP_H
34357 #include <ieeefp.h>
34358 #endif
34361 main ()
34363 finite(0);
34365 return 0;
34367 _ACEOF
34368 if ac_fn_cxx_try_compile "$LINENO"; then :
34369 glibcxx_cv_func_finite_use=yes
34370 else
34371 glibcxx_cv_func_finite_use=no
34373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34374 ac_ext=c
34375 ac_cpp='$CPP $CPPFLAGS'
34376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
34385 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
34387 if test x$glibcxx_cv_func_finite_use = x"yes"; then
34388 for ac_func in finite
34389 do :
34390 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
34391 if test "x$ac_cv_func_finite" = x""yes; then :
34392 cat >>confdefs.h <<_ACEOF
34393 #define HAVE_FINITE 1
34394 _ACEOF
34397 done
34399 else
34401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
34402 $as_echo_n "checking for _finite declaration... " >&6; }
34403 if test x${glibcxx_cv_func__finite_use+set} != xset; then
34404 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
34405 $as_echo_n "(cached) " >&6
34406 else
34409 ac_ext=cpp
34410 ac_cpp='$CXXCPP $CPPFLAGS'
34411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34416 /* end confdefs.h. */
34417 #include <math.h>
34418 #ifdef HAVE_IEEEFP_H
34419 #include <ieeefp.h>
34420 #endif
34423 main ()
34425 _finite(0);
34427 return 0;
34429 _ACEOF
34430 if ac_fn_cxx_try_compile "$LINENO"; then :
34431 glibcxx_cv_func__finite_use=yes
34432 else
34433 glibcxx_cv_func__finite_use=no
34435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34436 ac_ext=c
34437 ac_cpp='$CPP $CPPFLAGS'
34438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
34447 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
34449 if test x$glibcxx_cv_func__finite_use = x"yes"; then
34450 for ac_func in _finite
34451 do :
34452 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
34453 if test "x$ac_cv_func__finite" = x""yes; then :
34454 cat >>confdefs.h <<_ACEOF
34455 #define HAVE__FINITE 1
34456 _ACEOF
34459 done
34468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
34469 $as_echo_n "checking for sincos declaration... " >&6; }
34470 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
34471 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
34472 $as_echo_n "(cached) " >&6
34473 else
34476 ac_ext=cpp
34477 ac_cpp='$CXXCPP $CPPFLAGS'
34478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34483 /* end confdefs.h. */
34484 #include <math.h>
34486 main ()
34488 sincos(0, 0, 0);
34490 return 0;
34492 _ACEOF
34493 if ac_fn_cxx_try_compile "$LINENO"; then :
34494 glibcxx_cv_func_sincos_use=yes
34495 else
34496 glibcxx_cv_func_sincos_use=no
34498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34499 ac_ext=c
34500 ac_cpp='$CPP $CPPFLAGS'
34501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
34510 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
34512 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
34513 for ac_func in sincos
34514 do :
34515 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
34516 if test "x$ac_cv_func_sincos" = x""yes; then :
34517 cat >>confdefs.h <<_ACEOF
34518 #define HAVE_SINCOS 1
34519 _ACEOF
34522 done
34524 else
34526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
34527 $as_echo_n "checking for _sincos declaration... " >&6; }
34528 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
34529 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
34530 $as_echo_n "(cached) " >&6
34531 else
34534 ac_ext=cpp
34535 ac_cpp='$CXXCPP $CPPFLAGS'
34536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34541 /* end confdefs.h. */
34542 #include <math.h>
34544 main ()
34546 _sincos(0, 0, 0);
34548 return 0;
34550 _ACEOF
34551 if ac_fn_cxx_try_compile "$LINENO"; then :
34552 glibcxx_cv_func__sincos_use=yes
34553 else
34554 glibcxx_cv_func__sincos_use=no
34556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34557 ac_ext=c
34558 ac_cpp='$CPP $CPPFLAGS'
34559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
34568 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
34570 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
34571 for ac_func in _sincos
34572 do :
34573 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
34574 if test "x$ac_cv_func__sincos" = x""yes; then :
34575 cat >>confdefs.h <<_ACEOF
34576 #define HAVE__SINCOS 1
34577 _ACEOF
34580 done
34589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
34590 $as_echo_n "checking for fpclass declaration... " >&6; }
34591 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
34592 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
34593 $as_echo_n "(cached) " >&6
34594 else
34597 ac_ext=cpp
34598 ac_cpp='$CXXCPP $CPPFLAGS'
34599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34604 /* end confdefs.h. */
34605 #include <math.h>
34606 #ifdef HAVE_IEEEFP_H
34607 #include <ieeefp.h>
34608 #endif
34611 main ()
34613 fpclass(0);
34615 return 0;
34617 _ACEOF
34618 if ac_fn_cxx_try_compile "$LINENO"; then :
34619 glibcxx_cv_func_fpclass_use=yes
34620 else
34621 glibcxx_cv_func_fpclass_use=no
34623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34624 ac_ext=c
34625 ac_cpp='$CPP $CPPFLAGS'
34626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
34635 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
34637 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
34638 for ac_func in fpclass
34639 do :
34640 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
34641 if test "x$ac_cv_func_fpclass" = x""yes; then :
34642 cat >>confdefs.h <<_ACEOF
34643 #define HAVE_FPCLASS 1
34644 _ACEOF
34647 done
34649 else
34651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
34652 $as_echo_n "checking for _fpclass declaration... " >&6; }
34653 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
34654 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
34655 $as_echo_n "(cached) " >&6
34656 else
34659 ac_ext=cpp
34660 ac_cpp='$CXXCPP $CPPFLAGS'
34661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34666 /* end confdefs.h. */
34667 #include <math.h>
34668 #ifdef HAVE_IEEEFP_H
34669 #include <ieeefp.h>
34670 #endif
34673 main ()
34675 _fpclass(0);
34677 return 0;
34679 _ACEOF
34680 if ac_fn_cxx_try_compile "$LINENO"; then :
34681 glibcxx_cv_func__fpclass_use=yes
34682 else
34683 glibcxx_cv_func__fpclass_use=no
34685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34686 ac_ext=c
34687 ac_cpp='$CPP $CPPFLAGS'
34688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
34697 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
34699 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
34700 for ac_func in _fpclass
34701 do :
34702 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
34703 if test "x$ac_cv_func__fpclass" = x""yes; then :
34704 cat >>confdefs.h <<_ACEOF
34705 #define HAVE__FPCLASS 1
34706 _ACEOF
34709 done
34718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
34719 $as_echo_n "checking for qfpclass declaration... " >&6; }
34720 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
34721 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
34722 $as_echo_n "(cached) " >&6
34723 else
34726 ac_ext=cpp
34727 ac_cpp='$CXXCPP $CPPFLAGS'
34728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34733 /* end confdefs.h. */
34734 #include <math.h>
34735 #ifdef HAVE_IEEEFP_H
34736 #include <ieeefp.h>
34737 #endif
34740 main ()
34742 qfpclass(0);
34744 return 0;
34746 _ACEOF
34747 if ac_fn_cxx_try_compile "$LINENO"; then :
34748 glibcxx_cv_func_qfpclass_use=yes
34749 else
34750 glibcxx_cv_func_qfpclass_use=no
34752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34753 ac_ext=c
34754 ac_cpp='$CPP $CPPFLAGS'
34755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
34764 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
34766 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
34767 for ac_func in qfpclass
34768 do :
34769 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
34770 if test "x$ac_cv_func_qfpclass" = x""yes; then :
34771 cat >>confdefs.h <<_ACEOF
34772 #define HAVE_QFPCLASS 1
34773 _ACEOF
34776 done
34778 else
34780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
34781 $as_echo_n "checking for _qfpclass declaration... " >&6; }
34782 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
34783 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
34784 $as_echo_n "(cached) " >&6
34785 else
34788 ac_ext=cpp
34789 ac_cpp='$CXXCPP $CPPFLAGS'
34790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34795 /* end confdefs.h. */
34796 #include <math.h>
34797 #ifdef HAVE_IEEEFP_H
34798 #include <ieeefp.h>
34799 #endif
34802 main ()
34804 _qfpclass(0);
34806 return 0;
34808 _ACEOF
34809 if ac_fn_cxx_try_compile "$LINENO"; then :
34810 glibcxx_cv_func__qfpclass_use=yes
34811 else
34812 glibcxx_cv_func__qfpclass_use=no
34814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34815 ac_ext=c
34816 ac_cpp='$CPP $CPPFLAGS'
34817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
34826 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
34828 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
34829 for ac_func in _qfpclass
34830 do :
34831 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
34832 if test "x$ac_cv_func__qfpclass" = x""yes; then :
34833 cat >>confdefs.h <<_ACEOF
34834 #define HAVE__QFPCLASS 1
34835 _ACEOF
34838 done
34847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
34848 $as_echo_n "checking for hypot declaration... " >&6; }
34849 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
34850 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
34851 $as_echo_n "(cached) " >&6
34852 else
34855 ac_ext=cpp
34856 ac_cpp='$CXXCPP $CPPFLAGS'
34857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34862 /* end confdefs.h. */
34863 #include <math.h>
34865 main ()
34867 hypot(0, 0);
34869 return 0;
34871 _ACEOF
34872 if ac_fn_cxx_try_compile "$LINENO"; then :
34873 glibcxx_cv_func_hypot_use=yes
34874 else
34875 glibcxx_cv_func_hypot_use=no
34877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34878 ac_ext=c
34879 ac_cpp='$CPP $CPPFLAGS'
34880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
34889 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
34891 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
34892 for ac_func in hypot
34893 do :
34894 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
34895 if test "x$ac_cv_func_hypot" = x""yes; then :
34896 cat >>confdefs.h <<_ACEOF
34897 #define HAVE_HYPOT 1
34898 _ACEOF
34901 done
34903 else
34905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
34906 $as_echo_n "checking for _hypot declaration... " >&6; }
34907 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
34908 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
34909 $as_echo_n "(cached) " >&6
34910 else
34913 ac_ext=cpp
34914 ac_cpp='$CXXCPP $CPPFLAGS'
34915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34920 /* end confdefs.h. */
34921 #include <math.h>
34923 main ()
34925 _hypot(0, 0);
34927 return 0;
34929 _ACEOF
34930 if ac_fn_cxx_try_compile "$LINENO"; then :
34931 glibcxx_cv_func__hypot_use=yes
34932 else
34933 glibcxx_cv_func__hypot_use=no
34935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34936 ac_ext=c
34937 ac_cpp='$CPP $CPPFLAGS'
34938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
34947 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
34949 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
34950 for ac_func in _hypot
34951 do :
34952 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
34953 if test "x$ac_cv_func__hypot" = x""yes; then :
34954 cat >>confdefs.h <<_ACEOF
34955 #define HAVE__HYPOT 1
34956 _ACEOF
34959 done
34968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
34969 $as_echo_n "checking for float trig functions... " >&6; }
34970 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
34971 $as_echo_n "(cached) " >&6
34972 else
34975 ac_ext=cpp
34976 ac_cpp='$CXXCPP $CPPFLAGS'
34977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34982 /* end confdefs.h. */
34983 #include <math.h>
34985 main ()
34987 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
34989 return 0;
34991 _ACEOF
34992 if ac_fn_cxx_try_compile "$LINENO"; then :
34993 glibcxx_cv_func_float_trig_use=yes
34994 else
34995 glibcxx_cv_func_float_trig_use=no
34997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34998 ac_ext=c
34999 ac_cpp='$CPP $CPPFLAGS'
35000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
35007 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
35008 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
35009 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
35010 do :
35011 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35012 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35013 eval as_val=\$$as_ac_var
35014 if test "x$as_val" = x""yes; then :
35015 cat >>confdefs.h <<_ACEOF
35016 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35017 _ACEOF
35020 done
35022 else
35023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
35024 $as_echo_n "checking for _float trig functions... " >&6; }
35025 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
35026 $as_echo_n "(cached) " >&6
35027 else
35030 ac_ext=cpp
35031 ac_cpp='$CXXCPP $CPPFLAGS'
35032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35037 /* end confdefs.h. */
35038 #include <math.h>
35040 main ()
35042 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
35044 return 0;
35046 _ACEOF
35047 if ac_fn_cxx_try_compile "$LINENO"; then :
35048 glibcxx_cv_func__float_trig_use=yes
35049 else
35050 glibcxx_cv_func__float_trig_use=no
35052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35053 ac_ext=c
35054 ac_cpp='$CPP $CPPFLAGS'
35055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
35062 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
35063 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
35064 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
35065 do :
35066 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35067 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35068 eval as_val=\$$as_ac_var
35069 if test "x$as_val" = x""yes; then :
35070 cat >>confdefs.h <<_ACEOF
35071 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35072 _ACEOF
35075 done
35084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
35085 $as_echo_n "checking for float round functions... " >&6; }
35086 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
35087 $as_echo_n "(cached) " >&6
35088 else
35091 ac_ext=cpp
35092 ac_cpp='$CXXCPP $CPPFLAGS'
35093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35098 /* end confdefs.h. */
35099 #include <math.h>
35101 main ()
35103 ceilf (0); floorf (0);
35105 return 0;
35107 _ACEOF
35108 if ac_fn_cxx_try_compile "$LINENO"; then :
35109 glibcxx_cv_func_float_round_use=yes
35110 else
35111 glibcxx_cv_func_float_round_use=no
35113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35114 ac_ext=c
35115 ac_cpp='$CPP $CPPFLAGS'
35116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
35123 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
35124 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
35125 for ac_func in ceilf floorf
35126 do :
35127 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35128 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35129 eval as_val=\$$as_ac_var
35130 if test "x$as_val" = x""yes; then :
35131 cat >>confdefs.h <<_ACEOF
35132 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35133 _ACEOF
35136 done
35138 else
35139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
35140 $as_echo_n "checking for _float round functions... " >&6; }
35141 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
35142 $as_echo_n "(cached) " >&6
35143 else
35146 ac_ext=cpp
35147 ac_cpp='$CXXCPP $CPPFLAGS'
35148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35153 /* end confdefs.h. */
35154 #include <math.h>
35156 main ()
35158 _ceilf (0); _floorf (0);
35160 return 0;
35162 _ACEOF
35163 if ac_fn_cxx_try_compile "$LINENO"; then :
35164 glibcxx_cv_func__float_round_use=yes
35165 else
35166 glibcxx_cv_func__float_round_use=no
35168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35169 ac_ext=c
35170 ac_cpp='$CPP $CPPFLAGS'
35171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
35178 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
35179 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
35180 for ac_func in _ceilf _floorf
35181 do :
35182 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35183 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35184 eval as_val=\$$as_ac_var
35185 if test "x$as_val" = x""yes; then :
35186 cat >>confdefs.h <<_ACEOF
35187 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35188 _ACEOF
35191 done
35201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
35202 $as_echo_n "checking for expf declaration... " >&6; }
35203 if test x${glibcxx_cv_func_expf_use+set} != xset; then
35204 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
35205 $as_echo_n "(cached) " >&6
35206 else
35209 ac_ext=cpp
35210 ac_cpp='$CXXCPP $CPPFLAGS'
35211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35216 /* end confdefs.h. */
35217 #include <math.h>
35218 #ifdef HAVE_IEEEFP_H
35219 #include <ieeefp.h>
35220 #endif
35223 main ()
35225 expf(0);
35227 return 0;
35229 _ACEOF
35230 if ac_fn_cxx_try_compile "$LINENO"; then :
35231 glibcxx_cv_func_expf_use=yes
35232 else
35233 glibcxx_cv_func_expf_use=no
35235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35236 ac_ext=c
35237 ac_cpp='$CPP $CPPFLAGS'
35238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
35247 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
35249 if test x$glibcxx_cv_func_expf_use = x"yes"; then
35250 for ac_func in expf
35251 do :
35252 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
35253 if test "x$ac_cv_func_expf" = x""yes; then :
35254 cat >>confdefs.h <<_ACEOF
35255 #define HAVE_EXPF 1
35256 _ACEOF
35259 done
35261 else
35263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
35264 $as_echo_n "checking for _expf declaration... " >&6; }
35265 if test x${glibcxx_cv_func__expf_use+set} != xset; then
35266 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
35267 $as_echo_n "(cached) " >&6
35268 else
35271 ac_ext=cpp
35272 ac_cpp='$CXXCPP $CPPFLAGS'
35273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35278 /* end confdefs.h. */
35279 #include <math.h>
35280 #ifdef HAVE_IEEEFP_H
35281 #include <ieeefp.h>
35282 #endif
35285 main ()
35287 _expf(0);
35289 return 0;
35291 _ACEOF
35292 if ac_fn_cxx_try_compile "$LINENO"; then :
35293 glibcxx_cv_func__expf_use=yes
35294 else
35295 glibcxx_cv_func__expf_use=no
35297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35298 ac_ext=c
35299 ac_cpp='$CPP $CPPFLAGS'
35300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
35309 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
35311 if test x$glibcxx_cv_func__expf_use = x"yes"; then
35312 for ac_func in _expf
35313 do :
35314 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
35315 if test "x$ac_cv_func__expf" = x""yes; then :
35316 cat >>confdefs.h <<_ACEOF
35317 #define HAVE__EXPF 1
35318 _ACEOF
35321 done
35330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
35331 $as_echo_n "checking for isnanf declaration... " >&6; }
35332 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
35333 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
35334 $as_echo_n "(cached) " >&6
35335 else
35338 ac_ext=cpp
35339 ac_cpp='$CXXCPP $CPPFLAGS'
35340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35345 /* end confdefs.h. */
35346 #include <math.h>
35347 #ifdef HAVE_IEEEFP_H
35348 #include <ieeefp.h>
35349 #endif
35352 main ()
35354 isnanf(0);
35356 return 0;
35358 _ACEOF
35359 if ac_fn_cxx_try_compile "$LINENO"; then :
35360 glibcxx_cv_func_isnanf_use=yes
35361 else
35362 glibcxx_cv_func_isnanf_use=no
35364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35365 ac_ext=c
35366 ac_cpp='$CPP $CPPFLAGS'
35367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
35376 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
35378 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
35379 for ac_func in isnanf
35380 do :
35381 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
35382 if test "x$ac_cv_func_isnanf" = x""yes; then :
35383 cat >>confdefs.h <<_ACEOF
35384 #define HAVE_ISNANF 1
35385 _ACEOF
35388 done
35390 else
35392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
35393 $as_echo_n "checking for _isnanf declaration... " >&6; }
35394 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
35395 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
35396 $as_echo_n "(cached) " >&6
35397 else
35400 ac_ext=cpp
35401 ac_cpp='$CXXCPP $CPPFLAGS'
35402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35407 /* end confdefs.h. */
35408 #include <math.h>
35409 #ifdef HAVE_IEEEFP_H
35410 #include <ieeefp.h>
35411 #endif
35414 main ()
35416 _isnanf(0);
35418 return 0;
35420 _ACEOF
35421 if ac_fn_cxx_try_compile "$LINENO"; then :
35422 glibcxx_cv_func__isnanf_use=yes
35423 else
35424 glibcxx_cv_func__isnanf_use=no
35426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35427 ac_ext=c
35428 ac_cpp='$CPP $CPPFLAGS'
35429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
35438 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
35440 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
35441 for ac_func in _isnanf
35442 do :
35443 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
35444 if test "x$ac_cv_func__isnanf" = x""yes; then :
35445 cat >>confdefs.h <<_ACEOF
35446 #define HAVE__ISNANF 1
35447 _ACEOF
35450 done
35459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
35460 $as_echo_n "checking for isinff declaration... " >&6; }
35461 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
35462 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
35463 $as_echo_n "(cached) " >&6
35464 else
35467 ac_ext=cpp
35468 ac_cpp='$CXXCPP $CPPFLAGS'
35469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35474 /* end confdefs.h. */
35475 #include <math.h>
35476 #ifdef HAVE_IEEEFP_H
35477 #include <ieeefp.h>
35478 #endif
35481 main ()
35483 isinff(0);
35485 return 0;
35487 _ACEOF
35488 if ac_fn_cxx_try_compile "$LINENO"; then :
35489 glibcxx_cv_func_isinff_use=yes
35490 else
35491 glibcxx_cv_func_isinff_use=no
35493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35494 ac_ext=c
35495 ac_cpp='$CPP $CPPFLAGS'
35496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
35505 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
35507 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
35508 for ac_func in isinff
35509 do :
35510 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
35511 if test "x$ac_cv_func_isinff" = x""yes; then :
35512 cat >>confdefs.h <<_ACEOF
35513 #define HAVE_ISINFF 1
35514 _ACEOF
35517 done
35519 else
35521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
35522 $as_echo_n "checking for _isinff declaration... " >&6; }
35523 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
35524 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
35525 $as_echo_n "(cached) " >&6
35526 else
35529 ac_ext=cpp
35530 ac_cpp='$CXXCPP $CPPFLAGS'
35531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35536 /* end confdefs.h. */
35537 #include <math.h>
35538 #ifdef HAVE_IEEEFP_H
35539 #include <ieeefp.h>
35540 #endif
35543 main ()
35545 _isinff(0);
35547 return 0;
35549 _ACEOF
35550 if ac_fn_cxx_try_compile "$LINENO"; then :
35551 glibcxx_cv_func__isinff_use=yes
35552 else
35553 glibcxx_cv_func__isinff_use=no
35555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35556 ac_ext=c
35557 ac_cpp='$CPP $CPPFLAGS'
35558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
35567 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
35569 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
35570 for ac_func in _isinff
35571 do :
35572 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
35573 if test "x$ac_cv_func__isinff" = x""yes; then :
35574 cat >>confdefs.h <<_ACEOF
35575 #define HAVE__ISINFF 1
35576 _ACEOF
35579 done
35588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
35589 $as_echo_n "checking for atan2f declaration... " >&6; }
35590 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
35591 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
35592 $as_echo_n "(cached) " >&6
35593 else
35596 ac_ext=cpp
35597 ac_cpp='$CXXCPP $CPPFLAGS'
35598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35603 /* end confdefs.h. */
35604 #include <math.h>
35606 main ()
35608 atan2f(0, 0);
35610 return 0;
35612 _ACEOF
35613 if ac_fn_cxx_try_compile "$LINENO"; then :
35614 glibcxx_cv_func_atan2f_use=yes
35615 else
35616 glibcxx_cv_func_atan2f_use=no
35618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35619 ac_ext=c
35620 ac_cpp='$CPP $CPPFLAGS'
35621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
35630 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
35632 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
35633 for ac_func in atan2f
35634 do :
35635 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
35636 if test "x$ac_cv_func_atan2f" = x""yes; then :
35637 cat >>confdefs.h <<_ACEOF
35638 #define HAVE_ATAN2F 1
35639 _ACEOF
35642 done
35644 else
35646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
35647 $as_echo_n "checking for _atan2f declaration... " >&6; }
35648 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
35649 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
35650 $as_echo_n "(cached) " >&6
35651 else
35654 ac_ext=cpp
35655 ac_cpp='$CXXCPP $CPPFLAGS'
35656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35661 /* end confdefs.h. */
35662 #include <math.h>
35664 main ()
35666 _atan2f(0, 0);
35668 return 0;
35670 _ACEOF
35671 if ac_fn_cxx_try_compile "$LINENO"; then :
35672 glibcxx_cv_func__atan2f_use=yes
35673 else
35674 glibcxx_cv_func__atan2f_use=no
35676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35677 ac_ext=c
35678 ac_cpp='$CPP $CPPFLAGS'
35679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
35688 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
35690 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
35691 for ac_func in _atan2f
35692 do :
35693 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
35694 if test "x$ac_cv_func__atan2f" = x""yes; then :
35695 cat >>confdefs.h <<_ACEOF
35696 #define HAVE__ATAN2F 1
35697 _ACEOF
35700 done
35709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
35710 $as_echo_n "checking for fabsf declaration... " >&6; }
35711 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
35712 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
35713 $as_echo_n "(cached) " >&6
35714 else
35717 ac_ext=cpp
35718 ac_cpp='$CXXCPP $CPPFLAGS'
35719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35724 /* end confdefs.h. */
35725 #include <math.h>
35726 #ifdef HAVE_IEEEFP_H
35727 #include <ieeefp.h>
35728 #endif
35731 main ()
35733 fabsf(0);
35735 return 0;
35737 _ACEOF
35738 if ac_fn_cxx_try_compile "$LINENO"; then :
35739 glibcxx_cv_func_fabsf_use=yes
35740 else
35741 glibcxx_cv_func_fabsf_use=no
35743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35744 ac_ext=c
35745 ac_cpp='$CPP $CPPFLAGS'
35746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
35755 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
35757 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
35758 for ac_func in fabsf
35759 do :
35760 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
35761 if test "x$ac_cv_func_fabsf" = x""yes; then :
35762 cat >>confdefs.h <<_ACEOF
35763 #define HAVE_FABSF 1
35764 _ACEOF
35767 done
35769 else
35771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
35772 $as_echo_n "checking for _fabsf declaration... " >&6; }
35773 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
35774 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
35775 $as_echo_n "(cached) " >&6
35776 else
35779 ac_ext=cpp
35780 ac_cpp='$CXXCPP $CPPFLAGS'
35781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35786 /* end confdefs.h. */
35787 #include <math.h>
35788 #ifdef HAVE_IEEEFP_H
35789 #include <ieeefp.h>
35790 #endif
35793 main ()
35795 _fabsf(0);
35797 return 0;
35799 _ACEOF
35800 if ac_fn_cxx_try_compile "$LINENO"; then :
35801 glibcxx_cv_func__fabsf_use=yes
35802 else
35803 glibcxx_cv_func__fabsf_use=no
35805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35806 ac_ext=c
35807 ac_cpp='$CPP $CPPFLAGS'
35808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
35817 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
35819 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
35820 for ac_func in _fabsf
35821 do :
35822 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
35823 if test "x$ac_cv_func__fabsf" = x""yes; then :
35824 cat >>confdefs.h <<_ACEOF
35825 #define HAVE__FABSF 1
35826 _ACEOF
35829 done
35838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
35839 $as_echo_n "checking for fmodf declaration... " >&6; }
35840 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
35841 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
35842 $as_echo_n "(cached) " >&6
35843 else
35846 ac_ext=cpp
35847 ac_cpp='$CXXCPP $CPPFLAGS'
35848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35853 /* end confdefs.h. */
35854 #include <math.h>
35856 main ()
35858 fmodf(0, 0);
35860 return 0;
35862 _ACEOF
35863 if ac_fn_cxx_try_compile "$LINENO"; then :
35864 glibcxx_cv_func_fmodf_use=yes
35865 else
35866 glibcxx_cv_func_fmodf_use=no
35868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35869 ac_ext=c
35870 ac_cpp='$CPP $CPPFLAGS'
35871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
35880 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
35882 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
35883 for ac_func in fmodf
35884 do :
35885 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
35886 if test "x$ac_cv_func_fmodf" = x""yes; then :
35887 cat >>confdefs.h <<_ACEOF
35888 #define HAVE_FMODF 1
35889 _ACEOF
35892 done
35894 else
35896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
35897 $as_echo_n "checking for _fmodf declaration... " >&6; }
35898 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
35899 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
35900 $as_echo_n "(cached) " >&6
35901 else
35904 ac_ext=cpp
35905 ac_cpp='$CXXCPP $CPPFLAGS'
35906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35911 /* end confdefs.h. */
35912 #include <math.h>
35914 main ()
35916 _fmodf(0, 0);
35918 return 0;
35920 _ACEOF
35921 if ac_fn_cxx_try_compile "$LINENO"; then :
35922 glibcxx_cv_func__fmodf_use=yes
35923 else
35924 glibcxx_cv_func__fmodf_use=no
35926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35927 ac_ext=c
35928 ac_cpp='$CPP $CPPFLAGS'
35929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
35938 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
35940 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
35941 for ac_func in _fmodf
35942 do :
35943 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
35944 if test "x$ac_cv_func__fmodf" = x""yes; then :
35945 cat >>confdefs.h <<_ACEOF
35946 #define HAVE__FMODF 1
35947 _ACEOF
35950 done
35959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
35960 $as_echo_n "checking for frexpf declaration... " >&6; }
35961 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
35962 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
35963 $as_echo_n "(cached) " >&6
35964 else
35967 ac_ext=cpp
35968 ac_cpp='$CXXCPP $CPPFLAGS'
35969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35974 /* end confdefs.h. */
35975 #include <math.h>
35977 main ()
35979 frexpf(0, 0);
35981 return 0;
35983 _ACEOF
35984 if ac_fn_cxx_try_compile "$LINENO"; then :
35985 glibcxx_cv_func_frexpf_use=yes
35986 else
35987 glibcxx_cv_func_frexpf_use=no
35989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35990 ac_ext=c
35991 ac_cpp='$CPP $CPPFLAGS'
35992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
36001 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
36003 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
36004 for ac_func in frexpf
36005 do :
36006 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
36007 if test "x$ac_cv_func_frexpf" = x""yes; then :
36008 cat >>confdefs.h <<_ACEOF
36009 #define HAVE_FREXPF 1
36010 _ACEOF
36013 done
36015 else
36017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
36018 $as_echo_n "checking for _frexpf declaration... " >&6; }
36019 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
36020 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
36021 $as_echo_n "(cached) " >&6
36022 else
36025 ac_ext=cpp
36026 ac_cpp='$CXXCPP $CPPFLAGS'
36027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36032 /* end confdefs.h. */
36033 #include <math.h>
36035 main ()
36037 _frexpf(0, 0);
36039 return 0;
36041 _ACEOF
36042 if ac_fn_cxx_try_compile "$LINENO"; then :
36043 glibcxx_cv_func__frexpf_use=yes
36044 else
36045 glibcxx_cv_func__frexpf_use=no
36047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36048 ac_ext=c
36049 ac_cpp='$CPP $CPPFLAGS'
36050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
36059 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
36061 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
36062 for ac_func in _frexpf
36063 do :
36064 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
36065 if test "x$ac_cv_func__frexpf" = x""yes; then :
36066 cat >>confdefs.h <<_ACEOF
36067 #define HAVE__FREXPF 1
36068 _ACEOF
36071 done
36080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
36081 $as_echo_n "checking for hypotf declaration... " >&6; }
36082 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
36083 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
36084 $as_echo_n "(cached) " >&6
36085 else
36088 ac_ext=cpp
36089 ac_cpp='$CXXCPP $CPPFLAGS'
36090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36095 /* end confdefs.h. */
36096 #include <math.h>
36098 main ()
36100 hypotf(0, 0);
36102 return 0;
36104 _ACEOF
36105 if ac_fn_cxx_try_compile "$LINENO"; then :
36106 glibcxx_cv_func_hypotf_use=yes
36107 else
36108 glibcxx_cv_func_hypotf_use=no
36110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36111 ac_ext=c
36112 ac_cpp='$CPP $CPPFLAGS'
36113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
36122 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
36124 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
36125 for ac_func in hypotf
36126 do :
36127 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
36128 if test "x$ac_cv_func_hypotf" = x""yes; then :
36129 cat >>confdefs.h <<_ACEOF
36130 #define HAVE_HYPOTF 1
36131 _ACEOF
36134 done
36136 else
36138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
36139 $as_echo_n "checking for _hypotf declaration... " >&6; }
36140 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
36141 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
36142 $as_echo_n "(cached) " >&6
36143 else
36146 ac_ext=cpp
36147 ac_cpp='$CXXCPP $CPPFLAGS'
36148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36153 /* end confdefs.h. */
36154 #include <math.h>
36156 main ()
36158 _hypotf(0, 0);
36160 return 0;
36162 _ACEOF
36163 if ac_fn_cxx_try_compile "$LINENO"; then :
36164 glibcxx_cv_func__hypotf_use=yes
36165 else
36166 glibcxx_cv_func__hypotf_use=no
36168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36169 ac_ext=c
36170 ac_cpp='$CPP $CPPFLAGS'
36171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
36180 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
36182 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
36183 for ac_func in _hypotf
36184 do :
36185 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
36186 if test "x$ac_cv_func__hypotf" = x""yes; then :
36187 cat >>confdefs.h <<_ACEOF
36188 #define HAVE__HYPOTF 1
36189 _ACEOF
36192 done
36201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
36202 $as_echo_n "checking for ldexpf declaration... " >&6; }
36203 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
36204 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
36205 $as_echo_n "(cached) " >&6
36206 else
36209 ac_ext=cpp
36210 ac_cpp='$CXXCPP $CPPFLAGS'
36211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36216 /* end confdefs.h. */
36217 #include <math.h>
36219 main ()
36221 ldexpf(0, 0);
36223 return 0;
36225 _ACEOF
36226 if ac_fn_cxx_try_compile "$LINENO"; then :
36227 glibcxx_cv_func_ldexpf_use=yes
36228 else
36229 glibcxx_cv_func_ldexpf_use=no
36231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36232 ac_ext=c
36233 ac_cpp='$CPP $CPPFLAGS'
36234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
36243 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
36245 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
36246 for ac_func in ldexpf
36247 do :
36248 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
36249 if test "x$ac_cv_func_ldexpf" = x""yes; then :
36250 cat >>confdefs.h <<_ACEOF
36251 #define HAVE_LDEXPF 1
36252 _ACEOF
36255 done
36257 else
36259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
36260 $as_echo_n "checking for _ldexpf declaration... " >&6; }
36261 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
36262 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
36263 $as_echo_n "(cached) " >&6
36264 else
36267 ac_ext=cpp
36268 ac_cpp='$CXXCPP $CPPFLAGS'
36269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36274 /* end confdefs.h. */
36275 #include <math.h>
36277 main ()
36279 _ldexpf(0, 0);
36281 return 0;
36283 _ACEOF
36284 if ac_fn_cxx_try_compile "$LINENO"; then :
36285 glibcxx_cv_func__ldexpf_use=yes
36286 else
36287 glibcxx_cv_func__ldexpf_use=no
36289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36290 ac_ext=c
36291 ac_cpp='$CPP $CPPFLAGS'
36292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
36301 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
36303 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
36304 for ac_func in _ldexpf
36305 do :
36306 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
36307 if test "x$ac_cv_func__ldexpf" = x""yes; then :
36308 cat >>confdefs.h <<_ACEOF
36309 #define HAVE__LDEXPF 1
36310 _ACEOF
36313 done
36322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
36323 $as_echo_n "checking for logf declaration... " >&6; }
36324 if test x${glibcxx_cv_func_logf_use+set} != xset; then
36325 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
36326 $as_echo_n "(cached) " >&6
36327 else
36330 ac_ext=cpp
36331 ac_cpp='$CXXCPP $CPPFLAGS'
36332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36337 /* end confdefs.h. */
36338 #include <math.h>
36339 #ifdef HAVE_IEEEFP_H
36340 #include <ieeefp.h>
36341 #endif
36344 main ()
36346 logf(0);
36348 return 0;
36350 _ACEOF
36351 if ac_fn_cxx_try_compile "$LINENO"; then :
36352 glibcxx_cv_func_logf_use=yes
36353 else
36354 glibcxx_cv_func_logf_use=no
36356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36357 ac_ext=c
36358 ac_cpp='$CPP $CPPFLAGS'
36359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
36368 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
36370 if test x$glibcxx_cv_func_logf_use = x"yes"; then
36371 for ac_func in logf
36372 do :
36373 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
36374 if test "x$ac_cv_func_logf" = x""yes; then :
36375 cat >>confdefs.h <<_ACEOF
36376 #define HAVE_LOGF 1
36377 _ACEOF
36380 done
36382 else
36384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
36385 $as_echo_n "checking for _logf declaration... " >&6; }
36386 if test x${glibcxx_cv_func__logf_use+set} != xset; then
36387 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
36388 $as_echo_n "(cached) " >&6
36389 else
36392 ac_ext=cpp
36393 ac_cpp='$CXXCPP $CPPFLAGS'
36394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36399 /* end confdefs.h. */
36400 #include <math.h>
36401 #ifdef HAVE_IEEEFP_H
36402 #include <ieeefp.h>
36403 #endif
36406 main ()
36408 _logf(0);
36410 return 0;
36412 _ACEOF
36413 if ac_fn_cxx_try_compile "$LINENO"; then :
36414 glibcxx_cv_func__logf_use=yes
36415 else
36416 glibcxx_cv_func__logf_use=no
36418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36419 ac_ext=c
36420 ac_cpp='$CPP $CPPFLAGS'
36421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
36430 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
36432 if test x$glibcxx_cv_func__logf_use = x"yes"; then
36433 for ac_func in _logf
36434 do :
36435 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
36436 if test "x$ac_cv_func__logf" = x""yes; then :
36437 cat >>confdefs.h <<_ACEOF
36438 #define HAVE__LOGF 1
36439 _ACEOF
36442 done
36451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
36452 $as_echo_n "checking for log10f declaration... " >&6; }
36453 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
36454 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
36455 $as_echo_n "(cached) " >&6
36456 else
36459 ac_ext=cpp
36460 ac_cpp='$CXXCPP $CPPFLAGS'
36461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36466 /* end confdefs.h. */
36467 #include <math.h>
36468 #ifdef HAVE_IEEEFP_H
36469 #include <ieeefp.h>
36470 #endif
36473 main ()
36475 log10f(0);
36477 return 0;
36479 _ACEOF
36480 if ac_fn_cxx_try_compile "$LINENO"; then :
36481 glibcxx_cv_func_log10f_use=yes
36482 else
36483 glibcxx_cv_func_log10f_use=no
36485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36486 ac_ext=c
36487 ac_cpp='$CPP $CPPFLAGS'
36488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
36497 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
36499 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
36500 for ac_func in log10f
36501 do :
36502 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
36503 if test "x$ac_cv_func_log10f" = x""yes; then :
36504 cat >>confdefs.h <<_ACEOF
36505 #define HAVE_LOG10F 1
36506 _ACEOF
36509 done
36511 else
36513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
36514 $as_echo_n "checking for _log10f declaration... " >&6; }
36515 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
36516 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
36517 $as_echo_n "(cached) " >&6
36518 else
36521 ac_ext=cpp
36522 ac_cpp='$CXXCPP $CPPFLAGS'
36523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36528 /* end confdefs.h. */
36529 #include <math.h>
36530 #ifdef HAVE_IEEEFP_H
36531 #include <ieeefp.h>
36532 #endif
36535 main ()
36537 _log10f(0);
36539 return 0;
36541 _ACEOF
36542 if ac_fn_cxx_try_compile "$LINENO"; then :
36543 glibcxx_cv_func__log10f_use=yes
36544 else
36545 glibcxx_cv_func__log10f_use=no
36547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36548 ac_ext=c
36549 ac_cpp='$CPP $CPPFLAGS'
36550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
36559 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
36561 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
36562 for ac_func in _log10f
36563 do :
36564 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
36565 if test "x$ac_cv_func__log10f" = x""yes; then :
36566 cat >>confdefs.h <<_ACEOF
36567 #define HAVE__LOG10F 1
36568 _ACEOF
36571 done
36580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
36581 $as_echo_n "checking for modff declaration... " >&6; }
36582 if test x${glibcxx_cv_func_modff_use+set} != xset; then
36583 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
36584 $as_echo_n "(cached) " >&6
36585 else
36588 ac_ext=cpp
36589 ac_cpp='$CXXCPP $CPPFLAGS'
36590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36595 /* end confdefs.h. */
36596 #include <math.h>
36598 main ()
36600 modff(0, 0);
36602 return 0;
36604 _ACEOF
36605 if ac_fn_cxx_try_compile "$LINENO"; then :
36606 glibcxx_cv_func_modff_use=yes
36607 else
36608 glibcxx_cv_func_modff_use=no
36610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36611 ac_ext=c
36612 ac_cpp='$CPP $CPPFLAGS'
36613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
36622 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
36624 if test x$glibcxx_cv_func_modff_use = x"yes"; then
36625 for ac_func in modff
36626 do :
36627 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
36628 if test "x$ac_cv_func_modff" = x""yes; then :
36629 cat >>confdefs.h <<_ACEOF
36630 #define HAVE_MODFF 1
36631 _ACEOF
36634 done
36636 else
36638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
36639 $as_echo_n "checking for _modff declaration... " >&6; }
36640 if test x${glibcxx_cv_func__modff_use+set} != xset; then
36641 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
36642 $as_echo_n "(cached) " >&6
36643 else
36646 ac_ext=cpp
36647 ac_cpp='$CXXCPP $CPPFLAGS'
36648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36653 /* end confdefs.h. */
36654 #include <math.h>
36656 main ()
36658 _modff(0, 0);
36660 return 0;
36662 _ACEOF
36663 if ac_fn_cxx_try_compile "$LINENO"; then :
36664 glibcxx_cv_func__modff_use=yes
36665 else
36666 glibcxx_cv_func__modff_use=no
36668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36669 ac_ext=c
36670 ac_cpp='$CPP $CPPFLAGS'
36671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
36680 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
36682 if test x$glibcxx_cv_func__modff_use = x"yes"; then
36683 for ac_func in _modff
36684 do :
36685 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
36686 if test "x$ac_cv_func__modff" = x""yes; then :
36687 cat >>confdefs.h <<_ACEOF
36688 #define HAVE__MODFF 1
36689 _ACEOF
36692 done
36701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
36702 $as_echo_n "checking for modf declaration... " >&6; }
36703 if test x${glibcxx_cv_func_modf_use+set} != xset; then
36704 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
36705 $as_echo_n "(cached) " >&6
36706 else
36709 ac_ext=cpp
36710 ac_cpp='$CXXCPP $CPPFLAGS'
36711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36716 /* end confdefs.h. */
36717 #include <math.h>
36719 main ()
36721 modf(0, 0);
36723 return 0;
36725 _ACEOF
36726 if ac_fn_cxx_try_compile "$LINENO"; then :
36727 glibcxx_cv_func_modf_use=yes
36728 else
36729 glibcxx_cv_func_modf_use=no
36731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36732 ac_ext=c
36733 ac_cpp='$CPP $CPPFLAGS'
36734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
36743 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
36745 if test x$glibcxx_cv_func_modf_use = x"yes"; then
36746 for ac_func in modf
36747 do :
36748 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
36749 if test "x$ac_cv_func_modf" = x""yes; then :
36750 cat >>confdefs.h <<_ACEOF
36751 #define HAVE_MODF 1
36752 _ACEOF
36755 done
36757 else
36759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
36760 $as_echo_n "checking for _modf declaration... " >&6; }
36761 if test x${glibcxx_cv_func__modf_use+set} != xset; then
36762 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
36763 $as_echo_n "(cached) " >&6
36764 else
36767 ac_ext=cpp
36768 ac_cpp='$CXXCPP $CPPFLAGS'
36769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36774 /* end confdefs.h. */
36775 #include <math.h>
36777 main ()
36779 _modf(0, 0);
36781 return 0;
36783 _ACEOF
36784 if ac_fn_cxx_try_compile "$LINENO"; then :
36785 glibcxx_cv_func__modf_use=yes
36786 else
36787 glibcxx_cv_func__modf_use=no
36789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36790 ac_ext=c
36791 ac_cpp='$CPP $CPPFLAGS'
36792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
36801 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
36803 if test x$glibcxx_cv_func__modf_use = x"yes"; then
36804 for ac_func in _modf
36805 do :
36806 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
36807 if test "x$ac_cv_func__modf" = x""yes; then :
36808 cat >>confdefs.h <<_ACEOF
36809 #define HAVE__MODF 1
36810 _ACEOF
36813 done
36822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
36823 $as_echo_n "checking for powf declaration... " >&6; }
36824 if test x${glibcxx_cv_func_powf_use+set} != xset; then
36825 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
36826 $as_echo_n "(cached) " >&6
36827 else
36830 ac_ext=cpp
36831 ac_cpp='$CXXCPP $CPPFLAGS'
36832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36837 /* end confdefs.h. */
36838 #include <math.h>
36840 main ()
36842 powf(0, 0);
36844 return 0;
36846 _ACEOF
36847 if ac_fn_cxx_try_compile "$LINENO"; then :
36848 glibcxx_cv_func_powf_use=yes
36849 else
36850 glibcxx_cv_func_powf_use=no
36852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36853 ac_ext=c
36854 ac_cpp='$CPP $CPPFLAGS'
36855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
36864 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
36866 if test x$glibcxx_cv_func_powf_use = x"yes"; then
36867 for ac_func in powf
36868 do :
36869 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
36870 if test "x$ac_cv_func_powf" = x""yes; then :
36871 cat >>confdefs.h <<_ACEOF
36872 #define HAVE_POWF 1
36873 _ACEOF
36876 done
36878 else
36880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
36881 $as_echo_n "checking for _powf declaration... " >&6; }
36882 if test x${glibcxx_cv_func__powf_use+set} != xset; then
36883 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
36884 $as_echo_n "(cached) " >&6
36885 else
36888 ac_ext=cpp
36889 ac_cpp='$CXXCPP $CPPFLAGS'
36890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36895 /* end confdefs.h. */
36896 #include <math.h>
36898 main ()
36900 _powf(0, 0);
36902 return 0;
36904 _ACEOF
36905 if ac_fn_cxx_try_compile "$LINENO"; then :
36906 glibcxx_cv_func__powf_use=yes
36907 else
36908 glibcxx_cv_func__powf_use=no
36910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36911 ac_ext=c
36912 ac_cpp='$CPP $CPPFLAGS'
36913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
36922 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
36924 if test x$glibcxx_cv_func__powf_use = x"yes"; then
36925 for ac_func in _powf
36926 do :
36927 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
36928 if test "x$ac_cv_func__powf" = x""yes; then :
36929 cat >>confdefs.h <<_ACEOF
36930 #define HAVE__POWF 1
36931 _ACEOF
36934 done
36943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
36944 $as_echo_n "checking for sqrtf declaration... " >&6; }
36945 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
36946 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
36947 $as_echo_n "(cached) " >&6
36948 else
36951 ac_ext=cpp
36952 ac_cpp='$CXXCPP $CPPFLAGS'
36953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36958 /* end confdefs.h. */
36959 #include <math.h>
36960 #ifdef HAVE_IEEEFP_H
36961 #include <ieeefp.h>
36962 #endif
36965 main ()
36967 sqrtf(0);
36969 return 0;
36971 _ACEOF
36972 if ac_fn_cxx_try_compile "$LINENO"; then :
36973 glibcxx_cv_func_sqrtf_use=yes
36974 else
36975 glibcxx_cv_func_sqrtf_use=no
36977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36978 ac_ext=c
36979 ac_cpp='$CPP $CPPFLAGS'
36980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
36989 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
36991 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
36992 for ac_func in sqrtf
36993 do :
36994 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
36995 if test "x$ac_cv_func_sqrtf" = x""yes; then :
36996 cat >>confdefs.h <<_ACEOF
36997 #define HAVE_SQRTF 1
36998 _ACEOF
37001 done
37003 else
37005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
37006 $as_echo_n "checking for _sqrtf declaration... " >&6; }
37007 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
37008 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
37009 $as_echo_n "(cached) " >&6
37010 else
37013 ac_ext=cpp
37014 ac_cpp='$CXXCPP $CPPFLAGS'
37015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37020 /* end confdefs.h. */
37021 #include <math.h>
37022 #ifdef HAVE_IEEEFP_H
37023 #include <ieeefp.h>
37024 #endif
37027 main ()
37029 _sqrtf(0);
37031 return 0;
37033 _ACEOF
37034 if ac_fn_cxx_try_compile "$LINENO"; then :
37035 glibcxx_cv_func__sqrtf_use=yes
37036 else
37037 glibcxx_cv_func__sqrtf_use=no
37039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37040 ac_ext=c
37041 ac_cpp='$CPP $CPPFLAGS'
37042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
37051 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
37053 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
37054 for ac_func in _sqrtf
37055 do :
37056 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
37057 if test "x$ac_cv_func__sqrtf" = x""yes; then :
37058 cat >>confdefs.h <<_ACEOF
37059 #define HAVE__SQRTF 1
37060 _ACEOF
37063 done
37072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
37073 $as_echo_n "checking for sincosf declaration... " >&6; }
37074 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
37075 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
37076 $as_echo_n "(cached) " >&6
37077 else
37080 ac_ext=cpp
37081 ac_cpp='$CXXCPP $CPPFLAGS'
37082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37087 /* end confdefs.h. */
37088 #include <math.h>
37090 main ()
37092 sincosf(0, 0, 0);
37094 return 0;
37096 _ACEOF
37097 if ac_fn_cxx_try_compile "$LINENO"; then :
37098 glibcxx_cv_func_sincosf_use=yes
37099 else
37100 glibcxx_cv_func_sincosf_use=no
37102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37103 ac_ext=c
37104 ac_cpp='$CPP $CPPFLAGS'
37105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
37114 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
37116 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
37117 for ac_func in sincosf
37118 do :
37119 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
37120 if test "x$ac_cv_func_sincosf" = x""yes; then :
37121 cat >>confdefs.h <<_ACEOF
37122 #define HAVE_SINCOSF 1
37123 _ACEOF
37126 done
37128 else
37130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
37131 $as_echo_n "checking for _sincosf declaration... " >&6; }
37132 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
37133 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
37134 $as_echo_n "(cached) " >&6
37135 else
37138 ac_ext=cpp
37139 ac_cpp='$CXXCPP $CPPFLAGS'
37140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37145 /* end confdefs.h. */
37146 #include <math.h>
37148 main ()
37150 _sincosf(0, 0, 0);
37152 return 0;
37154 _ACEOF
37155 if ac_fn_cxx_try_compile "$LINENO"; then :
37156 glibcxx_cv_func__sincosf_use=yes
37157 else
37158 glibcxx_cv_func__sincosf_use=no
37160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37161 ac_ext=c
37162 ac_cpp='$CPP $CPPFLAGS'
37163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
37172 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
37174 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
37175 for ac_func in _sincosf
37176 do :
37177 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
37178 if test "x$ac_cv_func__sincosf" = x""yes; then :
37179 cat >>confdefs.h <<_ACEOF
37180 #define HAVE__SINCOSF 1
37181 _ACEOF
37184 done
37193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
37194 $as_echo_n "checking for finitef declaration... " >&6; }
37195 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
37196 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
37197 $as_echo_n "(cached) " >&6
37198 else
37201 ac_ext=cpp
37202 ac_cpp='$CXXCPP $CPPFLAGS'
37203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37208 /* end confdefs.h. */
37209 #include <math.h>
37210 #ifdef HAVE_IEEEFP_H
37211 #include <ieeefp.h>
37212 #endif
37215 main ()
37217 finitef(0);
37219 return 0;
37221 _ACEOF
37222 if ac_fn_cxx_try_compile "$LINENO"; then :
37223 glibcxx_cv_func_finitef_use=yes
37224 else
37225 glibcxx_cv_func_finitef_use=no
37227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37228 ac_ext=c
37229 ac_cpp='$CPP $CPPFLAGS'
37230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
37239 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
37241 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
37242 for ac_func in finitef
37243 do :
37244 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
37245 if test "x$ac_cv_func_finitef" = x""yes; then :
37246 cat >>confdefs.h <<_ACEOF
37247 #define HAVE_FINITEF 1
37248 _ACEOF
37251 done
37253 else
37255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
37256 $as_echo_n "checking for _finitef declaration... " >&6; }
37257 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
37258 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
37259 $as_echo_n "(cached) " >&6
37260 else
37263 ac_ext=cpp
37264 ac_cpp='$CXXCPP $CPPFLAGS'
37265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37270 /* end confdefs.h. */
37271 #include <math.h>
37272 #ifdef HAVE_IEEEFP_H
37273 #include <ieeefp.h>
37274 #endif
37277 main ()
37279 _finitef(0);
37281 return 0;
37283 _ACEOF
37284 if ac_fn_cxx_try_compile "$LINENO"; then :
37285 glibcxx_cv_func__finitef_use=yes
37286 else
37287 glibcxx_cv_func__finitef_use=no
37289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37290 ac_ext=c
37291 ac_cpp='$CPP $CPPFLAGS'
37292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
37301 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
37303 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
37304 for ac_func in _finitef
37305 do :
37306 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
37307 if test "x$ac_cv_func__finitef" = x""yes; then :
37308 cat >>confdefs.h <<_ACEOF
37309 #define HAVE__FINITEF 1
37310 _ACEOF
37313 done
37322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
37323 $as_echo_n "checking for long double trig functions... " >&6; }
37324 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
37325 $as_echo_n "(cached) " >&6
37326 else
37329 ac_ext=cpp
37330 ac_cpp='$CXXCPP $CPPFLAGS'
37331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37336 /* end confdefs.h. */
37337 #include <math.h>
37339 main ()
37341 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
37343 return 0;
37345 _ACEOF
37346 if ac_fn_cxx_try_compile "$LINENO"; then :
37347 glibcxx_cv_func_long_double_trig_use=yes
37348 else
37349 glibcxx_cv_func_long_double_trig_use=no
37351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37352 ac_ext=c
37353 ac_cpp='$CPP $CPPFLAGS'
37354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
37361 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
37362 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
37363 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
37364 do :
37365 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37366 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37367 eval as_val=\$$as_ac_var
37368 if test "x$as_val" = x""yes; then :
37369 cat >>confdefs.h <<_ACEOF
37370 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37371 _ACEOF
37374 done
37376 else
37377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
37378 $as_echo_n "checking for _long double trig functions... " >&6; }
37379 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
37380 $as_echo_n "(cached) " >&6
37381 else
37384 ac_ext=cpp
37385 ac_cpp='$CXXCPP $CPPFLAGS'
37386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37391 /* end confdefs.h. */
37392 #include <math.h>
37394 main ()
37396 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
37398 return 0;
37400 _ACEOF
37401 if ac_fn_cxx_try_compile "$LINENO"; then :
37402 glibcxx_cv_func__long_double_trig_use=yes
37403 else
37404 glibcxx_cv_func__long_double_trig_use=no
37406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37407 ac_ext=c
37408 ac_cpp='$CPP $CPPFLAGS'
37409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
37416 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
37417 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
37418 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
37419 do :
37420 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37421 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37422 eval as_val=\$$as_ac_var
37423 if test "x$as_val" = x""yes; then :
37424 cat >>confdefs.h <<_ACEOF
37425 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37426 _ACEOF
37429 done
37438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
37439 $as_echo_n "checking for long double round functions... " >&6; }
37440 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
37441 $as_echo_n "(cached) " >&6
37442 else
37445 ac_ext=cpp
37446 ac_cpp='$CXXCPP $CPPFLAGS'
37447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37452 /* end confdefs.h. */
37453 #include <math.h>
37455 main ()
37457 ceill (0); floorl (0);
37459 return 0;
37461 _ACEOF
37462 if ac_fn_cxx_try_compile "$LINENO"; then :
37463 glibcxx_cv_func_long_double_round_use=yes
37464 else
37465 glibcxx_cv_func_long_double_round_use=no
37467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37468 ac_ext=c
37469 ac_cpp='$CPP $CPPFLAGS'
37470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
37477 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
37478 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
37479 for ac_func in ceill floorl
37480 do :
37481 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37482 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37483 eval as_val=\$$as_ac_var
37484 if test "x$as_val" = x""yes; then :
37485 cat >>confdefs.h <<_ACEOF
37486 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37487 _ACEOF
37490 done
37492 else
37493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
37494 $as_echo_n "checking for _long double round functions... " >&6; }
37495 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
37496 $as_echo_n "(cached) " >&6
37497 else
37500 ac_ext=cpp
37501 ac_cpp='$CXXCPP $CPPFLAGS'
37502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37507 /* end confdefs.h. */
37508 #include <math.h>
37510 main ()
37512 _ceill (0); _floorl (0);
37514 return 0;
37516 _ACEOF
37517 if ac_fn_cxx_try_compile "$LINENO"; then :
37518 glibcxx_cv_func__long_double_round_use=yes
37519 else
37520 glibcxx_cv_func__long_double_round_use=no
37522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37523 ac_ext=c
37524 ac_cpp='$CPP $CPPFLAGS'
37525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
37532 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
37533 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
37534 for ac_func in _ceill _floorl
37535 do :
37536 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37537 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37538 eval as_val=\$$as_ac_var
37539 if test "x$as_val" = x""yes; then :
37540 cat >>confdefs.h <<_ACEOF
37541 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37542 _ACEOF
37545 done
37555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
37556 $as_echo_n "checking for isnanl declaration... " >&6; }
37557 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
37558 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
37559 $as_echo_n "(cached) " >&6
37560 else
37563 ac_ext=cpp
37564 ac_cpp='$CXXCPP $CPPFLAGS'
37565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37570 /* end confdefs.h. */
37571 #include <math.h>
37572 #ifdef HAVE_IEEEFP_H
37573 #include <ieeefp.h>
37574 #endif
37577 main ()
37579 isnanl(0);
37581 return 0;
37583 _ACEOF
37584 if ac_fn_cxx_try_compile "$LINENO"; then :
37585 glibcxx_cv_func_isnanl_use=yes
37586 else
37587 glibcxx_cv_func_isnanl_use=no
37589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37590 ac_ext=c
37591 ac_cpp='$CPP $CPPFLAGS'
37592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
37601 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
37603 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
37604 for ac_func in isnanl
37605 do :
37606 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
37607 if test "x$ac_cv_func_isnanl" = x""yes; then :
37608 cat >>confdefs.h <<_ACEOF
37609 #define HAVE_ISNANL 1
37610 _ACEOF
37613 done
37615 else
37617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
37618 $as_echo_n "checking for _isnanl declaration... " >&6; }
37619 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
37620 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
37621 $as_echo_n "(cached) " >&6
37622 else
37625 ac_ext=cpp
37626 ac_cpp='$CXXCPP $CPPFLAGS'
37627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37632 /* end confdefs.h. */
37633 #include <math.h>
37634 #ifdef HAVE_IEEEFP_H
37635 #include <ieeefp.h>
37636 #endif
37639 main ()
37641 _isnanl(0);
37643 return 0;
37645 _ACEOF
37646 if ac_fn_cxx_try_compile "$LINENO"; then :
37647 glibcxx_cv_func__isnanl_use=yes
37648 else
37649 glibcxx_cv_func__isnanl_use=no
37651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37652 ac_ext=c
37653 ac_cpp='$CPP $CPPFLAGS'
37654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
37663 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
37665 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
37666 for ac_func in _isnanl
37667 do :
37668 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
37669 if test "x$ac_cv_func__isnanl" = x""yes; then :
37670 cat >>confdefs.h <<_ACEOF
37671 #define HAVE__ISNANL 1
37672 _ACEOF
37675 done
37684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
37685 $as_echo_n "checking for isinfl declaration... " >&6; }
37686 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
37687 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
37688 $as_echo_n "(cached) " >&6
37689 else
37692 ac_ext=cpp
37693 ac_cpp='$CXXCPP $CPPFLAGS'
37694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37699 /* end confdefs.h. */
37700 #include <math.h>
37701 #ifdef HAVE_IEEEFP_H
37702 #include <ieeefp.h>
37703 #endif
37706 main ()
37708 isinfl(0);
37710 return 0;
37712 _ACEOF
37713 if ac_fn_cxx_try_compile "$LINENO"; then :
37714 glibcxx_cv_func_isinfl_use=yes
37715 else
37716 glibcxx_cv_func_isinfl_use=no
37718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37719 ac_ext=c
37720 ac_cpp='$CPP $CPPFLAGS'
37721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
37730 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
37732 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
37733 for ac_func in isinfl
37734 do :
37735 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
37736 if test "x$ac_cv_func_isinfl" = x""yes; then :
37737 cat >>confdefs.h <<_ACEOF
37738 #define HAVE_ISINFL 1
37739 _ACEOF
37742 done
37744 else
37746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
37747 $as_echo_n "checking for _isinfl declaration... " >&6; }
37748 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
37749 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
37750 $as_echo_n "(cached) " >&6
37751 else
37754 ac_ext=cpp
37755 ac_cpp='$CXXCPP $CPPFLAGS'
37756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37761 /* end confdefs.h. */
37762 #include <math.h>
37763 #ifdef HAVE_IEEEFP_H
37764 #include <ieeefp.h>
37765 #endif
37768 main ()
37770 _isinfl(0);
37772 return 0;
37774 _ACEOF
37775 if ac_fn_cxx_try_compile "$LINENO"; then :
37776 glibcxx_cv_func__isinfl_use=yes
37777 else
37778 glibcxx_cv_func__isinfl_use=no
37780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37781 ac_ext=c
37782 ac_cpp='$CPP $CPPFLAGS'
37783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
37792 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
37794 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
37795 for ac_func in _isinfl
37796 do :
37797 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
37798 if test "x$ac_cv_func__isinfl" = x""yes; then :
37799 cat >>confdefs.h <<_ACEOF
37800 #define HAVE__ISINFL 1
37801 _ACEOF
37804 done
37813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
37814 $as_echo_n "checking for atan2l declaration... " >&6; }
37815 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
37816 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
37817 $as_echo_n "(cached) " >&6
37818 else
37821 ac_ext=cpp
37822 ac_cpp='$CXXCPP $CPPFLAGS'
37823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37828 /* end confdefs.h. */
37829 #include <math.h>
37831 main ()
37833 atan2l(0, 0);
37835 return 0;
37837 _ACEOF
37838 if ac_fn_cxx_try_compile "$LINENO"; then :
37839 glibcxx_cv_func_atan2l_use=yes
37840 else
37841 glibcxx_cv_func_atan2l_use=no
37843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37844 ac_ext=c
37845 ac_cpp='$CPP $CPPFLAGS'
37846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
37855 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
37857 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
37858 for ac_func in atan2l
37859 do :
37860 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
37861 if test "x$ac_cv_func_atan2l" = x""yes; then :
37862 cat >>confdefs.h <<_ACEOF
37863 #define HAVE_ATAN2L 1
37864 _ACEOF
37867 done
37869 else
37871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
37872 $as_echo_n "checking for _atan2l declaration... " >&6; }
37873 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
37874 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
37875 $as_echo_n "(cached) " >&6
37876 else
37879 ac_ext=cpp
37880 ac_cpp='$CXXCPP $CPPFLAGS'
37881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37886 /* end confdefs.h. */
37887 #include <math.h>
37889 main ()
37891 _atan2l(0, 0);
37893 return 0;
37895 _ACEOF
37896 if ac_fn_cxx_try_compile "$LINENO"; then :
37897 glibcxx_cv_func__atan2l_use=yes
37898 else
37899 glibcxx_cv_func__atan2l_use=no
37901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37902 ac_ext=c
37903 ac_cpp='$CPP $CPPFLAGS'
37904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
37913 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
37915 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
37916 for ac_func in _atan2l
37917 do :
37918 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
37919 if test "x$ac_cv_func__atan2l" = x""yes; then :
37920 cat >>confdefs.h <<_ACEOF
37921 #define HAVE__ATAN2L 1
37922 _ACEOF
37925 done
37934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
37935 $as_echo_n "checking for expl declaration... " >&6; }
37936 if test x${glibcxx_cv_func_expl_use+set} != xset; then
37937 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
37938 $as_echo_n "(cached) " >&6
37939 else
37942 ac_ext=cpp
37943 ac_cpp='$CXXCPP $CPPFLAGS'
37944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37949 /* end confdefs.h. */
37950 #include <math.h>
37951 #ifdef HAVE_IEEEFP_H
37952 #include <ieeefp.h>
37953 #endif
37956 main ()
37958 expl(0);
37960 return 0;
37962 _ACEOF
37963 if ac_fn_cxx_try_compile "$LINENO"; then :
37964 glibcxx_cv_func_expl_use=yes
37965 else
37966 glibcxx_cv_func_expl_use=no
37968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37969 ac_ext=c
37970 ac_cpp='$CPP $CPPFLAGS'
37971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
37980 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
37982 if test x$glibcxx_cv_func_expl_use = x"yes"; then
37983 for ac_func in expl
37984 do :
37985 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
37986 if test "x$ac_cv_func_expl" = x""yes; then :
37987 cat >>confdefs.h <<_ACEOF
37988 #define HAVE_EXPL 1
37989 _ACEOF
37992 done
37994 else
37996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
37997 $as_echo_n "checking for _expl declaration... " >&6; }
37998 if test x${glibcxx_cv_func__expl_use+set} != xset; then
37999 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
38000 $as_echo_n "(cached) " >&6
38001 else
38004 ac_ext=cpp
38005 ac_cpp='$CXXCPP $CPPFLAGS'
38006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38011 /* end confdefs.h. */
38012 #include <math.h>
38013 #ifdef HAVE_IEEEFP_H
38014 #include <ieeefp.h>
38015 #endif
38018 main ()
38020 _expl(0);
38022 return 0;
38024 _ACEOF
38025 if ac_fn_cxx_try_compile "$LINENO"; then :
38026 glibcxx_cv_func__expl_use=yes
38027 else
38028 glibcxx_cv_func__expl_use=no
38030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38031 ac_ext=c
38032 ac_cpp='$CPP $CPPFLAGS'
38033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
38042 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
38044 if test x$glibcxx_cv_func__expl_use = x"yes"; then
38045 for ac_func in _expl
38046 do :
38047 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
38048 if test "x$ac_cv_func__expl" = x""yes; then :
38049 cat >>confdefs.h <<_ACEOF
38050 #define HAVE__EXPL 1
38051 _ACEOF
38054 done
38063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
38064 $as_echo_n "checking for fabsl declaration... " >&6; }
38065 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
38066 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
38067 $as_echo_n "(cached) " >&6
38068 else
38071 ac_ext=cpp
38072 ac_cpp='$CXXCPP $CPPFLAGS'
38073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38078 /* end confdefs.h. */
38079 #include <math.h>
38080 #ifdef HAVE_IEEEFP_H
38081 #include <ieeefp.h>
38082 #endif
38085 main ()
38087 fabsl(0);
38089 return 0;
38091 _ACEOF
38092 if ac_fn_cxx_try_compile "$LINENO"; then :
38093 glibcxx_cv_func_fabsl_use=yes
38094 else
38095 glibcxx_cv_func_fabsl_use=no
38097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38098 ac_ext=c
38099 ac_cpp='$CPP $CPPFLAGS'
38100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
38109 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
38111 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
38112 for ac_func in fabsl
38113 do :
38114 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
38115 if test "x$ac_cv_func_fabsl" = x""yes; then :
38116 cat >>confdefs.h <<_ACEOF
38117 #define HAVE_FABSL 1
38118 _ACEOF
38121 done
38123 else
38125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
38126 $as_echo_n "checking for _fabsl declaration... " >&6; }
38127 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
38128 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
38129 $as_echo_n "(cached) " >&6
38130 else
38133 ac_ext=cpp
38134 ac_cpp='$CXXCPP $CPPFLAGS'
38135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38140 /* end confdefs.h. */
38141 #include <math.h>
38142 #ifdef HAVE_IEEEFP_H
38143 #include <ieeefp.h>
38144 #endif
38147 main ()
38149 _fabsl(0);
38151 return 0;
38153 _ACEOF
38154 if ac_fn_cxx_try_compile "$LINENO"; then :
38155 glibcxx_cv_func__fabsl_use=yes
38156 else
38157 glibcxx_cv_func__fabsl_use=no
38159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38160 ac_ext=c
38161 ac_cpp='$CPP $CPPFLAGS'
38162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
38171 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
38173 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
38174 for ac_func in _fabsl
38175 do :
38176 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
38177 if test "x$ac_cv_func__fabsl" = x""yes; then :
38178 cat >>confdefs.h <<_ACEOF
38179 #define HAVE__FABSL 1
38180 _ACEOF
38183 done
38192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
38193 $as_echo_n "checking for fmodl declaration... " >&6; }
38194 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
38195 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
38196 $as_echo_n "(cached) " >&6
38197 else
38200 ac_ext=cpp
38201 ac_cpp='$CXXCPP $CPPFLAGS'
38202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38207 /* end confdefs.h. */
38208 #include <math.h>
38210 main ()
38212 fmodl(0, 0);
38214 return 0;
38216 _ACEOF
38217 if ac_fn_cxx_try_compile "$LINENO"; then :
38218 glibcxx_cv_func_fmodl_use=yes
38219 else
38220 glibcxx_cv_func_fmodl_use=no
38222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38223 ac_ext=c
38224 ac_cpp='$CPP $CPPFLAGS'
38225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
38234 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
38236 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
38237 for ac_func in fmodl
38238 do :
38239 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
38240 if test "x$ac_cv_func_fmodl" = x""yes; then :
38241 cat >>confdefs.h <<_ACEOF
38242 #define HAVE_FMODL 1
38243 _ACEOF
38246 done
38248 else
38250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
38251 $as_echo_n "checking for _fmodl declaration... " >&6; }
38252 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
38253 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
38254 $as_echo_n "(cached) " >&6
38255 else
38258 ac_ext=cpp
38259 ac_cpp='$CXXCPP $CPPFLAGS'
38260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38265 /* end confdefs.h. */
38266 #include <math.h>
38268 main ()
38270 _fmodl(0, 0);
38272 return 0;
38274 _ACEOF
38275 if ac_fn_cxx_try_compile "$LINENO"; then :
38276 glibcxx_cv_func__fmodl_use=yes
38277 else
38278 glibcxx_cv_func__fmodl_use=no
38280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38281 ac_ext=c
38282 ac_cpp='$CPP $CPPFLAGS'
38283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
38292 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
38294 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
38295 for ac_func in _fmodl
38296 do :
38297 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
38298 if test "x$ac_cv_func__fmodl" = x""yes; then :
38299 cat >>confdefs.h <<_ACEOF
38300 #define HAVE__FMODL 1
38301 _ACEOF
38304 done
38313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
38314 $as_echo_n "checking for frexpl declaration... " >&6; }
38315 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
38316 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
38317 $as_echo_n "(cached) " >&6
38318 else
38321 ac_ext=cpp
38322 ac_cpp='$CXXCPP $CPPFLAGS'
38323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38328 /* end confdefs.h. */
38329 #include <math.h>
38331 main ()
38333 frexpl(0, 0);
38335 return 0;
38337 _ACEOF
38338 if ac_fn_cxx_try_compile "$LINENO"; then :
38339 glibcxx_cv_func_frexpl_use=yes
38340 else
38341 glibcxx_cv_func_frexpl_use=no
38343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38344 ac_ext=c
38345 ac_cpp='$CPP $CPPFLAGS'
38346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
38355 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
38357 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
38358 for ac_func in frexpl
38359 do :
38360 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
38361 if test "x$ac_cv_func_frexpl" = x""yes; then :
38362 cat >>confdefs.h <<_ACEOF
38363 #define HAVE_FREXPL 1
38364 _ACEOF
38367 done
38369 else
38371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
38372 $as_echo_n "checking for _frexpl declaration... " >&6; }
38373 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
38374 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
38375 $as_echo_n "(cached) " >&6
38376 else
38379 ac_ext=cpp
38380 ac_cpp='$CXXCPP $CPPFLAGS'
38381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38386 /* end confdefs.h. */
38387 #include <math.h>
38389 main ()
38391 _frexpl(0, 0);
38393 return 0;
38395 _ACEOF
38396 if ac_fn_cxx_try_compile "$LINENO"; then :
38397 glibcxx_cv_func__frexpl_use=yes
38398 else
38399 glibcxx_cv_func__frexpl_use=no
38401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38402 ac_ext=c
38403 ac_cpp='$CPP $CPPFLAGS'
38404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
38413 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
38415 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
38416 for ac_func in _frexpl
38417 do :
38418 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
38419 if test "x$ac_cv_func__frexpl" = x""yes; then :
38420 cat >>confdefs.h <<_ACEOF
38421 #define HAVE__FREXPL 1
38422 _ACEOF
38425 done
38434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
38435 $as_echo_n "checking for hypotl declaration... " >&6; }
38436 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
38437 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
38438 $as_echo_n "(cached) " >&6
38439 else
38442 ac_ext=cpp
38443 ac_cpp='$CXXCPP $CPPFLAGS'
38444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38449 /* end confdefs.h. */
38450 #include <math.h>
38452 main ()
38454 hypotl(0, 0);
38456 return 0;
38458 _ACEOF
38459 if ac_fn_cxx_try_compile "$LINENO"; then :
38460 glibcxx_cv_func_hypotl_use=yes
38461 else
38462 glibcxx_cv_func_hypotl_use=no
38464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38465 ac_ext=c
38466 ac_cpp='$CPP $CPPFLAGS'
38467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
38476 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
38478 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
38479 for ac_func in hypotl
38480 do :
38481 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
38482 if test "x$ac_cv_func_hypotl" = x""yes; then :
38483 cat >>confdefs.h <<_ACEOF
38484 #define HAVE_HYPOTL 1
38485 _ACEOF
38488 done
38490 else
38492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
38493 $as_echo_n "checking for _hypotl declaration... " >&6; }
38494 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
38495 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
38496 $as_echo_n "(cached) " >&6
38497 else
38500 ac_ext=cpp
38501 ac_cpp='$CXXCPP $CPPFLAGS'
38502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38507 /* end confdefs.h. */
38508 #include <math.h>
38510 main ()
38512 _hypotl(0, 0);
38514 return 0;
38516 _ACEOF
38517 if ac_fn_cxx_try_compile "$LINENO"; then :
38518 glibcxx_cv_func__hypotl_use=yes
38519 else
38520 glibcxx_cv_func__hypotl_use=no
38522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38523 ac_ext=c
38524 ac_cpp='$CPP $CPPFLAGS'
38525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
38534 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
38536 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
38537 for ac_func in _hypotl
38538 do :
38539 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
38540 if test "x$ac_cv_func__hypotl" = x""yes; then :
38541 cat >>confdefs.h <<_ACEOF
38542 #define HAVE__HYPOTL 1
38543 _ACEOF
38546 done
38555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
38556 $as_echo_n "checking for ldexpl declaration... " >&6; }
38557 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
38558 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
38559 $as_echo_n "(cached) " >&6
38560 else
38563 ac_ext=cpp
38564 ac_cpp='$CXXCPP $CPPFLAGS'
38565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38570 /* end confdefs.h. */
38571 #include <math.h>
38573 main ()
38575 ldexpl(0, 0);
38577 return 0;
38579 _ACEOF
38580 if ac_fn_cxx_try_compile "$LINENO"; then :
38581 glibcxx_cv_func_ldexpl_use=yes
38582 else
38583 glibcxx_cv_func_ldexpl_use=no
38585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38586 ac_ext=c
38587 ac_cpp='$CPP $CPPFLAGS'
38588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
38597 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
38599 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
38600 for ac_func in ldexpl
38601 do :
38602 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
38603 if test "x$ac_cv_func_ldexpl" = x""yes; then :
38604 cat >>confdefs.h <<_ACEOF
38605 #define HAVE_LDEXPL 1
38606 _ACEOF
38609 done
38611 else
38613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
38614 $as_echo_n "checking for _ldexpl declaration... " >&6; }
38615 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
38616 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
38617 $as_echo_n "(cached) " >&6
38618 else
38621 ac_ext=cpp
38622 ac_cpp='$CXXCPP $CPPFLAGS'
38623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38628 /* end confdefs.h. */
38629 #include <math.h>
38631 main ()
38633 _ldexpl(0, 0);
38635 return 0;
38637 _ACEOF
38638 if ac_fn_cxx_try_compile "$LINENO"; then :
38639 glibcxx_cv_func__ldexpl_use=yes
38640 else
38641 glibcxx_cv_func__ldexpl_use=no
38643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38644 ac_ext=c
38645 ac_cpp='$CPP $CPPFLAGS'
38646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
38655 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
38657 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
38658 for ac_func in _ldexpl
38659 do :
38660 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
38661 if test "x$ac_cv_func__ldexpl" = x""yes; then :
38662 cat >>confdefs.h <<_ACEOF
38663 #define HAVE__LDEXPL 1
38664 _ACEOF
38667 done
38676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
38677 $as_echo_n "checking for logl declaration... " >&6; }
38678 if test x${glibcxx_cv_func_logl_use+set} != xset; then
38679 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
38680 $as_echo_n "(cached) " >&6
38681 else
38684 ac_ext=cpp
38685 ac_cpp='$CXXCPP $CPPFLAGS'
38686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38691 /* end confdefs.h. */
38692 #include <math.h>
38693 #ifdef HAVE_IEEEFP_H
38694 #include <ieeefp.h>
38695 #endif
38698 main ()
38700 logl(0);
38702 return 0;
38704 _ACEOF
38705 if ac_fn_cxx_try_compile "$LINENO"; then :
38706 glibcxx_cv_func_logl_use=yes
38707 else
38708 glibcxx_cv_func_logl_use=no
38710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38711 ac_ext=c
38712 ac_cpp='$CPP $CPPFLAGS'
38713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
38722 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
38724 if test x$glibcxx_cv_func_logl_use = x"yes"; then
38725 for ac_func in logl
38726 do :
38727 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
38728 if test "x$ac_cv_func_logl" = x""yes; then :
38729 cat >>confdefs.h <<_ACEOF
38730 #define HAVE_LOGL 1
38731 _ACEOF
38734 done
38736 else
38738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
38739 $as_echo_n "checking for _logl declaration... " >&6; }
38740 if test x${glibcxx_cv_func__logl_use+set} != xset; then
38741 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
38742 $as_echo_n "(cached) " >&6
38743 else
38746 ac_ext=cpp
38747 ac_cpp='$CXXCPP $CPPFLAGS'
38748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38753 /* end confdefs.h. */
38754 #include <math.h>
38755 #ifdef HAVE_IEEEFP_H
38756 #include <ieeefp.h>
38757 #endif
38760 main ()
38762 _logl(0);
38764 return 0;
38766 _ACEOF
38767 if ac_fn_cxx_try_compile "$LINENO"; then :
38768 glibcxx_cv_func__logl_use=yes
38769 else
38770 glibcxx_cv_func__logl_use=no
38772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38773 ac_ext=c
38774 ac_cpp='$CPP $CPPFLAGS'
38775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
38784 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
38786 if test x$glibcxx_cv_func__logl_use = x"yes"; then
38787 for ac_func in _logl
38788 do :
38789 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
38790 if test "x$ac_cv_func__logl" = x""yes; then :
38791 cat >>confdefs.h <<_ACEOF
38792 #define HAVE__LOGL 1
38793 _ACEOF
38796 done
38805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
38806 $as_echo_n "checking for log10l declaration... " >&6; }
38807 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
38808 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
38809 $as_echo_n "(cached) " >&6
38810 else
38813 ac_ext=cpp
38814 ac_cpp='$CXXCPP $CPPFLAGS'
38815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38820 /* end confdefs.h. */
38821 #include <math.h>
38822 #ifdef HAVE_IEEEFP_H
38823 #include <ieeefp.h>
38824 #endif
38827 main ()
38829 log10l(0);
38831 return 0;
38833 _ACEOF
38834 if ac_fn_cxx_try_compile "$LINENO"; then :
38835 glibcxx_cv_func_log10l_use=yes
38836 else
38837 glibcxx_cv_func_log10l_use=no
38839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38840 ac_ext=c
38841 ac_cpp='$CPP $CPPFLAGS'
38842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
38851 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
38853 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
38854 for ac_func in log10l
38855 do :
38856 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
38857 if test "x$ac_cv_func_log10l" = x""yes; then :
38858 cat >>confdefs.h <<_ACEOF
38859 #define HAVE_LOG10L 1
38860 _ACEOF
38863 done
38865 else
38867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
38868 $as_echo_n "checking for _log10l declaration... " >&6; }
38869 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
38870 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
38871 $as_echo_n "(cached) " >&6
38872 else
38875 ac_ext=cpp
38876 ac_cpp='$CXXCPP $CPPFLAGS'
38877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38882 /* end confdefs.h. */
38883 #include <math.h>
38884 #ifdef HAVE_IEEEFP_H
38885 #include <ieeefp.h>
38886 #endif
38889 main ()
38891 _log10l(0);
38893 return 0;
38895 _ACEOF
38896 if ac_fn_cxx_try_compile "$LINENO"; then :
38897 glibcxx_cv_func__log10l_use=yes
38898 else
38899 glibcxx_cv_func__log10l_use=no
38901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38902 ac_ext=c
38903 ac_cpp='$CPP $CPPFLAGS'
38904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
38913 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
38915 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
38916 for ac_func in _log10l
38917 do :
38918 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
38919 if test "x$ac_cv_func__log10l" = x""yes; then :
38920 cat >>confdefs.h <<_ACEOF
38921 #define HAVE__LOG10L 1
38922 _ACEOF
38925 done
38934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
38935 $as_echo_n "checking for modfl declaration... " >&6; }
38936 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
38937 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
38938 $as_echo_n "(cached) " >&6
38939 else
38942 ac_ext=cpp
38943 ac_cpp='$CXXCPP $CPPFLAGS'
38944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38949 /* end confdefs.h. */
38950 #include <math.h>
38952 main ()
38954 modfl(0, 0);
38956 return 0;
38958 _ACEOF
38959 if ac_fn_cxx_try_compile "$LINENO"; then :
38960 glibcxx_cv_func_modfl_use=yes
38961 else
38962 glibcxx_cv_func_modfl_use=no
38964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38965 ac_ext=c
38966 ac_cpp='$CPP $CPPFLAGS'
38967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
38976 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
38978 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
38979 for ac_func in modfl
38980 do :
38981 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
38982 if test "x$ac_cv_func_modfl" = x""yes; then :
38983 cat >>confdefs.h <<_ACEOF
38984 #define HAVE_MODFL 1
38985 _ACEOF
38988 done
38990 else
38992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
38993 $as_echo_n "checking for _modfl declaration... " >&6; }
38994 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
38995 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
38996 $as_echo_n "(cached) " >&6
38997 else
39000 ac_ext=cpp
39001 ac_cpp='$CXXCPP $CPPFLAGS'
39002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39007 /* end confdefs.h. */
39008 #include <math.h>
39010 main ()
39012 _modfl(0, 0);
39014 return 0;
39016 _ACEOF
39017 if ac_fn_cxx_try_compile "$LINENO"; then :
39018 glibcxx_cv_func__modfl_use=yes
39019 else
39020 glibcxx_cv_func__modfl_use=no
39022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39023 ac_ext=c
39024 ac_cpp='$CPP $CPPFLAGS'
39025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
39034 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
39036 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
39037 for ac_func in _modfl
39038 do :
39039 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
39040 if test "x$ac_cv_func__modfl" = x""yes; then :
39041 cat >>confdefs.h <<_ACEOF
39042 #define HAVE__MODFL 1
39043 _ACEOF
39046 done
39055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
39056 $as_echo_n "checking for powl declaration... " >&6; }
39057 if test x${glibcxx_cv_func_powl_use+set} != xset; then
39058 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
39059 $as_echo_n "(cached) " >&6
39060 else
39063 ac_ext=cpp
39064 ac_cpp='$CXXCPP $CPPFLAGS'
39065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39070 /* end confdefs.h. */
39071 #include <math.h>
39073 main ()
39075 powl(0, 0);
39077 return 0;
39079 _ACEOF
39080 if ac_fn_cxx_try_compile "$LINENO"; then :
39081 glibcxx_cv_func_powl_use=yes
39082 else
39083 glibcxx_cv_func_powl_use=no
39085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39086 ac_ext=c
39087 ac_cpp='$CPP $CPPFLAGS'
39088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
39097 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
39099 if test x$glibcxx_cv_func_powl_use = x"yes"; then
39100 for ac_func in powl
39101 do :
39102 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
39103 if test "x$ac_cv_func_powl" = x""yes; then :
39104 cat >>confdefs.h <<_ACEOF
39105 #define HAVE_POWL 1
39106 _ACEOF
39109 done
39111 else
39113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
39114 $as_echo_n "checking for _powl declaration... " >&6; }
39115 if test x${glibcxx_cv_func__powl_use+set} != xset; then
39116 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
39117 $as_echo_n "(cached) " >&6
39118 else
39121 ac_ext=cpp
39122 ac_cpp='$CXXCPP $CPPFLAGS'
39123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39128 /* end confdefs.h. */
39129 #include <math.h>
39131 main ()
39133 _powl(0, 0);
39135 return 0;
39137 _ACEOF
39138 if ac_fn_cxx_try_compile "$LINENO"; then :
39139 glibcxx_cv_func__powl_use=yes
39140 else
39141 glibcxx_cv_func__powl_use=no
39143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39144 ac_ext=c
39145 ac_cpp='$CPP $CPPFLAGS'
39146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
39155 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
39157 if test x$glibcxx_cv_func__powl_use = x"yes"; then
39158 for ac_func in _powl
39159 do :
39160 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
39161 if test "x$ac_cv_func__powl" = x""yes; then :
39162 cat >>confdefs.h <<_ACEOF
39163 #define HAVE__POWL 1
39164 _ACEOF
39167 done
39176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
39177 $as_echo_n "checking for sqrtl declaration... " >&6; }
39178 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
39179 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
39180 $as_echo_n "(cached) " >&6
39181 else
39184 ac_ext=cpp
39185 ac_cpp='$CXXCPP $CPPFLAGS'
39186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39191 /* end confdefs.h. */
39192 #include <math.h>
39193 #ifdef HAVE_IEEEFP_H
39194 #include <ieeefp.h>
39195 #endif
39198 main ()
39200 sqrtl(0);
39202 return 0;
39204 _ACEOF
39205 if ac_fn_cxx_try_compile "$LINENO"; then :
39206 glibcxx_cv_func_sqrtl_use=yes
39207 else
39208 glibcxx_cv_func_sqrtl_use=no
39210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39211 ac_ext=c
39212 ac_cpp='$CPP $CPPFLAGS'
39213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
39222 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
39224 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
39225 for ac_func in sqrtl
39226 do :
39227 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
39228 if test "x$ac_cv_func_sqrtl" = x""yes; then :
39229 cat >>confdefs.h <<_ACEOF
39230 #define HAVE_SQRTL 1
39231 _ACEOF
39234 done
39236 else
39238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
39239 $as_echo_n "checking for _sqrtl declaration... " >&6; }
39240 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
39241 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
39242 $as_echo_n "(cached) " >&6
39243 else
39246 ac_ext=cpp
39247 ac_cpp='$CXXCPP $CPPFLAGS'
39248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39253 /* end confdefs.h. */
39254 #include <math.h>
39255 #ifdef HAVE_IEEEFP_H
39256 #include <ieeefp.h>
39257 #endif
39260 main ()
39262 _sqrtl(0);
39264 return 0;
39266 _ACEOF
39267 if ac_fn_cxx_try_compile "$LINENO"; then :
39268 glibcxx_cv_func__sqrtl_use=yes
39269 else
39270 glibcxx_cv_func__sqrtl_use=no
39272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39273 ac_ext=c
39274 ac_cpp='$CPP $CPPFLAGS'
39275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
39284 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
39286 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
39287 for ac_func in _sqrtl
39288 do :
39289 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
39290 if test "x$ac_cv_func__sqrtl" = x""yes; then :
39291 cat >>confdefs.h <<_ACEOF
39292 #define HAVE__SQRTL 1
39293 _ACEOF
39296 done
39305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
39306 $as_echo_n "checking for sincosl declaration... " >&6; }
39307 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
39308 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
39309 $as_echo_n "(cached) " >&6
39310 else
39313 ac_ext=cpp
39314 ac_cpp='$CXXCPP $CPPFLAGS'
39315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39320 /* end confdefs.h. */
39321 #include <math.h>
39323 main ()
39325 sincosl(0, 0, 0);
39327 return 0;
39329 _ACEOF
39330 if ac_fn_cxx_try_compile "$LINENO"; then :
39331 glibcxx_cv_func_sincosl_use=yes
39332 else
39333 glibcxx_cv_func_sincosl_use=no
39335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39336 ac_ext=c
39337 ac_cpp='$CPP $CPPFLAGS'
39338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
39347 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
39349 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
39350 for ac_func in sincosl
39351 do :
39352 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
39353 if test "x$ac_cv_func_sincosl" = x""yes; then :
39354 cat >>confdefs.h <<_ACEOF
39355 #define HAVE_SINCOSL 1
39356 _ACEOF
39359 done
39361 else
39363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
39364 $as_echo_n "checking for _sincosl declaration... " >&6; }
39365 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
39366 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
39367 $as_echo_n "(cached) " >&6
39368 else
39371 ac_ext=cpp
39372 ac_cpp='$CXXCPP $CPPFLAGS'
39373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39378 /* end confdefs.h. */
39379 #include <math.h>
39381 main ()
39383 _sincosl(0, 0, 0);
39385 return 0;
39387 _ACEOF
39388 if ac_fn_cxx_try_compile "$LINENO"; then :
39389 glibcxx_cv_func__sincosl_use=yes
39390 else
39391 glibcxx_cv_func__sincosl_use=no
39393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39394 ac_ext=c
39395 ac_cpp='$CPP $CPPFLAGS'
39396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
39405 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
39407 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
39408 for ac_func in _sincosl
39409 do :
39410 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
39411 if test "x$ac_cv_func__sincosl" = x""yes; then :
39412 cat >>confdefs.h <<_ACEOF
39413 #define HAVE__SINCOSL 1
39414 _ACEOF
39417 done
39426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
39427 $as_echo_n "checking for finitel declaration... " >&6; }
39428 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
39429 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
39430 $as_echo_n "(cached) " >&6
39431 else
39434 ac_ext=cpp
39435 ac_cpp='$CXXCPP $CPPFLAGS'
39436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39441 /* end confdefs.h. */
39442 #include <math.h>
39443 #ifdef HAVE_IEEEFP_H
39444 #include <ieeefp.h>
39445 #endif
39448 main ()
39450 finitel(0);
39452 return 0;
39454 _ACEOF
39455 if ac_fn_cxx_try_compile "$LINENO"; then :
39456 glibcxx_cv_func_finitel_use=yes
39457 else
39458 glibcxx_cv_func_finitel_use=no
39460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39461 ac_ext=c
39462 ac_cpp='$CPP $CPPFLAGS'
39463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
39472 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
39474 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
39475 for ac_func in finitel
39476 do :
39477 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
39478 if test "x$ac_cv_func_finitel" = x""yes; then :
39479 cat >>confdefs.h <<_ACEOF
39480 #define HAVE_FINITEL 1
39481 _ACEOF
39484 done
39486 else
39488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
39489 $as_echo_n "checking for _finitel declaration... " >&6; }
39490 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
39491 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
39492 $as_echo_n "(cached) " >&6
39493 else
39496 ac_ext=cpp
39497 ac_cpp='$CXXCPP $CPPFLAGS'
39498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39503 /* end confdefs.h. */
39504 #include <math.h>
39505 #ifdef HAVE_IEEEFP_H
39506 #include <ieeefp.h>
39507 #endif
39510 main ()
39512 _finitel(0);
39514 return 0;
39516 _ACEOF
39517 if ac_fn_cxx_try_compile "$LINENO"; then :
39518 glibcxx_cv_func__finitel_use=yes
39519 else
39520 glibcxx_cv_func__finitel_use=no
39522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39523 ac_ext=c
39524 ac_cpp='$CPP $CPPFLAGS'
39525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
39534 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
39536 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
39537 for ac_func in _finitel
39538 do :
39539 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
39540 if test "x$ac_cv_func__finitel" = x""yes; then :
39541 cat >>confdefs.h <<_ACEOF
39542 #define HAVE__FINITEL 1
39543 _ACEOF
39546 done
39554 LIBS="$ac_save_LIBS"
39555 CXXFLAGS="$ac_save_CXXFLAGS"
39558 ac_test_CXXFLAGS="${CXXFLAGS+set}"
39559 ac_save_CXXFLAGS="$CXXFLAGS"
39560 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
39563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
39564 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
39565 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
39566 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
39567 $as_echo_n "(cached) " >&6
39568 else
39571 ac_ext=cpp
39572 ac_cpp='$CXXCPP $CPPFLAGS'
39573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39578 /* end confdefs.h. */
39579 #include <stdlib.h>
39581 main ()
39583 at_quick_exit(0);
39585 return 0;
39587 _ACEOF
39588 if ac_fn_cxx_try_compile "$LINENO"; then :
39589 glibcxx_cv_func_at_quick_exit_use=yes
39590 else
39591 glibcxx_cv_func_at_quick_exit_use=no
39593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39594 ac_ext=c
39595 ac_cpp='$CPP $CPPFLAGS'
39596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
39605 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
39606 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
39607 for ac_func in at_quick_exit
39608 do :
39609 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
39610 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
39611 cat >>confdefs.h <<_ACEOF
39612 #define HAVE_AT_QUICK_EXIT 1
39613 _ACEOF
39616 done
39621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
39622 $as_echo_n "checking for quick_exit declaration... " >&6; }
39623 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
39624 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
39625 $as_echo_n "(cached) " >&6
39626 else
39629 ac_ext=cpp
39630 ac_cpp='$CXXCPP $CPPFLAGS'
39631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39636 /* end confdefs.h. */
39637 #include <stdlib.h>
39639 main ()
39641 quick_exit(0);
39643 return 0;
39645 _ACEOF
39646 if ac_fn_cxx_try_compile "$LINENO"; then :
39647 glibcxx_cv_func_quick_exit_use=yes
39648 else
39649 glibcxx_cv_func_quick_exit_use=no
39651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39652 ac_ext=c
39653 ac_cpp='$CPP $CPPFLAGS'
39654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
39663 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
39664 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
39665 for ac_func in quick_exit
39666 do :
39667 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
39668 if test "x$ac_cv_func_quick_exit" = x""yes; then :
39669 cat >>confdefs.h <<_ACEOF
39670 #define HAVE_QUICK_EXIT 1
39671 _ACEOF
39674 done
39679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
39680 $as_echo_n "checking for strtold declaration... " >&6; }
39681 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
39682 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
39683 $as_echo_n "(cached) " >&6
39684 else
39687 ac_ext=cpp
39688 ac_cpp='$CXXCPP $CPPFLAGS'
39689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39694 /* end confdefs.h. */
39695 #include <stdlib.h>
39697 main ()
39699 strtold(0, 0);
39701 return 0;
39703 _ACEOF
39704 if ac_fn_cxx_try_compile "$LINENO"; then :
39705 glibcxx_cv_func_strtold_use=yes
39706 else
39707 glibcxx_cv_func_strtold_use=no
39709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39710 ac_ext=c
39711 ac_cpp='$CPP $CPPFLAGS'
39712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
39721 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
39722 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
39723 for ac_func in strtold
39724 do :
39725 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
39726 if test "x$ac_cv_func_strtold" = x""yes; then :
39727 cat >>confdefs.h <<_ACEOF
39728 #define HAVE_STRTOLD 1
39729 _ACEOF
39732 done
39739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
39740 $as_echo_n "checking for strtof declaration... " >&6; }
39741 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
39742 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
39743 $as_echo_n "(cached) " >&6
39744 else
39747 ac_ext=cpp
39748 ac_cpp='$CXXCPP $CPPFLAGS'
39749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39754 /* end confdefs.h. */
39755 #include <stdlib.h>
39757 main ()
39759 strtof(0, 0);
39761 return 0;
39763 _ACEOF
39764 if ac_fn_cxx_try_compile "$LINENO"; then :
39765 glibcxx_cv_func_strtof_use=yes
39766 else
39767 glibcxx_cv_func_strtof_use=no
39769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39770 ac_ext=c
39771 ac_cpp='$CPP $CPPFLAGS'
39772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
39781 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
39782 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
39783 for ac_func in strtof
39784 do :
39785 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
39786 if test "x$ac_cv_func_strtof" = x""yes; then :
39787 cat >>confdefs.h <<_ACEOF
39788 #define HAVE_STRTOF 1
39789 _ACEOF
39792 done
39799 CXXFLAGS="$ac_save_CXXFLAGS"
39806 am_save_CPPFLAGS="$CPPFLAGS"
39808 for element in $INCICONV; do
39809 haveit=
39810 for x in $CPPFLAGS; do
39812 acl_save_prefix="$prefix"
39813 prefix="$acl_final_prefix"
39814 acl_save_exec_prefix="$exec_prefix"
39815 exec_prefix="$acl_final_exec_prefix"
39816 eval x=\"$x\"
39817 exec_prefix="$acl_save_exec_prefix"
39818 prefix="$acl_save_prefix"
39820 if test "X$x" = "X$element"; then
39821 haveit=yes
39822 break
39824 done
39825 if test -z "$haveit"; then
39826 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
39828 done
39831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
39832 $as_echo_n "checking for iconv... " >&6; }
39833 if test "${am_cv_func_iconv+set}" = set; then :
39834 $as_echo_n "(cached) " >&6
39835 else
39837 am_cv_func_iconv="no, consider installing GNU libiconv"
39838 am_cv_lib_iconv=no
39839 if test x$gcc_no_link = xyes; then
39840 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39843 /* end confdefs.h. */
39844 #include <stdlib.h>
39845 #include <iconv.h>
39847 main ()
39849 iconv_t cd = iconv_open("","");
39850 iconv(cd,NULL,NULL,NULL,NULL);
39851 iconv_close(cd);
39853 return 0;
39855 _ACEOF
39856 if ac_fn_c_try_link "$LINENO"; then :
39857 am_cv_func_iconv=yes
39859 rm -f core conftest.err conftest.$ac_objext \
39860 conftest$ac_exeext conftest.$ac_ext
39861 if test "$am_cv_func_iconv" != yes; then
39862 am_save_LIBS="$LIBS"
39863 LIBS="$LIBS $LIBICONV"
39864 if test x$gcc_no_link = xyes; then
39865 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39868 /* end confdefs.h. */
39869 #include <stdlib.h>
39870 #include <iconv.h>
39872 main ()
39874 iconv_t cd = iconv_open("","");
39875 iconv(cd,NULL,NULL,NULL,NULL);
39876 iconv_close(cd);
39878 return 0;
39880 _ACEOF
39881 if ac_fn_c_try_link "$LINENO"; then :
39882 am_cv_lib_iconv=yes
39883 am_cv_func_iconv=yes
39885 rm -f core conftest.err conftest.$ac_objext \
39886 conftest$ac_exeext conftest.$ac_ext
39887 LIBS="$am_save_LIBS"
39891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
39892 $as_echo "$am_cv_func_iconv" >&6; }
39893 if test "$am_cv_func_iconv" = yes; then
39895 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
39898 if test "$am_cv_lib_iconv" = yes; then
39899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
39900 $as_echo_n "checking how to link with libiconv... " >&6; }
39901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
39902 $as_echo "$LIBICONV" >&6; }
39903 else
39904 CPPFLAGS="$am_save_CPPFLAGS"
39905 LIBICONV=
39906 LTLIBICONV=
39911 if test "$am_cv_func_iconv" = yes; then
39912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
39913 $as_echo_n "checking for iconv declaration... " >&6; }
39914 if test "${am_cv_proto_iconv+set}" = set; then :
39915 $as_echo_n "(cached) " >&6
39916 else
39918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39919 /* end confdefs.h. */
39921 #include <stdlib.h>
39922 #include <iconv.h>
39923 extern
39924 #ifdef __cplusplus
39926 #endif
39927 #if defined(__STDC__) || defined(__cplusplus)
39928 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
39929 #else
39930 size_t iconv();
39931 #endif
39934 main ()
39938 return 0;
39940 _ACEOF
39941 if ac_fn_c_try_compile "$LINENO"; then :
39942 am_cv_proto_iconv_arg1=""
39943 else
39944 am_cv_proto_iconv_arg1="const"
39946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39947 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);"
39950 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
39951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
39952 }$am_cv_proto_iconv" >&5
39953 $as_echo "${ac_t:-
39954 }$am_cv_proto_iconv" >&6; }
39956 cat >>confdefs.h <<_ACEOF
39957 #define ICONV_CONST $am_cv_proto_iconv_arg1
39958 _ACEOF
39964 *-aix*)
39966 # If we're not using GNU ld, then there's no point in even trying these
39967 # tests. Check for that first. We should have already tested for gld
39968 # by now (in libtool), but require it now just to be safe...
39969 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
39970 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
39974 # The name set by libtool depends on the version of libtool. Shame on us
39975 # for depending on an impl detail, but c'est la vie. Older versions used
39976 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
39977 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
39978 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
39979 # set (hence we're using an older libtool), then set it.
39980 if test x${with_gnu_ld+set} != xset; then
39981 if test x${ac_cv_prog_gnu_ld+set} != xset; then
39982 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
39983 with_gnu_ld=no
39984 else
39985 with_gnu_ld=$ac_cv_prog_gnu_ld
39989 # Start by getting the version number. I think the libtool test already
39990 # does some of this, but throws away the result.
39991 glibcxx_ld_is_gold=no
39992 if test x"$with_gnu_ld" = x"yes"; then
39993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
39994 $as_echo_n "checking for ld version... " >&6; }
39996 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
39997 glibcxx_ld_is_gold=yes
39999 ldver=`$LD --version 2>/dev/null |
40000 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'`
40002 glibcxx_gnu_ld_version=`echo $ldver | \
40003 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
40004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
40005 $as_echo "$glibcxx_gnu_ld_version" >&6; }
40008 # Set --gc-sections.
40009 glibcxx_have_gc_sections=no
40010 if test "$glibcxx_ld_is_gold" = "yes"; then
40011 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
40012 glibcxx_have_gc_sections=yes
40014 else
40015 glibcxx_gcsections_min_ld=21602
40016 if test x"$with_gnu_ld" = x"yes" &&
40017 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
40018 glibcxx_have_gc_sections=yes
40021 if test "$glibcxx_have_gc_sections" = "yes"; then
40022 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
40023 # NB: This flag only works reliably after 2.16.1. Configure tests
40024 # for this are difficult, so hard wire a value that should work.
40026 ac_test_CFLAGS="${CFLAGS+set}"
40027 ac_save_CFLAGS="$CFLAGS"
40028 CFLAGS='-Wl,--gc-sections'
40030 # Check for -Wl,--gc-sections
40031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
40032 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
40033 if test x$gcc_no_link = xyes; then
40034 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
40036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40037 /* end confdefs.h. */
40038 int one(void) { return 1; }
40039 int two(void) { return 2; }
40042 main ()
40044 two();
40046 return 0;
40048 _ACEOF
40049 if ac_fn_c_try_link "$LINENO"; then :
40050 ac_gcsections=yes
40051 else
40052 ac_gcsections=no
40054 rm -f core conftest.err conftest.$ac_objext \
40055 conftest$ac_exeext conftest.$ac_ext
40056 if test "$ac_gcsections" = "yes"; then
40057 rm -f conftest.c
40058 touch conftest.c
40059 if $CC -c conftest.c; then
40060 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
40061 grep "Warning: gc-sections option ignored" > /dev/null; then
40062 ac_gcsections=no
40065 rm -f conftest.c conftest.o conftest
40067 if test "$ac_gcsections" = "yes"; then
40068 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
40070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
40071 $as_echo "$ac_gcsections" >&6; }
40073 if test "$ac_test_CFLAGS" = set; then
40074 CFLAGS="$ac_save_CFLAGS"
40075 else
40076 # this is the suspicious part
40077 CFLAGS=''
40081 # Set -z,relro.
40082 # Note this is only for shared objects.
40083 ac_ld_relro=no
40084 if test x"$with_gnu_ld" = x"yes"; then
40085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
40086 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
40087 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
40088 if test -n "$cxx_z_relo"; then
40089 OPT_LDFLAGS="-Wl,-z,relro"
40090 ac_ld_relro=yes
40092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
40093 $as_echo "$ac_ld_relro" >&6; }
40096 # Set linker optimization flags.
40097 if test x"$with_gnu_ld" = x"yes"; then
40098 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
40105 ac_test_CXXFLAGS="${CXXFLAGS+set}"
40106 ac_save_CXXFLAGS="$CXXFLAGS"
40107 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
40109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
40110 $as_echo_n "checking for sin in -lm... " >&6; }
40111 if test "${ac_cv_lib_m_sin+set}" = set; then :
40112 $as_echo_n "(cached) " >&6
40113 else
40114 ac_check_lib_save_LIBS=$LIBS
40115 LIBS="-lm $LIBS"
40116 if test x$gcc_no_link = xyes; then
40117 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
40119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40120 /* end confdefs.h. */
40122 /* Override any GCC internal prototype to avoid an error.
40123 Use char because int might match the return type of a GCC
40124 builtin and then its argument prototype would still apply. */
40125 #ifdef __cplusplus
40126 extern "C"
40127 #endif
40128 char sin ();
40130 main ()
40132 return sin ();
40134 return 0;
40136 _ACEOF
40137 if ac_fn_c_try_link "$LINENO"; then :
40138 ac_cv_lib_m_sin=yes
40139 else
40140 ac_cv_lib_m_sin=no
40142 rm -f core conftest.err conftest.$ac_objext \
40143 conftest$ac_exeext conftest.$ac_ext
40144 LIBS=$ac_check_lib_save_LIBS
40146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
40147 $as_echo "$ac_cv_lib_m_sin" >&6; }
40148 if test "x$ac_cv_lib_m_sin" = x""yes; then :
40149 libm="-lm"
40152 ac_save_LIBS="$LIBS"
40153 LIBS="$LIBS $libm"
40157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
40158 $as_echo_n "checking for isinf declaration... " >&6; }
40159 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
40160 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
40161 $as_echo_n "(cached) " >&6
40162 else
40165 ac_ext=cpp
40166 ac_cpp='$CXXCPP $CPPFLAGS'
40167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40172 /* end confdefs.h. */
40173 #include <math.h>
40174 #ifdef HAVE_IEEEFP_H
40175 #include <ieeefp.h>
40176 #endif
40179 main ()
40181 isinf(0);
40183 return 0;
40185 _ACEOF
40186 if ac_fn_cxx_try_compile "$LINENO"; then :
40187 glibcxx_cv_func_isinf_use=yes
40188 else
40189 glibcxx_cv_func_isinf_use=no
40191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40192 ac_ext=c
40193 ac_cpp='$CPP $CPPFLAGS'
40194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
40203 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
40205 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
40206 for ac_func in isinf
40207 do :
40208 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
40209 if test "x$ac_cv_func_isinf" = x""yes; then :
40210 cat >>confdefs.h <<_ACEOF
40211 #define HAVE_ISINF 1
40212 _ACEOF
40215 done
40217 else
40219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
40220 $as_echo_n "checking for _isinf declaration... " >&6; }
40221 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
40222 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
40223 $as_echo_n "(cached) " >&6
40224 else
40227 ac_ext=cpp
40228 ac_cpp='$CXXCPP $CPPFLAGS'
40229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40234 /* end confdefs.h. */
40235 #include <math.h>
40236 #ifdef HAVE_IEEEFP_H
40237 #include <ieeefp.h>
40238 #endif
40241 main ()
40243 _isinf(0);
40245 return 0;
40247 _ACEOF
40248 if ac_fn_cxx_try_compile "$LINENO"; then :
40249 glibcxx_cv_func__isinf_use=yes
40250 else
40251 glibcxx_cv_func__isinf_use=no
40253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40254 ac_ext=c
40255 ac_cpp='$CPP $CPPFLAGS'
40256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
40265 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
40267 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
40268 for ac_func in _isinf
40269 do :
40270 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
40271 if test "x$ac_cv_func__isinf" = x""yes; then :
40272 cat >>confdefs.h <<_ACEOF
40273 #define HAVE__ISINF 1
40274 _ACEOF
40277 done
40286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
40287 $as_echo_n "checking for isnan declaration... " >&6; }
40288 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
40289 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
40290 $as_echo_n "(cached) " >&6
40291 else
40294 ac_ext=cpp
40295 ac_cpp='$CXXCPP $CPPFLAGS'
40296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40301 /* end confdefs.h. */
40302 #include <math.h>
40303 #ifdef HAVE_IEEEFP_H
40304 #include <ieeefp.h>
40305 #endif
40308 main ()
40310 isnan(0);
40312 return 0;
40314 _ACEOF
40315 if ac_fn_cxx_try_compile "$LINENO"; then :
40316 glibcxx_cv_func_isnan_use=yes
40317 else
40318 glibcxx_cv_func_isnan_use=no
40320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40321 ac_ext=c
40322 ac_cpp='$CPP $CPPFLAGS'
40323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
40332 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
40334 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
40335 for ac_func in isnan
40336 do :
40337 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
40338 if test "x$ac_cv_func_isnan" = x""yes; then :
40339 cat >>confdefs.h <<_ACEOF
40340 #define HAVE_ISNAN 1
40341 _ACEOF
40344 done
40346 else
40348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
40349 $as_echo_n "checking for _isnan declaration... " >&6; }
40350 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
40351 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
40352 $as_echo_n "(cached) " >&6
40353 else
40356 ac_ext=cpp
40357 ac_cpp='$CXXCPP $CPPFLAGS'
40358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40363 /* end confdefs.h. */
40364 #include <math.h>
40365 #ifdef HAVE_IEEEFP_H
40366 #include <ieeefp.h>
40367 #endif
40370 main ()
40372 _isnan(0);
40374 return 0;
40376 _ACEOF
40377 if ac_fn_cxx_try_compile "$LINENO"; then :
40378 glibcxx_cv_func__isnan_use=yes
40379 else
40380 glibcxx_cv_func__isnan_use=no
40382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40383 ac_ext=c
40384 ac_cpp='$CPP $CPPFLAGS'
40385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
40394 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
40396 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
40397 for ac_func in _isnan
40398 do :
40399 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
40400 if test "x$ac_cv_func__isnan" = x""yes; then :
40401 cat >>confdefs.h <<_ACEOF
40402 #define HAVE__ISNAN 1
40403 _ACEOF
40406 done
40415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
40416 $as_echo_n "checking for finite declaration... " >&6; }
40417 if test x${glibcxx_cv_func_finite_use+set} != xset; then
40418 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
40419 $as_echo_n "(cached) " >&6
40420 else
40423 ac_ext=cpp
40424 ac_cpp='$CXXCPP $CPPFLAGS'
40425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40430 /* end confdefs.h. */
40431 #include <math.h>
40432 #ifdef HAVE_IEEEFP_H
40433 #include <ieeefp.h>
40434 #endif
40437 main ()
40439 finite(0);
40441 return 0;
40443 _ACEOF
40444 if ac_fn_cxx_try_compile "$LINENO"; then :
40445 glibcxx_cv_func_finite_use=yes
40446 else
40447 glibcxx_cv_func_finite_use=no
40449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40450 ac_ext=c
40451 ac_cpp='$CPP $CPPFLAGS'
40452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
40461 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
40463 if test x$glibcxx_cv_func_finite_use = x"yes"; then
40464 for ac_func in finite
40465 do :
40466 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
40467 if test "x$ac_cv_func_finite" = x""yes; then :
40468 cat >>confdefs.h <<_ACEOF
40469 #define HAVE_FINITE 1
40470 _ACEOF
40473 done
40475 else
40477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
40478 $as_echo_n "checking for _finite declaration... " >&6; }
40479 if test x${glibcxx_cv_func__finite_use+set} != xset; then
40480 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
40481 $as_echo_n "(cached) " >&6
40482 else
40485 ac_ext=cpp
40486 ac_cpp='$CXXCPP $CPPFLAGS'
40487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40492 /* end confdefs.h. */
40493 #include <math.h>
40494 #ifdef HAVE_IEEEFP_H
40495 #include <ieeefp.h>
40496 #endif
40499 main ()
40501 _finite(0);
40503 return 0;
40505 _ACEOF
40506 if ac_fn_cxx_try_compile "$LINENO"; then :
40507 glibcxx_cv_func__finite_use=yes
40508 else
40509 glibcxx_cv_func__finite_use=no
40511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40512 ac_ext=c
40513 ac_cpp='$CPP $CPPFLAGS'
40514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
40523 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
40525 if test x$glibcxx_cv_func__finite_use = x"yes"; then
40526 for ac_func in _finite
40527 do :
40528 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
40529 if test "x$ac_cv_func__finite" = x""yes; then :
40530 cat >>confdefs.h <<_ACEOF
40531 #define HAVE__FINITE 1
40532 _ACEOF
40535 done
40544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
40545 $as_echo_n "checking for sincos declaration... " >&6; }
40546 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
40547 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
40548 $as_echo_n "(cached) " >&6
40549 else
40552 ac_ext=cpp
40553 ac_cpp='$CXXCPP $CPPFLAGS'
40554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40559 /* end confdefs.h. */
40560 #include <math.h>
40562 main ()
40564 sincos(0, 0, 0);
40566 return 0;
40568 _ACEOF
40569 if ac_fn_cxx_try_compile "$LINENO"; then :
40570 glibcxx_cv_func_sincos_use=yes
40571 else
40572 glibcxx_cv_func_sincos_use=no
40574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40575 ac_ext=c
40576 ac_cpp='$CPP $CPPFLAGS'
40577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
40586 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
40588 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
40589 for ac_func in sincos
40590 do :
40591 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
40592 if test "x$ac_cv_func_sincos" = x""yes; then :
40593 cat >>confdefs.h <<_ACEOF
40594 #define HAVE_SINCOS 1
40595 _ACEOF
40598 done
40600 else
40602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
40603 $as_echo_n "checking for _sincos declaration... " >&6; }
40604 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
40605 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
40606 $as_echo_n "(cached) " >&6
40607 else
40610 ac_ext=cpp
40611 ac_cpp='$CXXCPP $CPPFLAGS'
40612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40617 /* end confdefs.h. */
40618 #include <math.h>
40620 main ()
40622 _sincos(0, 0, 0);
40624 return 0;
40626 _ACEOF
40627 if ac_fn_cxx_try_compile "$LINENO"; then :
40628 glibcxx_cv_func__sincos_use=yes
40629 else
40630 glibcxx_cv_func__sincos_use=no
40632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40633 ac_ext=c
40634 ac_cpp='$CPP $CPPFLAGS'
40635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
40644 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
40646 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
40647 for ac_func in _sincos
40648 do :
40649 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
40650 if test "x$ac_cv_func__sincos" = x""yes; then :
40651 cat >>confdefs.h <<_ACEOF
40652 #define HAVE__SINCOS 1
40653 _ACEOF
40656 done
40665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
40666 $as_echo_n "checking for fpclass declaration... " >&6; }
40667 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
40668 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
40669 $as_echo_n "(cached) " >&6
40670 else
40673 ac_ext=cpp
40674 ac_cpp='$CXXCPP $CPPFLAGS'
40675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40680 /* end confdefs.h. */
40681 #include <math.h>
40682 #ifdef HAVE_IEEEFP_H
40683 #include <ieeefp.h>
40684 #endif
40687 main ()
40689 fpclass(0);
40691 return 0;
40693 _ACEOF
40694 if ac_fn_cxx_try_compile "$LINENO"; then :
40695 glibcxx_cv_func_fpclass_use=yes
40696 else
40697 glibcxx_cv_func_fpclass_use=no
40699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40700 ac_ext=c
40701 ac_cpp='$CPP $CPPFLAGS'
40702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
40711 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
40713 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
40714 for ac_func in fpclass
40715 do :
40716 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
40717 if test "x$ac_cv_func_fpclass" = x""yes; then :
40718 cat >>confdefs.h <<_ACEOF
40719 #define HAVE_FPCLASS 1
40720 _ACEOF
40723 done
40725 else
40727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
40728 $as_echo_n "checking for _fpclass declaration... " >&6; }
40729 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
40730 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
40731 $as_echo_n "(cached) " >&6
40732 else
40735 ac_ext=cpp
40736 ac_cpp='$CXXCPP $CPPFLAGS'
40737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40742 /* end confdefs.h. */
40743 #include <math.h>
40744 #ifdef HAVE_IEEEFP_H
40745 #include <ieeefp.h>
40746 #endif
40749 main ()
40751 _fpclass(0);
40753 return 0;
40755 _ACEOF
40756 if ac_fn_cxx_try_compile "$LINENO"; then :
40757 glibcxx_cv_func__fpclass_use=yes
40758 else
40759 glibcxx_cv_func__fpclass_use=no
40761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40762 ac_ext=c
40763 ac_cpp='$CPP $CPPFLAGS'
40764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
40773 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
40775 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
40776 for ac_func in _fpclass
40777 do :
40778 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
40779 if test "x$ac_cv_func__fpclass" = x""yes; then :
40780 cat >>confdefs.h <<_ACEOF
40781 #define HAVE__FPCLASS 1
40782 _ACEOF
40785 done
40794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
40795 $as_echo_n "checking for qfpclass declaration... " >&6; }
40796 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
40797 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
40798 $as_echo_n "(cached) " >&6
40799 else
40802 ac_ext=cpp
40803 ac_cpp='$CXXCPP $CPPFLAGS'
40804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40809 /* end confdefs.h. */
40810 #include <math.h>
40811 #ifdef HAVE_IEEEFP_H
40812 #include <ieeefp.h>
40813 #endif
40816 main ()
40818 qfpclass(0);
40820 return 0;
40822 _ACEOF
40823 if ac_fn_cxx_try_compile "$LINENO"; then :
40824 glibcxx_cv_func_qfpclass_use=yes
40825 else
40826 glibcxx_cv_func_qfpclass_use=no
40828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40829 ac_ext=c
40830 ac_cpp='$CPP $CPPFLAGS'
40831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
40840 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
40842 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
40843 for ac_func in qfpclass
40844 do :
40845 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
40846 if test "x$ac_cv_func_qfpclass" = x""yes; then :
40847 cat >>confdefs.h <<_ACEOF
40848 #define HAVE_QFPCLASS 1
40849 _ACEOF
40852 done
40854 else
40856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
40857 $as_echo_n "checking for _qfpclass declaration... " >&6; }
40858 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
40859 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
40860 $as_echo_n "(cached) " >&6
40861 else
40864 ac_ext=cpp
40865 ac_cpp='$CXXCPP $CPPFLAGS'
40866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40871 /* end confdefs.h. */
40872 #include <math.h>
40873 #ifdef HAVE_IEEEFP_H
40874 #include <ieeefp.h>
40875 #endif
40878 main ()
40880 _qfpclass(0);
40882 return 0;
40884 _ACEOF
40885 if ac_fn_cxx_try_compile "$LINENO"; then :
40886 glibcxx_cv_func__qfpclass_use=yes
40887 else
40888 glibcxx_cv_func__qfpclass_use=no
40890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40891 ac_ext=c
40892 ac_cpp='$CPP $CPPFLAGS'
40893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
40902 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
40904 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
40905 for ac_func in _qfpclass
40906 do :
40907 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
40908 if test "x$ac_cv_func__qfpclass" = x""yes; then :
40909 cat >>confdefs.h <<_ACEOF
40910 #define HAVE__QFPCLASS 1
40911 _ACEOF
40914 done
40923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
40924 $as_echo_n "checking for hypot declaration... " >&6; }
40925 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
40926 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
40927 $as_echo_n "(cached) " >&6
40928 else
40931 ac_ext=cpp
40932 ac_cpp='$CXXCPP $CPPFLAGS'
40933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40938 /* end confdefs.h. */
40939 #include <math.h>
40941 main ()
40943 hypot(0, 0);
40945 return 0;
40947 _ACEOF
40948 if ac_fn_cxx_try_compile "$LINENO"; then :
40949 glibcxx_cv_func_hypot_use=yes
40950 else
40951 glibcxx_cv_func_hypot_use=no
40953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40954 ac_ext=c
40955 ac_cpp='$CPP $CPPFLAGS'
40956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
40965 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
40967 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
40968 for ac_func in hypot
40969 do :
40970 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
40971 if test "x$ac_cv_func_hypot" = x""yes; then :
40972 cat >>confdefs.h <<_ACEOF
40973 #define HAVE_HYPOT 1
40974 _ACEOF
40977 done
40979 else
40981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
40982 $as_echo_n "checking for _hypot declaration... " >&6; }
40983 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
40984 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
40985 $as_echo_n "(cached) " >&6
40986 else
40989 ac_ext=cpp
40990 ac_cpp='$CXXCPP $CPPFLAGS'
40991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40996 /* end confdefs.h. */
40997 #include <math.h>
40999 main ()
41001 _hypot(0, 0);
41003 return 0;
41005 _ACEOF
41006 if ac_fn_cxx_try_compile "$LINENO"; then :
41007 glibcxx_cv_func__hypot_use=yes
41008 else
41009 glibcxx_cv_func__hypot_use=no
41011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41012 ac_ext=c
41013 ac_cpp='$CPP $CPPFLAGS'
41014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
41023 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
41025 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
41026 for ac_func in _hypot
41027 do :
41028 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
41029 if test "x$ac_cv_func__hypot" = x""yes; then :
41030 cat >>confdefs.h <<_ACEOF
41031 #define HAVE__HYPOT 1
41032 _ACEOF
41035 done
41044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
41045 $as_echo_n "checking for float trig functions... " >&6; }
41046 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
41047 $as_echo_n "(cached) " >&6
41048 else
41051 ac_ext=cpp
41052 ac_cpp='$CXXCPP $CPPFLAGS'
41053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41058 /* end confdefs.h. */
41059 #include <math.h>
41061 main ()
41063 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
41065 return 0;
41067 _ACEOF
41068 if ac_fn_cxx_try_compile "$LINENO"; then :
41069 glibcxx_cv_func_float_trig_use=yes
41070 else
41071 glibcxx_cv_func_float_trig_use=no
41073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41074 ac_ext=c
41075 ac_cpp='$CPP $CPPFLAGS'
41076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
41083 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
41084 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
41085 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
41086 do :
41087 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41088 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41089 eval as_val=\$$as_ac_var
41090 if test "x$as_val" = x""yes; then :
41091 cat >>confdefs.h <<_ACEOF
41092 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41093 _ACEOF
41096 done
41098 else
41099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
41100 $as_echo_n "checking for _float trig functions... " >&6; }
41101 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
41102 $as_echo_n "(cached) " >&6
41103 else
41106 ac_ext=cpp
41107 ac_cpp='$CXXCPP $CPPFLAGS'
41108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41113 /* end confdefs.h. */
41114 #include <math.h>
41116 main ()
41118 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
41120 return 0;
41122 _ACEOF
41123 if ac_fn_cxx_try_compile "$LINENO"; then :
41124 glibcxx_cv_func__float_trig_use=yes
41125 else
41126 glibcxx_cv_func__float_trig_use=no
41128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41129 ac_ext=c
41130 ac_cpp='$CPP $CPPFLAGS'
41131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
41138 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
41139 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
41140 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
41141 do :
41142 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41143 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41144 eval as_val=\$$as_ac_var
41145 if test "x$as_val" = x""yes; then :
41146 cat >>confdefs.h <<_ACEOF
41147 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41148 _ACEOF
41151 done
41160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
41161 $as_echo_n "checking for float round functions... " >&6; }
41162 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
41163 $as_echo_n "(cached) " >&6
41164 else
41167 ac_ext=cpp
41168 ac_cpp='$CXXCPP $CPPFLAGS'
41169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41174 /* end confdefs.h. */
41175 #include <math.h>
41177 main ()
41179 ceilf (0); floorf (0);
41181 return 0;
41183 _ACEOF
41184 if ac_fn_cxx_try_compile "$LINENO"; then :
41185 glibcxx_cv_func_float_round_use=yes
41186 else
41187 glibcxx_cv_func_float_round_use=no
41189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41190 ac_ext=c
41191 ac_cpp='$CPP $CPPFLAGS'
41192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
41199 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
41200 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
41201 for ac_func in ceilf floorf
41202 do :
41203 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41204 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41205 eval as_val=\$$as_ac_var
41206 if test "x$as_val" = x""yes; then :
41207 cat >>confdefs.h <<_ACEOF
41208 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41209 _ACEOF
41212 done
41214 else
41215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
41216 $as_echo_n "checking for _float round functions... " >&6; }
41217 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
41218 $as_echo_n "(cached) " >&6
41219 else
41222 ac_ext=cpp
41223 ac_cpp='$CXXCPP $CPPFLAGS'
41224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41229 /* end confdefs.h. */
41230 #include <math.h>
41232 main ()
41234 _ceilf (0); _floorf (0);
41236 return 0;
41238 _ACEOF
41239 if ac_fn_cxx_try_compile "$LINENO"; then :
41240 glibcxx_cv_func__float_round_use=yes
41241 else
41242 glibcxx_cv_func__float_round_use=no
41244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41245 ac_ext=c
41246 ac_cpp='$CPP $CPPFLAGS'
41247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
41254 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
41255 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
41256 for ac_func in _ceilf _floorf
41257 do :
41258 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41259 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41260 eval as_val=\$$as_ac_var
41261 if test "x$as_val" = x""yes; then :
41262 cat >>confdefs.h <<_ACEOF
41263 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41264 _ACEOF
41267 done
41277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
41278 $as_echo_n "checking for expf declaration... " >&6; }
41279 if test x${glibcxx_cv_func_expf_use+set} != xset; then
41280 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
41281 $as_echo_n "(cached) " >&6
41282 else
41285 ac_ext=cpp
41286 ac_cpp='$CXXCPP $CPPFLAGS'
41287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41292 /* end confdefs.h. */
41293 #include <math.h>
41294 #ifdef HAVE_IEEEFP_H
41295 #include <ieeefp.h>
41296 #endif
41299 main ()
41301 expf(0);
41303 return 0;
41305 _ACEOF
41306 if ac_fn_cxx_try_compile "$LINENO"; then :
41307 glibcxx_cv_func_expf_use=yes
41308 else
41309 glibcxx_cv_func_expf_use=no
41311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41312 ac_ext=c
41313 ac_cpp='$CPP $CPPFLAGS'
41314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
41323 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
41325 if test x$glibcxx_cv_func_expf_use = x"yes"; then
41326 for ac_func in expf
41327 do :
41328 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
41329 if test "x$ac_cv_func_expf" = x""yes; then :
41330 cat >>confdefs.h <<_ACEOF
41331 #define HAVE_EXPF 1
41332 _ACEOF
41335 done
41337 else
41339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
41340 $as_echo_n "checking for _expf declaration... " >&6; }
41341 if test x${glibcxx_cv_func__expf_use+set} != xset; then
41342 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
41343 $as_echo_n "(cached) " >&6
41344 else
41347 ac_ext=cpp
41348 ac_cpp='$CXXCPP $CPPFLAGS'
41349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41354 /* end confdefs.h. */
41355 #include <math.h>
41356 #ifdef HAVE_IEEEFP_H
41357 #include <ieeefp.h>
41358 #endif
41361 main ()
41363 _expf(0);
41365 return 0;
41367 _ACEOF
41368 if ac_fn_cxx_try_compile "$LINENO"; then :
41369 glibcxx_cv_func__expf_use=yes
41370 else
41371 glibcxx_cv_func__expf_use=no
41373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41374 ac_ext=c
41375 ac_cpp='$CPP $CPPFLAGS'
41376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
41385 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
41387 if test x$glibcxx_cv_func__expf_use = x"yes"; then
41388 for ac_func in _expf
41389 do :
41390 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
41391 if test "x$ac_cv_func__expf" = x""yes; then :
41392 cat >>confdefs.h <<_ACEOF
41393 #define HAVE__EXPF 1
41394 _ACEOF
41397 done
41406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
41407 $as_echo_n "checking for isnanf declaration... " >&6; }
41408 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
41409 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
41410 $as_echo_n "(cached) " >&6
41411 else
41414 ac_ext=cpp
41415 ac_cpp='$CXXCPP $CPPFLAGS'
41416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41421 /* end confdefs.h. */
41422 #include <math.h>
41423 #ifdef HAVE_IEEEFP_H
41424 #include <ieeefp.h>
41425 #endif
41428 main ()
41430 isnanf(0);
41432 return 0;
41434 _ACEOF
41435 if ac_fn_cxx_try_compile "$LINENO"; then :
41436 glibcxx_cv_func_isnanf_use=yes
41437 else
41438 glibcxx_cv_func_isnanf_use=no
41440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41441 ac_ext=c
41442 ac_cpp='$CPP $CPPFLAGS'
41443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
41452 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
41454 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
41455 for ac_func in isnanf
41456 do :
41457 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
41458 if test "x$ac_cv_func_isnanf" = x""yes; then :
41459 cat >>confdefs.h <<_ACEOF
41460 #define HAVE_ISNANF 1
41461 _ACEOF
41464 done
41466 else
41468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
41469 $as_echo_n "checking for _isnanf declaration... " >&6; }
41470 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
41471 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
41472 $as_echo_n "(cached) " >&6
41473 else
41476 ac_ext=cpp
41477 ac_cpp='$CXXCPP $CPPFLAGS'
41478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41483 /* end confdefs.h. */
41484 #include <math.h>
41485 #ifdef HAVE_IEEEFP_H
41486 #include <ieeefp.h>
41487 #endif
41490 main ()
41492 _isnanf(0);
41494 return 0;
41496 _ACEOF
41497 if ac_fn_cxx_try_compile "$LINENO"; then :
41498 glibcxx_cv_func__isnanf_use=yes
41499 else
41500 glibcxx_cv_func__isnanf_use=no
41502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41503 ac_ext=c
41504 ac_cpp='$CPP $CPPFLAGS'
41505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
41514 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
41516 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
41517 for ac_func in _isnanf
41518 do :
41519 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
41520 if test "x$ac_cv_func__isnanf" = x""yes; then :
41521 cat >>confdefs.h <<_ACEOF
41522 #define HAVE__ISNANF 1
41523 _ACEOF
41526 done
41535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
41536 $as_echo_n "checking for isinff declaration... " >&6; }
41537 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
41538 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
41539 $as_echo_n "(cached) " >&6
41540 else
41543 ac_ext=cpp
41544 ac_cpp='$CXXCPP $CPPFLAGS'
41545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41550 /* end confdefs.h. */
41551 #include <math.h>
41552 #ifdef HAVE_IEEEFP_H
41553 #include <ieeefp.h>
41554 #endif
41557 main ()
41559 isinff(0);
41561 return 0;
41563 _ACEOF
41564 if ac_fn_cxx_try_compile "$LINENO"; then :
41565 glibcxx_cv_func_isinff_use=yes
41566 else
41567 glibcxx_cv_func_isinff_use=no
41569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41570 ac_ext=c
41571 ac_cpp='$CPP $CPPFLAGS'
41572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
41581 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
41583 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
41584 for ac_func in isinff
41585 do :
41586 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
41587 if test "x$ac_cv_func_isinff" = x""yes; then :
41588 cat >>confdefs.h <<_ACEOF
41589 #define HAVE_ISINFF 1
41590 _ACEOF
41593 done
41595 else
41597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
41598 $as_echo_n "checking for _isinff declaration... " >&6; }
41599 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
41600 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
41601 $as_echo_n "(cached) " >&6
41602 else
41605 ac_ext=cpp
41606 ac_cpp='$CXXCPP $CPPFLAGS'
41607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41612 /* end confdefs.h. */
41613 #include <math.h>
41614 #ifdef HAVE_IEEEFP_H
41615 #include <ieeefp.h>
41616 #endif
41619 main ()
41621 _isinff(0);
41623 return 0;
41625 _ACEOF
41626 if ac_fn_cxx_try_compile "$LINENO"; then :
41627 glibcxx_cv_func__isinff_use=yes
41628 else
41629 glibcxx_cv_func__isinff_use=no
41631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41632 ac_ext=c
41633 ac_cpp='$CPP $CPPFLAGS'
41634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
41643 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
41645 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
41646 for ac_func in _isinff
41647 do :
41648 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
41649 if test "x$ac_cv_func__isinff" = x""yes; then :
41650 cat >>confdefs.h <<_ACEOF
41651 #define HAVE__ISINFF 1
41652 _ACEOF
41655 done
41664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
41665 $as_echo_n "checking for atan2f declaration... " >&6; }
41666 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
41667 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
41668 $as_echo_n "(cached) " >&6
41669 else
41672 ac_ext=cpp
41673 ac_cpp='$CXXCPP $CPPFLAGS'
41674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41679 /* end confdefs.h. */
41680 #include <math.h>
41682 main ()
41684 atan2f(0, 0);
41686 return 0;
41688 _ACEOF
41689 if ac_fn_cxx_try_compile "$LINENO"; then :
41690 glibcxx_cv_func_atan2f_use=yes
41691 else
41692 glibcxx_cv_func_atan2f_use=no
41694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41695 ac_ext=c
41696 ac_cpp='$CPP $CPPFLAGS'
41697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
41706 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
41708 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
41709 for ac_func in atan2f
41710 do :
41711 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
41712 if test "x$ac_cv_func_atan2f" = x""yes; then :
41713 cat >>confdefs.h <<_ACEOF
41714 #define HAVE_ATAN2F 1
41715 _ACEOF
41718 done
41720 else
41722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
41723 $as_echo_n "checking for _atan2f declaration... " >&6; }
41724 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
41725 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
41726 $as_echo_n "(cached) " >&6
41727 else
41730 ac_ext=cpp
41731 ac_cpp='$CXXCPP $CPPFLAGS'
41732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41737 /* end confdefs.h. */
41738 #include <math.h>
41740 main ()
41742 _atan2f(0, 0);
41744 return 0;
41746 _ACEOF
41747 if ac_fn_cxx_try_compile "$LINENO"; then :
41748 glibcxx_cv_func__atan2f_use=yes
41749 else
41750 glibcxx_cv_func__atan2f_use=no
41752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41753 ac_ext=c
41754 ac_cpp='$CPP $CPPFLAGS'
41755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
41764 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
41766 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
41767 for ac_func in _atan2f
41768 do :
41769 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
41770 if test "x$ac_cv_func__atan2f" = x""yes; then :
41771 cat >>confdefs.h <<_ACEOF
41772 #define HAVE__ATAN2F 1
41773 _ACEOF
41776 done
41785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
41786 $as_echo_n "checking for fabsf declaration... " >&6; }
41787 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
41788 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
41789 $as_echo_n "(cached) " >&6
41790 else
41793 ac_ext=cpp
41794 ac_cpp='$CXXCPP $CPPFLAGS'
41795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41800 /* end confdefs.h. */
41801 #include <math.h>
41802 #ifdef HAVE_IEEEFP_H
41803 #include <ieeefp.h>
41804 #endif
41807 main ()
41809 fabsf(0);
41811 return 0;
41813 _ACEOF
41814 if ac_fn_cxx_try_compile "$LINENO"; then :
41815 glibcxx_cv_func_fabsf_use=yes
41816 else
41817 glibcxx_cv_func_fabsf_use=no
41819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41820 ac_ext=c
41821 ac_cpp='$CPP $CPPFLAGS'
41822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
41831 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
41833 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
41834 for ac_func in fabsf
41835 do :
41836 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
41837 if test "x$ac_cv_func_fabsf" = x""yes; then :
41838 cat >>confdefs.h <<_ACEOF
41839 #define HAVE_FABSF 1
41840 _ACEOF
41843 done
41845 else
41847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
41848 $as_echo_n "checking for _fabsf declaration... " >&6; }
41849 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
41850 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
41851 $as_echo_n "(cached) " >&6
41852 else
41855 ac_ext=cpp
41856 ac_cpp='$CXXCPP $CPPFLAGS'
41857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41862 /* end confdefs.h. */
41863 #include <math.h>
41864 #ifdef HAVE_IEEEFP_H
41865 #include <ieeefp.h>
41866 #endif
41869 main ()
41871 _fabsf(0);
41873 return 0;
41875 _ACEOF
41876 if ac_fn_cxx_try_compile "$LINENO"; then :
41877 glibcxx_cv_func__fabsf_use=yes
41878 else
41879 glibcxx_cv_func__fabsf_use=no
41881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41882 ac_ext=c
41883 ac_cpp='$CPP $CPPFLAGS'
41884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
41893 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
41895 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
41896 for ac_func in _fabsf
41897 do :
41898 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
41899 if test "x$ac_cv_func__fabsf" = x""yes; then :
41900 cat >>confdefs.h <<_ACEOF
41901 #define HAVE__FABSF 1
41902 _ACEOF
41905 done
41914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
41915 $as_echo_n "checking for fmodf declaration... " >&6; }
41916 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
41917 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
41918 $as_echo_n "(cached) " >&6
41919 else
41922 ac_ext=cpp
41923 ac_cpp='$CXXCPP $CPPFLAGS'
41924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41929 /* end confdefs.h. */
41930 #include <math.h>
41932 main ()
41934 fmodf(0, 0);
41936 return 0;
41938 _ACEOF
41939 if ac_fn_cxx_try_compile "$LINENO"; then :
41940 glibcxx_cv_func_fmodf_use=yes
41941 else
41942 glibcxx_cv_func_fmodf_use=no
41944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41945 ac_ext=c
41946 ac_cpp='$CPP $CPPFLAGS'
41947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
41956 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
41958 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
41959 for ac_func in fmodf
41960 do :
41961 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
41962 if test "x$ac_cv_func_fmodf" = x""yes; then :
41963 cat >>confdefs.h <<_ACEOF
41964 #define HAVE_FMODF 1
41965 _ACEOF
41968 done
41970 else
41972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
41973 $as_echo_n "checking for _fmodf declaration... " >&6; }
41974 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
41975 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
41976 $as_echo_n "(cached) " >&6
41977 else
41980 ac_ext=cpp
41981 ac_cpp='$CXXCPP $CPPFLAGS'
41982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41987 /* end confdefs.h. */
41988 #include <math.h>
41990 main ()
41992 _fmodf(0, 0);
41994 return 0;
41996 _ACEOF
41997 if ac_fn_cxx_try_compile "$LINENO"; then :
41998 glibcxx_cv_func__fmodf_use=yes
41999 else
42000 glibcxx_cv_func__fmodf_use=no
42002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42003 ac_ext=c
42004 ac_cpp='$CPP $CPPFLAGS'
42005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
42014 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
42016 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
42017 for ac_func in _fmodf
42018 do :
42019 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
42020 if test "x$ac_cv_func__fmodf" = x""yes; then :
42021 cat >>confdefs.h <<_ACEOF
42022 #define HAVE__FMODF 1
42023 _ACEOF
42026 done
42035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
42036 $as_echo_n "checking for frexpf declaration... " >&6; }
42037 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
42038 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
42039 $as_echo_n "(cached) " >&6
42040 else
42043 ac_ext=cpp
42044 ac_cpp='$CXXCPP $CPPFLAGS'
42045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42050 /* end confdefs.h. */
42051 #include <math.h>
42053 main ()
42055 frexpf(0, 0);
42057 return 0;
42059 _ACEOF
42060 if ac_fn_cxx_try_compile "$LINENO"; then :
42061 glibcxx_cv_func_frexpf_use=yes
42062 else
42063 glibcxx_cv_func_frexpf_use=no
42065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42066 ac_ext=c
42067 ac_cpp='$CPP $CPPFLAGS'
42068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
42077 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
42079 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
42080 for ac_func in frexpf
42081 do :
42082 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
42083 if test "x$ac_cv_func_frexpf" = x""yes; then :
42084 cat >>confdefs.h <<_ACEOF
42085 #define HAVE_FREXPF 1
42086 _ACEOF
42089 done
42091 else
42093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
42094 $as_echo_n "checking for _frexpf declaration... " >&6; }
42095 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
42096 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
42097 $as_echo_n "(cached) " >&6
42098 else
42101 ac_ext=cpp
42102 ac_cpp='$CXXCPP $CPPFLAGS'
42103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42108 /* end confdefs.h. */
42109 #include <math.h>
42111 main ()
42113 _frexpf(0, 0);
42115 return 0;
42117 _ACEOF
42118 if ac_fn_cxx_try_compile "$LINENO"; then :
42119 glibcxx_cv_func__frexpf_use=yes
42120 else
42121 glibcxx_cv_func__frexpf_use=no
42123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42124 ac_ext=c
42125 ac_cpp='$CPP $CPPFLAGS'
42126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
42135 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
42137 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
42138 for ac_func in _frexpf
42139 do :
42140 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
42141 if test "x$ac_cv_func__frexpf" = x""yes; then :
42142 cat >>confdefs.h <<_ACEOF
42143 #define HAVE__FREXPF 1
42144 _ACEOF
42147 done
42156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
42157 $as_echo_n "checking for hypotf declaration... " >&6; }
42158 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
42159 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
42160 $as_echo_n "(cached) " >&6
42161 else
42164 ac_ext=cpp
42165 ac_cpp='$CXXCPP $CPPFLAGS'
42166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42171 /* end confdefs.h. */
42172 #include <math.h>
42174 main ()
42176 hypotf(0, 0);
42178 return 0;
42180 _ACEOF
42181 if ac_fn_cxx_try_compile "$LINENO"; then :
42182 glibcxx_cv_func_hypotf_use=yes
42183 else
42184 glibcxx_cv_func_hypotf_use=no
42186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42187 ac_ext=c
42188 ac_cpp='$CPP $CPPFLAGS'
42189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
42198 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
42200 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
42201 for ac_func in hypotf
42202 do :
42203 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
42204 if test "x$ac_cv_func_hypotf" = x""yes; then :
42205 cat >>confdefs.h <<_ACEOF
42206 #define HAVE_HYPOTF 1
42207 _ACEOF
42210 done
42212 else
42214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
42215 $as_echo_n "checking for _hypotf declaration... " >&6; }
42216 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
42217 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
42218 $as_echo_n "(cached) " >&6
42219 else
42222 ac_ext=cpp
42223 ac_cpp='$CXXCPP $CPPFLAGS'
42224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42229 /* end confdefs.h. */
42230 #include <math.h>
42232 main ()
42234 _hypotf(0, 0);
42236 return 0;
42238 _ACEOF
42239 if ac_fn_cxx_try_compile "$LINENO"; then :
42240 glibcxx_cv_func__hypotf_use=yes
42241 else
42242 glibcxx_cv_func__hypotf_use=no
42244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42245 ac_ext=c
42246 ac_cpp='$CPP $CPPFLAGS'
42247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
42256 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
42258 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
42259 for ac_func in _hypotf
42260 do :
42261 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
42262 if test "x$ac_cv_func__hypotf" = x""yes; then :
42263 cat >>confdefs.h <<_ACEOF
42264 #define HAVE__HYPOTF 1
42265 _ACEOF
42268 done
42277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
42278 $as_echo_n "checking for ldexpf declaration... " >&6; }
42279 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
42280 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
42281 $as_echo_n "(cached) " >&6
42282 else
42285 ac_ext=cpp
42286 ac_cpp='$CXXCPP $CPPFLAGS'
42287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42292 /* end confdefs.h. */
42293 #include <math.h>
42295 main ()
42297 ldexpf(0, 0);
42299 return 0;
42301 _ACEOF
42302 if ac_fn_cxx_try_compile "$LINENO"; then :
42303 glibcxx_cv_func_ldexpf_use=yes
42304 else
42305 glibcxx_cv_func_ldexpf_use=no
42307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42308 ac_ext=c
42309 ac_cpp='$CPP $CPPFLAGS'
42310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
42319 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
42321 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
42322 for ac_func in ldexpf
42323 do :
42324 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
42325 if test "x$ac_cv_func_ldexpf" = x""yes; then :
42326 cat >>confdefs.h <<_ACEOF
42327 #define HAVE_LDEXPF 1
42328 _ACEOF
42331 done
42333 else
42335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
42336 $as_echo_n "checking for _ldexpf declaration... " >&6; }
42337 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
42338 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
42339 $as_echo_n "(cached) " >&6
42340 else
42343 ac_ext=cpp
42344 ac_cpp='$CXXCPP $CPPFLAGS'
42345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42350 /* end confdefs.h. */
42351 #include <math.h>
42353 main ()
42355 _ldexpf(0, 0);
42357 return 0;
42359 _ACEOF
42360 if ac_fn_cxx_try_compile "$LINENO"; then :
42361 glibcxx_cv_func__ldexpf_use=yes
42362 else
42363 glibcxx_cv_func__ldexpf_use=no
42365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42366 ac_ext=c
42367 ac_cpp='$CPP $CPPFLAGS'
42368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
42377 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
42379 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
42380 for ac_func in _ldexpf
42381 do :
42382 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
42383 if test "x$ac_cv_func__ldexpf" = x""yes; then :
42384 cat >>confdefs.h <<_ACEOF
42385 #define HAVE__LDEXPF 1
42386 _ACEOF
42389 done
42398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
42399 $as_echo_n "checking for logf declaration... " >&6; }
42400 if test x${glibcxx_cv_func_logf_use+set} != xset; then
42401 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
42402 $as_echo_n "(cached) " >&6
42403 else
42406 ac_ext=cpp
42407 ac_cpp='$CXXCPP $CPPFLAGS'
42408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42413 /* end confdefs.h. */
42414 #include <math.h>
42415 #ifdef HAVE_IEEEFP_H
42416 #include <ieeefp.h>
42417 #endif
42420 main ()
42422 logf(0);
42424 return 0;
42426 _ACEOF
42427 if ac_fn_cxx_try_compile "$LINENO"; then :
42428 glibcxx_cv_func_logf_use=yes
42429 else
42430 glibcxx_cv_func_logf_use=no
42432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42433 ac_ext=c
42434 ac_cpp='$CPP $CPPFLAGS'
42435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
42444 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
42446 if test x$glibcxx_cv_func_logf_use = x"yes"; then
42447 for ac_func in logf
42448 do :
42449 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
42450 if test "x$ac_cv_func_logf" = x""yes; then :
42451 cat >>confdefs.h <<_ACEOF
42452 #define HAVE_LOGF 1
42453 _ACEOF
42456 done
42458 else
42460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
42461 $as_echo_n "checking for _logf declaration... " >&6; }
42462 if test x${glibcxx_cv_func__logf_use+set} != xset; then
42463 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
42464 $as_echo_n "(cached) " >&6
42465 else
42468 ac_ext=cpp
42469 ac_cpp='$CXXCPP $CPPFLAGS'
42470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42475 /* end confdefs.h. */
42476 #include <math.h>
42477 #ifdef HAVE_IEEEFP_H
42478 #include <ieeefp.h>
42479 #endif
42482 main ()
42484 _logf(0);
42486 return 0;
42488 _ACEOF
42489 if ac_fn_cxx_try_compile "$LINENO"; then :
42490 glibcxx_cv_func__logf_use=yes
42491 else
42492 glibcxx_cv_func__logf_use=no
42494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42495 ac_ext=c
42496 ac_cpp='$CPP $CPPFLAGS'
42497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
42506 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
42508 if test x$glibcxx_cv_func__logf_use = x"yes"; then
42509 for ac_func in _logf
42510 do :
42511 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
42512 if test "x$ac_cv_func__logf" = x""yes; then :
42513 cat >>confdefs.h <<_ACEOF
42514 #define HAVE__LOGF 1
42515 _ACEOF
42518 done
42527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
42528 $as_echo_n "checking for log10f declaration... " >&6; }
42529 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
42530 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
42531 $as_echo_n "(cached) " >&6
42532 else
42535 ac_ext=cpp
42536 ac_cpp='$CXXCPP $CPPFLAGS'
42537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42542 /* end confdefs.h. */
42543 #include <math.h>
42544 #ifdef HAVE_IEEEFP_H
42545 #include <ieeefp.h>
42546 #endif
42549 main ()
42551 log10f(0);
42553 return 0;
42555 _ACEOF
42556 if ac_fn_cxx_try_compile "$LINENO"; then :
42557 glibcxx_cv_func_log10f_use=yes
42558 else
42559 glibcxx_cv_func_log10f_use=no
42561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42562 ac_ext=c
42563 ac_cpp='$CPP $CPPFLAGS'
42564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
42573 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
42575 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
42576 for ac_func in log10f
42577 do :
42578 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
42579 if test "x$ac_cv_func_log10f" = x""yes; then :
42580 cat >>confdefs.h <<_ACEOF
42581 #define HAVE_LOG10F 1
42582 _ACEOF
42585 done
42587 else
42589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
42590 $as_echo_n "checking for _log10f declaration... " >&6; }
42591 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
42592 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
42593 $as_echo_n "(cached) " >&6
42594 else
42597 ac_ext=cpp
42598 ac_cpp='$CXXCPP $CPPFLAGS'
42599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42604 /* end confdefs.h. */
42605 #include <math.h>
42606 #ifdef HAVE_IEEEFP_H
42607 #include <ieeefp.h>
42608 #endif
42611 main ()
42613 _log10f(0);
42615 return 0;
42617 _ACEOF
42618 if ac_fn_cxx_try_compile "$LINENO"; then :
42619 glibcxx_cv_func__log10f_use=yes
42620 else
42621 glibcxx_cv_func__log10f_use=no
42623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42624 ac_ext=c
42625 ac_cpp='$CPP $CPPFLAGS'
42626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
42635 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
42637 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
42638 for ac_func in _log10f
42639 do :
42640 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
42641 if test "x$ac_cv_func__log10f" = x""yes; then :
42642 cat >>confdefs.h <<_ACEOF
42643 #define HAVE__LOG10F 1
42644 _ACEOF
42647 done
42656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
42657 $as_echo_n "checking for modff declaration... " >&6; }
42658 if test x${glibcxx_cv_func_modff_use+set} != xset; then
42659 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
42660 $as_echo_n "(cached) " >&6
42661 else
42664 ac_ext=cpp
42665 ac_cpp='$CXXCPP $CPPFLAGS'
42666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42671 /* end confdefs.h. */
42672 #include <math.h>
42674 main ()
42676 modff(0, 0);
42678 return 0;
42680 _ACEOF
42681 if ac_fn_cxx_try_compile "$LINENO"; then :
42682 glibcxx_cv_func_modff_use=yes
42683 else
42684 glibcxx_cv_func_modff_use=no
42686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42687 ac_ext=c
42688 ac_cpp='$CPP $CPPFLAGS'
42689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
42698 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
42700 if test x$glibcxx_cv_func_modff_use = x"yes"; then
42701 for ac_func in modff
42702 do :
42703 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
42704 if test "x$ac_cv_func_modff" = x""yes; then :
42705 cat >>confdefs.h <<_ACEOF
42706 #define HAVE_MODFF 1
42707 _ACEOF
42710 done
42712 else
42714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
42715 $as_echo_n "checking for _modff declaration... " >&6; }
42716 if test x${glibcxx_cv_func__modff_use+set} != xset; then
42717 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
42718 $as_echo_n "(cached) " >&6
42719 else
42722 ac_ext=cpp
42723 ac_cpp='$CXXCPP $CPPFLAGS'
42724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42729 /* end confdefs.h. */
42730 #include <math.h>
42732 main ()
42734 _modff(0, 0);
42736 return 0;
42738 _ACEOF
42739 if ac_fn_cxx_try_compile "$LINENO"; then :
42740 glibcxx_cv_func__modff_use=yes
42741 else
42742 glibcxx_cv_func__modff_use=no
42744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42745 ac_ext=c
42746 ac_cpp='$CPP $CPPFLAGS'
42747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
42756 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
42758 if test x$glibcxx_cv_func__modff_use = x"yes"; then
42759 for ac_func in _modff
42760 do :
42761 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
42762 if test "x$ac_cv_func__modff" = x""yes; then :
42763 cat >>confdefs.h <<_ACEOF
42764 #define HAVE__MODFF 1
42765 _ACEOF
42768 done
42777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
42778 $as_echo_n "checking for modf declaration... " >&6; }
42779 if test x${glibcxx_cv_func_modf_use+set} != xset; then
42780 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
42781 $as_echo_n "(cached) " >&6
42782 else
42785 ac_ext=cpp
42786 ac_cpp='$CXXCPP $CPPFLAGS'
42787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42792 /* end confdefs.h. */
42793 #include <math.h>
42795 main ()
42797 modf(0, 0);
42799 return 0;
42801 _ACEOF
42802 if ac_fn_cxx_try_compile "$LINENO"; then :
42803 glibcxx_cv_func_modf_use=yes
42804 else
42805 glibcxx_cv_func_modf_use=no
42807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42808 ac_ext=c
42809 ac_cpp='$CPP $CPPFLAGS'
42810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
42819 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
42821 if test x$glibcxx_cv_func_modf_use = x"yes"; then
42822 for ac_func in modf
42823 do :
42824 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
42825 if test "x$ac_cv_func_modf" = x""yes; then :
42826 cat >>confdefs.h <<_ACEOF
42827 #define HAVE_MODF 1
42828 _ACEOF
42831 done
42833 else
42835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
42836 $as_echo_n "checking for _modf declaration... " >&6; }
42837 if test x${glibcxx_cv_func__modf_use+set} != xset; then
42838 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
42839 $as_echo_n "(cached) " >&6
42840 else
42843 ac_ext=cpp
42844 ac_cpp='$CXXCPP $CPPFLAGS'
42845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42850 /* end confdefs.h. */
42851 #include <math.h>
42853 main ()
42855 _modf(0, 0);
42857 return 0;
42859 _ACEOF
42860 if ac_fn_cxx_try_compile "$LINENO"; then :
42861 glibcxx_cv_func__modf_use=yes
42862 else
42863 glibcxx_cv_func__modf_use=no
42865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42866 ac_ext=c
42867 ac_cpp='$CPP $CPPFLAGS'
42868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
42877 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
42879 if test x$glibcxx_cv_func__modf_use = x"yes"; then
42880 for ac_func in _modf
42881 do :
42882 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
42883 if test "x$ac_cv_func__modf" = x""yes; then :
42884 cat >>confdefs.h <<_ACEOF
42885 #define HAVE__MODF 1
42886 _ACEOF
42889 done
42898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
42899 $as_echo_n "checking for powf declaration... " >&6; }
42900 if test x${glibcxx_cv_func_powf_use+set} != xset; then
42901 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
42902 $as_echo_n "(cached) " >&6
42903 else
42906 ac_ext=cpp
42907 ac_cpp='$CXXCPP $CPPFLAGS'
42908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42913 /* end confdefs.h. */
42914 #include <math.h>
42916 main ()
42918 powf(0, 0);
42920 return 0;
42922 _ACEOF
42923 if ac_fn_cxx_try_compile "$LINENO"; then :
42924 glibcxx_cv_func_powf_use=yes
42925 else
42926 glibcxx_cv_func_powf_use=no
42928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42929 ac_ext=c
42930 ac_cpp='$CPP $CPPFLAGS'
42931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
42940 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
42942 if test x$glibcxx_cv_func_powf_use = x"yes"; then
42943 for ac_func in powf
42944 do :
42945 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
42946 if test "x$ac_cv_func_powf" = x""yes; then :
42947 cat >>confdefs.h <<_ACEOF
42948 #define HAVE_POWF 1
42949 _ACEOF
42952 done
42954 else
42956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
42957 $as_echo_n "checking for _powf declaration... " >&6; }
42958 if test x${glibcxx_cv_func__powf_use+set} != xset; then
42959 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
42960 $as_echo_n "(cached) " >&6
42961 else
42964 ac_ext=cpp
42965 ac_cpp='$CXXCPP $CPPFLAGS'
42966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42971 /* end confdefs.h. */
42972 #include <math.h>
42974 main ()
42976 _powf(0, 0);
42978 return 0;
42980 _ACEOF
42981 if ac_fn_cxx_try_compile "$LINENO"; then :
42982 glibcxx_cv_func__powf_use=yes
42983 else
42984 glibcxx_cv_func__powf_use=no
42986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42987 ac_ext=c
42988 ac_cpp='$CPP $CPPFLAGS'
42989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
42998 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
43000 if test x$glibcxx_cv_func__powf_use = x"yes"; then
43001 for ac_func in _powf
43002 do :
43003 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
43004 if test "x$ac_cv_func__powf" = x""yes; then :
43005 cat >>confdefs.h <<_ACEOF
43006 #define HAVE__POWF 1
43007 _ACEOF
43010 done
43019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
43020 $as_echo_n "checking for sqrtf declaration... " >&6; }
43021 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
43022 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
43023 $as_echo_n "(cached) " >&6
43024 else
43027 ac_ext=cpp
43028 ac_cpp='$CXXCPP $CPPFLAGS'
43029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43034 /* end confdefs.h. */
43035 #include <math.h>
43036 #ifdef HAVE_IEEEFP_H
43037 #include <ieeefp.h>
43038 #endif
43041 main ()
43043 sqrtf(0);
43045 return 0;
43047 _ACEOF
43048 if ac_fn_cxx_try_compile "$LINENO"; then :
43049 glibcxx_cv_func_sqrtf_use=yes
43050 else
43051 glibcxx_cv_func_sqrtf_use=no
43053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43054 ac_ext=c
43055 ac_cpp='$CPP $CPPFLAGS'
43056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
43065 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
43067 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
43068 for ac_func in sqrtf
43069 do :
43070 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
43071 if test "x$ac_cv_func_sqrtf" = x""yes; then :
43072 cat >>confdefs.h <<_ACEOF
43073 #define HAVE_SQRTF 1
43074 _ACEOF
43077 done
43079 else
43081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
43082 $as_echo_n "checking for _sqrtf declaration... " >&6; }
43083 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
43084 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
43085 $as_echo_n "(cached) " >&6
43086 else
43089 ac_ext=cpp
43090 ac_cpp='$CXXCPP $CPPFLAGS'
43091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43096 /* end confdefs.h. */
43097 #include <math.h>
43098 #ifdef HAVE_IEEEFP_H
43099 #include <ieeefp.h>
43100 #endif
43103 main ()
43105 _sqrtf(0);
43107 return 0;
43109 _ACEOF
43110 if ac_fn_cxx_try_compile "$LINENO"; then :
43111 glibcxx_cv_func__sqrtf_use=yes
43112 else
43113 glibcxx_cv_func__sqrtf_use=no
43115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43116 ac_ext=c
43117 ac_cpp='$CPP $CPPFLAGS'
43118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
43127 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
43129 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
43130 for ac_func in _sqrtf
43131 do :
43132 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
43133 if test "x$ac_cv_func__sqrtf" = x""yes; then :
43134 cat >>confdefs.h <<_ACEOF
43135 #define HAVE__SQRTF 1
43136 _ACEOF
43139 done
43148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
43149 $as_echo_n "checking for sincosf declaration... " >&6; }
43150 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
43151 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
43152 $as_echo_n "(cached) " >&6
43153 else
43156 ac_ext=cpp
43157 ac_cpp='$CXXCPP $CPPFLAGS'
43158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43163 /* end confdefs.h. */
43164 #include <math.h>
43166 main ()
43168 sincosf(0, 0, 0);
43170 return 0;
43172 _ACEOF
43173 if ac_fn_cxx_try_compile "$LINENO"; then :
43174 glibcxx_cv_func_sincosf_use=yes
43175 else
43176 glibcxx_cv_func_sincosf_use=no
43178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43179 ac_ext=c
43180 ac_cpp='$CPP $CPPFLAGS'
43181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
43190 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
43192 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
43193 for ac_func in sincosf
43194 do :
43195 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
43196 if test "x$ac_cv_func_sincosf" = x""yes; then :
43197 cat >>confdefs.h <<_ACEOF
43198 #define HAVE_SINCOSF 1
43199 _ACEOF
43202 done
43204 else
43206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
43207 $as_echo_n "checking for _sincosf declaration... " >&6; }
43208 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
43209 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
43210 $as_echo_n "(cached) " >&6
43211 else
43214 ac_ext=cpp
43215 ac_cpp='$CXXCPP $CPPFLAGS'
43216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43221 /* end confdefs.h. */
43222 #include <math.h>
43224 main ()
43226 _sincosf(0, 0, 0);
43228 return 0;
43230 _ACEOF
43231 if ac_fn_cxx_try_compile "$LINENO"; then :
43232 glibcxx_cv_func__sincosf_use=yes
43233 else
43234 glibcxx_cv_func__sincosf_use=no
43236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43237 ac_ext=c
43238 ac_cpp='$CPP $CPPFLAGS'
43239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
43248 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
43250 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
43251 for ac_func in _sincosf
43252 do :
43253 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
43254 if test "x$ac_cv_func__sincosf" = x""yes; then :
43255 cat >>confdefs.h <<_ACEOF
43256 #define HAVE__SINCOSF 1
43257 _ACEOF
43260 done
43269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
43270 $as_echo_n "checking for finitef declaration... " >&6; }
43271 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
43272 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
43273 $as_echo_n "(cached) " >&6
43274 else
43277 ac_ext=cpp
43278 ac_cpp='$CXXCPP $CPPFLAGS'
43279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43284 /* end confdefs.h. */
43285 #include <math.h>
43286 #ifdef HAVE_IEEEFP_H
43287 #include <ieeefp.h>
43288 #endif
43291 main ()
43293 finitef(0);
43295 return 0;
43297 _ACEOF
43298 if ac_fn_cxx_try_compile "$LINENO"; then :
43299 glibcxx_cv_func_finitef_use=yes
43300 else
43301 glibcxx_cv_func_finitef_use=no
43303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43304 ac_ext=c
43305 ac_cpp='$CPP $CPPFLAGS'
43306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
43315 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
43317 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
43318 for ac_func in finitef
43319 do :
43320 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
43321 if test "x$ac_cv_func_finitef" = x""yes; then :
43322 cat >>confdefs.h <<_ACEOF
43323 #define HAVE_FINITEF 1
43324 _ACEOF
43327 done
43329 else
43331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
43332 $as_echo_n "checking for _finitef declaration... " >&6; }
43333 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
43334 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
43335 $as_echo_n "(cached) " >&6
43336 else
43339 ac_ext=cpp
43340 ac_cpp='$CXXCPP $CPPFLAGS'
43341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43346 /* end confdefs.h. */
43347 #include <math.h>
43348 #ifdef HAVE_IEEEFP_H
43349 #include <ieeefp.h>
43350 #endif
43353 main ()
43355 _finitef(0);
43357 return 0;
43359 _ACEOF
43360 if ac_fn_cxx_try_compile "$LINENO"; then :
43361 glibcxx_cv_func__finitef_use=yes
43362 else
43363 glibcxx_cv_func__finitef_use=no
43365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43366 ac_ext=c
43367 ac_cpp='$CPP $CPPFLAGS'
43368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
43377 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
43379 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
43380 for ac_func in _finitef
43381 do :
43382 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
43383 if test "x$ac_cv_func__finitef" = x""yes; then :
43384 cat >>confdefs.h <<_ACEOF
43385 #define HAVE__FINITEF 1
43386 _ACEOF
43389 done
43398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
43399 $as_echo_n "checking for long double trig functions... " >&6; }
43400 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
43401 $as_echo_n "(cached) " >&6
43402 else
43405 ac_ext=cpp
43406 ac_cpp='$CXXCPP $CPPFLAGS'
43407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43412 /* end confdefs.h. */
43413 #include <math.h>
43415 main ()
43417 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
43419 return 0;
43421 _ACEOF
43422 if ac_fn_cxx_try_compile "$LINENO"; then :
43423 glibcxx_cv_func_long_double_trig_use=yes
43424 else
43425 glibcxx_cv_func_long_double_trig_use=no
43427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43428 ac_ext=c
43429 ac_cpp='$CPP $CPPFLAGS'
43430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
43437 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
43438 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
43439 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
43440 do :
43441 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43442 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43443 eval as_val=\$$as_ac_var
43444 if test "x$as_val" = x""yes; then :
43445 cat >>confdefs.h <<_ACEOF
43446 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43447 _ACEOF
43450 done
43452 else
43453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
43454 $as_echo_n "checking for _long double trig functions... " >&6; }
43455 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
43456 $as_echo_n "(cached) " >&6
43457 else
43460 ac_ext=cpp
43461 ac_cpp='$CXXCPP $CPPFLAGS'
43462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43467 /* end confdefs.h. */
43468 #include <math.h>
43470 main ()
43472 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
43474 return 0;
43476 _ACEOF
43477 if ac_fn_cxx_try_compile "$LINENO"; then :
43478 glibcxx_cv_func__long_double_trig_use=yes
43479 else
43480 glibcxx_cv_func__long_double_trig_use=no
43482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43483 ac_ext=c
43484 ac_cpp='$CPP $CPPFLAGS'
43485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
43492 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
43493 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
43494 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
43495 do :
43496 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43497 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43498 eval as_val=\$$as_ac_var
43499 if test "x$as_val" = x""yes; then :
43500 cat >>confdefs.h <<_ACEOF
43501 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43502 _ACEOF
43505 done
43514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
43515 $as_echo_n "checking for long double round functions... " >&6; }
43516 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
43517 $as_echo_n "(cached) " >&6
43518 else
43521 ac_ext=cpp
43522 ac_cpp='$CXXCPP $CPPFLAGS'
43523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43528 /* end confdefs.h. */
43529 #include <math.h>
43531 main ()
43533 ceill (0); floorl (0);
43535 return 0;
43537 _ACEOF
43538 if ac_fn_cxx_try_compile "$LINENO"; then :
43539 glibcxx_cv_func_long_double_round_use=yes
43540 else
43541 glibcxx_cv_func_long_double_round_use=no
43543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43544 ac_ext=c
43545 ac_cpp='$CPP $CPPFLAGS'
43546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
43553 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
43554 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
43555 for ac_func in ceill floorl
43556 do :
43557 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43558 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43559 eval as_val=\$$as_ac_var
43560 if test "x$as_val" = x""yes; then :
43561 cat >>confdefs.h <<_ACEOF
43562 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43563 _ACEOF
43566 done
43568 else
43569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
43570 $as_echo_n "checking for _long double round functions... " >&6; }
43571 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
43572 $as_echo_n "(cached) " >&6
43573 else
43576 ac_ext=cpp
43577 ac_cpp='$CXXCPP $CPPFLAGS'
43578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43583 /* end confdefs.h. */
43584 #include <math.h>
43586 main ()
43588 _ceill (0); _floorl (0);
43590 return 0;
43592 _ACEOF
43593 if ac_fn_cxx_try_compile "$LINENO"; then :
43594 glibcxx_cv_func__long_double_round_use=yes
43595 else
43596 glibcxx_cv_func__long_double_round_use=no
43598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43599 ac_ext=c
43600 ac_cpp='$CPP $CPPFLAGS'
43601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
43608 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
43609 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
43610 for ac_func in _ceill _floorl
43611 do :
43612 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43613 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43614 eval as_val=\$$as_ac_var
43615 if test "x$as_val" = x""yes; then :
43616 cat >>confdefs.h <<_ACEOF
43617 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43618 _ACEOF
43621 done
43631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
43632 $as_echo_n "checking for isnanl declaration... " >&6; }
43633 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
43634 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
43635 $as_echo_n "(cached) " >&6
43636 else
43639 ac_ext=cpp
43640 ac_cpp='$CXXCPP $CPPFLAGS'
43641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43646 /* end confdefs.h. */
43647 #include <math.h>
43648 #ifdef HAVE_IEEEFP_H
43649 #include <ieeefp.h>
43650 #endif
43653 main ()
43655 isnanl(0);
43657 return 0;
43659 _ACEOF
43660 if ac_fn_cxx_try_compile "$LINENO"; then :
43661 glibcxx_cv_func_isnanl_use=yes
43662 else
43663 glibcxx_cv_func_isnanl_use=no
43665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43666 ac_ext=c
43667 ac_cpp='$CPP $CPPFLAGS'
43668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
43677 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
43679 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
43680 for ac_func in isnanl
43681 do :
43682 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
43683 if test "x$ac_cv_func_isnanl" = x""yes; then :
43684 cat >>confdefs.h <<_ACEOF
43685 #define HAVE_ISNANL 1
43686 _ACEOF
43689 done
43691 else
43693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
43694 $as_echo_n "checking for _isnanl declaration... " >&6; }
43695 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
43696 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
43697 $as_echo_n "(cached) " >&6
43698 else
43701 ac_ext=cpp
43702 ac_cpp='$CXXCPP $CPPFLAGS'
43703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43708 /* end confdefs.h. */
43709 #include <math.h>
43710 #ifdef HAVE_IEEEFP_H
43711 #include <ieeefp.h>
43712 #endif
43715 main ()
43717 _isnanl(0);
43719 return 0;
43721 _ACEOF
43722 if ac_fn_cxx_try_compile "$LINENO"; then :
43723 glibcxx_cv_func__isnanl_use=yes
43724 else
43725 glibcxx_cv_func__isnanl_use=no
43727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43728 ac_ext=c
43729 ac_cpp='$CPP $CPPFLAGS'
43730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
43739 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
43741 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
43742 for ac_func in _isnanl
43743 do :
43744 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
43745 if test "x$ac_cv_func__isnanl" = x""yes; then :
43746 cat >>confdefs.h <<_ACEOF
43747 #define HAVE__ISNANL 1
43748 _ACEOF
43751 done
43760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
43761 $as_echo_n "checking for isinfl declaration... " >&6; }
43762 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
43763 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
43764 $as_echo_n "(cached) " >&6
43765 else
43768 ac_ext=cpp
43769 ac_cpp='$CXXCPP $CPPFLAGS'
43770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43775 /* end confdefs.h. */
43776 #include <math.h>
43777 #ifdef HAVE_IEEEFP_H
43778 #include <ieeefp.h>
43779 #endif
43782 main ()
43784 isinfl(0);
43786 return 0;
43788 _ACEOF
43789 if ac_fn_cxx_try_compile "$LINENO"; then :
43790 glibcxx_cv_func_isinfl_use=yes
43791 else
43792 glibcxx_cv_func_isinfl_use=no
43794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43795 ac_ext=c
43796 ac_cpp='$CPP $CPPFLAGS'
43797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
43806 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
43808 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
43809 for ac_func in isinfl
43810 do :
43811 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
43812 if test "x$ac_cv_func_isinfl" = x""yes; then :
43813 cat >>confdefs.h <<_ACEOF
43814 #define HAVE_ISINFL 1
43815 _ACEOF
43818 done
43820 else
43822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
43823 $as_echo_n "checking for _isinfl declaration... " >&6; }
43824 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
43825 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
43826 $as_echo_n "(cached) " >&6
43827 else
43830 ac_ext=cpp
43831 ac_cpp='$CXXCPP $CPPFLAGS'
43832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43837 /* end confdefs.h. */
43838 #include <math.h>
43839 #ifdef HAVE_IEEEFP_H
43840 #include <ieeefp.h>
43841 #endif
43844 main ()
43846 _isinfl(0);
43848 return 0;
43850 _ACEOF
43851 if ac_fn_cxx_try_compile "$LINENO"; then :
43852 glibcxx_cv_func__isinfl_use=yes
43853 else
43854 glibcxx_cv_func__isinfl_use=no
43856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43857 ac_ext=c
43858 ac_cpp='$CPP $CPPFLAGS'
43859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
43868 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
43870 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
43871 for ac_func in _isinfl
43872 do :
43873 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
43874 if test "x$ac_cv_func__isinfl" = x""yes; then :
43875 cat >>confdefs.h <<_ACEOF
43876 #define HAVE__ISINFL 1
43877 _ACEOF
43880 done
43889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
43890 $as_echo_n "checking for atan2l declaration... " >&6; }
43891 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
43892 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
43893 $as_echo_n "(cached) " >&6
43894 else
43897 ac_ext=cpp
43898 ac_cpp='$CXXCPP $CPPFLAGS'
43899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43904 /* end confdefs.h. */
43905 #include <math.h>
43907 main ()
43909 atan2l(0, 0);
43911 return 0;
43913 _ACEOF
43914 if ac_fn_cxx_try_compile "$LINENO"; then :
43915 glibcxx_cv_func_atan2l_use=yes
43916 else
43917 glibcxx_cv_func_atan2l_use=no
43919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43920 ac_ext=c
43921 ac_cpp='$CPP $CPPFLAGS'
43922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
43931 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
43933 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
43934 for ac_func in atan2l
43935 do :
43936 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
43937 if test "x$ac_cv_func_atan2l" = x""yes; then :
43938 cat >>confdefs.h <<_ACEOF
43939 #define HAVE_ATAN2L 1
43940 _ACEOF
43943 done
43945 else
43947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
43948 $as_echo_n "checking for _atan2l declaration... " >&6; }
43949 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
43950 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
43951 $as_echo_n "(cached) " >&6
43952 else
43955 ac_ext=cpp
43956 ac_cpp='$CXXCPP $CPPFLAGS'
43957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43962 /* end confdefs.h. */
43963 #include <math.h>
43965 main ()
43967 _atan2l(0, 0);
43969 return 0;
43971 _ACEOF
43972 if ac_fn_cxx_try_compile "$LINENO"; then :
43973 glibcxx_cv_func__atan2l_use=yes
43974 else
43975 glibcxx_cv_func__atan2l_use=no
43977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43978 ac_ext=c
43979 ac_cpp='$CPP $CPPFLAGS'
43980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
43989 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
43991 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
43992 for ac_func in _atan2l
43993 do :
43994 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
43995 if test "x$ac_cv_func__atan2l" = x""yes; then :
43996 cat >>confdefs.h <<_ACEOF
43997 #define HAVE__ATAN2L 1
43998 _ACEOF
44001 done
44010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
44011 $as_echo_n "checking for expl declaration... " >&6; }
44012 if test x${glibcxx_cv_func_expl_use+set} != xset; then
44013 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
44014 $as_echo_n "(cached) " >&6
44015 else
44018 ac_ext=cpp
44019 ac_cpp='$CXXCPP $CPPFLAGS'
44020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44025 /* end confdefs.h. */
44026 #include <math.h>
44027 #ifdef HAVE_IEEEFP_H
44028 #include <ieeefp.h>
44029 #endif
44032 main ()
44034 expl(0);
44036 return 0;
44038 _ACEOF
44039 if ac_fn_cxx_try_compile "$LINENO"; then :
44040 glibcxx_cv_func_expl_use=yes
44041 else
44042 glibcxx_cv_func_expl_use=no
44044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44045 ac_ext=c
44046 ac_cpp='$CPP $CPPFLAGS'
44047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
44056 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
44058 if test x$glibcxx_cv_func_expl_use = x"yes"; then
44059 for ac_func in expl
44060 do :
44061 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
44062 if test "x$ac_cv_func_expl" = x""yes; then :
44063 cat >>confdefs.h <<_ACEOF
44064 #define HAVE_EXPL 1
44065 _ACEOF
44068 done
44070 else
44072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
44073 $as_echo_n "checking for _expl declaration... " >&6; }
44074 if test x${glibcxx_cv_func__expl_use+set} != xset; then
44075 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
44076 $as_echo_n "(cached) " >&6
44077 else
44080 ac_ext=cpp
44081 ac_cpp='$CXXCPP $CPPFLAGS'
44082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44087 /* end confdefs.h. */
44088 #include <math.h>
44089 #ifdef HAVE_IEEEFP_H
44090 #include <ieeefp.h>
44091 #endif
44094 main ()
44096 _expl(0);
44098 return 0;
44100 _ACEOF
44101 if ac_fn_cxx_try_compile "$LINENO"; then :
44102 glibcxx_cv_func__expl_use=yes
44103 else
44104 glibcxx_cv_func__expl_use=no
44106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44107 ac_ext=c
44108 ac_cpp='$CPP $CPPFLAGS'
44109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
44118 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
44120 if test x$glibcxx_cv_func__expl_use = x"yes"; then
44121 for ac_func in _expl
44122 do :
44123 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
44124 if test "x$ac_cv_func__expl" = x""yes; then :
44125 cat >>confdefs.h <<_ACEOF
44126 #define HAVE__EXPL 1
44127 _ACEOF
44130 done
44139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
44140 $as_echo_n "checking for fabsl declaration... " >&6; }
44141 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
44142 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
44143 $as_echo_n "(cached) " >&6
44144 else
44147 ac_ext=cpp
44148 ac_cpp='$CXXCPP $CPPFLAGS'
44149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44154 /* end confdefs.h. */
44155 #include <math.h>
44156 #ifdef HAVE_IEEEFP_H
44157 #include <ieeefp.h>
44158 #endif
44161 main ()
44163 fabsl(0);
44165 return 0;
44167 _ACEOF
44168 if ac_fn_cxx_try_compile "$LINENO"; then :
44169 glibcxx_cv_func_fabsl_use=yes
44170 else
44171 glibcxx_cv_func_fabsl_use=no
44173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44174 ac_ext=c
44175 ac_cpp='$CPP $CPPFLAGS'
44176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
44185 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
44187 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
44188 for ac_func in fabsl
44189 do :
44190 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
44191 if test "x$ac_cv_func_fabsl" = x""yes; then :
44192 cat >>confdefs.h <<_ACEOF
44193 #define HAVE_FABSL 1
44194 _ACEOF
44197 done
44199 else
44201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
44202 $as_echo_n "checking for _fabsl declaration... " >&6; }
44203 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
44204 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
44205 $as_echo_n "(cached) " >&6
44206 else
44209 ac_ext=cpp
44210 ac_cpp='$CXXCPP $CPPFLAGS'
44211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44216 /* end confdefs.h. */
44217 #include <math.h>
44218 #ifdef HAVE_IEEEFP_H
44219 #include <ieeefp.h>
44220 #endif
44223 main ()
44225 _fabsl(0);
44227 return 0;
44229 _ACEOF
44230 if ac_fn_cxx_try_compile "$LINENO"; then :
44231 glibcxx_cv_func__fabsl_use=yes
44232 else
44233 glibcxx_cv_func__fabsl_use=no
44235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44236 ac_ext=c
44237 ac_cpp='$CPP $CPPFLAGS'
44238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
44247 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
44249 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
44250 for ac_func in _fabsl
44251 do :
44252 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
44253 if test "x$ac_cv_func__fabsl" = x""yes; then :
44254 cat >>confdefs.h <<_ACEOF
44255 #define HAVE__FABSL 1
44256 _ACEOF
44259 done
44268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
44269 $as_echo_n "checking for fmodl declaration... " >&6; }
44270 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
44271 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
44272 $as_echo_n "(cached) " >&6
44273 else
44276 ac_ext=cpp
44277 ac_cpp='$CXXCPP $CPPFLAGS'
44278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44283 /* end confdefs.h. */
44284 #include <math.h>
44286 main ()
44288 fmodl(0, 0);
44290 return 0;
44292 _ACEOF
44293 if ac_fn_cxx_try_compile "$LINENO"; then :
44294 glibcxx_cv_func_fmodl_use=yes
44295 else
44296 glibcxx_cv_func_fmodl_use=no
44298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44299 ac_ext=c
44300 ac_cpp='$CPP $CPPFLAGS'
44301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
44310 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
44312 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
44313 for ac_func in fmodl
44314 do :
44315 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
44316 if test "x$ac_cv_func_fmodl" = x""yes; then :
44317 cat >>confdefs.h <<_ACEOF
44318 #define HAVE_FMODL 1
44319 _ACEOF
44322 done
44324 else
44326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
44327 $as_echo_n "checking for _fmodl declaration... " >&6; }
44328 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
44329 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
44330 $as_echo_n "(cached) " >&6
44331 else
44334 ac_ext=cpp
44335 ac_cpp='$CXXCPP $CPPFLAGS'
44336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44341 /* end confdefs.h. */
44342 #include <math.h>
44344 main ()
44346 _fmodl(0, 0);
44348 return 0;
44350 _ACEOF
44351 if ac_fn_cxx_try_compile "$LINENO"; then :
44352 glibcxx_cv_func__fmodl_use=yes
44353 else
44354 glibcxx_cv_func__fmodl_use=no
44356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44357 ac_ext=c
44358 ac_cpp='$CPP $CPPFLAGS'
44359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
44368 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
44370 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
44371 for ac_func in _fmodl
44372 do :
44373 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
44374 if test "x$ac_cv_func__fmodl" = x""yes; then :
44375 cat >>confdefs.h <<_ACEOF
44376 #define HAVE__FMODL 1
44377 _ACEOF
44380 done
44389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
44390 $as_echo_n "checking for frexpl declaration... " >&6; }
44391 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
44392 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
44393 $as_echo_n "(cached) " >&6
44394 else
44397 ac_ext=cpp
44398 ac_cpp='$CXXCPP $CPPFLAGS'
44399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44404 /* end confdefs.h. */
44405 #include <math.h>
44407 main ()
44409 frexpl(0, 0);
44411 return 0;
44413 _ACEOF
44414 if ac_fn_cxx_try_compile "$LINENO"; then :
44415 glibcxx_cv_func_frexpl_use=yes
44416 else
44417 glibcxx_cv_func_frexpl_use=no
44419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44420 ac_ext=c
44421 ac_cpp='$CPP $CPPFLAGS'
44422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
44431 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
44433 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
44434 for ac_func in frexpl
44435 do :
44436 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
44437 if test "x$ac_cv_func_frexpl" = x""yes; then :
44438 cat >>confdefs.h <<_ACEOF
44439 #define HAVE_FREXPL 1
44440 _ACEOF
44443 done
44445 else
44447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
44448 $as_echo_n "checking for _frexpl declaration... " >&6; }
44449 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
44450 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
44451 $as_echo_n "(cached) " >&6
44452 else
44455 ac_ext=cpp
44456 ac_cpp='$CXXCPP $CPPFLAGS'
44457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44462 /* end confdefs.h. */
44463 #include <math.h>
44465 main ()
44467 _frexpl(0, 0);
44469 return 0;
44471 _ACEOF
44472 if ac_fn_cxx_try_compile "$LINENO"; then :
44473 glibcxx_cv_func__frexpl_use=yes
44474 else
44475 glibcxx_cv_func__frexpl_use=no
44477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44478 ac_ext=c
44479 ac_cpp='$CPP $CPPFLAGS'
44480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
44489 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
44491 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
44492 for ac_func in _frexpl
44493 do :
44494 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
44495 if test "x$ac_cv_func__frexpl" = x""yes; then :
44496 cat >>confdefs.h <<_ACEOF
44497 #define HAVE__FREXPL 1
44498 _ACEOF
44501 done
44510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
44511 $as_echo_n "checking for hypotl declaration... " >&6; }
44512 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
44513 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
44514 $as_echo_n "(cached) " >&6
44515 else
44518 ac_ext=cpp
44519 ac_cpp='$CXXCPP $CPPFLAGS'
44520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44525 /* end confdefs.h. */
44526 #include <math.h>
44528 main ()
44530 hypotl(0, 0);
44532 return 0;
44534 _ACEOF
44535 if ac_fn_cxx_try_compile "$LINENO"; then :
44536 glibcxx_cv_func_hypotl_use=yes
44537 else
44538 glibcxx_cv_func_hypotl_use=no
44540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44541 ac_ext=c
44542 ac_cpp='$CPP $CPPFLAGS'
44543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
44552 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
44554 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
44555 for ac_func in hypotl
44556 do :
44557 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
44558 if test "x$ac_cv_func_hypotl" = x""yes; then :
44559 cat >>confdefs.h <<_ACEOF
44560 #define HAVE_HYPOTL 1
44561 _ACEOF
44564 done
44566 else
44568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
44569 $as_echo_n "checking for _hypotl declaration... " >&6; }
44570 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
44571 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
44572 $as_echo_n "(cached) " >&6
44573 else
44576 ac_ext=cpp
44577 ac_cpp='$CXXCPP $CPPFLAGS'
44578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44583 /* end confdefs.h. */
44584 #include <math.h>
44586 main ()
44588 _hypotl(0, 0);
44590 return 0;
44592 _ACEOF
44593 if ac_fn_cxx_try_compile "$LINENO"; then :
44594 glibcxx_cv_func__hypotl_use=yes
44595 else
44596 glibcxx_cv_func__hypotl_use=no
44598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44599 ac_ext=c
44600 ac_cpp='$CPP $CPPFLAGS'
44601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
44610 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
44612 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
44613 for ac_func in _hypotl
44614 do :
44615 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
44616 if test "x$ac_cv_func__hypotl" = x""yes; then :
44617 cat >>confdefs.h <<_ACEOF
44618 #define HAVE__HYPOTL 1
44619 _ACEOF
44622 done
44631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
44632 $as_echo_n "checking for ldexpl declaration... " >&6; }
44633 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
44634 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
44635 $as_echo_n "(cached) " >&6
44636 else
44639 ac_ext=cpp
44640 ac_cpp='$CXXCPP $CPPFLAGS'
44641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44646 /* end confdefs.h. */
44647 #include <math.h>
44649 main ()
44651 ldexpl(0, 0);
44653 return 0;
44655 _ACEOF
44656 if ac_fn_cxx_try_compile "$LINENO"; then :
44657 glibcxx_cv_func_ldexpl_use=yes
44658 else
44659 glibcxx_cv_func_ldexpl_use=no
44661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44662 ac_ext=c
44663 ac_cpp='$CPP $CPPFLAGS'
44664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
44673 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
44675 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
44676 for ac_func in ldexpl
44677 do :
44678 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
44679 if test "x$ac_cv_func_ldexpl" = x""yes; then :
44680 cat >>confdefs.h <<_ACEOF
44681 #define HAVE_LDEXPL 1
44682 _ACEOF
44685 done
44687 else
44689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
44690 $as_echo_n "checking for _ldexpl declaration... " >&6; }
44691 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
44692 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
44693 $as_echo_n "(cached) " >&6
44694 else
44697 ac_ext=cpp
44698 ac_cpp='$CXXCPP $CPPFLAGS'
44699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44704 /* end confdefs.h. */
44705 #include <math.h>
44707 main ()
44709 _ldexpl(0, 0);
44711 return 0;
44713 _ACEOF
44714 if ac_fn_cxx_try_compile "$LINENO"; then :
44715 glibcxx_cv_func__ldexpl_use=yes
44716 else
44717 glibcxx_cv_func__ldexpl_use=no
44719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44720 ac_ext=c
44721 ac_cpp='$CPP $CPPFLAGS'
44722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
44731 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
44733 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
44734 for ac_func in _ldexpl
44735 do :
44736 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
44737 if test "x$ac_cv_func__ldexpl" = x""yes; then :
44738 cat >>confdefs.h <<_ACEOF
44739 #define HAVE__LDEXPL 1
44740 _ACEOF
44743 done
44752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
44753 $as_echo_n "checking for logl declaration... " >&6; }
44754 if test x${glibcxx_cv_func_logl_use+set} != xset; then
44755 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
44756 $as_echo_n "(cached) " >&6
44757 else
44760 ac_ext=cpp
44761 ac_cpp='$CXXCPP $CPPFLAGS'
44762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44767 /* end confdefs.h. */
44768 #include <math.h>
44769 #ifdef HAVE_IEEEFP_H
44770 #include <ieeefp.h>
44771 #endif
44774 main ()
44776 logl(0);
44778 return 0;
44780 _ACEOF
44781 if ac_fn_cxx_try_compile "$LINENO"; then :
44782 glibcxx_cv_func_logl_use=yes
44783 else
44784 glibcxx_cv_func_logl_use=no
44786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44787 ac_ext=c
44788 ac_cpp='$CPP $CPPFLAGS'
44789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
44798 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
44800 if test x$glibcxx_cv_func_logl_use = x"yes"; then
44801 for ac_func in logl
44802 do :
44803 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
44804 if test "x$ac_cv_func_logl" = x""yes; then :
44805 cat >>confdefs.h <<_ACEOF
44806 #define HAVE_LOGL 1
44807 _ACEOF
44810 done
44812 else
44814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
44815 $as_echo_n "checking for _logl declaration... " >&6; }
44816 if test x${glibcxx_cv_func__logl_use+set} != xset; then
44817 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
44818 $as_echo_n "(cached) " >&6
44819 else
44822 ac_ext=cpp
44823 ac_cpp='$CXXCPP $CPPFLAGS'
44824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44829 /* end confdefs.h. */
44830 #include <math.h>
44831 #ifdef HAVE_IEEEFP_H
44832 #include <ieeefp.h>
44833 #endif
44836 main ()
44838 _logl(0);
44840 return 0;
44842 _ACEOF
44843 if ac_fn_cxx_try_compile "$LINENO"; then :
44844 glibcxx_cv_func__logl_use=yes
44845 else
44846 glibcxx_cv_func__logl_use=no
44848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44849 ac_ext=c
44850 ac_cpp='$CPP $CPPFLAGS'
44851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
44860 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
44862 if test x$glibcxx_cv_func__logl_use = x"yes"; then
44863 for ac_func in _logl
44864 do :
44865 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
44866 if test "x$ac_cv_func__logl" = x""yes; then :
44867 cat >>confdefs.h <<_ACEOF
44868 #define HAVE__LOGL 1
44869 _ACEOF
44872 done
44881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
44882 $as_echo_n "checking for log10l declaration... " >&6; }
44883 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
44884 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
44885 $as_echo_n "(cached) " >&6
44886 else
44889 ac_ext=cpp
44890 ac_cpp='$CXXCPP $CPPFLAGS'
44891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44896 /* end confdefs.h. */
44897 #include <math.h>
44898 #ifdef HAVE_IEEEFP_H
44899 #include <ieeefp.h>
44900 #endif
44903 main ()
44905 log10l(0);
44907 return 0;
44909 _ACEOF
44910 if ac_fn_cxx_try_compile "$LINENO"; then :
44911 glibcxx_cv_func_log10l_use=yes
44912 else
44913 glibcxx_cv_func_log10l_use=no
44915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44916 ac_ext=c
44917 ac_cpp='$CPP $CPPFLAGS'
44918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
44927 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
44929 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
44930 for ac_func in log10l
44931 do :
44932 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
44933 if test "x$ac_cv_func_log10l" = x""yes; then :
44934 cat >>confdefs.h <<_ACEOF
44935 #define HAVE_LOG10L 1
44936 _ACEOF
44939 done
44941 else
44943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
44944 $as_echo_n "checking for _log10l declaration... " >&6; }
44945 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
44946 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
44947 $as_echo_n "(cached) " >&6
44948 else
44951 ac_ext=cpp
44952 ac_cpp='$CXXCPP $CPPFLAGS'
44953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44958 /* end confdefs.h. */
44959 #include <math.h>
44960 #ifdef HAVE_IEEEFP_H
44961 #include <ieeefp.h>
44962 #endif
44965 main ()
44967 _log10l(0);
44969 return 0;
44971 _ACEOF
44972 if ac_fn_cxx_try_compile "$LINENO"; then :
44973 glibcxx_cv_func__log10l_use=yes
44974 else
44975 glibcxx_cv_func__log10l_use=no
44977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44978 ac_ext=c
44979 ac_cpp='$CPP $CPPFLAGS'
44980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
44989 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
44991 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
44992 for ac_func in _log10l
44993 do :
44994 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
44995 if test "x$ac_cv_func__log10l" = x""yes; then :
44996 cat >>confdefs.h <<_ACEOF
44997 #define HAVE__LOG10L 1
44998 _ACEOF
45001 done
45010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
45011 $as_echo_n "checking for modfl declaration... " >&6; }
45012 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
45013 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
45014 $as_echo_n "(cached) " >&6
45015 else
45018 ac_ext=cpp
45019 ac_cpp='$CXXCPP $CPPFLAGS'
45020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45025 /* end confdefs.h. */
45026 #include <math.h>
45028 main ()
45030 modfl(0, 0);
45032 return 0;
45034 _ACEOF
45035 if ac_fn_cxx_try_compile "$LINENO"; then :
45036 glibcxx_cv_func_modfl_use=yes
45037 else
45038 glibcxx_cv_func_modfl_use=no
45040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45041 ac_ext=c
45042 ac_cpp='$CPP $CPPFLAGS'
45043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
45052 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
45054 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
45055 for ac_func in modfl
45056 do :
45057 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
45058 if test "x$ac_cv_func_modfl" = x""yes; then :
45059 cat >>confdefs.h <<_ACEOF
45060 #define HAVE_MODFL 1
45061 _ACEOF
45064 done
45066 else
45068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
45069 $as_echo_n "checking for _modfl declaration... " >&6; }
45070 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
45071 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
45072 $as_echo_n "(cached) " >&6
45073 else
45076 ac_ext=cpp
45077 ac_cpp='$CXXCPP $CPPFLAGS'
45078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45083 /* end confdefs.h. */
45084 #include <math.h>
45086 main ()
45088 _modfl(0, 0);
45090 return 0;
45092 _ACEOF
45093 if ac_fn_cxx_try_compile "$LINENO"; then :
45094 glibcxx_cv_func__modfl_use=yes
45095 else
45096 glibcxx_cv_func__modfl_use=no
45098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45099 ac_ext=c
45100 ac_cpp='$CPP $CPPFLAGS'
45101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
45110 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
45112 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
45113 for ac_func in _modfl
45114 do :
45115 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
45116 if test "x$ac_cv_func__modfl" = x""yes; then :
45117 cat >>confdefs.h <<_ACEOF
45118 #define HAVE__MODFL 1
45119 _ACEOF
45122 done
45131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
45132 $as_echo_n "checking for powl declaration... " >&6; }
45133 if test x${glibcxx_cv_func_powl_use+set} != xset; then
45134 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
45135 $as_echo_n "(cached) " >&6
45136 else
45139 ac_ext=cpp
45140 ac_cpp='$CXXCPP $CPPFLAGS'
45141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45146 /* end confdefs.h. */
45147 #include <math.h>
45149 main ()
45151 powl(0, 0);
45153 return 0;
45155 _ACEOF
45156 if ac_fn_cxx_try_compile "$LINENO"; then :
45157 glibcxx_cv_func_powl_use=yes
45158 else
45159 glibcxx_cv_func_powl_use=no
45161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45162 ac_ext=c
45163 ac_cpp='$CPP $CPPFLAGS'
45164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
45173 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
45175 if test x$glibcxx_cv_func_powl_use = x"yes"; then
45176 for ac_func in powl
45177 do :
45178 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
45179 if test "x$ac_cv_func_powl" = x""yes; then :
45180 cat >>confdefs.h <<_ACEOF
45181 #define HAVE_POWL 1
45182 _ACEOF
45185 done
45187 else
45189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
45190 $as_echo_n "checking for _powl declaration... " >&6; }
45191 if test x${glibcxx_cv_func__powl_use+set} != xset; then
45192 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
45193 $as_echo_n "(cached) " >&6
45194 else
45197 ac_ext=cpp
45198 ac_cpp='$CXXCPP $CPPFLAGS'
45199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45204 /* end confdefs.h. */
45205 #include <math.h>
45207 main ()
45209 _powl(0, 0);
45211 return 0;
45213 _ACEOF
45214 if ac_fn_cxx_try_compile "$LINENO"; then :
45215 glibcxx_cv_func__powl_use=yes
45216 else
45217 glibcxx_cv_func__powl_use=no
45219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45220 ac_ext=c
45221 ac_cpp='$CPP $CPPFLAGS'
45222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
45231 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
45233 if test x$glibcxx_cv_func__powl_use = x"yes"; then
45234 for ac_func in _powl
45235 do :
45236 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
45237 if test "x$ac_cv_func__powl" = x""yes; then :
45238 cat >>confdefs.h <<_ACEOF
45239 #define HAVE__POWL 1
45240 _ACEOF
45243 done
45252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
45253 $as_echo_n "checking for sqrtl declaration... " >&6; }
45254 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
45255 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
45256 $as_echo_n "(cached) " >&6
45257 else
45260 ac_ext=cpp
45261 ac_cpp='$CXXCPP $CPPFLAGS'
45262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45267 /* end confdefs.h. */
45268 #include <math.h>
45269 #ifdef HAVE_IEEEFP_H
45270 #include <ieeefp.h>
45271 #endif
45274 main ()
45276 sqrtl(0);
45278 return 0;
45280 _ACEOF
45281 if ac_fn_cxx_try_compile "$LINENO"; then :
45282 glibcxx_cv_func_sqrtl_use=yes
45283 else
45284 glibcxx_cv_func_sqrtl_use=no
45286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45287 ac_ext=c
45288 ac_cpp='$CPP $CPPFLAGS'
45289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
45298 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
45300 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
45301 for ac_func in sqrtl
45302 do :
45303 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
45304 if test "x$ac_cv_func_sqrtl" = x""yes; then :
45305 cat >>confdefs.h <<_ACEOF
45306 #define HAVE_SQRTL 1
45307 _ACEOF
45310 done
45312 else
45314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
45315 $as_echo_n "checking for _sqrtl declaration... " >&6; }
45316 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
45317 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
45318 $as_echo_n "(cached) " >&6
45319 else
45322 ac_ext=cpp
45323 ac_cpp='$CXXCPP $CPPFLAGS'
45324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45329 /* end confdefs.h. */
45330 #include <math.h>
45331 #ifdef HAVE_IEEEFP_H
45332 #include <ieeefp.h>
45333 #endif
45336 main ()
45338 _sqrtl(0);
45340 return 0;
45342 _ACEOF
45343 if ac_fn_cxx_try_compile "$LINENO"; then :
45344 glibcxx_cv_func__sqrtl_use=yes
45345 else
45346 glibcxx_cv_func__sqrtl_use=no
45348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45349 ac_ext=c
45350 ac_cpp='$CPP $CPPFLAGS'
45351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
45360 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
45362 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
45363 for ac_func in _sqrtl
45364 do :
45365 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
45366 if test "x$ac_cv_func__sqrtl" = x""yes; then :
45367 cat >>confdefs.h <<_ACEOF
45368 #define HAVE__SQRTL 1
45369 _ACEOF
45372 done
45381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
45382 $as_echo_n "checking for sincosl declaration... " >&6; }
45383 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
45384 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
45385 $as_echo_n "(cached) " >&6
45386 else
45389 ac_ext=cpp
45390 ac_cpp='$CXXCPP $CPPFLAGS'
45391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45396 /* end confdefs.h. */
45397 #include <math.h>
45399 main ()
45401 sincosl(0, 0, 0);
45403 return 0;
45405 _ACEOF
45406 if ac_fn_cxx_try_compile "$LINENO"; then :
45407 glibcxx_cv_func_sincosl_use=yes
45408 else
45409 glibcxx_cv_func_sincosl_use=no
45411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45412 ac_ext=c
45413 ac_cpp='$CPP $CPPFLAGS'
45414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
45423 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
45425 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
45426 for ac_func in sincosl
45427 do :
45428 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
45429 if test "x$ac_cv_func_sincosl" = x""yes; then :
45430 cat >>confdefs.h <<_ACEOF
45431 #define HAVE_SINCOSL 1
45432 _ACEOF
45435 done
45437 else
45439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
45440 $as_echo_n "checking for _sincosl declaration... " >&6; }
45441 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
45442 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
45443 $as_echo_n "(cached) " >&6
45444 else
45447 ac_ext=cpp
45448 ac_cpp='$CXXCPP $CPPFLAGS'
45449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45454 /* end confdefs.h. */
45455 #include <math.h>
45457 main ()
45459 _sincosl(0, 0, 0);
45461 return 0;
45463 _ACEOF
45464 if ac_fn_cxx_try_compile "$LINENO"; then :
45465 glibcxx_cv_func__sincosl_use=yes
45466 else
45467 glibcxx_cv_func__sincosl_use=no
45469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45470 ac_ext=c
45471 ac_cpp='$CPP $CPPFLAGS'
45472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
45481 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
45483 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
45484 for ac_func in _sincosl
45485 do :
45486 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
45487 if test "x$ac_cv_func__sincosl" = x""yes; then :
45488 cat >>confdefs.h <<_ACEOF
45489 #define HAVE__SINCOSL 1
45490 _ACEOF
45493 done
45502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
45503 $as_echo_n "checking for finitel declaration... " >&6; }
45504 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
45505 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
45506 $as_echo_n "(cached) " >&6
45507 else
45510 ac_ext=cpp
45511 ac_cpp='$CXXCPP $CPPFLAGS'
45512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45517 /* end confdefs.h. */
45518 #include <math.h>
45519 #ifdef HAVE_IEEEFP_H
45520 #include <ieeefp.h>
45521 #endif
45524 main ()
45526 finitel(0);
45528 return 0;
45530 _ACEOF
45531 if ac_fn_cxx_try_compile "$LINENO"; then :
45532 glibcxx_cv_func_finitel_use=yes
45533 else
45534 glibcxx_cv_func_finitel_use=no
45536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45537 ac_ext=c
45538 ac_cpp='$CPP $CPPFLAGS'
45539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
45548 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
45550 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
45551 for ac_func in finitel
45552 do :
45553 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
45554 if test "x$ac_cv_func_finitel" = x""yes; then :
45555 cat >>confdefs.h <<_ACEOF
45556 #define HAVE_FINITEL 1
45557 _ACEOF
45560 done
45562 else
45564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
45565 $as_echo_n "checking for _finitel declaration... " >&6; }
45566 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
45567 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
45568 $as_echo_n "(cached) " >&6
45569 else
45572 ac_ext=cpp
45573 ac_cpp='$CXXCPP $CPPFLAGS'
45574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45579 /* end confdefs.h. */
45580 #include <math.h>
45581 #ifdef HAVE_IEEEFP_H
45582 #include <ieeefp.h>
45583 #endif
45586 main ()
45588 _finitel(0);
45590 return 0;
45592 _ACEOF
45593 if ac_fn_cxx_try_compile "$LINENO"; then :
45594 glibcxx_cv_func__finitel_use=yes
45595 else
45596 glibcxx_cv_func__finitel_use=no
45598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45599 ac_ext=c
45600 ac_cpp='$CPP $CPPFLAGS'
45601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
45610 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
45612 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
45613 for ac_func in _finitel
45614 do :
45615 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
45616 if test "x$ac_cv_func__finitel" = x""yes; then :
45617 cat >>confdefs.h <<_ACEOF
45618 #define HAVE__FINITEL 1
45619 _ACEOF
45622 done
45630 LIBS="$ac_save_LIBS"
45631 CXXFLAGS="$ac_save_CXXFLAGS"
45634 ac_test_CXXFLAGS="${CXXFLAGS+set}"
45635 ac_save_CXXFLAGS="$CXXFLAGS"
45636 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
45639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
45640 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
45641 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
45642 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
45643 $as_echo_n "(cached) " >&6
45644 else
45647 ac_ext=cpp
45648 ac_cpp='$CXXCPP $CPPFLAGS'
45649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45654 /* end confdefs.h. */
45655 #include <stdlib.h>
45657 main ()
45659 at_quick_exit(0);
45661 return 0;
45663 _ACEOF
45664 if ac_fn_cxx_try_compile "$LINENO"; then :
45665 glibcxx_cv_func_at_quick_exit_use=yes
45666 else
45667 glibcxx_cv_func_at_quick_exit_use=no
45669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45670 ac_ext=c
45671 ac_cpp='$CPP $CPPFLAGS'
45672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
45681 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
45682 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
45683 for ac_func in at_quick_exit
45684 do :
45685 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
45686 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
45687 cat >>confdefs.h <<_ACEOF
45688 #define HAVE_AT_QUICK_EXIT 1
45689 _ACEOF
45692 done
45697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
45698 $as_echo_n "checking for quick_exit declaration... " >&6; }
45699 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
45700 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
45701 $as_echo_n "(cached) " >&6
45702 else
45705 ac_ext=cpp
45706 ac_cpp='$CXXCPP $CPPFLAGS'
45707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45712 /* end confdefs.h. */
45713 #include <stdlib.h>
45715 main ()
45717 quick_exit(0);
45719 return 0;
45721 _ACEOF
45722 if ac_fn_cxx_try_compile "$LINENO"; then :
45723 glibcxx_cv_func_quick_exit_use=yes
45724 else
45725 glibcxx_cv_func_quick_exit_use=no
45727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45728 ac_ext=c
45729 ac_cpp='$CPP $CPPFLAGS'
45730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
45739 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
45740 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
45741 for ac_func in quick_exit
45742 do :
45743 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
45744 if test "x$ac_cv_func_quick_exit" = x""yes; then :
45745 cat >>confdefs.h <<_ACEOF
45746 #define HAVE_QUICK_EXIT 1
45747 _ACEOF
45750 done
45755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
45756 $as_echo_n "checking for strtold declaration... " >&6; }
45757 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
45758 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
45759 $as_echo_n "(cached) " >&6
45760 else
45763 ac_ext=cpp
45764 ac_cpp='$CXXCPP $CPPFLAGS'
45765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45770 /* end confdefs.h. */
45771 #include <stdlib.h>
45773 main ()
45775 strtold(0, 0);
45777 return 0;
45779 _ACEOF
45780 if ac_fn_cxx_try_compile "$LINENO"; then :
45781 glibcxx_cv_func_strtold_use=yes
45782 else
45783 glibcxx_cv_func_strtold_use=no
45785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45786 ac_ext=c
45787 ac_cpp='$CPP $CPPFLAGS'
45788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
45797 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
45798 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
45799 for ac_func in strtold
45800 do :
45801 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
45802 if test "x$ac_cv_func_strtold" = x""yes; then :
45803 cat >>confdefs.h <<_ACEOF
45804 #define HAVE_STRTOLD 1
45805 _ACEOF
45808 done
45815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
45816 $as_echo_n "checking for strtof declaration... " >&6; }
45817 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
45818 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
45819 $as_echo_n "(cached) " >&6
45820 else
45823 ac_ext=cpp
45824 ac_cpp='$CXXCPP $CPPFLAGS'
45825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45830 /* end confdefs.h. */
45831 #include <stdlib.h>
45833 main ()
45835 strtof(0, 0);
45837 return 0;
45839 _ACEOF
45840 if ac_fn_cxx_try_compile "$LINENO"; then :
45841 glibcxx_cv_func_strtof_use=yes
45842 else
45843 glibcxx_cv_func_strtof_use=no
45845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45846 ac_ext=c
45847 ac_cpp='$CPP $CPPFLAGS'
45848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
45857 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
45858 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
45859 for ac_func in strtof
45860 do :
45861 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
45862 if test "x$ac_cv_func_strtof" = x""yes; then :
45863 cat >>confdefs.h <<_ACEOF
45864 #define HAVE_STRTOF 1
45865 _ACEOF
45868 done
45875 CXXFLAGS="$ac_save_CXXFLAGS"
45877 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
45879 # We don't yet support AIX's TLS ABI.
45880 #GCC_CHECK_TLS
45886 am_save_CPPFLAGS="$CPPFLAGS"
45888 for element in $INCICONV; do
45889 haveit=
45890 for x in $CPPFLAGS; do
45892 acl_save_prefix="$prefix"
45893 prefix="$acl_final_prefix"
45894 acl_save_exec_prefix="$exec_prefix"
45895 exec_prefix="$acl_final_exec_prefix"
45896 eval x=\"$x\"
45897 exec_prefix="$acl_save_exec_prefix"
45898 prefix="$acl_save_prefix"
45900 if test "X$x" = "X$element"; then
45901 haveit=yes
45902 break
45904 done
45905 if test -z "$haveit"; then
45906 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
45908 done
45911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
45912 $as_echo_n "checking for iconv... " >&6; }
45913 if test "${am_cv_func_iconv+set}" = set; then :
45914 $as_echo_n "(cached) " >&6
45915 else
45917 am_cv_func_iconv="no, consider installing GNU libiconv"
45918 am_cv_lib_iconv=no
45919 if test x$gcc_no_link = xyes; then
45920 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45923 /* end confdefs.h. */
45924 #include <stdlib.h>
45925 #include <iconv.h>
45927 main ()
45929 iconv_t cd = iconv_open("","");
45930 iconv(cd,NULL,NULL,NULL,NULL);
45931 iconv_close(cd);
45933 return 0;
45935 _ACEOF
45936 if ac_fn_c_try_link "$LINENO"; then :
45937 am_cv_func_iconv=yes
45939 rm -f core conftest.err conftest.$ac_objext \
45940 conftest$ac_exeext conftest.$ac_ext
45941 if test "$am_cv_func_iconv" != yes; then
45942 am_save_LIBS="$LIBS"
45943 LIBS="$LIBS $LIBICONV"
45944 if test x$gcc_no_link = xyes; then
45945 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45948 /* end confdefs.h. */
45949 #include <stdlib.h>
45950 #include <iconv.h>
45952 main ()
45954 iconv_t cd = iconv_open("","");
45955 iconv(cd,NULL,NULL,NULL,NULL);
45956 iconv_close(cd);
45958 return 0;
45960 _ACEOF
45961 if ac_fn_c_try_link "$LINENO"; then :
45962 am_cv_lib_iconv=yes
45963 am_cv_func_iconv=yes
45965 rm -f core conftest.err conftest.$ac_objext \
45966 conftest$ac_exeext conftest.$ac_ext
45967 LIBS="$am_save_LIBS"
45971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
45972 $as_echo "$am_cv_func_iconv" >&6; }
45973 if test "$am_cv_func_iconv" = yes; then
45975 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
45978 if test "$am_cv_lib_iconv" = yes; then
45979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
45980 $as_echo_n "checking how to link with libiconv... " >&6; }
45981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
45982 $as_echo "$LIBICONV" >&6; }
45983 else
45984 CPPFLAGS="$am_save_CPPFLAGS"
45985 LIBICONV=
45986 LTLIBICONV=
45991 if test "$am_cv_func_iconv" = yes; then
45992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
45993 $as_echo_n "checking for iconv declaration... " >&6; }
45994 if test "${am_cv_proto_iconv+set}" = set; then :
45995 $as_echo_n "(cached) " >&6
45996 else
45998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45999 /* end confdefs.h. */
46001 #include <stdlib.h>
46002 #include <iconv.h>
46003 extern
46004 #ifdef __cplusplus
46006 #endif
46007 #if defined(__STDC__) || defined(__cplusplus)
46008 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
46009 #else
46010 size_t iconv();
46011 #endif
46014 main ()
46018 return 0;
46020 _ACEOF
46021 if ac_fn_c_try_compile "$LINENO"; then :
46022 am_cv_proto_iconv_arg1=""
46023 else
46024 am_cv_proto_iconv_arg1="const"
46026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46027 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);"
46030 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
46031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
46032 }$am_cv_proto_iconv" >&5
46033 $as_echo "${ac_t:-
46034 }$am_cv_proto_iconv" >&6; }
46036 cat >>confdefs.h <<_ACEOF
46037 #define ICONV_CONST $am_cv_proto_iconv_arg1
46038 _ACEOF
46044 *-darwin*)
46045 # Darwin versions vary, but the linker should work in a cross environment,
46046 # so we just check for all the features here.
46047 # Check for available headers.
46049 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
46051 ac_test_CXXFLAGS="${CXXFLAGS+set}"
46052 ac_save_CXXFLAGS="$CXXFLAGS"
46053 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
46055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
46056 $as_echo_n "checking for sin in -lm... " >&6; }
46057 if test "${ac_cv_lib_m_sin+set}" = set; then :
46058 $as_echo_n "(cached) " >&6
46059 else
46060 ac_check_lib_save_LIBS=$LIBS
46061 LIBS="-lm $LIBS"
46062 if test x$gcc_no_link = xyes; then
46063 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46066 /* end confdefs.h. */
46068 /* Override any GCC internal prototype to avoid an error.
46069 Use char because int might match the return type of a GCC
46070 builtin and then its argument prototype would still apply. */
46071 #ifdef __cplusplus
46072 extern "C"
46073 #endif
46074 char sin ();
46076 main ()
46078 return sin ();
46080 return 0;
46082 _ACEOF
46083 if ac_fn_c_try_link "$LINENO"; then :
46084 ac_cv_lib_m_sin=yes
46085 else
46086 ac_cv_lib_m_sin=no
46088 rm -f core conftest.err conftest.$ac_objext \
46089 conftest$ac_exeext conftest.$ac_ext
46090 LIBS=$ac_check_lib_save_LIBS
46092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
46093 $as_echo "$ac_cv_lib_m_sin" >&6; }
46094 if test "x$ac_cv_lib_m_sin" = x""yes; then :
46095 libm="-lm"
46098 ac_save_LIBS="$LIBS"
46099 LIBS="$LIBS $libm"
46103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
46104 $as_echo_n "checking for isinf declaration... " >&6; }
46105 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
46106 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
46107 $as_echo_n "(cached) " >&6
46108 else
46111 ac_ext=cpp
46112 ac_cpp='$CXXCPP $CPPFLAGS'
46113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46118 /* end confdefs.h. */
46119 #include <math.h>
46120 #ifdef HAVE_IEEEFP_H
46121 #include <ieeefp.h>
46122 #endif
46125 main ()
46127 isinf(0);
46129 return 0;
46131 _ACEOF
46132 if ac_fn_cxx_try_compile "$LINENO"; then :
46133 glibcxx_cv_func_isinf_use=yes
46134 else
46135 glibcxx_cv_func_isinf_use=no
46137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46138 ac_ext=c
46139 ac_cpp='$CPP $CPPFLAGS'
46140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
46149 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
46151 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
46152 for ac_func in isinf
46153 do :
46154 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
46155 if test "x$ac_cv_func_isinf" = x""yes; then :
46156 cat >>confdefs.h <<_ACEOF
46157 #define HAVE_ISINF 1
46158 _ACEOF
46161 done
46163 else
46165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
46166 $as_echo_n "checking for _isinf declaration... " >&6; }
46167 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
46168 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
46169 $as_echo_n "(cached) " >&6
46170 else
46173 ac_ext=cpp
46174 ac_cpp='$CXXCPP $CPPFLAGS'
46175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46180 /* end confdefs.h. */
46181 #include <math.h>
46182 #ifdef HAVE_IEEEFP_H
46183 #include <ieeefp.h>
46184 #endif
46187 main ()
46189 _isinf(0);
46191 return 0;
46193 _ACEOF
46194 if ac_fn_cxx_try_compile "$LINENO"; then :
46195 glibcxx_cv_func__isinf_use=yes
46196 else
46197 glibcxx_cv_func__isinf_use=no
46199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46200 ac_ext=c
46201 ac_cpp='$CPP $CPPFLAGS'
46202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
46211 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
46213 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
46214 for ac_func in _isinf
46215 do :
46216 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
46217 if test "x$ac_cv_func__isinf" = x""yes; then :
46218 cat >>confdefs.h <<_ACEOF
46219 #define HAVE__ISINF 1
46220 _ACEOF
46223 done
46232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
46233 $as_echo_n "checking for isnan declaration... " >&6; }
46234 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
46235 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
46236 $as_echo_n "(cached) " >&6
46237 else
46240 ac_ext=cpp
46241 ac_cpp='$CXXCPP $CPPFLAGS'
46242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46247 /* end confdefs.h. */
46248 #include <math.h>
46249 #ifdef HAVE_IEEEFP_H
46250 #include <ieeefp.h>
46251 #endif
46254 main ()
46256 isnan(0);
46258 return 0;
46260 _ACEOF
46261 if ac_fn_cxx_try_compile "$LINENO"; then :
46262 glibcxx_cv_func_isnan_use=yes
46263 else
46264 glibcxx_cv_func_isnan_use=no
46266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46267 ac_ext=c
46268 ac_cpp='$CPP $CPPFLAGS'
46269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
46278 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
46280 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
46281 for ac_func in isnan
46282 do :
46283 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
46284 if test "x$ac_cv_func_isnan" = x""yes; then :
46285 cat >>confdefs.h <<_ACEOF
46286 #define HAVE_ISNAN 1
46287 _ACEOF
46290 done
46292 else
46294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
46295 $as_echo_n "checking for _isnan declaration... " >&6; }
46296 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
46297 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
46298 $as_echo_n "(cached) " >&6
46299 else
46302 ac_ext=cpp
46303 ac_cpp='$CXXCPP $CPPFLAGS'
46304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46309 /* end confdefs.h. */
46310 #include <math.h>
46311 #ifdef HAVE_IEEEFP_H
46312 #include <ieeefp.h>
46313 #endif
46316 main ()
46318 _isnan(0);
46320 return 0;
46322 _ACEOF
46323 if ac_fn_cxx_try_compile "$LINENO"; then :
46324 glibcxx_cv_func__isnan_use=yes
46325 else
46326 glibcxx_cv_func__isnan_use=no
46328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46329 ac_ext=c
46330 ac_cpp='$CPP $CPPFLAGS'
46331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
46340 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
46342 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
46343 for ac_func in _isnan
46344 do :
46345 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
46346 if test "x$ac_cv_func__isnan" = x""yes; then :
46347 cat >>confdefs.h <<_ACEOF
46348 #define HAVE__ISNAN 1
46349 _ACEOF
46352 done
46361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
46362 $as_echo_n "checking for finite declaration... " >&6; }
46363 if test x${glibcxx_cv_func_finite_use+set} != xset; then
46364 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
46365 $as_echo_n "(cached) " >&6
46366 else
46369 ac_ext=cpp
46370 ac_cpp='$CXXCPP $CPPFLAGS'
46371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46376 /* end confdefs.h. */
46377 #include <math.h>
46378 #ifdef HAVE_IEEEFP_H
46379 #include <ieeefp.h>
46380 #endif
46383 main ()
46385 finite(0);
46387 return 0;
46389 _ACEOF
46390 if ac_fn_cxx_try_compile "$LINENO"; then :
46391 glibcxx_cv_func_finite_use=yes
46392 else
46393 glibcxx_cv_func_finite_use=no
46395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46396 ac_ext=c
46397 ac_cpp='$CPP $CPPFLAGS'
46398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
46407 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
46409 if test x$glibcxx_cv_func_finite_use = x"yes"; then
46410 for ac_func in finite
46411 do :
46412 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
46413 if test "x$ac_cv_func_finite" = x""yes; then :
46414 cat >>confdefs.h <<_ACEOF
46415 #define HAVE_FINITE 1
46416 _ACEOF
46419 done
46421 else
46423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
46424 $as_echo_n "checking for _finite declaration... " >&6; }
46425 if test x${glibcxx_cv_func__finite_use+set} != xset; then
46426 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
46427 $as_echo_n "(cached) " >&6
46428 else
46431 ac_ext=cpp
46432 ac_cpp='$CXXCPP $CPPFLAGS'
46433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46438 /* end confdefs.h. */
46439 #include <math.h>
46440 #ifdef HAVE_IEEEFP_H
46441 #include <ieeefp.h>
46442 #endif
46445 main ()
46447 _finite(0);
46449 return 0;
46451 _ACEOF
46452 if ac_fn_cxx_try_compile "$LINENO"; then :
46453 glibcxx_cv_func__finite_use=yes
46454 else
46455 glibcxx_cv_func__finite_use=no
46457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46458 ac_ext=c
46459 ac_cpp='$CPP $CPPFLAGS'
46460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
46469 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
46471 if test x$glibcxx_cv_func__finite_use = x"yes"; then
46472 for ac_func in _finite
46473 do :
46474 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
46475 if test "x$ac_cv_func__finite" = x""yes; then :
46476 cat >>confdefs.h <<_ACEOF
46477 #define HAVE__FINITE 1
46478 _ACEOF
46481 done
46490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
46491 $as_echo_n "checking for sincos declaration... " >&6; }
46492 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
46493 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
46494 $as_echo_n "(cached) " >&6
46495 else
46498 ac_ext=cpp
46499 ac_cpp='$CXXCPP $CPPFLAGS'
46500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46505 /* end confdefs.h. */
46506 #include <math.h>
46508 main ()
46510 sincos(0, 0, 0);
46512 return 0;
46514 _ACEOF
46515 if ac_fn_cxx_try_compile "$LINENO"; then :
46516 glibcxx_cv_func_sincos_use=yes
46517 else
46518 glibcxx_cv_func_sincos_use=no
46520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46521 ac_ext=c
46522 ac_cpp='$CPP $CPPFLAGS'
46523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
46532 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
46534 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
46535 for ac_func in sincos
46536 do :
46537 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
46538 if test "x$ac_cv_func_sincos" = x""yes; then :
46539 cat >>confdefs.h <<_ACEOF
46540 #define HAVE_SINCOS 1
46541 _ACEOF
46544 done
46546 else
46548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
46549 $as_echo_n "checking for _sincos declaration... " >&6; }
46550 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
46551 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
46552 $as_echo_n "(cached) " >&6
46553 else
46556 ac_ext=cpp
46557 ac_cpp='$CXXCPP $CPPFLAGS'
46558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46563 /* end confdefs.h. */
46564 #include <math.h>
46566 main ()
46568 _sincos(0, 0, 0);
46570 return 0;
46572 _ACEOF
46573 if ac_fn_cxx_try_compile "$LINENO"; then :
46574 glibcxx_cv_func__sincos_use=yes
46575 else
46576 glibcxx_cv_func__sincos_use=no
46578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46579 ac_ext=c
46580 ac_cpp='$CPP $CPPFLAGS'
46581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
46590 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
46592 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
46593 for ac_func in _sincos
46594 do :
46595 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
46596 if test "x$ac_cv_func__sincos" = x""yes; then :
46597 cat >>confdefs.h <<_ACEOF
46598 #define HAVE__SINCOS 1
46599 _ACEOF
46602 done
46611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
46612 $as_echo_n "checking for fpclass declaration... " >&6; }
46613 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
46614 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
46615 $as_echo_n "(cached) " >&6
46616 else
46619 ac_ext=cpp
46620 ac_cpp='$CXXCPP $CPPFLAGS'
46621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46626 /* end confdefs.h. */
46627 #include <math.h>
46628 #ifdef HAVE_IEEEFP_H
46629 #include <ieeefp.h>
46630 #endif
46633 main ()
46635 fpclass(0);
46637 return 0;
46639 _ACEOF
46640 if ac_fn_cxx_try_compile "$LINENO"; then :
46641 glibcxx_cv_func_fpclass_use=yes
46642 else
46643 glibcxx_cv_func_fpclass_use=no
46645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46646 ac_ext=c
46647 ac_cpp='$CPP $CPPFLAGS'
46648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
46657 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
46659 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
46660 for ac_func in fpclass
46661 do :
46662 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
46663 if test "x$ac_cv_func_fpclass" = x""yes; then :
46664 cat >>confdefs.h <<_ACEOF
46665 #define HAVE_FPCLASS 1
46666 _ACEOF
46669 done
46671 else
46673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
46674 $as_echo_n "checking for _fpclass declaration... " >&6; }
46675 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
46676 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
46677 $as_echo_n "(cached) " >&6
46678 else
46681 ac_ext=cpp
46682 ac_cpp='$CXXCPP $CPPFLAGS'
46683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46688 /* end confdefs.h. */
46689 #include <math.h>
46690 #ifdef HAVE_IEEEFP_H
46691 #include <ieeefp.h>
46692 #endif
46695 main ()
46697 _fpclass(0);
46699 return 0;
46701 _ACEOF
46702 if ac_fn_cxx_try_compile "$LINENO"; then :
46703 glibcxx_cv_func__fpclass_use=yes
46704 else
46705 glibcxx_cv_func__fpclass_use=no
46707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46708 ac_ext=c
46709 ac_cpp='$CPP $CPPFLAGS'
46710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
46719 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
46721 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
46722 for ac_func in _fpclass
46723 do :
46724 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
46725 if test "x$ac_cv_func__fpclass" = x""yes; then :
46726 cat >>confdefs.h <<_ACEOF
46727 #define HAVE__FPCLASS 1
46728 _ACEOF
46731 done
46740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
46741 $as_echo_n "checking for qfpclass declaration... " >&6; }
46742 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
46743 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
46744 $as_echo_n "(cached) " >&6
46745 else
46748 ac_ext=cpp
46749 ac_cpp='$CXXCPP $CPPFLAGS'
46750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46755 /* end confdefs.h. */
46756 #include <math.h>
46757 #ifdef HAVE_IEEEFP_H
46758 #include <ieeefp.h>
46759 #endif
46762 main ()
46764 qfpclass(0);
46766 return 0;
46768 _ACEOF
46769 if ac_fn_cxx_try_compile "$LINENO"; then :
46770 glibcxx_cv_func_qfpclass_use=yes
46771 else
46772 glibcxx_cv_func_qfpclass_use=no
46774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46775 ac_ext=c
46776 ac_cpp='$CPP $CPPFLAGS'
46777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
46786 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
46788 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
46789 for ac_func in qfpclass
46790 do :
46791 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
46792 if test "x$ac_cv_func_qfpclass" = x""yes; then :
46793 cat >>confdefs.h <<_ACEOF
46794 #define HAVE_QFPCLASS 1
46795 _ACEOF
46798 done
46800 else
46802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
46803 $as_echo_n "checking for _qfpclass declaration... " >&6; }
46804 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
46805 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
46806 $as_echo_n "(cached) " >&6
46807 else
46810 ac_ext=cpp
46811 ac_cpp='$CXXCPP $CPPFLAGS'
46812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46817 /* end confdefs.h. */
46818 #include <math.h>
46819 #ifdef HAVE_IEEEFP_H
46820 #include <ieeefp.h>
46821 #endif
46824 main ()
46826 _qfpclass(0);
46828 return 0;
46830 _ACEOF
46831 if ac_fn_cxx_try_compile "$LINENO"; then :
46832 glibcxx_cv_func__qfpclass_use=yes
46833 else
46834 glibcxx_cv_func__qfpclass_use=no
46836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46837 ac_ext=c
46838 ac_cpp='$CPP $CPPFLAGS'
46839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
46848 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
46850 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
46851 for ac_func in _qfpclass
46852 do :
46853 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
46854 if test "x$ac_cv_func__qfpclass" = x""yes; then :
46855 cat >>confdefs.h <<_ACEOF
46856 #define HAVE__QFPCLASS 1
46857 _ACEOF
46860 done
46869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
46870 $as_echo_n "checking for hypot declaration... " >&6; }
46871 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
46872 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
46873 $as_echo_n "(cached) " >&6
46874 else
46877 ac_ext=cpp
46878 ac_cpp='$CXXCPP $CPPFLAGS'
46879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46884 /* end confdefs.h. */
46885 #include <math.h>
46887 main ()
46889 hypot(0, 0);
46891 return 0;
46893 _ACEOF
46894 if ac_fn_cxx_try_compile "$LINENO"; then :
46895 glibcxx_cv_func_hypot_use=yes
46896 else
46897 glibcxx_cv_func_hypot_use=no
46899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46900 ac_ext=c
46901 ac_cpp='$CPP $CPPFLAGS'
46902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
46911 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
46913 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
46914 for ac_func in hypot
46915 do :
46916 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
46917 if test "x$ac_cv_func_hypot" = x""yes; then :
46918 cat >>confdefs.h <<_ACEOF
46919 #define HAVE_HYPOT 1
46920 _ACEOF
46923 done
46925 else
46927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
46928 $as_echo_n "checking for _hypot declaration... " >&6; }
46929 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
46930 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
46931 $as_echo_n "(cached) " >&6
46932 else
46935 ac_ext=cpp
46936 ac_cpp='$CXXCPP $CPPFLAGS'
46937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46942 /* end confdefs.h. */
46943 #include <math.h>
46945 main ()
46947 _hypot(0, 0);
46949 return 0;
46951 _ACEOF
46952 if ac_fn_cxx_try_compile "$LINENO"; then :
46953 glibcxx_cv_func__hypot_use=yes
46954 else
46955 glibcxx_cv_func__hypot_use=no
46957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46958 ac_ext=c
46959 ac_cpp='$CPP $CPPFLAGS'
46960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
46969 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
46971 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
46972 for ac_func in _hypot
46973 do :
46974 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
46975 if test "x$ac_cv_func__hypot" = x""yes; then :
46976 cat >>confdefs.h <<_ACEOF
46977 #define HAVE__HYPOT 1
46978 _ACEOF
46981 done
46990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
46991 $as_echo_n "checking for float trig functions... " >&6; }
46992 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
46993 $as_echo_n "(cached) " >&6
46994 else
46997 ac_ext=cpp
46998 ac_cpp='$CXXCPP $CPPFLAGS'
46999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47004 /* end confdefs.h. */
47005 #include <math.h>
47007 main ()
47009 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
47011 return 0;
47013 _ACEOF
47014 if ac_fn_cxx_try_compile "$LINENO"; then :
47015 glibcxx_cv_func_float_trig_use=yes
47016 else
47017 glibcxx_cv_func_float_trig_use=no
47019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47020 ac_ext=c
47021 ac_cpp='$CPP $CPPFLAGS'
47022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
47029 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
47030 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
47031 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
47032 do :
47033 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47034 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47035 eval as_val=\$$as_ac_var
47036 if test "x$as_val" = x""yes; then :
47037 cat >>confdefs.h <<_ACEOF
47038 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47039 _ACEOF
47042 done
47044 else
47045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
47046 $as_echo_n "checking for _float trig functions... " >&6; }
47047 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
47048 $as_echo_n "(cached) " >&6
47049 else
47052 ac_ext=cpp
47053 ac_cpp='$CXXCPP $CPPFLAGS'
47054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47059 /* end confdefs.h. */
47060 #include <math.h>
47062 main ()
47064 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
47066 return 0;
47068 _ACEOF
47069 if ac_fn_cxx_try_compile "$LINENO"; then :
47070 glibcxx_cv_func__float_trig_use=yes
47071 else
47072 glibcxx_cv_func__float_trig_use=no
47074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47075 ac_ext=c
47076 ac_cpp='$CPP $CPPFLAGS'
47077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
47084 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
47085 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
47086 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
47087 do :
47088 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47089 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47090 eval as_val=\$$as_ac_var
47091 if test "x$as_val" = x""yes; then :
47092 cat >>confdefs.h <<_ACEOF
47093 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47094 _ACEOF
47097 done
47106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
47107 $as_echo_n "checking for float round functions... " >&6; }
47108 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
47109 $as_echo_n "(cached) " >&6
47110 else
47113 ac_ext=cpp
47114 ac_cpp='$CXXCPP $CPPFLAGS'
47115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47120 /* end confdefs.h. */
47121 #include <math.h>
47123 main ()
47125 ceilf (0); floorf (0);
47127 return 0;
47129 _ACEOF
47130 if ac_fn_cxx_try_compile "$LINENO"; then :
47131 glibcxx_cv_func_float_round_use=yes
47132 else
47133 glibcxx_cv_func_float_round_use=no
47135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47136 ac_ext=c
47137 ac_cpp='$CPP $CPPFLAGS'
47138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
47145 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
47146 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
47147 for ac_func in ceilf floorf
47148 do :
47149 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47150 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47151 eval as_val=\$$as_ac_var
47152 if test "x$as_val" = x""yes; then :
47153 cat >>confdefs.h <<_ACEOF
47154 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47155 _ACEOF
47158 done
47160 else
47161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
47162 $as_echo_n "checking for _float round functions... " >&6; }
47163 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
47164 $as_echo_n "(cached) " >&6
47165 else
47168 ac_ext=cpp
47169 ac_cpp='$CXXCPP $CPPFLAGS'
47170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47175 /* end confdefs.h. */
47176 #include <math.h>
47178 main ()
47180 _ceilf (0); _floorf (0);
47182 return 0;
47184 _ACEOF
47185 if ac_fn_cxx_try_compile "$LINENO"; then :
47186 glibcxx_cv_func__float_round_use=yes
47187 else
47188 glibcxx_cv_func__float_round_use=no
47190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47191 ac_ext=c
47192 ac_cpp='$CPP $CPPFLAGS'
47193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
47200 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
47201 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
47202 for ac_func in _ceilf _floorf
47203 do :
47204 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47205 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47206 eval as_val=\$$as_ac_var
47207 if test "x$as_val" = x""yes; then :
47208 cat >>confdefs.h <<_ACEOF
47209 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47210 _ACEOF
47213 done
47223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
47224 $as_echo_n "checking for expf declaration... " >&6; }
47225 if test x${glibcxx_cv_func_expf_use+set} != xset; then
47226 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
47227 $as_echo_n "(cached) " >&6
47228 else
47231 ac_ext=cpp
47232 ac_cpp='$CXXCPP $CPPFLAGS'
47233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47238 /* end confdefs.h. */
47239 #include <math.h>
47240 #ifdef HAVE_IEEEFP_H
47241 #include <ieeefp.h>
47242 #endif
47245 main ()
47247 expf(0);
47249 return 0;
47251 _ACEOF
47252 if ac_fn_cxx_try_compile "$LINENO"; then :
47253 glibcxx_cv_func_expf_use=yes
47254 else
47255 glibcxx_cv_func_expf_use=no
47257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47258 ac_ext=c
47259 ac_cpp='$CPP $CPPFLAGS'
47260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
47269 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
47271 if test x$glibcxx_cv_func_expf_use = x"yes"; then
47272 for ac_func in expf
47273 do :
47274 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
47275 if test "x$ac_cv_func_expf" = x""yes; then :
47276 cat >>confdefs.h <<_ACEOF
47277 #define HAVE_EXPF 1
47278 _ACEOF
47281 done
47283 else
47285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
47286 $as_echo_n "checking for _expf declaration... " >&6; }
47287 if test x${glibcxx_cv_func__expf_use+set} != xset; then
47288 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
47289 $as_echo_n "(cached) " >&6
47290 else
47293 ac_ext=cpp
47294 ac_cpp='$CXXCPP $CPPFLAGS'
47295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47300 /* end confdefs.h. */
47301 #include <math.h>
47302 #ifdef HAVE_IEEEFP_H
47303 #include <ieeefp.h>
47304 #endif
47307 main ()
47309 _expf(0);
47311 return 0;
47313 _ACEOF
47314 if ac_fn_cxx_try_compile "$LINENO"; then :
47315 glibcxx_cv_func__expf_use=yes
47316 else
47317 glibcxx_cv_func__expf_use=no
47319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47320 ac_ext=c
47321 ac_cpp='$CPP $CPPFLAGS'
47322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
47331 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
47333 if test x$glibcxx_cv_func__expf_use = x"yes"; then
47334 for ac_func in _expf
47335 do :
47336 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
47337 if test "x$ac_cv_func__expf" = x""yes; then :
47338 cat >>confdefs.h <<_ACEOF
47339 #define HAVE__EXPF 1
47340 _ACEOF
47343 done
47352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
47353 $as_echo_n "checking for isnanf declaration... " >&6; }
47354 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
47355 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
47356 $as_echo_n "(cached) " >&6
47357 else
47360 ac_ext=cpp
47361 ac_cpp='$CXXCPP $CPPFLAGS'
47362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47367 /* end confdefs.h. */
47368 #include <math.h>
47369 #ifdef HAVE_IEEEFP_H
47370 #include <ieeefp.h>
47371 #endif
47374 main ()
47376 isnanf(0);
47378 return 0;
47380 _ACEOF
47381 if ac_fn_cxx_try_compile "$LINENO"; then :
47382 glibcxx_cv_func_isnanf_use=yes
47383 else
47384 glibcxx_cv_func_isnanf_use=no
47386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47387 ac_ext=c
47388 ac_cpp='$CPP $CPPFLAGS'
47389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
47398 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
47400 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
47401 for ac_func in isnanf
47402 do :
47403 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
47404 if test "x$ac_cv_func_isnanf" = x""yes; then :
47405 cat >>confdefs.h <<_ACEOF
47406 #define HAVE_ISNANF 1
47407 _ACEOF
47410 done
47412 else
47414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
47415 $as_echo_n "checking for _isnanf declaration... " >&6; }
47416 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
47417 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
47418 $as_echo_n "(cached) " >&6
47419 else
47422 ac_ext=cpp
47423 ac_cpp='$CXXCPP $CPPFLAGS'
47424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47429 /* end confdefs.h. */
47430 #include <math.h>
47431 #ifdef HAVE_IEEEFP_H
47432 #include <ieeefp.h>
47433 #endif
47436 main ()
47438 _isnanf(0);
47440 return 0;
47442 _ACEOF
47443 if ac_fn_cxx_try_compile "$LINENO"; then :
47444 glibcxx_cv_func__isnanf_use=yes
47445 else
47446 glibcxx_cv_func__isnanf_use=no
47448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47449 ac_ext=c
47450 ac_cpp='$CPP $CPPFLAGS'
47451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
47460 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
47462 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
47463 for ac_func in _isnanf
47464 do :
47465 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
47466 if test "x$ac_cv_func__isnanf" = x""yes; then :
47467 cat >>confdefs.h <<_ACEOF
47468 #define HAVE__ISNANF 1
47469 _ACEOF
47472 done
47481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
47482 $as_echo_n "checking for isinff declaration... " >&6; }
47483 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
47484 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
47485 $as_echo_n "(cached) " >&6
47486 else
47489 ac_ext=cpp
47490 ac_cpp='$CXXCPP $CPPFLAGS'
47491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47496 /* end confdefs.h. */
47497 #include <math.h>
47498 #ifdef HAVE_IEEEFP_H
47499 #include <ieeefp.h>
47500 #endif
47503 main ()
47505 isinff(0);
47507 return 0;
47509 _ACEOF
47510 if ac_fn_cxx_try_compile "$LINENO"; then :
47511 glibcxx_cv_func_isinff_use=yes
47512 else
47513 glibcxx_cv_func_isinff_use=no
47515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47516 ac_ext=c
47517 ac_cpp='$CPP $CPPFLAGS'
47518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
47527 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
47529 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
47530 for ac_func in isinff
47531 do :
47532 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
47533 if test "x$ac_cv_func_isinff" = x""yes; then :
47534 cat >>confdefs.h <<_ACEOF
47535 #define HAVE_ISINFF 1
47536 _ACEOF
47539 done
47541 else
47543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
47544 $as_echo_n "checking for _isinff declaration... " >&6; }
47545 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
47546 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
47547 $as_echo_n "(cached) " >&6
47548 else
47551 ac_ext=cpp
47552 ac_cpp='$CXXCPP $CPPFLAGS'
47553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47558 /* end confdefs.h. */
47559 #include <math.h>
47560 #ifdef HAVE_IEEEFP_H
47561 #include <ieeefp.h>
47562 #endif
47565 main ()
47567 _isinff(0);
47569 return 0;
47571 _ACEOF
47572 if ac_fn_cxx_try_compile "$LINENO"; then :
47573 glibcxx_cv_func__isinff_use=yes
47574 else
47575 glibcxx_cv_func__isinff_use=no
47577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47578 ac_ext=c
47579 ac_cpp='$CPP $CPPFLAGS'
47580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
47589 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
47591 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
47592 for ac_func in _isinff
47593 do :
47594 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
47595 if test "x$ac_cv_func__isinff" = x""yes; then :
47596 cat >>confdefs.h <<_ACEOF
47597 #define HAVE__ISINFF 1
47598 _ACEOF
47601 done
47610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
47611 $as_echo_n "checking for atan2f declaration... " >&6; }
47612 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
47613 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
47614 $as_echo_n "(cached) " >&6
47615 else
47618 ac_ext=cpp
47619 ac_cpp='$CXXCPP $CPPFLAGS'
47620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47625 /* end confdefs.h. */
47626 #include <math.h>
47628 main ()
47630 atan2f(0, 0);
47632 return 0;
47634 _ACEOF
47635 if ac_fn_cxx_try_compile "$LINENO"; then :
47636 glibcxx_cv_func_atan2f_use=yes
47637 else
47638 glibcxx_cv_func_atan2f_use=no
47640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47641 ac_ext=c
47642 ac_cpp='$CPP $CPPFLAGS'
47643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
47652 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
47654 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
47655 for ac_func in atan2f
47656 do :
47657 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
47658 if test "x$ac_cv_func_atan2f" = x""yes; then :
47659 cat >>confdefs.h <<_ACEOF
47660 #define HAVE_ATAN2F 1
47661 _ACEOF
47664 done
47666 else
47668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
47669 $as_echo_n "checking for _atan2f declaration... " >&6; }
47670 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
47671 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
47672 $as_echo_n "(cached) " >&6
47673 else
47676 ac_ext=cpp
47677 ac_cpp='$CXXCPP $CPPFLAGS'
47678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47683 /* end confdefs.h. */
47684 #include <math.h>
47686 main ()
47688 _atan2f(0, 0);
47690 return 0;
47692 _ACEOF
47693 if ac_fn_cxx_try_compile "$LINENO"; then :
47694 glibcxx_cv_func__atan2f_use=yes
47695 else
47696 glibcxx_cv_func__atan2f_use=no
47698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47699 ac_ext=c
47700 ac_cpp='$CPP $CPPFLAGS'
47701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
47710 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
47712 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
47713 for ac_func in _atan2f
47714 do :
47715 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
47716 if test "x$ac_cv_func__atan2f" = x""yes; then :
47717 cat >>confdefs.h <<_ACEOF
47718 #define HAVE__ATAN2F 1
47719 _ACEOF
47722 done
47731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
47732 $as_echo_n "checking for fabsf declaration... " >&6; }
47733 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
47734 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
47735 $as_echo_n "(cached) " >&6
47736 else
47739 ac_ext=cpp
47740 ac_cpp='$CXXCPP $CPPFLAGS'
47741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47746 /* end confdefs.h. */
47747 #include <math.h>
47748 #ifdef HAVE_IEEEFP_H
47749 #include <ieeefp.h>
47750 #endif
47753 main ()
47755 fabsf(0);
47757 return 0;
47759 _ACEOF
47760 if ac_fn_cxx_try_compile "$LINENO"; then :
47761 glibcxx_cv_func_fabsf_use=yes
47762 else
47763 glibcxx_cv_func_fabsf_use=no
47765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47766 ac_ext=c
47767 ac_cpp='$CPP $CPPFLAGS'
47768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
47777 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
47779 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
47780 for ac_func in fabsf
47781 do :
47782 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
47783 if test "x$ac_cv_func_fabsf" = x""yes; then :
47784 cat >>confdefs.h <<_ACEOF
47785 #define HAVE_FABSF 1
47786 _ACEOF
47789 done
47791 else
47793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
47794 $as_echo_n "checking for _fabsf declaration... " >&6; }
47795 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
47796 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
47797 $as_echo_n "(cached) " >&6
47798 else
47801 ac_ext=cpp
47802 ac_cpp='$CXXCPP $CPPFLAGS'
47803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47808 /* end confdefs.h. */
47809 #include <math.h>
47810 #ifdef HAVE_IEEEFP_H
47811 #include <ieeefp.h>
47812 #endif
47815 main ()
47817 _fabsf(0);
47819 return 0;
47821 _ACEOF
47822 if ac_fn_cxx_try_compile "$LINENO"; then :
47823 glibcxx_cv_func__fabsf_use=yes
47824 else
47825 glibcxx_cv_func__fabsf_use=no
47827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47828 ac_ext=c
47829 ac_cpp='$CPP $CPPFLAGS'
47830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
47839 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
47841 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
47842 for ac_func in _fabsf
47843 do :
47844 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
47845 if test "x$ac_cv_func__fabsf" = x""yes; then :
47846 cat >>confdefs.h <<_ACEOF
47847 #define HAVE__FABSF 1
47848 _ACEOF
47851 done
47860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
47861 $as_echo_n "checking for fmodf declaration... " >&6; }
47862 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
47863 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
47864 $as_echo_n "(cached) " >&6
47865 else
47868 ac_ext=cpp
47869 ac_cpp='$CXXCPP $CPPFLAGS'
47870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47875 /* end confdefs.h. */
47876 #include <math.h>
47878 main ()
47880 fmodf(0, 0);
47882 return 0;
47884 _ACEOF
47885 if ac_fn_cxx_try_compile "$LINENO"; then :
47886 glibcxx_cv_func_fmodf_use=yes
47887 else
47888 glibcxx_cv_func_fmodf_use=no
47890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47891 ac_ext=c
47892 ac_cpp='$CPP $CPPFLAGS'
47893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
47902 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
47904 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
47905 for ac_func in fmodf
47906 do :
47907 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
47908 if test "x$ac_cv_func_fmodf" = x""yes; then :
47909 cat >>confdefs.h <<_ACEOF
47910 #define HAVE_FMODF 1
47911 _ACEOF
47914 done
47916 else
47918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
47919 $as_echo_n "checking for _fmodf declaration... " >&6; }
47920 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
47921 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
47922 $as_echo_n "(cached) " >&6
47923 else
47926 ac_ext=cpp
47927 ac_cpp='$CXXCPP $CPPFLAGS'
47928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47933 /* end confdefs.h. */
47934 #include <math.h>
47936 main ()
47938 _fmodf(0, 0);
47940 return 0;
47942 _ACEOF
47943 if ac_fn_cxx_try_compile "$LINENO"; then :
47944 glibcxx_cv_func__fmodf_use=yes
47945 else
47946 glibcxx_cv_func__fmodf_use=no
47948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47949 ac_ext=c
47950 ac_cpp='$CPP $CPPFLAGS'
47951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
47960 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
47962 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
47963 for ac_func in _fmodf
47964 do :
47965 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
47966 if test "x$ac_cv_func__fmodf" = x""yes; then :
47967 cat >>confdefs.h <<_ACEOF
47968 #define HAVE__FMODF 1
47969 _ACEOF
47972 done
47981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
47982 $as_echo_n "checking for frexpf declaration... " >&6; }
47983 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
47984 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
47985 $as_echo_n "(cached) " >&6
47986 else
47989 ac_ext=cpp
47990 ac_cpp='$CXXCPP $CPPFLAGS'
47991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47996 /* end confdefs.h. */
47997 #include <math.h>
47999 main ()
48001 frexpf(0, 0);
48003 return 0;
48005 _ACEOF
48006 if ac_fn_cxx_try_compile "$LINENO"; then :
48007 glibcxx_cv_func_frexpf_use=yes
48008 else
48009 glibcxx_cv_func_frexpf_use=no
48011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48012 ac_ext=c
48013 ac_cpp='$CPP $CPPFLAGS'
48014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
48023 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
48025 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
48026 for ac_func in frexpf
48027 do :
48028 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
48029 if test "x$ac_cv_func_frexpf" = x""yes; then :
48030 cat >>confdefs.h <<_ACEOF
48031 #define HAVE_FREXPF 1
48032 _ACEOF
48035 done
48037 else
48039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
48040 $as_echo_n "checking for _frexpf declaration... " >&6; }
48041 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
48042 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
48043 $as_echo_n "(cached) " >&6
48044 else
48047 ac_ext=cpp
48048 ac_cpp='$CXXCPP $CPPFLAGS'
48049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48054 /* end confdefs.h. */
48055 #include <math.h>
48057 main ()
48059 _frexpf(0, 0);
48061 return 0;
48063 _ACEOF
48064 if ac_fn_cxx_try_compile "$LINENO"; then :
48065 glibcxx_cv_func__frexpf_use=yes
48066 else
48067 glibcxx_cv_func__frexpf_use=no
48069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48070 ac_ext=c
48071 ac_cpp='$CPP $CPPFLAGS'
48072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
48081 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
48083 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
48084 for ac_func in _frexpf
48085 do :
48086 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
48087 if test "x$ac_cv_func__frexpf" = x""yes; then :
48088 cat >>confdefs.h <<_ACEOF
48089 #define HAVE__FREXPF 1
48090 _ACEOF
48093 done
48102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
48103 $as_echo_n "checking for hypotf declaration... " >&6; }
48104 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
48105 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
48106 $as_echo_n "(cached) " >&6
48107 else
48110 ac_ext=cpp
48111 ac_cpp='$CXXCPP $CPPFLAGS'
48112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48117 /* end confdefs.h. */
48118 #include <math.h>
48120 main ()
48122 hypotf(0, 0);
48124 return 0;
48126 _ACEOF
48127 if ac_fn_cxx_try_compile "$LINENO"; then :
48128 glibcxx_cv_func_hypotf_use=yes
48129 else
48130 glibcxx_cv_func_hypotf_use=no
48132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48133 ac_ext=c
48134 ac_cpp='$CPP $CPPFLAGS'
48135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
48144 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
48146 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
48147 for ac_func in hypotf
48148 do :
48149 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
48150 if test "x$ac_cv_func_hypotf" = x""yes; then :
48151 cat >>confdefs.h <<_ACEOF
48152 #define HAVE_HYPOTF 1
48153 _ACEOF
48156 done
48158 else
48160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
48161 $as_echo_n "checking for _hypotf declaration... " >&6; }
48162 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
48163 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
48164 $as_echo_n "(cached) " >&6
48165 else
48168 ac_ext=cpp
48169 ac_cpp='$CXXCPP $CPPFLAGS'
48170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48175 /* end confdefs.h. */
48176 #include <math.h>
48178 main ()
48180 _hypotf(0, 0);
48182 return 0;
48184 _ACEOF
48185 if ac_fn_cxx_try_compile "$LINENO"; then :
48186 glibcxx_cv_func__hypotf_use=yes
48187 else
48188 glibcxx_cv_func__hypotf_use=no
48190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48191 ac_ext=c
48192 ac_cpp='$CPP $CPPFLAGS'
48193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
48202 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
48204 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
48205 for ac_func in _hypotf
48206 do :
48207 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
48208 if test "x$ac_cv_func__hypotf" = x""yes; then :
48209 cat >>confdefs.h <<_ACEOF
48210 #define HAVE__HYPOTF 1
48211 _ACEOF
48214 done
48223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
48224 $as_echo_n "checking for ldexpf declaration... " >&6; }
48225 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
48226 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
48227 $as_echo_n "(cached) " >&6
48228 else
48231 ac_ext=cpp
48232 ac_cpp='$CXXCPP $CPPFLAGS'
48233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48238 /* end confdefs.h. */
48239 #include <math.h>
48241 main ()
48243 ldexpf(0, 0);
48245 return 0;
48247 _ACEOF
48248 if ac_fn_cxx_try_compile "$LINENO"; then :
48249 glibcxx_cv_func_ldexpf_use=yes
48250 else
48251 glibcxx_cv_func_ldexpf_use=no
48253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48254 ac_ext=c
48255 ac_cpp='$CPP $CPPFLAGS'
48256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
48265 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
48267 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
48268 for ac_func in ldexpf
48269 do :
48270 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
48271 if test "x$ac_cv_func_ldexpf" = x""yes; then :
48272 cat >>confdefs.h <<_ACEOF
48273 #define HAVE_LDEXPF 1
48274 _ACEOF
48277 done
48279 else
48281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
48282 $as_echo_n "checking for _ldexpf declaration... " >&6; }
48283 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
48284 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
48285 $as_echo_n "(cached) " >&6
48286 else
48289 ac_ext=cpp
48290 ac_cpp='$CXXCPP $CPPFLAGS'
48291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48296 /* end confdefs.h. */
48297 #include <math.h>
48299 main ()
48301 _ldexpf(0, 0);
48303 return 0;
48305 _ACEOF
48306 if ac_fn_cxx_try_compile "$LINENO"; then :
48307 glibcxx_cv_func__ldexpf_use=yes
48308 else
48309 glibcxx_cv_func__ldexpf_use=no
48311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48312 ac_ext=c
48313 ac_cpp='$CPP $CPPFLAGS'
48314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
48323 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
48325 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
48326 for ac_func in _ldexpf
48327 do :
48328 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
48329 if test "x$ac_cv_func__ldexpf" = x""yes; then :
48330 cat >>confdefs.h <<_ACEOF
48331 #define HAVE__LDEXPF 1
48332 _ACEOF
48335 done
48344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
48345 $as_echo_n "checking for logf declaration... " >&6; }
48346 if test x${glibcxx_cv_func_logf_use+set} != xset; then
48347 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
48348 $as_echo_n "(cached) " >&6
48349 else
48352 ac_ext=cpp
48353 ac_cpp='$CXXCPP $CPPFLAGS'
48354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48359 /* end confdefs.h. */
48360 #include <math.h>
48361 #ifdef HAVE_IEEEFP_H
48362 #include <ieeefp.h>
48363 #endif
48366 main ()
48368 logf(0);
48370 return 0;
48372 _ACEOF
48373 if ac_fn_cxx_try_compile "$LINENO"; then :
48374 glibcxx_cv_func_logf_use=yes
48375 else
48376 glibcxx_cv_func_logf_use=no
48378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48379 ac_ext=c
48380 ac_cpp='$CPP $CPPFLAGS'
48381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
48390 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
48392 if test x$glibcxx_cv_func_logf_use = x"yes"; then
48393 for ac_func in logf
48394 do :
48395 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
48396 if test "x$ac_cv_func_logf" = x""yes; then :
48397 cat >>confdefs.h <<_ACEOF
48398 #define HAVE_LOGF 1
48399 _ACEOF
48402 done
48404 else
48406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
48407 $as_echo_n "checking for _logf declaration... " >&6; }
48408 if test x${glibcxx_cv_func__logf_use+set} != xset; then
48409 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
48410 $as_echo_n "(cached) " >&6
48411 else
48414 ac_ext=cpp
48415 ac_cpp='$CXXCPP $CPPFLAGS'
48416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48421 /* end confdefs.h. */
48422 #include <math.h>
48423 #ifdef HAVE_IEEEFP_H
48424 #include <ieeefp.h>
48425 #endif
48428 main ()
48430 _logf(0);
48432 return 0;
48434 _ACEOF
48435 if ac_fn_cxx_try_compile "$LINENO"; then :
48436 glibcxx_cv_func__logf_use=yes
48437 else
48438 glibcxx_cv_func__logf_use=no
48440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48441 ac_ext=c
48442 ac_cpp='$CPP $CPPFLAGS'
48443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
48452 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
48454 if test x$glibcxx_cv_func__logf_use = x"yes"; then
48455 for ac_func in _logf
48456 do :
48457 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
48458 if test "x$ac_cv_func__logf" = x""yes; then :
48459 cat >>confdefs.h <<_ACEOF
48460 #define HAVE__LOGF 1
48461 _ACEOF
48464 done
48473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
48474 $as_echo_n "checking for log10f declaration... " >&6; }
48475 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
48476 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
48477 $as_echo_n "(cached) " >&6
48478 else
48481 ac_ext=cpp
48482 ac_cpp='$CXXCPP $CPPFLAGS'
48483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48488 /* end confdefs.h. */
48489 #include <math.h>
48490 #ifdef HAVE_IEEEFP_H
48491 #include <ieeefp.h>
48492 #endif
48495 main ()
48497 log10f(0);
48499 return 0;
48501 _ACEOF
48502 if ac_fn_cxx_try_compile "$LINENO"; then :
48503 glibcxx_cv_func_log10f_use=yes
48504 else
48505 glibcxx_cv_func_log10f_use=no
48507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48508 ac_ext=c
48509 ac_cpp='$CPP $CPPFLAGS'
48510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
48519 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
48521 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
48522 for ac_func in log10f
48523 do :
48524 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
48525 if test "x$ac_cv_func_log10f" = x""yes; then :
48526 cat >>confdefs.h <<_ACEOF
48527 #define HAVE_LOG10F 1
48528 _ACEOF
48531 done
48533 else
48535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
48536 $as_echo_n "checking for _log10f declaration... " >&6; }
48537 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
48538 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
48539 $as_echo_n "(cached) " >&6
48540 else
48543 ac_ext=cpp
48544 ac_cpp='$CXXCPP $CPPFLAGS'
48545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48550 /* end confdefs.h. */
48551 #include <math.h>
48552 #ifdef HAVE_IEEEFP_H
48553 #include <ieeefp.h>
48554 #endif
48557 main ()
48559 _log10f(0);
48561 return 0;
48563 _ACEOF
48564 if ac_fn_cxx_try_compile "$LINENO"; then :
48565 glibcxx_cv_func__log10f_use=yes
48566 else
48567 glibcxx_cv_func__log10f_use=no
48569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48570 ac_ext=c
48571 ac_cpp='$CPP $CPPFLAGS'
48572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
48581 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
48583 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
48584 for ac_func in _log10f
48585 do :
48586 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
48587 if test "x$ac_cv_func__log10f" = x""yes; then :
48588 cat >>confdefs.h <<_ACEOF
48589 #define HAVE__LOG10F 1
48590 _ACEOF
48593 done
48602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
48603 $as_echo_n "checking for modff declaration... " >&6; }
48604 if test x${glibcxx_cv_func_modff_use+set} != xset; then
48605 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
48606 $as_echo_n "(cached) " >&6
48607 else
48610 ac_ext=cpp
48611 ac_cpp='$CXXCPP $CPPFLAGS'
48612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48617 /* end confdefs.h. */
48618 #include <math.h>
48620 main ()
48622 modff(0, 0);
48624 return 0;
48626 _ACEOF
48627 if ac_fn_cxx_try_compile "$LINENO"; then :
48628 glibcxx_cv_func_modff_use=yes
48629 else
48630 glibcxx_cv_func_modff_use=no
48632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48633 ac_ext=c
48634 ac_cpp='$CPP $CPPFLAGS'
48635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
48644 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
48646 if test x$glibcxx_cv_func_modff_use = x"yes"; then
48647 for ac_func in modff
48648 do :
48649 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
48650 if test "x$ac_cv_func_modff" = x""yes; then :
48651 cat >>confdefs.h <<_ACEOF
48652 #define HAVE_MODFF 1
48653 _ACEOF
48656 done
48658 else
48660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
48661 $as_echo_n "checking for _modff declaration... " >&6; }
48662 if test x${glibcxx_cv_func__modff_use+set} != xset; then
48663 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
48664 $as_echo_n "(cached) " >&6
48665 else
48668 ac_ext=cpp
48669 ac_cpp='$CXXCPP $CPPFLAGS'
48670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48675 /* end confdefs.h. */
48676 #include <math.h>
48678 main ()
48680 _modff(0, 0);
48682 return 0;
48684 _ACEOF
48685 if ac_fn_cxx_try_compile "$LINENO"; then :
48686 glibcxx_cv_func__modff_use=yes
48687 else
48688 glibcxx_cv_func__modff_use=no
48690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48691 ac_ext=c
48692 ac_cpp='$CPP $CPPFLAGS'
48693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
48702 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
48704 if test x$glibcxx_cv_func__modff_use = x"yes"; then
48705 for ac_func in _modff
48706 do :
48707 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
48708 if test "x$ac_cv_func__modff" = x""yes; then :
48709 cat >>confdefs.h <<_ACEOF
48710 #define HAVE__MODFF 1
48711 _ACEOF
48714 done
48723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
48724 $as_echo_n "checking for modf declaration... " >&6; }
48725 if test x${glibcxx_cv_func_modf_use+set} != xset; then
48726 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
48727 $as_echo_n "(cached) " >&6
48728 else
48731 ac_ext=cpp
48732 ac_cpp='$CXXCPP $CPPFLAGS'
48733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48738 /* end confdefs.h. */
48739 #include <math.h>
48741 main ()
48743 modf(0, 0);
48745 return 0;
48747 _ACEOF
48748 if ac_fn_cxx_try_compile "$LINENO"; then :
48749 glibcxx_cv_func_modf_use=yes
48750 else
48751 glibcxx_cv_func_modf_use=no
48753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48754 ac_ext=c
48755 ac_cpp='$CPP $CPPFLAGS'
48756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
48765 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
48767 if test x$glibcxx_cv_func_modf_use = x"yes"; then
48768 for ac_func in modf
48769 do :
48770 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
48771 if test "x$ac_cv_func_modf" = x""yes; then :
48772 cat >>confdefs.h <<_ACEOF
48773 #define HAVE_MODF 1
48774 _ACEOF
48777 done
48779 else
48781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
48782 $as_echo_n "checking for _modf declaration... " >&6; }
48783 if test x${glibcxx_cv_func__modf_use+set} != xset; then
48784 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
48785 $as_echo_n "(cached) " >&6
48786 else
48789 ac_ext=cpp
48790 ac_cpp='$CXXCPP $CPPFLAGS'
48791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48796 /* end confdefs.h. */
48797 #include <math.h>
48799 main ()
48801 _modf(0, 0);
48803 return 0;
48805 _ACEOF
48806 if ac_fn_cxx_try_compile "$LINENO"; then :
48807 glibcxx_cv_func__modf_use=yes
48808 else
48809 glibcxx_cv_func__modf_use=no
48811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48812 ac_ext=c
48813 ac_cpp='$CPP $CPPFLAGS'
48814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
48823 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
48825 if test x$glibcxx_cv_func__modf_use = x"yes"; then
48826 for ac_func in _modf
48827 do :
48828 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
48829 if test "x$ac_cv_func__modf" = x""yes; then :
48830 cat >>confdefs.h <<_ACEOF
48831 #define HAVE__MODF 1
48832 _ACEOF
48835 done
48844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
48845 $as_echo_n "checking for powf declaration... " >&6; }
48846 if test x${glibcxx_cv_func_powf_use+set} != xset; then
48847 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
48848 $as_echo_n "(cached) " >&6
48849 else
48852 ac_ext=cpp
48853 ac_cpp='$CXXCPP $CPPFLAGS'
48854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48859 /* end confdefs.h. */
48860 #include <math.h>
48862 main ()
48864 powf(0, 0);
48866 return 0;
48868 _ACEOF
48869 if ac_fn_cxx_try_compile "$LINENO"; then :
48870 glibcxx_cv_func_powf_use=yes
48871 else
48872 glibcxx_cv_func_powf_use=no
48874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48875 ac_ext=c
48876 ac_cpp='$CPP $CPPFLAGS'
48877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
48886 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
48888 if test x$glibcxx_cv_func_powf_use = x"yes"; then
48889 for ac_func in powf
48890 do :
48891 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
48892 if test "x$ac_cv_func_powf" = x""yes; then :
48893 cat >>confdefs.h <<_ACEOF
48894 #define HAVE_POWF 1
48895 _ACEOF
48898 done
48900 else
48902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
48903 $as_echo_n "checking for _powf declaration... " >&6; }
48904 if test x${glibcxx_cv_func__powf_use+set} != xset; then
48905 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
48906 $as_echo_n "(cached) " >&6
48907 else
48910 ac_ext=cpp
48911 ac_cpp='$CXXCPP $CPPFLAGS'
48912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48917 /* end confdefs.h. */
48918 #include <math.h>
48920 main ()
48922 _powf(0, 0);
48924 return 0;
48926 _ACEOF
48927 if ac_fn_cxx_try_compile "$LINENO"; then :
48928 glibcxx_cv_func__powf_use=yes
48929 else
48930 glibcxx_cv_func__powf_use=no
48932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48933 ac_ext=c
48934 ac_cpp='$CPP $CPPFLAGS'
48935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
48944 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
48946 if test x$glibcxx_cv_func__powf_use = x"yes"; then
48947 for ac_func in _powf
48948 do :
48949 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
48950 if test "x$ac_cv_func__powf" = x""yes; then :
48951 cat >>confdefs.h <<_ACEOF
48952 #define HAVE__POWF 1
48953 _ACEOF
48956 done
48965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
48966 $as_echo_n "checking for sqrtf declaration... " >&6; }
48967 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
48968 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
48969 $as_echo_n "(cached) " >&6
48970 else
48973 ac_ext=cpp
48974 ac_cpp='$CXXCPP $CPPFLAGS'
48975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48980 /* end confdefs.h. */
48981 #include <math.h>
48982 #ifdef HAVE_IEEEFP_H
48983 #include <ieeefp.h>
48984 #endif
48987 main ()
48989 sqrtf(0);
48991 return 0;
48993 _ACEOF
48994 if ac_fn_cxx_try_compile "$LINENO"; then :
48995 glibcxx_cv_func_sqrtf_use=yes
48996 else
48997 glibcxx_cv_func_sqrtf_use=no
48999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49000 ac_ext=c
49001 ac_cpp='$CPP $CPPFLAGS'
49002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
49011 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
49013 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
49014 for ac_func in sqrtf
49015 do :
49016 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
49017 if test "x$ac_cv_func_sqrtf" = x""yes; then :
49018 cat >>confdefs.h <<_ACEOF
49019 #define HAVE_SQRTF 1
49020 _ACEOF
49023 done
49025 else
49027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
49028 $as_echo_n "checking for _sqrtf declaration... " >&6; }
49029 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
49030 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
49031 $as_echo_n "(cached) " >&6
49032 else
49035 ac_ext=cpp
49036 ac_cpp='$CXXCPP $CPPFLAGS'
49037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49042 /* end confdefs.h. */
49043 #include <math.h>
49044 #ifdef HAVE_IEEEFP_H
49045 #include <ieeefp.h>
49046 #endif
49049 main ()
49051 _sqrtf(0);
49053 return 0;
49055 _ACEOF
49056 if ac_fn_cxx_try_compile "$LINENO"; then :
49057 glibcxx_cv_func__sqrtf_use=yes
49058 else
49059 glibcxx_cv_func__sqrtf_use=no
49061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49062 ac_ext=c
49063 ac_cpp='$CPP $CPPFLAGS'
49064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
49073 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
49075 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
49076 for ac_func in _sqrtf
49077 do :
49078 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
49079 if test "x$ac_cv_func__sqrtf" = x""yes; then :
49080 cat >>confdefs.h <<_ACEOF
49081 #define HAVE__SQRTF 1
49082 _ACEOF
49085 done
49094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
49095 $as_echo_n "checking for sincosf declaration... " >&6; }
49096 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
49097 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
49098 $as_echo_n "(cached) " >&6
49099 else
49102 ac_ext=cpp
49103 ac_cpp='$CXXCPP $CPPFLAGS'
49104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49109 /* end confdefs.h. */
49110 #include <math.h>
49112 main ()
49114 sincosf(0, 0, 0);
49116 return 0;
49118 _ACEOF
49119 if ac_fn_cxx_try_compile "$LINENO"; then :
49120 glibcxx_cv_func_sincosf_use=yes
49121 else
49122 glibcxx_cv_func_sincosf_use=no
49124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49125 ac_ext=c
49126 ac_cpp='$CPP $CPPFLAGS'
49127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
49136 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
49138 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
49139 for ac_func in sincosf
49140 do :
49141 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
49142 if test "x$ac_cv_func_sincosf" = x""yes; then :
49143 cat >>confdefs.h <<_ACEOF
49144 #define HAVE_SINCOSF 1
49145 _ACEOF
49148 done
49150 else
49152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
49153 $as_echo_n "checking for _sincosf declaration... " >&6; }
49154 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
49155 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
49156 $as_echo_n "(cached) " >&6
49157 else
49160 ac_ext=cpp
49161 ac_cpp='$CXXCPP $CPPFLAGS'
49162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49167 /* end confdefs.h. */
49168 #include <math.h>
49170 main ()
49172 _sincosf(0, 0, 0);
49174 return 0;
49176 _ACEOF
49177 if ac_fn_cxx_try_compile "$LINENO"; then :
49178 glibcxx_cv_func__sincosf_use=yes
49179 else
49180 glibcxx_cv_func__sincosf_use=no
49182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49183 ac_ext=c
49184 ac_cpp='$CPP $CPPFLAGS'
49185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
49194 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
49196 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
49197 for ac_func in _sincosf
49198 do :
49199 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
49200 if test "x$ac_cv_func__sincosf" = x""yes; then :
49201 cat >>confdefs.h <<_ACEOF
49202 #define HAVE__SINCOSF 1
49203 _ACEOF
49206 done
49215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
49216 $as_echo_n "checking for finitef declaration... " >&6; }
49217 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
49218 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
49219 $as_echo_n "(cached) " >&6
49220 else
49223 ac_ext=cpp
49224 ac_cpp='$CXXCPP $CPPFLAGS'
49225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49230 /* end confdefs.h. */
49231 #include <math.h>
49232 #ifdef HAVE_IEEEFP_H
49233 #include <ieeefp.h>
49234 #endif
49237 main ()
49239 finitef(0);
49241 return 0;
49243 _ACEOF
49244 if ac_fn_cxx_try_compile "$LINENO"; then :
49245 glibcxx_cv_func_finitef_use=yes
49246 else
49247 glibcxx_cv_func_finitef_use=no
49249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49250 ac_ext=c
49251 ac_cpp='$CPP $CPPFLAGS'
49252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
49261 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
49263 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
49264 for ac_func in finitef
49265 do :
49266 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
49267 if test "x$ac_cv_func_finitef" = x""yes; then :
49268 cat >>confdefs.h <<_ACEOF
49269 #define HAVE_FINITEF 1
49270 _ACEOF
49273 done
49275 else
49277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
49278 $as_echo_n "checking for _finitef declaration... " >&6; }
49279 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
49280 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
49281 $as_echo_n "(cached) " >&6
49282 else
49285 ac_ext=cpp
49286 ac_cpp='$CXXCPP $CPPFLAGS'
49287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49292 /* end confdefs.h. */
49293 #include <math.h>
49294 #ifdef HAVE_IEEEFP_H
49295 #include <ieeefp.h>
49296 #endif
49299 main ()
49301 _finitef(0);
49303 return 0;
49305 _ACEOF
49306 if ac_fn_cxx_try_compile "$LINENO"; then :
49307 glibcxx_cv_func__finitef_use=yes
49308 else
49309 glibcxx_cv_func__finitef_use=no
49311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49312 ac_ext=c
49313 ac_cpp='$CPP $CPPFLAGS'
49314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
49323 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
49325 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
49326 for ac_func in _finitef
49327 do :
49328 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
49329 if test "x$ac_cv_func__finitef" = x""yes; then :
49330 cat >>confdefs.h <<_ACEOF
49331 #define HAVE__FINITEF 1
49332 _ACEOF
49335 done
49344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
49345 $as_echo_n "checking for long double trig functions... " >&6; }
49346 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
49347 $as_echo_n "(cached) " >&6
49348 else
49351 ac_ext=cpp
49352 ac_cpp='$CXXCPP $CPPFLAGS'
49353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49358 /* end confdefs.h. */
49359 #include <math.h>
49361 main ()
49363 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
49365 return 0;
49367 _ACEOF
49368 if ac_fn_cxx_try_compile "$LINENO"; then :
49369 glibcxx_cv_func_long_double_trig_use=yes
49370 else
49371 glibcxx_cv_func_long_double_trig_use=no
49373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49374 ac_ext=c
49375 ac_cpp='$CPP $CPPFLAGS'
49376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
49383 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
49384 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
49385 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
49386 do :
49387 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49388 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49389 eval as_val=\$$as_ac_var
49390 if test "x$as_val" = x""yes; then :
49391 cat >>confdefs.h <<_ACEOF
49392 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49393 _ACEOF
49396 done
49398 else
49399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
49400 $as_echo_n "checking for _long double trig functions... " >&6; }
49401 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
49402 $as_echo_n "(cached) " >&6
49403 else
49406 ac_ext=cpp
49407 ac_cpp='$CXXCPP $CPPFLAGS'
49408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49413 /* end confdefs.h. */
49414 #include <math.h>
49416 main ()
49418 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
49420 return 0;
49422 _ACEOF
49423 if ac_fn_cxx_try_compile "$LINENO"; then :
49424 glibcxx_cv_func__long_double_trig_use=yes
49425 else
49426 glibcxx_cv_func__long_double_trig_use=no
49428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49429 ac_ext=c
49430 ac_cpp='$CPP $CPPFLAGS'
49431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
49438 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
49439 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
49440 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
49441 do :
49442 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49443 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49444 eval as_val=\$$as_ac_var
49445 if test "x$as_val" = x""yes; then :
49446 cat >>confdefs.h <<_ACEOF
49447 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49448 _ACEOF
49451 done
49460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
49461 $as_echo_n "checking for long double round functions... " >&6; }
49462 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
49463 $as_echo_n "(cached) " >&6
49464 else
49467 ac_ext=cpp
49468 ac_cpp='$CXXCPP $CPPFLAGS'
49469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49474 /* end confdefs.h. */
49475 #include <math.h>
49477 main ()
49479 ceill (0); floorl (0);
49481 return 0;
49483 _ACEOF
49484 if ac_fn_cxx_try_compile "$LINENO"; then :
49485 glibcxx_cv_func_long_double_round_use=yes
49486 else
49487 glibcxx_cv_func_long_double_round_use=no
49489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49490 ac_ext=c
49491 ac_cpp='$CPP $CPPFLAGS'
49492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
49499 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
49500 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
49501 for ac_func in ceill floorl
49502 do :
49503 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49504 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49505 eval as_val=\$$as_ac_var
49506 if test "x$as_val" = x""yes; then :
49507 cat >>confdefs.h <<_ACEOF
49508 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49509 _ACEOF
49512 done
49514 else
49515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
49516 $as_echo_n "checking for _long double round functions... " >&6; }
49517 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
49518 $as_echo_n "(cached) " >&6
49519 else
49522 ac_ext=cpp
49523 ac_cpp='$CXXCPP $CPPFLAGS'
49524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49529 /* end confdefs.h. */
49530 #include <math.h>
49532 main ()
49534 _ceill (0); _floorl (0);
49536 return 0;
49538 _ACEOF
49539 if ac_fn_cxx_try_compile "$LINENO"; then :
49540 glibcxx_cv_func__long_double_round_use=yes
49541 else
49542 glibcxx_cv_func__long_double_round_use=no
49544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49545 ac_ext=c
49546 ac_cpp='$CPP $CPPFLAGS'
49547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
49554 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
49555 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
49556 for ac_func in _ceill _floorl
49557 do :
49558 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49559 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49560 eval as_val=\$$as_ac_var
49561 if test "x$as_val" = x""yes; then :
49562 cat >>confdefs.h <<_ACEOF
49563 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49564 _ACEOF
49567 done
49577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
49578 $as_echo_n "checking for isnanl declaration... " >&6; }
49579 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
49580 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
49581 $as_echo_n "(cached) " >&6
49582 else
49585 ac_ext=cpp
49586 ac_cpp='$CXXCPP $CPPFLAGS'
49587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49592 /* end confdefs.h. */
49593 #include <math.h>
49594 #ifdef HAVE_IEEEFP_H
49595 #include <ieeefp.h>
49596 #endif
49599 main ()
49601 isnanl(0);
49603 return 0;
49605 _ACEOF
49606 if ac_fn_cxx_try_compile "$LINENO"; then :
49607 glibcxx_cv_func_isnanl_use=yes
49608 else
49609 glibcxx_cv_func_isnanl_use=no
49611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49612 ac_ext=c
49613 ac_cpp='$CPP $CPPFLAGS'
49614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
49623 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
49625 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
49626 for ac_func in isnanl
49627 do :
49628 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
49629 if test "x$ac_cv_func_isnanl" = x""yes; then :
49630 cat >>confdefs.h <<_ACEOF
49631 #define HAVE_ISNANL 1
49632 _ACEOF
49635 done
49637 else
49639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
49640 $as_echo_n "checking for _isnanl declaration... " >&6; }
49641 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
49642 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
49643 $as_echo_n "(cached) " >&6
49644 else
49647 ac_ext=cpp
49648 ac_cpp='$CXXCPP $CPPFLAGS'
49649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49654 /* end confdefs.h. */
49655 #include <math.h>
49656 #ifdef HAVE_IEEEFP_H
49657 #include <ieeefp.h>
49658 #endif
49661 main ()
49663 _isnanl(0);
49665 return 0;
49667 _ACEOF
49668 if ac_fn_cxx_try_compile "$LINENO"; then :
49669 glibcxx_cv_func__isnanl_use=yes
49670 else
49671 glibcxx_cv_func__isnanl_use=no
49673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49674 ac_ext=c
49675 ac_cpp='$CPP $CPPFLAGS'
49676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
49685 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
49687 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
49688 for ac_func in _isnanl
49689 do :
49690 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
49691 if test "x$ac_cv_func__isnanl" = x""yes; then :
49692 cat >>confdefs.h <<_ACEOF
49693 #define HAVE__ISNANL 1
49694 _ACEOF
49697 done
49706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
49707 $as_echo_n "checking for isinfl declaration... " >&6; }
49708 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
49709 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
49710 $as_echo_n "(cached) " >&6
49711 else
49714 ac_ext=cpp
49715 ac_cpp='$CXXCPP $CPPFLAGS'
49716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49721 /* end confdefs.h. */
49722 #include <math.h>
49723 #ifdef HAVE_IEEEFP_H
49724 #include <ieeefp.h>
49725 #endif
49728 main ()
49730 isinfl(0);
49732 return 0;
49734 _ACEOF
49735 if ac_fn_cxx_try_compile "$LINENO"; then :
49736 glibcxx_cv_func_isinfl_use=yes
49737 else
49738 glibcxx_cv_func_isinfl_use=no
49740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49741 ac_ext=c
49742 ac_cpp='$CPP $CPPFLAGS'
49743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
49752 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
49754 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
49755 for ac_func in isinfl
49756 do :
49757 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
49758 if test "x$ac_cv_func_isinfl" = x""yes; then :
49759 cat >>confdefs.h <<_ACEOF
49760 #define HAVE_ISINFL 1
49761 _ACEOF
49764 done
49766 else
49768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
49769 $as_echo_n "checking for _isinfl declaration... " >&6; }
49770 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
49771 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
49772 $as_echo_n "(cached) " >&6
49773 else
49776 ac_ext=cpp
49777 ac_cpp='$CXXCPP $CPPFLAGS'
49778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49783 /* end confdefs.h. */
49784 #include <math.h>
49785 #ifdef HAVE_IEEEFP_H
49786 #include <ieeefp.h>
49787 #endif
49790 main ()
49792 _isinfl(0);
49794 return 0;
49796 _ACEOF
49797 if ac_fn_cxx_try_compile "$LINENO"; then :
49798 glibcxx_cv_func__isinfl_use=yes
49799 else
49800 glibcxx_cv_func__isinfl_use=no
49802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49803 ac_ext=c
49804 ac_cpp='$CPP $CPPFLAGS'
49805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
49814 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
49816 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
49817 for ac_func in _isinfl
49818 do :
49819 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
49820 if test "x$ac_cv_func__isinfl" = x""yes; then :
49821 cat >>confdefs.h <<_ACEOF
49822 #define HAVE__ISINFL 1
49823 _ACEOF
49826 done
49835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
49836 $as_echo_n "checking for atan2l declaration... " >&6; }
49837 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
49838 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
49839 $as_echo_n "(cached) " >&6
49840 else
49843 ac_ext=cpp
49844 ac_cpp='$CXXCPP $CPPFLAGS'
49845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49850 /* end confdefs.h. */
49851 #include <math.h>
49853 main ()
49855 atan2l(0, 0);
49857 return 0;
49859 _ACEOF
49860 if ac_fn_cxx_try_compile "$LINENO"; then :
49861 glibcxx_cv_func_atan2l_use=yes
49862 else
49863 glibcxx_cv_func_atan2l_use=no
49865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49866 ac_ext=c
49867 ac_cpp='$CPP $CPPFLAGS'
49868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
49877 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
49879 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
49880 for ac_func in atan2l
49881 do :
49882 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
49883 if test "x$ac_cv_func_atan2l" = x""yes; then :
49884 cat >>confdefs.h <<_ACEOF
49885 #define HAVE_ATAN2L 1
49886 _ACEOF
49889 done
49891 else
49893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
49894 $as_echo_n "checking for _atan2l declaration... " >&6; }
49895 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
49896 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
49897 $as_echo_n "(cached) " >&6
49898 else
49901 ac_ext=cpp
49902 ac_cpp='$CXXCPP $CPPFLAGS'
49903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49908 /* end confdefs.h. */
49909 #include <math.h>
49911 main ()
49913 _atan2l(0, 0);
49915 return 0;
49917 _ACEOF
49918 if ac_fn_cxx_try_compile "$LINENO"; then :
49919 glibcxx_cv_func__atan2l_use=yes
49920 else
49921 glibcxx_cv_func__atan2l_use=no
49923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49924 ac_ext=c
49925 ac_cpp='$CPP $CPPFLAGS'
49926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
49935 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
49937 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
49938 for ac_func in _atan2l
49939 do :
49940 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
49941 if test "x$ac_cv_func__atan2l" = x""yes; then :
49942 cat >>confdefs.h <<_ACEOF
49943 #define HAVE__ATAN2L 1
49944 _ACEOF
49947 done
49956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
49957 $as_echo_n "checking for expl declaration... " >&6; }
49958 if test x${glibcxx_cv_func_expl_use+set} != xset; then
49959 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
49960 $as_echo_n "(cached) " >&6
49961 else
49964 ac_ext=cpp
49965 ac_cpp='$CXXCPP $CPPFLAGS'
49966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49971 /* end confdefs.h. */
49972 #include <math.h>
49973 #ifdef HAVE_IEEEFP_H
49974 #include <ieeefp.h>
49975 #endif
49978 main ()
49980 expl(0);
49982 return 0;
49984 _ACEOF
49985 if ac_fn_cxx_try_compile "$LINENO"; then :
49986 glibcxx_cv_func_expl_use=yes
49987 else
49988 glibcxx_cv_func_expl_use=no
49990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49991 ac_ext=c
49992 ac_cpp='$CPP $CPPFLAGS'
49993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
50002 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
50004 if test x$glibcxx_cv_func_expl_use = x"yes"; then
50005 for ac_func in expl
50006 do :
50007 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
50008 if test "x$ac_cv_func_expl" = x""yes; then :
50009 cat >>confdefs.h <<_ACEOF
50010 #define HAVE_EXPL 1
50011 _ACEOF
50014 done
50016 else
50018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
50019 $as_echo_n "checking for _expl declaration... " >&6; }
50020 if test x${glibcxx_cv_func__expl_use+set} != xset; then
50021 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
50022 $as_echo_n "(cached) " >&6
50023 else
50026 ac_ext=cpp
50027 ac_cpp='$CXXCPP $CPPFLAGS'
50028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50033 /* end confdefs.h. */
50034 #include <math.h>
50035 #ifdef HAVE_IEEEFP_H
50036 #include <ieeefp.h>
50037 #endif
50040 main ()
50042 _expl(0);
50044 return 0;
50046 _ACEOF
50047 if ac_fn_cxx_try_compile "$LINENO"; then :
50048 glibcxx_cv_func__expl_use=yes
50049 else
50050 glibcxx_cv_func__expl_use=no
50052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50053 ac_ext=c
50054 ac_cpp='$CPP $CPPFLAGS'
50055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
50064 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
50066 if test x$glibcxx_cv_func__expl_use = x"yes"; then
50067 for ac_func in _expl
50068 do :
50069 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
50070 if test "x$ac_cv_func__expl" = x""yes; then :
50071 cat >>confdefs.h <<_ACEOF
50072 #define HAVE__EXPL 1
50073 _ACEOF
50076 done
50085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
50086 $as_echo_n "checking for fabsl declaration... " >&6; }
50087 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
50088 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
50089 $as_echo_n "(cached) " >&6
50090 else
50093 ac_ext=cpp
50094 ac_cpp='$CXXCPP $CPPFLAGS'
50095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50100 /* end confdefs.h. */
50101 #include <math.h>
50102 #ifdef HAVE_IEEEFP_H
50103 #include <ieeefp.h>
50104 #endif
50107 main ()
50109 fabsl(0);
50111 return 0;
50113 _ACEOF
50114 if ac_fn_cxx_try_compile "$LINENO"; then :
50115 glibcxx_cv_func_fabsl_use=yes
50116 else
50117 glibcxx_cv_func_fabsl_use=no
50119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50120 ac_ext=c
50121 ac_cpp='$CPP $CPPFLAGS'
50122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
50131 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
50133 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
50134 for ac_func in fabsl
50135 do :
50136 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
50137 if test "x$ac_cv_func_fabsl" = x""yes; then :
50138 cat >>confdefs.h <<_ACEOF
50139 #define HAVE_FABSL 1
50140 _ACEOF
50143 done
50145 else
50147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
50148 $as_echo_n "checking for _fabsl declaration... " >&6; }
50149 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
50150 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
50151 $as_echo_n "(cached) " >&6
50152 else
50155 ac_ext=cpp
50156 ac_cpp='$CXXCPP $CPPFLAGS'
50157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50162 /* end confdefs.h. */
50163 #include <math.h>
50164 #ifdef HAVE_IEEEFP_H
50165 #include <ieeefp.h>
50166 #endif
50169 main ()
50171 _fabsl(0);
50173 return 0;
50175 _ACEOF
50176 if ac_fn_cxx_try_compile "$LINENO"; then :
50177 glibcxx_cv_func__fabsl_use=yes
50178 else
50179 glibcxx_cv_func__fabsl_use=no
50181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50182 ac_ext=c
50183 ac_cpp='$CPP $CPPFLAGS'
50184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
50193 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
50195 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
50196 for ac_func in _fabsl
50197 do :
50198 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
50199 if test "x$ac_cv_func__fabsl" = x""yes; then :
50200 cat >>confdefs.h <<_ACEOF
50201 #define HAVE__FABSL 1
50202 _ACEOF
50205 done
50214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
50215 $as_echo_n "checking for fmodl declaration... " >&6; }
50216 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
50217 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
50218 $as_echo_n "(cached) " >&6
50219 else
50222 ac_ext=cpp
50223 ac_cpp='$CXXCPP $CPPFLAGS'
50224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50229 /* end confdefs.h. */
50230 #include <math.h>
50232 main ()
50234 fmodl(0, 0);
50236 return 0;
50238 _ACEOF
50239 if ac_fn_cxx_try_compile "$LINENO"; then :
50240 glibcxx_cv_func_fmodl_use=yes
50241 else
50242 glibcxx_cv_func_fmodl_use=no
50244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50245 ac_ext=c
50246 ac_cpp='$CPP $CPPFLAGS'
50247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
50256 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
50258 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
50259 for ac_func in fmodl
50260 do :
50261 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
50262 if test "x$ac_cv_func_fmodl" = x""yes; then :
50263 cat >>confdefs.h <<_ACEOF
50264 #define HAVE_FMODL 1
50265 _ACEOF
50268 done
50270 else
50272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
50273 $as_echo_n "checking for _fmodl declaration... " >&6; }
50274 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
50275 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
50276 $as_echo_n "(cached) " >&6
50277 else
50280 ac_ext=cpp
50281 ac_cpp='$CXXCPP $CPPFLAGS'
50282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50287 /* end confdefs.h. */
50288 #include <math.h>
50290 main ()
50292 _fmodl(0, 0);
50294 return 0;
50296 _ACEOF
50297 if ac_fn_cxx_try_compile "$LINENO"; then :
50298 glibcxx_cv_func__fmodl_use=yes
50299 else
50300 glibcxx_cv_func__fmodl_use=no
50302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50303 ac_ext=c
50304 ac_cpp='$CPP $CPPFLAGS'
50305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
50314 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
50316 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
50317 for ac_func in _fmodl
50318 do :
50319 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
50320 if test "x$ac_cv_func__fmodl" = x""yes; then :
50321 cat >>confdefs.h <<_ACEOF
50322 #define HAVE__FMODL 1
50323 _ACEOF
50326 done
50335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
50336 $as_echo_n "checking for frexpl declaration... " >&6; }
50337 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
50338 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
50339 $as_echo_n "(cached) " >&6
50340 else
50343 ac_ext=cpp
50344 ac_cpp='$CXXCPP $CPPFLAGS'
50345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50350 /* end confdefs.h. */
50351 #include <math.h>
50353 main ()
50355 frexpl(0, 0);
50357 return 0;
50359 _ACEOF
50360 if ac_fn_cxx_try_compile "$LINENO"; then :
50361 glibcxx_cv_func_frexpl_use=yes
50362 else
50363 glibcxx_cv_func_frexpl_use=no
50365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50366 ac_ext=c
50367 ac_cpp='$CPP $CPPFLAGS'
50368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
50377 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
50379 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
50380 for ac_func in frexpl
50381 do :
50382 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
50383 if test "x$ac_cv_func_frexpl" = x""yes; then :
50384 cat >>confdefs.h <<_ACEOF
50385 #define HAVE_FREXPL 1
50386 _ACEOF
50389 done
50391 else
50393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
50394 $as_echo_n "checking for _frexpl declaration... " >&6; }
50395 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
50396 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
50397 $as_echo_n "(cached) " >&6
50398 else
50401 ac_ext=cpp
50402 ac_cpp='$CXXCPP $CPPFLAGS'
50403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50408 /* end confdefs.h. */
50409 #include <math.h>
50411 main ()
50413 _frexpl(0, 0);
50415 return 0;
50417 _ACEOF
50418 if ac_fn_cxx_try_compile "$LINENO"; then :
50419 glibcxx_cv_func__frexpl_use=yes
50420 else
50421 glibcxx_cv_func__frexpl_use=no
50423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50424 ac_ext=c
50425 ac_cpp='$CPP $CPPFLAGS'
50426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
50435 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
50437 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
50438 for ac_func in _frexpl
50439 do :
50440 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
50441 if test "x$ac_cv_func__frexpl" = x""yes; then :
50442 cat >>confdefs.h <<_ACEOF
50443 #define HAVE__FREXPL 1
50444 _ACEOF
50447 done
50456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
50457 $as_echo_n "checking for hypotl declaration... " >&6; }
50458 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
50459 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
50460 $as_echo_n "(cached) " >&6
50461 else
50464 ac_ext=cpp
50465 ac_cpp='$CXXCPP $CPPFLAGS'
50466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50471 /* end confdefs.h. */
50472 #include <math.h>
50474 main ()
50476 hypotl(0, 0);
50478 return 0;
50480 _ACEOF
50481 if ac_fn_cxx_try_compile "$LINENO"; then :
50482 glibcxx_cv_func_hypotl_use=yes
50483 else
50484 glibcxx_cv_func_hypotl_use=no
50486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50487 ac_ext=c
50488 ac_cpp='$CPP $CPPFLAGS'
50489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
50498 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
50500 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
50501 for ac_func in hypotl
50502 do :
50503 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
50504 if test "x$ac_cv_func_hypotl" = x""yes; then :
50505 cat >>confdefs.h <<_ACEOF
50506 #define HAVE_HYPOTL 1
50507 _ACEOF
50510 done
50512 else
50514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
50515 $as_echo_n "checking for _hypotl declaration... " >&6; }
50516 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
50517 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
50518 $as_echo_n "(cached) " >&6
50519 else
50522 ac_ext=cpp
50523 ac_cpp='$CXXCPP $CPPFLAGS'
50524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50529 /* end confdefs.h. */
50530 #include <math.h>
50532 main ()
50534 _hypotl(0, 0);
50536 return 0;
50538 _ACEOF
50539 if ac_fn_cxx_try_compile "$LINENO"; then :
50540 glibcxx_cv_func__hypotl_use=yes
50541 else
50542 glibcxx_cv_func__hypotl_use=no
50544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50545 ac_ext=c
50546 ac_cpp='$CPP $CPPFLAGS'
50547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
50556 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
50558 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
50559 for ac_func in _hypotl
50560 do :
50561 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
50562 if test "x$ac_cv_func__hypotl" = x""yes; then :
50563 cat >>confdefs.h <<_ACEOF
50564 #define HAVE__HYPOTL 1
50565 _ACEOF
50568 done
50577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
50578 $as_echo_n "checking for ldexpl declaration... " >&6; }
50579 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
50580 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
50581 $as_echo_n "(cached) " >&6
50582 else
50585 ac_ext=cpp
50586 ac_cpp='$CXXCPP $CPPFLAGS'
50587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50592 /* end confdefs.h. */
50593 #include <math.h>
50595 main ()
50597 ldexpl(0, 0);
50599 return 0;
50601 _ACEOF
50602 if ac_fn_cxx_try_compile "$LINENO"; then :
50603 glibcxx_cv_func_ldexpl_use=yes
50604 else
50605 glibcxx_cv_func_ldexpl_use=no
50607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50608 ac_ext=c
50609 ac_cpp='$CPP $CPPFLAGS'
50610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
50619 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
50621 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
50622 for ac_func in ldexpl
50623 do :
50624 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
50625 if test "x$ac_cv_func_ldexpl" = x""yes; then :
50626 cat >>confdefs.h <<_ACEOF
50627 #define HAVE_LDEXPL 1
50628 _ACEOF
50631 done
50633 else
50635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
50636 $as_echo_n "checking for _ldexpl declaration... " >&6; }
50637 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
50638 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
50639 $as_echo_n "(cached) " >&6
50640 else
50643 ac_ext=cpp
50644 ac_cpp='$CXXCPP $CPPFLAGS'
50645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50650 /* end confdefs.h. */
50651 #include <math.h>
50653 main ()
50655 _ldexpl(0, 0);
50657 return 0;
50659 _ACEOF
50660 if ac_fn_cxx_try_compile "$LINENO"; then :
50661 glibcxx_cv_func__ldexpl_use=yes
50662 else
50663 glibcxx_cv_func__ldexpl_use=no
50665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50666 ac_ext=c
50667 ac_cpp='$CPP $CPPFLAGS'
50668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
50677 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
50679 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
50680 for ac_func in _ldexpl
50681 do :
50682 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
50683 if test "x$ac_cv_func__ldexpl" = x""yes; then :
50684 cat >>confdefs.h <<_ACEOF
50685 #define HAVE__LDEXPL 1
50686 _ACEOF
50689 done
50698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
50699 $as_echo_n "checking for logl declaration... " >&6; }
50700 if test x${glibcxx_cv_func_logl_use+set} != xset; then
50701 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
50702 $as_echo_n "(cached) " >&6
50703 else
50706 ac_ext=cpp
50707 ac_cpp='$CXXCPP $CPPFLAGS'
50708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50713 /* end confdefs.h. */
50714 #include <math.h>
50715 #ifdef HAVE_IEEEFP_H
50716 #include <ieeefp.h>
50717 #endif
50720 main ()
50722 logl(0);
50724 return 0;
50726 _ACEOF
50727 if ac_fn_cxx_try_compile "$LINENO"; then :
50728 glibcxx_cv_func_logl_use=yes
50729 else
50730 glibcxx_cv_func_logl_use=no
50732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50733 ac_ext=c
50734 ac_cpp='$CPP $CPPFLAGS'
50735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
50744 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
50746 if test x$glibcxx_cv_func_logl_use = x"yes"; then
50747 for ac_func in logl
50748 do :
50749 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
50750 if test "x$ac_cv_func_logl" = x""yes; then :
50751 cat >>confdefs.h <<_ACEOF
50752 #define HAVE_LOGL 1
50753 _ACEOF
50756 done
50758 else
50760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
50761 $as_echo_n "checking for _logl declaration... " >&6; }
50762 if test x${glibcxx_cv_func__logl_use+set} != xset; then
50763 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
50764 $as_echo_n "(cached) " >&6
50765 else
50768 ac_ext=cpp
50769 ac_cpp='$CXXCPP $CPPFLAGS'
50770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50775 /* end confdefs.h. */
50776 #include <math.h>
50777 #ifdef HAVE_IEEEFP_H
50778 #include <ieeefp.h>
50779 #endif
50782 main ()
50784 _logl(0);
50786 return 0;
50788 _ACEOF
50789 if ac_fn_cxx_try_compile "$LINENO"; then :
50790 glibcxx_cv_func__logl_use=yes
50791 else
50792 glibcxx_cv_func__logl_use=no
50794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50795 ac_ext=c
50796 ac_cpp='$CPP $CPPFLAGS'
50797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
50806 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
50808 if test x$glibcxx_cv_func__logl_use = x"yes"; then
50809 for ac_func in _logl
50810 do :
50811 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
50812 if test "x$ac_cv_func__logl" = x""yes; then :
50813 cat >>confdefs.h <<_ACEOF
50814 #define HAVE__LOGL 1
50815 _ACEOF
50818 done
50827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
50828 $as_echo_n "checking for log10l declaration... " >&6; }
50829 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
50830 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
50831 $as_echo_n "(cached) " >&6
50832 else
50835 ac_ext=cpp
50836 ac_cpp='$CXXCPP $CPPFLAGS'
50837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50842 /* end confdefs.h. */
50843 #include <math.h>
50844 #ifdef HAVE_IEEEFP_H
50845 #include <ieeefp.h>
50846 #endif
50849 main ()
50851 log10l(0);
50853 return 0;
50855 _ACEOF
50856 if ac_fn_cxx_try_compile "$LINENO"; then :
50857 glibcxx_cv_func_log10l_use=yes
50858 else
50859 glibcxx_cv_func_log10l_use=no
50861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50862 ac_ext=c
50863 ac_cpp='$CPP $CPPFLAGS'
50864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
50873 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
50875 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
50876 for ac_func in log10l
50877 do :
50878 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
50879 if test "x$ac_cv_func_log10l" = x""yes; then :
50880 cat >>confdefs.h <<_ACEOF
50881 #define HAVE_LOG10L 1
50882 _ACEOF
50885 done
50887 else
50889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
50890 $as_echo_n "checking for _log10l declaration... " >&6; }
50891 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
50892 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
50893 $as_echo_n "(cached) " >&6
50894 else
50897 ac_ext=cpp
50898 ac_cpp='$CXXCPP $CPPFLAGS'
50899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50904 /* end confdefs.h. */
50905 #include <math.h>
50906 #ifdef HAVE_IEEEFP_H
50907 #include <ieeefp.h>
50908 #endif
50911 main ()
50913 _log10l(0);
50915 return 0;
50917 _ACEOF
50918 if ac_fn_cxx_try_compile "$LINENO"; then :
50919 glibcxx_cv_func__log10l_use=yes
50920 else
50921 glibcxx_cv_func__log10l_use=no
50923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50924 ac_ext=c
50925 ac_cpp='$CPP $CPPFLAGS'
50926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
50935 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
50937 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
50938 for ac_func in _log10l
50939 do :
50940 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
50941 if test "x$ac_cv_func__log10l" = x""yes; then :
50942 cat >>confdefs.h <<_ACEOF
50943 #define HAVE__LOG10L 1
50944 _ACEOF
50947 done
50956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
50957 $as_echo_n "checking for modfl declaration... " >&6; }
50958 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
50959 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
50960 $as_echo_n "(cached) " >&6
50961 else
50964 ac_ext=cpp
50965 ac_cpp='$CXXCPP $CPPFLAGS'
50966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50971 /* end confdefs.h. */
50972 #include <math.h>
50974 main ()
50976 modfl(0, 0);
50978 return 0;
50980 _ACEOF
50981 if ac_fn_cxx_try_compile "$LINENO"; then :
50982 glibcxx_cv_func_modfl_use=yes
50983 else
50984 glibcxx_cv_func_modfl_use=no
50986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50987 ac_ext=c
50988 ac_cpp='$CPP $CPPFLAGS'
50989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
50998 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
51000 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
51001 for ac_func in modfl
51002 do :
51003 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
51004 if test "x$ac_cv_func_modfl" = x""yes; then :
51005 cat >>confdefs.h <<_ACEOF
51006 #define HAVE_MODFL 1
51007 _ACEOF
51010 done
51012 else
51014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
51015 $as_echo_n "checking for _modfl declaration... " >&6; }
51016 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
51017 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
51018 $as_echo_n "(cached) " >&6
51019 else
51022 ac_ext=cpp
51023 ac_cpp='$CXXCPP $CPPFLAGS'
51024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51029 /* end confdefs.h. */
51030 #include <math.h>
51032 main ()
51034 _modfl(0, 0);
51036 return 0;
51038 _ACEOF
51039 if ac_fn_cxx_try_compile "$LINENO"; then :
51040 glibcxx_cv_func__modfl_use=yes
51041 else
51042 glibcxx_cv_func__modfl_use=no
51044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51045 ac_ext=c
51046 ac_cpp='$CPP $CPPFLAGS'
51047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
51056 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
51058 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
51059 for ac_func in _modfl
51060 do :
51061 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
51062 if test "x$ac_cv_func__modfl" = x""yes; then :
51063 cat >>confdefs.h <<_ACEOF
51064 #define HAVE__MODFL 1
51065 _ACEOF
51068 done
51077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
51078 $as_echo_n "checking for powl declaration... " >&6; }
51079 if test x${glibcxx_cv_func_powl_use+set} != xset; then
51080 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
51081 $as_echo_n "(cached) " >&6
51082 else
51085 ac_ext=cpp
51086 ac_cpp='$CXXCPP $CPPFLAGS'
51087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51092 /* end confdefs.h. */
51093 #include <math.h>
51095 main ()
51097 powl(0, 0);
51099 return 0;
51101 _ACEOF
51102 if ac_fn_cxx_try_compile "$LINENO"; then :
51103 glibcxx_cv_func_powl_use=yes
51104 else
51105 glibcxx_cv_func_powl_use=no
51107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51108 ac_ext=c
51109 ac_cpp='$CPP $CPPFLAGS'
51110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
51119 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
51121 if test x$glibcxx_cv_func_powl_use = x"yes"; then
51122 for ac_func in powl
51123 do :
51124 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
51125 if test "x$ac_cv_func_powl" = x""yes; then :
51126 cat >>confdefs.h <<_ACEOF
51127 #define HAVE_POWL 1
51128 _ACEOF
51131 done
51133 else
51135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
51136 $as_echo_n "checking for _powl declaration... " >&6; }
51137 if test x${glibcxx_cv_func__powl_use+set} != xset; then
51138 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
51139 $as_echo_n "(cached) " >&6
51140 else
51143 ac_ext=cpp
51144 ac_cpp='$CXXCPP $CPPFLAGS'
51145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51150 /* end confdefs.h. */
51151 #include <math.h>
51153 main ()
51155 _powl(0, 0);
51157 return 0;
51159 _ACEOF
51160 if ac_fn_cxx_try_compile "$LINENO"; then :
51161 glibcxx_cv_func__powl_use=yes
51162 else
51163 glibcxx_cv_func__powl_use=no
51165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51166 ac_ext=c
51167 ac_cpp='$CPP $CPPFLAGS'
51168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
51177 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
51179 if test x$glibcxx_cv_func__powl_use = x"yes"; then
51180 for ac_func in _powl
51181 do :
51182 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
51183 if test "x$ac_cv_func__powl" = x""yes; then :
51184 cat >>confdefs.h <<_ACEOF
51185 #define HAVE__POWL 1
51186 _ACEOF
51189 done
51198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
51199 $as_echo_n "checking for sqrtl declaration... " >&6; }
51200 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
51201 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
51202 $as_echo_n "(cached) " >&6
51203 else
51206 ac_ext=cpp
51207 ac_cpp='$CXXCPP $CPPFLAGS'
51208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51213 /* end confdefs.h. */
51214 #include <math.h>
51215 #ifdef HAVE_IEEEFP_H
51216 #include <ieeefp.h>
51217 #endif
51220 main ()
51222 sqrtl(0);
51224 return 0;
51226 _ACEOF
51227 if ac_fn_cxx_try_compile "$LINENO"; then :
51228 glibcxx_cv_func_sqrtl_use=yes
51229 else
51230 glibcxx_cv_func_sqrtl_use=no
51232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51233 ac_ext=c
51234 ac_cpp='$CPP $CPPFLAGS'
51235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
51244 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
51246 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
51247 for ac_func in sqrtl
51248 do :
51249 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
51250 if test "x$ac_cv_func_sqrtl" = x""yes; then :
51251 cat >>confdefs.h <<_ACEOF
51252 #define HAVE_SQRTL 1
51253 _ACEOF
51256 done
51258 else
51260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
51261 $as_echo_n "checking for _sqrtl declaration... " >&6; }
51262 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
51263 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
51264 $as_echo_n "(cached) " >&6
51265 else
51268 ac_ext=cpp
51269 ac_cpp='$CXXCPP $CPPFLAGS'
51270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51275 /* end confdefs.h. */
51276 #include <math.h>
51277 #ifdef HAVE_IEEEFP_H
51278 #include <ieeefp.h>
51279 #endif
51282 main ()
51284 _sqrtl(0);
51286 return 0;
51288 _ACEOF
51289 if ac_fn_cxx_try_compile "$LINENO"; then :
51290 glibcxx_cv_func__sqrtl_use=yes
51291 else
51292 glibcxx_cv_func__sqrtl_use=no
51294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51295 ac_ext=c
51296 ac_cpp='$CPP $CPPFLAGS'
51297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
51306 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
51308 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
51309 for ac_func in _sqrtl
51310 do :
51311 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
51312 if test "x$ac_cv_func__sqrtl" = x""yes; then :
51313 cat >>confdefs.h <<_ACEOF
51314 #define HAVE__SQRTL 1
51315 _ACEOF
51318 done
51327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
51328 $as_echo_n "checking for sincosl declaration... " >&6; }
51329 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
51330 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
51331 $as_echo_n "(cached) " >&6
51332 else
51335 ac_ext=cpp
51336 ac_cpp='$CXXCPP $CPPFLAGS'
51337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51342 /* end confdefs.h. */
51343 #include <math.h>
51345 main ()
51347 sincosl(0, 0, 0);
51349 return 0;
51351 _ACEOF
51352 if ac_fn_cxx_try_compile "$LINENO"; then :
51353 glibcxx_cv_func_sincosl_use=yes
51354 else
51355 glibcxx_cv_func_sincosl_use=no
51357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51358 ac_ext=c
51359 ac_cpp='$CPP $CPPFLAGS'
51360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
51369 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
51371 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
51372 for ac_func in sincosl
51373 do :
51374 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
51375 if test "x$ac_cv_func_sincosl" = x""yes; then :
51376 cat >>confdefs.h <<_ACEOF
51377 #define HAVE_SINCOSL 1
51378 _ACEOF
51381 done
51383 else
51385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
51386 $as_echo_n "checking for _sincosl declaration... " >&6; }
51387 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
51388 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
51389 $as_echo_n "(cached) " >&6
51390 else
51393 ac_ext=cpp
51394 ac_cpp='$CXXCPP $CPPFLAGS'
51395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51400 /* end confdefs.h. */
51401 #include <math.h>
51403 main ()
51405 _sincosl(0, 0, 0);
51407 return 0;
51409 _ACEOF
51410 if ac_fn_cxx_try_compile "$LINENO"; then :
51411 glibcxx_cv_func__sincosl_use=yes
51412 else
51413 glibcxx_cv_func__sincosl_use=no
51415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51416 ac_ext=c
51417 ac_cpp='$CPP $CPPFLAGS'
51418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
51427 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
51429 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
51430 for ac_func in _sincosl
51431 do :
51432 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
51433 if test "x$ac_cv_func__sincosl" = x""yes; then :
51434 cat >>confdefs.h <<_ACEOF
51435 #define HAVE__SINCOSL 1
51436 _ACEOF
51439 done
51448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
51449 $as_echo_n "checking for finitel declaration... " >&6; }
51450 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
51451 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
51452 $as_echo_n "(cached) " >&6
51453 else
51456 ac_ext=cpp
51457 ac_cpp='$CXXCPP $CPPFLAGS'
51458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51463 /* end confdefs.h. */
51464 #include <math.h>
51465 #ifdef HAVE_IEEEFP_H
51466 #include <ieeefp.h>
51467 #endif
51470 main ()
51472 finitel(0);
51474 return 0;
51476 _ACEOF
51477 if ac_fn_cxx_try_compile "$LINENO"; then :
51478 glibcxx_cv_func_finitel_use=yes
51479 else
51480 glibcxx_cv_func_finitel_use=no
51482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51483 ac_ext=c
51484 ac_cpp='$CPP $CPPFLAGS'
51485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
51494 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
51496 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
51497 for ac_func in finitel
51498 do :
51499 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
51500 if test "x$ac_cv_func_finitel" = x""yes; then :
51501 cat >>confdefs.h <<_ACEOF
51502 #define HAVE_FINITEL 1
51503 _ACEOF
51506 done
51508 else
51510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
51511 $as_echo_n "checking for _finitel declaration... " >&6; }
51512 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
51513 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
51514 $as_echo_n "(cached) " >&6
51515 else
51518 ac_ext=cpp
51519 ac_cpp='$CXXCPP $CPPFLAGS'
51520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51525 /* end confdefs.h. */
51526 #include <math.h>
51527 #ifdef HAVE_IEEEFP_H
51528 #include <ieeefp.h>
51529 #endif
51532 main ()
51534 _finitel(0);
51536 return 0;
51538 _ACEOF
51539 if ac_fn_cxx_try_compile "$LINENO"; then :
51540 glibcxx_cv_func__finitel_use=yes
51541 else
51542 glibcxx_cv_func__finitel_use=no
51544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51545 ac_ext=c
51546 ac_cpp='$CPP $CPPFLAGS'
51547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
51556 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
51558 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
51559 for ac_func in _finitel
51560 do :
51561 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
51562 if test "x$ac_cv_func__finitel" = x""yes; then :
51563 cat >>confdefs.h <<_ACEOF
51564 #define HAVE__FINITEL 1
51565 _ACEOF
51568 done
51576 LIBS="$ac_save_LIBS"
51577 CXXFLAGS="$ac_save_CXXFLAGS"
51580 ac_test_CXXFLAGS="${CXXFLAGS+set}"
51581 ac_save_CXXFLAGS="$CXXFLAGS"
51582 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
51586 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
51587 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
51588 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
51589 $as_echo_n "(cached) " >&6
51590 else
51593 ac_ext=cpp
51594 ac_cpp='$CXXCPP $CPPFLAGS'
51595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51600 /* end confdefs.h. */
51601 #include <stdlib.h>
51603 main ()
51605 at_quick_exit(0);
51607 return 0;
51609 _ACEOF
51610 if ac_fn_cxx_try_compile "$LINENO"; then :
51611 glibcxx_cv_func_at_quick_exit_use=yes
51612 else
51613 glibcxx_cv_func_at_quick_exit_use=no
51615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51616 ac_ext=c
51617 ac_cpp='$CPP $CPPFLAGS'
51618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
51627 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
51628 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
51629 for ac_func in at_quick_exit
51630 do :
51631 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
51632 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
51633 cat >>confdefs.h <<_ACEOF
51634 #define HAVE_AT_QUICK_EXIT 1
51635 _ACEOF
51638 done
51643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
51644 $as_echo_n "checking for quick_exit declaration... " >&6; }
51645 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
51646 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
51647 $as_echo_n "(cached) " >&6
51648 else
51651 ac_ext=cpp
51652 ac_cpp='$CXXCPP $CPPFLAGS'
51653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51658 /* end confdefs.h. */
51659 #include <stdlib.h>
51661 main ()
51663 quick_exit(0);
51665 return 0;
51667 _ACEOF
51668 if ac_fn_cxx_try_compile "$LINENO"; then :
51669 glibcxx_cv_func_quick_exit_use=yes
51670 else
51671 glibcxx_cv_func_quick_exit_use=no
51673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51674 ac_ext=c
51675 ac_cpp='$CPP $CPPFLAGS'
51676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
51685 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
51686 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
51687 for ac_func in quick_exit
51688 do :
51689 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
51690 if test "x$ac_cv_func_quick_exit" = x""yes; then :
51691 cat >>confdefs.h <<_ACEOF
51692 #define HAVE_QUICK_EXIT 1
51693 _ACEOF
51696 done
51701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
51702 $as_echo_n "checking for strtold declaration... " >&6; }
51703 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
51704 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
51705 $as_echo_n "(cached) " >&6
51706 else
51709 ac_ext=cpp
51710 ac_cpp='$CXXCPP $CPPFLAGS'
51711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51716 /* end confdefs.h. */
51717 #include <stdlib.h>
51719 main ()
51721 strtold(0, 0);
51723 return 0;
51725 _ACEOF
51726 if ac_fn_cxx_try_compile "$LINENO"; then :
51727 glibcxx_cv_func_strtold_use=yes
51728 else
51729 glibcxx_cv_func_strtold_use=no
51731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51732 ac_ext=c
51733 ac_cpp='$CPP $CPPFLAGS'
51734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
51743 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
51744 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
51745 for ac_func in strtold
51746 do :
51747 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
51748 if test "x$ac_cv_func_strtold" = x""yes; then :
51749 cat >>confdefs.h <<_ACEOF
51750 #define HAVE_STRTOLD 1
51751 _ACEOF
51754 done
51761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
51762 $as_echo_n "checking for strtof declaration... " >&6; }
51763 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
51764 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
51765 $as_echo_n "(cached) " >&6
51766 else
51769 ac_ext=cpp
51770 ac_cpp='$CXXCPP $CPPFLAGS'
51771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51776 /* end confdefs.h. */
51777 #include <stdlib.h>
51779 main ()
51781 strtof(0, 0);
51783 return 0;
51785 _ACEOF
51786 if ac_fn_cxx_try_compile "$LINENO"; then :
51787 glibcxx_cv_func_strtof_use=yes
51788 else
51789 glibcxx_cv_func_strtof_use=no
51791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51792 ac_ext=c
51793 ac_cpp='$CPP $CPPFLAGS'
51794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
51803 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
51804 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
51805 for ac_func in strtof
51806 do :
51807 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
51808 if test "x$ac_cv_func_strtof" = x""yes; then :
51809 cat >>confdefs.h <<_ACEOF
51810 #define HAVE_STRTOF 1
51811 _ACEOF
51814 done
51821 CXXFLAGS="$ac_save_CXXFLAGS"
51825 *djgpp)
51826 # GLIBCXX_CHECK_MATH_SUPPORT
51827 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
51829 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
51831 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
51833 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
51835 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
51839 *-freebsd*)
51840 SECTION_FLAGS='-ffunction-sections -fdata-sections'
51843 # If we're not using GNU ld, then there's no point in even trying these
51844 # tests. Check for that first. We should have already tested for gld
51845 # by now (in libtool), but require it now just to be safe...
51846 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
51847 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
51851 # The name set by libtool depends on the version of libtool. Shame on us
51852 # for depending on an impl detail, but c'est la vie. Older versions used
51853 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
51854 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
51855 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
51856 # set (hence we're using an older libtool), then set it.
51857 if test x${with_gnu_ld+set} != xset; then
51858 if test x${ac_cv_prog_gnu_ld+set} != xset; then
51859 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
51860 with_gnu_ld=no
51861 else
51862 with_gnu_ld=$ac_cv_prog_gnu_ld
51866 # Start by getting the version number. I think the libtool test already
51867 # does some of this, but throws away the result.
51868 glibcxx_ld_is_gold=no
51869 if test x"$with_gnu_ld" = x"yes"; then
51870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
51871 $as_echo_n "checking for ld version... " >&6; }
51873 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
51874 glibcxx_ld_is_gold=yes
51876 ldver=`$LD --version 2>/dev/null |
51877 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'`
51879 glibcxx_gnu_ld_version=`echo $ldver | \
51880 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
51881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
51882 $as_echo "$glibcxx_gnu_ld_version" >&6; }
51885 # Set --gc-sections.
51886 glibcxx_have_gc_sections=no
51887 if test "$glibcxx_ld_is_gold" = "yes"; then
51888 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
51889 glibcxx_have_gc_sections=yes
51891 else
51892 glibcxx_gcsections_min_ld=21602
51893 if test x"$with_gnu_ld" = x"yes" &&
51894 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
51895 glibcxx_have_gc_sections=yes
51898 if test "$glibcxx_have_gc_sections" = "yes"; then
51899 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
51900 # NB: This flag only works reliably after 2.16.1. Configure tests
51901 # for this are difficult, so hard wire a value that should work.
51903 ac_test_CFLAGS="${CFLAGS+set}"
51904 ac_save_CFLAGS="$CFLAGS"
51905 CFLAGS='-Wl,--gc-sections'
51907 # Check for -Wl,--gc-sections
51908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
51909 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
51910 if test x$gcc_no_link = xyes; then
51911 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51914 /* end confdefs.h. */
51915 int one(void) { return 1; }
51916 int two(void) { return 2; }
51919 main ()
51921 two();
51923 return 0;
51925 _ACEOF
51926 if ac_fn_c_try_link "$LINENO"; then :
51927 ac_gcsections=yes
51928 else
51929 ac_gcsections=no
51931 rm -f core conftest.err conftest.$ac_objext \
51932 conftest$ac_exeext conftest.$ac_ext
51933 if test "$ac_gcsections" = "yes"; then
51934 rm -f conftest.c
51935 touch conftest.c
51936 if $CC -c conftest.c; then
51937 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
51938 grep "Warning: gc-sections option ignored" > /dev/null; then
51939 ac_gcsections=no
51942 rm -f conftest.c conftest.o conftest
51944 if test "$ac_gcsections" = "yes"; then
51945 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
51947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
51948 $as_echo "$ac_gcsections" >&6; }
51950 if test "$ac_test_CFLAGS" = set; then
51951 CFLAGS="$ac_save_CFLAGS"
51952 else
51953 # this is the suspicious part
51954 CFLAGS=''
51958 # Set -z,relro.
51959 # Note this is only for shared objects.
51960 ac_ld_relro=no
51961 if test x"$with_gnu_ld" = x"yes"; then
51962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
51963 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
51964 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
51965 if test -n "$cxx_z_relo"; then
51966 OPT_LDFLAGS="-Wl,-z,relro"
51967 ac_ld_relro=yes
51969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
51970 $as_echo "$ac_ld_relro" >&6; }
51973 # Set linker optimization flags.
51974 if test x"$with_gnu_ld" = x"yes"; then
51975 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
51981 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
51983 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
51985 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
51987 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
51989 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
51991 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
51993 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
51995 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
51997 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
52000 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
52002 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
52004 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
52006 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
52008 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
52010 $as_echo "#define HAVE_COSF 1" >>confdefs.h
52012 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
52014 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
52016 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
52018 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
52020 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
52022 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
52024 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
52026 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
52028 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
52030 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
52032 $as_echo "#define HAVE_POWF 1" >>confdefs.h
52034 $as_echo "#define HAVE_SINF 1" >>confdefs.h
52036 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
52038 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
52040 $as_echo "#define HAVE_TANF 1" >>confdefs.h
52042 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
52044 if test x"long_double_math_on_this_cpu" = x"yes"; then
52045 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
52047 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
52049 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
52053 *-hpux*)
52054 SECTION_FLAGS='-ffunction-sections -fdata-sections'
52057 # If we're not using GNU ld, then there's no point in even trying these
52058 # tests. Check for that first. We should have already tested for gld
52059 # by now (in libtool), but require it now just to be safe...
52060 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
52061 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
52065 # The name set by libtool depends on the version of libtool. Shame on us
52066 # for depending on an impl detail, but c'est la vie. Older versions used
52067 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
52068 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
52069 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
52070 # set (hence we're using an older libtool), then set it.
52071 if test x${with_gnu_ld+set} != xset; then
52072 if test x${ac_cv_prog_gnu_ld+set} != xset; then
52073 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
52074 with_gnu_ld=no
52075 else
52076 with_gnu_ld=$ac_cv_prog_gnu_ld
52080 # Start by getting the version number. I think the libtool test already
52081 # does some of this, but throws away the result.
52082 glibcxx_ld_is_gold=no
52083 if test x"$with_gnu_ld" = x"yes"; then
52084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
52085 $as_echo_n "checking for ld version... " >&6; }
52087 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
52088 glibcxx_ld_is_gold=yes
52090 ldver=`$LD --version 2>/dev/null |
52091 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'`
52093 glibcxx_gnu_ld_version=`echo $ldver | \
52094 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
52095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
52096 $as_echo "$glibcxx_gnu_ld_version" >&6; }
52099 # Set --gc-sections.
52100 glibcxx_have_gc_sections=no
52101 if test "$glibcxx_ld_is_gold" = "yes"; then
52102 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
52103 glibcxx_have_gc_sections=yes
52105 else
52106 glibcxx_gcsections_min_ld=21602
52107 if test x"$with_gnu_ld" = x"yes" &&
52108 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
52109 glibcxx_have_gc_sections=yes
52112 if test "$glibcxx_have_gc_sections" = "yes"; then
52113 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
52114 # NB: This flag only works reliably after 2.16.1. Configure tests
52115 # for this are difficult, so hard wire a value that should work.
52117 ac_test_CFLAGS="${CFLAGS+set}"
52118 ac_save_CFLAGS="$CFLAGS"
52119 CFLAGS='-Wl,--gc-sections'
52121 # Check for -Wl,--gc-sections
52122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
52123 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
52124 if test x$gcc_no_link = xyes; then
52125 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52128 /* end confdefs.h. */
52129 int one(void) { return 1; }
52130 int two(void) { return 2; }
52133 main ()
52135 two();
52137 return 0;
52139 _ACEOF
52140 if ac_fn_c_try_link "$LINENO"; then :
52141 ac_gcsections=yes
52142 else
52143 ac_gcsections=no
52145 rm -f core conftest.err conftest.$ac_objext \
52146 conftest$ac_exeext conftest.$ac_ext
52147 if test "$ac_gcsections" = "yes"; then
52148 rm -f conftest.c
52149 touch conftest.c
52150 if $CC -c conftest.c; then
52151 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
52152 grep "Warning: gc-sections option ignored" > /dev/null; then
52153 ac_gcsections=no
52156 rm -f conftest.c conftest.o conftest
52158 if test "$ac_gcsections" = "yes"; then
52159 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
52161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
52162 $as_echo "$ac_gcsections" >&6; }
52164 if test "$ac_test_CFLAGS" = set; then
52165 CFLAGS="$ac_save_CFLAGS"
52166 else
52167 # this is the suspicious part
52168 CFLAGS=''
52172 # Set -z,relro.
52173 # Note this is only for shared objects.
52174 ac_ld_relro=no
52175 if test x"$with_gnu_ld" = x"yes"; then
52176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
52177 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
52178 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
52179 if test -n "$cxx_z_relo"; then
52180 OPT_LDFLAGS="-Wl,-z,relro"
52181 ac_ld_relro=yes
52183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
52184 $as_echo "$ac_ld_relro" >&6; }
52187 # Set linker optimization flags.
52188 if test x"$with_gnu_ld" = x"yes"; then
52189 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
52196 # GLIBCXX_CHECK_MATH_SUPPORT
52197 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
52199 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
52201 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
52203 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
52205 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
52207 $as_echo "#define HAVE_COSF 1" >>confdefs.h
52209 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
52211 $as_echo "#define HAVE_SINF 1" >>confdefs.h
52213 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
52215 $as_echo "#define HAVE_TANF 1" >>confdefs.h
52217 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
52219 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
52221 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
52223 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
52225 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
52227 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
52229 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
52231 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
52233 $as_echo "#define HAVE_MODF 1" >>confdefs.h
52235 $as_echo "#define HAVE_POWF 1" >>confdefs.h
52237 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
52240 # GLIBCXX_CHECK_STDLIB_SUPPORT
52241 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
52246 # Check whether --enable-tls was given.
52247 if test "${enable_tls+set}" = set; then :
52248 enableval=$enable_tls;
52249 case "$enableval" in
52250 yes|no) ;;
52251 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
52252 esac
52254 else
52255 enable_tls=yes
52259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
52260 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
52261 if test "${gcc_cv_have_tls+set}" = set; then :
52262 $as_echo_n "(cached) " >&6
52263 else
52265 if test "$cross_compiling" = yes; then :
52266 if test x$gcc_no_link = xyes; then
52267 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52270 /* end confdefs.h. */
52271 __thread int a; int b; int main() { return a = b; }
52272 _ACEOF
52273 if ac_fn_c_try_link "$LINENO"; then :
52274 chktls_save_LDFLAGS="$LDFLAGS"
52275 case $host in
52276 *-*-linux*)
52277 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
52279 esac
52280 chktls_save_CFLAGS="$CFLAGS"
52281 CFLAGS="-fPIC $CFLAGS"
52282 if test x$gcc_no_link = xyes; then
52283 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52286 /* end confdefs.h. */
52287 int f() { return 0; }
52288 _ACEOF
52289 if ac_fn_c_try_link "$LINENO"; then :
52290 if test x$gcc_no_link = xyes; then
52291 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52294 /* end confdefs.h. */
52295 __thread int a; int b; int f() { return a = b; }
52296 _ACEOF
52297 if ac_fn_c_try_link "$LINENO"; then :
52298 gcc_cv_have_tls=yes
52299 else
52300 gcc_cv_have_tls=no
52302 rm -f core conftest.err conftest.$ac_objext \
52303 conftest$ac_exeext conftest.$ac_ext
52304 else
52305 gcc_cv_have_tls=yes
52307 rm -f core conftest.err conftest.$ac_objext \
52308 conftest$ac_exeext conftest.$ac_ext
52309 CFLAGS="$chktls_save_CFLAGS"
52310 LDFLAGS="$chktls_save_LDFLAGS"
52311 else
52312 gcc_cv_have_tls=no
52314 rm -f core conftest.err conftest.$ac_objext \
52315 conftest$ac_exeext conftest.$ac_ext
52318 else
52319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52320 /* end confdefs.h. */
52321 __thread int a; int b; int main() { return a = b; }
52322 _ACEOF
52323 if ac_fn_c_try_run "$LINENO"; then :
52324 chktls_save_LDFLAGS="$LDFLAGS"
52325 LDFLAGS="-static $LDFLAGS"
52326 if test x$gcc_no_link = xyes; then
52327 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52330 /* end confdefs.h. */
52331 int main() { return 0; }
52332 _ACEOF
52333 if ac_fn_c_try_link "$LINENO"; then :
52334 if test "$cross_compiling" = yes; then :
52335 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
52336 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
52337 as_fn_error "cannot run test program while cross compiling
52338 See \`config.log' for more details." "$LINENO" 5; }
52339 else
52340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52341 /* end confdefs.h. */
52342 __thread int a; int b; int main() { return a = b; }
52343 _ACEOF
52344 if ac_fn_c_try_run "$LINENO"; then :
52345 gcc_cv_have_tls=yes
52346 else
52347 gcc_cv_have_tls=no
52349 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52350 conftest.$ac_objext conftest.beam conftest.$ac_ext
52353 else
52354 gcc_cv_have_tls=yes
52356 rm -f core conftest.err conftest.$ac_objext \
52357 conftest$ac_exeext conftest.$ac_ext
52358 LDFLAGS="$chktls_save_LDFLAGS"
52359 if test $gcc_cv_have_tls = yes; then
52360 chktls_save_CFLAGS="$CFLAGS"
52361 thread_CFLAGS=failed
52362 for flag in '' '-pthread' '-lpthread'; do
52363 CFLAGS="$flag $chktls_save_CFLAGS"
52364 if test x$gcc_no_link = xyes; then
52365 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52368 /* end confdefs.h. */
52369 #include <pthread.h>
52370 void *g(void *d) { return NULL; }
52372 main ()
52374 pthread_t t; pthread_create(&t,NULL,g,NULL);
52376 return 0;
52378 _ACEOF
52379 if ac_fn_c_try_link "$LINENO"; then :
52380 thread_CFLAGS="$flag"
52382 rm -f core conftest.err conftest.$ac_objext \
52383 conftest$ac_exeext conftest.$ac_ext
52384 if test "X$thread_CFLAGS" != Xfailed; then
52385 break
52387 done
52388 CFLAGS="$chktls_save_CFLAGS"
52389 if test "X$thread_CFLAGS" != Xfailed; then
52390 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
52391 if test "$cross_compiling" = yes; then :
52392 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
52393 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
52394 as_fn_error "cannot run test program while cross compiling
52395 See \`config.log' for more details." "$LINENO" 5; }
52396 else
52397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52398 /* end confdefs.h. */
52399 #include <pthread.h>
52400 __thread int a;
52401 static int *volatile a_in_other_thread;
52402 static void *
52403 thread_func (void *arg)
52405 a_in_other_thread = &a;
52406 return (void *)0;
52409 main ()
52411 pthread_t thread;
52412 void *thread_retval;
52413 int *volatile a_in_main_thread;
52414 a_in_main_thread = &a;
52415 if (pthread_create (&thread, (pthread_attr_t *)0,
52416 thread_func, (void *)0))
52417 return 0;
52418 if (pthread_join (thread, &thread_retval))
52419 return 0;
52420 return (a_in_other_thread == a_in_main_thread);
52422 return 0;
52424 _ACEOF
52425 if ac_fn_c_try_run "$LINENO"; then :
52426 gcc_cv_have_tls=yes
52427 else
52428 gcc_cv_have_tls=no
52430 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52431 conftest.$ac_objext conftest.beam conftest.$ac_ext
52434 CFLAGS="$chktls_save_CFLAGS"
52437 else
52438 gcc_cv_have_tls=no
52440 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52441 conftest.$ac_objext conftest.beam conftest.$ac_ext
52445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
52446 $as_echo "$gcc_cv_have_tls" >&6; }
52447 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
52449 $as_echo "#define HAVE_TLS 1" >>confdefs.h
52452 case "$target" in
52453 *-hpux10*)
52454 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
52456 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
52458 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
52460 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
52462 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
52465 esac
52467 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu | *-cygwin*)
52469 # All these tests are for C++; save the language and the compiler flags.
52470 # The CXXFLAGS thing is suspicious, but based on similar bits previously
52471 # found in GLIBCXX_CONFIGURE.
52473 ac_ext=cpp
52474 ac_cpp='$CXXCPP $CPPFLAGS'
52475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52479 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52480 ac_save_CXXFLAGS="$CXXFLAGS"
52482 # Check for maintainer-mode bits.
52483 if test x"$USE_MAINTAINER_MODE" = xno; then
52484 WERROR=''
52485 else
52486 WERROR='-Werror'
52489 # Check for -ffunction-sections -fdata-sections
52490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
52491 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
52492 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
52493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52494 /* end confdefs.h. */
52495 int foo; void bar() { };
52497 main ()
52501 return 0;
52503 _ACEOF
52504 if ac_fn_cxx_try_compile "$LINENO"; then :
52505 ac_fdsections=yes
52506 else
52507 ac_fdsections=no
52509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52510 if test "$ac_test_CXXFLAGS" = set; then
52511 CXXFLAGS="$ac_save_CXXFLAGS"
52512 else
52513 # this is the suspicious part
52514 CXXFLAGS=''
52516 if test x"$ac_fdsections" = x"yes"; then
52517 SECTION_FLAGS='-ffunction-sections -fdata-sections'
52519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
52520 $as_echo "$ac_fdsections" >&6; }
52522 ac_ext=c
52523 ac_cpp='$CPP $CPPFLAGS'
52524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52532 # If we're not using GNU ld, then there's no point in even trying these
52533 # tests. Check for that first. We should have already tested for gld
52534 # by now (in libtool), but require it now just to be safe...
52535 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
52536 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
52540 # The name set by libtool depends on the version of libtool. Shame on us
52541 # for depending on an impl detail, but c'est la vie. Older versions used
52542 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
52543 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
52544 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
52545 # set (hence we're using an older libtool), then set it.
52546 if test x${with_gnu_ld+set} != xset; then
52547 if test x${ac_cv_prog_gnu_ld+set} != xset; then
52548 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
52549 with_gnu_ld=no
52550 else
52551 with_gnu_ld=$ac_cv_prog_gnu_ld
52555 # Start by getting the version number. I think the libtool test already
52556 # does some of this, but throws away the result.
52557 glibcxx_ld_is_gold=no
52558 if test x"$with_gnu_ld" = x"yes"; then
52559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
52560 $as_echo_n "checking for ld version... " >&6; }
52562 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
52563 glibcxx_ld_is_gold=yes
52565 ldver=`$LD --version 2>/dev/null |
52566 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'`
52568 glibcxx_gnu_ld_version=`echo $ldver | \
52569 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
52570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
52571 $as_echo "$glibcxx_gnu_ld_version" >&6; }
52574 # Set --gc-sections.
52575 glibcxx_have_gc_sections=no
52576 if test "$glibcxx_ld_is_gold" = "yes"; then
52577 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
52578 glibcxx_have_gc_sections=yes
52580 else
52581 glibcxx_gcsections_min_ld=21602
52582 if test x"$with_gnu_ld" = x"yes" &&
52583 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
52584 glibcxx_have_gc_sections=yes
52587 if test "$glibcxx_have_gc_sections" = "yes"; then
52588 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
52589 # NB: This flag only works reliably after 2.16.1. Configure tests
52590 # for this are difficult, so hard wire a value that should work.
52592 ac_test_CFLAGS="${CFLAGS+set}"
52593 ac_save_CFLAGS="$CFLAGS"
52594 CFLAGS='-Wl,--gc-sections'
52596 # Check for -Wl,--gc-sections
52597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
52598 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
52599 if test x$gcc_no_link = xyes; then
52600 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52603 /* end confdefs.h. */
52604 int one(void) { return 1; }
52605 int two(void) { return 2; }
52608 main ()
52610 two();
52612 return 0;
52614 _ACEOF
52615 if ac_fn_c_try_link "$LINENO"; then :
52616 ac_gcsections=yes
52617 else
52618 ac_gcsections=no
52620 rm -f core conftest.err conftest.$ac_objext \
52621 conftest$ac_exeext conftest.$ac_ext
52622 if test "$ac_gcsections" = "yes"; then
52623 rm -f conftest.c
52624 touch conftest.c
52625 if $CC -c conftest.c; then
52626 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
52627 grep "Warning: gc-sections option ignored" > /dev/null; then
52628 ac_gcsections=no
52631 rm -f conftest.c conftest.o conftest
52633 if test "$ac_gcsections" = "yes"; then
52634 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
52636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
52637 $as_echo "$ac_gcsections" >&6; }
52639 if test "$ac_test_CFLAGS" = set; then
52640 CFLAGS="$ac_save_CFLAGS"
52641 else
52642 # this is the suspicious part
52643 CFLAGS=''
52647 # Set -z,relro.
52648 # Note this is only for shared objects.
52649 ac_ld_relro=no
52650 if test x"$with_gnu_ld" = x"yes"; then
52651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
52652 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
52653 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
52654 if test -n "$cxx_z_relo"; then
52655 OPT_LDFLAGS="-Wl,-z,relro"
52656 ac_ld_relro=yes
52658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
52659 $as_echo "$ac_ld_relro" >&6; }
52662 # Set linker optimization flags.
52663 if test x"$with_gnu_ld" = x"yes"; then
52664 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
52671 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52672 ac_save_CXXFLAGS="$CXXFLAGS"
52673 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
52675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
52676 $as_echo_n "checking for sin in -lm... " >&6; }
52677 if test "${ac_cv_lib_m_sin+set}" = set; then :
52678 $as_echo_n "(cached) " >&6
52679 else
52680 ac_check_lib_save_LIBS=$LIBS
52681 LIBS="-lm $LIBS"
52682 if test x$gcc_no_link = xyes; then
52683 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52686 /* end confdefs.h. */
52688 /* Override any GCC internal prototype to avoid an error.
52689 Use char because int might match the return type of a GCC
52690 builtin and then its argument prototype would still apply. */
52691 #ifdef __cplusplus
52692 extern "C"
52693 #endif
52694 char sin ();
52696 main ()
52698 return sin ();
52700 return 0;
52702 _ACEOF
52703 if ac_fn_c_try_link "$LINENO"; then :
52704 ac_cv_lib_m_sin=yes
52705 else
52706 ac_cv_lib_m_sin=no
52708 rm -f core conftest.err conftest.$ac_objext \
52709 conftest$ac_exeext conftest.$ac_ext
52710 LIBS=$ac_check_lib_save_LIBS
52712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
52713 $as_echo "$ac_cv_lib_m_sin" >&6; }
52714 if test "x$ac_cv_lib_m_sin" = x""yes; then :
52715 libm="-lm"
52718 ac_save_LIBS="$LIBS"
52719 LIBS="$LIBS $libm"
52723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
52724 $as_echo_n "checking for isinf declaration... " >&6; }
52725 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
52726 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
52727 $as_echo_n "(cached) " >&6
52728 else
52731 ac_ext=cpp
52732 ac_cpp='$CXXCPP $CPPFLAGS'
52733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52738 /* end confdefs.h. */
52739 #include <math.h>
52740 #ifdef HAVE_IEEEFP_H
52741 #include <ieeefp.h>
52742 #endif
52745 main ()
52747 isinf(0);
52749 return 0;
52751 _ACEOF
52752 if ac_fn_cxx_try_compile "$LINENO"; then :
52753 glibcxx_cv_func_isinf_use=yes
52754 else
52755 glibcxx_cv_func_isinf_use=no
52757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52758 ac_ext=c
52759 ac_cpp='$CPP $CPPFLAGS'
52760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
52769 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
52771 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
52772 for ac_func in isinf
52773 do :
52774 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
52775 if test "x$ac_cv_func_isinf" = x""yes; then :
52776 cat >>confdefs.h <<_ACEOF
52777 #define HAVE_ISINF 1
52778 _ACEOF
52781 done
52783 else
52785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
52786 $as_echo_n "checking for _isinf declaration... " >&6; }
52787 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
52788 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
52789 $as_echo_n "(cached) " >&6
52790 else
52793 ac_ext=cpp
52794 ac_cpp='$CXXCPP $CPPFLAGS'
52795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52800 /* end confdefs.h. */
52801 #include <math.h>
52802 #ifdef HAVE_IEEEFP_H
52803 #include <ieeefp.h>
52804 #endif
52807 main ()
52809 _isinf(0);
52811 return 0;
52813 _ACEOF
52814 if ac_fn_cxx_try_compile "$LINENO"; then :
52815 glibcxx_cv_func__isinf_use=yes
52816 else
52817 glibcxx_cv_func__isinf_use=no
52819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52820 ac_ext=c
52821 ac_cpp='$CPP $CPPFLAGS'
52822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
52831 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
52833 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
52834 for ac_func in _isinf
52835 do :
52836 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
52837 if test "x$ac_cv_func__isinf" = x""yes; then :
52838 cat >>confdefs.h <<_ACEOF
52839 #define HAVE__ISINF 1
52840 _ACEOF
52843 done
52852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
52853 $as_echo_n "checking for isnan declaration... " >&6; }
52854 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
52855 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
52856 $as_echo_n "(cached) " >&6
52857 else
52860 ac_ext=cpp
52861 ac_cpp='$CXXCPP $CPPFLAGS'
52862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52867 /* end confdefs.h. */
52868 #include <math.h>
52869 #ifdef HAVE_IEEEFP_H
52870 #include <ieeefp.h>
52871 #endif
52874 main ()
52876 isnan(0);
52878 return 0;
52880 _ACEOF
52881 if ac_fn_cxx_try_compile "$LINENO"; then :
52882 glibcxx_cv_func_isnan_use=yes
52883 else
52884 glibcxx_cv_func_isnan_use=no
52886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52887 ac_ext=c
52888 ac_cpp='$CPP $CPPFLAGS'
52889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
52898 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
52900 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
52901 for ac_func in isnan
52902 do :
52903 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
52904 if test "x$ac_cv_func_isnan" = x""yes; then :
52905 cat >>confdefs.h <<_ACEOF
52906 #define HAVE_ISNAN 1
52907 _ACEOF
52910 done
52912 else
52914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
52915 $as_echo_n "checking for _isnan declaration... " >&6; }
52916 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
52917 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
52918 $as_echo_n "(cached) " >&6
52919 else
52922 ac_ext=cpp
52923 ac_cpp='$CXXCPP $CPPFLAGS'
52924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52929 /* end confdefs.h. */
52930 #include <math.h>
52931 #ifdef HAVE_IEEEFP_H
52932 #include <ieeefp.h>
52933 #endif
52936 main ()
52938 _isnan(0);
52940 return 0;
52942 _ACEOF
52943 if ac_fn_cxx_try_compile "$LINENO"; then :
52944 glibcxx_cv_func__isnan_use=yes
52945 else
52946 glibcxx_cv_func__isnan_use=no
52948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52949 ac_ext=c
52950 ac_cpp='$CPP $CPPFLAGS'
52951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
52960 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
52962 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
52963 for ac_func in _isnan
52964 do :
52965 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
52966 if test "x$ac_cv_func__isnan" = x""yes; then :
52967 cat >>confdefs.h <<_ACEOF
52968 #define HAVE__ISNAN 1
52969 _ACEOF
52972 done
52981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
52982 $as_echo_n "checking for finite declaration... " >&6; }
52983 if test x${glibcxx_cv_func_finite_use+set} != xset; then
52984 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
52985 $as_echo_n "(cached) " >&6
52986 else
52989 ac_ext=cpp
52990 ac_cpp='$CXXCPP $CPPFLAGS'
52991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52996 /* end confdefs.h. */
52997 #include <math.h>
52998 #ifdef HAVE_IEEEFP_H
52999 #include <ieeefp.h>
53000 #endif
53003 main ()
53005 finite(0);
53007 return 0;
53009 _ACEOF
53010 if ac_fn_cxx_try_compile "$LINENO"; then :
53011 glibcxx_cv_func_finite_use=yes
53012 else
53013 glibcxx_cv_func_finite_use=no
53015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53016 ac_ext=c
53017 ac_cpp='$CPP $CPPFLAGS'
53018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
53027 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
53029 if test x$glibcxx_cv_func_finite_use = x"yes"; then
53030 for ac_func in finite
53031 do :
53032 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
53033 if test "x$ac_cv_func_finite" = x""yes; then :
53034 cat >>confdefs.h <<_ACEOF
53035 #define HAVE_FINITE 1
53036 _ACEOF
53039 done
53041 else
53043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
53044 $as_echo_n "checking for _finite declaration... " >&6; }
53045 if test x${glibcxx_cv_func__finite_use+set} != xset; then
53046 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
53047 $as_echo_n "(cached) " >&6
53048 else
53051 ac_ext=cpp
53052 ac_cpp='$CXXCPP $CPPFLAGS'
53053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53058 /* end confdefs.h. */
53059 #include <math.h>
53060 #ifdef HAVE_IEEEFP_H
53061 #include <ieeefp.h>
53062 #endif
53065 main ()
53067 _finite(0);
53069 return 0;
53071 _ACEOF
53072 if ac_fn_cxx_try_compile "$LINENO"; then :
53073 glibcxx_cv_func__finite_use=yes
53074 else
53075 glibcxx_cv_func__finite_use=no
53077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53078 ac_ext=c
53079 ac_cpp='$CPP $CPPFLAGS'
53080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
53089 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
53091 if test x$glibcxx_cv_func__finite_use = x"yes"; then
53092 for ac_func in _finite
53093 do :
53094 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
53095 if test "x$ac_cv_func__finite" = x""yes; then :
53096 cat >>confdefs.h <<_ACEOF
53097 #define HAVE__FINITE 1
53098 _ACEOF
53101 done
53110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
53111 $as_echo_n "checking for sincos declaration... " >&6; }
53112 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
53113 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
53114 $as_echo_n "(cached) " >&6
53115 else
53118 ac_ext=cpp
53119 ac_cpp='$CXXCPP $CPPFLAGS'
53120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53125 /* end confdefs.h. */
53126 #include <math.h>
53128 main ()
53130 sincos(0, 0, 0);
53132 return 0;
53134 _ACEOF
53135 if ac_fn_cxx_try_compile "$LINENO"; then :
53136 glibcxx_cv_func_sincos_use=yes
53137 else
53138 glibcxx_cv_func_sincos_use=no
53140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53141 ac_ext=c
53142 ac_cpp='$CPP $CPPFLAGS'
53143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
53152 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
53154 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
53155 for ac_func in sincos
53156 do :
53157 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
53158 if test "x$ac_cv_func_sincos" = x""yes; then :
53159 cat >>confdefs.h <<_ACEOF
53160 #define HAVE_SINCOS 1
53161 _ACEOF
53164 done
53166 else
53168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
53169 $as_echo_n "checking for _sincos declaration... " >&6; }
53170 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
53171 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
53172 $as_echo_n "(cached) " >&6
53173 else
53176 ac_ext=cpp
53177 ac_cpp='$CXXCPP $CPPFLAGS'
53178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53183 /* end confdefs.h. */
53184 #include <math.h>
53186 main ()
53188 _sincos(0, 0, 0);
53190 return 0;
53192 _ACEOF
53193 if ac_fn_cxx_try_compile "$LINENO"; then :
53194 glibcxx_cv_func__sincos_use=yes
53195 else
53196 glibcxx_cv_func__sincos_use=no
53198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53199 ac_ext=c
53200 ac_cpp='$CPP $CPPFLAGS'
53201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
53210 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
53212 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
53213 for ac_func in _sincos
53214 do :
53215 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
53216 if test "x$ac_cv_func__sincos" = x""yes; then :
53217 cat >>confdefs.h <<_ACEOF
53218 #define HAVE__SINCOS 1
53219 _ACEOF
53222 done
53231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
53232 $as_echo_n "checking for fpclass declaration... " >&6; }
53233 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
53234 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
53235 $as_echo_n "(cached) " >&6
53236 else
53239 ac_ext=cpp
53240 ac_cpp='$CXXCPP $CPPFLAGS'
53241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53246 /* end confdefs.h. */
53247 #include <math.h>
53248 #ifdef HAVE_IEEEFP_H
53249 #include <ieeefp.h>
53250 #endif
53253 main ()
53255 fpclass(0);
53257 return 0;
53259 _ACEOF
53260 if ac_fn_cxx_try_compile "$LINENO"; then :
53261 glibcxx_cv_func_fpclass_use=yes
53262 else
53263 glibcxx_cv_func_fpclass_use=no
53265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53266 ac_ext=c
53267 ac_cpp='$CPP $CPPFLAGS'
53268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
53277 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
53279 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
53280 for ac_func in fpclass
53281 do :
53282 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
53283 if test "x$ac_cv_func_fpclass" = x""yes; then :
53284 cat >>confdefs.h <<_ACEOF
53285 #define HAVE_FPCLASS 1
53286 _ACEOF
53289 done
53291 else
53293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
53294 $as_echo_n "checking for _fpclass declaration... " >&6; }
53295 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
53296 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
53297 $as_echo_n "(cached) " >&6
53298 else
53301 ac_ext=cpp
53302 ac_cpp='$CXXCPP $CPPFLAGS'
53303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53308 /* end confdefs.h. */
53309 #include <math.h>
53310 #ifdef HAVE_IEEEFP_H
53311 #include <ieeefp.h>
53312 #endif
53315 main ()
53317 _fpclass(0);
53319 return 0;
53321 _ACEOF
53322 if ac_fn_cxx_try_compile "$LINENO"; then :
53323 glibcxx_cv_func__fpclass_use=yes
53324 else
53325 glibcxx_cv_func__fpclass_use=no
53327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53328 ac_ext=c
53329 ac_cpp='$CPP $CPPFLAGS'
53330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
53339 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
53341 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
53342 for ac_func in _fpclass
53343 do :
53344 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
53345 if test "x$ac_cv_func__fpclass" = x""yes; then :
53346 cat >>confdefs.h <<_ACEOF
53347 #define HAVE__FPCLASS 1
53348 _ACEOF
53351 done
53360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
53361 $as_echo_n "checking for qfpclass declaration... " >&6; }
53362 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
53363 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
53364 $as_echo_n "(cached) " >&6
53365 else
53368 ac_ext=cpp
53369 ac_cpp='$CXXCPP $CPPFLAGS'
53370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53375 /* end confdefs.h. */
53376 #include <math.h>
53377 #ifdef HAVE_IEEEFP_H
53378 #include <ieeefp.h>
53379 #endif
53382 main ()
53384 qfpclass(0);
53386 return 0;
53388 _ACEOF
53389 if ac_fn_cxx_try_compile "$LINENO"; then :
53390 glibcxx_cv_func_qfpclass_use=yes
53391 else
53392 glibcxx_cv_func_qfpclass_use=no
53394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53395 ac_ext=c
53396 ac_cpp='$CPP $CPPFLAGS'
53397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
53406 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
53408 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
53409 for ac_func in qfpclass
53410 do :
53411 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
53412 if test "x$ac_cv_func_qfpclass" = x""yes; then :
53413 cat >>confdefs.h <<_ACEOF
53414 #define HAVE_QFPCLASS 1
53415 _ACEOF
53418 done
53420 else
53422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
53423 $as_echo_n "checking for _qfpclass declaration... " >&6; }
53424 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
53425 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
53426 $as_echo_n "(cached) " >&6
53427 else
53430 ac_ext=cpp
53431 ac_cpp='$CXXCPP $CPPFLAGS'
53432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53437 /* end confdefs.h. */
53438 #include <math.h>
53439 #ifdef HAVE_IEEEFP_H
53440 #include <ieeefp.h>
53441 #endif
53444 main ()
53446 _qfpclass(0);
53448 return 0;
53450 _ACEOF
53451 if ac_fn_cxx_try_compile "$LINENO"; then :
53452 glibcxx_cv_func__qfpclass_use=yes
53453 else
53454 glibcxx_cv_func__qfpclass_use=no
53456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53457 ac_ext=c
53458 ac_cpp='$CPP $CPPFLAGS'
53459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
53468 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
53470 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
53471 for ac_func in _qfpclass
53472 do :
53473 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
53474 if test "x$ac_cv_func__qfpclass" = x""yes; then :
53475 cat >>confdefs.h <<_ACEOF
53476 #define HAVE__QFPCLASS 1
53477 _ACEOF
53480 done
53489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
53490 $as_echo_n "checking for hypot declaration... " >&6; }
53491 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
53492 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
53493 $as_echo_n "(cached) " >&6
53494 else
53497 ac_ext=cpp
53498 ac_cpp='$CXXCPP $CPPFLAGS'
53499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53504 /* end confdefs.h. */
53505 #include <math.h>
53507 main ()
53509 hypot(0, 0);
53511 return 0;
53513 _ACEOF
53514 if ac_fn_cxx_try_compile "$LINENO"; then :
53515 glibcxx_cv_func_hypot_use=yes
53516 else
53517 glibcxx_cv_func_hypot_use=no
53519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53520 ac_ext=c
53521 ac_cpp='$CPP $CPPFLAGS'
53522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
53531 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
53533 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
53534 for ac_func in hypot
53535 do :
53536 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
53537 if test "x$ac_cv_func_hypot" = x""yes; then :
53538 cat >>confdefs.h <<_ACEOF
53539 #define HAVE_HYPOT 1
53540 _ACEOF
53543 done
53545 else
53547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
53548 $as_echo_n "checking for _hypot declaration... " >&6; }
53549 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
53550 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
53551 $as_echo_n "(cached) " >&6
53552 else
53555 ac_ext=cpp
53556 ac_cpp='$CXXCPP $CPPFLAGS'
53557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53562 /* end confdefs.h. */
53563 #include <math.h>
53565 main ()
53567 _hypot(0, 0);
53569 return 0;
53571 _ACEOF
53572 if ac_fn_cxx_try_compile "$LINENO"; then :
53573 glibcxx_cv_func__hypot_use=yes
53574 else
53575 glibcxx_cv_func__hypot_use=no
53577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53578 ac_ext=c
53579 ac_cpp='$CPP $CPPFLAGS'
53580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
53589 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
53591 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
53592 for ac_func in _hypot
53593 do :
53594 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
53595 if test "x$ac_cv_func__hypot" = x""yes; then :
53596 cat >>confdefs.h <<_ACEOF
53597 #define HAVE__HYPOT 1
53598 _ACEOF
53601 done
53610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
53611 $as_echo_n "checking for float trig functions... " >&6; }
53612 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
53613 $as_echo_n "(cached) " >&6
53614 else
53617 ac_ext=cpp
53618 ac_cpp='$CXXCPP $CPPFLAGS'
53619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53624 /* end confdefs.h. */
53625 #include <math.h>
53627 main ()
53629 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
53631 return 0;
53633 _ACEOF
53634 if ac_fn_cxx_try_compile "$LINENO"; then :
53635 glibcxx_cv_func_float_trig_use=yes
53636 else
53637 glibcxx_cv_func_float_trig_use=no
53639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53640 ac_ext=c
53641 ac_cpp='$CPP $CPPFLAGS'
53642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
53649 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
53650 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
53651 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
53652 do :
53653 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53654 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53655 eval as_val=\$$as_ac_var
53656 if test "x$as_val" = x""yes; then :
53657 cat >>confdefs.h <<_ACEOF
53658 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53659 _ACEOF
53662 done
53664 else
53665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
53666 $as_echo_n "checking for _float trig functions... " >&6; }
53667 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
53668 $as_echo_n "(cached) " >&6
53669 else
53672 ac_ext=cpp
53673 ac_cpp='$CXXCPP $CPPFLAGS'
53674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53679 /* end confdefs.h. */
53680 #include <math.h>
53682 main ()
53684 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
53686 return 0;
53688 _ACEOF
53689 if ac_fn_cxx_try_compile "$LINENO"; then :
53690 glibcxx_cv_func__float_trig_use=yes
53691 else
53692 glibcxx_cv_func__float_trig_use=no
53694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53695 ac_ext=c
53696 ac_cpp='$CPP $CPPFLAGS'
53697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
53704 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
53705 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
53706 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
53707 do :
53708 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53709 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53710 eval as_val=\$$as_ac_var
53711 if test "x$as_val" = x""yes; then :
53712 cat >>confdefs.h <<_ACEOF
53713 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53714 _ACEOF
53717 done
53726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
53727 $as_echo_n "checking for float round functions... " >&6; }
53728 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
53729 $as_echo_n "(cached) " >&6
53730 else
53733 ac_ext=cpp
53734 ac_cpp='$CXXCPP $CPPFLAGS'
53735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53740 /* end confdefs.h. */
53741 #include <math.h>
53743 main ()
53745 ceilf (0); floorf (0);
53747 return 0;
53749 _ACEOF
53750 if ac_fn_cxx_try_compile "$LINENO"; then :
53751 glibcxx_cv_func_float_round_use=yes
53752 else
53753 glibcxx_cv_func_float_round_use=no
53755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53756 ac_ext=c
53757 ac_cpp='$CPP $CPPFLAGS'
53758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
53765 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
53766 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
53767 for ac_func in ceilf floorf
53768 do :
53769 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53770 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53771 eval as_val=\$$as_ac_var
53772 if test "x$as_val" = x""yes; then :
53773 cat >>confdefs.h <<_ACEOF
53774 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53775 _ACEOF
53778 done
53780 else
53781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
53782 $as_echo_n "checking for _float round functions... " >&6; }
53783 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
53784 $as_echo_n "(cached) " >&6
53785 else
53788 ac_ext=cpp
53789 ac_cpp='$CXXCPP $CPPFLAGS'
53790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53795 /* end confdefs.h. */
53796 #include <math.h>
53798 main ()
53800 _ceilf (0); _floorf (0);
53802 return 0;
53804 _ACEOF
53805 if ac_fn_cxx_try_compile "$LINENO"; then :
53806 glibcxx_cv_func__float_round_use=yes
53807 else
53808 glibcxx_cv_func__float_round_use=no
53810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53811 ac_ext=c
53812 ac_cpp='$CPP $CPPFLAGS'
53813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
53820 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
53821 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
53822 for ac_func in _ceilf _floorf
53823 do :
53824 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53825 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53826 eval as_val=\$$as_ac_var
53827 if test "x$as_val" = x""yes; then :
53828 cat >>confdefs.h <<_ACEOF
53829 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53830 _ACEOF
53833 done
53843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
53844 $as_echo_n "checking for expf declaration... " >&6; }
53845 if test x${glibcxx_cv_func_expf_use+set} != xset; then
53846 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
53847 $as_echo_n "(cached) " >&6
53848 else
53851 ac_ext=cpp
53852 ac_cpp='$CXXCPP $CPPFLAGS'
53853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53858 /* end confdefs.h. */
53859 #include <math.h>
53860 #ifdef HAVE_IEEEFP_H
53861 #include <ieeefp.h>
53862 #endif
53865 main ()
53867 expf(0);
53869 return 0;
53871 _ACEOF
53872 if ac_fn_cxx_try_compile "$LINENO"; then :
53873 glibcxx_cv_func_expf_use=yes
53874 else
53875 glibcxx_cv_func_expf_use=no
53877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53878 ac_ext=c
53879 ac_cpp='$CPP $CPPFLAGS'
53880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
53889 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
53891 if test x$glibcxx_cv_func_expf_use = x"yes"; then
53892 for ac_func in expf
53893 do :
53894 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
53895 if test "x$ac_cv_func_expf" = x""yes; then :
53896 cat >>confdefs.h <<_ACEOF
53897 #define HAVE_EXPF 1
53898 _ACEOF
53901 done
53903 else
53905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
53906 $as_echo_n "checking for _expf declaration... " >&6; }
53907 if test x${glibcxx_cv_func__expf_use+set} != xset; then
53908 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
53909 $as_echo_n "(cached) " >&6
53910 else
53913 ac_ext=cpp
53914 ac_cpp='$CXXCPP $CPPFLAGS'
53915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53920 /* end confdefs.h. */
53921 #include <math.h>
53922 #ifdef HAVE_IEEEFP_H
53923 #include <ieeefp.h>
53924 #endif
53927 main ()
53929 _expf(0);
53931 return 0;
53933 _ACEOF
53934 if ac_fn_cxx_try_compile "$LINENO"; then :
53935 glibcxx_cv_func__expf_use=yes
53936 else
53937 glibcxx_cv_func__expf_use=no
53939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53940 ac_ext=c
53941 ac_cpp='$CPP $CPPFLAGS'
53942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
53951 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
53953 if test x$glibcxx_cv_func__expf_use = x"yes"; then
53954 for ac_func in _expf
53955 do :
53956 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
53957 if test "x$ac_cv_func__expf" = x""yes; then :
53958 cat >>confdefs.h <<_ACEOF
53959 #define HAVE__EXPF 1
53960 _ACEOF
53963 done
53972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
53973 $as_echo_n "checking for isnanf declaration... " >&6; }
53974 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
53975 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
53976 $as_echo_n "(cached) " >&6
53977 else
53980 ac_ext=cpp
53981 ac_cpp='$CXXCPP $CPPFLAGS'
53982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53987 /* end confdefs.h. */
53988 #include <math.h>
53989 #ifdef HAVE_IEEEFP_H
53990 #include <ieeefp.h>
53991 #endif
53994 main ()
53996 isnanf(0);
53998 return 0;
54000 _ACEOF
54001 if ac_fn_cxx_try_compile "$LINENO"; then :
54002 glibcxx_cv_func_isnanf_use=yes
54003 else
54004 glibcxx_cv_func_isnanf_use=no
54006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54007 ac_ext=c
54008 ac_cpp='$CPP $CPPFLAGS'
54009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
54018 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
54020 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
54021 for ac_func in isnanf
54022 do :
54023 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
54024 if test "x$ac_cv_func_isnanf" = x""yes; then :
54025 cat >>confdefs.h <<_ACEOF
54026 #define HAVE_ISNANF 1
54027 _ACEOF
54030 done
54032 else
54034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
54035 $as_echo_n "checking for _isnanf declaration... " >&6; }
54036 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
54037 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
54038 $as_echo_n "(cached) " >&6
54039 else
54042 ac_ext=cpp
54043 ac_cpp='$CXXCPP $CPPFLAGS'
54044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54049 /* end confdefs.h. */
54050 #include <math.h>
54051 #ifdef HAVE_IEEEFP_H
54052 #include <ieeefp.h>
54053 #endif
54056 main ()
54058 _isnanf(0);
54060 return 0;
54062 _ACEOF
54063 if ac_fn_cxx_try_compile "$LINENO"; then :
54064 glibcxx_cv_func__isnanf_use=yes
54065 else
54066 glibcxx_cv_func__isnanf_use=no
54068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54069 ac_ext=c
54070 ac_cpp='$CPP $CPPFLAGS'
54071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
54080 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
54082 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
54083 for ac_func in _isnanf
54084 do :
54085 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
54086 if test "x$ac_cv_func__isnanf" = x""yes; then :
54087 cat >>confdefs.h <<_ACEOF
54088 #define HAVE__ISNANF 1
54089 _ACEOF
54092 done
54101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
54102 $as_echo_n "checking for isinff declaration... " >&6; }
54103 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
54104 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
54105 $as_echo_n "(cached) " >&6
54106 else
54109 ac_ext=cpp
54110 ac_cpp='$CXXCPP $CPPFLAGS'
54111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54116 /* end confdefs.h. */
54117 #include <math.h>
54118 #ifdef HAVE_IEEEFP_H
54119 #include <ieeefp.h>
54120 #endif
54123 main ()
54125 isinff(0);
54127 return 0;
54129 _ACEOF
54130 if ac_fn_cxx_try_compile "$LINENO"; then :
54131 glibcxx_cv_func_isinff_use=yes
54132 else
54133 glibcxx_cv_func_isinff_use=no
54135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54136 ac_ext=c
54137 ac_cpp='$CPP $CPPFLAGS'
54138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
54147 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
54149 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
54150 for ac_func in isinff
54151 do :
54152 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
54153 if test "x$ac_cv_func_isinff" = x""yes; then :
54154 cat >>confdefs.h <<_ACEOF
54155 #define HAVE_ISINFF 1
54156 _ACEOF
54159 done
54161 else
54163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
54164 $as_echo_n "checking for _isinff declaration... " >&6; }
54165 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
54166 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
54167 $as_echo_n "(cached) " >&6
54168 else
54171 ac_ext=cpp
54172 ac_cpp='$CXXCPP $CPPFLAGS'
54173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54178 /* end confdefs.h. */
54179 #include <math.h>
54180 #ifdef HAVE_IEEEFP_H
54181 #include <ieeefp.h>
54182 #endif
54185 main ()
54187 _isinff(0);
54189 return 0;
54191 _ACEOF
54192 if ac_fn_cxx_try_compile "$LINENO"; then :
54193 glibcxx_cv_func__isinff_use=yes
54194 else
54195 glibcxx_cv_func__isinff_use=no
54197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54198 ac_ext=c
54199 ac_cpp='$CPP $CPPFLAGS'
54200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
54209 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
54211 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
54212 for ac_func in _isinff
54213 do :
54214 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
54215 if test "x$ac_cv_func__isinff" = x""yes; then :
54216 cat >>confdefs.h <<_ACEOF
54217 #define HAVE__ISINFF 1
54218 _ACEOF
54221 done
54230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
54231 $as_echo_n "checking for atan2f declaration... " >&6; }
54232 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
54233 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
54234 $as_echo_n "(cached) " >&6
54235 else
54238 ac_ext=cpp
54239 ac_cpp='$CXXCPP $CPPFLAGS'
54240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54245 /* end confdefs.h. */
54246 #include <math.h>
54248 main ()
54250 atan2f(0, 0);
54252 return 0;
54254 _ACEOF
54255 if ac_fn_cxx_try_compile "$LINENO"; then :
54256 glibcxx_cv_func_atan2f_use=yes
54257 else
54258 glibcxx_cv_func_atan2f_use=no
54260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54261 ac_ext=c
54262 ac_cpp='$CPP $CPPFLAGS'
54263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
54272 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
54274 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
54275 for ac_func in atan2f
54276 do :
54277 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
54278 if test "x$ac_cv_func_atan2f" = x""yes; then :
54279 cat >>confdefs.h <<_ACEOF
54280 #define HAVE_ATAN2F 1
54281 _ACEOF
54284 done
54286 else
54288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
54289 $as_echo_n "checking for _atan2f declaration... " >&6; }
54290 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
54291 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
54292 $as_echo_n "(cached) " >&6
54293 else
54296 ac_ext=cpp
54297 ac_cpp='$CXXCPP $CPPFLAGS'
54298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54303 /* end confdefs.h. */
54304 #include <math.h>
54306 main ()
54308 _atan2f(0, 0);
54310 return 0;
54312 _ACEOF
54313 if ac_fn_cxx_try_compile "$LINENO"; then :
54314 glibcxx_cv_func__atan2f_use=yes
54315 else
54316 glibcxx_cv_func__atan2f_use=no
54318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54319 ac_ext=c
54320 ac_cpp='$CPP $CPPFLAGS'
54321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
54330 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
54332 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
54333 for ac_func in _atan2f
54334 do :
54335 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
54336 if test "x$ac_cv_func__atan2f" = x""yes; then :
54337 cat >>confdefs.h <<_ACEOF
54338 #define HAVE__ATAN2F 1
54339 _ACEOF
54342 done
54351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
54352 $as_echo_n "checking for fabsf declaration... " >&6; }
54353 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
54354 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
54355 $as_echo_n "(cached) " >&6
54356 else
54359 ac_ext=cpp
54360 ac_cpp='$CXXCPP $CPPFLAGS'
54361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54366 /* end confdefs.h. */
54367 #include <math.h>
54368 #ifdef HAVE_IEEEFP_H
54369 #include <ieeefp.h>
54370 #endif
54373 main ()
54375 fabsf(0);
54377 return 0;
54379 _ACEOF
54380 if ac_fn_cxx_try_compile "$LINENO"; then :
54381 glibcxx_cv_func_fabsf_use=yes
54382 else
54383 glibcxx_cv_func_fabsf_use=no
54385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54386 ac_ext=c
54387 ac_cpp='$CPP $CPPFLAGS'
54388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
54397 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
54399 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
54400 for ac_func in fabsf
54401 do :
54402 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
54403 if test "x$ac_cv_func_fabsf" = x""yes; then :
54404 cat >>confdefs.h <<_ACEOF
54405 #define HAVE_FABSF 1
54406 _ACEOF
54409 done
54411 else
54413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
54414 $as_echo_n "checking for _fabsf declaration... " >&6; }
54415 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
54416 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
54417 $as_echo_n "(cached) " >&6
54418 else
54421 ac_ext=cpp
54422 ac_cpp='$CXXCPP $CPPFLAGS'
54423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54428 /* end confdefs.h. */
54429 #include <math.h>
54430 #ifdef HAVE_IEEEFP_H
54431 #include <ieeefp.h>
54432 #endif
54435 main ()
54437 _fabsf(0);
54439 return 0;
54441 _ACEOF
54442 if ac_fn_cxx_try_compile "$LINENO"; then :
54443 glibcxx_cv_func__fabsf_use=yes
54444 else
54445 glibcxx_cv_func__fabsf_use=no
54447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54448 ac_ext=c
54449 ac_cpp='$CPP $CPPFLAGS'
54450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
54459 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
54461 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
54462 for ac_func in _fabsf
54463 do :
54464 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
54465 if test "x$ac_cv_func__fabsf" = x""yes; then :
54466 cat >>confdefs.h <<_ACEOF
54467 #define HAVE__FABSF 1
54468 _ACEOF
54471 done
54480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
54481 $as_echo_n "checking for fmodf declaration... " >&6; }
54482 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
54483 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
54484 $as_echo_n "(cached) " >&6
54485 else
54488 ac_ext=cpp
54489 ac_cpp='$CXXCPP $CPPFLAGS'
54490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54495 /* end confdefs.h. */
54496 #include <math.h>
54498 main ()
54500 fmodf(0, 0);
54502 return 0;
54504 _ACEOF
54505 if ac_fn_cxx_try_compile "$LINENO"; then :
54506 glibcxx_cv_func_fmodf_use=yes
54507 else
54508 glibcxx_cv_func_fmodf_use=no
54510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54511 ac_ext=c
54512 ac_cpp='$CPP $CPPFLAGS'
54513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
54522 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
54524 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
54525 for ac_func in fmodf
54526 do :
54527 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
54528 if test "x$ac_cv_func_fmodf" = x""yes; then :
54529 cat >>confdefs.h <<_ACEOF
54530 #define HAVE_FMODF 1
54531 _ACEOF
54534 done
54536 else
54538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
54539 $as_echo_n "checking for _fmodf declaration... " >&6; }
54540 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
54541 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
54542 $as_echo_n "(cached) " >&6
54543 else
54546 ac_ext=cpp
54547 ac_cpp='$CXXCPP $CPPFLAGS'
54548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54553 /* end confdefs.h. */
54554 #include <math.h>
54556 main ()
54558 _fmodf(0, 0);
54560 return 0;
54562 _ACEOF
54563 if ac_fn_cxx_try_compile "$LINENO"; then :
54564 glibcxx_cv_func__fmodf_use=yes
54565 else
54566 glibcxx_cv_func__fmodf_use=no
54568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54569 ac_ext=c
54570 ac_cpp='$CPP $CPPFLAGS'
54571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
54580 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
54582 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
54583 for ac_func in _fmodf
54584 do :
54585 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
54586 if test "x$ac_cv_func__fmodf" = x""yes; then :
54587 cat >>confdefs.h <<_ACEOF
54588 #define HAVE__FMODF 1
54589 _ACEOF
54592 done
54601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
54602 $as_echo_n "checking for frexpf declaration... " >&6; }
54603 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
54604 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
54605 $as_echo_n "(cached) " >&6
54606 else
54609 ac_ext=cpp
54610 ac_cpp='$CXXCPP $CPPFLAGS'
54611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54616 /* end confdefs.h. */
54617 #include <math.h>
54619 main ()
54621 frexpf(0, 0);
54623 return 0;
54625 _ACEOF
54626 if ac_fn_cxx_try_compile "$LINENO"; then :
54627 glibcxx_cv_func_frexpf_use=yes
54628 else
54629 glibcxx_cv_func_frexpf_use=no
54631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54632 ac_ext=c
54633 ac_cpp='$CPP $CPPFLAGS'
54634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
54643 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
54645 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
54646 for ac_func in frexpf
54647 do :
54648 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
54649 if test "x$ac_cv_func_frexpf" = x""yes; then :
54650 cat >>confdefs.h <<_ACEOF
54651 #define HAVE_FREXPF 1
54652 _ACEOF
54655 done
54657 else
54659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
54660 $as_echo_n "checking for _frexpf declaration... " >&6; }
54661 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
54662 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
54663 $as_echo_n "(cached) " >&6
54664 else
54667 ac_ext=cpp
54668 ac_cpp='$CXXCPP $CPPFLAGS'
54669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54674 /* end confdefs.h. */
54675 #include <math.h>
54677 main ()
54679 _frexpf(0, 0);
54681 return 0;
54683 _ACEOF
54684 if ac_fn_cxx_try_compile "$LINENO"; then :
54685 glibcxx_cv_func__frexpf_use=yes
54686 else
54687 glibcxx_cv_func__frexpf_use=no
54689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54690 ac_ext=c
54691 ac_cpp='$CPP $CPPFLAGS'
54692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
54701 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
54703 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
54704 for ac_func in _frexpf
54705 do :
54706 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
54707 if test "x$ac_cv_func__frexpf" = x""yes; then :
54708 cat >>confdefs.h <<_ACEOF
54709 #define HAVE__FREXPF 1
54710 _ACEOF
54713 done
54722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
54723 $as_echo_n "checking for hypotf declaration... " >&6; }
54724 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
54725 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
54726 $as_echo_n "(cached) " >&6
54727 else
54730 ac_ext=cpp
54731 ac_cpp='$CXXCPP $CPPFLAGS'
54732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54737 /* end confdefs.h. */
54738 #include <math.h>
54740 main ()
54742 hypotf(0, 0);
54744 return 0;
54746 _ACEOF
54747 if ac_fn_cxx_try_compile "$LINENO"; then :
54748 glibcxx_cv_func_hypotf_use=yes
54749 else
54750 glibcxx_cv_func_hypotf_use=no
54752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54753 ac_ext=c
54754 ac_cpp='$CPP $CPPFLAGS'
54755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
54764 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
54766 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
54767 for ac_func in hypotf
54768 do :
54769 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
54770 if test "x$ac_cv_func_hypotf" = x""yes; then :
54771 cat >>confdefs.h <<_ACEOF
54772 #define HAVE_HYPOTF 1
54773 _ACEOF
54776 done
54778 else
54780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
54781 $as_echo_n "checking for _hypotf declaration... " >&6; }
54782 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
54783 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
54784 $as_echo_n "(cached) " >&6
54785 else
54788 ac_ext=cpp
54789 ac_cpp='$CXXCPP $CPPFLAGS'
54790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54795 /* end confdefs.h. */
54796 #include <math.h>
54798 main ()
54800 _hypotf(0, 0);
54802 return 0;
54804 _ACEOF
54805 if ac_fn_cxx_try_compile "$LINENO"; then :
54806 glibcxx_cv_func__hypotf_use=yes
54807 else
54808 glibcxx_cv_func__hypotf_use=no
54810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54811 ac_ext=c
54812 ac_cpp='$CPP $CPPFLAGS'
54813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
54822 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
54824 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
54825 for ac_func in _hypotf
54826 do :
54827 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
54828 if test "x$ac_cv_func__hypotf" = x""yes; then :
54829 cat >>confdefs.h <<_ACEOF
54830 #define HAVE__HYPOTF 1
54831 _ACEOF
54834 done
54843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
54844 $as_echo_n "checking for ldexpf declaration... " >&6; }
54845 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
54846 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
54847 $as_echo_n "(cached) " >&6
54848 else
54851 ac_ext=cpp
54852 ac_cpp='$CXXCPP $CPPFLAGS'
54853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54858 /* end confdefs.h. */
54859 #include <math.h>
54861 main ()
54863 ldexpf(0, 0);
54865 return 0;
54867 _ACEOF
54868 if ac_fn_cxx_try_compile "$LINENO"; then :
54869 glibcxx_cv_func_ldexpf_use=yes
54870 else
54871 glibcxx_cv_func_ldexpf_use=no
54873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54874 ac_ext=c
54875 ac_cpp='$CPP $CPPFLAGS'
54876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
54885 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
54887 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
54888 for ac_func in ldexpf
54889 do :
54890 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
54891 if test "x$ac_cv_func_ldexpf" = x""yes; then :
54892 cat >>confdefs.h <<_ACEOF
54893 #define HAVE_LDEXPF 1
54894 _ACEOF
54897 done
54899 else
54901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
54902 $as_echo_n "checking for _ldexpf declaration... " >&6; }
54903 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
54904 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
54905 $as_echo_n "(cached) " >&6
54906 else
54909 ac_ext=cpp
54910 ac_cpp='$CXXCPP $CPPFLAGS'
54911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54916 /* end confdefs.h. */
54917 #include <math.h>
54919 main ()
54921 _ldexpf(0, 0);
54923 return 0;
54925 _ACEOF
54926 if ac_fn_cxx_try_compile "$LINENO"; then :
54927 glibcxx_cv_func__ldexpf_use=yes
54928 else
54929 glibcxx_cv_func__ldexpf_use=no
54931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54932 ac_ext=c
54933 ac_cpp='$CPP $CPPFLAGS'
54934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
54943 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
54945 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
54946 for ac_func in _ldexpf
54947 do :
54948 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
54949 if test "x$ac_cv_func__ldexpf" = x""yes; then :
54950 cat >>confdefs.h <<_ACEOF
54951 #define HAVE__LDEXPF 1
54952 _ACEOF
54955 done
54964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
54965 $as_echo_n "checking for logf declaration... " >&6; }
54966 if test x${glibcxx_cv_func_logf_use+set} != xset; then
54967 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
54968 $as_echo_n "(cached) " >&6
54969 else
54972 ac_ext=cpp
54973 ac_cpp='$CXXCPP $CPPFLAGS'
54974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54979 /* end confdefs.h. */
54980 #include <math.h>
54981 #ifdef HAVE_IEEEFP_H
54982 #include <ieeefp.h>
54983 #endif
54986 main ()
54988 logf(0);
54990 return 0;
54992 _ACEOF
54993 if ac_fn_cxx_try_compile "$LINENO"; then :
54994 glibcxx_cv_func_logf_use=yes
54995 else
54996 glibcxx_cv_func_logf_use=no
54998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54999 ac_ext=c
55000 ac_cpp='$CPP $CPPFLAGS'
55001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
55010 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
55012 if test x$glibcxx_cv_func_logf_use = x"yes"; then
55013 for ac_func in logf
55014 do :
55015 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
55016 if test "x$ac_cv_func_logf" = x""yes; then :
55017 cat >>confdefs.h <<_ACEOF
55018 #define HAVE_LOGF 1
55019 _ACEOF
55022 done
55024 else
55026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
55027 $as_echo_n "checking for _logf declaration... " >&6; }
55028 if test x${glibcxx_cv_func__logf_use+set} != xset; then
55029 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
55030 $as_echo_n "(cached) " >&6
55031 else
55034 ac_ext=cpp
55035 ac_cpp='$CXXCPP $CPPFLAGS'
55036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55041 /* end confdefs.h. */
55042 #include <math.h>
55043 #ifdef HAVE_IEEEFP_H
55044 #include <ieeefp.h>
55045 #endif
55048 main ()
55050 _logf(0);
55052 return 0;
55054 _ACEOF
55055 if ac_fn_cxx_try_compile "$LINENO"; then :
55056 glibcxx_cv_func__logf_use=yes
55057 else
55058 glibcxx_cv_func__logf_use=no
55060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55061 ac_ext=c
55062 ac_cpp='$CPP $CPPFLAGS'
55063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
55072 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
55074 if test x$glibcxx_cv_func__logf_use = x"yes"; then
55075 for ac_func in _logf
55076 do :
55077 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
55078 if test "x$ac_cv_func__logf" = x""yes; then :
55079 cat >>confdefs.h <<_ACEOF
55080 #define HAVE__LOGF 1
55081 _ACEOF
55084 done
55093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
55094 $as_echo_n "checking for log10f declaration... " >&6; }
55095 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
55096 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
55097 $as_echo_n "(cached) " >&6
55098 else
55101 ac_ext=cpp
55102 ac_cpp='$CXXCPP $CPPFLAGS'
55103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55108 /* end confdefs.h. */
55109 #include <math.h>
55110 #ifdef HAVE_IEEEFP_H
55111 #include <ieeefp.h>
55112 #endif
55115 main ()
55117 log10f(0);
55119 return 0;
55121 _ACEOF
55122 if ac_fn_cxx_try_compile "$LINENO"; then :
55123 glibcxx_cv_func_log10f_use=yes
55124 else
55125 glibcxx_cv_func_log10f_use=no
55127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55128 ac_ext=c
55129 ac_cpp='$CPP $CPPFLAGS'
55130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
55139 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
55141 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
55142 for ac_func in log10f
55143 do :
55144 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
55145 if test "x$ac_cv_func_log10f" = x""yes; then :
55146 cat >>confdefs.h <<_ACEOF
55147 #define HAVE_LOG10F 1
55148 _ACEOF
55151 done
55153 else
55155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
55156 $as_echo_n "checking for _log10f declaration... " >&6; }
55157 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
55158 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
55159 $as_echo_n "(cached) " >&6
55160 else
55163 ac_ext=cpp
55164 ac_cpp='$CXXCPP $CPPFLAGS'
55165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55170 /* end confdefs.h. */
55171 #include <math.h>
55172 #ifdef HAVE_IEEEFP_H
55173 #include <ieeefp.h>
55174 #endif
55177 main ()
55179 _log10f(0);
55181 return 0;
55183 _ACEOF
55184 if ac_fn_cxx_try_compile "$LINENO"; then :
55185 glibcxx_cv_func__log10f_use=yes
55186 else
55187 glibcxx_cv_func__log10f_use=no
55189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55190 ac_ext=c
55191 ac_cpp='$CPP $CPPFLAGS'
55192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
55201 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
55203 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
55204 for ac_func in _log10f
55205 do :
55206 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
55207 if test "x$ac_cv_func__log10f" = x""yes; then :
55208 cat >>confdefs.h <<_ACEOF
55209 #define HAVE__LOG10F 1
55210 _ACEOF
55213 done
55222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
55223 $as_echo_n "checking for modff declaration... " >&6; }
55224 if test x${glibcxx_cv_func_modff_use+set} != xset; then
55225 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
55226 $as_echo_n "(cached) " >&6
55227 else
55230 ac_ext=cpp
55231 ac_cpp='$CXXCPP $CPPFLAGS'
55232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55237 /* end confdefs.h. */
55238 #include <math.h>
55240 main ()
55242 modff(0, 0);
55244 return 0;
55246 _ACEOF
55247 if ac_fn_cxx_try_compile "$LINENO"; then :
55248 glibcxx_cv_func_modff_use=yes
55249 else
55250 glibcxx_cv_func_modff_use=no
55252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55253 ac_ext=c
55254 ac_cpp='$CPP $CPPFLAGS'
55255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
55264 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
55266 if test x$glibcxx_cv_func_modff_use = x"yes"; then
55267 for ac_func in modff
55268 do :
55269 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
55270 if test "x$ac_cv_func_modff" = x""yes; then :
55271 cat >>confdefs.h <<_ACEOF
55272 #define HAVE_MODFF 1
55273 _ACEOF
55276 done
55278 else
55280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
55281 $as_echo_n "checking for _modff declaration... " >&6; }
55282 if test x${glibcxx_cv_func__modff_use+set} != xset; then
55283 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
55284 $as_echo_n "(cached) " >&6
55285 else
55288 ac_ext=cpp
55289 ac_cpp='$CXXCPP $CPPFLAGS'
55290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55295 /* end confdefs.h. */
55296 #include <math.h>
55298 main ()
55300 _modff(0, 0);
55302 return 0;
55304 _ACEOF
55305 if ac_fn_cxx_try_compile "$LINENO"; then :
55306 glibcxx_cv_func__modff_use=yes
55307 else
55308 glibcxx_cv_func__modff_use=no
55310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55311 ac_ext=c
55312 ac_cpp='$CPP $CPPFLAGS'
55313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
55322 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
55324 if test x$glibcxx_cv_func__modff_use = x"yes"; then
55325 for ac_func in _modff
55326 do :
55327 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
55328 if test "x$ac_cv_func__modff" = x""yes; then :
55329 cat >>confdefs.h <<_ACEOF
55330 #define HAVE__MODFF 1
55331 _ACEOF
55334 done
55343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
55344 $as_echo_n "checking for modf declaration... " >&6; }
55345 if test x${glibcxx_cv_func_modf_use+set} != xset; then
55346 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
55347 $as_echo_n "(cached) " >&6
55348 else
55351 ac_ext=cpp
55352 ac_cpp='$CXXCPP $CPPFLAGS'
55353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55358 /* end confdefs.h. */
55359 #include <math.h>
55361 main ()
55363 modf(0, 0);
55365 return 0;
55367 _ACEOF
55368 if ac_fn_cxx_try_compile "$LINENO"; then :
55369 glibcxx_cv_func_modf_use=yes
55370 else
55371 glibcxx_cv_func_modf_use=no
55373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55374 ac_ext=c
55375 ac_cpp='$CPP $CPPFLAGS'
55376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
55385 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
55387 if test x$glibcxx_cv_func_modf_use = x"yes"; then
55388 for ac_func in modf
55389 do :
55390 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
55391 if test "x$ac_cv_func_modf" = x""yes; then :
55392 cat >>confdefs.h <<_ACEOF
55393 #define HAVE_MODF 1
55394 _ACEOF
55397 done
55399 else
55401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
55402 $as_echo_n "checking for _modf declaration... " >&6; }
55403 if test x${glibcxx_cv_func__modf_use+set} != xset; then
55404 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
55405 $as_echo_n "(cached) " >&6
55406 else
55409 ac_ext=cpp
55410 ac_cpp='$CXXCPP $CPPFLAGS'
55411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55416 /* end confdefs.h. */
55417 #include <math.h>
55419 main ()
55421 _modf(0, 0);
55423 return 0;
55425 _ACEOF
55426 if ac_fn_cxx_try_compile "$LINENO"; then :
55427 glibcxx_cv_func__modf_use=yes
55428 else
55429 glibcxx_cv_func__modf_use=no
55431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55432 ac_ext=c
55433 ac_cpp='$CPP $CPPFLAGS'
55434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
55443 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
55445 if test x$glibcxx_cv_func__modf_use = x"yes"; then
55446 for ac_func in _modf
55447 do :
55448 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
55449 if test "x$ac_cv_func__modf" = x""yes; then :
55450 cat >>confdefs.h <<_ACEOF
55451 #define HAVE__MODF 1
55452 _ACEOF
55455 done
55464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
55465 $as_echo_n "checking for powf declaration... " >&6; }
55466 if test x${glibcxx_cv_func_powf_use+set} != xset; then
55467 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
55468 $as_echo_n "(cached) " >&6
55469 else
55472 ac_ext=cpp
55473 ac_cpp='$CXXCPP $CPPFLAGS'
55474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55479 /* end confdefs.h. */
55480 #include <math.h>
55482 main ()
55484 powf(0, 0);
55486 return 0;
55488 _ACEOF
55489 if ac_fn_cxx_try_compile "$LINENO"; then :
55490 glibcxx_cv_func_powf_use=yes
55491 else
55492 glibcxx_cv_func_powf_use=no
55494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55495 ac_ext=c
55496 ac_cpp='$CPP $CPPFLAGS'
55497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
55506 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
55508 if test x$glibcxx_cv_func_powf_use = x"yes"; then
55509 for ac_func in powf
55510 do :
55511 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
55512 if test "x$ac_cv_func_powf" = x""yes; then :
55513 cat >>confdefs.h <<_ACEOF
55514 #define HAVE_POWF 1
55515 _ACEOF
55518 done
55520 else
55522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
55523 $as_echo_n "checking for _powf declaration... " >&6; }
55524 if test x${glibcxx_cv_func__powf_use+set} != xset; then
55525 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
55526 $as_echo_n "(cached) " >&6
55527 else
55530 ac_ext=cpp
55531 ac_cpp='$CXXCPP $CPPFLAGS'
55532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55537 /* end confdefs.h. */
55538 #include <math.h>
55540 main ()
55542 _powf(0, 0);
55544 return 0;
55546 _ACEOF
55547 if ac_fn_cxx_try_compile "$LINENO"; then :
55548 glibcxx_cv_func__powf_use=yes
55549 else
55550 glibcxx_cv_func__powf_use=no
55552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55553 ac_ext=c
55554 ac_cpp='$CPP $CPPFLAGS'
55555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
55564 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
55566 if test x$glibcxx_cv_func__powf_use = x"yes"; then
55567 for ac_func in _powf
55568 do :
55569 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
55570 if test "x$ac_cv_func__powf" = x""yes; then :
55571 cat >>confdefs.h <<_ACEOF
55572 #define HAVE__POWF 1
55573 _ACEOF
55576 done
55585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
55586 $as_echo_n "checking for sqrtf declaration... " >&6; }
55587 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
55588 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
55589 $as_echo_n "(cached) " >&6
55590 else
55593 ac_ext=cpp
55594 ac_cpp='$CXXCPP $CPPFLAGS'
55595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55600 /* end confdefs.h. */
55601 #include <math.h>
55602 #ifdef HAVE_IEEEFP_H
55603 #include <ieeefp.h>
55604 #endif
55607 main ()
55609 sqrtf(0);
55611 return 0;
55613 _ACEOF
55614 if ac_fn_cxx_try_compile "$LINENO"; then :
55615 glibcxx_cv_func_sqrtf_use=yes
55616 else
55617 glibcxx_cv_func_sqrtf_use=no
55619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55620 ac_ext=c
55621 ac_cpp='$CPP $CPPFLAGS'
55622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
55631 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
55633 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
55634 for ac_func in sqrtf
55635 do :
55636 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
55637 if test "x$ac_cv_func_sqrtf" = x""yes; then :
55638 cat >>confdefs.h <<_ACEOF
55639 #define HAVE_SQRTF 1
55640 _ACEOF
55643 done
55645 else
55647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
55648 $as_echo_n "checking for _sqrtf declaration... " >&6; }
55649 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
55650 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
55651 $as_echo_n "(cached) " >&6
55652 else
55655 ac_ext=cpp
55656 ac_cpp='$CXXCPP $CPPFLAGS'
55657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55662 /* end confdefs.h. */
55663 #include <math.h>
55664 #ifdef HAVE_IEEEFP_H
55665 #include <ieeefp.h>
55666 #endif
55669 main ()
55671 _sqrtf(0);
55673 return 0;
55675 _ACEOF
55676 if ac_fn_cxx_try_compile "$LINENO"; then :
55677 glibcxx_cv_func__sqrtf_use=yes
55678 else
55679 glibcxx_cv_func__sqrtf_use=no
55681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55682 ac_ext=c
55683 ac_cpp='$CPP $CPPFLAGS'
55684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
55693 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
55695 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
55696 for ac_func in _sqrtf
55697 do :
55698 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
55699 if test "x$ac_cv_func__sqrtf" = x""yes; then :
55700 cat >>confdefs.h <<_ACEOF
55701 #define HAVE__SQRTF 1
55702 _ACEOF
55705 done
55714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
55715 $as_echo_n "checking for sincosf declaration... " >&6; }
55716 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
55717 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
55718 $as_echo_n "(cached) " >&6
55719 else
55722 ac_ext=cpp
55723 ac_cpp='$CXXCPP $CPPFLAGS'
55724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55729 /* end confdefs.h. */
55730 #include <math.h>
55732 main ()
55734 sincosf(0, 0, 0);
55736 return 0;
55738 _ACEOF
55739 if ac_fn_cxx_try_compile "$LINENO"; then :
55740 glibcxx_cv_func_sincosf_use=yes
55741 else
55742 glibcxx_cv_func_sincosf_use=no
55744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55745 ac_ext=c
55746 ac_cpp='$CPP $CPPFLAGS'
55747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
55756 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
55758 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
55759 for ac_func in sincosf
55760 do :
55761 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
55762 if test "x$ac_cv_func_sincosf" = x""yes; then :
55763 cat >>confdefs.h <<_ACEOF
55764 #define HAVE_SINCOSF 1
55765 _ACEOF
55768 done
55770 else
55772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
55773 $as_echo_n "checking for _sincosf declaration... " >&6; }
55774 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
55775 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
55776 $as_echo_n "(cached) " >&6
55777 else
55780 ac_ext=cpp
55781 ac_cpp='$CXXCPP $CPPFLAGS'
55782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55787 /* end confdefs.h. */
55788 #include <math.h>
55790 main ()
55792 _sincosf(0, 0, 0);
55794 return 0;
55796 _ACEOF
55797 if ac_fn_cxx_try_compile "$LINENO"; then :
55798 glibcxx_cv_func__sincosf_use=yes
55799 else
55800 glibcxx_cv_func__sincosf_use=no
55802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55803 ac_ext=c
55804 ac_cpp='$CPP $CPPFLAGS'
55805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
55814 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
55816 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
55817 for ac_func in _sincosf
55818 do :
55819 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
55820 if test "x$ac_cv_func__sincosf" = x""yes; then :
55821 cat >>confdefs.h <<_ACEOF
55822 #define HAVE__SINCOSF 1
55823 _ACEOF
55826 done
55835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
55836 $as_echo_n "checking for finitef declaration... " >&6; }
55837 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
55838 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
55839 $as_echo_n "(cached) " >&6
55840 else
55843 ac_ext=cpp
55844 ac_cpp='$CXXCPP $CPPFLAGS'
55845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55850 /* end confdefs.h. */
55851 #include <math.h>
55852 #ifdef HAVE_IEEEFP_H
55853 #include <ieeefp.h>
55854 #endif
55857 main ()
55859 finitef(0);
55861 return 0;
55863 _ACEOF
55864 if ac_fn_cxx_try_compile "$LINENO"; then :
55865 glibcxx_cv_func_finitef_use=yes
55866 else
55867 glibcxx_cv_func_finitef_use=no
55869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55870 ac_ext=c
55871 ac_cpp='$CPP $CPPFLAGS'
55872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
55881 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
55883 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
55884 for ac_func in finitef
55885 do :
55886 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
55887 if test "x$ac_cv_func_finitef" = x""yes; then :
55888 cat >>confdefs.h <<_ACEOF
55889 #define HAVE_FINITEF 1
55890 _ACEOF
55893 done
55895 else
55897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
55898 $as_echo_n "checking for _finitef declaration... " >&6; }
55899 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
55900 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
55901 $as_echo_n "(cached) " >&6
55902 else
55905 ac_ext=cpp
55906 ac_cpp='$CXXCPP $CPPFLAGS'
55907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55912 /* end confdefs.h. */
55913 #include <math.h>
55914 #ifdef HAVE_IEEEFP_H
55915 #include <ieeefp.h>
55916 #endif
55919 main ()
55921 _finitef(0);
55923 return 0;
55925 _ACEOF
55926 if ac_fn_cxx_try_compile "$LINENO"; then :
55927 glibcxx_cv_func__finitef_use=yes
55928 else
55929 glibcxx_cv_func__finitef_use=no
55931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55932 ac_ext=c
55933 ac_cpp='$CPP $CPPFLAGS'
55934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
55943 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
55945 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
55946 for ac_func in _finitef
55947 do :
55948 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
55949 if test "x$ac_cv_func__finitef" = x""yes; then :
55950 cat >>confdefs.h <<_ACEOF
55951 #define HAVE__FINITEF 1
55952 _ACEOF
55955 done
55964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
55965 $as_echo_n "checking for long double trig functions... " >&6; }
55966 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
55967 $as_echo_n "(cached) " >&6
55968 else
55971 ac_ext=cpp
55972 ac_cpp='$CXXCPP $CPPFLAGS'
55973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55978 /* end confdefs.h. */
55979 #include <math.h>
55981 main ()
55983 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
55985 return 0;
55987 _ACEOF
55988 if ac_fn_cxx_try_compile "$LINENO"; then :
55989 glibcxx_cv_func_long_double_trig_use=yes
55990 else
55991 glibcxx_cv_func_long_double_trig_use=no
55993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55994 ac_ext=c
55995 ac_cpp='$CPP $CPPFLAGS'
55996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
56003 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
56004 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
56005 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
56006 do :
56007 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56008 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56009 eval as_val=\$$as_ac_var
56010 if test "x$as_val" = x""yes; then :
56011 cat >>confdefs.h <<_ACEOF
56012 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56013 _ACEOF
56016 done
56018 else
56019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
56020 $as_echo_n "checking for _long double trig functions... " >&6; }
56021 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
56022 $as_echo_n "(cached) " >&6
56023 else
56026 ac_ext=cpp
56027 ac_cpp='$CXXCPP $CPPFLAGS'
56028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56033 /* end confdefs.h. */
56034 #include <math.h>
56036 main ()
56038 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
56040 return 0;
56042 _ACEOF
56043 if ac_fn_cxx_try_compile "$LINENO"; then :
56044 glibcxx_cv_func__long_double_trig_use=yes
56045 else
56046 glibcxx_cv_func__long_double_trig_use=no
56048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56049 ac_ext=c
56050 ac_cpp='$CPP $CPPFLAGS'
56051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
56058 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
56059 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
56060 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
56061 do :
56062 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56063 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56064 eval as_val=\$$as_ac_var
56065 if test "x$as_val" = x""yes; then :
56066 cat >>confdefs.h <<_ACEOF
56067 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56068 _ACEOF
56071 done
56080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
56081 $as_echo_n "checking for long double round functions... " >&6; }
56082 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
56083 $as_echo_n "(cached) " >&6
56084 else
56087 ac_ext=cpp
56088 ac_cpp='$CXXCPP $CPPFLAGS'
56089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56094 /* end confdefs.h. */
56095 #include <math.h>
56097 main ()
56099 ceill (0); floorl (0);
56101 return 0;
56103 _ACEOF
56104 if ac_fn_cxx_try_compile "$LINENO"; then :
56105 glibcxx_cv_func_long_double_round_use=yes
56106 else
56107 glibcxx_cv_func_long_double_round_use=no
56109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56110 ac_ext=c
56111 ac_cpp='$CPP $CPPFLAGS'
56112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
56119 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
56120 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
56121 for ac_func in ceill floorl
56122 do :
56123 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56124 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56125 eval as_val=\$$as_ac_var
56126 if test "x$as_val" = x""yes; then :
56127 cat >>confdefs.h <<_ACEOF
56128 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56129 _ACEOF
56132 done
56134 else
56135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
56136 $as_echo_n "checking for _long double round functions... " >&6; }
56137 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
56138 $as_echo_n "(cached) " >&6
56139 else
56142 ac_ext=cpp
56143 ac_cpp='$CXXCPP $CPPFLAGS'
56144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56149 /* end confdefs.h. */
56150 #include <math.h>
56152 main ()
56154 _ceill (0); _floorl (0);
56156 return 0;
56158 _ACEOF
56159 if ac_fn_cxx_try_compile "$LINENO"; then :
56160 glibcxx_cv_func__long_double_round_use=yes
56161 else
56162 glibcxx_cv_func__long_double_round_use=no
56164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56165 ac_ext=c
56166 ac_cpp='$CPP $CPPFLAGS'
56167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
56174 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
56175 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
56176 for ac_func in _ceill _floorl
56177 do :
56178 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56179 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56180 eval as_val=\$$as_ac_var
56181 if test "x$as_val" = x""yes; then :
56182 cat >>confdefs.h <<_ACEOF
56183 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56184 _ACEOF
56187 done
56197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
56198 $as_echo_n "checking for isnanl declaration... " >&6; }
56199 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
56200 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
56201 $as_echo_n "(cached) " >&6
56202 else
56205 ac_ext=cpp
56206 ac_cpp='$CXXCPP $CPPFLAGS'
56207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56212 /* end confdefs.h. */
56213 #include <math.h>
56214 #ifdef HAVE_IEEEFP_H
56215 #include <ieeefp.h>
56216 #endif
56219 main ()
56221 isnanl(0);
56223 return 0;
56225 _ACEOF
56226 if ac_fn_cxx_try_compile "$LINENO"; then :
56227 glibcxx_cv_func_isnanl_use=yes
56228 else
56229 glibcxx_cv_func_isnanl_use=no
56231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56232 ac_ext=c
56233 ac_cpp='$CPP $CPPFLAGS'
56234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
56243 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
56245 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
56246 for ac_func in isnanl
56247 do :
56248 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
56249 if test "x$ac_cv_func_isnanl" = x""yes; then :
56250 cat >>confdefs.h <<_ACEOF
56251 #define HAVE_ISNANL 1
56252 _ACEOF
56255 done
56257 else
56259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
56260 $as_echo_n "checking for _isnanl declaration... " >&6; }
56261 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
56262 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
56263 $as_echo_n "(cached) " >&6
56264 else
56267 ac_ext=cpp
56268 ac_cpp='$CXXCPP $CPPFLAGS'
56269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56274 /* end confdefs.h. */
56275 #include <math.h>
56276 #ifdef HAVE_IEEEFP_H
56277 #include <ieeefp.h>
56278 #endif
56281 main ()
56283 _isnanl(0);
56285 return 0;
56287 _ACEOF
56288 if ac_fn_cxx_try_compile "$LINENO"; then :
56289 glibcxx_cv_func__isnanl_use=yes
56290 else
56291 glibcxx_cv_func__isnanl_use=no
56293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56294 ac_ext=c
56295 ac_cpp='$CPP $CPPFLAGS'
56296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
56305 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
56307 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
56308 for ac_func in _isnanl
56309 do :
56310 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
56311 if test "x$ac_cv_func__isnanl" = x""yes; then :
56312 cat >>confdefs.h <<_ACEOF
56313 #define HAVE__ISNANL 1
56314 _ACEOF
56317 done
56326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
56327 $as_echo_n "checking for isinfl declaration... " >&6; }
56328 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
56329 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
56330 $as_echo_n "(cached) " >&6
56331 else
56334 ac_ext=cpp
56335 ac_cpp='$CXXCPP $CPPFLAGS'
56336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56341 /* end confdefs.h. */
56342 #include <math.h>
56343 #ifdef HAVE_IEEEFP_H
56344 #include <ieeefp.h>
56345 #endif
56348 main ()
56350 isinfl(0);
56352 return 0;
56354 _ACEOF
56355 if ac_fn_cxx_try_compile "$LINENO"; then :
56356 glibcxx_cv_func_isinfl_use=yes
56357 else
56358 glibcxx_cv_func_isinfl_use=no
56360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56361 ac_ext=c
56362 ac_cpp='$CPP $CPPFLAGS'
56363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
56372 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
56374 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
56375 for ac_func in isinfl
56376 do :
56377 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
56378 if test "x$ac_cv_func_isinfl" = x""yes; then :
56379 cat >>confdefs.h <<_ACEOF
56380 #define HAVE_ISINFL 1
56381 _ACEOF
56384 done
56386 else
56388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
56389 $as_echo_n "checking for _isinfl declaration... " >&6; }
56390 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
56391 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
56392 $as_echo_n "(cached) " >&6
56393 else
56396 ac_ext=cpp
56397 ac_cpp='$CXXCPP $CPPFLAGS'
56398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56403 /* end confdefs.h. */
56404 #include <math.h>
56405 #ifdef HAVE_IEEEFP_H
56406 #include <ieeefp.h>
56407 #endif
56410 main ()
56412 _isinfl(0);
56414 return 0;
56416 _ACEOF
56417 if ac_fn_cxx_try_compile "$LINENO"; then :
56418 glibcxx_cv_func__isinfl_use=yes
56419 else
56420 glibcxx_cv_func__isinfl_use=no
56422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56423 ac_ext=c
56424 ac_cpp='$CPP $CPPFLAGS'
56425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
56434 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
56436 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
56437 for ac_func in _isinfl
56438 do :
56439 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
56440 if test "x$ac_cv_func__isinfl" = x""yes; then :
56441 cat >>confdefs.h <<_ACEOF
56442 #define HAVE__ISINFL 1
56443 _ACEOF
56446 done
56455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
56456 $as_echo_n "checking for atan2l declaration... " >&6; }
56457 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
56458 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
56459 $as_echo_n "(cached) " >&6
56460 else
56463 ac_ext=cpp
56464 ac_cpp='$CXXCPP $CPPFLAGS'
56465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56470 /* end confdefs.h. */
56471 #include <math.h>
56473 main ()
56475 atan2l(0, 0);
56477 return 0;
56479 _ACEOF
56480 if ac_fn_cxx_try_compile "$LINENO"; then :
56481 glibcxx_cv_func_atan2l_use=yes
56482 else
56483 glibcxx_cv_func_atan2l_use=no
56485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56486 ac_ext=c
56487 ac_cpp='$CPP $CPPFLAGS'
56488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
56497 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
56499 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
56500 for ac_func in atan2l
56501 do :
56502 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
56503 if test "x$ac_cv_func_atan2l" = x""yes; then :
56504 cat >>confdefs.h <<_ACEOF
56505 #define HAVE_ATAN2L 1
56506 _ACEOF
56509 done
56511 else
56513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
56514 $as_echo_n "checking for _atan2l declaration... " >&6; }
56515 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
56516 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
56517 $as_echo_n "(cached) " >&6
56518 else
56521 ac_ext=cpp
56522 ac_cpp='$CXXCPP $CPPFLAGS'
56523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56528 /* end confdefs.h. */
56529 #include <math.h>
56531 main ()
56533 _atan2l(0, 0);
56535 return 0;
56537 _ACEOF
56538 if ac_fn_cxx_try_compile "$LINENO"; then :
56539 glibcxx_cv_func__atan2l_use=yes
56540 else
56541 glibcxx_cv_func__atan2l_use=no
56543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56544 ac_ext=c
56545 ac_cpp='$CPP $CPPFLAGS'
56546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
56555 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
56557 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
56558 for ac_func in _atan2l
56559 do :
56560 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
56561 if test "x$ac_cv_func__atan2l" = x""yes; then :
56562 cat >>confdefs.h <<_ACEOF
56563 #define HAVE__ATAN2L 1
56564 _ACEOF
56567 done
56576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
56577 $as_echo_n "checking for expl declaration... " >&6; }
56578 if test x${glibcxx_cv_func_expl_use+set} != xset; then
56579 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
56580 $as_echo_n "(cached) " >&6
56581 else
56584 ac_ext=cpp
56585 ac_cpp='$CXXCPP $CPPFLAGS'
56586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56591 /* end confdefs.h. */
56592 #include <math.h>
56593 #ifdef HAVE_IEEEFP_H
56594 #include <ieeefp.h>
56595 #endif
56598 main ()
56600 expl(0);
56602 return 0;
56604 _ACEOF
56605 if ac_fn_cxx_try_compile "$LINENO"; then :
56606 glibcxx_cv_func_expl_use=yes
56607 else
56608 glibcxx_cv_func_expl_use=no
56610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56611 ac_ext=c
56612 ac_cpp='$CPP $CPPFLAGS'
56613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
56622 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
56624 if test x$glibcxx_cv_func_expl_use = x"yes"; then
56625 for ac_func in expl
56626 do :
56627 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
56628 if test "x$ac_cv_func_expl" = x""yes; then :
56629 cat >>confdefs.h <<_ACEOF
56630 #define HAVE_EXPL 1
56631 _ACEOF
56634 done
56636 else
56638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
56639 $as_echo_n "checking for _expl declaration... " >&6; }
56640 if test x${glibcxx_cv_func__expl_use+set} != xset; then
56641 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
56642 $as_echo_n "(cached) " >&6
56643 else
56646 ac_ext=cpp
56647 ac_cpp='$CXXCPP $CPPFLAGS'
56648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56653 /* end confdefs.h. */
56654 #include <math.h>
56655 #ifdef HAVE_IEEEFP_H
56656 #include <ieeefp.h>
56657 #endif
56660 main ()
56662 _expl(0);
56664 return 0;
56666 _ACEOF
56667 if ac_fn_cxx_try_compile "$LINENO"; then :
56668 glibcxx_cv_func__expl_use=yes
56669 else
56670 glibcxx_cv_func__expl_use=no
56672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56673 ac_ext=c
56674 ac_cpp='$CPP $CPPFLAGS'
56675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
56684 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
56686 if test x$glibcxx_cv_func__expl_use = x"yes"; then
56687 for ac_func in _expl
56688 do :
56689 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
56690 if test "x$ac_cv_func__expl" = x""yes; then :
56691 cat >>confdefs.h <<_ACEOF
56692 #define HAVE__EXPL 1
56693 _ACEOF
56696 done
56705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
56706 $as_echo_n "checking for fabsl declaration... " >&6; }
56707 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
56708 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
56709 $as_echo_n "(cached) " >&6
56710 else
56713 ac_ext=cpp
56714 ac_cpp='$CXXCPP $CPPFLAGS'
56715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56720 /* end confdefs.h. */
56721 #include <math.h>
56722 #ifdef HAVE_IEEEFP_H
56723 #include <ieeefp.h>
56724 #endif
56727 main ()
56729 fabsl(0);
56731 return 0;
56733 _ACEOF
56734 if ac_fn_cxx_try_compile "$LINENO"; then :
56735 glibcxx_cv_func_fabsl_use=yes
56736 else
56737 glibcxx_cv_func_fabsl_use=no
56739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56740 ac_ext=c
56741 ac_cpp='$CPP $CPPFLAGS'
56742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
56751 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
56753 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
56754 for ac_func in fabsl
56755 do :
56756 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
56757 if test "x$ac_cv_func_fabsl" = x""yes; then :
56758 cat >>confdefs.h <<_ACEOF
56759 #define HAVE_FABSL 1
56760 _ACEOF
56763 done
56765 else
56767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
56768 $as_echo_n "checking for _fabsl declaration... " >&6; }
56769 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
56770 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
56771 $as_echo_n "(cached) " >&6
56772 else
56775 ac_ext=cpp
56776 ac_cpp='$CXXCPP $CPPFLAGS'
56777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56782 /* end confdefs.h. */
56783 #include <math.h>
56784 #ifdef HAVE_IEEEFP_H
56785 #include <ieeefp.h>
56786 #endif
56789 main ()
56791 _fabsl(0);
56793 return 0;
56795 _ACEOF
56796 if ac_fn_cxx_try_compile "$LINENO"; then :
56797 glibcxx_cv_func__fabsl_use=yes
56798 else
56799 glibcxx_cv_func__fabsl_use=no
56801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56802 ac_ext=c
56803 ac_cpp='$CPP $CPPFLAGS'
56804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
56813 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
56815 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
56816 for ac_func in _fabsl
56817 do :
56818 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
56819 if test "x$ac_cv_func__fabsl" = x""yes; then :
56820 cat >>confdefs.h <<_ACEOF
56821 #define HAVE__FABSL 1
56822 _ACEOF
56825 done
56834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
56835 $as_echo_n "checking for fmodl declaration... " >&6; }
56836 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
56837 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
56838 $as_echo_n "(cached) " >&6
56839 else
56842 ac_ext=cpp
56843 ac_cpp='$CXXCPP $CPPFLAGS'
56844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56849 /* end confdefs.h. */
56850 #include <math.h>
56852 main ()
56854 fmodl(0, 0);
56856 return 0;
56858 _ACEOF
56859 if ac_fn_cxx_try_compile "$LINENO"; then :
56860 glibcxx_cv_func_fmodl_use=yes
56861 else
56862 glibcxx_cv_func_fmodl_use=no
56864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56865 ac_ext=c
56866 ac_cpp='$CPP $CPPFLAGS'
56867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
56876 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
56878 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
56879 for ac_func in fmodl
56880 do :
56881 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
56882 if test "x$ac_cv_func_fmodl" = x""yes; then :
56883 cat >>confdefs.h <<_ACEOF
56884 #define HAVE_FMODL 1
56885 _ACEOF
56888 done
56890 else
56892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
56893 $as_echo_n "checking for _fmodl declaration... " >&6; }
56894 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
56895 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
56896 $as_echo_n "(cached) " >&6
56897 else
56900 ac_ext=cpp
56901 ac_cpp='$CXXCPP $CPPFLAGS'
56902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56907 /* end confdefs.h. */
56908 #include <math.h>
56910 main ()
56912 _fmodl(0, 0);
56914 return 0;
56916 _ACEOF
56917 if ac_fn_cxx_try_compile "$LINENO"; then :
56918 glibcxx_cv_func__fmodl_use=yes
56919 else
56920 glibcxx_cv_func__fmodl_use=no
56922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56923 ac_ext=c
56924 ac_cpp='$CPP $CPPFLAGS'
56925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
56934 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
56936 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
56937 for ac_func in _fmodl
56938 do :
56939 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
56940 if test "x$ac_cv_func__fmodl" = x""yes; then :
56941 cat >>confdefs.h <<_ACEOF
56942 #define HAVE__FMODL 1
56943 _ACEOF
56946 done
56955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
56956 $as_echo_n "checking for frexpl declaration... " >&6; }
56957 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
56958 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
56959 $as_echo_n "(cached) " >&6
56960 else
56963 ac_ext=cpp
56964 ac_cpp='$CXXCPP $CPPFLAGS'
56965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56970 /* end confdefs.h. */
56971 #include <math.h>
56973 main ()
56975 frexpl(0, 0);
56977 return 0;
56979 _ACEOF
56980 if ac_fn_cxx_try_compile "$LINENO"; then :
56981 glibcxx_cv_func_frexpl_use=yes
56982 else
56983 glibcxx_cv_func_frexpl_use=no
56985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56986 ac_ext=c
56987 ac_cpp='$CPP $CPPFLAGS'
56988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
56997 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
56999 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
57000 for ac_func in frexpl
57001 do :
57002 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
57003 if test "x$ac_cv_func_frexpl" = x""yes; then :
57004 cat >>confdefs.h <<_ACEOF
57005 #define HAVE_FREXPL 1
57006 _ACEOF
57009 done
57011 else
57013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
57014 $as_echo_n "checking for _frexpl declaration... " >&6; }
57015 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
57016 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
57017 $as_echo_n "(cached) " >&6
57018 else
57021 ac_ext=cpp
57022 ac_cpp='$CXXCPP $CPPFLAGS'
57023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57028 /* end confdefs.h. */
57029 #include <math.h>
57031 main ()
57033 _frexpl(0, 0);
57035 return 0;
57037 _ACEOF
57038 if ac_fn_cxx_try_compile "$LINENO"; then :
57039 glibcxx_cv_func__frexpl_use=yes
57040 else
57041 glibcxx_cv_func__frexpl_use=no
57043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57044 ac_ext=c
57045 ac_cpp='$CPP $CPPFLAGS'
57046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
57055 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
57057 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
57058 for ac_func in _frexpl
57059 do :
57060 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
57061 if test "x$ac_cv_func__frexpl" = x""yes; then :
57062 cat >>confdefs.h <<_ACEOF
57063 #define HAVE__FREXPL 1
57064 _ACEOF
57067 done
57076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
57077 $as_echo_n "checking for hypotl declaration... " >&6; }
57078 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
57079 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
57080 $as_echo_n "(cached) " >&6
57081 else
57084 ac_ext=cpp
57085 ac_cpp='$CXXCPP $CPPFLAGS'
57086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57091 /* end confdefs.h. */
57092 #include <math.h>
57094 main ()
57096 hypotl(0, 0);
57098 return 0;
57100 _ACEOF
57101 if ac_fn_cxx_try_compile "$LINENO"; then :
57102 glibcxx_cv_func_hypotl_use=yes
57103 else
57104 glibcxx_cv_func_hypotl_use=no
57106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57107 ac_ext=c
57108 ac_cpp='$CPP $CPPFLAGS'
57109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
57118 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
57120 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
57121 for ac_func in hypotl
57122 do :
57123 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
57124 if test "x$ac_cv_func_hypotl" = x""yes; then :
57125 cat >>confdefs.h <<_ACEOF
57126 #define HAVE_HYPOTL 1
57127 _ACEOF
57130 done
57132 else
57134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
57135 $as_echo_n "checking for _hypotl declaration... " >&6; }
57136 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
57137 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
57138 $as_echo_n "(cached) " >&6
57139 else
57142 ac_ext=cpp
57143 ac_cpp='$CXXCPP $CPPFLAGS'
57144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57149 /* end confdefs.h. */
57150 #include <math.h>
57152 main ()
57154 _hypotl(0, 0);
57156 return 0;
57158 _ACEOF
57159 if ac_fn_cxx_try_compile "$LINENO"; then :
57160 glibcxx_cv_func__hypotl_use=yes
57161 else
57162 glibcxx_cv_func__hypotl_use=no
57164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57165 ac_ext=c
57166 ac_cpp='$CPP $CPPFLAGS'
57167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
57176 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
57178 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
57179 for ac_func in _hypotl
57180 do :
57181 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
57182 if test "x$ac_cv_func__hypotl" = x""yes; then :
57183 cat >>confdefs.h <<_ACEOF
57184 #define HAVE__HYPOTL 1
57185 _ACEOF
57188 done
57197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
57198 $as_echo_n "checking for ldexpl declaration... " >&6; }
57199 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
57200 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
57201 $as_echo_n "(cached) " >&6
57202 else
57205 ac_ext=cpp
57206 ac_cpp='$CXXCPP $CPPFLAGS'
57207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57212 /* end confdefs.h. */
57213 #include <math.h>
57215 main ()
57217 ldexpl(0, 0);
57219 return 0;
57221 _ACEOF
57222 if ac_fn_cxx_try_compile "$LINENO"; then :
57223 glibcxx_cv_func_ldexpl_use=yes
57224 else
57225 glibcxx_cv_func_ldexpl_use=no
57227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57228 ac_ext=c
57229 ac_cpp='$CPP $CPPFLAGS'
57230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
57239 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
57241 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
57242 for ac_func in ldexpl
57243 do :
57244 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
57245 if test "x$ac_cv_func_ldexpl" = x""yes; then :
57246 cat >>confdefs.h <<_ACEOF
57247 #define HAVE_LDEXPL 1
57248 _ACEOF
57251 done
57253 else
57255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
57256 $as_echo_n "checking for _ldexpl declaration... " >&6; }
57257 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
57258 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
57259 $as_echo_n "(cached) " >&6
57260 else
57263 ac_ext=cpp
57264 ac_cpp='$CXXCPP $CPPFLAGS'
57265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57270 /* end confdefs.h. */
57271 #include <math.h>
57273 main ()
57275 _ldexpl(0, 0);
57277 return 0;
57279 _ACEOF
57280 if ac_fn_cxx_try_compile "$LINENO"; then :
57281 glibcxx_cv_func__ldexpl_use=yes
57282 else
57283 glibcxx_cv_func__ldexpl_use=no
57285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57286 ac_ext=c
57287 ac_cpp='$CPP $CPPFLAGS'
57288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
57297 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
57299 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
57300 for ac_func in _ldexpl
57301 do :
57302 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
57303 if test "x$ac_cv_func__ldexpl" = x""yes; then :
57304 cat >>confdefs.h <<_ACEOF
57305 #define HAVE__LDEXPL 1
57306 _ACEOF
57309 done
57318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
57319 $as_echo_n "checking for logl declaration... " >&6; }
57320 if test x${glibcxx_cv_func_logl_use+set} != xset; then
57321 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
57322 $as_echo_n "(cached) " >&6
57323 else
57326 ac_ext=cpp
57327 ac_cpp='$CXXCPP $CPPFLAGS'
57328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57333 /* end confdefs.h. */
57334 #include <math.h>
57335 #ifdef HAVE_IEEEFP_H
57336 #include <ieeefp.h>
57337 #endif
57340 main ()
57342 logl(0);
57344 return 0;
57346 _ACEOF
57347 if ac_fn_cxx_try_compile "$LINENO"; then :
57348 glibcxx_cv_func_logl_use=yes
57349 else
57350 glibcxx_cv_func_logl_use=no
57352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57353 ac_ext=c
57354 ac_cpp='$CPP $CPPFLAGS'
57355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
57364 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
57366 if test x$glibcxx_cv_func_logl_use = x"yes"; then
57367 for ac_func in logl
57368 do :
57369 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
57370 if test "x$ac_cv_func_logl" = x""yes; then :
57371 cat >>confdefs.h <<_ACEOF
57372 #define HAVE_LOGL 1
57373 _ACEOF
57376 done
57378 else
57380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
57381 $as_echo_n "checking for _logl declaration... " >&6; }
57382 if test x${glibcxx_cv_func__logl_use+set} != xset; then
57383 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
57384 $as_echo_n "(cached) " >&6
57385 else
57388 ac_ext=cpp
57389 ac_cpp='$CXXCPP $CPPFLAGS'
57390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57395 /* end confdefs.h. */
57396 #include <math.h>
57397 #ifdef HAVE_IEEEFP_H
57398 #include <ieeefp.h>
57399 #endif
57402 main ()
57404 _logl(0);
57406 return 0;
57408 _ACEOF
57409 if ac_fn_cxx_try_compile "$LINENO"; then :
57410 glibcxx_cv_func__logl_use=yes
57411 else
57412 glibcxx_cv_func__logl_use=no
57414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57415 ac_ext=c
57416 ac_cpp='$CPP $CPPFLAGS'
57417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
57426 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
57428 if test x$glibcxx_cv_func__logl_use = x"yes"; then
57429 for ac_func in _logl
57430 do :
57431 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
57432 if test "x$ac_cv_func__logl" = x""yes; then :
57433 cat >>confdefs.h <<_ACEOF
57434 #define HAVE__LOGL 1
57435 _ACEOF
57438 done
57447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
57448 $as_echo_n "checking for log10l declaration... " >&6; }
57449 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
57450 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
57451 $as_echo_n "(cached) " >&6
57452 else
57455 ac_ext=cpp
57456 ac_cpp='$CXXCPP $CPPFLAGS'
57457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57462 /* end confdefs.h. */
57463 #include <math.h>
57464 #ifdef HAVE_IEEEFP_H
57465 #include <ieeefp.h>
57466 #endif
57469 main ()
57471 log10l(0);
57473 return 0;
57475 _ACEOF
57476 if ac_fn_cxx_try_compile "$LINENO"; then :
57477 glibcxx_cv_func_log10l_use=yes
57478 else
57479 glibcxx_cv_func_log10l_use=no
57481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57482 ac_ext=c
57483 ac_cpp='$CPP $CPPFLAGS'
57484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
57493 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
57495 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
57496 for ac_func in log10l
57497 do :
57498 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
57499 if test "x$ac_cv_func_log10l" = x""yes; then :
57500 cat >>confdefs.h <<_ACEOF
57501 #define HAVE_LOG10L 1
57502 _ACEOF
57505 done
57507 else
57509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
57510 $as_echo_n "checking for _log10l declaration... " >&6; }
57511 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
57512 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
57513 $as_echo_n "(cached) " >&6
57514 else
57517 ac_ext=cpp
57518 ac_cpp='$CXXCPP $CPPFLAGS'
57519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57524 /* end confdefs.h. */
57525 #include <math.h>
57526 #ifdef HAVE_IEEEFP_H
57527 #include <ieeefp.h>
57528 #endif
57531 main ()
57533 _log10l(0);
57535 return 0;
57537 _ACEOF
57538 if ac_fn_cxx_try_compile "$LINENO"; then :
57539 glibcxx_cv_func__log10l_use=yes
57540 else
57541 glibcxx_cv_func__log10l_use=no
57543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57544 ac_ext=c
57545 ac_cpp='$CPP $CPPFLAGS'
57546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
57555 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
57557 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
57558 for ac_func in _log10l
57559 do :
57560 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
57561 if test "x$ac_cv_func__log10l" = x""yes; then :
57562 cat >>confdefs.h <<_ACEOF
57563 #define HAVE__LOG10L 1
57564 _ACEOF
57567 done
57576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
57577 $as_echo_n "checking for modfl declaration... " >&6; }
57578 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
57579 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
57580 $as_echo_n "(cached) " >&6
57581 else
57584 ac_ext=cpp
57585 ac_cpp='$CXXCPP $CPPFLAGS'
57586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57591 /* end confdefs.h. */
57592 #include <math.h>
57594 main ()
57596 modfl(0, 0);
57598 return 0;
57600 _ACEOF
57601 if ac_fn_cxx_try_compile "$LINENO"; then :
57602 glibcxx_cv_func_modfl_use=yes
57603 else
57604 glibcxx_cv_func_modfl_use=no
57606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57607 ac_ext=c
57608 ac_cpp='$CPP $CPPFLAGS'
57609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
57618 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
57620 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
57621 for ac_func in modfl
57622 do :
57623 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
57624 if test "x$ac_cv_func_modfl" = x""yes; then :
57625 cat >>confdefs.h <<_ACEOF
57626 #define HAVE_MODFL 1
57627 _ACEOF
57630 done
57632 else
57634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
57635 $as_echo_n "checking for _modfl declaration... " >&6; }
57636 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
57637 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
57638 $as_echo_n "(cached) " >&6
57639 else
57642 ac_ext=cpp
57643 ac_cpp='$CXXCPP $CPPFLAGS'
57644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57649 /* end confdefs.h. */
57650 #include <math.h>
57652 main ()
57654 _modfl(0, 0);
57656 return 0;
57658 _ACEOF
57659 if ac_fn_cxx_try_compile "$LINENO"; then :
57660 glibcxx_cv_func__modfl_use=yes
57661 else
57662 glibcxx_cv_func__modfl_use=no
57664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57665 ac_ext=c
57666 ac_cpp='$CPP $CPPFLAGS'
57667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
57676 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
57678 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
57679 for ac_func in _modfl
57680 do :
57681 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
57682 if test "x$ac_cv_func__modfl" = x""yes; then :
57683 cat >>confdefs.h <<_ACEOF
57684 #define HAVE__MODFL 1
57685 _ACEOF
57688 done
57697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
57698 $as_echo_n "checking for powl declaration... " >&6; }
57699 if test x${glibcxx_cv_func_powl_use+set} != xset; then
57700 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
57701 $as_echo_n "(cached) " >&6
57702 else
57705 ac_ext=cpp
57706 ac_cpp='$CXXCPP $CPPFLAGS'
57707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57712 /* end confdefs.h. */
57713 #include <math.h>
57715 main ()
57717 powl(0, 0);
57719 return 0;
57721 _ACEOF
57722 if ac_fn_cxx_try_compile "$LINENO"; then :
57723 glibcxx_cv_func_powl_use=yes
57724 else
57725 glibcxx_cv_func_powl_use=no
57727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57728 ac_ext=c
57729 ac_cpp='$CPP $CPPFLAGS'
57730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
57739 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
57741 if test x$glibcxx_cv_func_powl_use = x"yes"; then
57742 for ac_func in powl
57743 do :
57744 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
57745 if test "x$ac_cv_func_powl" = x""yes; then :
57746 cat >>confdefs.h <<_ACEOF
57747 #define HAVE_POWL 1
57748 _ACEOF
57751 done
57753 else
57755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
57756 $as_echo_n "checking for _powl declaration... " >&6; }
57757 if test x${glibcxx_cv_func__powl_use+set} != xset; then
57758 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
57759 $as_echo_n "(cached) " >&6
57760 else
57763 ac_ext=cpp
57764 ac_cpp='$CXXCPP $CPPFLAGS'
57765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57770 /* end confdefs.h. */
57771 #include <math.h>
57773 main ()
57775 _powl(0, 0);
57777 return 0;
57779 _ACEOF
57780 if ac_fn_cxx_try_compile "$LINENO"; then :
57781 glibcxx_cv_func__powl_use=yes
57782 else
57783 glibcxx_cv_func__powl_use=no
57785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57786 ac_ext=c
57787 ac_cpp='$CPP $CPPFLAGS'
57788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
57797 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
57799 if test x$glibcxx_cv_func__powl_use = x"yes"; then
57800 for ac_func in _powl
57801 do :
57802 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
57803 if test "x$ac_cv_func__powl" = x""yes; then :
57804 cat >>confdefs.h <<_ACEOF
57805 #define HAVE__POWL 1
57806 _ACEOF
57809 done
57818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
57819 $as_echo_n "checking for sqrtl declaration... " >&6; }
57820 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
57821 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
57822 $as_echo_n "(cached) " >&6
57823 else
57826 ac_ext=cpp
57827 ac_cpp='$CXXCPP $CPPFLAGS'
57828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57833 /* end confdefs.h. */
57834 #include <math.h>
57835 #ifdef HAVE_IEEEFP_H
57836 #include <ieeefp.h>
57837 #endif
57840 main ()
57842 sqrtl(0);
57844 return 0;
57846 _ACEOF
57847 if ac_fn_cxx_try_compile "$LINENO"; then :
57848 glibcxx_cv_func_sqrtl_use=yes
57849 else
57850 glibcxx_cv_func_sqrtl_use=no
57852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57853 ac_ext=c
57854 ac_cpp='$CPP $CPPFLAGS'
57855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
57864 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
57866 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
57867 for ac_func in sqrtl
57868 do :
57869 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
57870 if test "x$ac_cv_func_sqrtl" = x""yes; then :
57871 cat >>confdefs.h <<_ACEOF
57872 #define HAVE_SQRTL 1
57873 _ACEOF
57876 done
57878 else
57880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
57881 $as_echo_n "checking for _sqrtl declaration... " >&6; }
57882 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
57883 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
57884 $as_echo_n "(cached) " >&6
57885 else
57888 ac_ext=cpp
57889 ac_cpp='$CXXCPP $CPPFLAGS'
57890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57895 /* end confdefs.h. */
57896 #include <math.h>
57897 #ifdef HAVE_IEEEFP_H
57898 #include <ieeefp.h>
57899 #endif
57902 main ()
57904 _sqrtl(0);
57906 return 0;
57908 _ACEOF
57909 if ac_fn_cxx_try_compile "$LINENO"; then :
57910 glibcxx_cv_func__sqrtl_use=yes
57911 else
57912 glibcxx_cv_func__sqrtl_use=no
57914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57915 ac_ext=c
57916 ac_cpp='$CPP $CPPFLAGS'
57917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
57926 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
57928 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
57929 for ac_func in _sqrtl
57930 do :
57931 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
57932 if test "x$ac_cv_func__sqrtl" = x""yes; then :
57933 cat >>confdefs.h <<_ACEOF
57934 #define HAVE__SQRTL 1
57935 _ACEOF
57938 done
57947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
57948 $as_echo_n "checking for sincosl declaration... " >&6; }
57949 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
57950 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
57951 $as_echo_n "(cached) " >&6
57952 else
57955 ac_ext=cpp
57956 ac_cpp='$CXXCPP $CPPFLAGS'
57957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57962 /* end confdefs.h. */
57963 #include <math.h>
57965 main ()
57967 sincosl(0, 0, 0);
57969 return 0;
57971 _ACEOF
57972 if ac_fn_cxx_try_compile "$LINENO"; then :
57973 glibcxx_cv_func_sincosl_use=yes
57974 else
57975 glibcxx_cv_func_sincosl_use=no
57977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57978 ac_ext=c
57979 ac_cpp='$CPP $CPPFLAGS'
57980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
57989 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
57991 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
57992 for ac_func in sincosl
57993 do :
57994 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
57995 if test "x$ac_cv_func_sincosl" = x""yes; then :
57996 cat >>confdefs.h <<_ACEOF
57997 #define HAVE_SINCOSL 1
57998 _ACEOF
58001 done
58003 else
58005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
58006 $as_echo_n "checking for _sincosl declaration... " >&6; }
58007 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
58008 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
58009 $as_echo_n "(cached) " >&6
58010 else
58013 ac_ext=cpp
58014 ac_cpp='$CXXCPP $CPPFLAGS'
58015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58020 /* end confdefs.h. */
58021 #include <math.h>
58023 main ()
58025 _sincosl(0, 0, 0);
58027 return 0;
58029 _ACEOF
58030 if ac_fn_cxx_try_compile "$LINENO"; then :
58031 glibcxx_cv_func__sincosl_use=yes
58032 else
58033 glibcxx_cv_func__sincosl_use=no
58035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58036 ac_ext=c
58037 ac_cpp='$CPP $CPPFLAGS'
58038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
58047 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
58049 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
58050 for ac_func in _sincosl
58051 do :
58052 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
58053 if test "x$ac_cv_func__sincosl" = x""yes; then :
58054 cat >>confdefs.h <<_ACEOF
58055 #define HAVE__SINCOSL 1
58056 _ACEOF
58059 done
58068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
58069 $as_echo_n "checking for finitel declaration... " >&6; }
58070 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
58071 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
58072 $as_echo_n "(cached) " >&6
58073 else
58076 ac_ext=cpp
58077 ac_cpp='$CXXCPP $CPPFLAGS'
58078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58083 /* end confdefs.h. */
58084 #include <math.h>
58085 #ifdef HAVE_IEEEFP_H
58086 #include <ieeefp.h>
58087 #endif
58090 main ()
58092 finitel(0);
58094 return 0;
58096 _ACEOF
58097 if ac_fn_cxx_try_compile "$LINENO"; then :
58098 glibcxx_cv_func_finitel_use=yes
58099 else
58100 glibcxx_cv_func_finitel_use=no
58102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58103 ac_ext=c
58104 ac_cpp='$CPP $CPPFLAGS'
58105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
58114 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
58116 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
58117 for ac_func in finitel
58118 do :
58119 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
58120 if test "x$ac_cv_func_finitel" = x""yes; then :
58121 cat >>confdefs.h <<_ACEOF
58122 #define HAVE_FINITEL 1
58123 _ACEOF
58126 done
58128 else
58130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
58131 $as_echo_n "checking for _finitel declaration... " >&6; }
58132 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
58133 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
58134 $as_echo_n "(cached) " >&6
58135 else
58138 ac_ext=cpp
58139 ac_cpp='$CXXCPP $CPPFLAGS'
58140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58145 /* end confdefs.h. */
58146 #include <math.h>
58147 #ifdef HAVE_IEEEFP_H
58148 #include <ieeefp.h>
58149 #endif
58152 main ()
58154 _finitel(0);
58156 return 0;
58158 _ACEOF
58159 if ac_fn_cxx_try_compile "$LINENO"; then :
58160 glibcxx_cv_func__finitel_use=yes
58161 else
58162 glibcxx_cv_func__finitel_use=no
58164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58165 ac_ext=c
58166 ac_cpp='$CPP $CPPFLAGS'
58167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
58176 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
58178 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
58179 for ac_func in _finitel
58180 do :
58181 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
58182 if test "x$ac_cv_func__finitel" = x""yes; then :
58183 cat >>confdefs.h <<_ACEOF
58184 #define HAVE__FINITEL 1
58185 _ACEOF
58188 done
58196 LIBS="$ac_save_LIBS"
58197 CXXFLAGS="$ac_save_CXXFLAGS"
58200 ac_test_CXXFLAGS="${CXXFLAGS+set}"
58201 ac_save_CXXFLAGS="$CXXFLAGS"
58202 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
58205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
58206 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
58207 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
58208 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
58209 $as_echo_n "(cached) " >&6
58210 else
58213 ac_ext=cpp
58214 ac_cpp='$CXXCPP $CPPFLAGS'
58215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58220 /* end confdefs.h. */
58221 #include <stdlib.h>
58223 main ()
58225 at_quick_exit(0);
58227 return 0;
58229 _ACEOF
58230 if ac_fn_cxx_try_compile "$LINENO"; then :
58231 glibcxx_cv_func_at_quick_exit_use=yes
58232 else
58233 glibcxx_cv_func_at_quick_exit_use=no
58235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58236 ac_ext=c
58237 ac_cpp='$CPP $CPPFLAGS'
58238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
58247 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
58248 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
58249 for ac_func in at_quick_exit
58250 do :
58251 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
58252 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
58253 cat >>confdefs.h <<_ACEOF
58254 #define HAVE_AT_QUICK_EXIT 1
58255 _ACEOF
58258 done
58263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
58264 $as_echo_n "checking for quick_exit declaration... " >&6; }
58265 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
58266 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
58267 $as_echo_n "(cached) " >&6
58268 else
58271 ac_ext=cpp
58272 ac_cpp='$CXXCPP $CPPFLAGS'
58273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58278 /* end confdefs.h. */
58279 #include <stdlib.h>
58281 main ()
58283 quick_exit(0);
58285 return 0;
58287 _ACEOF
58288 if ac_fn_cxx_try_compile "$LINENO"; then :
58289 glibcxx_cv_func_quick_exit_use=yes
58290 else
58291 glibcxx_cv_func_quick_exit_use=no
58293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58294 ac_ext=c
58295 ac_cpp='$CPP $CPPFLAGS'
58296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
58305 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
58306 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
58307 for ac_func in quick_exit
58308 do :
58309 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
58310 if test "x$ac_cv_func_quick_exit" = x""yes; then :
58311 cat >>confdefs.h <<_ACEOF
58312 #define HAVE_QUICK_EXIT 1
58313 _ACEOF
58316 done
58321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
58322 $as_echo_n "checking for strtold declaration... " >&6; }
58323 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
58324 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
58325 $as_echo_n "(cached) " >&6
58326 else
58329 ac_ext=cpp
58330 ac_cpp='$CXXCPP $CPPFLAGS'
58331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58336 /* end confdefs.h. */
58337 #include <stdlib.h>
58339 main ()
58341 strtold(0, 0);
58343 return 0;
58345 _ACEOF
58346 if ac_fn_cxx_try_compile "$LINENO"; then :
58347 glibcxx_cv_func_strtold_use=yes
58348 else
58349 glibcxx_cv_func_strtold_use=no
58351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58352 ac_ext=c
58353 ac_cpp='$CPP $CPPFLAGS'
58354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
58363 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
58364 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
58365 for ac_func in strtold
58366 do :
58367 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
58368 if test "x$ac_cv_func_strtold" = x""yes; then :
58369 cat >>confdefs.h <<_ACEOF
58370 #define HAVE_STRTOLD 1
58371 _ACEOF
58374 done
58381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
58382 $as_echo_n "checking for strtof declaration... " >&6; }
58383 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
58384 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
58385 $as_echo_n "(cached) " >&6
58386 else
58389 ac_ext=cpp
58390 ac_cpp='$CXXCPP $CPPFLAGS'
58391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58396 /* end confdefs.h. */
58397 #include <stdlib.h>
58399 main ()
58401 strtof(0, 0);
58403 return 0;
58405 _ACEOF
58406 if ac_fn_cxx_try_compile "$LINENO"; then :
58407 glibcxx_cv_func_strtof_use=yes
58408 else
58409 glibcxx_cv_func_strtof_use=no
58411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58412 ac_ext=c
58413 ac_cpp='$CPP $CPPFLAGS'
58414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
58423 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
58424 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
58425 for ac_func in strtof
58426 do :
58427 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
58428 if test "x$ac_cv_func_strtof" = x""yes; then :
58429 cat >>confdefs.h <<_ACEOF
58430 #define HAVE_STRTOF 1
58431 _ACEOF
58434 done
58441 CXXFLAGS="$ac_save_CXXFLAGS"
58443 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
58447 # Check whether --enable-tls was given.
58448 if test "${enable_tls+set}" = set; then :
58449 enableval=$enable_tls;
58450 case "$enableval" in
58451 yes|no) ;;
58452 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
58453 esac
58455 else
58456 enable_tls=yes
58460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
58461 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
58462 if test "${gcc_cv_have_tls+set}" = set; then :
58463 $as_echo_n "(cached) " >&6
58464 else
58466 if test "$cross_compiling" = yes; then :
58467 if test x$gcc_no_link = xyes; then
58468 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58471 /* end confdefs.h. */
58472 __thread int a; int b; int main() { return a = b; }
58473 _ACEOF
58474 if ac_fn_c_try_link "$LINENO"; then :
58475 chktls_save_LDFLAGS="$LDFLAGS"
58476 case $host in
58477 *-*-linux*)
58478 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
58480 esac
58481 chktls_save_CFLAGS="$CFLAGS"
58482 CFLAGS="-fPIC $CFLAGS"
58483 if test x$gcc_no_link = xyes; then
58484 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58487 /* end confdefs.h. */
58488 int f() { return 0; }
58489 _ACEOF
58490 if ac_fn_c_try_link "$LINENO"; then :
58491 if test x$gcc_no_link = xyes; then
58492 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58495 /* end confdefs.h. */
58496 __thread int a; int b; int f() { return a = b; }
58497 _ACEOF
58498 if ac_fn_c_try_link "$LINENO"; then :
58499 gcc_cv_have_tls=yes
58500 else
58501 gcc_cv_have_tls=no
58503 rm -f core conftest.err conftest.$ac_objext \
58504 conftest$ac_exeext conftest.$ac_ext
58505 else
58506 gcc_cv_have_tls=yes
58508 rm -f core conftest.err conftest.$ac_objext \
58509 conftest$ac_exeext conftest.$ac_ext
58510 CFLAGS="$chktls_save_CFLAGS"
58511 LDFLAGS="$chktls_save_LDFLAGS"
58512 else
58513 gcc_cv_have_tls=no
58515 rm -f core conftest.err conftest.$ac_objext \
58516 conftest$ac_exeext conftest.$ac_ext
58519 else
58520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58521 /* end confdefs.h. */
58522 __thread int a; int b; int main() { return a = b; }
58523 _ACEOF
58524 if ac_fn_c_try_run "$LINENO"; then :
58525 chktls_save_LDFLAGS="$LDFLAGS"
58526 LDFLAGS="-static $LDFLAGS"
58527 if test x$gcc_no_link = xyes; then
58528 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58531 /* end confdefs.h. */
58532 int main() { return 0; }
58533 _ACEOF
58534 if ac_fn_c_try_link "$LINENO"; then :
58535 if test "$cross_compiling" = yes; then :
58536 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
58537 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
58538 as_fn_error "cannot run test program while cross compiling
58539 See \`config.log' for more details." "$LINENO" 5; }
58540 else
58541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58542 /* end confdefs.h. */
58543 __thread int a; int b; int main() { return a = b; }
58544 _ACEOF
58545 if ac_fn_c_try_run "$LINENO"; then :
58546 gcc_cv_have_tls=yes
58547 else
58548 gcc_cv_have_tls=no
58550 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
58551 conftest.$ac_objext conftest.beam conftest.$ac_ext
58554 else
58555 gcc_cv_have_tls=yes
58557 rm -f core conftest.err conftest.$ac_objext \
58558 conftest$ac_exeext conftest.$ac_ext
58559 LDFLAGS="$chktls_save_LDFLAGS"
58560 if test $gcc_cv_have_tls = yes; then
58561 chktls_save_CFLAGS="$CFLAGS"
58562 thread_CFLAGS=failed
58563 for flag in '' '-pthread' '-lpthread'; do
58564 CFLAGS="$flag $chktls_save_CFLAGS"
58565 if test x$gcc_no_link = xyes; then
58566 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58569 /* end confdefs.h. */
58570 #include <pthread.h>
58571 void *g(void *d) { return NULL; }
58573 main ()
58575 pthread_t t; pthread_create(&t,NULL,g,NULL);
58577 return 0;
58579 _ACEOF
58580 if ac_fn_c_try_link "$LINENO"; then :
58581 thread_CFLAGS="$flag"
58583 rm -f core conftest.err conftest.$ac_objext \
58584 conftest$ac_exeext conftest.$ac_ext
58585 if test "X$thread_CFLAGS" != Xfailed; then
58586 break
58588 done
58589 CFLAGS="$chktls_save_CFLAGS"
58590 if test "X$thread_CFLAGS" != Xfailed; then
58591 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
58592 if test "$cross_compiling" = yes; then :
58593 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
58594 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
58595 as_fn_error "cannot run test program while cross compiling
58596 See \`config.log' for more details." "$LINENO" 5; }
58597 else
58598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58599 /* end confdefs.h. */
58600 #include <pthread.h>
58601 __thread int a;
58602 static int *volatile a_in_other_thread;
58603 static void *
58604 thread_func (void *arg)
58606 a_in_other_thread = &a;
58607 return (void *)0;
58610 main ()
58612 pthread_t thread;
58613 void *thread_retval;
58614 int *volatile a_in_main_thread;
58615 a_in_main_thread = &a;
58616 if (pthread_create (&thread, (pthread_attr_t *)0,
58617 thread_func, (void *)0))
58618 return 0;
58619 if (pthread_join (thread, &thread_retval))
58620 return 0;
58621 return (a_in_other_thread == a_in_main_thread);
58623 return 0;
58625 _ACEOF
58626 if ac_fn_c_try_run "$LINENO"; then :
58627 gcc_cv_have_tls=yes
58628 else
58629 gcc_cv_have_tls=no
58631 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
58632 conftest.$ac_objext conftest.beam conftest.$ac_ext
58635 CFLAGS="$chktls_save_CFLAGS"
58638 else
58639 gcc_cv_have_tls=no
58641 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
58642 conftest.$ac_objext conftest.beam conftest.$ac_ext
58646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
58647 $as_echo "$gcc_cv_have_tls" >&6; }
58648 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
58650 $as_echo "#define HAVE_TLS 1" >>confdefs.h
58658 am_save_CPPFLAGS="$CPPFLAGS"
58660 for element in $INCICONV; do
58661 haveit=
58662 for x in $CPPFLAGS; do
58664 acl_save_prefix="$prefix"
58665 prefix="$acl_final_prefix"
58666 acl_save_exec_prefix="$exec_prefix"
58667 exec_prefix="$acl_final_exec_prefix"
58668 eval x=\"$x\"
58669 exec_prefix="$acl_save_exec_prefix"
58670 prefix="$acl_save_prefix"
58672 if test "X$x" = "X$element"; then
58673 haveit=yes
58674 break
58676 done
58677 if test -z "$haveit"; then
58678 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
58680 done
58683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
58684 $as_echo_n "checking for iconv... " >&6; }
58685 if test "${am_cv_func_iconv+set}" = set; then :
58686 $as_echo_n "(cached) " >&6
58687 else
58689 am_cv_func_iconv="no, consider installing GNU libiconv"
58690 am_cv_lib_iconv=no
58691 if test x$gcc_no_link = xyes; then
58692 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58695 /* end confdefs.h. */
58696 #include <stdlib.h>
58697 #include <iconv.h>
58699 main ()
58701 iconv_t cd = iconv_open("","");
58702 iconv(cd,NULL,NULL,NULL,NULL);
58703 iconv_close(cd);
58705 return 0;
58707 _ACEOF
58708 if ac_fn_c_try_link "$LINENO"; then :
58709 am_cv_func_iconv=yes
58711 rm -f core conftest.err conftest.$ac_objext \
58712 conftest$ac_exeext conftest.$ac_ext
58713 if test "$am_cv_func_iconv" != yes; then
58714 am_save_LIBS="$LIBS"
58715 LIBS="$LIBS $LIBICONV"
58716 if test x$gcc_no_link = xyes; then
58717 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58720 /* end confdefs.h. */
58721 #include <stdlib.h>
58722 #include <iconv.h>
58724 main ()
58726 iconv_t cd = iconv_open("","");
58727 iconv(cd,NULL,NULL,NULL,NULL);
58728 iconv_close(cd);
58730 return 0;
58732 _ACEOF
58733 if ac_fn_c_try_link "$LINENO"; then :
58734 am_cv_lib_iconv=yes
58735 am_cv_func_iconv=yes
58737 rm -f core conftest.err conftest.$ac_objext \
58738 conftest$ac_exeext conftest.$ac_ext
58739 LIBS="$am_save_LIBS"
58743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
58744 $as_echo "$am_cv_func_iconv" >&6; }
58745 if test "$am_cv_func_iconv" = yes; then
58747 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
58750 if test "$am_cv_lib_iconv" = yes; then
58751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
58752 $as_echo_n "checking how to link with libiconv... " >&6; }
58753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
58754 $as_echo "$LIBICONV" >&6; }
58755 else
58756 CPPFLAGS="$am_save_CPPFLAGS"
58757 LIBICONV=
58758 LTLIBICONV=
58763 if test "$am_cv_func_iconv" = yes; then
58764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
58765 $as_echo_n "checking for iconv declaration... " >&6; }
58766 if test "${am_cv_proto_iconv+set}" = set; then :
58767 $as_echo_n "(cached) " >&6
58768 else
58770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58771 /* end confdefs.h. */
58773 #include <stdlib.h>
58774 #include <iconv.h>
58775 extern
58776 #ifdef __cplusplus
58778 #endif
58779 #if defined(__STDC__) || defined(__cplusplus)
58780 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
58781 #else
58782 size_t iconv();
58783 #endif
58786 main ()
58790 return 0;
58792 _ACEOF
58793 if ac_fn_c_try_compile "$LINENO"; then :
58794 am_cv_proto_iconv_arg1=""
58795 else
58796 am_cv_proto_iconv_arg1="const"
58798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58799 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);"
58802 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
58803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
58804 }$am_cv_proto_iconv" >&5
58805 $as_echo "${ac_t:-
58806 }$am_cv_proto_iconv" >&6; }
58808 cat >>confdefs.h <<_ACEOF
58809 #define ICONV_CONST $am_cv_proto_iconv_arg1
58810 _ACEOF
58815 *-mingw32*)
58817 # If we're not using GNU ld, then there's no point in even trying these
58818 # tests. Check for that first. We should have already tested for gld
58819 # by now (in libtool), but require it now just to be safe...
58820 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
58821 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
58825 # The name set by libtool depends on the version of libtool. Shame on us
58826 # for depending on an impl detail, but c'est la vie. Older versions used
58827 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
58828 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
58829 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
58830 # set (hence we're using an older libtool), then set it.
58831 if test x${with_gnu_ld+set} != xset; then
58832 if test x${ac_cv_prog_gnu_ld+set} != xset; then
58833 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
58834 with_gnu_ld=no
58835 else
58836 with_gnu_ld=$ac_cv_prog_gnu_ld
58840 # Start by getting the version number. I think the libtool test already
58841 # does some of this, but throws away the result.
58842 glibcxx_ld_is_gold=no
58843 if test x"$with_gnu_ld" = x"yes"; then
58844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
58845 $as_echo_n "checking for ld version... " >&6; }
58847 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
58848 glibcxx_ld_is_gold=yes
58850 ldver=`$LD --version 2>/dev/null |
58851 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'`
58853 glibcxx_gnu_ld_version=`echo $ldver | \
58854 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
58855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
58856 $as_echo "$glibcxx_gnu_ld_version" >&6; }
58859 # Set --gc-sections.
58860 glibcxx_have_gc_sections=no
58861 if test "$glibcxx_ld_is_gold" = "yes"; then
58862 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
58863 glibcxx_have_gc_sections=yes
58865 else
58866 glibcxx_gcsections_min_ld=21602
58867 if test x"$with_gnu_ld" = x"yes" &&
58868 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
58869 glibcxx_have_gc_sections=yes
58872 if test "$glibcxx_have_gc_sections" = "yes"; then
58873 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
58874 # NB: This flag only works reliably after 2.16.1. Configure tests
58875 # for this are difficult, so hard wire a value that should work.
58877 ac_test_CFLAGS="${CFLAGS+set}"
58878 ac_save_CFLAGS="$CFLAGS"
58879 CFLAGS='-Wl,--gc-sections'
58881 # Check for -Wl,--gc-sections
58882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
58883 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
58884 if test x$gcc_no_link = xyes; then
58885 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58888 /* end confdefs.h. */
58889 int one(void) { return 1; }
58890 int two(void) { return 2; }
58893 main ()
58895 two();
58897 return 0;
58899 _ACEOF
58900 if ac_fn_c_try_link "$LINENO"; then :
58901 ac_gcsections=yes
58902 else
58903 ac_gcsections=no
58905 rm -f core conftest.err conftest.$ac_objext \
58906 conftest$ac_exeext conftest.$ac_ext
58907 if test "$ac_gcsections" = "yes"; then
58908 rm -f conftest.c
58909 touch conftest.c
58910 if $CC -c conftest.c; then
58911 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
58912 grep "Warning: gc-sections option ignored" > /dev/null; then
58913 ac_gcsections=no
58916 rm -f conftest.c conftest.o conftest
58918 if test "$ac_gcsections" = "yes"; then
58919 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
58921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
58922 $as_echo "$ac_gcsections" >&6; }
58924 if test "$ac_test_CFLAGS" = set; then
58925 CFLAGS="$ac_save_CFLAGS"
58926 else
58927 # this is the suspicious part
58928 CFLAGS=''
58932 # Set -z,relro.
58933 # Note this is only for shared objects.
58934 ac_ld_relro=no
58935 if test x"$with_gnu_ld" = x"yes"; then
58936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
58937 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
58938 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
58939 if test -n "$cxx_z_relo"; then
58940 OPT_LDFLAGS="-Wl,-z,relro"
58941 ac_ld_relro=yes
58943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
58944 $as_echo "$ac_ld_relro" >&6; }
58947 # Set linker optimization flags.
58948 if test x"$with_gnu_ld" = x"yes"; then
58949 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
58956 ac_test_CXXFLAGS="${CXXFLAGS+set}"
58957 ac_save_CXXFLAGS="$CXXFLAGS"
58958 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
58960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
58961 $as_echo_n "checking for sin in -lm... " >&6; }
58962 if test "${ac_cv_lib_m_sin+set}" = set; then :
58963 $as_echo_n "(cached) " >&6
58964 else
58965 ac_check_lib_save_LIBS=$LIBS
58966 LIBS="-lm $LIBS"
58967 if test x$gcc_no_link = xyes; then
58968 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58971 /* end confdefs.h. */
58973 /* Override any GCC internal prototype to avoid an error.
58974 Use char because int might match the return type of a GCC
58975 builtin and then its argument prototype would still apply. */
58976 #ifdef __cplusplus
58977 extern "C"
58978 #endif
58979 char sin ();
58981 main ()
58983 return sin ();
58985 return 0;
58987 _ACEOF
58988 if ac_fn_c_try_link "$LINENO"; then :
58989 ac_cv_lib_m_sin=yes
58990 else
58991 ac_cv_lib_m_sin=no
58993 rm -f core conftest.err conftest.$ac_objext \
58994 conftest$ac_exeext conftest.$ac_ext
58995 LIBS=$ac_check_lib_save_LIBS
58997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
58998 $as_echo "$ac_cv_lib_m_sin" >&6; }
58999 if test "x$ac_cv_lib_m_sin" = x""yes; then :
59000 libm="-lm"
59003 ac_save_LIBS="$LIBS"
59004 LIBS="$LIBS $libm"
59008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
59009 $as_echo_n "checking for isinf declaration... " >&6; }
59010 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
59011 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
59012 $as_echo_n "(cached) " >&6
59013 else
59016 ac_ext=cpp
59017 ac_cpp='$CXXCPP $CPPFLAGS'
59018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59023 /* end confdefs.h. */
59024 #include <math.h>
59025 #ifdef HAVE_IEEEFP_H
59026 #include <ieeefp.h>
59027 #endif
59030 main ()
59032 isinf(0);
59034 return 0;
59036 _ACEOF
59037 if ac_fn_cxx_try_compile "$LINENO"; then :
59038 glibcxx_cv_func_isinf_use=yes
59039 else
59040 glibcxx_cv_func_isinf_use=no
59042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59043 ac_ext=c
59044 ac_cpp='$CPP $CPPFLAGS'
59045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
59054 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
59056 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
59057 for ac_func in isinf
59058 do :
59059 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
59060 if test "x$ac_cv_func_isinf" = x""yes; then :
59061 cat >>confdefs.h <<_ACEOF
59062 #define HAVE_ISINF 1
59063 _ACEOF
59066 done
59068 else
59070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
59071 $as_echo_n "checking for _isinf declaration... " >&6; }
59072 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
59073 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
59074 $as_echo_n "(cached) " >&6
59075 else
59078 ac_ext=cpp
59079 ac_cpp='$CXXCPP $CPPFLAGS'
59080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59085 /* end confdefs.h. */
59086 #include <math.h>
59087 #ifdef HAVE_IEEEFP_H
59088 #include <ieeefp.h>
59089 #endif
59092 main ()
59094 _isinf(0);
59096 return 0;
59098 _ACEOF
59099 if ac_fn_cxx_try_compile "$LINENO"; then :
59100 glibcxx_cv_func__isinf_use=yes
59101 else
59102 glibcxx_cv_func__isinf_use=no
59104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59105 ac_ext=c
59106 ac_cpp='$CPP $CPPFLAGS'
59107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
59116 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
59118 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
59119 for ac_func in _isinf
59120 do :
59121 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
59122 if test "x$ac_cv_func__isinf" = x""yes; then :
59123 cat >>confdefs.h <<_ACEOF
59124 #define HAVE__ISINF 1
59125 _ACEOF
59128 done
59137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
59138 $as_echo_n "checking for isnan declaration... " >&6; }
59139 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
59140 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
59141 $as_echo_n "(cached) " >&6
59142 else
59145 ac_ext=cpp
59146 ac_cpp='$CXXCPP $CPPFLAGS'
59147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59152 /* end confdefs.h. */
59153 #include <math.h>
59154 #ifdef HAVE_IEEEFP_H
59155 #include <ieeefp.h>
59156 #endif
59159 main ()
59161 isnan(0);
59163 return 0;
59165 _ACEOF
59166 if ac_fn_cxx_try_compile "$LINENO"; then :
59167 glibcxx_cv_func_isnan_use=yes
59168 else
59169 glibcxx_cv_func_isnan_use=no
59171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59172 ac_ext=c
59173 ac_cpp='$CPP $CPPFLAGS'
59174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
59183 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
59185 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
59186 for ac_func in isnan
59187 do :
59188 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
59189 if test "x$ac_cv_func_isnan" = x""yes; then :
59190 cat >>confdefs.h <<_ACEOF
59191 #define HAVE_ISNAN 1
59192 _ACEOF
59195 done
59197 else
59199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
59200 $as_echo_n "checking for _isnan declaration... " >&6; }
59201 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
59202 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
59203 $as_echo_n "(cached) " >&6
59204 else
59207 ac_ext=cpp
59208 ac_cpp='$CXXCPP $CPPFLAGS'
59209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59214 /* end confdefs.h. */
59215 #include <math.h>
59216 #ifdef HAVE_IEEEFP_H
59217 #include <ieeefp.h>
59218 #endif
59221 main ()
59223 _isnan(0);
59225 return 0;
59227 _ACEOF
59228 if ac_fn_cxx_try_compile "$LINENO"; then :
59229 glibcxx_cv_func__isnan_use=yes
59230 else
59231 glibcxx_cv_func__isnan_use=no
59233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59234 ac_ext=c
59235 ac_cpp='$CPP $CPPFLAGS'
59236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
59245 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
59247 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
59248 for ac_func in _isnan
59249 do :
59250 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
59251 if test "x$ac_cv_func__isnan" = x""yes; then :
59252 cat >>confdefs.h <<_ACEOF
59253 #define HAVE__ISNAN 1
59254 _ACEOF
59257 done
59266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
59267 $as_echo_n "checking for finite declaration... " >&6; }
59268 if test x${glibcxx_cv_func_finite_use+set} != xset; then
59269 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
59270 $as_echo_n "(cached) " >&6
59271 else
59274 ac_ext=cpp
59275 ac_cpp='$CXXCPP $CPPFLAGS'
59276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59281 /* end confdefs.h. */
59282 #include <math.h>
59283 #ifdef HAVE_IEEEFP_H
59284 #include <ieeefp.h>
59285 #endif
59288 main ()
59290 finite(0);
59292 return 0;
59294 _ACEOF
59295 if ac_fn_cxx_try_compile "$LINENO"; then :
59296 glibcxx_cv_func_finite_use=yes
59297 else
59298 glibcxx_cv_func_finite_use=no
59300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59301 ac_ext=c
59302 ac_cpp='$CPP $CPPFLAGS'
59303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
59312 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
59314 if test x$glibcxx_cv_func_finite_use = x"yes"; then
59315 for ac_func in finite
59316 do :
59317 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
59318 if test "x$ac_cv_func_finite" = x""yes; then :
59319 cat >>confdefs.h <<_ACEOF
59320 #define HAVE_FINITE 1
59321 _ACEOF
59324 done
59326 else
59328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
59329 $as_echo_n "checking for _finite declaration... " >&6; }
59330 if test x${glibcxx_cv_func__finite_use+set} != xset; then
59331 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
59332 $as_echo_n "(cached) " >&6
59333 else
59336 ac_ext=cpp
59337 ac_cpp='$CXXCPP $CPPFLAGS'
59338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59343 /* end confdefs.h. */
59344 #include <math.h>
59345 #ifdef HAVE_IEEEFP_H
59346 #include <ieeefp.h>
59347 #endif
59350 main ()
59352 _finite(0);
59354 return 0;
59356 _ACEOF
59357 if ac_fn_cxx_try_compile "$LINENO"; then :
59358 glibcxx_cv_func__finite_use=yes
59359 else
59360 glibcxx_cv_func__finite_use=no
59362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59363 ac_ext=c
59364 ac_cpp='$CPP $CPPFLAGS'
59365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
59374 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
59376 if test x$glibcxx_cv_func__finite_use = x"yes"; then
59377 for ac_func in _finite
59378 do :
59379 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
59380 if test "x$ac_cv_func__finite" = x""yes; then :
59381 cat >>confdefs.h <<_ACEOF
59382 #define HAVE__FINITE 1
59383 _ACEOF
59386 done
59395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
59396 $as_echo_n "checking for sincos declaration... " >&6; }
59397 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
59398 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
59399 $as_echo_n "(cached) " >&6
59400 else
59403 ac_ext=cpp
59404 ac_cpp='$CXXCPP $CPPFLAGS'
59405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59410 /* end confdefs.h. */
59411 #include <math.h>
59413 main ()
59415 sincos(0, 0, 0);
59417 return 0;
59419 _ACEOF
59420 if ac_fn_cxx_try_compile "$LINENO"; then :
59421 glibcxx_cv_func_sincos_use=yes
59422 else
59423 glibcxx_cv_func_sincos_use=no
59425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59426 ac_ext=c
59427 ac_cpp='$CPP $CPPFLAGS'
59428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
59437 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
59439 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
59440 for ac_func in sincos
59441 do :
59442 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
59443 if test "x$ac_cv_func_sincos" = x""yes; then :
59444 cat >>confdefs.h <<_ACEOF
59445 #define HAVE_SINCOS 1
59446 _ACEOF
59449 done
59451 else
59453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
59454 $as_echo_n "checking for _sincos declaration... " >&6; }
59455 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
59456 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
59457 $as_echo_n "(cached) " >&6
59458 else
59461 ac_ext=cpp
59462 ac_cpp='$CXXCPP $CPPFLAGS'
59463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59468 /* end confdefs.h. */
59469 #include <math.h>
59471 main ()
59473 _sincos(0, 0, 0);
59475 return 0;
59477 _ACEOF
59478 if ac_fn_cxx_try_compile "$LINENO"; then :
59479 glibcxx_cv_func__sincos_use=yes
59480 else
59481 glibcxx_cv_func__sincos_use=no
59483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59484 ac_ext=c
59485 ac_cpp='$CPP $CPPFLAGS'
59486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
59495 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
59497 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
59498 for ac_func in _sincos
59499 do :
59500 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
59501 if test "x$ac_cv_func__sincos" = x""yes; then :
59502 cat >>confdefs.h <<_ACEOF
59503 #define HAVE__SINCOS 1
59504 _ACEOF
59507 done
59516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
59517 $as_echo_n "checking for fpclass declaration... " >&6; }
59518 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
59519 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
59520 $as_echo_n "(cached) " >&6
59521 else
59524 ac_ext=cpp
59525 ac_cpp='$CXXCPP $CPPFLAGS'
59526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59531 /* end confdefs.h. */
59532 #include <math.h>
59533 #ifdef HAVE_IEEEFP_H
59534 #include <ieeefp.h>
59535 #endif
59538 main ()
59540 fpclass(0);
59542 return 0;
59544 _ACEOF
59545 if ac_fn_cxx_try_compile "$LINENO"; then :
59546 glibcxx_cv_func_fpclass_use=yes
59547 else
59548 glibcxx_cv_func_fpclass_use=no
59550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59551 ac_ext=c
59552 ac_cpp='$CPP $CPPFLAGS'
59553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
59562 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
59564 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
59565 for ac_func in fpclass
59566 do :
59567 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
59568 if test "x$ac_cv_func_fpclass" = x""yes; then :
59569 cat >>confdefs.h <<_ACEOF
59570 #define HAVE_FPCLASS 1
59571 _ACEOF
59574 done
59576 else
59578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
59579 $as_echo_n "checking for _fpclass declaration... " >&6; }
59580 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
59581 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
59582 $as_echo_n "(cached) " >&6
59583 else
59586 ac_ext=cpp
59587 ac_cpp='$CXXCPP $CPPFLAGS'
59588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59593 /* end confdefs.h. */
59594 #include <math.h>
59595 #ifdef HAVE_IEEEFP_H
59596 #include <ieeefp.h>
59597 #endif
59600 main ()
59602 _fpclass(0);
59604 return 0;
59606 _ACEOF
59607 if ac_fn_cxx_try_compile "$LINENO"; then :
59608 glibcxx_cv_func__fpclass_use=yes
59609 else
59610 glibcxx_cv_func__fpclass_use=no
59612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59613 ac_ext=c
59614 ac_cpp='$CPP $CPPFLAGS'
59615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
59624 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
59626 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
59627 for ac_func in _fpclass
59628 do :
59629 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
59630 if test "x$ac_cv_func__fpclass" = x""yes; then :
59631 cat >>confdefs.h <<_ACEOF
59632 #define HAVE__FPCLASS 1
59633 _ACEOF
59636 done
59645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
59646 $as_echo_n "checking for qfpclass declaration... " >&6; }
59647 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
59648 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
59649 $as_echo_n "(cached) " >&6
59650 else
59653 ac_ext=cpp
59654 ac_cpp='$CXXCPP $CPPFLAGS'
59655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59660 /* end confdefs.h. */
59661 #include <math.h>
59662 #ifdef HAVE_IEEEFP_H
59663 #include <ieeefp.h>
59664 #endif
59667 main ()
59669 qfpclass(0);
59671 return 0;
59673 _ACEOF
59674 if ac_fn_cxx_try_compile "$LINENO"; then :
59675 glibcxx_cv_func_qfpclass_use=yes
59676 else
59677 glibcxx_cv_func_qfpclass_use=no
59679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59680 ac_ext=c
59681 ac_cpp='$CPP $CPPFLAGS'
59682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
59691 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
59693 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
59694 for ac_func in qfpclass
59695 do :
59696 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
59697 if test "x$ac_cv_func_qfpclass" = x""yes; then :
59698 cat >>confdefs.h <<_ACEOF
59699 #define HAVE_QFPCLASS 1
59700 _ACEOF
59703 done
59705 else
59707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
59708 $as_echo_n "checking for _qfpclass declaration... " >&6; }
59709 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
59710 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
59711 $as_echo_n "(cached) " >&6
59712 else
59715 ac_ext=cpp
59716 ac_cpp='$CXXCPP $CPPFLAGS'
59717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59722 /* end confdefs.h. */
59723 #include <math.h>
59724 #ifdef HAVE_IEEEFP_H
59725 #include <ieeefp.h>
59726 #endif
59729 main ()
59731 _qfpclass(0);
59733 return 0;
59735 _ACEOF
59736 if ac_fn_cxx_try_compile "$LINENO"; then :
59737 glibcxx_cv_func__qfpclass_use=yes
59738 else
59739 glibcxx_cv_func__qfpclass_use=no
59741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59742 ac_ext=c
59743 ac_cpp='$CPP $CPPFLAGS'
59744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
59753 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
59755 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
59756 for ac_func in _qfpclass
59757 do :
59758 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
59759 if test "x$ac_cv_func__qfpclass" = x""yes; then :
59760 cat >>confdefs.h <<_ACEOF
59761 #define HAVE__QFPCLASS 1
59762 _ACEOF
59765 done
59774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
59775 $as_echo_n "checking for hypot declaration... " >&6; }
59776 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
59777 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
59778 $as_echo_n "(cached) " >&6
59779 else
59782 ac_ext=cpp
59783 ac_cpp='$CXXCPP $CPPFLAGS'
59784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59789 /* end confdefs.h. */
59790 #include <math.h>
59792 main ()
59794 hypot(0, 0);
59796 return 0;
59798 _ACEOF
59799 if ac_fn_cxx_try_compile "$LINENO"; then :
59800 glibcxx_cv_func_hypot_use=yes
59801 else
59802 glibcxx_cv_func_hypot_use=no
59804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59805 ac_ext=c
59806 ac_cpp='$CPP $CPPFLAGS'
59807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
59816 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
59818 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
59819 for ac_func in hypot
59820 do :
59821 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
59822 if test "x$ac_cv_func_hypot" = x""yes; then :
59823 cat >>confdefs.h <<_ACEOF
59824 #define HAVE_HYPOT 1
59825 _ACEOF
59828 done
59830 else
59832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
59833 $as_echo_n "checking for _hypot declaration... " >&6; }
59834 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
59835 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
59836 $as_echo_n "(cached) " >&6
59837 else
59840 ac_ext=cpp
59841 ac_cpp='$CXXCPP $CPPFLAGS'
59842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59847 /* end confdefs.h. */
59848 #include <math.h>
59850 main ()
59852 _hypot(0, 0);
59854 return 0;
59856 _ACEOF
59857 if ac_fn_cxx_try_compile "$LINENO"; then :
59858 glibcxx_cv_func__hypot_use=yes
59859 else
59860 glibcxx_cv_func__hypot_use=no
59862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59863 ac_ext=c
59864 ac_cpp='$CPP $CPPFLAGS'
59865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
59874 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
59876 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
59877 for ac_func in _hypot
59878 do :
59879 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
59880 if test "x$ac_cv_func__hypot" = x""yes; then :
59881 cat >>confdefs.h <<_ACEOF
59882 #define HAVE__HYPOT 1
59883 _ACEOF
59886 done
59895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
59896 $as_echo_n "checking for float trig functions... " >&6; }
59897 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
59898 $as_echo_n "(cached) " >&6
59899 else
59902 ac_ext=cpp
59903 ac_cpp='$CXXCPP $CPPFLAGS'
59904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59909 /* end confdefs.h. */
59910 #include <math.h>
59912 main ()
59914 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
59916 return 0;
59918 _ACEOF
59919 if ac_fn_cxx_try_compile "$LINENO"; then :
59920 glibcxx_cv_func_float_trig_use=yes
59921 else
59922 glibcxx_cv_func_float_trig_use=no
59924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59925 ac_ext=c
59926 ac_cpp='$CPP $CPPFLAGS'
59927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
59934 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
59935 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
59936 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
59937 do :
59938 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59939 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59940 eval as_val=\$$as_ac_var
59941 if test "x$as_val" = x""yes; then :
59942 cat >>confdefs.h <<_ACEOF
59943 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59944 _ACEOF
59947 done
59949 else
59950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
59951 $as_echo_n "checking for _float trig functions... " >&6; }
59952 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
59953 $as_echo_n "(cached) " >&6
59954 else
59957 ac_ext=cpp
59958 ac_cpp='$CXXCPP $CPPFLAGS'
59959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59964 /* end confdefs.h. */
59965 #include <math.h>
59967 main ()
59969 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
59971 return 0;
59973 _ACEOF
59974 if ac_fn_cxx_try_compile "$LINENO"; then :
59975 glibcxx_cv_func__float_trig_use=yes
59976 else
59977 glibcxx_cv_func__float_trig_use=no
59979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59980 ac_ext=c
59981 ac_cpp='$CPP $CPPFLAGS'
59982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
59989 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
59990 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
59991 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
59992 do :
59993 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59994 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59995 eval as_val=\$$as_ac_var
59996 if test "x$as_val" = x""yes; then :
59997 cat >>confdefs.h <<_ACEOF
59998 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59999 _ACEOF
60002 done
60011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
60012 $as_echo_n "checking for float round functions... " >&6; }
60013 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
60014 $as_echo_n "(cached) " >&6
60015 else
60018 ac_ext=cpp
60019 ac_cpp='$CXXCPP $CPPFLAGS'
60020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60025 /* end confdefs.h. */
60026 #include <math.h>
60028 main ()
60030 ceilf (0); floorf (0);
60032 return 0;
60034 _ACEOF
60035 if ac_fn_cxx_try_compile "$LINENO"; then :
60036 glibcxx_cv_func_float_round_use=yes
60037 else
60038 glibcxx_cv_func_float_round_use=no
60040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60041 ac_ext=c
60042 ac_cpp='$CPP $CPPFLAGS'
60043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
60050 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
60051 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
60052 for ac_func in ceilf floorf
60053 do :
60054 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60055 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60056 eval as_val=\$$as_ac_var
60057 if test "x$as_val" = x""yes; then :
60058 cat >>confdefs.h <<_ACEOF
60059 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60060 _ACEOF
60063 done
60065 else
60066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
60067 $as_echo_n "checking for _float round functions... " >&6; }
60068 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
60069 $as_echo_n "(cached) " >&6
60070 else
60073 ac_ext=cpp
60074 ac_cpp='$CXXCPP $CPPFLAGS'
60075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60080 /* end confdefs.h. */
60081 #include <math.h>
60083 main ()
60085 _ceilf (0); _floorf (0);
60087 return 0;
60089 _ACEOF
60090 if ac_fn_cxx_try_compile "$LINENO"; then :
60091 glibcxx_cv_func__float_round_use=yes
60092 else
60093 glibcxx_cv_func__float_round_use=no
60095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60096 ac_ext=c
60097 ac_cpp='$CPP $CPPFLAGS'
60098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
60105 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
60106 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
60107 for ac_func in _ceilf _floorf
60108 do :
60109 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60110 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60111 eval as_val=\$$as_ac_var
60112 if test "x$as_val" = x""yes; then :
60113 cat >>confdefs.h <<_ACEOF
60114 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60115 _ACEOF
60118 done
60128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
60129 $as_echo_n "checking for expf declaration... " >&6; }
60130 if test x${glibcxx_cv_func_expf_use+set} != xset; then
60131 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
60132 $as_echo_n "(cached) " >&6
60133 else
60136 ac_ext=cpp
60137 ac_cpp='$CXXCPP $CPPFLAGS'
60138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60143 /* end confdefs.h. */
60144 #include <math.h>
60145 #ifdef HAVE_IEEEFP_H
60146 #include <ieeefp.h>
60147 #endif
60150 main ()
60152 expf(0);
60154 return 0;
60156 _ACEOF
60157 if ac_fn_cxx_try_compile "$LINENO"; then :
60158 glibcxx_cv_func_expf_use=yes
60159 else
60160 glibcxx_cv_func_expf_use=no
60162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60163 ac_ext=c
60164 ac_cpp='$CPP $CPPFLAGS'
60165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
60174 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
60176 if test x$glibcxx_cv_func_expf_use = x"yes"; then
60177 for ac_func in expf
60178 do :
60179 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
60180 if test "x$ac_cv_func_expf" = x""yes; then :
60181 cat >>confdefs.h <<_ACEOF
60182 #define HAVE_EXPF 1
60183 _ACEOF
60186 done
60188 else
60190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
60191 $as_echo_n "checking for _expf declaration... " >&6; }
60192 if test x${glibcxx_cv_func__expf_use+set} != xset; then
60193 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
60194 $as_echo_n "(cached) " >&6
60195 else
60198 ac_ext=cpp
60199 ac_cpp='$CXXCPP $CPPFLAGS'
60200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60205 /* end confdefs.h. */
60206 #include <math.h>
60207 #ifdef HAVE_IEEEFP_H
60208 #include <ieeefp.h>
60209 #endif
60212 main ()
60214 _expf(0);
60216 return 0;
60218 _ACEOF
60219 if ac_fn_cxx_try_compile "$LINENO"; then :
60220 glibcxx_cv_func__expf_use=yes
60221 else
60222 glibcxx_cv_func__expf_use=no
60224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60225 ac_ext=c
60226 ac_cpp='$CPP $CPPFLAGS'
60227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
60236 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
60238 if test x$glibcxx_cv_func__expf_use = x"yes"; then
60239 for ac_func in _expf
60240 do :
60241 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
60242 if test "x$ac_cv_func__expf" = x""yes; then :
60243 cat >>confdefs.h <<_ACEOF
60244 #define HAVE__EXPF 1
60245 _ACEOF
60248 done
60257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
60258 $as_echo_n "checking for isnanf declaration... " >&6; }
60259 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
60260 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
60261 $as_echo_n "(cached) " >&6
60262 else
60265 ac_ext=cpp
60266 ac_cpp='$CXXCPP $CPPFLAGS'
60267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60272 /* end confdefs.h. */
60273 #include <math.h>
60274 #ifdef HAVE_IEEEFP_H
60275 #include <ieeefp.h>
60276 #endif
60279 main ()
60281 isnanf(0);
60283 return 0;
60285 _ACEOF
60286 if ac_fn_cxx_try_compile "$LINENO"; then :
60287 glibcxx_cv_func_isnanf_use=yes
60288 else
60289 glibcxx_cv_func_isnanf_use=no
60291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60292 ac_ext=c
60293 ac_cpp='$CPP $CPPFLAGS'
60294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
60303 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
60305 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
60306 for ac_func in isnanf
60307 do :
60308 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
60309 if test "x$ac_cv_func_isnanf" = x""yes; then :
60310 cat >>confdefs.h <<_ACEOF
60311 #define HAVE_ISNANF 1
60312 _ACEOF
60315 done
60317 else
60319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
60320 $as_echo_n "checking for _isnanf declaration... " >&6; }
60321 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
60322 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
60323 $as_echo_n "(cached) " >&6
60324 else
60327 ac_ext=cpp
60328 ac_cpp='$CXXCPP $CPPFLAGS'
60329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60334 /* end confdefs.h. */
60335 #include <math.h>
60336 #ifdef HAVE_IEEEFP_H
60337 #include <ieeefp.h>
60338 #endif
60341 main ()
60343 _isnanf(0);
60345 return 0;
60347 _ACEOF
60348 if ac_fn_cxx_try_compile "$LINENO"; then :
60349 glibcxx_cv_func__isnanf_use=yes
60350 else
60351 glibcxx_cv_func__isnanf_use=no
60353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60354 ac_ext=c
60355 ac_cpp='$CPP $CPPFLAGS'
60356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
60365 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
60367 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
60368 for ac_func in _isnanf
60369 do :
60370 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
60371 if test "x$ac_cv_func__isnanf" = x""yes; then :
60372 cat >>confdefs.h <<_ACEOF
60373 #define HAVE__ISNANF 1
60374 _ACEOF
60377 done
60386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
60387 $as_echo_n "checking for isinff declaration... " >&6; }
60388 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
60389 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
60390 $as_echo_n "(cached) " >&6
60391 else
60394 ac_ext=cpp
60395 ac_cpp='$CXXCPP $CPPFLAGS'
60396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60401 /* end confdefs.h. */
60402 #include <math.h>
60403 #ifdef HAVE_IEEEFP_H
60404 #include <ieeefp.h>
60405 #endif
60408 main ()
60410 isinff(0);
60412 return 0;
60414 _ACEOF
60415 if ac_fn_cxx_try_compile "$LINENO"; then :
60416 glibcxx_cv_func_isinff_use=yes
60417 else
60418 glibcxx_cv_func_isinff_use=no
60420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60421 ac_ext=c
60422 ac_cpp='$CPP $CPPFLAGS'
60423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
60432 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
60434 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
60435 for ac_func in isinff
60436 do :
60437 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
60438 if test "x$ac_cv_func_isinff" = x""yes; then :
60439 cat >>confdefs.h <<_ACEOF
60440 #define HAVE_ISINFF 1
60441 _ACEOF
60444 done
60446 else
60448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
60449 $as_echo_n "checking for _isinff declaration... " >&6; }
60450 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
60451 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
60452 $as_echo_n "(cached) " >&6
60453 else
60456 ac_ext=cpp
60457 ac_cpp='$CXXCPP $CPPFLAGS'
60458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60463 /* end confdefs.h. */
60464 #include <math.h>
60465 #ifdef HAVE_IEEEFP_H
60466 #include <ieeefp.h>
60467 #endif
60470 main ()
60472 _isinff(0);
60474 return 0;
60476 _ACEOF
60477 if ac_fn_cxx_try_compile "$LINENO"; then :
60478 glibcxx_cv_func__isinff_use=yes
60479 else
60480 glibcxx_cv_func__isinff_use=no
60482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60483 ac_ext=c
60484 ac_cpp='$CPP $CPPFLAGS'
60485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
60494 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
60496 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
60497 for ac_func in _isinff
60498 do :
60499 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
60500 if test "x$ac_cv_func__isinff" = x""yes; then :
60501 cat >>confdefs.h <<_ACEOF
60502 #define HAVE__ISINFF 1
60503 _ACEOF
60506 done
60515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
60516 $as_echo_n "checking for atan2f declaration... " >&6; }
60517 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
60518 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
60519 $as_echo_n "(cached) " >&6
60520 else
60523 ac_ext=cpp
60524 ac_cpp='$CXXCPP $CPPFLAGS'
60525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60530 /* end confdefs.h. */
60531 #include <math.h>
60533 main ()
60535 atan2f(0, 0);
60537 return 0;
60539 _ACEOF
60540 if ac_fn_cxx_try_compile "$LINENO"; then :
60541 glibcxx_cv_func_atan2f_use=yes
60542 else
60543 glibcxx_cv_func_atan2f_use=no
60545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60546 ac_ext=c
60547 ac_cpp='$CPP $CPPFLAGS'
60548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
60557 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
60559 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
60560 for ac_func in atan2f
60561 do :
60562 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
60563 if test "x$ac_cv_func_atan2f" = x""yes; then :
60564 cat >>confdefs.h <<_ACEOF
60565 #define HAVE_ATAN2F 1
60566 _ACEOF
60569 done
60571 else
60573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
60574 $as_echo_n "checking for _atan2f declaration... " >&6; }
60575 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
60576 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
60577 $as_echo_n "(cached) " >&6
60578 else
60581 ac_ext=cpp
60582 ac_cpp='$CXXCPP $CPPFLAGS'
60583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60588 /* end confdefs.h. */
60589 #include <math.h>
60591 main ()
60593 _atan2f(0, 0);
60595 return 0;
60597 _ACEOF
60598 if ac_fn_cxx_try_compile "$LINENO"; then :
60599 glibcxx_cv_func__atan2f_use=yes
60600 else
60601 glibcxx_cv_func__atan2f_use=no
60603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60604 ac_ext=c
60605 ac_cpp='$CPP $CPPFLAGS'
60606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
60615 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
60617 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
60618 for ac_func in _atan2f
60619 do :
60620 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
60621 if test "x$ac_cv_func__atan2f" = x""yes; then :
60622 cat >>confdefs.h <<_ACEOF
60623 #define HAVE__ATAN2F 1
60624 _ACEOF
60627 done
60636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
60637 $as_echo_n "checking for fabsf declaration... " >&6; }
60638 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
60639 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
60640 $as_echo_n "(cached) " >&6
60641 else
60644 ac_ext=cpp
60645 ac_cpp='$CXXCPP $CPPFLAGS'
60646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60651 /* end confdefs.h. */
60652 #include <math.h>
60653 #ifdef HAVE_IEEEFP_H
60654 #include <ieeefp.h>
60655 #endif
60658 main ()
60660 fabsf(0);
60662 return 0;
60664 _ACEOF
60665 if ac_fn_cxx_try_compile "$LINENO"; then :
60666 glibcxx_cv_func_fabsf_use=yes
60667 else
60668 glibcxx_cv_func_fabsf_use=no
60670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60671 ac_ext=c
60672 ac_cpp='$CPP $CPPFLAGS'
60673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
60682 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
60684 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
60685 for ac_func in fabsf
60686 do :
60687 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
60688 if test "x$ac_cv_func_fabsf" = x""yes; then :
60689 cat >>confdefs.h <<_ACEOF
60690 #define HAVE_FABSF 1
60691 _ACEOF
60694 done
60696 else
60698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
60699 $as_echo_n "checking for _fabsf declaration... " >&6; }
60700 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
60701 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
60702 $as_echo_n "(cached) " >&6
60703 else
60706 ac_ext=cpp
60707 ac_cpp='$CXXCPP $CPPFLAGS'
60708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60713 /* end confdefs.h. */
60714 #include <math.h>
60715 #ifdef HAVE_IEEEFP_H
60716 #include <ieeefp.h>
60717 #endif
60720 main ()
60722 _fabsf(0);
60724 return 0;
60726 _ACEOF
60727 if ac_fn_cxx_try_compile "$LINENO"; then :
60728 glibcxx_cv_func__fabsf_use=yes
60729 else
60730 glibcxx_cv_func__fabsf_use=no
60732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60733 ac_ext=c
60734 ac_cpp='$CPP $CPPFLAGS'
60735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
60744 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
60746 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
60747 for ac_func in _fabsf
60748 do :
60749 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
60750 if test "x$ac_cv_func__fabsf" = x""yes; then :
60751 cat >>confdefs.h <<_ACEOF
60752 #define HAVE__FABSF 1
60753 _ACEOF
60756 done
60765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
60766 $as_echo_n "checking for fmodf declaration... " >&6; }
60767 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
60768 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
60769 $as_echo_n "(cached) " >&6
60770 else
60773 ac_ext=cpp
60774 ac_cpp='$CXXCPP $CPPFLAGS'
60775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60780 /* end confdefs.h. */
60781 #include <math.h>
60783 main ()
60785 fmodf(0, 0);
60787 return 0;
60789 _ACEOF
60790 if ac_fn_cxx_try_compile "$LINENO"; then :
60791 glibcxx_cv_func_fmodf_use=yes
60792 else
60793 glibcxx_cv_func_fmodf_use=no
60795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60796 ac_ext=c
60797 ac_cpp='$CPP $CPPFLAGS'
60798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
60807 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
60809 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
60810 for ac_func in fmodf
60811 do :
60812 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
60813 if test "x$ac_cv_func_fmodf" = x""yes; then :
60814 cat >>confdefs.h <<_ACEOF
60815 #define HAVE_FMODF 1
60816 _ACEOF
60819 done
60821 else
60823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
60824 $as_echo_n "checking for _fmodf declaration... " >&6; }
60825 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
60826 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
60827 $as_echo_n "(cached) " >&6
60828 else
60831 ac_ext=cpp
60832 ac_cpp='$CXXCPP $CPPFLAGS'
60833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60838 /* end confdefs.h. */
60839 #include <math.h>
60841 main ()
60843 _fmodf(0, 0);
60845 return 0;
60847 _ACEOF
60848 if ac_fn_cxx_try_compile "$LINENO"; then :
60849 glibcxx_cv_func__fmodf_use=yes
60850 else
60851 glibcxx_cv_func__fmodf_use=no
60853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60854 ac_ext=c
60855 ac_cpp='$CPP $CPPFLAGS'
60856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
60865 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
60867 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
60868 for ac_func in _fmodf
60869 do :
60870 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
60871 if test "x$ac_cv_func__fmodf" = x""yes; then :
60872 cat >>confdefs.h <<_ACEOF
60873 #define HAVE__FMODF 1
60874 _ACEOF
60877 done
60886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
60887 $as_echo_n "checking for frexpf declaration... " >&6; }
60888 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
60889 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
60890 $as_echo_n "(cached) " >&6
60891 else
60894 ac_ext=cpp
60895 ac_cpp='$CXXCPP $CPPFLAGS'
60896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60901 /* end confdefs.h. */
60902 #include <math.h>
60904 main ()
60906 frexpf(0, 0);
60908 return 0;
60910 _ACEOF
60911 if ac_fn_cxx_try_compile "$LINENO"; then :
60912 glibcxx_cv_func_frexpf_use=yes
60913 else
60914 glibcxx_cv_func_frexpf_use=no
60916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60917 ac_ext=c
60918 ac_cpp='$CPP $CPPFLAGS'
60919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
60928 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
60930 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
60931 for ac_func in frexpf
60932 do :
60933 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
60934 if test "x$ac_cv_func_frexpf" = x""yes; then :
60935 cat >>confdefs.h <<_ACEOF
60936 #define HAVE_FREXPF 1
60937 _ACEOF
60940 done
60942 else
60944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
60945 $as_echo_n "checking for _frexpf declaration... " >&6; }
60946 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
60947 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
60948 $as_echo_n "(cached) " >&6
60949 else
60952 ac_ext=cpp
60953 ac_cpp='$CXXCPP $CPPFLAGS'
60954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60959 /* end confdefs.h. */
60960 #include <math.h>
60962 main ()
60964 _frexpf(0, 0);
60966 return 0;
60968 _ACEOF
60969 if ac_fn_cxx_try_compile "$LINENO"; then :
60970 glibcxx_cv_func__frexpf_use=yes
60971 else
60972 glibcxx_cv_func__frexpf_use=no
60974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60975 ac_ext=c
60976 ac_cpp='$CPP $CPPFLAGS'
60977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
60986 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
60988 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
60989 for ac_func in _frexpf
60990 do :
60991 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
60992 if test "x$ac_cv_func__frexpf" = x""yes; then :
60993 cat >>confdefs.h <<_ACEOF
60994 #define HAVE__FREXPF 1
60995 _ACEOF
60998 done
61007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
61008 $as_echo_n "checking for hypotf declaration... " >&6; }
61009 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
61010 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
61011 $as_echo_n "(cached) " >&6
61012 else
61015 ac_ext=cpp
61016 ac_cpp='$CXXCPP $CPPFLAGS'
61017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61022 /* end confdefs.h. */
61023 #include <math.h>
61025 main ()
61027 hypotf(0, 0);
61029 return 0;
61031 _ACEOF
61032 if ac_fn_cxx_try_compile "$LINENO"; then :
61033 glibcxx_cv_func_hypotf_use=yes
61034 else
61035 glibcxx_cv_func_hypotf_use=no
61037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61038 ac_ext=c
61039 ac_cpp='$CPP $CPPFLAGS'
61040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
61049 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
61051 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
61052 for ac_func in hypotf
61053 do :
61054 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
61055 if test "x$ac_cv_func_hypotf" = x""yes; then :
61056 cat >>confdefs.h <<_ACEOF
61057 #define HAVE_HYPOTF 1
61058 _ACEOF
61061 done
61063 else
61065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
61066 $as_echo_n "checking for _hypotf declaration... " >&6; }
61067 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
61068 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
61069 $as_echo_n "(cached) " >&6
61070 else
61073 ac_ext=cpp
61074 ac_cpp='$CXXCPP $CPPFLAGS'
61075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61080 /* end confdefs.h. */
61081 #include <math.h>
61083 main ()
61085 _hypotf(0, 0);
61087 return 0;
61089 _ACEOF
61090 if ac_fn_cxx_try_compile "$LINENO"; then :
61091 glibcxx_cv_func__hypotf_use=yes
61092 else
61093 glibcxx_cv_func__hypotf_use=no
61095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61096 ac_ext=c
61097 ac_cpp='$CPP $CPPFLAGS'
61098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
61107 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
61109 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
61110 for ac_func in _hypotf
61111 do :
61112 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
61113 if test "x$ac_cv_func__hypotf" = x""yes; then :
61114 cat >>confdefs.h <<_ACEOF
61115 #define HAVE__HYPOTF 1
61116 _ACEOF
61119 done
61128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
61129 $as_echo_n "checking for ldexpf declaration... " >&6; }
61130 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
61131 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
61132 $as_echo_n "(cached) " >&6
61133 else
61136 ac_ext=cpp
61137 ac_cpp='$CXXCPP $CPPFLAGS'
61138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61143 /* end confdefs.h. */
61144 #include <math.h>
61146 main ()
61148 ldexpf(0, 0);
61150 return 0;
61152 _ACEOF
61153 if ac_fn_cxx_try_compile "$LINENO"; then :
61154 glibcxx_cv_func_ldexpf_use=yes
61155 else
61156 glibcxx_cv_func_ldexpf_use=no
61158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61159 ac_ext=c
61160 ac_cpp='$CPP $CPPFLAGS'
61161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
61170 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
61172 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
61173 for ac_func in ldexpf
61174 do :
61175 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
61176 if test "x$ac_cv_func_ldexpf" = x""yes; then :
61177 cat >>confdefs.h <<_ACEOF
61178 #define HAVE_LDEXPF 1
61179 _ACEOF
61182 done
61184 else
61186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
61187 $as_echo_n "checking for _ldexpf declaration... " >&6; }
61188 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
61189 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
61190 $as_echo_n "(cached) " >&6
61191 else
61194 ac_ext=cpp
61195 ac_cpp='$CXXCPP $CPPFLAGS'
61196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61201 /* end confdefs.h. */
61202 #include <math.h>
61204 main ()
61206 _ldexpf(0, 0);
61208 return 0;
61210 _ACEOF
61211 if ac_fn_cxx_try_compile "$LINENO"; then :
61212 glibcxx_cv_func__ldexpf_use=yes
61213 else
61214 glibcxx_cv_func__ldexpf_use=no
61216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61217 ac_ext=c
61218 ac_cpp='$CPP $CPPFLAGS'
61219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
61228 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
61230 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
61231 for ac_func in _ldexpf
61232 do :
61233 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
61234 if test "x$ac_cv_func__ldexpf" = x""yes; then :
61235 cat >>confdefs.h <<_ACEOF
61236 #define HAVE__LDEXPF 1
61237 _ACEOF
61240 done
61249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
61250 $as_echo_n "checking for logf declaration... " >&6; }
61251 if test x${glibcxx_cv_func_logf_use+set} != xset; then
61252 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
61253 $as_echo_n "(cached) " >&6
61254 else
61257 ac_ext=cpp
61258 ac_cpp='$CXXCPP $CPPFLAGS'
61259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61264 /* end confdefs.h. */
61265 #include <math.h>
61266 #ifdef HAVE_IEEEFP_H
61267 #include <ieeefp.h>
61268 #endif
61271 main ()
61273 logf(0);
61275 return 0;
61277 _ACEOF
61278 if ac_fn_cxx_try_compile "$LINENO"; then :
61279 glibcxx_cv_func_logf_use=yes
61280 else
61281 glibcxx_cv_func_logf_use=no
61283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61284 ac_ext=c
61285 ac_cpp='$CPP $CPPFLAGS'
61286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
61295 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
61297 if test x$glibcxx_cv_func_logf_use = x"yes"; then
61298 for ac_func in logf
61299 do :
61300 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
61301 if test "x$ac_cv_func_logf" = x""yes; then :
61302 cat >>confdefs.h <<_ACEOF
61303 #define HAVE_LOGF 1
61304 _ACEOF
61307 done
61309 else
61311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
61312 $as_echo_n "checking for _logf declaration... " >&6; }
61313 if test x${glibcxx_cv_func__logf_use+set} != xset; then
61314 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
61315 $as_echo_n "(cached) " >&6
61316 else
61319 ac_ext=cpp
61320 ac_cpp='$CXXCPP $CPPFLAGS'
61321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61326 /* end confdefs.h. */
61327 #include <math.h>
61328 #ifdef HAVE_IEEEFP_H
61329 #include <ieeefp.h>
61330 #endif
61333 main ()
61335 _logf(0);
61337 return 0;
61339 _ACEOF
61340 if ac_fn_cxx_try_compile "$LINENO"; then :
61341 glibcxx_cv_func__logf_use=yes
61342 else
61343 glibcxx_cv_func__logf_use=no
61345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61346 ac_ext=c
61347 ac_cpp='$CPP $CPPFLAGS'
61348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
61357 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
61359 if test x$glibcxx_cv_func__logf_use = x"yes"; then
61360 for ac_func in _logf
61361 do :
61362 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
61363 if test "x$ac_cv_func__logf" = x""yes; then :
61364 cat >>confdefs.h <<_ACEOF
61365 #define HAVE__LOGF 1
61366 _ACEOF
61369 done
61378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
61379 $as_echo_n "checking for log10f declaration... " >&6; }
61380 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
61381 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
61382 $as_echo_n "(cached) " >&6
61383 else
61386 ac_ext=cpp
61387 ac_cpp='$CXXCPP $CPPFLAGS'
61388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61393 /* end confdefs.h. */
61394 #include <math.h>
61395 #ifdef HAVE_IEEEFP_H
61396 #include <ieeefp.h>
61397 #endif
61400 main ()
61402 log10f(0);
61404 return 0;
61406 _ACEOF
61407 if ac_fn_cxx_try_compile "$LINENO"; then :
61408 glibcxx_cv_func_log10f_use=yes
61409 else
61410 glibcxx_cv_func_log10f_use=no
61412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61413 ac_ext=c
61414 ac_cpp='$CPP $CPPFLAGS'
61415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
61424 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
61426 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
61427 for ac_func in log10f
61428 do :
61429 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
61430 if test "x$ac_cv_func_log10f" = x""yes; then :
61431 cat >>confdefs.h <<_ACEOF
61432 #define HAVE_LOG10F 1
61433 _ACEOF
61436 done
61438 else
61440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
61441 $as_echo_n "checking for _log10f declaration... " >&6; }
61442 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
61443 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
61444 $as_echo_n "(cached) " >&6
61445 else
61448 ac_ext=cpp
61449 ac_cpp='$CXXCPP $CPPFLAGS'
61450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61455 /* end confdefs.h. */
61456 #include <math.h>
61457 #ifdef HAVE_IEEEFP_H
61458 #include <ieeefp.h>
61459 #endif
61462 main ()
61464 _log10f(0);
61466 return 0;
61468 _ACEOF
61469 if ac_fn_cxx_try_compile "$LINENO"; then :
61470 glibcxx_cv_func__log10f_use=yes
61471 else
61472 glibcxx_cv_func__log10f_use=no
61474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61475 ac_ext=c
61476 ac_cpp='$CPP $CPPFLAGS'
61477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
61486 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
61488 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
61489 for ac_func in _log10f
61490 do :
61491 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
61492 if test "x$ac_cv_func__log10f" = x""yes; then :
61493 cat >>confdefs.h <<_ACEOF
61494 #define HAVE__LOG10F 1
61495 _ACEOF
61498 done
61507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
61508 $as_echo_n "checking for modff declaration... " >&6; }
61509 if test x${glibcxx_cv_func_modff_use+set} != xset; then
61510 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
61511 $as_echo_n "(cached) " >&6
61512 else
61515 ac_ext=cpp
61516 ac_cpp='$CXXCPP $CPPFLAGS'
61517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61522 /* end confdefs.h. */
61523 #include <math.h>
61525 main ()
61527 modff(0, 0);
61529 return 0;
61531 _ACEOF
61532 if ac_fn_cxx_try_compile "$LINENO"; then :
61533 glibcxx_cv_func_modff_use=yes
61534 else
61535 glibcxx_cv_func_modff_use=no
61537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61538 ac_ext=c
61539 ac_cpp='$CPP $CPPFLAGS'
61540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
61549 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
61551 if test x$glibcxx_cv_func_modff_use = x"yes"; then
61552 for ac_func in modff
61553 do :
61554 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
61555 if test "x$ac_cv_func_modff" = x""yes; then :
61556 cat >>confdefs.h <<_ACEOF
61557 #define HAVE_MODFF 1
61558 _ACEOF
61561 done
61563 else
61565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
61566 $as_echo_n "checking for _modff declaration... " >&6; }
61567 if test x${glibcxx_cv_func__modff_use+set} != xset; then
61568 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
61569 $as_echo_n "(cached) " >&6
61570 else
61573 ac_ext=cpp
61574 ac_cpp='$CXXCPP $CPPFLAGS'
61575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61580 /* end confdefs.h. */
61581 #include <math.h>
61583 main ()
61585 _modff(0, 0);
61587 return 0;
61589 _ACEOF
61590 if ac_fn_cxx_try_compile "$LINENO"; then :
61591 glibcxx_cv_func__modff_use=yes
61592 else
61593 glibcxx_cv_func__modff_use=no
61595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61596 ac_ext=c
61597 ac_cpp='$CPP $CPPFLAGS'
61598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
61607 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
61609 if test x$glibcxx_cv_func__modff_use = x"yes"; then
61610 for ac_func in _modff
61611 do :
61612 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
61613 if test "x$ac_cv_func__modff" = x""yes; then :
61614 cat >>confdefs.h <<_ACEOF
61615 #define HAVE__MODFF 1
61616 _ACEOF
61619 done
61628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
61629 $as_echo_n "checking for modf declaration... " >&6; }
61630 if test x${glibcxx_cv_func_modf_use+set} != xset; then
61631 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
61632 $as_echo_n "(cached) " >&6
61633 else
61636 ac_ext=cpp
61637 ac_cpp='$CXXCPP $CPPFLAGS'
61638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61643 /* end confdefs.h. */
61644 #include <math.h>
61646 main ()
61648 modf(0, 0);
61650 return 0;
61652 _ACEOF
61653 if ac_fn_cxx_try_compile "$LINENO"; then :
61654 glibcxx_cv_func_modf_use=yes
61655 else
61656 glibcxx_cv_func_modf_use=no
61658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61659 ac_ext=c
61660 ac_cpp='$CPP $CPPFLAGS'
61661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
61670 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
61672 if test x$glibcxx_cv_func_modf_use = x"yes"; then
61673 for ac_func in modf
61674 do :
61675 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
61676 if test "x$ac_cv_func_modf" = x""yes; then :
61677 cat >>confdefs.h <<_ACEOF
61678 #define HAVE_MODF 1
61679 _ACEOF
61682 done
61684 else
61686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
61687 $as_echo_n "checking for _modf declaration... " >&6; }
61688 if test x${glibcxx_cv_func__modf_use+set} != xset; then
61689 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
61690 $as_echo_n "(cached) " >&6
61691 else
61694 ac_ext=cpp
61695 ac_cpp='$CXXCPP $CPPFLAGS'
61696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61701 /* end confdefs.h. */
61702 #include <math.h>
61704 main ()
61706 _modf(0, 0);
61708 return 0;
61710 _ACEOF
61711 if ac_fn_cxx_try_compile "$LINENO"; then :
61712 glibcxx_cv_func__modf_use=yes
61713 else
61714 glibcxx_cv_func__modf_use=no
61716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61717 ac_ext=c
61718 ac_cpp='$CPP $CPPFLAGS'
61719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
61728 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
61730 if test x$glibcxx_cv_func__modf_use = x"yes"; then
61731 for ac_func in _modf
61732 do :
61733 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
61734 if test "x$ac_cv_func__modf" = x""yes; then :
61735 cat >>confdefs.h <<_ACEOF
61736 #define HAVE__MODF 1
61737 _ACEOF
61740 done
61749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
61750 $as_echo_n "checking for powf declaration... " >&6; }
61751 if test x${glibcxx_cv_func_powf_use+set} != xset; then
61752 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
61753 $as_echo_n "(cached) " >&6
61754 else
61757 ac_ext=cpp
61758 ac_cpp='$CXXCPP $CPPFLAGS'
61759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61764 /* end confdefs.h. */
61765 #include <math.h>
61767 main ()
61769 powf(0, 0);
61771 return 0;
61773 _ACEOF
61774 if ac_fn_cxx_try_compile "$LINENO"; then :
61775 glibcxx_cv_func_powf_use=yes
61776 else
61777 glibcxx_cv_func_powf_use=no
61779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61780 ac_ext=c
61781 ac_cpp='$CPP $CPPFLAGS'
61782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
61791 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
61793 if test x$glibcxx_cv_func_powf_use = x"yes"; then
61794 for ac_func in powf
61795 do :
61796 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
61797 if test "x$ac_cv_func_powf" = x""yes; then :
61798 cat >>confdefs.h <<_ACEOF
61799 #define HAVE_POWF 1
61800 _ACEOF
61803 done
61805 else
61807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
61808 $as_echo_n "checking for _powf declaration... " >&6; }
61809 if test x${glibcxx_cv_func__powf_use+set} != xset; then
61810 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
61811 $as_echo_n "(cached) " >&6
61812 else
61815 ac_ext=cpp
61816 ac_cpp='$CXXCPP $CPPFLAGS'
61817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61822 /* end confdefs.h. */
61823 #include <math.h>
61825 main ()
61827 _powf(0, 0);
61829 return 0;
61831 _ACEOF
61832 if ac_fn_cxx_try_compile "$LINENO"; then :
61833 glibcxx_cv_func__powf_use=yes
61834 else
61835 glibcxx_cv_func__powf_use=no
61837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61838 ac_ext=c
61839 ac_cpp='$CPP $CPPFLAGS'
61840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
61849 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
61851 if test x$glibcxx_cv_func__powf_use = x"yes"; then
61852 for ac_func in _powf
61853 do :
61854 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
61855 if test "x$ac_cv_func__powf" = x""yes; then :
61856 cat >>confdefs.h <<_ACEOF
61857 #define HAVE__POWF 1
61858 _ACEOF
61861 done
61870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
61871 $as_echo_n "checking for sqrtf declaration... " >&6; }
61872 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
61873 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
61874 $as_echo_n "(cached) " >&6
61875 else
61878 ac_ext=cpp
61879 ac_cpp='$CXXCPP $CPPFLAGS'
61880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61885 /* end confdefs.h. */
61886 #include <math.h>
61887 #ifdef HAVE_IEEEFP_H
61888 #include <ieeefp.h>
61889 #endif
61892 main ()
61894 sqrtf(0);
61896 return 0;
61898 _ACEOF
61899 if ac_fn_cxx_try_compile "$LINENO"; then :
61900 glibcxx_cv_func_sqrtf_use=yes
61901 else
61902 glibcxx_cv_func_sqrtf_use=no
61904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61905 ac_ext=c
61906 ac_cpp='$CPP $CPPFLAGS'
61907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
61916 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
61918 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
61919 for ac_func in sqrtf
61920 do :
61921 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
61922 if test "x$ac_cv_func_sqrtf" = x""yes; then :
61923 cat >>confdefs.h <<_ACEOF
61924 #define HAVE_SQRTF 1
61925 _ACEOF
61928 done
61930 else
61932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
61933 $as_echo_n "checking for _sqrtf declaration... " >&6; }
61934 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
61935 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
61936 $as_echo_n "(cached) " >&6
61937 else
61940 ac_ext=cpp
61941 ac_cpp='$CXXCPP $CPPFLAGS'
61942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61947 /* end confdefs.h. */
61948 #include <math.h>
61949 #ifdef HAVE_IEEEFP_H
61950 #include <ieeefp.h>
61951 #endif
61954 main ()
61956 _sqrtf(0);
61958 return 0;
61960 _ACEOF
61961 if ac_fn_cxx_try_compile "$LINENO"; then :
61962 glibcxx_cv_func__sqrtf_use=yes
61963 else
61964 glibcxx_cv_func__sqrtf_use=no
61966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61967 ac_ext=c
61968 ac_cpp='$CPP $CPPFLAGS'
61969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
61978 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
61980 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
61981 for ac_func in _sqrtf
61982 do :
61983 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
61984 if test "x$ac_cv_func__sqrtf" = x""yes; then :
61985 cat >>confdefs.h <<_ACEOF
61986 #define HAVE__SQRTF 1
61987 _ACEOF
61990 done
61999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
62000 $as_echo_n "checking for sincosf declaration... " >&6; }
62001 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
62002 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
62003 $as_echo_n "(cached) " >&6
62004 else
62007 ac_ext=cpp
62008 ac_cpp='$CXXCPP $CPPFLAGS'
62009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62014 /* end confdefs.h. */
62015 #include <math.h>
62017 main ()
62019 sincosf(0, 0, 0);
62021 return 0;
62023 _ACEOF
62024 if ac_fn_cxx_try_compile "$LINENO"; then :
62025 glibcxx_cv_func_sincosf_use=yes
62026 else
62027 glibcxx_cv_func_sincosf_use=no
62029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62030 ac_ext=c
62031 ac_cpp='$CPP $CPPFLAGS'
62032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
62041 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
62043 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
62044 for ac_func in sincosf
62045 do :
62046 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
62047 if test "x$ac_cv_func_sincosf" = x""yes; then :
62048 cat >>confdefs.h <<_ACEOF
62049 #define HAVE_SINCOSF 1
62050 _ACEOF
62053 done
62055 else
62057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
62058 $as_echo_n "checking for _sincosf declaration... " >&6; }
62059 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
62060 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
62061 $as_echo_n "(cached) " >&6
62062 else
62065 ac_ext=cpp
62066 ac_cpp='$CXXCPP $CPPFLAGS'
62067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62072 /* end confdefs.h. */
62073 #include <math.h>
62075 main ()
62077 _sincosf(0, 0, 0);
62079 return 0;
62081 _ACEOF
62082 if ac_fn_cxx_try_compile "$LINENO"; then :
62083 glibcxx_cv_func__sincosf_use=yes
62084 else
62085 glibcxx_cv_func__sincosf_use=no
62087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62088 ac_ext=c
62089 ac_cpp='$CPP $CPPFLAGS'
62090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
62099 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
62101 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
62102 for ac_func in _sincosf
62103 do :
62104 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
62105 if test "x$ac_cv_func__sincosf" = x""yes; then :
62106 cat >>confdefs.h <<_ACEOF
62107 #define HAVE__SINCOSF 1
62108 _ACEOF
62111 done
62120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
62121 $as_echo_n "checking for finitef declaration... " >&6; }
62122 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
62123 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
62124 $as_echo_n "(cached) " >&6
62125 else
62128 ac_ext=cpp
62129 ac_cpp='$CXXCPP $CPPFLAGS'
62130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62135 /* end confdefs.h. */
62136 #include <math.h>
62137 #ifdef HAVE_IEEEFP_H
62138 #include <ieeefp.h>
62139 #endif
62142 main ()
62144 finitef(0);
62146 return 0;
62148 _ACEOF
62149 if ac_fn_cxx_try_compile "$LINENO"; then :
62150 glibcxx_cv_func_finitef_use=yes
62151 else
62152 glibcxx_cv_func_finitef_use=no
62154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62155 ac_ext=c
62156 ac_cpp='$CPP $CPPFLAGS'
62157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
62166 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
62168 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
62169 for ac_func in finitef
62170 do :
62171 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
62172 if test "x$ac_cv_func_finitef" = x""yes; then :
62173 cat >>confdefs.h <<_ACEOF
62174 #define HAVE_FINITEF 1
62175 _ACEOF
62178 done
62180 else
62182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
62183 $as_echo_n "checking for _finitef declaration... " >&6; }
62184 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
62185 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
62186 $as_echo_n "(cached) " >&6
62187 else
62190 ac_ext=cpp
62191 ac_cpp='$CXXCPP $CPPFLAGS'
62192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62197 /* end confdefs.h. */
62198 #include <math.h>
62199 #ifdef HAVE_IEEEFP_H
62200 #include <ieeefp.h>
62201 #endif
62204 main ()
62206 _finitef(0);
62208 return 0;
62210 _ACEOF
62211 if ac_fn_cxx_try_compile "$LINENO"; then :
62212 glibcxx_cv_func__finitef_use=yes
62213 else
62214 glibcxx_cv_func__finitef_use=no
62216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62217 ac_ext=c
62218 ac_cpp='$CPP $CPPFLAGS'
62219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
62228 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
62230 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
62231 for ac_func in _finitef
62232 do :
62233 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
62234 if test "x$ac_cv_func__finitef" = x""yes; then :
62235 cat >>confdefs.h <<_ACEOF
62236 #define HAVE__FINITEF 1
62237 _ACEOF
62240 done
62249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
62250 $as_echo_n "checking for long double trig functions... " >&6; }
62251 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
62252 $as_echo_n "(cached) " >&6
62253 else
62256 ac_ext=cpp
62257 ac_cpp='$CXXCPP $CPPFLAGS'
62258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62263 /* end confdefs.h. */
62264 #include <math.h>
62266 main ()
62268 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
62270 return 0;
62272 _ACEOF
62273 if ac_fn_cxx_try_compile "$LINENO"; then :
62274 glibcxx_cv_func_long_double_trig_use=yes
62275 else
62276 glibcxx_cv_func_long_double_trig_use=no
62278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62279 ac_ext=c
62280 ac_cpp='$CPP $CPPFLAGS'
62281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
62288 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
62289 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
62290 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
62291 do :
62292 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62293 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62294 eval as_val=\$$as_ac_var
62295 if test "x$as_val" = x""yes; then :
62296 cat >>confdefs.h <<_ACEOF
62297 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62298 _ACEOF
62301 done
62303 else
62304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
62305 $as_echo_n "checking for _long double trig functions... " >&6; }
62306 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
62307 $as_echo_n "(cached) " >&6
62308 else
62311 ac_ext=cpp
62312 ac_cpp='$CXXCPP $CPPFLAGS'
62313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62318 /* end confdefs.h. */
62319 #include <math.h>
62321 main ()
62323 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
62325 return 0;
62327 _ACEOF
62328 if ac_fn_cxx_try_compile "$LINENO"; then :
62329 glibcxx_cv_func__long_double_trig_use=yes
62330 else
62331 glibcxx_cv_func__long_double_trig_use=no
62333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62334 ac_ext=c
62335 ac_cpp='$CPP $CPPFLAGS'
62336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
62343 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
62344 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
62345 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
62346 do :
62347 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62348 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62349 eval as_val=\$$as_ac_var
62350 if test "x$as_val" = x""yes; then :
62351 cat >>confdefs.h <<_ACEOF
62352 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62353 _ACEOF
62356 done
62365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
62366 $as_echo_n "checking for long double round functions... " >&6; }
62367 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
62368 $as_echo_n "(cached) " >&6
62369 else
62372 ac_ext=cpp
62373 ac_cpp='$CXXCPP $CPPFLAGS'
62374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62379 /* end confdefs.h. */
62380 #include <math.h>
62382 main ()
62384 ceill (0); floorl (0);
62386 return 0;
62388 _ACEOF
62389 if ac_fn_cxx_try_compile "$LINENO"; then :
62390 glibcxx_cv_func_long_double_round_use=yes
62391 else
62392 glibcxx_cv_func_long_double_round_use=no
62394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62395 ac_ext=c
62396 ac_cpp='$CPP $CPPFLAGS'
62397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
62404 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
62405 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
62406 for ac_func in ceill floorl
62407 do :
62408 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62409 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62410 eval as_val=\$$as_ac_var
62411 if test "x$as_val" = x""yes; then :
62412 cat >>confdefs.h <<_ACEOF
62413 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62414 _ACEOF
62417 done
62419 else
62420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
62421 $as_echo_n "checking for _long double round functions... " >&6; }
62422 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
62423 $as_echo_n "(cached) " >&6
62424 else
62427 ac_ext=cpp
62428 ac_cpp='$CXXCPP $CPPFLAGS'
62429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62434 /* end confdefs.h. */
62435 #include <math.h>
62437 main ()
62439 _ceill (0); _floorl (0);
62441 return 0;
62443 _ACEOF
62444 if ac_fn_cxx_try_compile "$LINENO"; then :
62445 glibcxx_cv_func__long_double_round_use=yes
62446 else
62447 glibcxx_cv_func__long_double_round_use=no
62449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62450 ac_ext=c
62451 ac_cpp='$CPP $CPPFLAGS'
62452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
62459 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
62460 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
62461 for ac_func in _ceill _floorl
62462 do :
62463 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62464 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62465 eval as_val=\$$as_ac_var
62466 if test "x$as_val" = x""yes; then :
62467 cat >>confdefs.h <<_ACEOF
62468 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62469 _ACEOF
62472 done
62482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
62483 $as_echo_n "checking for isnanl declaration... " >&6; }
62484 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
62485 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
62486 $as_echo_n "(cached) " >&6
62487 else
62490 ac_ext=cpp
62491 ac_cpp='$CXXCPP $CPPFLAGS'
62492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62497 /* end confdefs.h. */
62498 #include <math.h>
62499 #ifdef HAVE_IEEEFP_H
62500 #include <ieeefp.h>
62501 #endif
62504 main ()
62506 isnanl(0);
62508 return 0;
62510 _ACEOF
62511 if ac_fn_cxx_try_compile "$LINENO"; then :
62512 glibcxx_cv_func_isnanl_use=yes
62513 else
62514 glibcxx_cv_func_isnanl_use=no
62516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62517 ac_ext=c
62518 ac_cpp='$CPP $CPPFLAGS'
62519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
62528 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
62530 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
62531 for ac_func in isnanl
62532 do :
62533 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
62534 if test "x$ac_cv_func_isnanl" = x""yes; then :
62535 cat >>confdefs.h <<_ACEOF
62536 #define HAVE_ISNANL 1
62537 _ACEOF
62540 done
62542 else
62544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
62545 $as_echo_n "checking for _isnanl declaration... " >&6; }
62546 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
62547 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
62548 $as_echo_n "(cached) " >&6
62549 else
62552 ac_ext=cpp
62553 ac_cpp='$CXXCPP $CPPFLAGS'
62554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62559 /* end confdefs.h. */
62560 #include <math.h>
62561 #ifdef HAVE_IEEEFP_H
62562 #include <ieeefp.h>
62563 #endif
62566 main ()
62568 _isnanl(0);
62570 return 0;
62572 _ACEOF
62573 if ac_fn_cxx_try_compile "$LINENO"; then :
62574 glibcxx_cv_func__isnanl_use=yes
62575 else
62576 glibcxx_cv_func__isnanl_use=no
62578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62579 ac_ext=c
62580 ac_cpp='$CPP $CPPFLAGS'
62581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
62590 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
62592 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
62593 for ac_func in _isnanl
62594 do :
62595 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
62596 if test "x$ac_cv_func__isnanl" = x""yes; then :
62597 cat >>confdefs.h <<_ACEOF
62598 #define HAVE__ISNANL 1
62599 _ACEOF
62602 done
62611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
62612 $as_echo_n "checking for isinfl declaration... " >&6; }
62613 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
62614 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
62615 $as_echo_n "(cached) " >&6
62616 else
62619 ac_ext=cpp
62620 ac_cpp='$CXXCPP $CPPFLAGS'
62621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62626 /* end confdefs.h. */
62627 #include <math.h>
62628 #ifdef HAVE_IEEEFP_H
62629 #include <ieeefp.h>
62630 #endif
62633 main ()
62635 isinfl(0);
62637 return 0;
62639 _ACEOF
62640 if ac_fn_cxx_try_compile "$LINENO"; then :
62641 glibcxx_cv_func_isinfl_use=yes
62642 else
62643 glibcxx_cv_func_isinfl_use=no
62645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62646 ac_ext=c
62647 ac_cpp='$CPP $CPPFLAGS'
62648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
62657 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
62659 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
62660 for ac_func in isinfl
62661 do :
62662 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
62663 if test "x$ac_cv_func_isinfl" = x""yes; then :
62664 cat >>confdefs.h <<_ACEOF
62665 #define HAVE_ISINFL 1
62666 _ACEOF
62669 done
62671 else
62673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
62674 $as_echo_n "checking for _isinfl declaration... " >&6; }
62675 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
62676 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
62677 $as_echo_n "(cached) " >&6
62678 else
62681 ac_ext=cpp
62682 ac_cpp='$CXXCPP $CPPFLAGS'
62683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62688 /* end confdefs.h. */
62689 #include <math.h>
62690 #ifdef HAVE_IEEEFP_H
62691 #include <ieeefp.h>
62692 #endif
62695 main ()
62697 _isinfl(0);
62699 return 0;
62701 _ACEOF
62702 if ac_fn_cxx_try_compile "$LINENO"; then :
62703 glibcxx_cv_func__isinfl_use=yes
62704 else
62705 glibcxx_cv_func__isinfl_use=no
62707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62708 ac_ext=c
62709 ac_cpp='$CPP $CPPFLAGS'
62710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
62719 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
62721 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
62722 for ac_func in _isinfl
62723 do :
62724 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
62725 if test "x$ac_cv_func__isinfl" = x""yes; then :
62726 cat >>confdefs.h <<_ACEOF
62727 #define HAVE__ISINFL 1
62728 _ACEOF
62731 done
62740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
62741 $as_echo_n "checking for atan2l declaration... " >&6; }
62742 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
62743 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
62744 $as_echo_n "(cached) " >&6
62745 else
62748 ac_ext=cpp
62749 ac_cpp='$CXXCPP $CPPFLAGS'
62750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62755 /* end confdefs.h. */
62756 #include <math.h>
62758 main ()
62760 atan2l(0, 0);
62762 return 0;
62764 _ACEOF
62765 if ac_fn_cxx_try_compile "$LINENO"; then :
62766 glibcxx_cv_func_atan2l_use=yes
62767 else
62768 glibcxx_cv_func_atan2l_use=no
62770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62771 ac_ext=c
62772 ac_cpp='$CPP $CPPFLAGS'
62773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
62782 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
62784 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
62785 for ac_func in atan2l
62786 do :
62787 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
62788 if test "x$ac_cv_func_atan2l" = x""yes; then :
62789 cat >>confdefs.h <<_ACEOF
62790 #define HAVE_ATAN2L 1
62791 _ACEOF
62794 done
62796 else
62798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
62799 $as_echo_n "checking for _atan2l declaration... " >&6; }
62800 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
62801 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
62802 $as_echo_n "(cached) " >&6
62803 else
62806 ac_ext=cpp
62807 ac_cpp='$CXXCPP $CPPFLAGS'
62808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62813 /* end confdefs.h. */
62814 #include <math.h>
62816 main ()
62818 _atan2l(0, 0);
62820 return 0;
62822 _ACEOF
62823 if ac_fn_cxx_try_compile "$LINENO"; then :
62824 glibcxx_cv_func__atan2l_use=yes
62825 else
62826 glibcxx_cv_func__atan2l_use=no
62828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62829 ac_ext=c
62830 ac_cpp='$CPP $CPPFLAGS'
62831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
62840 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
62842 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
62843 for ac_func in _atan2l
62844 do :
62845 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
62846 if test "x$ac_cv_func__atan2l" = x""yes; then :
62847 cat >>confdefs.h <<_ACEOF
62848 #define HAVE__ATAN2L 1
62849 _ACEOF
62852 done
62861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
62862 $as_echo_n "checking for expl declaration... " >&6; }
62863 if test x${glibcxx_cv_func_expl_use+set} != xset; then
62864 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
62865 $as_echo_n "(cached) " >&6
62866 else
62869 ac_ext=cpp
62870 ac_cpp='$CXXCPP $CPPFLAGS'
62871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62876 /* end confdefs.h. */
62877 #include <math.h>
62878 #ifdef HAVE_IEEEFP_H
62879 #include <ieeefp.h>
62880 #endif
62883 main ()
62885 expl(0);
62887 return 0;
62889 _ACEOF
62890 if ac_fn_cxx_try_compile "$LINENO"; then :
62891 glibcxx_cv_func_expl_use=yes
62892 else
62893 glibcxx_cv_func_expl_use=no
62895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62896 ac_ext=c
62897 ac_cpp='$CPP $CPPFLAGS'
62898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
62907 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
62909 if test x$glibcxx_cv_func_expl_use = x"yes"; then
62910 for ac_func in expl
62911 do :
62912 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
62913 if test "x$ac_cv_func_expl" = x""yes; then :
62914 cat >>confdefs.h <<_ACEOF
62915 #define HAVE_EXPL 1
62916 _ACEOF
62919 done
62921 else
62923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
62924 $as_echo_n "checking for _expl declaration... " >&6; }
62925 if test x${glibcxx_cv_func__expl_use+set} != xset; then
62926 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
62927 $as_echo_n "(cached) " >&6
62928 else
62931 ac_ext=cpp
62932 ac_cpp='$CXXCPP $CPPFLAGS'
62933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62938 /* end confdefs.h. */
62939 #include <math.h>
62940 #ifdef HAVE_IEEEFP_H
62941 #include <ieeefp.h>
62942 #endif
62945 main ()
62947 _expl(0);
62949 return 0;
62951 _ACEOF
62952 if ac_fn_cxx_try_compile "$LINENO"; then :
62953 glibcxx_cv_func__expl_use=yes
62954 else
62955 glibcxx_cv_func__expl_use=no
62957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62958 ac_ext=c
62959 ac_cpp='$CPP $CPPFLAGS'
62960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
62969 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
62971 if test x$glibcxx_cv_func__expl_use = x"yes"; then
62972 for ac_func in _expl
62973 do :
62974 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
62975 if test "x$ac_cv_func__expl" = x""yes; then :
62976 cat >>confdefs.h <<_ACEOF
62977 #define HAVE__EXPL 1
62978 _ACEOF
62981 done
62990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
62991 $as_echo_n "checking for fabsl declaration... " >&6; }
62992 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
62993 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
62994 $as_echo_n "(cached) " >&6
62995 else
62998 ac_ext=cpp
62999 ac_cpp='$CXXCPP $CPPFLAGS'
63000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63005 /* end confdefs.h. */
63006 #include <math.h>
63007 #ifdef HAVE_IEEEFP_H
63008 #include <ieeefp.h>
63009 #endif
63012 main ()
63014 fabsl(0);
63016 return 0;
63018 _ACEOF
63019 if ac_fn_cxx_try_compile "$LINENO"; then :
63020 glibcxx_cv_func_fabsl_use=yes
63021 else
63022 glibcxx_cv_func_fabsl_use=no
63024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63025 ac_ext=c
63026 ac_cpp='$CPP $CPPFLAGS'
63027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
63036 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
63038 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
63039 for ac_func in fabsl
63040 do :
63041 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
63042 if test "x$ac_cv_func_fabsl" = x""yes; then :
63043 cat >>confdefs.h <<_ACEOF
63044 #define HAVE_FABSL 1
63045 _ACEOF
63048 done
63050 else
63052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
63053 $as_echo_n "checking for _fabsl declaration... " >&6; }
63054 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
63055 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
63056 $as_echo_n "(cached) " >&6
63057 else
63060 ac_ext=cpp
63061 ac_cpp='$CXXCPP $CPPFLAGS'
63062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63067 /* end confdefs.h. */
63068 #include <math.h>
63069 #ifdef HAVE_IEEEFP_H
63070 #include <ieeefp.h>
63071 #endif
63074 main ()
63076 _fabsl(0);
63078 return 0;
63080 _ACEOF
63081 if ac_fn_cxx_try_compile "$LINENO"; then :
63082 glibcxx_cv_func__fabsl_use=yes
63083 else
63084 glibcxx_cv_func__fabsl_use=no
63086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63087 ac_ext=c
63088 ac_cpp='$CPP $CPPFLAGS'
63089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
63098 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
63100 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
63101 for ac_func in _fabsl
63102 do :
63103 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
63104 if test "x$ac_cv_func__fabsl" = x""yes; then :
63105 cat >>confdefs.h <<_ACEOF
63106 #define HAVE__FABSL 1
63107 _ACEOF
63110 done
63119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
63120 $as_echo_n "checking for fmodl declaration... " >&6; }
63121 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
63122 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
63123 $as_echo_n "(cached) " >&6
63124 else
63127 ac_ext=cpp
63128 ac_cpp='$CXXCPP $CPPFLAGS'
63129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63134 /* end confdefs.h. */
63135 #include <math.h>
63137 main ()
63139 fmodl(0, 0);
63141 return 0;
63143 _ACEOF
63144 if ac_fn_cxx_try_compile "$LINENO"; then :
63145 glibcxx_cv_func_fmodl_use=yes
63146 else
63147 glibcxx_cv_func_fmodl_use=no
63149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63150 ac_ext=c
63151 ac_cpp='$CPP $CPPFLAGS'
63152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
63161 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
63163 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
63164 for ac_func in fmodl
63165 do :
63166 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
63167 if test "x$ac_cv_func_fmodl" = x""yes; then :
63168 cat >>confdefs.h <<_ACEOF
63169 #define HAVE_FMODL 1
63170 _ACEOF
63173 done
63175 else
63177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
63178 $as_echo_n "checking for _fmodl declaration... " >&6; }
63179 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
63180 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
63181 $as_echo_n "(cached) " >&6
63182 else
63185 ac_ext=cpp
63186 ac_cpp='$CXXCPP $CPPFLAGS'
63187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63192 /* end confdefs.h. */
63193 #include <math.h>
63195 main ()
63197 _fmodl(0, 0);
63199 return 0;
63201 _ACEOF
63202 if ac_fn_cxx_try_compile "$LINENO"; then :
63203 glibcxx_cv_func__fmodl_use=yes
63204 else
63205 glibcxx_cv_func__fmodl_use=no
63207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63208 ac_ext=c
63209 ac_cpp='$CPP $CPPFLAGS'
63210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
63219 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
63221 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
63222 for ac_func in _fmodl
63223 do :
63224 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
63225 if test "x$ac_cv_func__fmodl" = x""yes; then :
63226 cat >>confdefs.h <<_ACEOF
63227 #define HAVE__FMODL 1
63228 _ACEOF
63231 done
63240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
63241 $as_echo_n "checking for frexpl declaration... " >&6; }
63242 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
63243 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
63244 $as_echo_n "(cached) " >&6
63245 else
63248 ac_ext=cpp
63249 ac_cpp='$CXXCPP $CPPFLAGS'
63250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63255 /* end confdefs.h. */
63256 #include <math.h>
63258 main ()
63260 frexpl(0, 0);
63262 return 0;
63264 _ACEOF
63265 if ac_fn_cxx_try_compile "$LINENO"; then :
63266 glibcxx_cv_func_frexpl_use=yes
63267 else
63268 glibcxx_cv_func_frexpl_use=no
63270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63271 ac_ext=c
63272 ac_cpp='$CPP $CPPFLAGS'
63273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
63282 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
63284 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
63285 for ac_func in frexpl
63286 do :
63287 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
63288 if test "x$ac_cv_func_frexpl" = x""yes; then :
63289 cat >>confdefs.h <<_ACEOF
63290 #define HAVE_FREXPL 1
63291 _ACEOF
63294 done
63296 else
63298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
63299 $as_echo_n "checking for _frexpl declaration... " >&6; }
63300 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
63301 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
63302 $as_echo_n "(cached) " >&6
63303 else
63306 ac_ext=cpp
63307 ac_cpp='$CXXCPP $CPPFLAGS'
63308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63313 /* end confdefs.h. */
63314 #include <math.h>
63316 main ()
63318 _frexpl(0, 0);
63320 return 0;
63322 _ACEOF
63323 if ac_fn_cxx_try_compile "$LINENO"; then :
63324 glibcxx_cv_func__frexpl_use=yes
63325 else
63326 glibcxx_cv_func__frexpl_use=no
63328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63329 ac_ext=c
63330 ac_cpp='$CPP $CPPFLAGS'
63331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
63340 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
63342 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
63343 for ac_func in _frexpl
63344 do :
63345 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
63346 if test "x$ac_cv_func__frexpl" = x""yes; then :
63347 cat >>confdefs.h <<_ACEOF
63348 #define HAVE__FREXPL 1
63349 _ACEOF
63352 done
63361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
63362 $as_echo_n "checking for hypotl declaration... " >&6; }
63363 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
63364 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
63365 $as_echo_n "(cached) " >&6
63366 else
63369 ac_ext=cpp
63370 ac_cpp='$CXXCPP $CPPFLAGS'
63371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63376 /* end confdefs.h. */
63377 #include <math.h>
63379 main ()
63381 hypotl(0, 0);
63383 return 0;
63385 _ACEOF
63386 if ac_fn_cxx_try_compile "$LINENO"; then :
63387 glibcxx_cv_func_hypotl_use=yes
63388 else
63389 glibcxx_cv_func_hypotl_use=no
63391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63392 ac_ext=c
63393 ac_cpp='$CPP $CPPFLAGS'
63394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
63403 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
63405 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
63406 for ac_func in hypotl
63407 do :
63408 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
63409 if test "x$ac_cv_func_hypotl" = x""yes; then :
63410 cat >>confdefs.h <<_ACEOF
63411 #define HAVE_HYPOTL 1
63412 _ACEOF
63415 done
63417 else
63419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
63420 $as_echo_n "checking for _hypotl declaration... " >&6; }
63421 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
63422 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
63423 $as_echo_n "(cached) " >&6
63424 else
63427 ac_ext=cpp
63428 ac_cpp='$CXXCPP $CPPFLAGS'
63429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63434 /* end confdefs.h. */
63435 #include <math.h>
63437 main ()
63439 _hypotl(0, 0);
63441 return 0;
63443 _ACEOF
63444 if ac_fn_cxx_try_compile "$LINENO"; then :
63445 glibcxx_cv_func__hypotl_use=yes
63446 else
63447 glibcxx_cv_func__hypotl_use=no
63449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63450 ac_ext=c
63451 ac_cpp='$CPP $CPPFLAGS'
63452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
63461 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
63463 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
63464 for ac_func in _hypotl
63465 do :
63466 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
63467 if test "x$ac_cv_func__hypotl" = x""yes; then :
63468 cat >>confdefs.h <<_ACEOF
63469 #define HAVE__HYPOTL 1
63470 _ACEOF
63473 done
63482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
63483 $as_echo_n "checking for ldexpl declaration... " >&6; }
63484 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
63485 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
63486 $as_echo_n "(cached) " >&6
63487 else
63490 ac_ext=cpp
63491 ac_cpp='$CXXCPP $CPPFLAGS'
63492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63497 /* end confdefs.h. */
63498 #include <math.h>
63500 main ()
63502 ldexpl(0, 0);
63504 return 0;
63506 _ACEOF
63507 if ac_fn_cxx_try_compile "$LINENO"; then :
63508 glibcxx_cv_func_ldexpl_use=yes
63509 else
63510 glibcxx_cv_func_ldexpl_use=no
63512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63513 ac_ext=c
63514 ac_cpp='$CPP $CPPFLAGS'
63515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
63524 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
63526 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
63527 for ac_func in ldexpl
63528 do :
63529 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
63530 if test "x$ac_cv_func_ldexpl" = x""yes; then :
63531 cat >>confdefs.h <<_ACEOF
63532 #define HAVE_LDEXPL 1
63533 _ACEOF
63536 done
63538 else
63540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
63541 $as_echo_n "checking for _ldexpl declaration... " >&6; }
63542 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
63543 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
63544 $as_echo_n "(cached) " >&6
63545 else
63548 ac_ext=cpp
63549 ac_cpp='$CXXCPP $CPPFLAGS'
63550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63555 /* end confdefs.h. */
63556 #include <math.h>
63558 main ()
63560 _ldexpl(0, 0);
63562 return 0;
63564 _ACEOF
63565 if ac_fn_cxx_try_compile "$LINENO"; then :
63566 glibcxx_cv_func__ldexpl_use=yes
63567 else
63568 glibcxx_cv_func__ldexpl_use=no
63570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63571 ac_ext=c
63572 ac_cpp='$CPP $CPPFLAGS'
63573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
63582 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
63584 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
63585 for ac_func in _ldexpl
63586 do :
63587 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
63588 if test "x$ac_cv_func__ldexpl" = x""yes; then :
63589 cat >>confdefs.h <<_ACEOF
63590 #define HAVE__LDEXPL 1
63591 _ACEOF
63594 done
63603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
63604 $as_echo_n "checking for logl declaration... " >&6; }
63605 if test x${glibcxx_cv_func_logl_use+set} != xset; then
63606 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
63607 $as_echo_n "(cached) " >&6
63608 else
63611 ac_ext=cpp
63612 ac_cpp='$CXXCPP $CPPFLAGS'
63613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63618 /* end confdefs.h. */
63619 #include <math.h>
63620 #ifdef HAVE_IEEEFP_H
63621 #include <ieeefp.h>
63622 #endif
63625 main ()
63627 logl(0);
63629 return 0;
63631 _ACEOF
63632 if ac_fn_cxx_try_compile "$LINENO"; then :
63633 glibcxx_cv_func_logl_use=yes
63634 else
63635 glibcxx_cv_func_logl_use=no
63637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63638 ac_ext=c
63639 ac_cpp='$CPP $CPPFLAGS'
63640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
63649 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
63651 if test x$glibcxx_cv_func_logl_use = x"yes"; then
63652 for ac_func in logl
63653 do :
63654 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
63655 if test "x$ac_cv_func_logl" = x""yes; then :
63656 cat >>confdefs.h <<_ACEOF
63657 #define HAVE_LOGL 1
63658 _ACEOF
63661 done
63663 else
63665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
63666 $as_echo_n "checking for _logl declaration... " >&6; }
63667 if test x${glibcxx_cv_func__logl_use+set} != xset; then
63668 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
63669 $as_echo_n "(cached) " >&6
63670 else
63673 ac_ext=cpp
63674 ac_cpp='$CXXCPP $CPPFLAGS'
63675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63680 /* end confdefs.h. */
63681 #include <math.h>
63682 #ifdef HAVE_IEEEFP_H
63683 #include <ieeefp.h>
63684 #endif
63687 main ()
63689 _logl(0);
63691 return 0;
63693 _ACEOF
63694 if ac_fn_cxx_try_compile "$LINENO"; then :
63695 glibcxx_cv_func__logl_use=yes
63696 else
63697 glibcxx_cv_func__logl_use=no
63699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63700 ac_ext=c
63701 ac_cpp='$CPP $CPPFLAGS'
63702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
63711 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
63713 if test x$glibcxx_cv_func__logl_use = x"yes"; then
63714 for ac_func in _logl
63715 do :
63716 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
63717 if test "x$ac_cv_func__logl" = x""yes; then :
63718 cat >>confdefs.h <<_ACEOF
63719 #define HAVE__LOGL 1
63720 _ACEOF
63723 done
63732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
63733 $as_echo_n "checking for log10l declaration... " >&6; }
63734 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
63735 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
63736 $as_echo_n "(cached) " >&6
63737 else
63740 ac_ext=cpp
63741 ac_cpp='$CXXCPP $CPPFLAGS'
63742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63747 /* end confdefs.h. */
63748 #include <math.h>
63749 #ifdef HAVE_IEEEFP_H
63750 #include <ieeefp.h>
63751 #endif
63754 main ()
63756 log10l(0);
63758 return 0;
63760 _ACEOF
63761 if ac_fn_cxx_try_compile "$LINENO"; then :
63762 glibcxx_cv_func_log10l_use=yes
63763 else
63764 glibcxx_cv_func_log10l_use=no
63766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63767 ac_ext=c
63768 ac_cpp='$CPP $CPPFLAGS'
63769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
63778 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
63780 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
63781 for ac_func in log10l
63782 do :
63783 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
63784 if test "x$ac_cv_func_log10l" = x""yes; then :
63785 cat >>confdefs.h <<_ACEOF
63786 #define HAVE_LOG10L 1
63787 _ACEOF
63790 done
63792 else
63794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
63795 $as_echo_n "checking for _log10l declaration... " >&6; }
63796 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
63797 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
63798 $as_echo_n "(cached) " >&6
63799 else
63802 ac_ext=cpp
63803 ac_cpp='$CXXCPP $CPPFLAGS'
63804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63809 /* end confdefs.h. */
63810 #include <math.h>
63811 #ifdef HAVE_IEEEFP_H
63812 #include <ieeefp.h>
63813 #endif
63816 main ()
63818 _log10l(0);
63820 return 0;
63822 _ACEOF
63823 if ac_fn_cxx_try_compile "$LINENO"; then :
63824 glibcxx_cv_func__log10l_use=yes
63825 else
63826 glibcxx_cv_func__log10l_use=no
63828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63829 ac_ext=c
63830 ac_cpp='$CPP $CPPFLAGS'
63831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
63840 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
63842 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
63843 for ac_func in _log10l
63844 do :
63845 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
63846 if test "x$ac_cv_func__log10l" = x""yes; then :
63847 cat >>confdefs.h <<_ACEOF
63848 #define HAVE__LOG10L 1
63849 _ACEOF
63852 done
63861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
63862 $as_echo_n "checking for modfl declaration... " >&6; }
63863 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
63864 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
63865 $as_echo_n "(cached) " >&6
63866 else
63869 ac_ext=cpp
63870 ac_cpp='$CXXCPP $CPPFLAGS'
63871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63876 /* end confdefs.h. */
63877 #include <math.h>
63879 main ()
63881 modfl(0, 0);
63883 return 0;
63885 _ACEOF
63886 if ac_fn_cxx_try_compile "$LINENO"; then :
63887 glibcxx_cv_func_modfl_use=yes
63888 else
63889 glibcxx_cv_func_modfl_use=no
63891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63892 ac_ext=c
63893 ac_cpp='$CPP $CPPFLAGS'
63894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
63903 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
63905 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
63906 for ac_func in modfl
63907 do :
63908 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
63909 if test "x$ac_cv_func_modfl" = x""yes; then :
63910 cat >>confdefs.h <<_ACEOF
63911 #define HAVE_MODFL 1
63912 _ACEOF
63915 done
63917 else
63919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
63920 $as_echo_n "checking for _modfl declaration... " >&6; }
63921 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
63922 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
63923 $as_echo_n "(cached) " >&6
63924 else
63927 ac_ext=cpp
63928 ac_cpp='$CXXCPP $CPPFLAGS'
63929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63934 /* end confdefs.h. */
63935 #include <math.h>
63937 main ()
63939 _modfl(0, 0);
63941 return 0;
63943 _ACEOF
63944 if ac_fn_cxx_try_compile "$LINENO"; then :
63945 glibcxx_cv_func__modfl_use=yes
63946 else
63947 glibcxx_cv_func__modfl_use=no
63949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63950 ac_ext=c
63951 ac_cpp='$CPP $CPPFLAGS'
63952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
63961 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
63963 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
63964 for ac_func in _modfl
63965 do :
63966 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
63967 if test "x$ac_cv_func__modfl" = x""yes; then :
63968 cat >>confdefs.h <<_ACEOF
63969 #define HAVE__MODFL 1
63970 _ACEOF
63973 done
63982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
63983 $as_echo_n "checking for powl declaration... " >&6; }
63984 if test x${glibcxx_cv_func_powl_use+set} != xset; then
63985 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
63986 $as_echo_n "(cached) " >&6
63987 else
63990 ac_ext=cpp
63991 ac_cpp='$CXXCPP $CPPFLAGS'
63992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63997 /* end confdefs.h. */
63998 #include <math.h>
64000 main ()
64002 powl(0, 0);
64004 return 0;
64006 _ACEOF
64007 if ac_fn_cxx_try_compile "$LINENO"; then :
64008 glibcxx_cv_func_powl_use=yes
64009 else
64010 glibcxx_cv_func_powl_use=no
64012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64013 ac_ext=c
64014 ac_cpp='$CPP $CPPFLAGS'
64015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
64024 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
64026 if test x$glibcxx_cv_func_powl_use = x"yes"; then
64027 for ac_func in powl
64028 do :
64029 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
64030 if test "x$ac_cv_func_powl" = x""yes; then :
64031 cat >>confdefs.h <<_ACEOF
64032 #define HAVE_POWL 1
64033 _ACEOF
64036 done
64038 else
64040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
64041 $as_echo_n "checking for _powl declaration... " >&6; }
64042 if test x${glibcxx_cv_func__powl_use+set} != xset; then
64043 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
64044 $as_echo_n "(cached) " >&6
64045 else
64048 ac_ext=cpp
64049 ac_cpp='$CXXCPP $CPPFLAGS'
64050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64055 /* end confdefs.h. */
64056 #include <math.h>
64058 main ()
64060 _powl(0, 0);
64062 return 0;
64064 _ACEOF
64065 if ac_fn_cxx_try_compile "$LINENO"; then :
64066 glibcxx_cv_func__powl_use=yes
64067 else
64068 glibcxx_cv_func__powl_use=no
64070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64071 ac_ext=c
64072 ac_cpp='$CPP $CPPFLAGS'
64073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
64082 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
64084 if test x$glibcxx_cv_func__powl_use = x"yes"; then
64085 for ac_func in _powl
64086 do :
64087 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
64088 if test "x$ac_cv_func__powl" = x""yes; then :
64089 cat >>confdefs.h <<_ACEOF
64090 #define HAVE__POWL 1
64091 _ACEOF
64094 done
64103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
64104 $as_echo_n "checking for sqrtl declaration... " >&6; }
64105 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
64106 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
64107 $as_echo_n "(cached) " >&6
64108 else
64111 ac_ext=cpp
64112 ac_cpp='$CXXCPP $CPPFLAGS'
64113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64118 /* end confdefs.h. */
64119 #include <math.h>
64120 #ifdef HAVE_IEEEFP_H
64121 #include <ieeefp.h>
64122 #endif
64125 main ()
64127 sqrtl(0);
64129 return 0;
64131 _ACEOF
64132 if ac_fn_cxx_try_compile "$LINENO"; then :
64133 glibcxx_cv_func_sqrtl_use=yes
64134 else
64135 glibcxx_cv_func_sqrtl_use=no
64137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64138 ac_ext=c
64139 ac_cpp='$CPP $CPPFLAGS'
64140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
64149 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
64151 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
64152 for ac_func in sqrtl
64153 do :
64154 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
64155 if test "x$ac_cv_func_sqrtl" = x""yes; then :
64156 cat >>confdefs.h <<_ACEOF
64157 #define HAVE_SQRTL 1
64158 _ACEOF
64161 done
64163 else
64165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
64166 $as_echo_n "checking for _sqrtl declaration... " >&6; }
64167 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
64168 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
64169 $as_echo_n "(cached) " >&6
64170 else
64173 ac_ext=cpp
64174 ac_cpp='$CXXCPP $CPPFLAGS'
64175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64180 /* end confdefs.h. */
64181 #include <math.h>
64182 #ifdef HAVE_IEEEFP_H
64183 #include <ieeefp.h>
64184 #endif
64187 main ()
64189 _sqrtl(0);
64191 return 0;
64193 _ACEOF
64194 if ac_fn_cxx_try_compile "$LINENO"; then :
64195 glibcxx_cv_func__sqrtl_use=yes
64196 else
64197 glibcxx_cv_func__sqrtl_use=no
64199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64200 ac_ext=c
64201 ac_cpp='$CPP $CPPFLAGS'
64202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
64211 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
64213 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
64214 for ac_func in _sqrtl
64215 do :
64216 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
64217 if test "x$ac_cv_func__sqrtl" = x""yes; then :
64218 cat >>confdefs.h <<_ACEOF
64219 #define HAVE__SQRTL 1
64220 _ACEOF
64223 done
64232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
64233 $as_echo_n "checking for sincosl declaration... " >&6; }
64234 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
64235 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
64236 $as_echo_n "(cached) " >&6
64237 else
64240 ac_ext=cpp
64241 ac_cpp='$CXXCPP $CPPFLAGS'
64242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64247 /* end confdefs.h. */
64248 #include <math.h>
64250 main ()
64252 sincosl(0, 0, 0);
64254 return 0;
64256 _ACEOF
64257 if ac_fn_cxx_try_compile "$LINENO"; then :
64258 glibcxx_cv_func_sincosl_use=yes
64259 else
64260 glibcxx_cv_func_sincosl_use=no
64262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64263 ac_ext=c
64264 ac_cpp='$CPP $CPPFLAGS'
64265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
64274 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
64276 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
64277 for ac_func in sincosl
64278 do :
64279 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
64280 if test "x$ac_cv_func_sincosl" = x""yes; then :
64281 cat >>confdefs.h <<_ACEOF
64282 #define HAVE_SINCOSL 1
64283 _ACEOF
64286 done
64288 else
64290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
64291 $as_echo_n "checking for _sincosl declaration... " >&6; }
64292 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
64293 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
64294 $as_echo_n "(cached) " >&6
64295 else
64298 ac_ext=cpp
64299 ac_cpp='$CXXCPP $CPPFLAGS'
64300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64305 /* end confdefs.h. */
64306 #include <math.h>
64308 main ()
64310 _sincosl(0, 0, 0);
64312 return 0;
64314 _ACEOF
64315 if ac_fn_cxx_try_compile "$LINENO"; then :
64316 glibcxx_cv_func__sincosl_use=yes
64317 else
64318 glibcxx_cv_func__sincosl_use=no
64320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64321 ac_ext=c
64322 ac_cpp='$CPP $CPPFLAGS'
64323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
64332 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
64334 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
64335 for ac_func in _sincosl
64336 do :
64337 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
64338 if test "x$ac_cv_func__sincosl" = x""yes; then :
64339 cat >>confdefs.h <<_ACEOF
64340 #define HAVE__SINCOSL 1
64341 _ACEOF
64344 done
64353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
64354 $as_echo_n "checking for finitel declaration... " >&6; }
64355 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
64356 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
64357 $as_echo_n "(cached) " >&6
64358 else
64361 ac_ext=cpp
64362 ac_cpp='$CXXCPP $CPPFLAGS'
64363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64368 /* end confdefs.h. */
64369 #include <math.h>
64370 #ifdef HAVE_IEEEFP_H
64371 #include <ieeefp.h>
64372 #endif
64375 main ()
64377 finitel(0);
64379 return 0;
64381 _ACEOF
64382 if ac_fn_cxx_try_compile "$LINENO"; then :
64383 glibcxx_cv_func_finitel_use=yes
64384 else
64385 glibcxx_cv_func_finitel_use=no
64387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64388 ac_ext=c
64389 ac_cpp='$CPP $CPPFLAGS'
64390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
64399 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
64401 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
64402 for ac_func in finitel
64403 do :
64404 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
64405 if test "x$ac_cv_func_finitel" = x""yes; then :
64406 cat >>confdefs.h <<_ACEOF
64407 #define HAVE_FINITEL 1
64408 _ACEOF
64411 done
64413 else
64415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
64416 $as_echo_n "checking for _finitel declaration... " >&6; }
64417 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
64418 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
64419 $as_echo_n "(cached) " >&6
64420 else
64423 ac_ext=cpp
64424 ac_cpp='$CXXCPP $CPPFLAGS'
64425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64430 /* end confdefs.h. */
64431 #include <math.h>
64432 #ifdef HAVE_IEEEFP_H
64433 #include <ieeefp.h>
64434 #endif
64437 main ()
64439 _finitel(0);
64441 return 0;
64443 _ACEOF
64444 if ac_fn_cxx_try_compile "$LINENO"; then :
64445 glibcxx_cv_func__finitel_use=yes
64446 else
64447 glibcxx_cv_func__finitel_use=no
64449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64450 ac_ext=c
64451 ac_cpp='$CPP $CPPFLAGS'
64452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
64461 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
64463 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
64464 for ac_func in _finitel
64465 do :
64466 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
64467 if test "x$ac_cv_func__finitel" = x""yes; then :
64468 cat >>confdefs.h <<_ACEOF
64469 #define HAVE__FINITEL 1
64470 _ACEOF
64473 done
64481 LIBS="$ac_save_LIBS"
64482 CXXFLAGS="$ac_save_CXXFLAGS"
64485 ac_test_CXXFLAGS="${CXXFLAGS+set}"
64486 ac_save_CXXFLAGS="$CXXFLAGS"
64487 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
64490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
64491 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
64492 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
64493 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
64494 $as_echo_n "(cached) " >&6
64495 else
64498 ac_ext=cpp
64499 ac_cpp='$CXXCPP $CPPFLAGS'
64500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64505 /* end confdefs.h. */
64506 #include <stdlib.h>
64508 main ()
64510 at_quick_exit(0);
64512 return 0;
64514 _ACEOF
64515 if ac_fn_cxx_try_compile "$LINENO"; then :
64516 glibcxx_cv_func_at_quick_exit_use=yes
64517 else
64518 glibcxx_cv_func_at_quick_exit_use=no
64520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64521 ac_ext=c
64522 ac_cpp='$CPP $CPPFLAGS'
64523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
64532 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
64533 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
64534 for ac_func in at_quick_exit
64535 do :
64536 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
64537 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
64538 cat >>confdefs.h <<_ACEOF
64539 #define HAVE_AT_QUICK_EXIT 1
64540 _ACEOF
64543 done
64548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
64549 $as_echo_n "checking for quick_exit declaration... " >&6; }
64550 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
64551 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
64552 $as_echo_n "(cached) " >&6
64553 else
64556 ac_ext=cpp
64557 ac_cpp='$CXXCPP $CPPFLAGS'
64558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64563 /* end confdefs.h. */
64564 #include <stdlib.h>
64566 main ()
64568 quick_exit(0);
64570 return 0;
64572 _ACEOF
64573 if ac_fn_cxx_try_compile "$LINENO"; then :
64574 glibcxx_cv_func_quick_exit_use=yes
64575 else
64576 glibcxx_cv_func_quick_exit_use=no
64578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64579 ac_ext=c
64580 ac_cpp='$CPP $CPPFLAGS'
64581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
64590 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
64591 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
64592 for ac_func in quick_exit
64593 do :
64594 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
64595 if test "x$ac_cv_func_quick_exit" = x""yes; then :
64596 cat >>confdefs.h <<_ACEOF
64597 #define HAVE_QUICK_EXIT 1
64598 _ACEOF
64601 done
64606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
64607 $as_echo_n "checking for strtold declaration... " >&6; }
64608 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
64609 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
64610 $as_echo_n "(cached) " >&6
64611 else
64614 ac_ext=cpp
64615 ac_cpp='$CXXCPP $CPPFLAGS'
64616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64621 /* end confdefs.h. */
64622 #include <stdlib.h>
64624 main ()
64626 strtold(0, 0);
64628 return 0;
64630 _ACEOF
64631 if ac_fn_cxx_try_compile "$LINENO"; then :
64632 glibcxx_cv_func_strtold_use=yes
64633 else
64634 glibcxx_cv_func_strtold_use=no
64636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64637 ac_ext=c
64638 ac_cpp='$CPP $CPPFLAGS'
64639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
64648 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
64649 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
64650 for ac_func in strtold
64651 do :
64652 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
64653 if test "x$ac_cv_func_strtold" = x""yes; then :
64654 cat >>confdefs.h <<_ACEOF
64655 #define HAVE_STRTOLD 1
64656 _ACEOF
64659 done
64666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
64667 $as_echo_n "checking for strtof declaration... " >&6; }
64668 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
64669 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
64670 $as_echo_n "(cached) " >&6
64671 else
64674 ac_ext=cpp
64675 ac_cpp='$CXXCPP $CPPFLAGS'
64676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64681 /* end confdefs.h. */
64682 #include <stdlib.h>
64684 main ()
64686 strtof(0, 0);
64688 return 0;
64690 _ACEOF
64691 if ac_fn_cxx_try_compile "$LINENO"; then :
64692 glibcxx_cv_func_strtof_use=yes
64693 else
64694 glibcxx_cv_func_strtof_use=no
64696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64697 ac_ext=c
64698 ac_cpp='$CPP $CPPFLAGS'
64699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
64708 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
64709 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
64710 for ac_func in strtof
64711 do :
64712 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
64713 if test "x$ac_cv_func_strtof" = x""yes; then :
64714 cat >>confdefs.h <<_ACEOF
64715 #define HAVE_STRTOF 1
64716 _ACEOF
64719 done
64726 CXXFLAGS="$ac_save_CXXFLAGS"
64729 *-netbsd*)
64730 SECTION_FLAGS='-ffunction-sections -fdata-sections'
64733 # If we're not using GNU ld, then there's no point in even trying these
64734 # tests. Check for that first. We should have already tested for gld
64735 # by now (in libtool), but require it now just to be safe...
64736 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
64737 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
64741 # The name set by libtool depends on the version of libtool. Shame on us
64742 # for depending on an impl detail, but c'est la vie. Older versions used
64743 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
64744 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
64745 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
64746 # set (hence we're using an older libtool), then set it.
64747 if test x${with_gnu_ld+set} != xset; then
64748 if test x${ac_cv_prog_gnu_ld+set} != xset; then
64749 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
64750 with_gnu_ld=no
64751 else
64752 with_gnu_ld=$ac_cv_prog_gnu_ld
64756 # Start by getting the version number. I think the libtool test already
64757 # does some of this, but throws away the result.
64758 glibcxx_ld_is_gold=no
64759 if test x"$with_gnu_ld" = x"yes"; then
64760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
64761 $as_echo_n "checking for ld version... " >&6; }
64763 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
64764 glibcxx_ld_is_gold=yes
64766 ldver=`$LD --version 2>/dev/null |
64767 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'`
64769 glibcxx_gnu_ld_version=`echo $ldver | \
64770 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
64771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
64772 $as_echo "$glibcxx_gnu_ld_version" >&6; }
64775 # Set --gc-sections.
64776 glibcxx_have_gc_sections=no
64777 if test "$glibcxx_ld_is_gold" = "yes"; then
64778 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
64779 glibcxx_have_gc_sections=yes
64781 else
64782 glibcxx_gcsections_min_ld=21602
64783 if test x"$with_gnu_ld" = x"yes" &&
64784 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
64785 glibcxx_have_gc_sections=yes
64788 if test "$glibcxx_have_gc_sections" = "yes"; then
64789 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
64790 # NB: This flag only works reliably after 2.16.1. Configure tests
64791 # for this are difficult, so hard wire a value that should work.
64793 ac_test_CFLAGS="${CFLAGS+set}"
64794 ac_save_CFLAGS="$CFLAGS"
64795 CFLAGS='-Wl,--gc-sections'
64797 # Check for -Wl,--gc-sections
64798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
64799 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
64800 if test x$gcc_no_link = xyes; then
64801 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64804 /* end confdefs.h. */
64805 int one(void) { return 1; }
64806 int two(void) { return 2; }
64809 main ()
64811 two();
64813 return 0;
64815 _ACEOF
64816 if ac_fn_c_try_link "$LINENO"; then :
64817 ac_gcsections=yes
64818 else
64819 ac_gcsections=no
64821 rm -f core conftest.err conftest.$ac_objext \
64822 conftest$ac_exeext conftest.$ac_ext
64823 if test "$ac_gcsections" = "yes"; then
64824 rm -f conftest.c
64825 touch conftest.c
64826 if $CC -c conftest.c; then
64827 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
64828 grep "Warning: gc-sections option ignored" > /dev/null; then
64829 ac_gcsections=no
64832 rm -f conftest.c conftest.o conftest
64834 if test "$ac_gcsections" = "yes"; then
64835 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
64837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
64838 $as_echo "$ac_gcsections" >&6; }
64840 if test "$ac_test_CFLAGS" = set; then
64841 CFLAGS="$ac_save_CFLAGS"
64842 else
64843 # this is the suspicious part
64844 CFLAGS=''
64848 # Set -z,relro.
64849 # Note this is only for shared objects.
64850 ac_ld_relro=no
64851 if test x"$with_gnu_ld" = x"yes"; then
64852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
64853 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
64854 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
64855 if test -n "$cxx_z_relo"; then
64856 OPT_LDFLAGS="-Wl,-z,relro"
64857 ac_ld_relro=yes
64859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
64860 $as_echo "$ac_ld_relro" >&6; }
64863 # Set linker optimization flags.
64864 if test x"$with_gnu_ld" = x"yes"; then
64865 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
64871 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
64873 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
64875 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
64877 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
64879 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
64881 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
64883 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
64885 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
64887 if test x"long_double_math_on_this_cpu" = x"yes"; then
64888 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
64890 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
64892 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
64896 *-qnx6.1* | *-qnx6.2*)
64897 SECTION_FLAGS='-ffunction-sections -fdata-sections'
64900 # If we're not using GNU ld, then there's no point in even trying these
64901 # tests. Check for that first. We should have already tested for gld
64902 # by now (in libtool), but require it now just to be safe...
64903 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
64904 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
64908 # The name set by libtool depends on the version of libtool. Shame on us
64909 # for depending on an impl detail, but c'est la vie. Older versions used
64910 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
64911 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
64912 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
64913 # set (hence we're using an older libtool), then set it.
64914 if test x${with_gnu_ld+set} != xset; then
64915 if test x${ac_cv_prog_gnu_ld+set} != xset; then
64916 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
64917 with_gnu_ld=no
64918 else
64919 with_gnu_ld=$ac_cv_prog_gnu_ld
64923 # Start by getting the version number. I think the libtool test already
64924 # does some of this, but throws away the result.
64925 glibcxx_ld_is_gold=no
64926 if test x"$with_gnu_ld" = x"yes"; then
64927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
64928 $as_echo_n "checking for ld version... " >&6; }
64930 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
64931 glibcxx_ld_is_gold=yes
64933 ldver=`$LD --version 2>/dev/null |
64934 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'`
64936 glibcxx_gnu_ld_version=`echo $ldver | \
64937 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
64938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
64939 $as_echo "$glibcxx_gnu_ld_version" >&6; }
64942 # Set --gc-sections.
64943 glibcxx_have_gc_sections=no
64944 if test "$glibcxx_ld_is_gold" = "yes"; then
64945 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
64946 glibcxx_have_gc_sections=yes
64948 else
64949 glibcxx_gcsections_min_ld=21602
64950 if test x"$with_gnu_ld" = x"yes" &&
64951 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
64952 glibcxx_have_gc_sections=yes
64955 if test "$glibcxx_have_gc_sections" = "yes"; then
64956 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
64957 # NB: This flag only works reliably after 2.16.1. Configure tests
64958 # for this are difficult, so hard wire a value that should work.
64960 ac_test_CFLAGS="${CFLAGS+set}"
64961 ac_save_CFLAGS="$CFLAGS"
64962 CFLAGS='-Wl,--gc-sections'
64964 # Check for -Wl,--gc-sections
64965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
64966 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
64967 if test x$gcc_no_link = xyes; then
64968 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64971 /* end confdefs.h. */
64972 int one(void) { return 1; }
64973 int two(void) { return 2; }
64976 main ()
64978 two();
64980 return 0;
64982 _ACEOF
64983 if ac_fn_c_try_link "$LINENO"; then :
64984 ac_gcsections=yes
64985 else
64986 ac_gcsections=no
64988 rm -f core conftest.err conftest.$ac_objext \
64989 conftest$ac_exeext conftest.$ac_ext
64990 if test "$ac_gcsections" = "yes"; then
64991 rm -f conftest.c
64992 touch conftest.c
64993 if $CC -c conftest.c; then
64994 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
64995 grep "Warning: gc-sections option ignored" > /dev/null; then
64996 ac_gcsections=no
64999 rm -f conftest.c conftest.o conftest
65001 if test "$ac_gcsections" = "yes"; then
65002 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
65004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
65005 $as_echo "$ac_gcsections" >&6; }
65007 if test "$ac_test_CFLAGS" = set; then
65008 CFLAGS="$ac_save_CFLAGS"
65009 else
65010 # this is the suspicious part
65011 CFLAGS=''
65015 # Set -z,relro.
65016 # Note this is only for shared objects.
65017 ac_ld_relro=no
65018 if test x"$with_gnu_ld" = x"yes"; then
65019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
65020 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
65021 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
65022 if test -n "$cxx_z_relo"; then
65023 OPT_LDFLAGS="-Wl,-z,relro"
65024 ac_ld_relro=yes
65026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
65027 $as_echo "$ac_ld_relro" >&6; }
65030 # Set linker optimization flags.
65031 if test x"$with_gnu_ld" = x"yes"; then
65032 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
65038 $as_echo "#define HAVE_COSF 1" >>confdefs.h
65040 $as_echo "#define HAVE_COSL 1" >>confdefs.h
65042 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
65044 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
65046 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
65048 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
65050 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
65052 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
65054 $as_echo "#define HAVE_SINF 1" >>confdefs.h
65056 $as_echo "#define HAVE_SINL 1" >>confdefs.h
65058 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
65060 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
65063 *-rtems*)
65065 # All these tests are for C++; save the language and the compiler flags.
65066 # The CXXFLAGS thing is suspicious, but based on similar bits previously
65067 # found in GLIBCXX_CONFIGURE.
65069 ac_ext=cpp
65070 ac_cpp='$CXXCPP $CPPFLAGS'
65071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65075 ac_test_CXXFLAGS="${CXXFLAGS+set}"
65076 ac_save_CXXFLAGS="$CXXFLAGS"
65078 # Check for maintainer-mode bits.
65079 if test x"$USE_MAINTAINER_MODE" = xno; then
65080 WERROR=''
65081 else
65082 WERROR='-Werror'
65085 # Check for -ffunction-sections -fdata-sections
65086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
65087 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
65088 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
65089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65090 /* end confdefs.h. */
65091 int foo; void bar() { };
65093 main ()
65097 return 0;
65099 _ACEOF
65100 if ac_fn_cxx_try_compile "$LINENO"; then :
65101 ac_fdsections=yes
65102 else
65103 ac_fdsections=no
65105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65106 if test "$ac_test_CXXFLAGS" = set; then
65107 CXXFLAGS="$ac_save_CXXFLAGS"
65108 else
65109 # this is the suspicious part
65110 CXXFLAGS=''
65112 if test x"$ac_fdsections" = x"yes"; then
65113 SECTION_FLAGS='-ffunction-sections -fdata-sections'
65115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
65116 $as_echo "$ac_fdsections" >&6; }
65118 ac_ext=c
65119 ac_cpp='$CPP $CPPFLAGS'
65120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65128 # If we're not using GNU ld, then there's no point in even trying these
65129 # tests. Check for that first. We should have already tested for gld
65130 # by now (in libtool), but require it now just to be safe...
65131 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
65132 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
65136 # The name set by libtool depends on the version of libtool. Shame on us
65137 # for depending on an impl detail, but c'est la vie. Older versions used
65138 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
65139 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
65140 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
65141 # set (hence we're using an older libtool), then set it.
65142 if test x${with_gnu_ld+set} != xset; then
65143 if test x${ac_cv_prog_gnu_ld+set} != xset; then
65144 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
65145 with_gnu_ld=no
65146 else
65147 with_gnu_ld=$ac_cv_prog_gnu_ld
65151 # Start by getting the version number. I think the libtool test already
65152 # does some of this, but throws away the result.
65153 glibcxx_ld_is_gold=no
65154 if test x"$with_gnu_ld" = x"yes"; then
65155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
65156 $as_echo_n "checking for ld version... " >&6; }
65158 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
65159 glibcxx_ld_is_gold=yes
65161 ldver=`$LD --version 2>/dev/null |
65162 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'`
65164 glibcxx_gnu_ld_version=`echo $ldver | \
65165 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
65166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
65167 $as_echo "$glibcxx_gnu_ld_version" >&6; }
65170 # Set --gc-sections.
65171 glibcxx_have_gc_sections=no
65172 if test "$glibcxx_ld_is_gold" = "yes"; then
65173 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
65174 glibcxx_have_gc_sections=yes
65176 else
65177 glibcxx_gcsections_min_ld=21602
65178 if test x"$with_gnu_ld" = x"yes" &&
65179 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
65180 glibcxx_have_gc_sections=yes
65183 if test "$glibcxx_have_gc_sections" = "yes"; then
65184 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
65185 # NB: This flag only works reliably after 2.16.1. Configure tests
65186 # for this are difficult, so hard wire a value that should work.
65188 ac_test_CFLAGS="${CFLAGS+set}"
65189 ac_save_CFLAGS="$CFLAGS"
65190 CFLAGS='-Wl,--gc-sections'
65192 # Check for -Wl,--gc-sections
65193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
65194 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
65195 if test x$gcc_no_link = xyes; then
65196 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
65198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65199 /* end confdefs.h. */
65200 int one(void) { return 1; }
65201 int two(void) { return 2; }
65204 main ()
65206 two();
65208 return 0;
65210 _ACEOF
65211 if ac_fn_c_try_link "$LINENO"; then :
65212 ac_gcsections=yes
65213 else
65214 ac_gcsections=no
65216 rm -f core conftest.err conftest.$ac_objext \
65217 conftest$ac_exeext conftest.$ac_ext
65218 if test "$ac_gcsections" = "yes"; then
65219 rm -f conftest.c
65220 touch conftest.c
65221 if $CC -c conftest.c; then
65222 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
65223 grep "Warning: gc-sections option ignored" > /dev/null; then
65224 ac_gcsections=no
65227 rm -f conftest.c conftest.o conftest
65229 if test "$ac_gcsections" = "yes"; then
65230 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
65232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
65233 $as_echo "$ac_gcsections" >&6; }
65235 if test "$ac_test_CFLAGS" = set; then
65236 CFLAGS="$ac_save_CFLAGS"
65237 else
65238 # this is the suspicious part
65239 CFLAGS=''
65243 # Set -z,relro.
65244 # Note this is only for shared objects.
65245 ac_ld_relro=no
65246 if test x"$with_gnu_ld" = x"yes"; then
65247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
65248 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
65249 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
65250 if test -n "$cxx_z_relo"; then
65251 OPT_LDFLAGS="-Wl,-z,relro"
65252 ac_ld_relro=yes
65254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
65255 $as_echo "$ac_ld_relro" >&6; }
65258 # Set linker optimization flags.
65259 if test x"$with_gnu_ld" = x"yes"; then
65260 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
65267 ac_test_CXXFLAGS="${CXXFLAGS+set}"
65268 ac_save_CXXFLAGS="$CXXFLAGS"
65269 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
65271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
65272 $as_echo_n "checking for sin in -lm... " >&6; }
65273 if test "${ac_cv_lib_m_sin+set}" = set; then :
65274 $as_echo_n "(cached) " >&6
65275 else
65276 ac_check_lib_save_LIBS=$LIBS
65277 LIBS="-lm $LIBS"
65278 if test x$gcc_no_link = xyes; then
65279 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
65281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65282 /* end confdefs.h. */
65284 /* Override any GCC internal prototype to avoid an error.
65285 Use char because int might match the return type of a GCC
65286 builtin and then its argument prototype would still apply. */
65287 #ifdef __cplusplus
65288 extern "C"
65289 #endif
65290 char sin ();
65292 main ()
65294 return sin ();
65296 return 0;
65298 _ACEOF
65299 if ac_fn_c_try_link "$LINENO"; then :
65300 ac_cv_lib_m_sin=yes
65301 else
65302 ac_cv_lib_m_sin=no
65304 rm -f core conftest.err conftest.$ac_objext \
65305 conftest$ac_exeext conftest.$ac_ext
65306 LIBS=$ac_check_lib_save_LIBS
65308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
65309 $as_echo "$ac_cv_lib_m_sin" >&6; }
65310 if test "x$ac_cv_lib_m_sin" = x""yes; then :
65311 libm="-lm"
65314 ac_save_LIBS="$LIBS"
65315 LIBS="$LIBS $libm"
65319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
65320 $as_echo_n "checking for isinf declaration... " >&6; }
65321 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
65322 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
65323 $as_echo_n "(cached) " >&6
65324 else
65327 ac_ext=cpp
65328 ac_cpp='$CXXCPP $CPPFLAGS'
65329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65334 /* end confdefs.h. */
65335 #include <math.h>
65336 #ifdef HAVE_IEEEFP_H
65337 #include <ieeefp.h>
65338 #endif
65341 main ()
65343 isinf(0);
65345 return 0;
65347 _ACEOF
65348 if ac_fn_cxx_try_compile "$LINENO"; then :
65349 glibcxx_cv_func_isinf_use=yes
65350 else
65351 glibcxx_cv_func_isinf_use=no
65353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65354 ac_ext=c
65355 ac_cpp='$CPP $CPPFLAGS'
65356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
65365 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
65367 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
65368 for ac_func in isinf
65369 do :
65370 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
65371 if test "x$ac_cv_func_isinf" = x""yes; then :
65372 cat >>confdefs.h <<_ACEOF
65373 #define HAVE_ISINF 1
65374 _ACEOF
65377 done
65379 else
65381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
65382 $as_echo_n "checking for _isinf declaration... " >&6; }
65383 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
65384 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
65385 $as_echo_n "(cached) " >&6
65386 else
65389 ac_ext=cpp
65390 ac_cpp='$CXXCPP $CPPFLAGS'
65391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65396 /* end confdefs.h. */
65397 #include <math.h>
65398 #ifdef HAVE_IEEEFP_H
65399 #include <ieeefp.h>
65400 #endif
65403 main ()
65405 _isinf(0);
65407 return 0;
65409 _ACEOF
65410 if ac_fn_cxx_try_compile "$LINENO"; then :
65411 glibcxx_cv_func__isinf_use=yes
65412 else
65413 glibcxx_cv_func__isinf_use=no
65415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65416 ac_ext=c
65417 ac_cpp='$CPP $CPPFLAGS'
65418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
65427 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
65429 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
65430 for ac_func in _isinf
65431 do :
65432 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
65433 if test "x$ac_cv_func__isinf" = x""yes; then :
65434 cat >>confdefs.h <<_ACEOF
65435 #define HAVE__ISINF 1
65436 _ACEOF
65439 done
65448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
65449 $as_echo_n "checking for isnan declaration... " >&6; }
65450 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
65451 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
65452 $as_echo_n "(cached) " >&6
65453 else
65456 ac_ext=cpp
65457 ac_cpp='$CXXCPP $CPPFLAGS'
65458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65463 /* end confdefs.h. */
65464 #include <math.h>
65465 #ifdef HAVE_IEEEFP_H
65466 #include <ieeefp.h>
65467 #endif
65470 main ()
65472 isnan(0);
65474 return 0;
65476 _ACEOF
65477 if ac_fn_cxx_try_compile "$LINENO"; then :
65478 glibcxx_cv_func_isnan_use=yes
65479 else
65480 glibcxx_cv_func_isnan_use=no
65482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65483 ac_ext=c
65484 ac_cpp='$CPP $CPPFLAGS'
65485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
65494 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
65496 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
65497 for ac_func in isnan
65498 do :
65499 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
65500 if test "x$ac_cv_func_isnan" = x""yes; then :
65501 cat >>confdefs.h <<_ACEOF
65502 #define HAVE_ISNAN 1
65503 _ACEOF
65506 done
65508 else
65510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
65511 $as_echo_n "checking for _isnan declaration... " >&6; }
65512 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
65513 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
65514 $as_echo_n "(cached) " >&6
65515 else
65518 ac_ext=cpp
65519 ac_cpp='$CXXCPP $CPPFLAGS'
65520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65525 /* end confdefs.h. */
65526 #include <math.h>
65527 #ifdef HAVE_IEEEFP_H
65528 #include <ieeefp.h>
65529 #endif
65532 main ()
65534 _isnan(0);
65536 return 0;
65538 _ACEOF
65539 if ac_fn_cxx_try_compile "$LINENO"; then :
65540 glibcxx_cv_func__isnan_use=yes
65541 else
65542 glibcxx_cv_func__isnan_use=no
65544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65545 ac_ext=c
65546 ac_cpp='$CPP $CPPFLAGS'
65547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
65556 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
65558 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
65559 for ac_func in _isnan
65560 do :
65561 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
65562 if test "x$ac_cv_func__isnan" = x""yes; then :
65563 cat >>confdefs.h <<_ACEOF
65564 #define HAVE__ISNAN 1
65565 _ACEOF
65568 done
65577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
65578 $as_echo_n "checking for finite declaration... " >&6; }
65579 if test x${glibcxx_cv_func_finite_use+set} != xset; then
65580 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
65581 $as_echo_n "(cached) " >&6
65582 else
65585 ac_ext=cpp
65586 ac_cpp='$CXXCPP $CPPFLAGS'
65587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65592 /* end confdefs.h. */
65593 #include <math.h>
65594 #ifdef HAVE_IEEEFP_H
65595 #include <ieeefp.h>
65596 #endif
65599 main ()
65601 finite(0);
65603 return 0;
65605 _ACEOF
65606 if ac_fn_cxx_try_compile "$LINENO"; then :
65607 glibcxx_cv_func_finite_use=yes
65608 else
65609 glibcxx_cv_func_finite_use=no
65611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65612 ac_ext=c
65613 ac_cpp='$CPP $CPPFLAGS'
65614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
65623 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
65625 if test x$glibcxx_cv_func_finite_use = x"yes"; then
65626 for ac_func in finite
65627 do :
65628 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
65629 if test "x$ac_cv_func_finite" = x""yes; then :
65630 cat >>confdefs.h <<_ACEOF
65631 #define HAVE_FINITE 1
65632 _ACEOF
65635 done
65637 else
65639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
65640 $as_echo_n "checking for _finite declaration... " >&6; }
65641 if test x${glibcxx_cv_func__finite_use+set} != xset; then
65642 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
65643 $as_echo_n "(cached) " >&6
65644 else
65647 ac_ext=cpp
65648 ac_cpp='$CXXCPP $CPPFLAGS'
65649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65654 /* end confdefs.h. */
65655 #include <math.h>
65656 #ifdef HAVE_IEEEFP_H
65657 #include <ieeefp.h>
65658 #endif
65661 main ()
65663 _finite(0);
65665 return 0;
65667 _ACEOF
65668 if ac_fn_cxx_try_compile "$LINENO"; then :
65669 glibcxx_cv_func__finite_use=yes
65670 else
65671 glibcxx_cv_func__finite_use=no
65673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65674 ac_ext=c
65675 ac_cpp='$CPP $CPPFLAGS'
65676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
65685 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
65687 if test x$glibcxx_cv_func__finite_use = x"yes"; then
65688 for ac_func in _finite
65689 do :
65690 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
65691 if test "x$ac_cv_func__finite" = x""yes; then :
65692 cat >>confdefs.h <<_ACEOF
65693 #define HAVE__FINITE 1
65694 _ACEOF
65697 done
65706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
65707 $as_echo_n "checking for sincos declaration... " >&6; }
65708 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
65709 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
65710 $as_echo_n "(cached) " >&6
65711 else
65714 ac_ext=cpp
65715 ac_cpp='$CXXCPP $CPPFLAGS'
65716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65721 /* end confdefs.h. */
65722 #include <math.h>
65724 main ()
65726 sincos(0, 0, 0);
65728 return 0;
65730 _ACEOF
65731 if ac_fn_cxx_try_compile "$LINENO"; then :
65732 glibcxx_cv_func_sincos_use=yes
65733 else
65734 glibcxx_cv_func_sincos_use=no
65736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65737 ac_ext=c
65738 ac_cpp='$CPP $CPPFLAGS'
65739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
65748 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
65750 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
65751 for ac_func in sincos
65752 do :
65753 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
65754 if test "x$ac_cv_func_sincos" = x""yes; then :
65755 cat >>confdefs.h <<_ACEOF
65756 #define HAVE_SINCOS 1
65757 _ACEOF
65760 done
65762 else
65764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
65765 $as_echo_n "checking for _sincos declaration... " >&6; }
65766 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
65767 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
65768 $as_echo_n "(cached) " >&6
65769 else
65772 ac_ext=cpp
65773 ac_cpp='$CXXCPP $CPPFLAGS'
65774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65779 /* end confdefs.h. */
65780 #include <math.h>
65782 main ()
65784 _sincos(0, 0, 0);
65786 return 0;
65788 _ACEOF
65789 if ac_fn_cxx_try_compile "$LINENO"; then :
65790 glibcxx_cv_func__sincos_use=yes
65791 else
65792 glibcxx_cv_func__sincos_use=no
65794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65795 ac_ext=c
65796 ac_cpp='$CPP $CPPFLAGS'
65797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
65806 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
65808 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
65809 for ac_func in _sincos
65810 do :
65811 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
65812 if test "x$ac_cv_func__sincos" = x""yes; then :
65813 cat >>confdefs.h <<_ACEOF
65814 #define HAVE__SINCOS 1
65815 _ACEOF
65818 done
65827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
65828 $as_echo_n "checking for fpclass declaration... " >&6; }
65829 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
65830 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
65831 $as_echo_n "(cached) " >&6
65832 else
65835 ac_ext=cpp
65836 ac_cpp='$CXXCPP $CPPFLAGS'
65837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65842 /* end confdefs.h. */
65843 #include <math.h>
65844 #ifdef HAVE_IEEEFP_H
65845 #include <ieeefp.h>
65846 #endif
65849 main ()
65851 fpclass(0);
65853 return 0;
65855 _ACEOF
65856 if ac_fn_cxx_try_compile "$LINENO"; then :
65857 glibcxx_cv_func_fpclass_use=yes
65858 else
65859 glibcxx_cv_func_fpclass_use=no
65861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65862 ac_ext=c
65863 ac_cpp='$CPP $CPPFLAGS'
65864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
65873 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
65875 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
65876 for ac_func in fpclass
65877 do :
65878 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
65879 if test "x$ac_cv_func_fpclass" = x""yes; then :
65880 cat >>confdefs.h <<_ACEOF
65881 #define HAVE_FPCLASS 1
65882 _ACEOF
65885 done
65887 else
65889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
65890 $as_echo_n "checking for _fpclass declaration... " >&6; }
65891 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
65892 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
65893 $as_echo_n "(cached) " >&6
65894 else
65897 ac_ext=cpp
65898 ac_cpp='$CXXCPP $CPPFLAGS'
65899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65904 /* end confdefs.h. */
65905 #include <math.h>
65906 #ifdef HAVE_IEEEFP_H
65907 #include <ieeefp.h>
65908 #endif
65911 main ()
65913 _fpclass(0);
65915 return 0;
65917 _ACEOF
65918 if ac_fn_cxx_try_compile "$LINENO"; then :
65919 glibcxx_cv_func__fpclass_use=yes
65920 else
65921 glibcxx_cv_func__fpclass_use=no
65923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65924 ac_ext=c
65925 ac_cpp='$CPP $CPPFLAGS'
65926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
65935 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
65937 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
65938 for ac_func in _fpclass
65939 do :
65940 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
65941 if test "x$ac_cv_func__fpclass" = x""yes; then :
65942 cat >>confdefs.h <<_ACEOF
65943 #define HAVE__FPCLASS 1
65944 _ACEOF
65947 done
65956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
65957 $as_echo_n "checking for qfpclass declaration... " >&6; }
65958 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
65959 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
65960 $as_echo_n "(cached) " >&6
65961 else
65964 ac_ext=cpp
65965 ac_cpp='$CXXCPP $CPPFLAGS'
65966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65971 /* end confdefs.h. */
65972 #include <math.h>
65973 #ifdef HAVE_IEEEFP_H
65974 #include <ieeefp.h>
65975 #endif
65978 main ()
65980 qfpclass(0);
65982 return 0;
65984 _ACEOF
65985 if ac_fn_cxx_try_compile "$LINENO"; then :
65986 glibcxx_cv_func_qfpclass_use=yes
65987 else
65988 glibcxx_cv_func_qfpclass_use=no
65990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65991 ac_ext=c
65992 ac_cpp='$CPP $CPPFLAGS'
65993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
66002 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
66004 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
66005 for ac_func in qfpclass
66006 do :
66007 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
66008 if test "x$ac_cv_func_qfpclass" = x""yes; then :
66009 cat >>confdefs.h <<_ACEOF
66010 #define HAVE_QFPCLASS 1
66011 _ACEOF
66014 done
66016 else
66018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
66019 $as_echo_n "checking for _qfpclass declaration... " >&6; }
66020 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
66021 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
66022 $as_echo_n "(cached) " >&6
66023 else
66026 ac_ext=cpp
66027 ac_cpp='$CXXCPP $CPPFLAGS'
66028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66033 /* end confdefs.h. */
66034 #include <math.h>
66035 #ifdef HAVE_IEEEFP_H
66036 #include <ieeefp.h>
66037 #endif
66040 main ()
66042 _qfpclass(0);
66044 return 0;
66046 _ACEOF
66047 if ac_fn_cxx_try_compile "$LINENO"; then :
66048 glibcxx_cv_func__qfpclass_use=yes
66049 else
66050 glibcxx_cv_func__qfpclass_use=no
66052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66053 ac_ext=c
66054 ac_cpp='$CPP $CPPFLAGS'
66055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
66064 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
66066 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
66067 for ac_func in _qfpclass
66068 do :
66069 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
66070 if test "x$ac_cv_func__qfpclass" = x""yes; then :
66071 cat >>confdefs.h <<_ACEOF
66072 #define HAVE__QFPCLASS 1
66073 _ACEOF
66076 done
66085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
66086 $as_echo_n "checking for hypot declaration... " >&6; }
66087 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
66088 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
66089 $as_echo_n "(cached) " >&6
66090 else
66093 ac_ext=cpp
66094 ac_cpp='$CXXCPP $CPPFLAGS'
66095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66100 /* end confdefs.h. */
66101 #include <math.h>
66103 main ()
66105 hypot(0, 0);
66107 return 0;
66109 _ACEOF
66110 if ac_fn_cxx_try_compile "$LINENO"; then :
66111 glibcxx_cv_func_hypot_use=yes
66112 else
66113 glibcxx_cv_func_hypot_use=no
66115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66116 ac_ext=c
66117 ac_cpp='$CPP $CPPFLAGS'
66118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
66127 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
66129 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
66130 for ac_func in hypot
66131 do :
66132 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
66133 if test "x$ac_cv_func_hypot" = x""yes; then :
66134 cat >>confdefs.h <<_ACEOF
66135 #define HAVE_HYPOT 1
66136 _ACEOF
66139 done
66141 else
66143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
66144 $as_echo_n "checking for _hypot declaration... " >&6; }
66145 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
66146 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
66147 $as_echo_n "(cached) " >&6
66148 else
66151 ac_ext=cpp
66152 ac_cpp='$CXXCPP $CPPFLAGS'
66153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66158 /* end confdefs.h. */
66159 #include <math.h>
66161 main ()
66163 _hypot(0, 0);
66165 return 0;
66167 _ACEOF
66168 if ac_fn_cxx_try_compile "$LINENO"; then :
66169 glibcxx_cv_func__hypot_use=yes
66170 else
66171 glibcxx_cv_func__hypot_use=no
66173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66174 ac_ext=c
66175 ac_cpp='$CPP $CPPFLAGS'
66176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
66185 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
66187 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
66188 for ac_func in _hypot
66189 do :
66190 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
66191 if test "x$ac_cv_func__hypot" = x""yes; then :
66192 cat >>confdefs.h <<_ACEOF
66193 #define HAVE__HYPOT 1
66194 _ACEOF
66197 done
66206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
66207 $as_echo_n "checking for float trig functions... " >&6; }
66208 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
66209 $as_echo_n "(cached) " >&6
66210 else
66213 ac_ext=cpp
66214 ac_cpp='$CXXCPP $CPPFLAGS'
66215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66220 /* end confdefs.h. */
66221 #include <math.h>
66223 main ()
66225 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
66227 return 0;
66229 _ACEOF
66230 if ac_fn_cxx_try_compile "$LINENO"; then :
66231 glibcxx_cv_func_float_trig_use=yes
66232 else
66233 glibcxx_cv_func_float_trig_use=no
66235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66236 ac_ext=c
66237 ac_cpp='$CPP $CPPFLAGS'
66238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
66245 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
66246 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
66247 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
66248 do :
66249 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66250 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66251 eval as_val=\$$as_ac_var
66252 if test "x$as_val" = x""yes; then :
66253 cat >>confdefs.h <<_ACEOF
66254 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66255 _ACEOF
66258 done
66260 else
66261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
66262 $as_echo_n "checking for _float trig functions... " >&6; }
66263 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
66264 $as_echo_n "(cached) " >&6
66265 else
66268 ac_ext=cpp
66269 ac_cpp='$CXXCPP $CPPFLAGS'
66270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66275 /* end confdefs.h. */
66276 #include <math.h>
66278 main ()
66280 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
66282 return 0;
66284 _ACEOF
66285 if ac_fn_cxx_try_compile "$LINENO"; then :
66286 glibcxx_cv_func__float_trig_use=yes
66287 else
66288 glibcxx_cv_func__float_trig_use=no
66290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66291 ac_ext=c
66292 ac_cpp='$CPP $CPPFLAGS'
66293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
66300 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
66301 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
66302 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
66303 do :
66304 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66305 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66306 eval as_val=\$$as_ac_var
66307 if test "x$as_val" = x""yes; then :
66308 cat >>confdefs.h <<_ACEOF
66309 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66310 _ACEOF
66313 done
66322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
66323 $as_echo_n "checking for float round functions... " >&6; }
66324 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
66325 $as_echo_n "(cached) " >&6
66326 else
66329 ac_ext=cpp
66330 ac_cpp='$CXXCPP $CPPFLAGS'
66331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66336 /* end confdefs.h. */
66337 #include <math.h>
66339 main ()
66341 ceilf (0); floorf (0);
66343 return 0;
66345 _ACEOF
66346 if ac_fn_cxx_try_compile "$LINENO"; then :
66347 glibcxx_cv_func_float_round_use=yes
66348 else
66349 glibcxx_cv_func_float_round_use=no
66351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66352 ac_ext=c
66353 ac_cpp='$CPP $CPPFLAGS'
66354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
66361 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
66362 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
66363 for ac_func in ceilf floorf
66364 do :
66365 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66366 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66367 eval as_val=\$$as_ac_var
66368 if test "x$as_val" = x""yes; then :
66369 cat >>confdefs.h <<_ACEOF
66370 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66371 _ACEOF
66374 done
66376 else
66377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
66378 $as_echo_n "checking for _float round functions... " >&6; }
66379 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
66380 $as_echo_n "(cached) " >&6
66381 else
66384 ac_ext=cpp
66385 ac_cpp='$CXXCPP $CPPFLAGS'
66386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66391 /* end confdefs.h. */
66392 #include <math.h>
66394 main ()
66396 _ceilf (0); _floorf (0);
66398 return 0;
66400 _ACEOF
66401 if ac_fn_cxx_try_compile "$LINENO"; then :
66402 glibcxx_cv_func__float_round_use=yes
66403 else
66404 glibcxx_cv_func__float_round_use=no
66406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66407 ac_ext=c
66408 ac_cpp='$CPP $CPPFLAGS'
66409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
66416 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
66417 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
66418 for ac_func in _ceilf _floorf
66419 do :
66420 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66421 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66422 eval as_val=\$$as_ac_var
66423 if test "x$as_val" = x""yes; then :
66424 cat >>confdefs.h <<_ACEOF
66425 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66426 _ACEOF
66429 done
66439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
66440 $as_echo_n "checking for expf declaration... " >&6; }
66441 if test x${glibcxx_cv_func_expf_use+set} != xset; then
66442 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
66443 $as_echo_n "(cached) " >&6
66444 else
66447 ac_ext=cpp
66448 ac_cpp='$CXXCPP $CPPFLAGS'
66449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66454 /* end confdefs.h. */
66455 #include <math.h>
66456 #ifdef HAVE_IEEEFP_H
66457 #include <ieeefp.h>
66458 #endif
66461 main ()
66463 expf(0);
66465 return 0;
66467 _ACEOF
66468 if ac_fn_cxx_try_compile "$LINENO"; then :
66469 glibcxx_cv_func_expf_use=yes
66470 else
66471 glibcxx_cv_func_expf_use=no
66473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66474 ac_ext=c
66475 ac_cpp='$CPP $CPPFLAGS'
66476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
66485 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
66487 if test x$glibcxx_cv_func_expf_use = x"yes"; then
66488 for ac_func in expf
66489 do :
66490 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
66491 if test "x$ac_cv_func_expf" = x""yes; then :
66492 cat >>confdefs.h <<_ACEOF
66493 #define HAVE_EXPF 1
66494 _ACEOF
66497 done
66499 else
66501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
66502 $as_echo_n "checking for _expf declaration... " >&6; }
66503 if test x${glibcxx_cv_func__expf_use+set} != xset; then
66504 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
66505 $as_echo_n "(cached) " >&6
66506 else
66509 ac_ext=cpp
66510 ac_cpp='$CXXCPP $CPPFLAGS'
66511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66516 /* end confdefs.h. */
66517 #include <math.h>
66518 #ifdef HAVE_IEEEFP_H
66519 #include <ieeefp.h>
66520 #endif
66523 main ()
66525 _expf(0);
66527 return 0;
66529 _ACEOF
66530 if ac_fn_cxx_try_compile "$LINENO"; then :
66531 glibcxx_cv_func__expf_use=yes
66532 else
66533 glibcxx_cv_func__expf_use=no
66535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66536 ac_ext=c
66537 ac_cpp='$CPP $CPPFLAGS'
66538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
66547 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
66549 if test x$glibcxx_cv_func__expf_use = x"yes"; then
66550 for ac_func in _expf
66551 do :
66552 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
66553 if test "x$ac_cv_func__expf" = x""yes; then :
66554 cat >>confdefs.h <<_ACEOF
66555 #define HAVE__EXPF 1
66556 _ACEOF
66559 done
66568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
66569 $as_echo_n "checking for isnanf declaration... " >&6; }
66570 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
66571 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
66572 $as_echo_n "(cached) " >&6
66573 else
66576 ac_ext=cpp
66577 ac_cpp='$CXXCPP $CPPFLAGS'
66578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66583 /* end confdefs.h. */
66584 #include <math.h>
66585 #ifdef HAVE_IEEEFP_H
66586 #include <ieeefp.h>
66587 #endif
66590 main ()
66592 isnanf(0);
66594 return 0;
66596 _ACEOF
66597 if ac_fn_cxx_try_compile "$LINENO"; then :
66598 glibcxx_cv_func_isnanf_use=yes
66599 else
66600 glibcxx_cv_func_isnanf_use=no
66602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66603 ac_ext=c
66604 ac_cpp='$CPP $CPPFLAGS'
66605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
66614 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
66616 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
66617 for ac_func in isnanf
66618 do :
66619 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
66620 if test "x$ac_cv_func_isnanf" = x""yes; then :
66621 cat >>confdefs.h <<_ACEOF
66622 #define HAVE_ISNANF 1
66623 _ACEOF
66626 done
66628 else
66630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
66631 $as_echo_n "checking for _isnanf declaration... " >&6; }
66632 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
66633 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
66634 $as_echo_n "(cached) " >&6
66635 else
66638 ac_ext=cpp
66639 ac_cpp='$CXXCPP $CPPFLAGS'
66640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66645 /* end confdefs.h. */
66646 #include <math.h>
66647 #ifdef HAVE_IEEEFP_H
66648 #include <ieeefp.h>
66649 #endif
66652 main ()
66654 _isnanf(0);
66656 return 0;
66658 _ACEOF
66659 if ac_fn_cxx_try_compile "$LINENO"; then :
66660 glibcxx_cv_func__isnanf_use=yes
66661 else
66662 glibcxx_cv_func__isnanf_use=no
66664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66665 ac_ext=c
66666 ac_cpp='$CPP $CPPFLAGS'
66667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
66676 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
66678 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
66679 for ac_func in _isnanf
66680 do :
66681 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
66682 if test "x$ac_cv_func__isnanf" = x""yes; then :
66683 cat >>confdefs.h <<_ACEOF
66684 #define HAVE__ISNANF 1
66685 _ACEOF
66688 done
66697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
66698 $as_echo_n "checking for isinff declaration... " >&6; }
66699 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
66700 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
66701 $as_echo_n "(cached) " >&6
66702 else
66705 ac_ext=cpp
66706 ac_cpp='$CXXCPP $CPPFLAGS'
66707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66712 /* end confdefs.h. */
66713 #include <math.h>
66714 #ifdef HAVE_IEEEFP_H
66715 #include <ieeefp.h>
66716 #endif
66719 main ()
66721 isinff(0);
66723 return 0;
66725 _ACEOF
66726 if ac_fn_cxx_try_compile "$LINENO"; then :
66727 glibcxx_cv_func_isinff_use=yes
66728 else
66729 glibcxx_cv_func_isinff_use=no
66731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66732 ac_ext=c
66733 ac_cpp='$CPP $CPPFLAGS'
66734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
66743 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
66745 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
66746 for ac_func in isinff
66747 do :
66748 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
66749 if test "x$ac_cv_func_isinff" = x""yes; then :
66750 cat >>confdefs.h <<_ACEOF
66751 #define HAVE_ISINFF 1
66752 _ACEOF
66755 done
66757 else
66759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
66760 $as_echo_n "checking for _isinff declaration... " >&6; }
66761 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
66762 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
66763 $as_echo_n "(cached) " >&6
66764 else
66767 ac_ext=cpp
66768 ac_cpp='$CXXCPP $CPPFLAGS'
66769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66774 /* end confdefs.h. */
66775 #include <math.h>
66776 #ifdef HAVE_IEEEFP_H
66777 #include <ieeefp.h>
66778 #endif
66781 main ()
66783 _isinff(0);
66785 return 0;
66787 _ACEOF
66788 if ac_fn_cxx_try_compile "$LINENO"; then :
66789 glibcxx_cv_func__isinff_use=yes
66790 else
66791 glibcxx_cv_func__isinff_use=no
66793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66794 ac_ext=c
66795 ac_cpp='$CPP $CPPFLAGS'
66796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
66805 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
66807 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
66808 for ac_func in _isinff
66809 do :
66810 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
66811 if test "x$ac_cv_func__isinff" = x""yes; then :
66812 cat >>confdefs.h <<_ACEOF
66813 #define HAVE__ISINFF 1
66814 _ACEOF
66817 done
66826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
66827 $as_echo_n "checking for atan2f declaration... " >&6; }
66828 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
66829 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
66830 $as_echo_n "(cached) " >&6
66831 else
66834 ac_ext=cpp
66835 ac_cpp='$CXXCPP $CPPFLAGS'
66836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66841 /* end confdefs.h. */
66842 #include <math.h>
66844 main ()
66846 atan2f(0, 0);
66848 return 0;
66850 _ACEOF
66851 if ac_fn_cxx_try_compile "$LINENO"; then :
66852 glibcxx_cv_func_atan2f_use=yes
66853 else
66854 glibcxx_cv_func_atan2f_use=no
66856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66857 ac_ext=c
66858 ac_cpp='$CPP $CPPFLAGS'
66859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
66868 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
66870 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
66871 for ac_func in atan2f
66872 do :
66873 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
66874 if test "x$ac_cv_func_atan2f" = x""yes; then :
66875 cat >>confdefs.h <<_ACEOF
66876 #define HAVE_ATAN2F 1
66877 _ACEOF
66880 done
66882 else
66884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
66885 $as_echo_n "checking for _atan2f declaration... " >&6; }
66886 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
66887 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
66888 $as_echo_n "(cached) " >&6
66889 else
66892 ac_ext=cpp
66893 ac_cpp='$CXXCPP $CPPFLAGS'
66894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66899 /* end confdefs.h. */
66900 #include <math.h>
66902 main ()
66904 _atan2f(0, 0);
66906 return 0;
66908 _ACEOF
66909 if ac_fn_cxx_try_compile "$LINENO"; then :
66910 glibcxx_cv_func__atan2f_use=yes
66911 else
66912 glibcxx_cv_func__atan2f_use=no
66914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66915 ac_ext=c
66916 ac_cpp='$CPP $CPPFLAGS'
66917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
66926 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
66928 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
66929 for ac_func in _atan2f
66930 do :
66931 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
66932 if test "x$ac_cv_func__atan2f" = x""yes; then :
66933 cat >>confdefs.h <<_ACEOF
66934 #define HAVE__ATAN2F 1
66935 _ACEOF
66938 done
66947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
66948 $as_echo_n "checking for fabsf declaration... " >&6; }
66949 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
66950 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
66951 $as_echo_n "(cached) " >&6
66952 else
66955 ac_ext=cpp
66956 ac_cpp='$CXXCPP $CPPFLAGS'
66957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66962 /* end confdefs.h. */
66963 #include <math.h>
66964 #ifdef HAVE_IEEEFP_H
66965 #include <ieeefp.h>
66966 #endif
66969 main ()
66971 fabsf(0);
66973 return 0;
66975 _ACEOF
66976 if ac_fn_cxx_try_compile "$LINENO"; then :
66977 glibcxx_cv_func_fabsf_use=yes
66978 else
66979 glibcxx_cv_func_fabsf_use=no
66981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66982 ac_ext=c
66983 ac_cpp='$CPP $CPPFLAGS'
66984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
66993 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
66995 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
66996 for ac_func in fabsf
66997 do :
66998 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
66999 if test "x$ac_cv_func_fabsf" = x""yes; then :
67000 cat >>confdefs.h <<_ACEOF
67001 #define HAVE_FABSF 1
67002 _ACEOF
67005 done
67007 else
67009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
67010 $as_echo_n "checking for _fabsf declaration... " >&6; }
67011 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
67012 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
67013 $as_echo_n "(cached) " >&6
67014 else
67017 ac_ext=cpp
67018 ac_cpp='$CXXCPP $CPPFLAGS'
67019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67024 /* end confdefs.h. */
67025 #include <math.h>
67026 #ifdef HAVE_IEEEFP_H
67027 #include <ieeefp.h>
67028 #endif
67031 main ()
67033 _fabsf(0);
67035 return 0;
67037 _ACEOF
67038 if ac_fn_cxx_try_compile "$LINENO"; then :
67039 glibcxx_cv_func__fabsf_use=yes
67040 else
67041 glibcxx_cv_func__fabsf_use=no
67043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67044 ac_ext=c
67045 ac_cpp='$CPP $CPPFLAGS'
67046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
67055 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
67057 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
67058 for ac_func in _fabsf
67059 do :
67060 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
67061 if test "x$ac_cv_func__fabsf" = x""yes; then :
67062 cat >>confdefs.h <<_ACEOF
67063 #define HAVE__FABSF 1
67064 _ACEOF
67067 done
67076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
67077 $as_echo_n "checking for fmodf declaration... " >&6; }
67078 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
67079 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
67080 $as_echo_n "(cached) " >&6
67081 else
67084 ac_ext=cpp
67085 ac_cpp='$CXXCPP $CPPFLAGS'
67086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67091 /* end confdefs.h. */
67092 #include <math.h>
67094 main ()
67096 fmodf(0, 0);
67098 return 0;
67100 _ACEOF
67101 if ac_fn_cxx_try_compile "$LINENO"; then :
67102 glibcxx_cv_func_fmodf_use=yes
67103 else
67104 glibcxx_cv_func_fmodf_use=no
67106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67107 ac_ext=c
67108 ac_cpp='$CPP $CPPFLAGS'
67109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
67118 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
67120 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
67121 for ac_func in fmodf
67122 do :
67123 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
67124 if test "x$ac_cv_func_fmodf" = x""yes; then :
67125 cat >>confdefs.h <<_ACEOF
67126 #define HAVE_FMODF 1
67127 _ACEOF
67130 done
67132 else
67134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
67135 $as_echo_n "checking for _fmodf declaration... " >&6; }
67136 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
67137 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
67138 $as_echo_n "(cached) " >&6
67139 else
67142 ac_ext=cpp
67143 ac_cpp='$CXXCPP $CPPFLAGS'
67144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67149 /* end confdefs.h. */
67150 #include <math.h>
67152 main ()
67154 _fmodf(0, 0);
67156 return 0;
67158 _ACEOF
67159 if ac_fn_cxx_try_compile "$LINENO"; then :
67160 glibcxx_cv_func__fmodf_use=yes
67161 else
67162 glibcxx_cv_func__fmodf_use=no
67164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67165 ac_ext=c
67166 ac_cpp='$CPP $CPPFLAGS'
67167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
67176 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
67178 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
67179 for ac_func in _fmodf
67180 do :
67181 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
67182 if test "x$ac_cv_func__fmodf" = x""yes; then :
67183 cat >>confdefs.h <<_ACEOF
67184 #define HAVE__FMODF 1
67185 _ACEOF
67188 done
67197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
67198 $as_echo_n "checking for frexpf declaration... " >&6; }
67199 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
67200 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
67201 $as_echo_n "(cached) " >&6
67202 else
67205 ac_ext=cpp
67206 ac_cpp='$CXXCPP $CPPFLAGS'
67207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67212 /* end confdefs.h. */
67213 #include <math.h>
67215 main ()
67217 frexpf(0, 0);
67219 return 0;
67221 _ACEOF
67222 if ac_fn_cxx_try_compile "$LINENO"; then :
67223 glibcxx_cv_func_frexpf_use=yes
67224 else
67225 glibcxx_cv_func_frexpf_use=no
67227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67228 ac_ext=c
67229 ac_cpp='$CPP $CPPFLAGS'
67230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
67239 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
67241 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
67242 for ac_func in frexpf
67243 do :
67244 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
67245 if test "x$ac_cv_func_frexpf" = x""yes; then :
67246 cat >>confdefs.h <<_ACEOF
67247 #define HAVE_FREXPF 1
67248 _ACEOF
67251 done
67253 else
67255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
67256 $as_echo_n "checking for _frexpf declaration... " >&6; }
67257 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
67258 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
67259 $as_echo_n "(cached) " >&6
67260 else
67263 ac_ext=cpp
67264 ac_cpp='$CXXCPP $CPPFLAGS'
67265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67270 /* end confdefs.h. */
67271 #include <math.h>
67273 main ()
67275 _frexpf(0, 0);
67277 return 0;
67279 _ACEOF
67280 if ac_fn_cxx_try_compile "$LINENO"; then :
67281 glibcxx_cv_func__frexpf_use=yes
67282 else
67283 glibcxx_cv_func__frexpf_use=no
67285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67286 ac_ext=c
67287 ac_cpp='$CPP $CPPFLAGS'
67288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
67297 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
67299 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
67300 for ac_func in _frexpf
67301 do :
67302 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
67303 if test "x$ac_cv_func__frexpf" = x""yes; then :
67304 cat >>confdefs.h <<_ACEOF
67305 #define HAVE__FREXPF 1
67306 _ACEOF
67309 done
67318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
67319 $as_echo_n "checking for hypotf declaration... " >&6; }
67320 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
67321 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
67322 $as_echo_n "(cached) " >&6
67323 else
67326 ac_ext=cpp
67327 ac_cpp='$CXXCPP $CPPFLAGS'
67328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67333 /* end confdefs.h. */
67334 #include <math.h>
67336 main ()
67338 hypotf(0, 0);
67340 return 0;
67342 _ACEOF
67343 if ac_fn_cxx_try_compile "$LINENO"; then :
67344 glibcxx_cv_func_hypotf_use=yes
67345 else
67346 glibcxx_cv_func_hypotf_use=no
67348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67349 ac_ext=c
67350 ac_cpp='$CPP $CPPFLAGS'
67351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
67360 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
67362 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
67363 for ac_func in hypotf
67364 do :
67365 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
67366 if test "x$ac_cv_func_hypotf" = x""yes; then :
67367 cat >>confdefs.h <<_ACEOF
67368 #define HAVE_HYPOTF 1
67369 _ACEOF
67372 done
67374 else
67376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
67377 $as_echo_n "checking for _hypotf declaration... " >&6; }
67378 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
67379 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
67380 $as_echo_n "(cached) " >&6
67381 else
67384 ac_ext=cpp
67385 ac_cpp='$CXXCPP $CPPFLAGS'
67386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67391 /* end confdefs.h. */
67392 #include <math.h>
67394 main ()
67396 _hypotf(0, 0);
67398 return 0;
67400 _ACEOF
67401 if ac_fn_cxx_try_compile "$LINENO"; then :
67402 glibcxx_cv_func__hypotf_use=yes
67403 else
67404 glibcxx_cv_func__hypotf_use=no
67406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67407 ac_ext=c
67408 ac_cpp='$CPP $CPPFLAGS'
67409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
67418 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
67420 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
67421 for ac_func in _hypotf
67422 do :
67423 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
67424 if test "x$ac_cv_func__hypotf" = x""yes; then :
67425 cat >>confdefs.h <<_ACEOF
67426 #define HAVE__HYPOTF 1
67427 _ACEOF
67430 done
67439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
67440 $as_echo_n "checking for ldexpf declaration... " >&6; }
67441 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
67442 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
67443 $as_echo_n "(cached) " >&6
67444 else
67447 ac_ext=cpp
67448 ac_cpp='$CXXCPP $CPPFLAGS'
67449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67454 /* end confdefs.h. */
67455 #include <math.h>
67457 main ()
67459 ldexpf(0, 0);
67461 return 0;
67463 _ACEOF
67464 if ac_fn_cxx_try_compile "$LINENO"; then :
67465 glibcxx_cv_func_ldexpf_use=yes
67466 else
67467 glibcxx_cv_func_ldexpf_use=no
67469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67470 ac_ext=c
67471 ac_cpp='$CPP $CPPFLAGS'
67472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
67481 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
67483 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
67484 for ac_func in ldexpf
67485 do :
67486 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
67487 if test "x$ac_cv_func_ldexpf" = x""yes; then :
67488 cat >>confdefs.h <<_ACEOF
67489 #define HAVE_LDEXPF 1
67490 _ACEOF
67493 done
67495 else
67497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
67498 $as_echo_n "checking for _ldexpf declaration... " >&6; }
67499 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
67500 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
67501 $as_echo_n "(cached) " >&6
67502 else
67505 ac_ext=cpp
67506 ac_cpp='$CXXCPP $CPPFLAGS'
67507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67512 /* end confdefs.h. */
67513 #include <math.h>
67515 main ()
67517 _ldexpf(0, 0);
67519 return 0;
67521 _ACEOF
67522 if ac_fn_cxx_try_compile "$LINENO"; then :
67523 glibcxx_cv_func__ldexpf_use=yes
67524 else
67525 glibcxx_cv_func__ldexpf_use=no
67527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67528 ac_ext=c
67529 ac_cpp='$CPP $CPPFLAGS'
67530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
67539 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
67541 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
67542 for ac_func in _ldexpf
67543 do :
67544 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
67545 if test "x$ac_cv_func__ldexpf" = x""yes; then :
67546 cat >>confdefs.h <<_ACEOF
67547 #define HAVE__LDEXPF 1
67548 _ACEOF
67551 done
67560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
67561 $as_echo_n "checking for logf declaration... " >&6; }
67562 if test x${glibcxx_cv_func_logf_use+set} != xset; then
67563 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
67564 $as_echo_n "(cached) " >&6
67565 else
67568 ac_ext=cpp
67569 ac_cpp='$CXXCPP $CPPFLAGS'
67570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67575 /* end confdefs.h. */
67576 #include <math.h>
67577 #ifdef HAVE_IEEEFP_H
67578 #include <ieeefp.h>
67579 #endif
67582 main ()
67584 logf(0);
67586 return 0;
67588 _ACEOF
67589 if ac_fn_cxx_try_compile "$LINENO"; then :
67590 glibcxx_cv_func_logf_use=yes
67591 else
67592 glibcxx_cv_func_logf_use=no
67594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67595 ac_ext=c
67596 ac_cpp='$CPP $CPPFLAGS'
67597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
67606 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
67608 if test x$glibcxx_cv_func_logf_use = x"yes"; then
67609 for ac_func in logf
67610 do :
67611 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
67612 if test "x$ac_cv_func_logf" = x""yes; then :
67613 cat >>confdefs.h <<_ACEOF
67614 #define HAVE_LOGF 1
67615 _ACEOF
67618 done
67620 else
67622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
67623 $as_echo_n "checking for _logf declaration... " >&6; }
67624 if test x${glibcxx_cv_func__logf_use+set} != xset; then
67625 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
67626 $as_echo_n "(cached) " >&6
67627 else
67630 ac_ext=cpp
67631 ac_cpp='$CXXCPP $CPPFLAGS'
67632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67637 /* end confdefs.h. */
67638 #include <math.h>
67639 #ifdef HAVE_IEEEFP_H
67640 #include <ieeefp.h>
67641 #endif
67644 main ()
67646 _logf(0);
67648 return 0;
67650 _ACEOF
67651 if ac_fn_cxx_try_compile "$LINENO"; then :
67652 glibcxx_cv_func__logf_use=yes
67653 else
67654 glibcxx_cv_func__logf_use=no
67656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67657 ac_ext=c
67658 ac_cpp='$CPP $CPPFLAGS'
67659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
67668 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
67670 if test x$glibcxx_cv_func__logf_use = x"yes"; then
67671 for ac_func in _logf
67672 do :
67673 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
67674 if test "x$ac_cv_func__logf" = x""yes; then :
67675 cat >>confdefs.h <<_ACEOF
67676 #define HAVE__LOGF 1
67677 _ACEOF
67680 done
67689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
67690 $as_echo_n "checking for log10f declaration... " >&6; }
67691 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
67692 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
67693 $as_echo_n "(cached) " >&6
67694 else
67697 ac_ext=cpp
67698 ac_cpp='$CXXCPP $CPPFLAGS'
67699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67704 /* end confdefs.h. */
67705 #include <math.h>
67706 #ifdef HAVE_IEEEFP_H
67707 #include <ieeefp.h>
67708 #endif
67711 main ()
67713 log10f(0);
67715 return 0;
67717 _ACEOF
67718 if ac_fn_cxx_try_compile "$LINENO"; then :
67719 glibcxx_cv_func_log10f_use=yes
67720 else
67721 glibcxx_cv_func_log10f_use=no
67723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67724 ac_ext=c
67725 ac_cpp='$CPP $CPPFLAGS'
67726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
67735 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
67737 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
67738 for ac_func in log10f
67739 do :
67740 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
67741 if test "x$ac_cv_func_log10f" = x""yes; then :
67742 cat >>confdefs.h <<_ACEOF
67743 #define HAVE_LOG10F 1
67744 _ACEOF
67747 done
67749 else
67751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
67752 $as_echo_n "checking for _log10f declaration... " >&6; }
67753 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
67754 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
67755 $as_echo_n "(cached) " >&6
67756 else
67759 ac_ext=cpp
67760 ac_cpp='$CXXCPP $CPPFLAGS'
67761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67766 /* end confdefs.h. */
67767 #include <math.h>
67768 #ifdef HAVE_IEEEFP_H
67769 #include <ieeefp.h>
67770 #endif
67773 main ()
67775 _log10f(0);
67777 return 0;
67779 _ACEOF
67780 if ac_fn_cxx_try_compile "$LINENO"; then :
67781 glibcxx_cv_func__log10f_use=yes
67782 else
67783 glibcxx_cv_func__log10f_use=no
67785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67786 ac_ext=c
67787 ac_cpp='$CPP $CPPFLAGS'
67788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
67797 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
67799 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
67800 for ac_func in _log10f
67801 do :
67802 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
67803 if test "x$ac_cv_func__log10f" = x""yes; then :
67804 cat >>confdefs.h <<_ACEOF
67805 #define HAVE__LOG10F 1
67806 _ACEOF
67809 done
67818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
67819 $as_echo_n "checking for modff declaration... " >&6; }
67820 if test x${glibcxx_cv_func_modff_use+set} != xset; then
67821 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
67822 $as_echo_n "(cached) " >&6
67823 else
67826 ac_ext=cpp
67827 ac_cpp='$CXXCPP $CPPFLAGS'
67828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67833 /* end confdefs.h. */
67834 #include <math.h>
67836 main ()
67838 modff(0, 0);
67840 return 0;
67842 _ACEOF
67843 if ac_fn_cxx_try_compile "$LINENO"; then :
67844 glibcxx_cv_func_modff_use=yes
67845 else
67846 glibcxx_cv_func_modff_use=no
67848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67849 ac_ext=c
67850 ac_cpp='$CPP $CPPFLAGS'
67851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
67860 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
67862 if test x$glibcxx_cv_func_modff_use = x"yes"; then
67863 for ac_func in modff
67864 do :
67865 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
67866 if test "x$ac_cv_func_modff" = x""yes; then :
67867 cat >>confdefs.h <<_ACEOF
67868 #define HAVE_MODFF 1
67869 _ACEOF
67872 done
67874 else
67876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
67877 $as_echo_n "checking for _modff declaration... " >&6; }
67878 if test x${glibcxx_cv_func__modff_use+set} != xset; then
67879 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
67880 $as_echo_n "(cached) " >&6
67881 else
67884 ac_ext=cpp
67885 ac_cpp='$CXXCPP $CPPFLAGS'
67886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67891 /* end confdefs.h. */
67892 #include <math.h>
67894 main ()
67896 _modff(0, 0);
67898 return 0;
67900 _ACEOF
67901 if ac_fn_cxx_try_compile "$LINENO"; then :
67902 glibcxx_cv_func__modff_use=yes
67903 else
67904 glibcxx_cv_func__modff_use=no
67906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67907 ac_ext=c
67908 ac_cpp='$CPP $CPPFLAGS'
67909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
67918 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
67920 if test x$glibcxx_cv_func__modff_use = x"yes"; then
67921 for ac_func in _modff
67922 do :
67923 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
67924 if test "x$ac_cv_func__modff" = x""yes; then :
67925 cat >>confdefs.h <<_ACEOF
67926 #define HAVE__MODFF 1
67927 _ACEOF
67930 done
67939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
67940 $as_echo_n "checking for modf declaration... " >&6; }
67941 if test x${glibcxx_cv_func_modf_use+set} != xset; then
67942 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
67943 $as_echo_n "(cached) " >&6
67944 else
67947 ac_ext=cpp
67948 ac_cpp='$CXXCPP $CPPFLAGS'
67949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67954 /* end confdefs.h. */
67955 #include <math.h>
67957 main ()
67959 modf(0, 0);
67961 return 0;
67963 _ACEOF
67964 if ac_fn_cxx_try_compile "$LINENO"; then :
67965 glibcxx_cv_func_modf_use=yes
67966 else
67967 glibcxx_cv_func_modf_use=no
67969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67970 ac_ext=c
67971 ac_cpp='$CPP $CPPFLAGS'
67972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
67981 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
67983 if test x$glibcxx_cv_func_modf_use = x"yes"; then
67984 for ac_func in modf
67985 do :
67986 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
67987 if test "x$ac_cv_func_modf" = x""yes; then :
67988 cat >>confdefs.h <<_ACEOF
67989 #define HAVE_MODF 1
67990 _ACEOF
67993 done
67995 else
67997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
67998 $as_echo_n "checking for _modf declaration... " >&6; }
67999 if test x${glibcxx_cv_func__modf_use+set} != xset; then
68000 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
68001 $as_echo_n "(cached) " >&6
68002 else
68005 ac_ext=cpp
68006 ac_cpp='$CXXCPP $CPPFLAGS'
68007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68012 /* end confdefs.h. */
68013 #include <math.h>
68015 main ()
68017 _modf(0, 0);
68019 return 0;
68021 _ACEOF
68022 if ac_fn_cxx_try_compile "$LINENO"; then :
68023 glibcxx_cv_func__modf_use=yes
68024 else
68025 glibcxx_cv_func__modf_use=no
68027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68028 ac_ext=c
68029 ac_cpp='$CPP $CPPFLAGS'
68030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
68039 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
68041 if test x$glibcxx_cv_func__modf_use = x"yes"; then
68042 for ac_func in _modf
68043 do :
68044 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
68045 if test "x$ac_cv_func__modf" = x""yes; then :
68046 cat >>confdefs.h <<_ACEOF
68047 #define HAVE__MODF 1
68048 _ACEOF
68051 done
68060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
68061 $as_echo_n "checking for powf declaration... " >&6; }
68062 if test x${glibcxx_cv_func_powf_use+set} != xset; then
68063 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
68064 $as_echo_n "(cached) " >&6
68065 else
68068 ac_ext=cpp
68069 ac_cpp='$CXXCPP $CPPFLAGS'
68070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68075 /* end confdefs.h. */
68076 #include <math.h>
68078 main ()
68080 powf(0, 0);
68082 return 0;
68084 _ACEOF
68085 if ac_fn_cxx_try_compile "$LINENO"; then :
68086 glibcxx_cv_func_powf_use=yes
68087 else
68088 glibcxx_cv_func_powf_use=no
68090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68091 ac_ext=c
68092 ac_cpp='$CPP $CPPFLAGS'
68093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
68102 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
68104 if test x$glibcxx_cv_func_powf_use = x"yes"; then
68105 for ac_func in powf
68106 do :
68107 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
68108 if test "x$ac_cv_func_powf" = x""yes; then :
68109 cat >>confdefs.h <<_ACEOF
68110 #define HAVE_POWF 1
68111 _ACEOF
68114 done
68116 else
68118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
68119 $as_echo_n "checking for _powf declaration... " >&6; }
68120 if test x${glibcxx_cv_func__powf_use+set} != xset; then
68121 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
68122 $as_echo_n "(cached) " >&6
68123 else
68126 ac_ext=cpp
68127 ac_cpp='$CXXCPP $CPPFLAGS'
68128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68133 /* end confdefs.h. */
68134 #include <math.h>
68136 main ()
68138 _powf(0, 0);
68140 return 0;
68142 _ACEOF
68143 if ac_fn_cxx_try_compile "$LINENO"; then :
68144 glibcxx_cv_func__powf_use=yes
68145 else
68146 glibcxx_cv_func__powf_use=no
68148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68149 ac_ext=c
68150 ac_cpp='$CPP $CPPFLAGS'
68151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
68160 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
68162 if test x$glibcxx_cv_func__powf_use = x"yes"; then
68163 for ac_func in _powf
68164 do :
68165 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
68166 if test "x$ac_cv_func__powf" = x""yes; then :
68167 cat >>confdefs.h <<_ACEOF
68168 #define HAVE__POWF 1
68169 _ACEOF
68172 done
68181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
68182 $as_echo_n "checking for sqrtf declaration... " >&6; }
68183 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
68184 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
68185 $as_echo_n "(cached) " >&6
68186 else
68189 ac_ext=cpp
68190 ac_cpp='$CXXCPP $CPPFLAGS'
68191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68196 /* end confdefs.h. */
68197 #include <math.h>
68198 #ifdef HAVE_IEEEFP_H
68199 #include <ieeefp.h>
68200 #endif
68203 main ()
68205 sqrtf(0);
68207 return 0;
68209 _ACEOF
68210 if ac_fn_cxx_try_compile "$LINENO"; then :
68211 glibcxx_cv_func_sqrtf_use=yes
68212 else
68213 glibcxx_cv_func_sqrtf_use=no
68215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68216 ac_ext=c
68217 ac_cpp='$CPP $CPPFLAGS'
68218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
68227 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
68229 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
68230 for ac_func in sqrtf
68231 do :
68232 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
68233 if test "x$ac_cv_func_sqrtf" = x""yes; then :
68234 cat >>confdefs.h <<_ACEOF
68235 #define HAVE_SQRTF 1
68236 _ACEOF
68239 done
68241 else
68243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
68244 $as_echo_n "checking for _sqrtf declaration... " >&6; }
68245 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
68246 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
68247 $as_echo_n "(cached) " >&6
68248 else
68251 ac_ext=cpp
68252 ac_cpp='$CXXCPP $CPPFLAGS'
68253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68258 /* end confdefs.h. */
68259 #include <math.h>
68260 #ifdef HAVE_IEEEFP_H
68261 #include <ieeefp.h>
68262 #endif
68265 main ()
68267 _sqrtf(0);
68269 return 0;
68271 _ACEOF
68272 if ac_fn_cxx_try_compile "$LINENO"; then :
68273 glibcxx_cv_func__sqrtf_use=yes
68274 else
68275 glibcxx_cv_func__sqrtf_use=no
68277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68278 ac_ext=c
68279 ac_cpp='$CPP $CPPFLAGS'
68280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
68289 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
68291 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
68292 for ac_func in _sqrtf
68293 do :
68294 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
68295 if test "x$ac_cv_func__sqrtf" = x""yes; then :
68296 cat >>confdefs.h <<_ACEOF
68297 #define HAVE__SQRTF 1
68298 _ACEOF
68301 done
68310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
68311 $as_echo_n "checking for sincosf declaration... " >&6; }
68312 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
68313 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
68314 $as_echo_n "(cached) " >&6
68315 else
68318 ac_ext=cpp
68319 ac_cpp='$CXXCPP $CPPFLAGS'
68320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68325 /* end confdefs.h. */
68326 #include <math.h>
68328 main ()
68330 sincosf(0, 0, 0);
68332 return 0;
68334 _ACEOF
68335 if ac_fn_cxx_try_compile "$LINENO"; then :
68336 glibcxx_cv_func_sincosf_use=yes
68337 else
68338 glibcxx_cv_func_sincosf_use=no
68340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68341 ac_ext=c
68342 ac_cpp='$CPP $CPPFLAGS'
68343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
68352 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
68354 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
68355 for ac_func in sincosf
68356 do :
68357 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
68358 if test "x$ac_cv_func_sincosf" = x""yes; then :
68359 cat >>confdefs.h <<_ACEOF
68360 #define HAVE_SINCOSF 1
68361 _ACEOF
68364 done
68366 else
68368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
68369 $as_echo_n "checking for _sincosf declaration... " >&6; }
68370 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
68371 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
68372 $as_echo_n "(cached) " >&6
68373 else
68376 ac_ext=cpp
68377 ac_cpp='$CXXCPP $CPPFLAGS'
68378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68383 /* end confdefs.h. */
68384 #include <math.h>
68386 main ()
68388 _sincosf(0, 0, 0);
68390 return 0;
68392 _ACEOF
68393 if ac_fn_cxx_try_compile "$LINENO"; then :
68394 glibcxx_cv_func__sincosf_use=yes
68395 else
68396 glibcxx_cv_func__sincosf_use=no
68398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68399 ac_ext=c
68400 ac_cpp='$CPP $CPPFLAGS'
68401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
68410 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
68412 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
68413 for ac_func in _sincosf
68414 do :
68415 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
68416 if test "x$ac_cv_func__sincosf" = x""yes; then :
68417 cat >>confdefs.h <<_ACEOF
68418 #define HAVE__SINCOSF 1
68419 _ACEOF
68422 done
68431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
68432 $as_echo_n "checking for finitef declaration... " >&6; }
68433 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
68434 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
68435 $as_echo_n "(cached) " >&6
68436 else
68439 ac_ext=cpp
68440 ac_cpp='$CXXCPP $CPPFLAGS'
68441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68446 /* end confdefs.h. */
68447 #include <math.h>
68448 #ifdef HAVE_IEEEFP_H
68449 #include <ieeefp.h>
68450 #endif
68453 main ()
68455 finitef(0);
68457 return 0;
68459 _ACEOF
68460 if ac_fn_cxx_try_compile "$LINENO"; then :
68461 glibcxx_cv_func_finitef_use=yes
68462 else
68463 glibcxx_cv_func_finitef_use=no
68465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68466 ac_ext=c
68467 ac_cpp='$CPP $CPPFLAGS'
68468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
68477 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
68479 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
68480 for ac_func in finitef
68481 do :
68482 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
68483 if test "x$ac_cv_func_finitef" = x""yes; then :
68484 cat >>confdefs.h <<_ACEOF
68485 #define HAVE_FINITEF 1
68486 _ACEOF
68489 done
68491 else
68493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
68494 $as_echo_n "checking for _finitef declaration... " >&6; }
68495 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
68496 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
68497 $as_echo_n "(cached) " >&6
68498 else
68501 ac_ext=cpp
68502 ac_cpp='$CXXCPP $CPPFLAGS'
68503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68508 /* end confdefs.h. */
68509 #include <math.h>
68510 #ifdef HAVE_IEEEFP_H
68511 #include <ieeefp.h>
68512 #endif
68515 main ()
68517 _finitef(0);
68519 return 0;
68521 _ACEOF
68522 if ac_fn_cxx_try_compile "$LINENO"; then :
68523 glibcxx_cv_func__finitef_use=yes
68524 else
68525 glibcxx_cv_func__finitef_use=no
68527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68528 ac_ext=c
68529 ac_cpp='$CPP $CPPFLAGS'
68530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
68539 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
68541 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
68542 for ac_func in _finitef
68543 do :
68544 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
68545 if test "x$ac_cv_func__finitef" = x""yes; then :
68546 cat >>confdefs.h <<_ACEOF
68547 #define HAVE__FINITEF 1
68548 _ACEOF
68551 done
68560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
68561 $as_echo_n "checking for long double trig functions... " >&6; }
68562 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
68563 $as_echo_n "(cached) " >&6
68564 else
68567 ac_ext=cpp
68568 ac_cpp='$CXXCPP $CPPFLAGS'
68569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68574 /* end confdefs.h. */
68575 #include <math.h>
68577 main ()
68579 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
68581 return 0;
68583 _ACEOF
68584 if ac_fn_cxx_try_compile "$LINENO"; then :
68585 glibcxx_cv_func_long_double_trig_use=yes
68586 else
68587 glibcxx_cv_func_long_double_trig_use=no
68589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68590 ac_ext=c
68591 ac_cpp='$CPP $CPPFLAGS'
68592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
68599 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
68600 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
68601 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
68602 do :
68603 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68604 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68605 eval as_val=\$$as_ac_var
68606 if test "x$as_val" = x""yes; then :
68607 cat >>confdefs.h <<_ACEOF
68608 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68609 _ACEOF
68612 done
68614 else
68615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
68616 $as_echo_n "checking for _long double trig functions... " >&6; }
68617 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
68618 $as_echo_n "(cached) " >&6
68619 else
68622 ac_ext=cpp
68623 ac_cpp='$CXXCPP $CPPFLAGS'
68624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68629 /* end confdefs.h. */
68630 #include <math.h>
68632 main ()
68634 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
68636 return 0;
68638 _ACEOF
68639 if ac_fn_cxx_try_compile "$LINENO"; then :
68640 glibcxx_cv_func__long_double_trig_use=yes
68641 else
68642 glibcxx_cv_func__long_double_trig_use=no
68644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68645 ac_ext=c
68646 ac_cpp='$CPP $CPPFLAGS'
68647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
68654 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
68655 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
68656 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
68657 do :
68658 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68659 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68660 eval as_val=\$$as_ac_var
68661 if test "x$as_val" = x""yes; then :
68662 cat >>confdefs.h <<_ACEOF
68663 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68664 _ACEOF
68667 done
68676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
68677 $as_echo_n "checking for long double round functions... " >&6; }
68678 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
68679 $as_echo_n "(cached) " >&6
68680 else
68683 ac_ext=cpp
68684 ac_cpp='$CXXCPP $CPPFLAGS'
68685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68690 /* end confdefs.h. */
68691 #include <math.h>
68693 main ()
68695 ceill (0); floorl (0);
68697 return 0;
68699 _ACEOF
68700 if ac_fn_cxx_try_compile "$LINENO"; then :
68701 glibcxx_cv_func_long_double_round_use=yes
68702 else
68703 glibcxx_cv_func_long_double_round_use=no
68705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68706 ac_ext=c
68707 ac_cpp='$CPP $CPPFLAGS'
68708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
68715 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
68716 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
68717 for ac_func in ceill floorl
68718 do :
68719 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68720 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68721 eval as_val=\$$as_ac_var
68722 if test "x$as_val" = x""yes; then :
68723 cat >>confdefs.h <<_ACEOF
68724 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68725 _ACEOF
68728 done
68730 else
68731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
68732 $as_echo_n "checking for _long double round functions... " >&6; }
68733 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
68734 $as_echo_n "(cached) " >&6
68735 else
68738 ac_ext=cpp
68739 ac_cpp='$CXXCPP $CPPFLAGS'
68740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68745 /* end confdefs.h. */
68746 #include <math.h>
68748 main ()
68750 _ceill (0); _floorl (0);
68752 return 0;
68754 _ACEOF
68755 if ac_fn_cxx_try_compile "$LINENO"; then :
68756 glibcxx_cv_func__long_double_round_use=yes
68757 else
68758 glibcxx_cv_func__long_double_round_use=no
68760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68761 ac_ext=c
68762 ac_cpp='$CPP $CPPFLAGS'
68763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
68770 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
68771 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
68772 for ac_func in _ceill _floorl
68773 do :
68774 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68775 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68776 eval as_val=\$$as_ac_var
68777 if test "x$as_val" = x""yes; then :
68778 cat >>confdefs.h <<_ACEOF
68779 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68780 _ACEOF
68783 done
68793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
68794 $as_echo_n "checking for isnanl declaration... " >&6; }
68795 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
68796 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
68797 $as_echo_n "(cached) " >&6
68798 else
68801 ac_ext=cpp
68802 ac_cpp='$CXXCPP $CPPFLAGS'
68803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68808 /* end confdefs.h. */
68809 #include <math.h>
68810 #ifdef HAVE_IEEEFP_H
68811 #include <ieeefp.h>
68812 #endif
68815 main ()
68817 isnanl(0);
68819 return 0;
68821 _ACEOF
68822 if ac_fn_cxx_try_compile "$LINENO"; then :
68823 glibcxx_cv_func_isnanl_use=yes
68824 else
68825 glibcxx_cv_func_isnanl_use=no
68827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68828 ac_ext=c
68829 ac_cpp='$CPP $CPPFLAGS'
68830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
68839 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
68841 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
68842 for ac_func in isnanl
68843 do :
68844 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
68845 if test "x$ac_cv_func_isnanl" = x""yes; then :
68846 cat >>confdefs.h <<_ACEOF
68847 #define HAVE_ISNANL 1
68848 _ACEOF
68851 done
68853 else
68855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
68856 $as_echo_n "checking for _isnanl declaration... " >&6; }
68857 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
68858 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
68859 $as_echo_n "(cached) " >&6
68860 else
68863 ac_ext=cpp
68864 ac_cpp='$CXXCPP $CPPFLAGS'
68865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68870 /* end confdefs.h. */
68871 #include <math.h>
68872 #ifdef HAVE_IEEEFP_H
68873 #include <ieeefp.h>
68874 #endif
68877 main ()
68879 _isnanl(0);
68881 return 0;
68883 _ACEOF
68884 if ac_fn_cxx_try_compile "$LINENO"; then :
68885 glibcxx_cv_func__isnanl_use=yes
68886 else
68887 glibcxx_cv_func__isnanl_use=no
68889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68890 ac_ext=c
68891 ac_cpp='$CPP $CPPFLAGS'
68892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
68901 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
68903 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
68904 for ac_func in _isnanl
68905 do :
68906 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
68907 if test "x$ac_cv_func__isnanl" = x""yes; then :
68908 cat >>confdefs.h <<_ACEOF
68909 #define HAVE__ISNANL 1
68910 _ACEOF
68913 done
68922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
68923 $as_echo_n "checking for isinfl declaration... " >&6; }
68924 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
68925 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
68926 $as_echo_n "(cached) " >&6
68927 else
68930 ac_ext=cpp
68931 ac_cpp='$CXXCPP $CPPFLAGS'
68932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68937 /* end confdefs.h. */
68938 #include <math.h>
68939 #ifdef HAVE_IEEEFP_H
68940 #include <ieeefp.h>
68941 #endif
68944 main ()
68946 isinfl(0);
68948 return 0;
68950 _ACEOF
68951 if ac_fn_cxx_try_compile "$LINENO"; then :
68952 glibcxx_cv_func_isinfl_use=yes
68953 else
68954 glibcxx_cv_func_isinfl_use=no
68956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68957 ac_ext=c
68958 ac_cpp='$CPP $CPPFLAGS'
68959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
68968 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
68970 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
68971 for ac_func in isinfl
68972 do :
68973 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
68974 if test "x$ac_cv_func_isinfl" = x""yes; then :
68975 cat >>confdefs.h <<_ACEOF
68976 #define HAVE_ISINFL 1
68977 _ACEOF
68980 done
68982 else
68984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
68985 $as_echo_n "checking for _isinfl declaration... " >&6; }
68986 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
68987 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
68988 $as_echo_n "(cached) " >&6
68989 else
68992 ac_ext=cpp
68993 ac_cpp='$CXXCPP $CPPFLAGS'
68994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68999 /* end confdefs.h. */
69000 #include <math.h>
69001 #ifdef HAVE_IEEEFP_H
69002 #include <ieeefp.h>
69003 #endif
69006 main ()
69008 _isinfl(0);
69010 return 0;
69012 _ACEOF
69013 if ac_fn_cxx_try_compile "$LINENO"; then :
69014 glibcxx_cv_func__isinfl_use=yes
69015 else
69016 glibcxx_cv_func__isinfl_use=no
69018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69019 ac_ext=c
69020 ac_cpp='$CPP $CPPFLAGS'
69021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
69030 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
69032 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
69033 for ac_func in _isinfl
69034 do :
69035 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
69036 if test "x$ac_cv_func__isinfl" = x""yes; then :
69037 cat >>confdefs.h <<_ACEOF
69038 #define HAVE__ISINFL 1
69039 _ACEOF
69042 done
69051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
69052 $as_echo_n "checking for atan2l declaration... " >&6; }
69053 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
69054 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
69055 $as_echo_n "(cached) " >&6
69056 else
69059 ac_ext=cpp
69060 ac_cpp='$CXXCPP $CPPFLAGS'
69061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69066 /* end confdefs.h. */
69067 #include <math.h>
69069 main ()
69071 atan2l(0, 0);
69073 return 0;
69075 _ACEOF
69076 if ac_fn_cxx_try_compile "$LINENO"; then :
69077 glibcxx_cv_func_atan2l_use=yes
69078 else
69079 glibcxx_cv_func_atan2l_use=no
69081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69082 ac_ext=c
69083 ac_cpp='$CPP $CPPFLAGS'
69084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
69093 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
69095 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
69096 for ac_func in atan2l
69097 do :
69098 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
69099 if test "x$ac_cv_func_atan2l" = x""yes; then :
69100 cat >>confdefs.h <<_ACEOF
69101 #define HAVE_ATAN2L 1
69102 _ACEOF
69105 done
69107 else
69109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
69110 $as_echo_n "checking for _atan2l declaration... " >&6; }
69111 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
69112 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
69113 $as_echo_n "(cached) " >&6
69114 else
69117 ac_ext=cpp
69118 ac_cpp='$CXXCPP $CPPFLAGS'
69119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69124 /* end confdefs.h. */
69125 #include <math.h>
69127 main ()
69129 _atan2l(0, 0);
69131 return 0;
69133 _ACEOF
69134 if ac_fn_cxx_try_compile "$LINENO"; then :
69135 glibcxx_cv_func__atan2l_use=yes
69136 else
69137 glibcxx_cv_func__atan2l_use=no
69139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69140 ac_ext=c
69141 ac_cpp='$CPP $CPPFLAGS'
69142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
69151 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
69153 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
69154 for ac_func in _atan2l
69155 do :
69156 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
69157 if test "x$ac_cv_func__atan2l" = x""yes; then :
69158 cat >>confdefs.h <<_ACEOF
69159 #define HAVE__ATAN2L 1
69160 _ACEOF
69163 done
69172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
69173 $as_echo_n "checking for expl declaration... " >&6; }
69174 if test x${glibcxx_cv_func_expl_use+set} != xset; then
69175 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
69176 $as_echo_n "(cached) " >&6
69177 else
69180 ac_ext=cpp
69181 ac_cpp='$CXXCPP $CPPFLAGS'
69182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69187 /* end confdefs.h. */
69188 #include <math.h>
69189 #ifdef HAVE_IEEEFP_H
69190 #include <ieeefp.h>
69191 #endif
69194 main ()
69196 expl(0);
69198 return 0;
69200 _ACEOF
69201 if ac_fn_cxx_try_compile "$LINENO"; then :
69202 glibcxx_cv_func_expl_use=yes
69203 else
69204 glibcxx_cv_func_expl_use=no
69206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69207 ac_ext=c
69208 ac_cpp='$CPP $CPPFLAGS'
69209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
69218 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
69220 if test x$glibcxx_cv_func_expl_use = x"yes"; then
69221 for ac_func in expl
69222 do :
69223 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
69224 if test "x$ac_cv_func_expl" = x""yes; then :
69225 cat >>confdefs.h <<_ACEOF
69226 #define HAVE_EXPL 1
69227 _ACEOF
69230 done
69232 else
69234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
69235 $as_echo_n "checking for _expl declaration... " >&6; }
69236 if test x${glibcxx_cv_func__expl_use+set} != xset; then
69237 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
69238 $as_echo_n "(cached) " >&6
69239 else
69242 ac_ext=cpp
69243 ac_cpp='$CXXCPP $CPPFLAGS'
69244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69249 /* end confdefs.h. */
69250 #include <math.h>
69251 #ifdef HAVE_IEEEFP_H
69252 #include <ieeefp.h>
69253 #endif
69256 main ()
69258 _expl(0);
69260 return 0;
69262 _ACEOF
69263 if ac_fn_cxx_try_compile "$LINENO"; then :
69264 glibcxx_cv_func__expl_use=yes
69265 else
69266 glibcxx_cv_func__expl_use=no
69268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69269 ac_ext=c
69270 ac_cpp='$CPP $CPPFLAGS'
69271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
69280 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
69282 if test x$glibcxx_cv_func__expl_use = x"yes"; then
69283 for ac_func in _expl
69284 do :
69285 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
69286 if test "x$ac_cv_func__expl" = x""yes; then :
69287 cat >>confdefs.h <<_ACEOF
69288 #define HAVE__EXPL 1
69289 _ACEOF
69292 done
69301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
69302 $as_echo_n "checking for fabsl declaration... " >&6; }
69303 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
69304 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
69305 $as_echo_n "(cached) " >&6
69306 else
69309 ac_ext=cpp
69310 ac_cpp='$CXXCPP $CPPFLAGS'
69311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69316 /* end confdefs.h. */
69317 #include <math.h>
69318 #ifdef HAVE_IEEEFP_H
69319 #include <ieeefp.h>
69320 #endif
69323 main ()
69325 fabsl(0);
69327 return 0;
69329 _ACEOF
69330 if ac_fn_cxx_try_compile "$LINENO"; then :
69331 glibcxx_cv_func_fabsl_use=yes
69332 else
69333 glibcxx_cv_func_fabsl_use=no
69335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69336 ac_ext=c
69337 ac_cpp='$CPP $CPPFLAGS'
69338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
69347 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
69349 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
69350 for ac_func in fabsl
69351 do :
69352 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
69353 if test "x$ac_cv_func_fabsl" = x""yes; then :
69354 cat >>confdefs.h <<_ACEOF
69355 #define HAVE_FABSL 1
69356 _ACEOF
69359 done
69361 else
69363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
69364 $as_echo_n "checking for _fabsl declaration... " >&6; }
69365 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
69366 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
69367 $as_echo_n "(cached) " >&6
69368 else
69371 ac_ext=cpp
69372 ac_cpp='$CXXCPP $CPPFLAGS'
69373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69378 /* end confdefs.h. */
69379 #include <math.h>
69380 #ifdef HAVE_IEEEFP_H
69381 #include <ieeefp.h>
69382 #endif
69385 main ()
69387 _fabsl(0);
69389 return 0;
69391 _ACEOF
69392 if ac_fn_cxx_try_compile "$LINENO"; then :
69393 glibcxx_cv_func__fabsl_use=yes
69394 else
69395 glibcxx_cv_func__fabsl_use=no
69397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69398 ac_ext=c
69399 ac_cpp='$CPP $CPPFLAGS'
69400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
69409 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
69411 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
69412 for ac_func in _fabsl
69413 do :
69414 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
69415 if test "x$ac_cv_func__fabsl" = x""yes; then :
69416 cat >>confdefs.h <<_ACEOF
69417 #define HAVE__FABSL 1
69418 _ACEOF
69421 done
69430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
69431 $as_echo_n "checking for fmodl declaration... " >&6; }
69432 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
69433 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
69434 $as_echo_n "(cached) " >&6
69435 else
69438 ac_ext=cpp
69439 ac_cpp='$CXXCPP $CPPFLAGS'
69440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69445 /* end confdefs.h. */
69446 #include <math.h>
69448 main ()
69450 fmodl(0, 0);
69452 return 0;
69454 _ACEOF
69455 if ac_fn_cxx_try_compile "$LINENO"; then :
69456 glibcxx_cv_func_fmodl_use=yes
69457 else
69458 glibcxx_cv_func_fmodl_use=no
69460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69461 ac_ext=c
69462 ac_cpp='$CPP $CPPFLAGS'
69463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
69472 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
69474 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
69475 for ac_func in fmodl
69476 do :
69477 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
69478 if test "x$ac_cv_func_fmodl" = x""yes; then :
69479 cat >>confdefs.h <<_ACEOF
69480 #define HAVE_FMODL 1
69481 _ACEOF
69484 done
69486 else
69488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
69489 $as_echo_n "checking for _fmodl declaration... " >&6; }
69490 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
69491 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
69492 $as_echo_n "(cached) " >&6
69493 else
69496 ac_ext=cpp
69497 ac_cpp='$CXXCPP $CPPFLAGS'
69498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69503 /* end confdefs.h. */
69504 #include <math.h>
69506 main ()
69508 _fmodl(0, 0);
69510 return 0;
69512 _ACEOF
69513 if ac_fn_cxx_try_compile "$LINENO"; then :
69514 glibcxx_cv_func__fmodl_use=yes
69515 else
69516 glibcxx_cv_func__fmodl_use=no
69518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69519 ac_ext=c
69520 ac_cpp='$CPP $CPPFLAGS'
69521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
69530 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
69532 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
69533 for ac_func in _fmodl
69534 do :
69535 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
69536 if test "x$ac_cv_func__fmodl" = x""yes; then :
69537 cat >>confdefs.h <<_ACEOF
69538 #define HAVE__FMODL 1
69539 _ACEOF
69542 done
69551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
69552 $as_echo_n "checking for frexpl declaration... " >&6; }
69553 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
69554 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
69555 $as_echo_n "(cached) " >&6
69556 else
69559 ac_ext=cpp
69560 ac_cpp='$CXXCPP $CPPFLAGS'
69561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69566 /* end confdefs.h. */
69567 #include <math.h>
69569 main ()
69571 frexpl(0, 0);
69573 return 0;
69575 _ACEOF
69576 if ac_fn_cxx_try_compile "$LINENO"; then :
69577 glibcxx_cv_func_frexpl_use=yes
69578 else
69579 glibcxx_cv_func_frexpl_use=no
69581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69582 ac_ext=c
69583 ac_cpp='$CPP $CPPFLAGS'
69584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
69593 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
69595 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
69596 for ac_func in frexpl
69597 do :
69598 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
69599 if test "x$ac_cv_func_frexpl" = x""yes; then :
69600 cat >>confdefs.h <<_ACEOF
69601 #define HAVE_FREXPL 1
69602 _ACEOF
69605 done
69607 else
69609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
69610 $as_echo_n "checking for _frexpl declaration... " >&6; }
69611 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
69612 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
69613 $as_echo_n "(cached) " >&6
69614 else
69617 ac_ext=cpp
69618 ac_cpp='$CXXCPP $CPPFLAGS'
69619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69624 /* end confdefs.h. */
69625 #include <math.h>
69627 main ()
69629 _frexpl(0, 0);
69631 return 0;
69633 _ACEOF
69634 if ac_fn_cxx_try_compile "$LINENO"; then :
69635 glibcxx_cv_func__frexpl_use=yes
69636 else
69637 glibcxx_cv_func__frexpl_use=no
69639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69640 ac_ext=c
69641 ac_cpp='$CPP $CPPFLAGS'
69642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
69651 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
69653 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
69654 for ac_func in _frexpl
69655 do :
69656 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
69657 if test "x$ac_cv_func__frexpl" = x""yes; then :
69658 cat >>confdefs.h <<_ACEOF
69659 #define HAVE__FREXPL 1
69660 _ACEOF
69663 done
69672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
69673 $as_echo_n "checking for hypotl declaration... " >&6; }
69674 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
69675 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
69676 $as_echo_n "(cached) " >&6
69677 else
69680 ac_ext=cpp
69681 ac_cpp='$CXXCPP $CPPFLAGS'
69682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69687 /* end confdefs.h. */
69688 #include <math.h>
69690 main ()
69692 hypotl(0, 0);
69694 return 0;
69696 _ACEOF
69697 if ac_fn_cxx_try_compile "$LINENO"; then :
69698 glibcxx_cv_func_hypotl_use=yes
69699 else
69700 glibcxx_cv_func_hypotl_use=no
69702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69703 ac_ext=c
69704 ac_cpp='$CPP $CPPFLAGS'
69705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
69714 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
69716 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
69717 for ac_func in hypotl
69718 do :
69719 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
69720 if test "x$ac_cv_func_hypotl" = x""yes; then :
69721 cat >>confdefs.h <<_ACEOF
69722 #define HAVE_HYPOTL 1
69723 _ACEOF
69726 done
69728 else
69730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
69731 $as_echo_n "checking for _hypotl declaration... " >&6; }
69732 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
69733 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
69734 $as_echo_n "(cached) " >&6
69735 else
69738 ac_ext=cpp
69739 ac_cpp='$CXXCPP $CPPFLAGS'
69740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69745 /* end confdefs.h. */
69746 #include <math.h>
69748 main ()
69750 _hypotl(0, 0);
69752 return 0;
69754 _ACEOF
69755 if ac_fn_cxx_try_compile "$LINENO"; then :
69756 glibcxx_cv_func__hypotl_use=yes
69757 else
69758 glibcxx_cv_func__hypotl_use=no
69760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69761 ac_ext=c
69762 ac_cpp='$CPP $CPPFLAGS'
69763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
69772 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
69774 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
69775 for ac_func in _hypotl
69776 do :
69777 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
69778 if test "x$ac_cv_func__hypotl" = x""yes; then :
69779 cat >>confdefs.h <<_ACEOF
69780 #define HAVE__HYPOTL 1
69781 _ACEOF
69784 done
69793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
69794 $as_echo_n "checking for ldexpl declaration... " >&6; }
69795 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
69796 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
69797 $as_echo_n "(cached) " >&6
69798 else
69801 ac_ext=cpp
69802 ac_cpp='$CXXCPP $CPPFLAGS'
69803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69808 /* end confdefs.h. */
69809 #include <math.h>
69811 main ()
69813 ldexpl(0, 0);
69815 return 0;
69817 _ACEOF
69818 if ac_fn_cxx_try_compile "$LINENO"; then :
69819 glibcxx_cv_func_ldexpl_use=yes
69820 else
69821 glibcxx_cv_func_ldexpl_use=no
69823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69824 ac_ext=c
69825 ac_cpp='$CPP $CPPFLAGS'
69826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
69835 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
69837 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
69838 for ac_func in ldexpl
69839 do :
69840 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
69841 if test "x$ac_cv_func_ldexpl" = x""yes; then :
69842 cat >>confdefs.h <<_ACEOF
69843 #define HAVE_LDEXPL 1
69844 _ACEOF
69847 done
69849 else
69851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
69852 $as_echo_n "checking for _ldexpl declaration... " >&6; }
69853 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
69854 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
69855 $as_echo_n "(cached) " >&6
69856 else
69859 ac_ext=cpp
69860 ac_cpp='$CXXCPP $CPPFLAGS'
69861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69866 /* end confdefs.h. */
69867 #include <math.h>
69869 main ()
69871 _ldexpl(0, 0);
69873 return 0;
69875 _ACEOF
69876 if ac_fn_cxx_try_compile "$LINENO"; then :
69877 glibcxx_cv_func__ldexpl_use=yes
69878 else
69879 glibcxx_cv_func__ldexpl_use=no
69881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69882 ac_ext=c
69883 ac_cpp='$CPP $CPPFLAGS'
69884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
69893 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
69895 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
69896 for ac_func in _ldexpl
69897 do :
69898 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
69899 if test "x$ac_cv_func__ldexpl" = x""yes; then :
69900 cat >>confdefs.h <<_ACEOF
69901 #define HAVE__LDEXPL 1
69902 _ACEOF
69905 done
69914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
69915 $as_echo_n "checking for logl declaration... " >&6; }
69916 if test x${glibcxx_cv_func_logl_use+set} != xset; then
69917 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
69918 $as_echo_n "(cached) " >&6
69919 else
69922 ac_ext=cpp
69923 ac_cpp='$CXXCPP $CPPFLAGS'
69924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69929 /* end confdefs.h. */
69930 #include <math.h>
69931 #ifdef HAVE_IEEEFP_H
69932 #include <ieeefp.h>
69933 #endif
69936 main ()
69938 logl(0);
69940 return 0;
69942 _ACEOF
69943 if ac_fn_cxx_try_compile "$LINENO"; then :
69944 glibcxx_cv_func_logl_use=yes
69945 else
69946 glibcxx_cv_func_logl_use=no
69948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69949 ac_ext=c
69950 ac_cpp='$CPP $CPPFLAGS'
69951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
69960 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
69962 if test x$glibcxx_cv_func_logl_use = x"yes"; then
69963 for ac_func in logl
69964 do :
69965 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
69966 if test "x$ac_cv_func_logl" = x""yes; then :
69967 cat >>confdefs.h <<_ACEOF
69968 #define HAVE_LOGL 1
69969 _ACEOF
69972 done
69974 else
69976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
69977 $as_echo_n "checking for _logl declaration... " >&6; }
69978 if test x${glibcxx_cv_func__logl_use+set} != xset; then
69979 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
69980 $as_echo_n "(cached) " >&6
69981 else
69984 ac_ext=cpp
69985 ac_cpp='$CXXCPP $CPPFLAGS'
69986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69991 /* end confdefs.h. */
69992 #include <math.h>
69993 #ifdef HAVE_IEEEFP_H
69994 #include <ieeefp.h>
69995 #endif
69998 main ()
70000 _logl(0);
70002 return 0;
70004 _ACEOF
70005 if ac_fn_cxx_try_compile "$LINENO"; then :
70006 glibcxx_cv_func__logl_use=yes
70007 else
70008 glibcxx_cv_func__logl_use=no
70010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70011 ac_ext=c
70012 ac_cpp='$CPP $CPPFLAGS'
70013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
70022 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
70024 if test x$glibcxx_cv_func__logl_use = x"yes"; then
70025 for ac_func in _logl
70026 do :
70027 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
70028 if test "x$ac_cv_func__logl" = x""yes; then :
70029 cat >>confdefs.h <<_ACEOF
70030 #define HAVE__LOGL 1
70031 _ACEOF
70034 done
70043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
70044 $as_echo_n "checking for log10l declaration... " >&6; }
70045 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
70046 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
70047 $as_echo_n "(cached) " >&6
70048 else
70051 ac_ext=cpp
70052 ac_cpp='$CXXCPP $CPPFLAGS'
70053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70058 /* end confdefs.h. */
70059 #include <math.h>
70060 #ifdef HAVE_IEEEFP_H
70061 #include <ieeefp.h>
70062 #endif
70065 main ()
70067 log10l(0);
70069 return 0;
70071 _ACEOF
70072 if ac_fn_cxx_try_compile "$LINENO"; then :
70073 glibcxx_cv_func_log10l_use=yes
70074 else
70075 glibcxx_cv_func_log10l_use=no
70077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70078 ac_ext=c
70079 ac_cpp='$CPP $CPPFLAGS'
70080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
70089 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
70091 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
70092 for ac_func in log10l
70093 do :
70094 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
70095 if test "x$ac_cv_func_log10l" = x""yes; then :
70096 cat >>confdefs.h <<_ACEOF
70097 #define HAVE_LOG10L 1
70098 _ACEOF
70101 done
70103 else
70105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
70106 $as_echo_n "checking for _log10l declaration... " >&6; }
70107 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
70108 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
70109 $as_echo_n "(cached) " >&6
70110 else
70113 ac_ext=cpp
70114 ac_cpp='$CXXCPP $CPPFLAGS'
70115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70120 /* end confdefs.h. */
70121 #include <math.h>
70122 #ifdef HAVE_IEEEFP_H
70123 #include <ieeefp.h>
70124 #endif
70127 main ()
70129 _log10l(0);
70131 return 0;
70133 _ACEOF
70134 if ac_fn_cxx_try_compile "$LINENO"; then :
70135 glibcxx_cv_func__log10l_use=yes
70136 else
70137 glibcxx_cv_func__log10l_use=no
70139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70140 ac_ext=c
70141 ac_cpp='$CPP $CPPFLAGS'
70142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
70151 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
70153 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
70154 for ac_func in _log10l
70155 do :
70156 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
70157 if test "x$ac_cv_func__log10l" = x""yes; then :
70158 cat >>confdefs.h <<_ACEOF
70159 #define HAVE__LOG10L 1
70160 _ACEOF
70163 done
70172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
70173 $as_echo_n "checking for modfl declaration... " >&6; }
70174 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
70175 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
70176 $as_echo_n "(cached) " >&6
70177 else
70180 ac_ext=cpp
70181 ac_cpp='$CXXCPP $CPPFLAGS'
70182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70187 /* end confdefs.h. */
70188 #include <math.h>
70190 main ()
70192 modfl(0, 0);
70194 return 0;
70196 _ACEOF
70197 if ac_fn_cxx_try_compile "$LINENO"; then :
70198 glibcxx_cv_func_modfl_use=yes
70199 else
70200 glibcxx_cv_func_modfl_use=no
70202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70203 ac_ext=c
70204 ac_cpp='$CPP $CPPFLAGS'
70205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
70214 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
70216 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
70217 for ac_func in modfl
70218 do :
70219 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
70220 if test "x$ac_cv_func_modfl" = x""yes; then :
70221 cat >>confdefs.h <<_ACEOF
70222 #define HAVE_MODFL 1
70223 _ACEOF
70226 done
70228 else
70230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
70231 $as_echo_n "checking for _modfl declaration... " >&6; }
70232 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
70233 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
70234 $as_echo_n "(cached) " >&6
70235 else
70238 ac_ext=cpp
70239 ac_cpp='$CXXCPP $CPPFLAGS'
70240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70245 /* end confdefs.h. */
70246 #include <math.h>
70248 main ()
70250 _modfl(0, 0);
70252 return 0;
70254 _ACEOF
70255 if ac_fn_cxx_try_compile "$LINENO"; then :
70256 glibcxx_cv_func__modfl_use=yes
70257 else
70258 glibcxx_cv_func__modfl_use=no
70260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70261 ac_ext=c
70262 ac_cpp='$CPP $CPPFLAGS'
70263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
70272 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
70274 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
70275 for ac_func in _modfl
70276 do :
70277 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
70278 if test "x$ac_cv_func__modfl" = x""yes; then :
70279 cat >>confdefs.h <<_ACEOF
70280 #define HAVE__MODFL 1
70281 _ACEOF
70284 done
70293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
70294 $as_echo_n "checking for powl declaration... " >&6; }
70295 if test x${glibcxx_cv_func_powl_use+set} != xset; then
70296 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
70297 $as_echo_n "(cached) " >&6
70298 else
70301 ac_ext=cpp
70302 ac_cpp='$CXXCPP $CPPFLAGS'
70303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70308 /* end confdefs.h. */
70309 #include <math.h>
70311 main ()
70313 powl(0, 0);
70315 return 0;
70317 _ACEOF
70318 if ac_fn_cxx_try_compile "$LINENO"; then :
70319 glibcxx_cv_func_powl_use=yes
70320 else
70321 glibcxx_cv_func_powl_use=no
70323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70324 ac_ext=c
70325 ac_cpp='$CPP $CPPFLAGS'
70326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
70335 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
70337 if test x$glibcxx_cv_func_powl_use = x"yes"; then
70338 for ac_func in powl
70339 do :
70340 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
70341 if test "x$ac_cv_func_powl" = x""yes; then :
70342 cat >>confdefs.h <<_ACEOF
70343 #define HAVE_POWL 1
70344 _ACEOF
70347 done
70349 else
70351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
70352 $as_echo_n "checking for _powl declaration... " >&6; }
70353 if test x${glibcxx_cv_func__powl_use+set} != xset; then
70354 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
70355 $as_echo_n "(cached) " >&6
70356 else
70359 ac_ext=cpp
70360 ac_cpp='$CXXCPP $CPPFLAGS'
70361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70366 /* end confdefs.h. */
70367 #include <math.h>
70369 main ()
70371 _powl(0, 0);
70373 return 0;
70375 _ACEOF
70376 if ac_fn_cxx_try_compile "$LINENO"; then :
70377 glibcxx_cv_func__powl_use=yes
70378 else
70379 glibcxx_cv_func__powl_use=no
70381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70382 ac_ext=c
70383 ac_cpp='$CPP $CPPFLAGS'
70384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
70393 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
70395 if test x$glibcxx_cv_func__powl_use = x"yes"; then
70396 for ac_func in _powl
70397 do :
70398 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
70399 if test "x$ac_cv_func__powl" = x""yes; then :
70400 cat >>confdefs.h <<_ACEOF
70401 #define HAVE__POWL 1
70402 _ACEOF
70405 done
70414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
70415 $as_echo_n "checking for sqrtl declaration... " >&6; }
70416 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
70417 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
70418 $as_echo_n "(cached) " >&6
70419 else
70422 ac_ext=cpp
70423 ac_cpp='$CXXCPP $CPPFLAGS'
70424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70429 /* end confdefs.h. */
70430 #include <math.h>
70431 #ifdef HAVE_IEEEFP_H
70432 #include <ieeefp.h>
70433 #endif
70436 main ()
70438 sqrtl(0);
70440 return 0;
70442 _ACEOF
70443 if ac_fn_cxx_try_compile "$LINENO"; then :
70444 glibcxx_cv_func_sqrtl_use=yes
70445 else
70446 glibcxx_cv_func_sqrtl_use=no
70448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70449 ac_ext=c
70450 ac_cpp='$CPP $CPPFLAGS'
70451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
70460 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
70462 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
70463 for ac_func in sqrtl
70464 do :
70465 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
70466 if test "x$ac_cv_func_sqrtl" = x""yes; then :
70467 cat >>confdefs.h <<_ACEOF
70468 #define HAVE_SQRTL 1
70469 _ACEOF
70472 done
70474 else
70476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
70477 $as_echo_n "checking for _sqrtl declaration... " >&6; }
70478 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
70479 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
70480 $as_echo_n "(cached) " >&6
70481 else
70484 ac_ext=cpp
70485 ac_cpp='$CXXCPP $CPPFLAGS'
70486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70491 /* end confdefs.h. */
70492 #include <math.h>
70493 #ifdef HAVE_IEEEFP_H
70494 #include <ieeefp.h>
70495 #endif
70498 main ()
70500 _sqrtl(0);
70502 return 0;
70504 _ACEOF
70505 if ac_fn_cxx_try_compile "$LINENO"; then :
70506 glibcxx_cv_func__sqrtl_use=yes
70507 else
70508 glibcxx_cv_func__sqrtl_use=no
70510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70511 ac_ext=c
70512 ac_cpp='$CPP $CPPFLAGS'
70513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
70522 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
70524 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
70525 for ac_func in _sqrtl
70526 do :
70527 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
70528 if test "x$ac_cv_func__sqrtl" = x""yes; then :
70529 cat >>confdefs.h <<_ACEOF
70530 #define HAVE__SQRTL 1
70531 _ACEOF
70534 done
70543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
70544 $as_echo_n "checking for sincosl declaration... " >&6; }
70545 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
70546 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
70547 $as_echo_n "(cached) " >&6
70548 else
70551 ac_ext=cpp
70552 ac_cpp='$CXXCPP $CPPFLAGS'
70553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70558 /* end confdefs.h. */
70559 #include <math.h>
70561 main ()
70563 sincosl(0, 0, 0);
70565 return 0;
70567 _ACEOF
70568 if ac_fn_cxx_try_compile "$LINENO"; then :
70569 glibcxx_cv_func_sincosl_use=yes
70570 else
70571 glibcxx_cv_func_sincosl_use=no
70573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70574 ac_ext=c
70575 ac_cpp='$CPP $CPPFLAGS'
70576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
70585 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
70587 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
70588 for ac_func in sincosl
70589 do :
70590 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
70591 if test "x$ac_cv_func_sincosl" = x""yes; then :
70592 cat >>confdefs.h <<_ACEOF
70593 #define HAVE_SINCOSL 1
70594 _ACEOF
70597 done
70599 else
70601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
70602 $as_echo_n "checking for _sincosl declaration... " >&6; }
70603 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
70604 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
70605 $as_echo_n "(cached) " >&6
70606 else
70609 ac_ext=cpp
70610 ac_cpp='$CXXCPP $CPPFLAGS'
70611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70616 /* end confdefs.h. */
70617 #include <math.h>
70619 main ()
70621 _sincosl(0, 0, 0);
70623 return 0;
70625 _ACEOF
70626 if ac_fn_cxx_try_compile "$LINENO"; then :
70627 glibcxx_cv_func__sincosl_use=yes
70628 else
70629 glibcxx_cv_func__sincosl_use=no
70631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70632 ac_ext=c
70633 ac_cpp='$CPP $CPPFLAGS'
70634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
70643 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
70645 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
70646 for ac_func in _sincosl
70647 do :
70648 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
70649 if test "x$ac_cv_func__sincosl" = x""yes; then :
70650 cat >>confdefs.h <<_ACEOF
70651 #define HAVE__SINCOSL 1
70652 _ACEOF
70655 done
70664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
70665 $as_echo_n "checking for finitel declaration... " >&6; }
70666 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
70667 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
70668 $as_echo_n "(cached) " >&6
70669 else
70672 ac_ext=cpp
70673 ac_cpp='$CXXCPP $CPPFLAGS'
70674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70679 /* end confdefs.h. */
70680 #include <math.h>
70681 #ifdef HAVE_IEEEFP_H
70682 #include <ieeefp.h>
70683 #endif
70686 main ()
70688 finitel(0);
70690 return 0;
70692 _ACEOF
70693 if ac_fn_cxx_try_compile "$LINENO"; then :
70694 glibcxx_cv_func_finitel_use=yes
70695 else
70696 glibcxx_cv_func_finitel_use=no
70698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70699 ac_ext=c
70700 ac_cpp='$CPP $CPPFLAGS'
70701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
70710 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
70712 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
70713 for ac_func in finitel
70714 do :
70715 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
70716 if test "x$ac_cv_func_finitel" = x""yes; then :
70717 cat >>confdefs.h <<_ACEOF
70718 #define HAVE_FINITEL 1
70719 _ACEOF
70722 done
70724 else
70726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
70727 $as_echo_n "checking for _finitel declaration... " >&6; }
70728 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
70729 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
70730 $as_echo_n "(cached) " >&6
70731 else
70734 ac_ext=cpp
70735 ac_cpp='$CXXCPP $CPPFLAGS'
70736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70741 /* end confdefs.h. */
70742 #include <math.h>
70743 #ifdef HAVE_IEEEFP_H
70744 #include <ieeefp.h>
70745 #endif
70748 main ()
70750 _finitel(0);
70752 return 0;
70754 _ACEOF
70755 if ac_fn_cxx_try_compile "$LINENO"; then :
70756 glibcxx_cv_func__finitel_use=yes
70757 else
70758 glibcxx_cv_func__finitel_use=no
70760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70761 ac_ext=c
70762 ac_cpp='$CPP $CPPFLAGS'
70763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
70772 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
70774 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
70775 for ac_func in _finitel
70776 do :
70777 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
70778 if test "x$ac_cv_func__finitel" = x""yes; then :
70779 cat >>confdefs.h <<_ACEOF
70780 #define HAVE__FINITEL 1
70781 _ACEOF
70784 done
70792 LIBS="$ac_save_LIBS"
70793 CXXFLAGS="$ac_save_CXXFLAGS"
70796 ac_test_CXXFLAGS="${CXXFLAGS+set}"
70797 ac_save_CXXFLAGS="$CXXFLAGS"
70798 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
70801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
70802 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
70803 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
70804 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
70805 $as_echo_n "(cached) " >&6
70806 else
70809 ac_ext=cpp
70810 ac_cpp='$CXXCPP $CPPFLAGS'
70811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70816 /* end confdefs.h. */
70817 #include <stdlib.h>
70819 main ()
70821 at_quick_exit(0);
70823 return 0;
70825 _ACEOF
70826 if ac_fn_cxx_try_compile "$LINENO"; then :
70827 glibcxx_cv_func_at_quick_exit_use=yes
70828 else
70829 glibcxx_cv_func_at_quick_exit_use=no
70831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70832 ac_ext=c
70833 ac_cpp='$CPP $CPPFLAGS'
70834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
70843 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
70844 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
70845 for ac_func in at_quick_exit
70846 do :
70847 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
70848 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
70849 cat >>confdefs.h <<_ACEOF
70850 #define HAVE_AT_QUICK_EXIT 1
70851 _ACEOF
70854 done
70859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
70860 $as_echo_n "checking for quick_exit declaration... " >&6; }
70861 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
70862 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
70863 $as_echo_n "(cached) " >&6
70864 else
70867 ac_ext=cpp
70868 ac_cpp='$CXXCPP $CPPFLAGS'
70869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70874 /* end confdefs.h. */
70875 #include <stdlib.h>
70877 main ()
70879 quick_exit(0);
70881 return 0;
70883 _ACEOF
70884 if ac_fn_cxx_try_compile "$LINENO"; then :
70885 glibcxx_cv_func_quick_exit_use=yes
70886 else
70887 glibcxx_cv_func_quick_exit_use=no
70889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70890 ac_ext=c
70891 ac_cpp='$CPP $CPPFLAGS'
70892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
70901 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
70902 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
70903 for ac_func in quick_exit
70904 do :
70905 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
70906 if test "x$ac_cv_func_quick_exit" = x""yes; then :
70907 cat >>confdefs.h <<_ACEOF
70908 #define HAVE_QUICK_EXIT 1
70909 _ACEOF
70912 done
70917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
70918 $as_echo_n "checking for strtold declaration... " >&6; }
70919 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
70920 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
70921 $as_echo_n "(cached) " >&6
70922 else
70925 ac_ext=cpp
70926 ac_cpp='$CXXCPP $CPPFLAGS'
70927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70932 /* end confdefs.h. */
70933 #include <stdlib.h>
70935 main ()
70937 strtold(0, 0);
70939 return 0;
70941 _ACEOF
70942 if ac_fn_cxx_try_compile "$LINENO"; then :
70943 glibcxx_cv_func_strtold_use=yes
70944 else
70945 glibcxx_cv_func_strtold_use=no
70947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70948 ac_ext=c
70949 ac_cpp='$CPP $CPPFLAGS'
70950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
70959 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
70960 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
70961 for ac_func in strtold
70962 do :
70963 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
70964 if test "x$ac_cv_func_strtold" = x""yes; then :
70965 cat >>confdefs.h <<_ACEOF
70966 #define HAVE_STRTOLD 1
70967 _ACEOF
70970 done
70977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
70978 $as_echo_n "checking for strtof declaration... " >&6; }
70979 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
70980 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
70981 $as_echo_n "(cached) " >&6
70982 else
70985 ac_ext=cpp
70986 ac_cpp='$CXXCPP $CPPFLAGS'
70987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70992 /* end confdefs.h. */
70993 #include <stdlib.h>
70995 main ()
70997 strtof(0, 0);
70999 return 0;
71001 _ACEOF
71002 if ac_fn_cxx_try_compile "$LINENO"; then :
71003 glibcxx_cv_func_strtof_use=yes
71004 else
71005 glibcxx_cv_func_strtof_use=no
71007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71008 ac_ext=c
71009 ac_cpp='$CPP $CPPFLAGS'
71010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
71019 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
71020 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
71021 for ac_func in strtof
71022 do :
71023 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
71024 if test "x$ac_cv_func_strtof" = x""yes; then :
71025 cat >>confdefs.h <<_ACEOF
71026 #define HAVE_STRTOF 1
71027 _ACEOF
71030 done
71037 CXXFLAGS="$ac_save_CXXFLAGS"
71040 *-solaris*)
71041 case "$target" in
71042 *-solaris2.9 | *-solaris2.10)
71044 # If we're not using GNU ld, then there's no point in even trying these
71045 # tests. Check for that first. We should have already tested for gld
71046 # by now (in libtool), but require it now just to be safe...
71047 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
71048 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
71052 # The name set by libtool depends on the version of libtool. Shame on us
71053 # for depending on an impl detail, but c'est la vie. Older versions used
71054 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
71055 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
71056 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
71057 # set (hence we're using an older libtool), then set it.
71058 if test x${with_gnu_ld+set} != xset; then
71059 if test x${ac_cv_prog_gnu_ld+set} != xset; then
71060 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
71061 with_gnu_ld=no
71062 else
71063 with_gnu_ld=$ac_cv_prog_gnu_ld
71067 # Start by getting the version number. I think the libtool test already
71068 # does some of this, but throws away the result.
71069 glibcxx_ld_is_gold=no
71070 if test x"$with_gnu_ld" = x"yes"; then
71071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
71072 $as_echo_n "checking for ld version... " >&6; }
71074 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
71075 glibcxx_ld_is_gold=yes
71077 ldver=`$LD --version 2>/dev/null |
71078 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'`
71080 glibcxx_gnu_ld_version=`echo $ldver | \
71081 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
71082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
71083 $as_echo "$glibcxx_gnu_ld_version" >&6; }
71086 # Set --gc-sections.
71087 glibcxx_have_gc_sections=no
71088 if test "$glibcxx_ld_is_gold" = "yes"; then
71089 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
71090 glibcxx_have_gc_sections=yes
71092 else
71093 glibcxx_gcsections_min_ld=21602
71094 if test x"$with_gnu_ld" = x"yes" &&
71095 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
71096 glibcxx_have_gc_sections=yes
71099 if test "$glibcxx_have_gc_sections" = "yes"; then
71100 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
71101 # NB: This flag only works reliably after 2.16.1. Configure tests
71102 # for this are difficult, so hard wire a value that should work.
71104 ac_test_CFLAGS="${CFLAGS+set}"
71105 ac_save_CFLAGS="$CFLAGS"
71106 CFLAGS='-Wl,--gc-sections'
71108 # Check for -Wl,--gc-sections
71109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
71110 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
71111 if test x$gcc_no_link = xyes; then
71112 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71115 /* end confdefs.h. */
71116 int one(void) { return 1; }
71117 int two(void) { return 2; }
71120 main ()
71122 two();
71124 return 0;
71126 _ACEOF
71127 if ac_fn_c_try_link "$LINENO"; then :
71128 ac_gcsections=yes
71129 else
71130 ac_gcsections=no
71132 rm -f core conftest.err conftest.$ac_objext \
71133 conftest$ac_exeext conftest.$ac_ext
71134 if test "$ac_gcsections" = "yes"; then
71135 rm -f conftest.c
71136 touch conftest.c
71137 if $CC -c conftest.c; then
71138 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
71139 grep "Warning: gc-sections option ignored" > /dev/null; then
71140 ac_gcsections=no
71143 rm -f conftest.c conftest.o conftest
71145 if test "$ac_gcsections" = "yes"; then
71146 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
71148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
71149 $as_echo "$ac_gcsections" >&6; }
71151 if test "$ac_test_CFLAGS" = set; then
71152 CFLAGS="$ac_save_CFLAGS"
71153 else
71154 # this is the suspicious part
71155 CFLAGS=''
71159 # Set -z,relro.
71160 # Note this is only for shared objects.
71161 ac_ld_relro=no
71162 if test x"$with_gnu_ld" = x"yes"; then
71163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
71164 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
71165 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
71166 if test -n "$cxx_z_relo"; then
71167 OPT_LDFLAGS="-Wl,-z,relro"
71168 ac_ld_relro=yes
71170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
71171 $as_echo "$ac_ld_relro" >&6; }
71174 # Set linker optimization flags.
71175 if test x"$with_gnu_ld" = x"yes"; then
71176 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
71182 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
71184 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
71186 $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
71188 # All of the dependencies for wide character support are here, so
71189 # turn it on.
71190 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
71193 esac
71194 case "$target" in
71195 *-*-solaris2.10)
71196 # These two C99 functions are present only in Solaris >= 10
71197 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
71199 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
71202 esac
71203 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
71205 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
71207 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
71209 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
71212 *-tpf)
71213 SECTION_FLAGS='-ffunction-sections -fdata-sections'
71214 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
71216 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
71218 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
71220 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
71222 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
71224 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
71226 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
71228 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
71230 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
71232 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
71234 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
71236 if test x"long_double_math_on_this_cpu" = x"yes"; then
71237 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
71239 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
71241 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
71243 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
71247 *-*vms*)
71248 # Check for available headers.
71249 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
71251 ac_test_CXXFLAGS="${CXXFLAGS+set}"
71252 ac_save_CXXFLAGS="$CXXFLAGS"
71253 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
71255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
71256 $as_echo_n "checking for sin in -lm... " >&6; }
71257 if test "${ac_cv_lib_m_sin+set}" = set; then :
71258 $as_echo_n "(cached) " >&6
71259 else
71260 ac_check_lib_save_LIBS=$LIBS
71261 LIBS="-lm $LIBS"
71262 if test x$gcc_no_link = xyes; then
71263 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71266 /* end confdefs.h. */
71268 /* Override any GCC internal prototype to avoid an error.
71269 Use char because int might match the return type of a GCC
71270 builtin and then its argument prototype would still apply. */
71271 #ifdef __cplusplus
71272 extern "C"
71273 #endif
71274 char sin ();
71276 main ()
71278 return sin ();
71280 return 0;
71282 _ACEOF
71283 if ac_fn_c_try_link "$LINENO"; then :
71284 ac_cv_lib_m_sin=yes
71285 else
71286 ac_cv_lib_m_sin=no
71288 rm -f core conftest.err conftest.$ac_objext \
71289 conftest$ac_exeext conftest.$ac_ext
71290 LIBS=$ac_check_lib_save_LIBS
71292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
71293 $as_echo "$ac_cv_lib_m_sin" >&6; }
71294 if test "x$ac_cv_lib_m_sin" = x""yes; then :
71295 libm="-lm"
71298 ac_save_LIBS="$LIBS"
71299 LIBS="$LIBS $libm"
71303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
71304 $as_echo_n "checking for isinf declaration... " >&6; }
71305 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
71306 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
71307 $as_echo_n "(cached) " >&6
71308 else
71311 ac_ext=cpp
71312 ac_cpp='$CXXCPP $CPPFLAGS'
71313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71318 /* end confdefs.h. */
71319 #include <math.h>
71320 #ifdef HAVE_IEEEFP_H
71321 #include <ieeefp.h>
71322 #endif
71325 main ()
71327 isinf(0);
71329 return 0;
71331 _ACEOF
71332 if ac_fn_cxx_try_compile "$LINENO"; then :
71333 glibcxx_cv_func_isinf_use=yes
71334 else
71335 glibcxx_cv_func_isinf_use=no
71337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71338 ac_ext=c
71339 ac_cpp='$CPP $CPPFLAGS'
71340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
71349 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
71351 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
71352 for ac_func in isinf
71353 do :
71354 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
71355 if test "x$ac_cv_func_isinf" = x""yes; then :
71356 cat >>confdefs.h <<_ACEOF
71357 #define HAVE_ISINF 1
71358 _ACEOF
71361 done
71363 else
71365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
71366 $as_echo_n "checking for _isinf declaration... " >&6; }
71367 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
71368 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
71369 $as_echo_n "(cached) " >&6
71370 else
71373 ac_ext=cpp
71374 ac_cpp='$CXXCPP $CPPFLAGS'
71375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71380 /* end confdefs.h. */
71381 #include <math.h>
71382 #ifdef HAVE_IEEEFP_H
71383 #include <ieeefp.h>
71384 #endif
71387 main ()
71389 _isinf(0);
71391 return 0;
71393 _ACEOF
71394 if ac_fn_cxx_try_compile "$LINENO"; then :
71395 glibcxx_cv_func__isinf_use=yes
71396 else
71397 glibcxx_cv_func__isinf_use=no
71399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71400 ac_ext=c
71401 ac_cpp='$CPP $CPPFLAGS'
71402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
71411 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
71413 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
71414 for ac_func in _isinf
71415 do :
71416 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
71417 if test "x$ac_cv_func__isinf" = x""yes; then :
71418 cat >>confdefs.h <<_ACEOF
71419 #define HAVE__ISINF 1
71420 _ACEOF
71423 done
71432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
71433 $as_echo_n "checking for isnan declaration... " >&6; }
71434 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
71435 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
71436 $as_echo_n "(cached) " >&6
71437 else
71440 ac_ext=cpp
71441 ac_cpp='$CXXCPP $CPPFLAGS'
71442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71447 /* end confdefs.h. */
71448 #include <math.h>
71449 #ifdef HAVE_IEEEFP_H
71450 #include <ieeefp.h>
71451 #endif
71454 main ()
71456 isnan(0);
71458 return 0;
71460 _ACEOF
71461 if ac_fn_cxx_try_compile "$LINENO"; then :
71462 glibcxx_cv_func_isnan_use=yes
71463 else
71464 glibcxx_cv_func_isnan_use=no
71466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71467 ac_ext=c
71468 ac_cpp='$CPP $CPPFLAGS'
71469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
71478 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
71480 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
71481 for ac_func in isnan
71482 do :
71483 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
71484 if test "x$ac_cv_func_isnan" = x""yes; then :
71485 cat >>confdefs.h <<_ACEOF
71486 #define HAVE_ISNAN 1
71487 _ACEOF
71490 done
71492 else
71494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
71495 $as_echo_n "checking for _isnan declaration... " >&6; }
71496 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
71497 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
71498 $as_echo_n "(cached) " >&6
71499 else
71502 ac_ext=cpp
71503 ac_cpp='$CXXCPP $CPPFLAGS'
71504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71509 /* end confdefs.h. */
71510 #include <math.h>
71511 #ifdef HAVE_IEEEFP_H
71512 #include <ieeefp.h>
71513 #endif
71516 main ()
71518 _isnan(0);
71520 return 0;
71522 _ACEOF
71523 if ac_fn_cxx_try_compile "$LINENO"; then :
71524 glibcxx_cv_func__isnan_use=yes
71525 else
71526 glibcxx_cv_func__isnan_use=no
71528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71529 ac_ext=c
71530 ac_cpp='$CPP $CPPFLAGS'
71531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
71540 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
71542 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
71543 for ac_func in _isnan
71544 do :
71545 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
71546 if test "x$ac_cv_func__isnan" = x""yes; then :
71547 cat >>confdefs.h <<_ACEOF
71548 #define HAVE__ISNAN 1
71549 _ACEOF
71552 done
71561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
71562 $as_echo_n "checking for finite declaration... " >&6; }
71563 if test x${glibcxx_cv_func_finite_use+set} != xset; then
71564 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
71565 $as_echo_n "(cached) " >&6
71566 else
71569 ac_ext=cpp
71570 ac_cpp='$CXXCPP $CPPFLAGS'
71571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71576 /* end confdefs.h. */
71577 #include <math.h>
71578 #ifdef HAVE_IEEEFP_H
71579 #include <ieeefp.h>
71580 #endif
71583 main ()
71585 finite(0);
71587 return 0;
71589 _ACEOF
71590 if ac_fn_cxx_try_compile "$LINENO"; then :
71591 glibcxx_cv_func_finite_use=yes
71592 else
71593 glibcxx_cv_func_finite_use=no
71595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71596 ac_ext=c
71597 ac_cpp='$CPP $CPPFLAGS'
71598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
71607 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
71609 if test x$glibcxx_cv_func_finite_use = x"yes"; then
71610 for ac_func in finite
71611 do :
71612 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
71613 if test "x$ac_cv_func_finite" = x""yes; then :
71614 cat >>confdefs.h <<_ACEOF
71615 #define HAVE_FINITE 1
71616 _ACEOF
71619 done
71621 else
71623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
71624 $as_echo_n "checking for _finite declaration... " >&6; }
71625 if test x${glibcxx_cv_func__finite_use+set} != xset; then
71626 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
71627 $as_echo_n "(cached) " >&6
71628 else
71631 ac_ext=cpp
71632 ac_cpp='$CXXCPP $CPPFLAGS'
71633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71638 /* end confdefs.h. */
71639 #include <math.h>
71640 #ifdef HAVE_IEEEFP_H
71641 #include <ieeefp.h>
71642 #endif
71645 main ()
71647 _finite(0);
71649 return 0;
71651 _ACEOF
71652 if ac_fn_cxx_try_compile "$LINENO"; then :
71653 glibcxx_cv_func__finite_use=yes
71654 else
71655 glibcxx_cv_func__finite_use=no
71657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71658 ac_ext=c
71659 ac_cpp='$CPP $CPPFLAGS'
71660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
71669 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
71671 if test x$glibcxx_cv_func__finite_use = x"yes"; then
71672 for ac_func in _finite
71673 do :
71674 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
71675 if test "x$ac_cv_func__finite" = x""yes; then :
71676 cat >>confdefs.h <<_ACEOF
71677 #define HAVE__FINITE 1
71678 _ACEOF
71681 done
71690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
71691 $as_echo_n "checking for sincos declaration... " >&6; }
71692 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
71693 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
71694 $as_echo_n "(cached) " >&6
71695 else
71698 ac_ext=cpp
71699 ac_cpp='$CXXCPP $CPPFLAGS'
71700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71705 /* end confdefs.h. */
71706 #include <math.h>
71708 main ()
71710 sincos(0, 0, 0);
71712 return 0;
71714 _ACEOF
71715 if ac_fn_cxx_try_compile "$LINENO"; then :
71716 glibcxx_cv_func_sincos_use=yes
71717 else
71718 glibcxx_cv_func_sincos_use=no
71720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71721 ac_ext=c
71722 ac_cpp='$CPP $CPPFLAGS'
71723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
71732 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
71734 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
71735 for ac_func in sincos
71736 do :
71737 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
71738 if test "x$ac_cv_func_sincos" = x""yes; then :
71739 cat >>confdefs.h <<_ACEOF
71740 #define HAVE_SINCOS 1
71741 _ACEOF
71744 done
71746 else
71748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
71749 $as_echo_n "checking for _sincos declaration... " >&6; }
71750 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
71751 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
71752 $as_echo_n "(cached) " >&6
71753 else
71756 ac_ext=cpp
71757 ac_cpp='$CXXCPP $CPPFLAGS'
71758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71763 /* end confdefs.h. */
71764 #include <math.h>
71766 main ()
71768 _sincos(0, 0, 0);
71770 return 0;
71772 _ACEOF
71773 if ac_fn_cxx_try_compile "$LINENO"; then :
71774 glibcxx_cv_func__sincos_use=yes
71775 else
71776 glibcxx_cv_func__sincos_use=no
71778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71779 ac_ext=c
71780 ac_cpp='$CPP $CPPFLAGS'
71781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
71790 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
71792 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
71793 for ac_func in _sincos
71794 do :
71795 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
71796 if test "x$ac_cv_func__sincos" = x""yes; then :
71797 cat >>confdefs.h <<_ACEOF
71798 #define HAVE__SINCOS 1
71799 _ACEOF
71802 done
71811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
71812 $as_echo_n "checking for fpclass declaration... " >&6; }
71813 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
71814 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
71815 $as_echo_n "(cached) " >&6
71816 else
71819 ac_ext=cpp
71820 ac_cpp='$CXXCPP $CPPFLAGS'
71821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71826 /* end confdefs.h. */
71827 #include <math.h>
71828 #ifdef HAVE_IEEEFP_H
71829 #include <ieeefp.h>
71830 #endif
71833 main ()
71835 fpclass(0);
71837 return 0;
71839 _ACEOF
71840 if ac_fn_cxx_try_compile "$LINENO"; then :
71841 glibcxx_cv_func_fpclass_use=yes
71842 else
71843 glibcxx_cv_func_fpclass_use=no
71845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71846 ac_ext=c
71847 ac_cpp='$CPP $CPPFLAGS'
71848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
71857 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
71859 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
71860 for ac_func in fpclass
71861 do :
71862 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
71863 if test "x$ac_cv_func_fpclass" = x""yes; then :
71864 cat >>confdefs.h <<_ACEOF
71865 #define HAVE_FPCLASS 1
71866 _ACEOF
71869 done
71871 else
71873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
71874 $as_echo_n "checking for _fpclass declaration... " >&6; }
71875 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
71876 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
71877 $as_echo_n "(cached) " >&6
71878 else
71881 ac_ext=cpp
71882 ac_cpp='$CXXCPP $CPPFLAGS'
71883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71888 /* end confdefs.h. */
71889 #include <math.h>
71890 #ifdef HAVE_IEEEFP_H
71891 #include <ieeefp.h>
71892 #endif
71895 main ()
71897 _fpclass(0);
71899 return 0;
71901 _ACEOF
71902 if ac_fn_cxx_try_compile "$LINENO"; then :
71903 glibcxx_cv_func__fpclass_use=yes
71904 else
71905 glibcxx_cv_func__fpclass_use=no
71907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71908 ac_ext=c
71909 ac_cpp='$CPP $CPPFLAGS'
71910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
71919 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
71921 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
71922 for ac_func in _fpclass
71923 do :
71924 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
71925 if test "x$ac_cv_func__fpclass" = x""yes; then :
71926 cat >>confdefs.h <<_ACEOF
71927 #define HAVE__FPCLASS 1
71928 _ACEOF
71931 done
71940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
71941 $as_echo_n "checking for qfpclass declaration... " >&6; }
71942 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
71943 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
71944 $as_echo_n "(cached) " >&6
71945 else
71948 ac_ext=cpp
71949 ac_cpp='$CXXCPP $CPPFLAGS'
71950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71955 /* end confdefs.h. */
71956 #include <math.h>
71957 #ifdef HAVE_IEEEFP_H
71958 #include <ieeefp.h>
71959 #endif
71962 main ()
71964 qfpclass(0);
71966 return 0;
71968 _ACEOF
71969 if ac_fn_cxx_try_compile "$LINENO"; then :
71970 glibcxx_cv_func_qfpclass_use=yes
71971 else
71972 glibcxx_cv_func_qfpclass_use=no
71974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71975 ac_ext=c
71976 ac_cpp='$CPP $CPPFLAGS'
71977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
71986 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
71988 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
71989 for ac_func in qfpclass
71990 do :
71991 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
71992 if test "x$ac_cv_func_qfpclass" = x""yes; then :
71993 cat >>confdefs.h <<_ACEOF
71994 #define HAVE_QFPCLASS 1
71995 _ACEOF
71998 done
72000 else
72002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
72003 $as_echo_n "checking for _qfpclass declaration... " >&6; }
72004 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
72005 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
72006 $as_echo_n "(cached) " >&6
72007 else
72010 ac_ext=cpp
72011 ac_cpp='$CXXCPP $CPPFLAGS'
72012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72017 /* end confdefs.h. */
72018 #include <math.h>
72019 #ifdef HAVE_IEEEFP_H
72020 #include <ieeefp.h>
72021 #endif
72024 main ()
72026 _qfpclass(0);
72028 return 0;
72030 _ACEOF
72031 if ac_fn_cxx_try_compile "$LINENO"; then :
72032 glibcxx_cv_func__qfpclass_use=yes
72033 else
72034 glibcxx_cv_func__qfpclass_use=no
72036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72037 ac_ext=c
72038 ac_cpp='$CPP $CPPFLAGS'
72039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
72048 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
72050 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
72051 for ac_func in _qfpclass
72052 do :
72053 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
72054 if test "x$ac_cv_func__qfpclass" = x""yes; then :
72055 cat >>confdefs.h <<_ACEOF
72056 #define HAVE__QFPCLASS 1
72057 _ACEOF
72060 done
72069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
72070 $as_echo_n "checking for hypot declaration... " >&6; }
72071 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
72072 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
72073 $as_echo_n "(cached) " >&6
72074 else
72077 ac_ext=cpp
72078 ac_cpp='$CXXCPP $CPPFLAGS'
72079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72084 /* end confdefs.h. */
72085 #include <math.h>
72087 main ()
72089 hypot(0, 0);
72091 return 0;
72093 _ACEOF
72094 if ac_fn_cxx_try_compile "$LINENO"; then :
72095 glibcxx_cv_func_hypot_use=yes
72096 else
72097 glibcxx_cv_func_hypot_use=no
72099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72100 ac_ext=c
72101 ac_cpp='$CPP $CPPFLAGS'
72102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
72111 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
72113 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
72114 for ac_func in hypot
72115 do :
72116 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
72117 if test "x$ac_cv_func_hypot" = x""yes; then :
72118 cat >>confdefs.h <<_ACEOF
72119 #define HAVE_HYPOT 1
72120 _ACEOF
72123 done
72125 else
72127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
72128 $as_echo_n "checking for _hypot declaration... " >&6; }
72129 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
72130 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
72131 $as_echo_n "(cached) " >&6
72132 else
72135 ac_ext=cpp
72136 ac_cpp='$CXXCPP $CPPFLAGS'
72137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72142 /* end confdefs.h. */
72143 #include <math.h>
72145 main ()
72147 _hypot(0, 0);
72149 return 0;
72151 _ACEOF
72152 if ac_fn_cxx_try_compile "$LINENO"; then :
72153 glibcxx_cv_func__hypot_use=yes
72154 else
72155 glibcxx_cv_func__hypot_use=no
72157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72158 ac_ext=c
72159 ac_cpp='$CPP $CPPFLAGS'
72160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
72169 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
72171 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
72172 for ac_func in _hypot
72173 do :
72174 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
72175 if test "x$ac_cv_func__hypot" = x""yes; then :
72176 cat >>confdefs.h <<_ACEOF
72177 #define HAVE__HYPOT 1
72178 _ACEOF
72181 done
72190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
72191 $as_echo_n "checking for float trig functions... " >&6; }
72192 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
72193 $as_echo_n "(cached) " >&6
72194 else
72197 ac_ext=cpp
72198 ac_cpp='$CXXCPP $CPPFLAGS'
72199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72204 /* end confdefs.h. */
72205 #include <math.h>
72207 main ()
72209 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
72211 return 0;
72213 _ACEOF
72214 if ac_fn_cxx_try_compile "$LINENO"; then :
72215 glibcxx_cv_func_float_trig_use=yes
72216 else
72217 glibcxx_cv_func_float_trig_use=no
72219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72220 ac_ext=c
72221 ac_cpp='$CPP $CPPFLAGS'
72222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
72229 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
72230 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
72231 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
72232 do :
72233 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
72234 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
72235 eval as_val=\$$as_ac_var
72236 if test "x$as_val" = x""yes; then :
72237 cat >>confdefs.h <<_ACEOF
72238 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
72239 _ACEOF
72242 done
72244 else
72245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
72246 $as_echo_n "checking for _float trig functions... " >&6; }
72247 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
72248 $as_echo_n "(cached) " >&6
72249 else
72252 ac_ext=cpp
72253 ac_cpp='$CXXCPP $CPPFLAGS'
72254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72259 /* end confdefs.h. */
72260 #include <math.h>
72262 main ()
72264 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
72266 return 0;
72268 _ACEOF
72269 if ac_fn_cxx_try_compile "$LINENO"; then :
72270 glibcxx_cv_func__float_trig_use=yes
72271 else
72272 glibcxx_cv_func__float_trig_use=no
72274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72275 ac_ext=c
72276 ac_cpp='$CPP $CPPFLAGS'
72277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
72284 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
72285 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
72286 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
72287 do :
72288 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
72289 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
72290 eval as_val=\$$as_ac_var
72291 if test "x$as_val" = x""yes; then :
72292 cat >>confdefs.h <<_ACEOF
72293 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
72294 _ACEOF
72297 done
72306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
72307 $as_echo_n "checking for float round functions... " >&6; }
72308 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
72309 $as_echo_n "(cached) " >&6
72310 else
72313 ac_ext=cpp
72314 ac_cpp='$CXXCPP $CPPFLAGS'
72315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72320 /* end confdefs.h. */
72321 #include <math.h>
72323 main ()
72325 ceilf (0); floorf (0);
72327 return 0;
72329 _ACEOF
72330 if ac_fn_cxx_try_compile "$LINENO"; then :
72331 glibcxx_cv_func_float_round_use=yes
72332 else
72333 glibcxx_cv_func_float_round_use=no
72335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72336 ac_ext=c
72337 ac_cpp='$CPP $CPPFLAGS'
72338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
72345 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
72346 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
72347 for ac_func in ceilf floorf
72348 do :
72349 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
72350 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
72351 eval as_val=\$$as_ac_var
72352 if test "x$as_val" = x""yes; then :
72353 cat >>confdefs.h <<_ACEOF
72354 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
72355 _ACEOF
72358 done
72360 else
72361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
72362 $as_echo_n "checking for _float round functions... " >&6; }
72363 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
72364 $as_echo_n "(cached) " >&6
72365 else
72368 ac_ext=cpp
72369 ac_cpp='$CXXCPP $CPPFLAGS'
72370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72375 /* end confdefs.h. */
72376 #include <math.h>
72378 main ()
72380 _ceilf (0); _floorf (0);
72382 return 0;
72384 _ACEOF
72385 if ac_fn_cxx_try_compile "$LINENO"; then :
72386 glibcxx_cv_func__float_round_use=yes
72387 else
72388 glibcxx_cv_func__float_round_use=no
72390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72391 ac_ext=c
72392 ac_cpp='$CPP $CPPFLAGS'
72393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
72400 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
72401 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
72402 for ac_func in _ceilf _floorf
72403 do :
72404 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
72405 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
72406 eval as_val=\$$as_ac_var
72407 if test "x$as_val" = x""yes; then :
72408 cat >>confdefs.h <<_ACEOF
72409 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
72410 _ACEOF
72413 done
72423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
72424 $as_echo_n "checking for expf declaration... " >&6; }
72425 if test x${glibcxx_cv_func_expf_use+set} != xset; then
72426 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
72427 $as_echo_n "(cached) " >&6
72428 else
72431 ac_ext=cpp
72432 ac_cpp='$CXXCPP $CPPFLAGS'
72433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72438 /* end confdefs.h. */
72439 #include <math.h>
72440 #ifdef HAVE_IEEEFP_H
72441 #include <ieeefp.h>
72442 #endif
72445 main ()
72447 expf(0);
72449 return 0;
72451 _ACEOF
72452 if ac_fn_cxx_try_compile "$LINENO"; then :
72453 glibcxx_cv_func_expf_use=yes
72454 else
72455 glibcxx_cv_func_expf_use=no
72457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72458 ac_ext=c
72459 ac_cpp='$CPP $CPPFLAGS'
72460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
72469 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
72471 if test x$glibcxx_cv_func_expf_use = x"yes"; then
72472 for ac_func in expf
72473 do :
72474 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
72475 if test "x$ac_cv_func_expf" = x""yes; then :
72476 cat >>confdefs.h <<_ACEOF
72477 #define HAVE_EXPF 1
72478 _ACEOF
72481 done
72483 else
72485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
72486 $as_echo_n "checking for _expf declaration... " >&6; }
72487 if test x${glibcxx_cv_func__expf_use+set} != xset; then
72488 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
72489 $as_echo_n "(cached) " >&6
72490 else
72493 ac_ext=cpp
72494 ac_cpp='$CXXCPP $CPPFLAGS'
72495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72500 /* end confdefs.h. */
72501 #include <math.h>
72502 #ifdef HAVE_IEEEFP_H
72503 #include <ieeefp.h>
72504 #endif
72507 main ()
72509 _expf(0);
72511 return 0;
72513 _ACEOF
72514 if ac_fn_cxx_try_compile "$LINENO"; then :
72515 glibcxx_cv_func__expf_use=yes
72516 else
72517 glibcxx_cv_func__expf_use=no
72519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72520 ac_ext=c
72521 ac_cpp='$CPP $CPPFLAGS'
72522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
72531 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
72533 if test x$glibcxx_cv_func__expf_use = x"yes"; then
72534 for ac_func in _expf
72535 do :
72536 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
72537 if test "x$ac_cv_func__expf" = x""yes; then :
72538 cat >>confdefs.h <<_ACEOF
72539 #define HAVE__EXPF 1
72540 _ACEOF
72543 done
72552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
72553 $as_echo_n "checking for isnanf declaration... " >&6; }
72554 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
72555 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
72556 $as_echo_n "(cached) " >&6
72557 else
72560 ac_ext=cpp
72561 ac_cpp='$CXXCPP $CPPFLAGS'
72562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72567 /* end confdefs.h. */
72568 #include <math.h>
72569 #ifdef HAVE_IEEEFP_H
72570 #include <ieeefp.h>
72571 #endif
72574 main ()
72576 isnanf(0);
72578 return 0;
72580 _ACEOF
72581 if ac_fn_cxx_try_compile "$LINENO"; then :
72582 glibcxx_cv_func_isnanf_use=yes
72583 else
72584 glibcxx_cv_func_isnanf_use=no
72586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72587 ac_ext=c
72588 ac_cpp='$CPP $CPPFLAGS'
72589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
72598 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
72600 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
72601 for ac_func in isnanf
72602 do :
72603 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
72604 if test "x$ac_cv_func_isnanf" = x""yes; then :
72605 cat >>confdefs.h <<_ACEOF
72606 #define HAVE_ISNANF 1
72607 _ACEOF
72610 done
72612 else
72614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
72615 $as_echo_n "checking for _isnanf declaration... " >&6; }
72616 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
72617 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
72618 $as_echo_n "(cached) " >&6
72619 else
72622 ac_ext=cpp
72623 ac_cpp='$CXXCPP $CPPFLAGS'
72624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72629 /* end confdefs.h. */
72630 #include <math.h>
72631 #ifdef HAVE_IEEEFP_H
72632 #include <ieeefp.h>
72633 #endif
72636 main ()
72638 _isnanf(0);
72640 return 0;
72642 _ACEOF
72643 if ac_fn_cxx_try_compile "$LINENO"; then :
72644 glibcxx_cv_func__isnanf_use=yes
72645 else
72646 glibcxx_cv_func__isnanf_use=no
72648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72649 ac_ext=c
72650 ac_cpp='$CPP $CPPFLAGS'
72651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
72660 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
72662 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
72663 for ac_func in _isnanf
72664 do :
72665 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
72666 if test "x$ac_cv_func__isnanf" = x""yes; then :
72667 cat >>confdefs.h <<_ACEOF
72668 #define HAVE__ISNANF 1
72669 _ACEOF
72672 done
72681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
72682 $as_echo_n "checking for isinff declaration... " >&6; }
72683 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
72684 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
72685 $as_echo_n "(cached) " >&6
72686 else
72689 ac_ext=cpp
72690 ac_cpp='$CXXCPP $CPPFLAGS'
72691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72696 /* end confdefs.h. */
72697 #include <math.h>
72698 #ifdef HAVE_IEEEFP_H
72699 #include <ieeefp.h>
72700 #endif
72703 main ()
72705 isinff(0);
72707 return 0;
72709 _ACEOF
72710 if ac_fn_cxx_try_compile "$LINENO"; then :
72711 glibcxx_cv_func_isinff_use=yes
72712 else
72713 glibcxx_cv_func_isinff_use=no
72715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72716 ac_ext=c
72717 ac_cpp='$CPP $CPPFLAGS'
72718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
72727 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
72729 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
72730 for ac_func in isinff
72731 do :
72732 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
72733 if test "x$ac_cv_func_isinff" = x""yes; then :
72734 cat >>confdefs.h <<_ACEOF
72735 #define HAVE_ISINFF 1
72736 _ACEOF
72739 done
72741 else
72743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
72744 $as_echo_n "checking for _isinff declaration... " >&6; }
72745 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
72746 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
72747 $as_echo_n "(cached) " >&6
72748 else
72751 ac_ext=cpp
72752 ac_cpp='$CXXCPP $CPPFLAGS'
72753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72758 /* end confdefs.h. */
72759 #include <math.h>
72760 #ifdef HAVE_IEEEFP_H
72761 #include <ieeefp.h>
72762 #endif
72765 main ()
72767 _isinff(0);
72769 return 0;
72771 _ACEOF
72772 if ac_fn_cxx_try_compile "$LINENO"; then :
72773 glibcxx_cv_func__isinff_use=yes
72774 else
72775 glibcxx_cv_func__isinff_use=no
72777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72778 ac_ext=c
72779 ac_cpp='$CPP $CPPFLAGS'
72780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
72789 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
72791 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
72792 for ac_func in _isinff
72793 do :
72794 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
72795 if test "x$ac_cv_func__isinff" = x""yes; then :
72796 cat >>confdefs.h <<_ACEOF
72797 #define HAVE__ISINFF 1
72798 _ACEOF
72801 done
72810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
72811 $as_echo_n "checking for atan2f declaration... " >&6; }
72812 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
72813 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
72814 $as_echo_n "(cached) " >&6
72815 else
72818 ac_ext=cpp
72819 ac_cpp='$CXXCPP $CPPFLAGS'
72820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72825 /* end confdefs.h. */
72826 #include <math.h>
72828 main ()
72830 atan2f(0, 0);
72832 return 0;
72834 _ACEOF
72835 if ac_fn_cxx_try_compile "$LINENO"; then :
72836 glibcxx_cv_func_atan2f_use=yes
72837 else
72838 glibcxx_cv_func_atan2f_use=no
72840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72841 ac_ext=c
72842 ac_cpp='$CPP $CPPFLAGS'
72843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
72852 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
72854 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
72855 for ac_func in atan2f
72856 do :
72857 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
72858 if test "x$ac_cv_func_atan2f" = x""yes; then :
72859 cat >>confdefs.h <<_ACEOF
72860 #define HAVE_ATAN2F 1
72861 _ACEOF
72864 done
72866 else
72868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
72869 $as_echo_n "checking for _atan2f declaration... " >&6; }
72870 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
72871 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
72872 $as_echo_n "(cached) " >&6
72873 else
72876 ac_ext=cpp
72877 ac_cpp='$CXXCPP $CPPFLAGS'
72878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72883 /* end confdefs.h. */
72884 #include <math.h>
72886 main ()
72888 _atan2f(0, 0);
72890 return 0;
72892 _ACEOF
72893 if ac_fn_cxx_try_compile "$LINENO"; then :
72894 glibcxx_cv_func__atan2f_use=yes
72895 else
72896 glibcxx_cv_func__atan2f_use=no
72898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72899 ac_ext=c
72900 ac_cpp='$CPP $CPPFLAGS'
72901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
72910 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
72912 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
72913 for ac_func in _atan2f
72914 do :
72915 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
72916 if test "x$ac_cv_func__atan2f" = x""yes; then :
72917 cat >>confdefs.h <<_ACEOF
72918 #define HAVE__ATAN2F 1
72919 _ACEOF
72922 done
72931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
72932 $as_echo_n "checking for fabsf declaration... " >&6; }
72933 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
72934 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
72935 $as_echo_n "(cached) " >&6
72936 else
72939 ac_ext=cpp
72940 ac_cpp='$CXXCPP $CPPFLAGS'
72941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72946 /* end confdefs.h. */
72947 #include <math.h>
72948 #ifdef HAVE_IEEEFP_H
72949 #include <ieeefp.h>
72950 #endif
72953 main ()
72955 fabsf(0);
72957 return 0;
72959 _ACEOF
72960 if ac_fn_cxx_try_compile "$LINENO"; then :
72961 glibcxx_cv_func_fabsf_use=yes
72962 else
72963 glibcxx_cv_func_fabsf_use=no
72965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72966 ac_ext=c
72967 ac_cpp='$CPP $CPPFLAGS'
72968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
72977 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
72979 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
72980 for ac_func in fabsf
72981 do :
72982 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
72983 if test "x$ac_cv_func_fabsf" = x""yes; then :
72984 cat >>confdefs.h <<_ACEOF
72985 #define HAVE_FABSF 1
72986 _ACEOF
72989 done
72991 else
72993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
72994 $as_echo_n "checking for _fabsf declaration... " >&6; }
72995 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
72996 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
72997 $as_echo_n "(cached) " >&6
72998 else
73001 ac_ext=cpp
73002 ac_cpp='$CXXCPP $CPPFLAGS'
73003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73008 /* end confdefs.h. */
73009 #include <math.h>
73010 #ifdef HAVE_IEEEFP_H
73011 #include <ieeefp.h>
73012 #endif
73015 main ()
73017 _fabsf(0);
73019 return 0;
73021 _ACEOF
73022 if ac_fn_cxx_try_compile "$LINENO"; then :
73023 glibcxx_cv_func__fabsf_use=yes
73024 else
73025 glibcxx_cv_func__fabsf_use=no
73027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73028 ac_ext=c
73029 ac_cpp='$CPP $CPPFLAGS'
73030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
73039 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
73041 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
73042 for ac_func in _fabsf
73043 do :
73044 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
73045 if test "x$ac_cv_func__fabsf" = x""yes; then :
73046 cat >>confdefs.h <<_ACEOF
73047 #define HAVE__FABSF 1
73048 _ACEOF
73051 done
73060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
73061 $as_echo_n "checking for fmodf declaration... " >&6; }
73062 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
73063 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
73064 $as_echo_n "(cached) " >&6
73065 else
73068 ac_ext=cpp
73069 ac_cpp='$CXXCPP $CPPFLAGS'
73070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73075 /* end confdefs.h. */
73076 #include <math.h>
73078 main ()
73080 fmodf(0, 0);
73082 return 0;
73084 _ACEOF
73085 if ac_fn_cxx_try_compile "$LINENO"; then :
73086 glibcxx_cv_func_fmodf_use=yes
73087 else
73088 glibcxx_cv_func_fmodf_use=no
73090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73091 ac_ext=c
73092 ac_cpp='$CPP $CPPFLAGS'
73093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
73102 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
73104 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
73105 for ac_func in fmodf
73106 do :
73107 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
73108 if test "x$ac_cv_func_fmodf" = x""yes; then :
73109 cat >>confdefs.h <<_ACEOF
73110 #define HAVE_FMODF 1
73111 _ACEOF
73114 done
73116 else
73118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
73119 $as_echo_n "checking for _fmodf declaration... " >&6; }
73120 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
73121 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
73122 $as_echo_n "(cached) " >&6
73123 else
73126 ac_ext=cpp
73127 ac_cpp='$CXXCPP $CPPFLAGS'
73128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73133 /* end confdefs.h. */
73134 #include <math.h>
73136 main ()
73138 _fmodf(0, 0);
73140 return 0;
73142 _ACEOF
73143 if ac_fn_cxx_try_compile "$LINENO"; then :
73144 glibcxx_cv_func__fmodf_use=yes
73145 else
73146 glibcxx_cv_func__fmodf_use=no
73148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73149 ac_ext=c
73150 ac_cpp='$CPP $CPPFLAGS'
73151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
73160 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
73162 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
73163 for ac_func in _fmodf
73164 do :
73165 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
73166 if test "x$ac_cv_func__fmodf" = x""yes; then :
73167 cat >>confdefs.h <<_ACEOF
73168 #define HAVE__FMODF 1
73169 _ACEOF
73172 done
73181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
73182 $as_echo_n "checking for frexpf declaration... " >&6; }
73183 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
73184 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
73185 $as_echo_n "(cached) " >&6
73186 else
73189 ac_ext=cpp
73190 ac_cpp='$CXXCPP $CPPFLAGS'
73191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73196 /* end confdefs.h. */
73197 #include <math.h>
73199 main ()
73201 frexpf(0, 0);
73203 return 0;
73205 _ACEOF
73206 if ac_fn_cxx_try_compile "$LINENO"; then :
73207 glibcxx_cv_func_frexpf_use=yes
73208 else
73209 glibcxx_cv_func_frexpf_use=no
73211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73212 ac_ext=c
73213 ac_cpp='$CPP $CPPFLAGS'
73214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
73223 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
73225 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
73226 for ac_func in frexpf
73227 do :
73228 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
73229 if test "x$ac_cv_func_frexpf" = x""yes; then :
73230 cat >>confdefs.h <<_ACEOF
73231 #define HAVE_FREXPF 1
73232 _ACEOF
73235 done
73237 else
73239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
73240 $as_echo_n "checking for _frexpf declaration... " >&6; }
73241 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
73242 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
73243 $as_echo_n "(cached) " >&6
73244 else
73247 ac_ext=cpp
73248 ac_cpp='$CXXCPP $CPPFLAGS'
73249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73254 /* end confdefs.h. */
73255 #include <math.h>
73257 main ()
73259 _frexpf(0, 0);
73261 return 0;
73263 _ACEOF
73264 if ac_fn_cxx_try_compile "$LINENO"; then :
73265 glibcxx_cv_func__frexpf_use=yes
73266 else
73267 glibcxx_cv_func__frexpf_use=no
73269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73270 ac_ext=c
73271 ac_cpp='$CPP $CPPFLAGS'
73272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
73281 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
73283 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
73284 for ac_func in _frexpf
73285 do :
73286 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
73287 if test "x$ac_cv_func__frexpf" = x""yes; then :
73288 cat >>confdefs.h <<_ACEOF
73289 #define HAVE__FREXPF 1
73290 _ACEOF
73293 done
73302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
73303 $as_echo_n "checking for hypotf declaration... " >&6; }
73304 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
73305 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
73306 $as_echo_n "(cached) " >&6
73307 else
73310 ac_ext=cpp
73311 ac_cpp='$CXXCPP $CPPFLAGS'
73312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73317 /* end confdefs.h. */
73318 #include <math.h>
73320 main ()
73322 hypotf(0, 0);
73324 return 0;
73326 _ACEOF
73327 if ac_fn_cxx_try_compile "$LINENO"; then :
73328 glibcxx_cv_func_hypotf_use=yes
73329 else
73330 glibcxx_cv_func_hypotf_use=no
73332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73333 ac_ext=c
73334 ac_cpp='$CPP $CPPFLAGS'
73335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
73344 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
73346 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
73347 for ac_func in hypotf
73348 do :
73349 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
73350 if test "x$ac_cv_func_hypotf" = x""yes; then :
73351 cat >>confdefs.h <<_ACEOF
73352 #define HAVE_HYPOTF 1
73353 _ACEOF
73356 done
73358 else
73360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
73361 $as_echo_n "checking for _hypotf declaration... " >&6; }
73362 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
73363 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
73364 $as_echo_n "(cached) " >&6
73365 else
73368 ac_ext=cpp
73369 ac_cpp='$CXXCPP $CPPFLAGS'
73370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73375 /* end confdefs.h. */
73376 #include <math.h>
73378 main ()
73380 _hypotf(0, 0);
73382 return 0;
73384 _ACEOF
73385 if ac_fn_cxx_try_compile "$LINENO"; then :
73386 glibcxx_cv_func__hypotf_use=yes
73387 else
73388 glibcxx_cv_func__hypotf_use=no
73390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73391 ac_ext=c
73392 ac_cpp='$CPP $CPPFLAGS'
73393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
73402 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
73404 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
73405 for ac_func in _hypotf
73406 do :
73407 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
73408 if test "x$ac_cv_func__hypotf" = x""yes; then :
73409 cat >>confdefs.h <<_ACEOF
73410 #define HAVE__HYPOTF 1
73411 _ACEOF
73414 done
73423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
73424 $as_echo_n "checking for ldexpf declaration... " >&6; }
73425 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
73426 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
73427 $as_echo_n "(cached) " >&6
73428 else
73431 ac_ext=cpp
73432 ac_cpp='$CXXCPP $CPPFLAGS'
73433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73438 /* end confdefs.h. */
73439 #include <math.h>
73441 main ()
73443 ldexpf(0, 0);
73445 return 0;
73447 _ACEOF
73448 if ac_fn_cxx_try_compile "$LINENO"; then :
73449 glibcxx_cv_func_ldexpf_use=yes
73450 else
73451 glibcxx_cv_func_ldexpf_use=no
73453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73454 ac_ext=c
73455 ac_cpp='$CPP $CPPFLAGS'
73456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
73465 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
73467 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
73468 for ac_func in ldexpf
73469 do :
73470 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
73471 if test "x$ac_cv_func_ldexpf" = x""yes; then :
73472 cat >>confdefs.h <<_ACEOF
73473 #define HAVE_LDEXPF 1
73474 _ACEOF
73477 done
73479 else
73481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
73482 $as_echo_n "checking for _ldexpf declaration... " >&6; }
73483 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
73484 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
73485 $as_echo_n "(cached) " >&6
73486 else
73489 ac_ext=cpp
73490 ac_cpp='$CXXCPP $CPPFLAGS'
73491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73496 /* end confdefs.h. */
73497 #include <math.h>
73499 main ()
73501 _ldexpf(0, 0);
73503 return 0;
73505 _ACEOF
73506 if ac_fn_cxx_try_compile "$LINENO"; then :
73507 glibcxx_cv_func__ldexpf_use=yes
73508 else
73509 glibcxx_cv_func__ldexpf_use=no
73511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73512 ac_ext=c
73513 ac_cpp='$CPP $CPPFLAGS'
73514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
73523 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
73525 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
73526 for ac_func in _ldexpf
73527 do :
73528 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
73529 if test "x$ac_cv_func__ldexpf" = x""yes; then :
73530 cat >>confdefs.h <<_ACEOF
73531 #define HAVE__LDEXPF 1
73532 _ACEOF
73535 done
73544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
73545 $as_echo_n "checking for logf declaration... " >&6; }
73546 if test x${glibcxx_cv_func_logf_use+set} != xset; then
73547 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
73548 $as_echo_n "(cached) " >&6
73549 else
73552 ac_ext=cpp
73553 ac_cpp='$CXXCPP $CPPFLAGS'
73554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73559 /* end confdefs.h. */
73560 #include <math.h>
73561 #ifdef HAVE_IEEEFP_H
73562 #include <ieeefp.h>
73563 #endif
73566 main ()
73568 logf(0);
73570 return 0;
73572 _ACEOF
73573 if ac_fn_cxx_try_compile "$LINENO"; then :
73574 glibcxx_cv_func_logf_use=yes
73575 else
73576 glibcxx_cv_func_logf_use=no
73578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73579 ac_ext=c
73580 ac_cpp='$CPP $CPPFLAGS'
73581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
73590 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
73592 if test x$glibcxx_cv_func_logf_use = x"yes"; then
73593 for ac_func in logf
73594 do :
73595 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
73596 if test "x$ac_cv_func_logf" = x""yes; then :
73597 cat >>confdefs.h <<_ACEOF
73598 #define HAVE_LOGF 1
73599 _ACEOF
73602 done
73604 else
73606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
73607 $as_echo_n "checking for _logf declaration... " >&6; }
73608 if test x${glibcxx_cv_func__logf_use+set} != xset; then
73609 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
73610 $as_echo_n "(cached) " >&6
73611 else
73614 ac_ext=cpp
73615 ac_cpp='$CXXCPP $CPPFLAGS'
73616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73621 /* end confdefs.h. */
73622 #include <math.h>
73623 #ifdef HAVE_IEEEFP_H
73624 #include <ieeefp.h>
73625 #endif
73628 main ()
73630 _logf(0);
73632 return 0;
73634 _ACEOF
73635 if ac_fn_cxx_try_compile "$LINENO"; then :
73636 glibcxx_cv_func__logf_use=yes
73637 else
73638 glibcxx_cv_func__logf_use=no
73640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73641 ac_ext=c
73642 ac_cpp='$CPP $CPPFLAGS'
73643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
73652 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
73654 if test x$glibcxx_cv_func__logf_use = x"yes"; then
73655 for ac_func in _logf
73656 do :
73657 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
73658 if test "x$ac_cv_func__logf" = x""yes; then :
73659 cat >>confdefs.h <<_ACEOF
73660 #define HAVE__LOGF 1
73661 _ACEOF
73664 done
73673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
73674 $as_echo_n "checking for log10f declaration... " >&6; }
73675 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
73676 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
73677 $as_echo_n "(cached) " >&6
73678 else
73681 ac_ext=cpp
73682 ac_cpp='$CXXCPP $CPPFLAGS'
73683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73688 /* end confdefs.h. */
73689 #include <math.h>
73690 #ifdef HAVE_IEEEFP_H
73691 #include <ieeefp.h>
73692 #endif
73695 main ()
73697 log10f(0);
73699 return 0;
73701 _ACEOF
73702 if ac_fn_cxx_try_compile "$LINENO"; then :
73703 glibcxx_cv_func_log10f_use=yes
73704 else
73705 glibcxx_cv_func_log10f_use=no
73707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73708 ac_ext=c
73709 ac_cpp='$CPP $CPPFLAGS'
73710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
73719 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
73721 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
73722 for ac_func in log10f
73723 do :
73724 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
73725 if test "x$ac_cv_func_log10f" = x""yes; then :
73726 cat >>confdefs.h <<_ACEOF
73727 #define HAVE_LOG10F 1
73728 _ACEOF
73731 done
73733 else
73735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
73736 $as_echo_n "checking for _log10f declaration... " >&6; }
73737 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
73738 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
73739 $as_echo_n "(cached) " >&6
73740 else
73743 ac_ext=cpp
73744 ac_cpp='$CXXCPP $CPPFLAGS'
73745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73750 /* end confdefs.h. */
73751 #include <math.h>
73752 #ifdef HAVE_IEEEFP_H
73753 #include <ieeefp.h>
73754 #endif
73757 main ()
73759 _log10f(0);
73761 return 0;
73763 _ACEOF
73764 if ac_fn_cxx_try_compile "$LINENO"; then :
73765 glibcxx_cv_func__log10f_use=yes
73766 else
73767 glibcxx_cv_func__log10f_use=no
73769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73770 ac_ext=c
73771 ac_cpp='$CPP $CPPFLAGS'
73772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
73781 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
73783 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
73784 for ac_func in _log10f
73785 do :
73786 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
73787 if test "x$ac_cv_func__log10f" = x""yes; then :
73788 cat >>confdefs.h <<_ACEOF
73789 #define HAVE__LOG10F 1
73790 _ACEOF
73793 done
73802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
73803 $as_echo_n "checking for modff declaration... " >&6; }
73804 if test x${glibcxx_cv_func_modff_use+set} != xset; then
73805 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
73806 $as_echo_n "(cached) " >&6
73807 else
73810 ac_ext=cpp
73811 ac_cpp='$CXXCPP $CPPFLAGS'
73812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73817 /* end confdefs.h. */
73818 #include <math.h>
73820 main ()
73822 modff(0, 0);
73824 return 0;
73826 _ACEOF
73827 if ac_fn_cxx_try_compile "$LINENO"; then :
73828 glibcxx_cv_func_modff_use=yes
73829 else
73830 glibcxx_cv_func_modff_use=no
73832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73833 ac_ext=c
73834 ac_cpp='$CPP $CPPFLAGS'
73835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
73844 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
73846 if test x$glibcxx_cv_func_modff_use = x"yes"; then
73847 for ac_func in modff
73848 do :
73849 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
73850 if test "x$ac_cv_func_modff" = x""yes; then :
73851 cat >>confdefs.h <<_ACEOF
73852 #define HAVE_MODFF 1
73853 _ACEOF
73856 done
73858 else
73860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
73861 $as_echo_n "checking for _modff declaration... " >&6; }
73862 if test x${glibcxx_cv_func__modff_use+set} != xset; then
73863 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
73864 $as_echo_n "(cached) " >&6
73865 else
73868 ac_ext=cpp
73869 ac_cpp='$CXXCPP $CPPFLAGS'
73870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73875 /* end confdefs.h. */
73876 #include <math.h>
73878 main ()
73880 _modff(0, 0);
73882 return 0;
73884 _ACEOF
73885 if ac_fn_cxx_try_compile "$LINENO"; then :
73886 glibcxx_cv_func__modff_use=yes
73887 else
73888 glibcxx_cv_func__modff_use=no
73890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73891 ac_ext=c
73892 ac_cpp='$CPP $CPPFLAGS'
73893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
73902 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
73904 if test x$glibcxx_cv_func__modff_use = x"yes"; then
73905 for ac_func in _modff
73906 do :
73907 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
73908 if test "x$ac_cv_func__modff" = x""yes; then :
73909 cat >>confdefs.h <<_ACEOF
73910 #define HAVE__MODFF 1
73911 _ACEOF
73914 done
73923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
73924 $as_echo_n "checking for modf declaration... " >&6; }
73925 if test x${glibcxx_cv_func_modf_use+set} != xset; then
73926 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
73927 $as_echo_n "(cached) " >&6
73928 else
73931 ac_ext=cpp
73932 ac_cpp='$CXXCPP $CPPFLAGS'
73933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73938 /* end confdefs.h. */
73939 #include <math.h>
73941 main ()
73943 modf(0, 0);
73945 return 0;
73947 _ACEOF
73948 if ac_fn_cxx_try_compile "$LINENO"; then :
73949 glibcxx_cv_func_modf_use=yes
73950 else
73951 glibcxx_cv_func_modf_use=no
73953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73954 ac_ext=c
73955 ac_cpp='$CPP $CPPFLAGS'
73956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
73965 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
73967 if test x$glibcxx_cv_func_modf_use = x"yes"; then
73968 for ac_func in modf
73969 do :
73970 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
73971 if test "x$ac_cv_func_modf" = x""yes; then :
73972 cat >>confdefs.h <<_ACEOF
73973 #define HAVE_MODF 1
73974 _ACEOF
73977 done
73979 else
73981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
73982 $as_echo_n "checking for _modf declaration... " >&6; }
73983 if test x${glibcxx_cv_func__modf_use+set} != xset; then
73984 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
73985 $as_echo_n "(cached) " >&6
73986 else
73989 ac_ext=cpp
73990 ac_cpp='$CXXCPP $CPPFLAGS'
73991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73996 /* end confdefs.h. */
73997 #include <math.h>
73999 main ()
74001 _modf(0, 0);
74003 return 0;
74005 _ACEOF
74006 if ac_fn_cxx_try_compile "$LINENO"; then :
74007 glibcxx_cv_func__modf_use=yes
74008 else
74009 glibcxx_cv_func__modf_use=no
74011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74012 ac_ext=c
74013 ac_cpp='$CPP $CPPFLAGS'
74014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
74023 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
74025 if test x$glibcxx_cv_func__modf_use = x"yes"; then
74026 for ac_func in _modf
74027 do :
74028 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
74029 if test "x$ac_cv_func__modf" = x""yes; then :
74030 cat >>confdefs.h <<_ACEOF
74031 #define HAVE__MODF 1
74032 _ACEOF
74035 done
74044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
74045 $as_echo_n "checking for powf declaration... " >&6; }
74046 if test x${glibcxx_cv_func_powf_use+set} != xset; then
74047 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
74048 $as_echo_n "(cached) " >&6
74049 else
74052 ac_ext=cpp
74053 ac_cpp='$CXXCPP $CPPFLAGS'
74054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74059 /* end confdefs.h. */
74060 #include <math.h>
74062 main ()
74064 powf(0, 0);
74066 return 0;
74068 _ACEOF
74069 if ac_fn_cxx_try_compile "$LINENO"; then :
74070 glibcxx_cv_func_powf_use=yes
74071 else
74072 glibcxx_cv_func_powf_use=no
74074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74075 ac_ext=c
74076 ac_cpp='$CPP $CPPFLAGS'
74077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
74086 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
74088 if test x$glibcxx_cv_func_powf_use = x"yes"; then
74089 for ac_func in powf
74090 do :
74091 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
74092 if test "x$ac_cv_func_powf" = x""yes; then :
74093 cat >>confdefs.h <<_ACEOF
74094 #define HAVE_POWF 1
74095 _ACEOF
74098 done
74100 else
74102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
74103 $as_echo_n "checking for _powf declaration... " >&6; }
74104 if test x${glibcxx_cv_func__powf_use+set} != xset; then
74105 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
74106 $as_echo_n "(cached) " >&6
74107 else
74110 ac_ext=cpp
74111 ac_cpp='$CXXCPP $CPPFLAGS'
74112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74117 /* end confdefs.h. */
74118 #include <math.h>
74120 main ()
74122 _powf(0, 0);
74124 return 0;
74126 _ACEOF
74127 if ac_fn_cxx_try_compile "$LINENO"; then :
74128 glibcxx_cv_func__powf_use=yes
74129 else
74130 glibcxx_cv_func__powf_use=no
74132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74133 ac_ext=c
74134 ac_cpp='$CPP $CPPFLAGS'
74135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
74144 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
74146 if test x$glibcxx_cv_func__powf_use = x"yes"; then
74147 for ac_func in _powf
74148 do :
74149 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
74150 if test "x$ac_cv_func__powf" = x""yes; then :
74151 cat >>confdefs.h <<_ACEOF
74152 #define HAVE__POWF 1
74153 _ACEOF
74156 done
74165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
74166 $as_echo_n "checking for sqrtf declaration... " >&6; }
74167 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
74168 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
74169 $as_echo_n "(cached) " >&6
74170 else
74173 ac_ext=cpp
74174 ac_cpp='$CXXCPP $CPPFLAGS'
74175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74180 /* end confdefs.h. */
74181 #include <math.h>
74182 #ifdef HAVE_IEEEFP_H
74183 #include <ieeefp.h>
74184 #endif
74187 main ()
74189 sqrtf(0);
74191 return 0;
74193 _ACEOF
74194 if ac_fn_cxx_try_compile "$LINENO"; then :
74195 glibcxx_cv_func_sqrtf_use=yes
74196 else
74197 glibcxx_cv_func_sqrtf_use=no
74199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74200 ac_ext=c
74201 ac_cpp='$CPP $CPPFLAGS'
74202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
74211 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
74213 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
74214 for ac_func in sqrtf
74215 do :
74216 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
74217 if test "x$ac_cv_func_sqrtf" = x""yes; then :
74218 cat >>confdefs.h <<_ACEOF
74219 #define HAVE_SQRTF 1
74220 _ACEOF
74223 done
74225 else
74227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
74228 $as_echo_n "checking for _sqrtf declaration... " >&6; }
74229 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
74230 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
74231 $as_echo_n "(cached) " >&6
74232 else
74235 ac_ext=cpp
74236 ac_cpp='$CXXCPP $CPPFLAGS'
74237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74242 /* end confdefs.h. */
74243 #include <math.h>
74244 #ifdef HAVE_IEEEFP_H
74245 #include <ieeefp.h>
74246 #endif
74249 main ()
74251 _sqrtf(0);
74253 return 0;
74255 _ACEOF
74256 if ac_fn_cxx_try_compile "$LINENO"; then :
74257 glibcxx_cv_func__sqrtf_use=yes
74258 else
74259 glibcxx_cv_func__sqrtf_use=no
74261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74262 ac_ext=c
74263 ac_cpp='$CPP $CPPFLAGS'
74264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
74273 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
74275 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
74276 for ac_func in _sqrtf
74277 do :
74278 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
74279 if test "x$ac_cv_func__sqrtf" = x""yes; then :
74280 cat >>confdefs.h <<_ACEOF
74281 #define HAVE__SQRTF 1
74282 _ACEOF
74285 done
74294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
74295 $as_echo_n "checking for sincosf declaration... " >&6; }
74296 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
74297 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
74298 $as_echo_n "(cached) " >&6
74299 else
74302 ac_ext=cpp
74303 ac_cpp='$CXXCPP $CPPFLAGS'
74304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74309 /* end confdefs.h. */
74310 #include <math.h>
74312 main ()
74314 sincosf(0, 0, 0);
74316 return 0;
74318 _ACEOF
74319 if ac_fn_cxx_try_compile "$LINENO"; then :
74320 glibcxx_cv_func_sincosf_use=yes
74321 else
74322 glibcxx_cv_func_sincosf_use=no
74324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74325 ac_ext=c
74326 ac_cpp='$CPP $CPPFLAGS'
74327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
74336 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
74338 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
74339 for ac_func in sincosf
74340 do :
74341 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
74342 if test "x$ac_cv_func_sincosf" = x""yes; then :
74343 cat >>confdefs.h <<_ACEOF
74344 #define HAVE_SINCOSF 1
74345 _ACEOF
74348 done
74350 else
74352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
74353 $as_echo_n "checking for _sincosf declaration... " >&6; }
74354 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
74355 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
74356 $as_echo_n "(cached) " >&6
74357 else
74360 ac_ext=cpp
74361 ac_cpp='$CXXCPP $CPPFLAGS'
74362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74367 /* end confdefs.h. */
74368 #include <math.h>
74370 main ()
74372 _sincosf(0, 0, 0);
74374 return 0;
74376 _ACEOF
74377 if ac_fn_cxx_try_compile "$LINENO"; then :
74378 glibcxx_cv_func__sincosf_use=yes
74379 else
74380 glibcxx_cv_func__sincosf_use=no
74382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74383 ac_ext=c
74384 ac_cpp='$CPP $CPPFLAGS'
74385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
74394 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
74396 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
74397 for ac_func in _sincosf
74398 do :
74399 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
74400 if test "x$ac_cv_func__sincosf" = x""yes; then :
74401 cat >>confdefs.h <<_ACEOF
74402 #define HAVE__SINCOSF 1
74403 _ACEOF
74406 done
74415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
74416 $as_echo_n "checking for finitef declaration... " >&6; }
74417 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
74418 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
74419 $as_echo_n "(cached) " >&6
74420 else
74423 ac_ext=cpp
74424 ac_cpp='$CXXCPP $CPPFLAGS'
74425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74430 /* end confdefs.h. */
74431 #include <math.h>
74432 #ifdef HAVE_IEEEFP_H
74433 #include <ieeefp.h>
74434 #endif
74437 main ()
74439 finitef(0);
74441 return 0;
74443 _ACEOF
74444 if ac_fn_cxx_try_compile "$LINENO"; then :
74445 glibcxx_cv_func_finitef_use=yes
74446 else
74447 glibcxx_cv_func_finitef_use=no
74449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74450 ac_ext=c
74451 ac_cpp='$CPP $CPPFLAGS'
74452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
74461 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
74463 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
74464 for ac_func in finitef
74465 do :
74466 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
74467 if test "x$ac_cv_func_finitef" = x""yes; then :
74468 cat >>confdefs.h <<_ACEOF
74469 #define HAVE_FINITEF 1
74470 _ACEOF
74473 done
74475 else
74477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
74478 $as_echo_n "checking for _finitef declaration... " >&6; }
74479 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
74480 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
74481 $as_echo_n "(cached) " >&6
74482 else
74485 ac_ext=cpp
74486 ac_cpp='$CXXCPP $CPPFLAGS'
74487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74492 /* end confdefs.h. */
74493 #include <math.h>
74494 #ifdef HAVE_IEEEFP_H
74495 #include <ieeefp.h>
74496 #endif
74499 main ()
74501 _finitef(0);
74503 return 0;
74505 _ACEOF
74506 if ac_fn_cxx_try_compile "$LINENO"; then :
74507 glibcxx_cv_func__finitef_use=yes
74508 else
74509 glibcxx_cv_func__finitef_use=no
74511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74512 ac_ext=c
74513 ac_cpp='$CPP $CPPFLAGS'
74514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
74523 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
74525 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
74526 for ac_func in _finitef
74527 do :
74528 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
74529 if test "x$ac_cv_func__finitef" = x""yes; then :
74530 cat >>confdefs.h <<_ACEOF
74531 #define HAVE__FINITEF 1
74532 _ACEOF
74535 done
74544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
74545 $as_echo_n "checking for long double trig functions... " >&6; }
74546 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
74547 $as_echo_n "(cached) " >&6
74548 else
74551 ac_ext=cpp
74552 ac_cpp='$CXXCPP $CPPFLAGS'
74553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74558 /* end confdefs.h. */
74559 #include <math.h>
74561 main ()
74563 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
74565 return 0;
74567 _ACEOF
74568 if ac_fn_cxx_try_compile "$LINENO"; then :
74569 glibcxx_cv_func_long_double_trig_use=yes
74570 else
74571 glibcxx_cv_func_long_double_trig_use=no
74573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74574 ac_ext=c
74575 ac_cpp='$CPP $CPPFLAGS'
74576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
74583 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
74584 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
74585 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
74586 do :
74587 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
74588 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
74589 eval as_val=\$$as_ac_var
74590 if test "x$as_val" = x""yes; then :
74591 cat >>confdefs.h <<_ACEOF
74592 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
74593 _ACEOF
74596 done
74598 else
74599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
74600 $as_echo_n "checking for _long double trig functions... " >&6; }
74601 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
74602 $as_echo_n "(cached) " >&6
74603 else
74606 ac_ext=cpp
74607 ac_cpp='$CXXCPP $CPPFLAGS'
74608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74613 /* end confdefs.h. */
74614 #include <math.h>
74616 main ()
74618 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
74620 return 0;
74622 _ACEOF
74623 if ac_fn_cxx_try_compile "$LINENO"; then :
74624 glibcxx_cv_func__long_double_trig_use=yes
74625 else
74626 glibcxx_cv_func__long_double_trig_use=no
74628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74629 ac_ext=c
74630 ac_cpp='$CPP $CPPFLAGS'
74631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
74638 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
74639 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
74640 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
74641 do :
74642 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
74643 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
74644 eval as_val=\$$as_ac_var
74645 if test "x$as_val" = x""yes; then :
74646 cat >>confdefs.h <<_ACEOF
74647 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
74648 _ACEOF
74651 done
74660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
74661 $as_echo_n "checking for long double round functions... " >&6; }
74662 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
74663 $as_echo_n "(cached) " >&6
74664 else
74667 ac_ext=cpp
74668 ac_cpp='$CXXCPP $CPPFLAGS'
74669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74674 /* end confdefs.h. */
74675 #include <math.h>
74677 main ()
74679 ceill (0); floorl (0);
74681 return 0;
74683 _ACEOF
74684 if ac_fn_cxx_try_compile "$LINENO"; then :
74685 glibcxx_cv_func_long_double_round_use=yes
74686 else
74687 glibcxx_cv_func_long_double_round_use=no
74689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74690 ac_ext=c
74691 ac_cpp='$CPP $CPPFLAGS'
74692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
74699 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
74700 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
74701 for ac_func in ceill floorl
74702 do :
74703 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
74704 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
74705 eval as_val=\$$as_ac_var
74706 if test "x$as_val" = x""yes; then :
74707 cat >>confdefs.h <<_ACEOF
74708 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
74709 _ACEOF
74712 done
74714 else
74715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
74716 $as_echo_n "checking for _long double round functions... " >&6; }
74717 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
74718 $as_echo_n "(cached) " >&6
74719 else
74722 ac_ext=cpp
74723 ac_cpp='$CXXCPP $CPPFLAGS'
74724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74729 /* end confdefs.h. */
74730 #include <math.h>
74732 main ()
74734 _ceill (0); _floorl (0);
74736 return 0;
74738 _ACEOF
74739 if ac_fn_cxx_try_compile "$LINENO"; then :
74740 glibcxx_cv_func__long_double_round_use=yes
74741 else
74742 glibcxx_cv_func__long_double_round_use=no
74744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74745 ac_ext=c
74746 ac_cpp='$CPP $CPPFLAGS'
74747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
74754 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
74755 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
74756 for ac_func in _ceill _floorl
74757 do :
74758 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
74759 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
74760 eval as_val=\$$as_ac_var
74761 if test "x$as_val" = x""yes; then :
74762 cat >>confdefs.h <<_ACEOF
74763 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
74764 _ACEOF
74767 done
74777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
74778 $as_echo_n "checking for isnanl declaration... " >&6; }
74779 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
74780 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
74781 $as_echo_n "(cached) " >&6
74782 else
74785 ac_ext=cpp
74786 ac_cpp='$CXXCPP $CPPFLAGS'
74787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74792 /* end confdefs.h. */
74793 #include <math.h>
74794 #ifdef HAVE_IEEEFP_H
74795 #include <ieeefp.h>
74796 #endif
74799 main ()
74801 isnanl(0);
74803 return 0;
74805 _ACEOF
74806 if ac_fn_cxx_try_compile "$LINENO"; then :
74807 glibcxx_cv_func_isnanl_use=yes
74808 else
74809 glibcxx_cv_func_isnanl_use=no
74811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74812 ac_ext=c
74813 ac_cpp='$CPP $CPPFLAGS'
74814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
74823 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
74825 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
74826 for ac_func in isnanl
74827 do :
74828 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
74829 if test "x$ac_cv_func_isnanl" = x""yes; then :
74830 cat >>confdefs.h <<_ACEOF
74831 #define HAVE_ISNANL 1
74832 _ACEOF
74835 done
74837 else
74839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
74840 $as_echo_n "checking for _isnanl declaration... " >&6; }
74841 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
74842 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
74843 $as_echo_n "(cached) " >&6
74844 else
74847 ac_ext=cpp
74848 ac_cpp='$CXXCPP $CPPFLAGS'
74849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74854 /* end confdefs.h. */
74855 #include <math.h>
74856 #ifdef HAVE_IEEEFP_H
74857 #include <ieeefp.h>
74858 #endif
74861 main ()
74863 _isnanl(0);
74865 return 0;
74867 _ACEOF
74868 if ac_fn_cxx_try_compile "$LINENO"; then :
74869 glibcxx_cv_func__isnanl_use=yes
74870 else
74871 glibcxx_cv_func__isnanl_use=no
74873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74874 ac_ext=c
74875 ac_cpp='$CPP $CPPFLAGS'
74876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
74885 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
74887 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
74888 for ac_func in _isnanl
74889 do :
74890 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
74891 if test "x$ac_cv_func__isnanl" = x""yes; then :
74892 cat >>confdefs.h <<_ACEOF
74893 #define HAVE__ISNANL 1
74894 _ACEOF
74897 done
74906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
74907 $as_echo_n "checking for isinfl declaration... " >&6; }
74908 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
74909 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
74910 $as_echo_n "(cached) " >&6
74911 else
74914 ac_ext=cpp
74915 ac_cpp='$CXXCPP $CPPFLAGS'
74916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74921 /* end confdefs.h. */
74922 #include <math.h>
74923 #ifdef HAVE_IEEEFP_H
74924 #include <ieeefp.h>
74925 #endif
74928 main ()
74930 isinfl(0);
74932 return 0;
74934 _ACEOF
74935 if ac_fn_cxx_try_compile "$LINENO"; then :
74936 glibcxx_cv_func_isinfl_use=yes
74937 else
74938 glibcxx_cv_func_isinfl_use=no
74940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74941 ac_ext=c
74942 ac_cpp='$CPP $CPPFLAGS'
74943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
74952 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
74954 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
74955 for ac_func in isinfl
74956 do :
74957 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
74958 if test "x$ac_cv_func_isinfl" = x""yes; then :
74959 cat >>confdefs.h <<_ACEOF
74960 #define HAVE_ISINFL 1
74961 _ACEOF
74964 done
74966 else
74968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
74969 $as_echo_n "checking for _isinfl declaration... " >&6; }
74970 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
74971 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
74972 $as_echo_n "(cached) " >&6
74973 else
74976 ac_ext=cpp
74977 ac_cpp='$CXXCPP $CPPFLAGS'
74978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74983 /* end confdefs.h. */
74984 #include <math.h>
74985 #ifdef HAVE_IEEEFP_H
74986 #include <ieeefp.h>
74987 #endif
74990 main ()
74992 _isinfl(0);
74994 return 0;
74996 _ACEOF
74997 if ac_fn_cxx_try_compile "$LINENO"; then :
74998 glibcxx_cv_func__isinfl_use=yes
74999 else
75000 glibcxx_cv_func__isinfl_use=no
75002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75003 ac_ext=c
75004 ac_cpp='$CPP $CPPFLAGS'
75005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
75014 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
75016 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
75017 for ac_func in _isinfl
75018 do :
75019 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
75020 if test "x$ac_cv_func__isinfl" = x""yes; then :
75021 cat >>confdefs.h <<_ACEOF
75022 #define HAVE__ISINFL 1
75023 _ACEOF
75026 done
75035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
75036 $as_echo_n "checking for atan2l declaration... " >&6; }
75037 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
75038 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
75039 $as_echo_n "(cached) " >&6
75040 else
75043 ac_ext=cpp
75044 ac_cpp='$CXXCPP $CPPFLAGS'
75045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75050 /* end confdefs.h. */
75051 #include <math.h>
75053 main ()
75055 atan2l(0, 0);
75057 return 0;
75059 _ACEOF
75060 if ac_fn_cxx_try_compile "$LINENO"; then :
75061 glibcxx_cv_func_atan2l_use=yes
75062 else
75063 glibcxx_cv_func_atan2l_use=no
75065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75066 ac_ext=c
75067 ac_cpp='$CPP $CPPFLAGS'
75068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
75077 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
75079 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
75080 for ac_func in atan2l
75081 do :
75082 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
75083 if test "x$ac_cv_func_atan2l" = x""yes; then :
75084 cat >>confdefs.h <<_ACEOF
75085 #define HAVE_ATAN2L 1
75086 _ACEOF
75089 done
75091 else
75093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
75094 $as_echo_n "checking for _atan2l declaration... " >&6; }
75095 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
75096 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
75097 $as_echo_n "(cached) " >&6
75098 else
75101 ac_ext=cpp
75102 ac_cpp='$CXXCPP $CPPFLAGS'
75103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75108 /* end confdefs.h. */
75109 #include <math.h>
75111 main ()
75113 _atan2l(0, 0);
75115 return 0;
75117 _ACEOF
75118 if ac_fn_cxx_try_compile "$LINENO"; then :
75119 glibcxx_cv_func__atan2l_use=yes
75120 else
75121 glibcxx_cv_func__atan2l_use=no
75123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75124 ac_ext=c
75125 ac_cpp='$CPP $CPPFLAGS'
75126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
75135 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
75137 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
75138 for ac_func in _atan2l
75139 do :
75140 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
75141 if test "x$ac_cv_func__atan2l" = x""yes; then :
75142 cat >>confdefs.h <<_ACEOF
75143 #define HAVE__ATAN2L 1
75144 _ACEOF
75147 done
75156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
75157 $as_echo_n "checking for expl declaration... " >&6; }
75158 if test x${glibcxx_cv_func_expl_use+set} != xset; then
75159 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
75160 $as_echo_n "(cached) " >&6
75161 else
75164 ac_ext=cpp
75165 ac_cpp='$CXXCPP $CPPFLAGS'
75166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75171 /* end confdefs.h. */
75172 #include <math.h>
75173 #ifdef HAVE_IEEEFP_H
75174 #include <ieeefp.h>
75175 #endif
75178 main ()
75180 expl(0);
75182 return 0;
75184 _ACEOF
75185 if ac_fn_cxx_try_compile "$LINENO"; then :
75186 glibcxx_cv_func_expl_use=yes
75187 else
75188 glibcxx_cv_func_expl_use=no
75190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75191 ac_ext=c
75192 ac_cpp='$CPP $CPPFLAGS'
75193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
75202 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
75204 if test x$glibcxx_cv_func_expl_use = x"yes"; then
75205 for ac_func in expl
75206 do :
75207 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
75208 if test "x$ac_cv_func_expl" = x""yes; then :
75209 cat >>confdefs.h <<_ACEOF
75210 #define HAVE_EXPL 1
75211 _ACEOF
75214 done
75216 else
75218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
75219 $as_echo_n "checking for _expl declaration... " >&6; }
75220 if test x${glibcxx_cv_func__expl_use+set} != xset; then
75221 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
75222 $as_echo_n "(cached) " >&6
75223 else
75226 ac_ext=cpp
75227 ac_cpp='$CXXCPP $CPPFLAGS'
75228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75233 /* end confdefs.h. */
75234 #include <math.h>
75235 #ifdef HAVE_IEEEFP_H
75236 #include <ieeefp.h>
75237 #endif
75240 main ()
75242 _expl(0);
75244 return 0;
75246 _ACEOF
75247 if ac_fn_cxx_try_compile "$LINENO"; then :
75248 glibcxx_cv_func__expl_use=yes
75249 else
75250 glibcxx_cv_func__expl_use=no
75252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75253 ac_ext=c
75254 ac_cpp='$CPP $CPPFLAGS'
75255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
75264 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
75266 if test x$glibcxx_cv_func__expl_use = x"yes"; then
75267 for ac_func in _expl
75268 do :
75269 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
75270 if test "x$ac_cv_func__expl" = x""yes; then :
75271 cat >>confdefs.h <<_ACEOF
75272 #define HAVE__EXPL 1
75273 _ACEOF
75276 done
75285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
75286 $as_echo_n "checking for fabsl declaration... " >&6; }
75287 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
75288 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
75289 $as_echo_n "(cached) " >&6
75290 else
75293 ac_ext=cpp
75294 ac_cpp='$CXXCPP $CPPFLAGS'
75295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75300 /* end confdefs.h. */
75301 #include <math.h>
75302 #ifdef HAVE_IEEEFP_H
75303 #include <ieeefp.h>
75304 #endif
75307 main ()
75309 fabsl(0);
75311 return 0;
75313 _ACEOF
75314 if ac_fn_cxx_try_compile "$LINENO"; then :
75315 glibcxx_cv_func_fabsl_use=yes
75316 else
75317 glibcxx_cv_func_fabsl_use=no
75319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75320 ac_ext=c
75321 ac_cpp='$CPP $CPPFLAGS'
75322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
75331 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
75333 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
75334 for ac_func in fabsl
75335 do :
75336 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
75337 if test "x$ac_cv_func_fabsl" = x""yes; then :
75338 cat >>confdefs.h <<_ACEOF
75339 #define HAVE_FABSL 1
75340 _ACEOF
75343 done
75345 else
75347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
75348 $as_echo_n "checking for _fabsl declaration... " >&6; }
75349 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
75350 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
75351 $as_echo_n "(cached) " >&6
75352 else
75355 ac_ext=cpp
75356 ac_cpp='$CXXCPP $CPPFLAGS'
75357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75362 /* end confdefs.h. */
75363 #include <math.h>
75364 #ifdef HAVE_IEEEFP_H
75365 #include <ieeefp.h>
75366 #endif
75369 main ()
75371 _fabsl(0);
75373 return 0;
75375 _ACEOF
75376 if ac_fn_cxx_try_compile "$LINENO"; then :
75377 glibcxx_cv_func__fabsl_use=yes
75378 else
75379 glibcxx_cv_func__fabsl_use=no
75381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75382 ac_ext=c
75383 ac_cpp='$CPP $CPPFLAGS'
75384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
75393 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
75395 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
75396 for ac_func in _fabsl
75397 do :
75398 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
75399 if test "x$ac_cv_func__fabsl" = x""yes; then :
75400 cat >>confdefs.h <<_ACEOF
75401 #define HAVE__FABSL 1
75402 _ACEOF
75405 done
75414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
75415 $as_echo_n "checking for fmodl declaration... " >&6; }
75416 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
75417 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
75418 $as_echo_n "(cached) " >&6
75419 else
75422 ac_ext=cpp
75423 ac_cpp='$CXXCPP $CPPFLAGS'
75424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75429 /* end confdefs.h. */
75430 #include <math.h>
75432 main ()
75434 fmodl(0, 0);
75436 return 0;
75438 _ACEOF
75439 if ac_fn_cxx_try_compile "$LINENO"; then :
75440 glibcxx_cv_func_fmodl_use=yes
75441 else
75442 glibcxx_cv_func_fmodl_use=no
75444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75445 ac_ext=c
75446 ac_cpp='$CPP $CPPFLAGS'
75447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
75456 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
75458 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
75459 for ac_func in fmodl
75460 do :
75461 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
75462 if test "x$ac_cv_func_fmodl" = x""yes; then :
75463 cat >>confdefs.h <<_ACEOF
75464 #define HAVE_FMODL 1
75465 _ACEOF
75468 done
75470 else
75472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
75473 $as_echo_n "checking for _fmodl declaration... " >&6; }
75474 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
75475 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
75476 $as_echo_n "(cached) " >&6
75477 else
75480 ac_ext=cpp
75481 ac_cpp='$CXXCPP $CPPFLAGS'
75482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75487 /* end confdefs.h. */
75488 #include <math.h>
75490 main ()
75492 _fmodl(0, 0);
75494 return 0;
75496 _ACEOF
75497 if ac_fn_cxx_try_compile "$LINENO"; then :
75498 glibcxx_cv_func__fmodl_use=yes
75499 else
75500 glibcxx_cv_func__fmodl_use=no
75502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75503 ac_ext=c
75504 ac_cpp='$CPP $CPPFLAGS'
75505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
75514 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
75516 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
75517 for ac_func in _fmodl
75518 do :
75519 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
75520 if test "x$ac_cv_func__fmodl" = x""yes; then :
75521 cat >>confdefs.h <<_ACEOF
75522 #define HAVE__FMODL 1
75523 _ACEOF
75526 done
75535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
75536 $as_echo_n "checking for frexpl declaration... " >&6; }
75537 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
75538 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
75539 $as_echo_n "(cached) " >&6
75540 else
75543 ac_ext=cpp
75544 ac_cpp='$CXXCPP $CPPFLAGS'
75545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75550 /* end confdefs.h. */
75551 #include <math.h>
75553 main ()
75555 frexpl(0, 0);
75557 return 0;
75559 _ACEOF
75560 if ac_fn_cxx_try_compile "$LINENO"; then :
75561 glibcxx_cv_func_frexpl_use=yes
75562 else
75563 glibcxx_cv_func_frexpl_use=no
75565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75566 ac_ext=c
75567 ac_cpp='$CPP $CPPFLAGS'
75568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
75577 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
75579 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
75580 for ac_func in frexpl
75581 do :
75582 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
75583 if test "x$ac_cv_func_frexpl" = x""yes; then :
75584 cat >>confdefs.h <<_ACEOF
75585 #define HAVE_FREXPL 1
75586 _ACEOF
75589 done
75591 else
75593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
75594 $as_echo_n "checking for _frexpl declaration... " >&6; }
75595 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
75596 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
75597 $as_echo_n "(cached) " >&6
75598 else
75601 ac_ext=cpp
75602 ac_cpp='$CXXCPP $CPPFLAGS'
75603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75608 /* end confdefs.h. */
75609 #include <math.h>
75611 main ()
75613 _frexpl(0, 0);
75615 return 0;
75617 _ACEOF
75618 if ac_fn_cxx_try_compile "$LINENO"; then :
75619 glibcxx_cv_func__frexpl_use=yes
75620 else
75621 glibcxx_cv_func__frexpl_use=no
75623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75624 ac_ext=c
75625 ac_cpp='$CPP $CPPFLAGS'
75626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
75635 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
75637 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
75638 for ac_func in _frexpl
75639 do :
75640 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
75641 if test "x$ac_cv_func__frexpl" = x""yes; then :
75642 cat >>confdefs.h <<_ACEOF
75643 #define HAVE__FREXPL 1
75644 _ACEOF
75647 done
75656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
75657 $as_echo_n "checking for hypotl declaration... " >&6; }
75658 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
75659 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
75660 $as_echo_n "(cached) " >&6
75661 else
75664 ac_ext=cpp
75665 ac_cpp='$CXXCPP $CPPFLAGS'
75666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75671 /* end confdefs.h. */
75672 #include <math.h>
75674 main ()
75676 hypotl(0, 0);
75678 return 0;
75680 _ACEOF
75681 if ac_fn_cxx_try_compile "$LINENO"; then :
75682 glibcxx_cv_func_hypotl_use=yes
75683 else
75684 glibcxx_cv_func_hypotl_use=no
75686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75687 ac_ext=c
75688 ac_cpp='$CPP $CPPFLAGS'
75689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
75698 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
75700 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
75701 for ac_func in hypotl
75702 do :
75703 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
75704 if test "x$ac_cv_func_hypotl" = x""yes; then :
75705 cat >>confdefs.h <<_ACEOF
75706 #define HAVE_HYPOTL 1
75707 _ACEOF
75710 done
75712 else
75714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
75715 $as_echo_n "checking for _hypotl declaration... " >&6; }
75716 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
75717 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
75718 $as_echo_n "(cached) " >&6
75719 else
75722 ac_ext=cpp
75723 ac_cpp='$CXXCPP $CPPFLAGS'
75724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75729 /* end confdefs.h. */
75730 #include <math.h>
75732 main ()
75734 _hypotl(0, 0);
75736 return 0;
75738 _ACEOF
75739 if ac_fn_cxx_try_compile "$LINENO"; then :
75740 glibcxx_cv_func__hypotl_use=yes
75741 else
75742 glibcxx_cv_func__hypotl_use=no
75744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75745 ac_ext=c
75746 ac_cpp='$CPP $CPPFLAGS'
75747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
75756 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
75758 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
75759 for ac_func in _hypotl
75760 do :
75761 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
75762 if test "x$ac_cv_func__hypotl" = x""yes; then :
75763 cat >>confdefs.h <<_ACEOF
75764 #define HAVE__HYPOTL 1
75765 _ACEOF
75768 done
75777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
75778 $as_echo_n "checking for ldexpl declaration... " >&6; }
75779 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
75780 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
75781 $as_echo_n "(cached) " >&6
75782 else
75785 ac_ext=cpp
75786 ac_cpp='$CXXCPP $CPPFLAGS'
75787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75792 /* end confdefs.h. */
75793 #include <math.h>
75795 main ()
75797 ldexpl(0, 0);
75799 return 0;
75801 _ACEOF
75802 if ac_fn_cxx_try_compile "$LINENO"; then :
75803 glibcxx_cv_func_ldexpl_use=yes
75804 else
75805 glibcxx_cv_func_ldexpl_use=no
75807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75808 ac_ext=c
75809 ac_cpp='$CPP $CPPFLAGS'
75810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
75819 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
75821 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
75822 for ac_func in ldexpl
75823 do :
75824 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
75825 if test "x$ac_cv_func_ldexpl" = x""yes; then :
75826 cat >>confdefs.h <<_ACEOF
75827 #define HAVE_LDEXPL 1
75828 _ACEOF
75831 done
75833 else
75835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
75836 $as_echo_n "checking for _ldexpl declaration... " >&6; }
75837 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
75838 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
75839 $as_echo_n "(cached) " >&6
75840 else
75843 ac_ext=cpp
75844 ac_cpp='$CXXCPP $CPPFLAGS'
75845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75850 /* end confdefs.h. */
75851 #include <math.h>
75853 main ()
75855 _ldexpl(0, 0);
75857 return 0;
75859 _ACEOF
75860 if ac_fn_cxx_try_compile "$LINENO"; then :
75861 glibcxx_cv_func__ldexpl_use=yes
75862 else
75863 glibcxx_cv_func__ldexpl_use=no
75865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75866 ac_ext=c
75867 ac_cpp='$CPP $CPPFLAGS'
75868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
75877 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
75879 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
75880 for ac_func in _ldexpl
75881 do :
75882 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
75883 if test "x$ac_cv_func__ldexpl" = x""yes; then :
75884 cat >>confdefs.h <<_ACEOF
75885 #define HAVE__LDEXPL 1
75886 _ACEOF
75889 done
75898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
75899 $as_echo_n "checking for logl declaration... " >&6; }
75900 if test x${glibcxx_cv_func_logl_use+set} != xset; then
75901 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
75902 $as_echo_n "(cached) " >&6
75903 else
75906 ac_ext=cpp
75907 ac_cpp='$CXXCPP $CPPFLAGS'
75908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75913 /* end confdefs.h. */
75914 #include <math.h>
75915 #ifdef HAVE_IEEEFP_H
75916 #include <ieeefp.h>
75917 #endif
75920 main ()
75922 logl(0);
75924 return 0;
75926 _ACEOF
75927 if ac_fn_cxx_try_compile "$LINENO"; then :
75928 glibcxx_cv_func_logl_use=yes
75929 else
75930 glibcxx_cv_func_logl_use=no
75932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75933 ac_ext=c
75934 ac_cpp='$CPP $CPPFLAGS'
75935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
75944 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
75946 if test x$glibcxx_cv_func_logl_use = x"yes"; then
75947 for ac_func in logl
75948 do :
75949 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
75950 if test "x$ac_cv_func_logl" = x""yes; then :
75951 cat >>confdefs.h <<_ACEOF
75952 #define HAVE_LOGL 1
75953 _ACEOF
75956 done
75958 else
75960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
75961 $as_echo_n "checking for _logl declaration... " >&6; }
75962 if test x${glibcxx_cv_func__logl_use+set} != xset; then
75963 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
75964 $as_echo_n "(cached) " >&6
75965 else
75968 ac_ext=cpp
75969 ac_cpp='$CXXCPP $CPPFLAGS'
75970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75975 /* end confdefs.h. */
75976 #include <math.h>
75977 #ifdef HAVE_IEEEFP_H
75978 #include <ieeefp.h>
75979 #endif
75982 main ()
75984 _logl(0);
75986 return 0;
75988 _ACEOF
75989 if ac_fn_cxx_try_compile "$LINENO"; then :
75990 glibcxx_cv_func__logl_use=yes
75991 else
75992 glibcxx_cv_func__logl_use=no
75994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75995 ac_ext=c
75996 ac_cpp='$CPP $CPPFLAGS'
75997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
76006 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
76008 if test x$glibcxx_cv_func__logl_use = x"yes"; then
76009 for ac_func in _logl
76010 do :
76011 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
76012 if test "x$ac_cv_func__logl" = x""yes; then :
76013 cat >>confdefs.h <<_ACEOF
76014 #define HAVE__LOGL 1
76015 _ACEOF
76018 done
76027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
76028 $as_echo_n "checking for log10l declaration... " >&6; }
76029 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
76030 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
76031 $as_echo_n "(cached) " >&6
76032 else
76035 ac_ext=cpp
76036 ac_cpp='$CXXCPP $CPPFLAGS'
76037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76042 /* end confdefs.h. */
76043 #include <math.h>
76044 #ifdef HAVE_IEEEFP_H
76045 #include <ieeefp.h>
76046 #endif
76049 main ()
76051 log10l(0);
76053 return 0;
76055 _ACEOF
76056 if ac_fn_cxx_try_compile "$LINENO"; then :
76057 glibcxx_cv_func_log10l_use=yes
76058 else
76059 glibcxx_cv_func_log10l_use=no
76061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76062 ac_ext=c
76063 ac_cpp='$CPP $CPPFLAGS'
76064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
76073 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
76075 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
76076 for ac_func in log10l
76077 do :
76078 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
76079 if test "x$ac_cv_func_log10l" = x""yes; then :
76080 cat >>confdefs.h <<_ACEOF
76081 #define HAVE_LOG10L 1
76082 _ACEOF
76085 done
76087 else
76089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
76090 $as_echo_n "checking for _log10l declaration... " >&6; }
76091 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
76092 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
76093 $as_echo_n "(cached) " >&6
76094 else
76097 ac_ext=cpp
76098 ac_cpp='$CXXCPP $CPPFLAGS'
76099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76104 /* end confdefs.h. */
76105 #include <math.h>
76106 #ifdef HAVE_IEEEFP_H
76107 #include <ieeefp.h>
76108 #endif
76111 main ()
76113 _log10l(0);
76115 return 0;
76117 _ACEOF
76118 if ac_fn_cxx_try_compile "$LINENO"; then :
76119 glibcxx_cv_func__log10l_use=yes
76120 else
76121 glibcxx_cv_func__log10l_use=no
76123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76124 ac_ext=c
76125 ac_cpp='$CPP $CPPFLAGS'
76126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
76135 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
76137 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
76138 for ac_func in _log10l
76139 do :
76140 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
76141 if test "x$ac_cv_func__log10l" = x""yes; then :
76142 cat >>confdefs.h <<_ACEOF
76143 #define HAVE__LOG10L 1
76144 _ACEOF
76147 done
76156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
76157 $as_echo_n "checking for modfl declaration... " >&6; }
76158 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
76159 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
76160 $as_echo_n "(cached) " >&6
76161 else
76164 ac_ext=cpp
76165 ac_cpp='$CXXCPP $CPPFLAGS'
76166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76171 /* end confdefs.h. */
76172 #include <math.h>
76174 main ()
76176 modfl(0, 0);
76178 return 0;
76180 _ACEOF
76181 if ac_fn_cxx_try_compile "$LINENO"; then :
76182 glibcxx_cv_func_modfl_use=yes
76183 else
76184 glibcxx_cv_func_modfl_use=no
76186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76187 ac_ext=c
76188 ac_cpp='$CPP $CPPFLAGS'
76189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
76198 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
76200 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
76201 for ac_func in modfl
76202 do :
76203 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
76204 if test "x$ac_cv_func_modfl" = x""yes; then :
76205 cat >>confdefs.h <<_ACEOF
76206 #define HAVE_MODFL 1
76207 _ACEOF
76210 done
76212 else
76214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
76215 $as_echo_n "checking for _modfl declaration... " >&6; }
76216 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
76217 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
76218 $as_echo_n "(cached) " >&6
76219 else
76222 ac_ext=cpp
76223 ac_cpp='$CXXCPP $CPPFLAGS'
76224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76229 /* end confdefs.h. */
76230 #include <math.h>
76232 main ()
76234 _modfl(0, 0);
76236 return 0;
76238 _ACEOF
76239 if ac_fn_cxx_try_compile "$LINENO"; then :
76240 glibcxx_cv_func__modfl_use=yes
76241 else
76242 glibcxx_cv_func__modfl_use=no
76244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76245 ac_ext=c
76246 ac_cpp='$CPP $CPPFLAGS'
76247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
76256 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
76258 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
76259 for ac_func in _modfl
76260 do :
76261 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
76262 if test "x$ac_cv_func__modfl" = x""yes; then :
76263 cat >>confdefs.h <<_ACEOF
76264 #define HAVE__MODFL 1
76265 _ACEOF
76268 done
76277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
76278 $as_echo_n "checking for powl declaration... " >&6; }
76279 if test x${glibcxx_cv_func_powl_use+set} != xset; then
76280 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
76281 $as_echo_n "(cached) " >&6
76282 else
76285 ac_ext=cpp
76286 ac_cpp='$CXXCPP $CPPFLAGS'
76287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76292 /* end confdefs.h. */
76293 #include <math.h>
76295 main ()
76297 powl(0, 0);
76299 return 0;
76301 _ACEOF
76302 if ac_fn_cxx_try_compile "$LINENO"; then :
76303 glibcxx_cv_func_powl_use=yes
76304 else
76305 glibcxx_cv_func_powl_use=no
76307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76308 ac_ext=c
76309 ac_cpp='$CPP $CPPFLAGS'
76310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
76319 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
76321 if test x$glibcxx_cv_func_powl_use = x"yes"; then
76322 for ac_func in powl
76323 do :
76324 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
76325 if test "x$ac_cv_func_powl" = x""yes; then :
76326 cat >>confdefs.h <<_ACEOF
76327 #define HAVE_POWL 1
76328 _ACEOF
76331 done
76333 else
76335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
76336 $as_echo_n "checking for _powl declaration... " >&6; }
76337 if test x${glibcxx_cv_func__powl_use+set} != xset; then
76338 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
76339 $as_echo_n "(cached) " >&6
76340 else
76343 ac_ext=cpp
76344 ac_cpp='$CXXCPP $CPPFLAGS'
76345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76350 /* end confdefs.h. */
76351 #include <math.h>
76353 main ()
76355 _powl(0, 0);
76357 return 0;
76359 _ACEOF
76360 if ac_fn_cxx_try_compile "$LINENO"; then :
76361 glibcxx_cv_func__powl_use=yes
76362 else
76363 glibcxx_cv_func__powl_use=no
76365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76366 ac_ext=c
76367 ac_cpp='$CPP $CPPFLAGS'
76368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
76377 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
76379 if test x$glibcxx_cv_func__powl_use = x"yes"; then
76380 for ac_func in _powl
76381 do :
76382 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
76383 if test "x$ac_cv_func__powl" = x""yes; then :
76384 cat >>confdefs.h <<_ACEOF
76385 #define HAVE__POWL 1
76386 _ACEOF
76389 done
76398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
76399 $as_echo_n "checking for sqrtl declaration... " >&6; }
76400 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
76401 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
76402 $as_echo_n "(cached) " >&6
76403 else
76406 ac_ext=cpp
76407 ac_cpp='$CXXCPP $CPPFLAGS'
76408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76413 /* end confdefs.h. */
76414 #include <math.h>
76415 #ifdef HAVE_IEEEFP_H
76416 #include <ieeefp.h>
76417 #endif
76420 main ()
76422 sqrtl(0);
76424 return 0;
76426 _ACEOF
76427 if ac_fn_cxx_try_compile "$LINENO"; then :
76428 glibcxx_cv_func_sqrtl_use=yes
76429 else
76430 glibcxx_cv_func_sqrtl_use=no
76432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76433 ac_ext=c
76434 ac_cpp='$CPP $CPPFLAGS'
76435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
76444 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
76446 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
76447 for ac_func in sqrtl
76448 do :
76449 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
76450 if test "x$ac_cv_func_sqrtl" = x""yes; then :
76451 cat >>confdefs.h <<_ACEOF
76452 #define HAVE_SQRTL 1
76453 _ACEOF
76456 done
76458 else
76460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
76461 $as_echo_n "checking for _sqrtl declaration... " >&6; }
76462 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
76463 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
76464 $as_echo_n "(cached) " >&6
76465 else
76468 ac_ext=cpp
76469 ac_cpp='$CXXCPP $CPPFLAGS'
76470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76475 /* end confdefs.h. */
76476 #include <math.h>
76477 #ifdef HAVE_IEEEFP_H
76478 #include <ieeefp.h>
76479 #endif
76482 main ()
76484 _sqrtl(0);
76486 return 0;
76488 _ACEOF
76489 if ac_fn_cxx_try_compile "$LINENO"; then :
76490 glibcxx_cv_func__sqrtl_use=yes
76491 else
76492 glibcxx_cv_func__sqrtl_use=no
76494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76495 ac_ext=c
76496 ac_cpp='$CPP $CPPFLAGS'
76497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
76506 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
76508 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
76509 for ac_func in _sqrtl
76510 do :
76511 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
76512 if test "x$ac_cv_func__sqrtl" = x""yes; then :
76513 cat >>confdefs.h <<_ACEOF
76514 #define HAVE__SQRTL 1
76515 _ACEOF
76518 done
76527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
76528 $as_echo_n "checking for sincosl declaration... " >&6; }
76529 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
76530 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
76531 $as_echo_n "(cached) " >&6
76532 else
76535 ac_ext=cpp
76536 ac_cpp='$CXXCPP $CPPFLAGS'
76537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76542 /* end confdefs.h. */
76543 #include <math.h>
76545 main ()
76547 sincosl(0, 0, 0);
76549 return 0;
76551 _ACEOF
76552 if ac_fn_cxx_try_compile "$LINENO"; then :
76553 glibcxx_cv_func_sincosl_use=yes
76554 else
76555 glibcxx_cv_func_sincosl_use=no
76557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76558 ac_ext=c
76559 ac_cpp='$CPP $CPPFLAGS'
76560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
76569 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
76571 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
76572 for ac_func in sincosl
76573 do :
76574 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
76575 if test "x$ac_cv_func_sincosl" = x""yes; then :
76576 cat >>confdefs.h <<_ACEOF
76577 #define HAVE_SINCOSL 1
76578 _ACEOF
76581 done
76583 else
76585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
76586 $as_echo_n "checking for _sincosl declaration... " >&6; }
76587 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
76588 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
76589 $as_echo_n "(cached) " >&6
76590 else
76593 ac_ext=cpp
76594 ac_cpp='$CXXCPP $CPPFLAGS'
76595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76600 /* end confdefs.h. */
76601 #include <math.h>
76603 main ()
76605 _sincosl(0, 0, 0);
76607 return 0;
76609 _ACEOF
76610 if ac_fn_cxx_try_compile "$LINENO"; then :
76611 glibcxx_cv_func__sincosl_use=yes
76612 else
76613 glibcxx_cv_func__sincosl_use=no
76615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76616 ac_ext=c
76617 ac_cpp='$CPP $CPPFLAGS'
76618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
76627 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
76629 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
76630 for ac_func in _sincosl
76631 do :
76632 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
76633 if test "x$ac_cv_func__sincosl" = x""yes; then :
76634 cat >>confdefs.h <<_ACEOF
76635 #define HAVE__SINCOSL 1
76636 _ACEOF
76639 done
76648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
76649 $as_echo_n "checking for finitel declaration... " >&6; }
76650 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
76651 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
76652 $as_echo_n "(cached) " >&6
76653 else
76656 ac_ext=cpp
76657 ac_cpp='$CXXCPP $CPPFLAGS'
76658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76663 /* end confdefs.h. */
76664 #include <math.h>
76665 #ifdef HAVE_IEEEFP_H
76666 #include <ieeefp.h>
76667 #endif
76670 main ()
76672 finitel(0);
76674 return 0;
76676 _ACEOF
76677 if ac_fn_cxx_try_compile "$LINENO"; then :
76678 glibcxx_cv_func_finitel_use=yes
76679 else
76680 glibcxx_cv_func_finitel_use=no
76682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76683 ac_ext=c
76684 ac_cpp='$CPP $CPPFLAGS'
76685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
76694 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
76696 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
76697 for ac_func in finitel
76698 do :
76699 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
76700 if test "x$ac_cv_func_finitel" = x""yes; then :
76701 cat >>confdefs.h <<_ACEOF
76702 #define HAVE_FINITEL 1
76703 _ACEOF
76706 done
76708 else
76710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
76711 $as_echo_n "checking for _finitel declaration... " >&6; }
76712 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
76713 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
76714 $as_echo_n "(cached) " >&6
76715 else
76718 ac_ext=cpp
76719 ac_cpp='$CXXCPP $CPPFLAGS'
76720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76725 /* end confdefs.h. */
76726 #include <math.h>
76727 #ifdef HAVE_IEEEFP_H
76728 #include <ieeefp.h>
76729 #endif
76732 main ()
76734 _finitel(0);
76736 return 0;
76738 _ACEOF
76739 if ac_fn_cxx_try_compile "$LINENO"; then :
76740 glibcxx_cv_func__finitel_use=yes
76741 else
76742 glibcxx_cv_func__finitel_use=no
76744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76745 ac_ext=c
76746 ac_cpp='$CPP $CPPFLAGS'
76747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
76756 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
76758 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
76759 for ac_func in _finitel
76760 do :
76761 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
76762 if test "x$ac_cv_func__finitel" = x""yes; then :
76763 cat >>confdefs.h <<_ACEOF
76764 #define HAVE__FINITEL 1
76765 _ACEOF
76768 done
76776 LIBS="$ac_save_LIBS"
76777 CXXFLAGS="$ac_save_CXXFLAGS"
76780 ac_test_CXXFLAGS="${CXXFLAGS+set}"
76781 ac_save_CXXFLAGS="$CXXFLAGS"
76782 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
76785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
76786 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
76787 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
76788 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
76789 $as_echo_n "(cached) " >&6
76790 else
76793 ac_ext=cpp
76794 ac_cpp='$CXXCPP $CPPFLAGS'
76795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76800 /* end confdefs.h. */
76801 #include <stdlib.h>
76803 main ()
76805 at_quick_exit(0);
76807 return 0;
76809 _ACEOF
76810 if ac_fn_cxx_try_compile "$LINENO"; then :
76811 glibcxx_cv_func_at_quick_exit_use=yes
76812 else
76813 glibcxx_cv_func_at_quick_exit_use=no
76815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76816 ac_ext=c
76817 ac_cpp='$CPP $CPPFLAGS'
76818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
76827 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
76828 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
76829 for ac_func in at_quick_exit
76830 do :
76831 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
76832 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
76833 cat >>confdefs.h <<_ACEOF
76834 #define HAVE_AT_QUICK_EXIT 1
76835 _ACEOF
76838 done
76843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
76844 $as_echo_n "checking for quick_exit declaration... " >&6; }
76845 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
76846 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
76847 $as_echo_n "(cached) " >&6
76848 else
76851 ac_ext=cpp
76852 ac_cpp='$CXXCPP $CPPFLAGS'
76853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76858 /* end confdefs.h. */
76859 #include <stdlib.h>
76861 main ()
76863 quick_exit(0);
76865 return 0;
76867 _ACEOF
76868 if ac_fn_cxx_try_compile "$LINENO"; then :
76869 glibcxx_cv_func_quick_exit_use=yes
76870 else
76871 glibcxx_cv_func_quick_exit_use=no
76873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76874 ac_ext=c
76875 ac_cpp='$CPP $CPPFLAGS'
76876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
76885 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
76886 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
76887 for ac_func in quick_exit
76888 do :
76889 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
76890 if test "x$ac_cv_func_quick_exit" = x""yes; then :
76891 cat >>confdefs.h <<_ACEOF
76892 #define HAVE_QUICK_EXIT 1
76893 _ACEOF
76896 done
76901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
76902 $as_echo_n "checking for strtold declaration... " >&6; }
76903 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
76904 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
76905 $as_echo_n "(cached) " >&6
76906 else
76909 ac_ext=cpp
76910 ac_cpp='$CXXCPP $CPPFLAGS'
76911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76916 /* end confdefs.h. */
76917 #include <stdlib.h>
76919 main ()
76921 strtold(0, 0);
76923 return 0;
76925 _ACEOF
76926 if ac_fn_cxx_try_compile "$LINENO"; then :
76927 glibcxx_cv_func_strtold_use=yes
76928 else
76929 glibcxx_cv_func_strtold_use=no
76931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76932 ac_ext=c
76933 ac_cpp='$CPP $CPPFLAGS'
76934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
76943 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
76944 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
76945 for ac_func in strtold
76946 do :
76947 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
76948 if test "x$ac_cv_func_strtold" = x""yes; then :
76949 cat >>confdefs.h <<_ACEOF
76950 #define HAVE_STRTOLD 1
76951 _ACEOF
76954 done
76961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
76962 $as_echo_n "checking for strtof declaration... " >&6; }
76963 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
76964 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
76965 $as_echo_n "(cached) " >&6
76966 else
76969 ac_ext=cpp
76970 ac_cpp='$CXXCPP $CPPFLAGS'
76971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76976 /* end confdefs.h. */
76977 #include <stdlib.h>
76979 main ()
76981 strtof(0, 0);
76983 return 0;
76985 _ACEOF
76986 if ac_fn_cxx_try_compile "$LINENO"; then :
76987 glibcxx_cv_func_strtof_use=yes
76988 else
76989 glibcxx_cv_func_strtof_use=no
76991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76992 ac_ext=c
76993 ac_cpp='$CPP $CPPFLAGS'
76994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
77003 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
77004 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
77005 for ac_func in strtof
77006 do :
77007 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
77008 if test "x$ac_cv_func_strtof" = x""yes; then :
77009 cat >>confdefs.h <<_ACEOF
77010 #define HAVE_STRTOF 1
77011 _ACEOF
77014 done
77021 CXXFLAGS="$ac_save_CXXFLAGS"
77024 *-vxworks)
77025 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
77027 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
77029 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
77031 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
77033 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
77035 $as_echo "#define HAVE_COSF 1" >>confdefs.h
77037 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
77039 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
77041 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
77043 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
77045 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
77047 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
77049 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
77051 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
77053 $as_echo "#define HAVE_POWF 1" >>confdefs.h
77055 $as_echo "#define HAVE_SINF 1" >>confdefs.h
77057 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
77059 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
77061 $as_echo "#define HAVE_TANF 1" >>confdefs.h
77063 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
77067 as_fn_error "No support for this host/target combination." "$LINENO" 5
77069 esac
77073 # At some point, we should differentiate between architectures
77074 # like x86, which have long double versions, and alpha/powerpc/etc.,
77075 # which don't. For the time being, punt.
77076 if test x"long_double_math_on_this_cpu" = x"yes"; then
77077 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
77079 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
77081 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
77083 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
77085 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
77087 $as_echo "#define HAVE_COSL 1" >>confdefs.h
77089 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
77091 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
77093 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
77095 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
77097 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
77099 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
77101 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
77103 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
77105 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
77107 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
77109 $as_echo "#define HAVE_POWL 1" >>confdefs.h
77111 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
77113 $as_echo "#define HAVE_SINL 1" >>confdefs.h
77115 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
77117 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
77119 $as_echo "#define HAVE_TANL 1" >>confdefs.h
77121 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
77126 # Check for _Unwind_GetIPInfo.
77129 # Check whether --with-system-libunwind was given.
77130 if test "${with_system_libunwind+set}" = set; then :
77131 withval=$with_system_libunwind;
77134 # If system-libunwind was not specifically set, pick a default setting.
77135 if test x$with_system_libunwind = x; then
77136 case ${target} in
77137 ia64-*-hpux*) with_system_libunwind=yes ;;
77138 *) with_system_libunwind=no ;;
77139 esac
77141 # Based on system-libunwind and target, do we have ipinfo?
77142 if test x$with_system_libunwind = xyes; then
77143 case ${target} in
77144 ia64-*-*) have_unwind_getipinfo=no ;;
77145 *) have_unwind_getipinfo=yes ;;
77146 esac
77147 else
77148 # Darwin before version 9 does not have _Unwind_GetIPInfo.
77150 case ${target} in
77151 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
77152 *) have_unwind_getipinfo=yes ;;
77153 esac
77157 if test x$have_unwind_getipinfo = xyes; then
77159 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
77164 # Check whether --enable-linux-futex was given.
77165 if test "${enable_linux_futex+set}" = set; then :
77166 enableval=$enable_linux_futex;
77167 case "$enableval" in
77168 yes|no|default) ;;
77169 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
77170 esac
77172 else
77173 enable_linux_futex=default
77177 case "$target" in
77178 *-linux*)
77179 case "$enable_linux_futex" in
77180 default)
77181 # If headers don't have gettid/futex syscalls definition, then
77182 # default to no, otherwise there will be compile time failures.
77183 # Otherwise, default to yes. If we don't detect we are
77184 # compiled/linked against NPTL and not cross-compiling, check
77185 # if programs are run by default against NPTL and if not, issue
77186 # a warning.
77187 enable_linux_futex=no
77188 if test x$gcc_no_link = xyes; then
77189 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77192 /* end confdefs.h. */
77193 #include <sys/syscall.h>
77194 int lk;
77196 main ()
77198 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
77200 return 0;
77202 _ACEOF
77203 if ac_fn_c_try_link "$LINENO"; then :
77204 save_LIBS="$LIBS"
77205 LIBS="-lpthread $LIBS"
77206 if test x$gcc_no_link = xyes; then
77207 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77210 /* end confdefs.h. */
77211 #ifndef _GNU_SOURCE
77212 #define _GNU_SOURCE 1
77213 #endif
77214 #include <pthread.h>
77215 pthread_t th; void *status;
77217 main ()
77219 pthread_tryjoin_np (th, &status);
77221 return 0;
77223 _ACEOF
77224 if ac_fn_c_try_link "$LINENO"; then :
77225 enable_linux_futex=yes
77226 else
77227 if test x$cross_compiling = xno; then
77228 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
77229 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
77230 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
77231 If so, please configure with --disable-linux-futex" >&5
77232 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
77233 If so, please configure with --disable-linux-futex" >&2;}
77236 enable_linux_futex=yes
77238 rm -f core conftest.err conftest.$ac_objext \
77239 conftest$ac_exeext conftest.$ac_ext
77240 LIBS="$save_LIBS"
77242 rm -f core conftest.err conftest.$ac_objext \
77243 conftest$ac_exeext conftest.$ac_ext
77245 yes)
77246 if test x$gcc_no_link = xyes; then
77247 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77250 /* end confdefs.h. */
77251 #include <sys/syscall.h>
77252 int lk;
77254 main ()
77256 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
77258 return 0;
77260 _ACEOF
77261 if ac_fn_c_try_link "$LINENO"; then :
77263 else
77264 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
77266 rm -f core conftest.err conftest.$ac_objext \
77267 conftest$ac_exeext conftest.$ac_ext
77269 esac
77272 enable_linux_futex=no
77274 esac
77275 if test x$enable_linux_futex = xyes; then
77277 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
77284 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
77286 acx_cv_header_stdint=stddef.h
77287 acx_cv_header_stdint_kind="(already complete)"
77288 for i in stdint.h $inttype_headers; do
77289 unset ac_cv_type_uintptr_t
77290 unset ac_cv_type_uintmax_t
77291 unset ac_cv_type_int_least32_t
77292 unset ac_cv_type_int_fast32_t
77293 unset ac_cv_type_uint64_t
77294 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
77295 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
77296 #include <$i>
77298 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
77299 acx_cv_header_stdint=$i
77300 else
77301 continue
77304 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
77305 #include <$i>
77307 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
77309 else
77310 acx_cv_header_stdint_kind="(mostly complete)"
77313 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
77314 #include <$i>
77316 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
77318 else
77319 acx_cv_header_stdint_kind="(mostly complete)"
77322 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
77323 #include <$i>
77325 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
77327 else
77328 acx_cv_header_stdint_kind="(mostly complete)"
77331 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
77332 #include <$i>
77334 if test "x$ac_cv_type_uint64_t" = x""yes; then :
77336 else
77337 acx_cv_header_stdint_kind="(lacks uint64_t)"
77340 break
77341 done
77342 if test "$acx_cv_header_stdint" = stddef.h; then
77343 acx_cv_header_stdint_kind="(lacks uintmax_t)"
77344 for i in stdint.h $inttype_headers; do
77345 unset ac_cv_type_uintptr_t
77346 unset ac_cv_type_uint32_t
77347 unset ac_cv_type_uint64_t
77348 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
77349 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
77350 #include <$i>
77352 if test "x$ac_cv_type_uint32_t" = x""yes; then :
77353 acx_cv_header_stdint=$i
77354 else
77355 continue
77358 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
77359 #include <$i>
77361 if test "x$ac_cv_type_uint64_t" = x""yes; then :
77365 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
77366 #include <$i>
77368 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
77372 break
77373 done
77375 if test "$acx_cv_header_stdint" = stddef.h; then
77376 acx_cv_header_stdint_kind="(u_intXX_t style)"
77377 for i in sys/types.h $inttype_headers; do
77378 unset ac_cv_type_u_int32_t
77379 unset ac_cv_type_u_int64_t
77380 $as_echo_n "looking for u_intXX_t types in $i, " >&6
77381 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
77382 #include <$i>
77384 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
77385 acx_cv_header_stdint=$i
77386 else
77387 continue
77390 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
77391 #include <$i>
77393 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
77397 break
77398 done
77400 if test "$acx_cv_header_stdint" = stddef.h; then
77401 acx_cv_header_stdint_kind="(using manual detection)"
77404 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
77405 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
77406 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
77407 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
77408 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
77410 # ----------------- Summarize what we found so far
77412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
77413 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
77415 case `$as_basename -- include/gstdint.h ||
77416 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
77417 Xinclude/gstdint.h : 'X\(//\)$' \| \
77418 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
77419 $as_echo X/include/gstdint.h |
77420 sed '/^.*\/\([^/][^/]*\)\/*$/{
77421 s//\1/
77424 /^X\/\(\/\/\)$/{
77425 s//\1/
77428 /^X\/\(\/\).*/{
77429 s//\1/
77432 s/.*/./; q'` in
77433 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
77434 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
77435 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
77436 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
77437 *) ;;
77438 esac
77440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
77441 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
77443 # ----------------- done included file, check C basic types --------
77445 # Lacking an uintptr_t? Test size of void *
77446 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
77447 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
77448 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77449 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77450 # This bug is HP SR number 8606223364.
77451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
77452 $as_echo_n "checking size of void *... " >&6; }
77453 if test "${ac_cv_sizeof_void_p+set}" = set; then :
77454 $as_echo_n "(cached) " >&6
77455 else
77456 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
77458 else
77459 if test "$ac_cv_type_void_p" = yes; then
77460 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77461 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77462 { as_fn_set_status 77
77463 as_fn_error "cannot compute sizeof (void *)
77464 See \`config.log' for more details." "$LINENO" 5; }; }
77465 else
77466 ac_cv_sizeof_void_p=0
77471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
77472 $as_echo "$ac_cv_sizeof_void_p" >&6; }
77476 cat >>confdefs.h <<_ACEOF
77477 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
77478 _ACEOF
77481 esac
77483 # Lacking an uint64_t? Test size of long
77484 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
77485 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
77486 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77487 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77488 # This bug is HP SR number 8606223364.
77489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
77490 $as_echo_n "checking size of long... " >&6; }
77491 if test "${ac_cv_sizeof_long+set}" = set; then :
77492 $as_echo_n "(cached) " >&6
77493 else
77494 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
77496 else
77497 if test "$ac_cv_type_long" = yes; then
77498 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77499 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77500 { as_fn_set_status 77
77501 as_fn_error "cannot compute sizeof (long)
77502 See \`config.log' for more details." "$LINENO" 5; }; }
77503 else
77504 ac_cv_sizeof_long=0
77509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
77510 $as_echo "$ac_cv_sizeof_long" >&6; }
77514 cat >>confdefs.h <<_ACEOF
77515 #define SIZEOF_LONG $ac_cv_sizeof_long
77516 _ACEOF
77519 esac
77521 if test $acx_cv_header_stdint = stddef.h; then
77522 # Lacking a good header? Test size of everything and deduce all types.
77523 # The cast to long int works around a bug in the HP C Compiler
77524 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77525 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77526 # This bug is HP SR number 8606223364.
77527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
77528 $as_echo_n "checking size of int... " >&6; }
77529 if test "${ac_cv_sizeof_int+set}" = set; then :
77530 $as_echo_n "(cached) " >&6
77531 else
77532 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
77534 else
77535 if test "$ac_cv_type_int" = yes; then
77536 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77537 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77538 { as_fn_set_status 77
77539 as_fn_error "cannot compute sizeof (int)
77540 See \`config.log' for more details." "$LINENO" 5; }; }
77541 else
77542 ac_cv_sizeof_int=0
77547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
77548 $as_echo "$ac_cv_sizeof_int" >&6; }
77552 cat >>confdefs.h <<_ACEOF
77553 #define SIZEOF_INT $ac_cv_sizeof_int
77554 _ACEOF
77557 # The cast to long int works around a bug in the HP C Compiler
77558 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77559 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77560 # This bug is HP SR number 8606223364.
77561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
77562 $as_echo_n "checking size of short... " >&6; }
77563 if test "${ac_cv_sizeof_short+set}" = set; then :
77564 $as_echo_n "(cached) " >&6
77565 else
77566 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
77568 else
77569 if test "$ac_cv_type_short" = yes; then
77570 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77571 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77572 { as_fn_set_status 77
77573 as_fn_error "cannot compute sizeof (short)
77574 See \`config.log' for more details." "$LINENO" 5; }; }
77575 else
77576 ac_cv_sizeof_short=0
77581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
77582 $as_echo "$ac_cv_sizeof_short" >&6; }
77586 cat >>confdefs.h <<_ACEOF
77587 #define SIZEOF_SHORT $ac_cv_sizeof_short
77588 _ACEOF
77591 # The cast to long int works around a bug in the HP C Compiler
77592 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77593 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77594 # This bug is HP SR number 8606223364.
77595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
77596 $as_echo_n "checking size of char... " >&6; }
77597 if test "${ac_cv_sizeof_char+set}" = set; then :
77598 $as_echo_n "(cached) " >&6
77599 else
77600 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
77602 else
77603 if test "$ac_cv_type_char" = yes; then
77604 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77605 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77606 { as_fn_set_status 77
77607 as_fn_error "cannot compute sizeof (char)
77608 See \`config.log' for more details." "$LINENO" 5; }; }
77609 else
77610 ac_cv_sizeof_char=0
77615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
77616 $as_echo "$ac_cv_sizeof_char" >&6; }
77620 cat >>confdefs.h <<_ACEOF
77621 #define SIZEOF_CHAR $ac_cv_sizeof_char
77622 _ACEOF
77626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
77627 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
77628 case "$ac_cv_sizeof_char" in
77629 1) acx_cv_type_int8_t=char ;;
77630 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
77631 esac
77632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
77633 $as_echo "$acx_cv_type_int8_t" >&6; }
77635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
77636 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
77637 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
77638 2:*) acx_cv_type_int16_t=int ;;
77639 *:2) acx_cv_type_int16_t=short ;;
77640 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
77641 esac
77642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
77643 $as_echo "$acx_cv_type_int16_t" >&6; }
77645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
77646 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
77647 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
77648 4:*) acx_cv_type_int32_t=int ;;
77649 *:4) acx_cv_type_int32_t=long ;;
77650 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
77651 esac
77652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
77653 $as_echo "$acx_cv_type_int32_t" >&6; }
77656 # These tests are here to make the output prettier
77658 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
77659 case "$ac_cv_sizeof_long" in
77660 8) acx_cv_type_int64_t=long ;;
77661 esac
77662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
77663 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
77664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
77665 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
77668 # Now we can use the above types
77670 if test "$ac_cv_type_uintptr_t" != yes; then
77671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
77672 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
77673 case $ac_cv_sizeof_void_p in
77674 2) acx_cv_type_intptr_t=int16_t ;;
77675 4) acx_cv_type_intptr_t=int32_t ;;
77676 8) acx_cv_type_intptr_t=int64_t ;;
77677 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
77678 esac
77679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
77680 $as_echo "$acx_cv_type_intptr_t" >&6; }
77683 # ----------------- done all checks, emit header -------------
77684 ac_config_commands="$ac_config_commands include/gstdint.h"
77690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
77691 $as_echo_n "checking for GNU c++filt... " >&6; }
77692 if test "${ac_cv_path_CXXFILT+set}" = set; then :
77693 $as_echo_n "(cached) " >&6
77694 else
77695 if test -z "$CXXFILT"; then
77696 ac_path_CXXFILT_found=false
77697 # Loop through the user's path and test for each of PROGNAME-LIST
77698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77699 for as_dir in $PATH
77701 IFS=$as_save_IFS
77702 test -z "$as_dir" && as_dir=.
77703 for ac_prog in c++filt gc++filt; do
77704 for ac_exec_ext in '' $ac_executable_extensions; do
77705 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
77706 { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
77707 # Check for GNU $ac_path_CXXFILT
77708 case `"$ac_path_CXXFILT" --version 2>&1` in
77709 *GNU*)
77710 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
77711 esac
77713 $ac_path_CXXFILT_found && break 3
77714 done
77715 done
77716 done
77717 IFS=$as_save_IFS
77718 if test -z "$ac_cv_path_CXXFILT"; then
77721 else
77722 ac_cv_path_CXXFILT=$CXXFILT
77726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
77727 $as_echo "$ac_cv_path_CXXFILT" >&6; }
77728 CXXFILT=$ac_cv_path_CXXFILT
77732 # Check whether --enable-symvers was given.
77733 if test "${enable_symvers+set}" = set; then :
77734 enableval=$enable_symvers;
77735 case "$enableval" in
77736 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
77737 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
77738 esac
77740 else
77741 enable_symvers=yes
77746 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
77747 # don't know enough about $LD to do tricks...
77749 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
77750 # with extern "C++" in version scripts.
77753 # Turn a 'yes' into a suitable default.
77754 if test x$enable_symvers = xyes ; then
77755 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
77756 enable_symvers=no
77757 else
77758 if test $with_gnu_ld = yes ; then
77759 case ${target_os} in
77760 hpux*)
77761 enable_symvers=no ;;
77763 enable_symvers=gnu ;;
77764 esac
77765 else
77766 case ${target_os} in
77767 darwin*)
77768 enable_symvers=darwin ;;
77769 # Sun symbol versioning exists since Solaris 2.5.
77770 solaris2.[5-9]* | solaris2.1[0-9]*)
77771 # make_sunver.pl needs GNU c++filt to support extern "C++" in
77772 # version scripts, so disable symbol versioning if none can be
77773 # found.
77774 if test -z "$ac_cv_path_CXXFILT"; then
77775 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
77776 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
77777 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
77778 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
77779 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
77780 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
77781 enable_symvers=no
77782 else
77783 enable_symvers=sun
77787 enable_symvers=no ;;
77788 esac
77793 # Check to see if 'darwin' or 'darwin-export' can win.
77794 if test x$enable_symvers = xdarwin-export ; then
77795 enable_symvers=darwin
77798 # Check if 'sun' was requested on non-Solaris 2 platforms.
77799 if test x$enable_symvers = xsun ; then
77800 case ${target_os} in
77801 solaris2*)
77802 # All fine.
77805 # Unlikely to work.
77806 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
77807 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
77808 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
77809 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
77810 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
77811 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
77812 enable_symvers=no
77814 esac
77817 # Check to see if 'gnu' can win.
77818 if test $enable_symvers = gnu ||
77819 test $enable_symvers = gnu-versioned-namespace ||
77820 test $enable_symvers = sun; then
77821 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
77822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
77823 $as_echo_n "checking for shared libgcc... " >&6; }
77824 ac_save_CFLAGS="$CFLAGS"
77825 CFLAGS=' -lgcc_s'
77826 if test x$gcc_no_link = xyes; then
77827 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77830 /* end confdefs.h. */
77833 main ()
77835 return 0;
77837 return 0;
77839 _ACEOF
77840 if ac_fn_c_try_link "$LINENO"; then :
77841 glibcxx_shared_libgcc=yes
77842 else
77843 glibcxx_shared_libgcc=no
77845 rm -f core conftest.err conftest.$ac_objext \
77846 conftest$ac_exeext conftest.$ac_ext
77847 CFLAGS="$ac_save_CFLAGS"
77848 if test $glibcxx_shared_libgcc = no; then
77849 cat > conftest.c <<EOF
77850 int main (void) { return 0; }
77852 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
77853 -shared -shared-libgcc -o conftest.so \
77854 conftest.c -v 2>&1 >/dev/null \
77855 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
77856 rm -f conftest.c conftest.so
77857 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
77858 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
77859 if test x$gcc_no_link = xyes; then
77860 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77863 /* end confdefs.h. */
77866 main ()
77868 return 0;
77870 return 0;
77872 _ACEOF
77873 if ac_fn_c_try_link "$LINENO"; then :
77874 glibcxx_shared_libgcc=yes
77876 rm -f core conftest.err conftest.$ac_objext \
77877 conftest$ac_exeext conftest.$ac_ext
77878 CFLAGS="$ac_save_CFLAGS"
77881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
77882 $as_echo "$glibcxx_shared_libgcc" >&6; }
77884 # For GNU ld, we need at least this version. The format is described in
77885 # GLIBCXX_CHECK_LINKER_FEATURES above.
77886 glibcxx_min_gnu_ld_version=21400
77888 # If no shared libgcc, can't win.
77889 if test $glibcxx_shared_libgcc != yes; then
77890 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
77891 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
77892 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
77893 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
77894 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
77895 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
77896 enable_symvers=no
77897 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
77898 : All interesting versions of Sun ld support sun style symbol versioning.
77899 elif test $with_gnu_ld != yes ; then
77900 # just fail for now
77901 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
77902 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
77903 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
77904 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
77905 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
77906 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
77907 enable_symvers=no
77908 elif test $glibcxx_ld_is_gold = yes ; then
77909 : All versions of gold support symbol versioning.
77910 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
77911 # The right tools, the right setup, but too old. Fallbacks?
77912 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
77913 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
77914 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
77915 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
77916 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
77917 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
77918 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
77919 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
77920 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
77921 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
77922 enable_symvers=no
77926 # For libtool versioning info, format is CURRENT:REVISION:AGE
77927 libtool_VERSION=6:20:0
77929 # Everything parsed; figure out what files and settings to use.
77930 case $enable_symvers in
77932 SYMVER_FILE=config/abi/pre/none.ver
77934 gnu)
77935 SYMVER_FILE=config/abi/pre/gnu.ver
77937 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
77940 gnu-versioned-namespace)
77941 libtool_VERSION=7:0:0
77942 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
77944 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
77947 darwin)
77948 SYMVER_FILE=config/abi/pre/gnu.ver
77950 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
77953 sun)
77954 SYMVER_FILE=config/abi/pre/gnu.ver
77956 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
77959 esac
77961 if test x$enable_symvers != xno ; then
77963 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
77967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
77968 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
77969 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
77970 $as_echo_n "(cached) " >&6
77971 else
77973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77974 /* end confdefs.h. */
77975 void foo (void); __asm (".symver foo, bar@SYMVER");
77977 main ()
77981 return 0;
77983 _ACEOF
77984 if ac_fn_c_try_compile "$LINENO"; then :
77985 glibcxx_cv_have_as_symver_directive=yes
77986 else
77987 glibcxx_cv_have_as_symver_directive=no
77989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
77992 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
77993 if test $glibcxx_cv_have_as_symver_directive = yes; then
77995 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
78006 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
78007 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
78009 if test $enable_symvers != no ; then
78010 case ${target_os} in
78011 # The Solaris 2 runtime linker doesn't support the GNU extension of
78012 # binding the same symbol to different versions
78013 solaris2*)
78015 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
78018 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
78021 esac
78024 # Now, set up compatibility support, if any.
78025 # In addition, need this to deal with std::size_t mangling in
78026 # src/compatibility.cc. In a perfect world, could use
78027 # typeid(std::size_t).name()[0] to do direct substitution.
78028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
78029 $as_echo_n "checking for size_t as unsigned int... " >&6; }
78030 ac_save_CFLAGS="$CFLAGS"
78031 CFLAGS="-Werror"
78032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78033 /* end confdefs.h. */
78036 main ()
78038 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
78040 return 0;
78042 _ACEOF
78043 if ac_fn_c_try_compile "$LINENO"; then :
78044 glibcxx_size_t_is_i=yes
78045 else
78046 glibcxx_size_t_is_i=no
78048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78049 CFLAGS=$ac_save_CFLAGS
78050 if test "$glibcxx_size_t_is_i" = yes; then
78052 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
78055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
78056 $as_echo "$glibcxx_size_t_is_i" >&6; }
78058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
78059 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
78060 ac_save_CFLAGS="$CFLAGS"
78061 CFLAGS="-Werror"
78062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78063 /* end confdefs.h. */
78066 main ()
78068 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
78070 return 0;
78072 _ACEOF
78073 if ac_fn_c_try_compile "$LINENO"; then :
78074 glibcxx_ptrdiff_t_is_i=yes
78075 else
78076 glibcxx_ptrdiff_t_is_i=no
78078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78079 CFLAGS=$ac_save_CFLAGS
78080 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
78082 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
78085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
78086 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
78091 # Check whether --enable-libstdcxx-visibility was given.
78092 if test "${enable_libstdcxx_visibility+set}" = set; then :
78093 enableval=$enable_libstdcxx_visibility;
78094 case "$enableval" in
78095 yes|no) ;;
78096 *) as_fn_error "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
78097 esac
78099 else
78100 enable_libstdcxx_visibility=yes
78105 if test x$enable_libstdcxx_visibility = xyes ; then
78106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
78107 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
78108 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
78109 $as_echo_n "(cached) " >&6
78110 else
78112 save_CFLAGS="$CFLAGS"
78113 CFLAGS="$CFLAGS -Werror"
78114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78115 /* end confdefs.h. */
78116 void __attribute__((visibility("hidden"))) foo(void) { }
78118 main ()
78122 return 0;
78124 _ACEOF
78125 if ac_fn_c_try_compile "$LINENO"; then :
78126 glibcxx_cv_have_attribute_visibility=yes
78127 else
78128 glibcxx_cv_have_attribute_visibility=no
78130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78131 CFLAGS="$save_CFLAGS"
78133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
78134 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
78135 if test $glibcxx_cv_have_attribute_visibility = no; then
78136 enable_libstdcxx_visibility=no
78141 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
78142 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
78145 ac_ldbl_compat=no
78146 case "$target" in
78147 powerpc*-*-linux* | \
78148 sparc*-*-linux* | \
78149 s390*-*-linux* | \
78150 alpha*-*-linux*)
78151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78152 /* end confdefs.h. */
78155 main ()
78158 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
78159 #error no need for long double compatibility
78160 #endif
78163 return 0;
78165 _ACEOF
78166 if ac_fn_c_try_compile "$LINENO"; then :
78167 ac_ldbl_compat=yes
78168 else
78169 ac_ldbl_compat=no
78171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78172 if test "$ac_ldbl_compat" = yes; then
78174 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
78176 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
78178 esac
78181 # Check if assembler supports disabling hardware capability support.
78183 test -z "$HWCAP_FLAGS" && HWCAP_FLAGS=''
78185 # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
78186 # with a different meaning.
78187 case ${target_os} in
78188 solaris2*)
78189 ac_save_CFLAGS="$CFLAGS"
78190 CFLAGS="$CFLAGS -Wa,-nH"
78192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
78193 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
78194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78195 /* end confdefs.h. */
78198 main ()
78200 return 0;
78202 return 0;
78204 _ACEOF
78205 if ac_fn_c_try_compile "$LINENO"; then :
78206 ac_hwcap_flags=yes
78207 else
78208 ac_hwcap_flags=no
78210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78211 if test "$ac_hwcap_flags" = "yes"; then
78212 HWCAP_FLAGS="-Wa,-nH $HWCAP_FLAGS"
78214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
78215 $as_echo "$ac_hwcap_flags" >&6; }
78217 CFLAGS="$ac_save_CFLAGS"
78219 esac
78224 # Check if assembler supports rdrand opcode.
78226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
78227 $as_echo_n "checking for rdrand support in assembler... " >&6; }
78228 if test "${ac_cv_x86_rdrand+set}" = set; then :
78229 $as_echo_n "(cached) " >&6
78230 else
78232 ac_cv_x86_rdrand=no
78233 case "$target" in
78234 i?86-*-* | \
78235 x86_64-*-*)
78236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78237 /* end confdefs.h. */
78240 main ()
78242 asm("rdrand %eax");
78244 return 0;
78246 _ACEOF
78247 if ac_fn_c_try_compile "$LINENO"; then :
78248 ac_cv_x86_rdrand=yes
78249 else
78250 ac_cv_x86_rdrand=no
78252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78253 esac
78257 if test $ac_cv_x86_rdrand = yes; then
78259 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
78262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
78263 $as_echo "$ac_cv_x86_rdrand" >&6; }
78266 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
78268 if $GLIBCXX_IS_NATIVE ; then
78269 # Do checks for resource limit functions.
78271 setrlimit_have_headers=yes
78272 for ac_header in unistd.h sys/time.h sys/resource.h
78273 do :
78274 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
78275 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
78276 eval as_val=\$$as_ac_Header
78277 if test "x$as_val" = x""yes; then :
78278 cat >>confdefs.h <<_ACEOF
78279 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
78280 _ACEOF
78282 else
78283 setrlimit_have_headers=no
78286 done
78288 # If don't have the headers, then we can't run the tests now, and we
78289 # won't be seeing any of these during testsuite compilation.
78290 if test $setrlimit_have_headers = yes; then
78291 # Can't do these in a loop, else the resulting syntax is wrong.
78293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
78294 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
78295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78296 /* end confdefs.h. */
78297 #include <unistd.h>
78298 #include <sys/time.h>
78299 #include <sys/resource.h>
78302 main ()
78304 int f = RLIMIT_DATA ;
78306 return 0;
78308 _ACEOF
78309 if ac_fn_c_try_compile "$LINENO"; then :
78310 glibcxx_mresult=1
78311 else
78312 glibcxx_mresult=0
78314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78316 cat >>confdefs.h <<_ACEOF
78317 #define HAVE_LIMIT_DATA $glibcxx_mresult
78318 _ACEOF
78320 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78322 $as_echo "$res" >&6; }
78325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
78326 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
78327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78328 /* end confdefs.h. */
78329 #include <unistd.h>
78330 #include <sys/time.h>
78331 #include <sys/resource.h>
78334 main ()
78336 int f = RLIMIT_RSS ;
78338 return 0;
78340 _ACEOF
78341 if ac_fn_c_try_compile "$LINENO"; then :
78342 glibcxx_mresult=1
78343 else
78344 glibcxx_mresult=0
78346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78348 cat >>confdefs.h <<_ACEOF
78349 #define HAVE_LIMIT_RSS $glibcxx_mresult
78350 _ACEOF
78352 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78354 $as_echo "$res" >&6; }
78357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
78358 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
78359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78360 /* end confdefs.h. */
78361 #include <unistd.h>
78362 #include <sys/time.h>
78363 #include <sys/resource.h>
78366 main ()
78368 int f = RLIMIT_VMEM ;
78370 return 0;
78372 _ACEOF
78373 if ac_fn_c_try_compile "$LINENO"; then :
78374 glibcxx_mresult=1
78375 else
78376 glibcxx_mresult=0
78378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78380 cat >>confdefs.h <<_ACEOF
78381 #define HAVE_LIMIT_VMEM $glibcxx_mresult
78382 _ACEOF
78384 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78386 $as_echo "$res" >&6; }
78389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
78390 $as_echo_n "checking for RLIMIT_AS... " >&6; }
78391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78392 /* end confdefs.h. */
78393 #include <unistd.h>
78394 #include <sys/time.h>
78395 #include <sys/resource.h>
78398 main ()
78400 int f = RLIMIT_AS ;
78402 return 0;
78404 _ACEOF
78405 if ac_fn_c_try_compile "$LINENO"; then :
78406 glibcxx_mresult=1
78407 else
78408 glibcxx_mresult=0
78410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78412 cat >>confdefs.h <<_ACEOF
78413 #define HAVE_LIMIT_AS $glibcxx_mresult
78414 _ACEOF
78416 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78418 $as_echo "$res" >&6; }
78421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
78422 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
78423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78424 /* end confdefs.h. */
78425 #include <unistd.h>
78426 #include <sys/time.h>
78427 #include <sys/resource.h>
78430 main ()
78432 int f = RLIMIT_FSIZE ;
78434 return 0;
78436 _ACEOF
78437 if ac_fn_c_try_compile "$LINENO"; then :
78438 glibcxx_mresult=1
78439 else
78440 glibcxx_mresult=0
78442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78444 cat >>confdefs.h <<_ACEOF
78445 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
78446 _ACEOF
78448 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78450 $as_echo "$res" >&6; }
78453 # Check for rlimit, setrlimit.
78454 if test "${glibcxx_cv_setrlimit+set}" = set; then :
78455 $as_echo_n "(cached) " >&6
78456 else
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 struct rlimit r;
78468 setrlimit(0, &r);
78470 return 0;
78472 _ACEOF
78473 if ac_fn_c_try_compile "$LINENO"; then :
78474 glibcxx_cv_setrlimit=yes
78475 else
78476 glibcxx_cv_setrlimit=no
78478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
78485 $as_echo_n "checking for testsuite resource limits support... " >&6; }
78486 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
78487 ac_res_limits=yes
78489 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
78491 else
78492 ac_res_limits=no
78494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
78495 $as_echo "$ac_res_limits" >&6; }
78498 # Look for setenv, so that extended locale tests can be performed.
78500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
78501 $as_echo_n "checking for setenv declaration... " >&6; }
78502 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
78503 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
78504 $as_echo_n "(cached) " >&6
78505 else
78508 ac_ext=cpp
78509 ac_cpp='$CXXCPP $CPPFLAGS'
78510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78515 /* end confdefs.h. */
78516 #include <stdlib.h>
78518 main ()
78520 setenv(0, 0, 0);
78522 return 0;
78524 _ACEOF
78525 if ac_fn_cxx_try_compile "$LINENO"; then :
78526 glibcxx_cv_func_setenv_use=yes
78527 else
78528 glibcxx_cv_func_setenv_use=no
78530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78531 ac_ext=c
78532 ac_cpp='$CPP $CPPFLAGS'
78533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
78542 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
78543 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
78544 for ac_func in setenv
78545 do :
78546 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
78547 if test "x$ac_cv_func_setenv" = x""yes; then :
78548 cat >>confdefs.h <<_ACEOF
78549 #define HAVE_SETENV 1
78550 _ACEOF
78553 done
78559 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
78560 test $enable_symvers != no; then
78561 case "$host" in
78562 *-*-cygwin*)
78563 enable_abi_check=no ;;
78565 enable_abi_check=yes ;;
78566 esac
78567 else
78568 # Only build this as native, since automake does not understand
78569 # CXX_FOR_BUILD.
78570 enable_abi_check=no
78573 # Export file names for ABI checking.
78574 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
78576 baseline_subdir_switch="$abi_baseline_subdir_switch"
78580 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
78582 # Check whether --enable-libstdcxx-threads was given.
78583 if test "${enable_libstdcxx_threads+set}" = set; then :
78584 enableval=$enable_libstdcxx_threads;
78585 case "$enableval" in
78586 yes|no) ;;
78587 *) as_fn_error "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
78588 esac
78590 else
78591 enable_libstdcxx_threads=auto
78596 if test x$enable_libstdcxx_threads = xauto ||
78597 test x$enable_libstdcxx_threads = xyes; then
78600 ac_ext=cpp
78601 ac_cpp='$CXXCPP $CPPFLAGS'
78602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78607 ac_save_CXXFLAGS="$CXXFLAGS"
78608 CXXFLAGS="$CXXFLAGS -fno-exceptions \
78609 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
78611 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
78612 case $target_thread_file in
78613 posix)
78614 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
78615 esac
78617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
78618 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
78620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78621 /* end confdefs.h. */
78622 #include <unistd.h>
78624 main ()
78627 // In case of POSIX threads check _POSIX_TIMEOUTS.
78628 #if (defined(_PTHREADS) \
78629 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
78630 #error
78631 #endif
78634 return 0;
78636 _ACEOF
78637 if ac_fn_cxx_try_compile "$LINENO"; then :
78638 ac_gthread_use_mutex_timedlock=1
78639 else
78640 ac_gthread_use_mutex_timedlock=0
78642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78645 cat >>confdefs.h <<_ACEOF
78646 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
78647 _ACEOF
78650 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
78651 else res_mutex_timedlock=no ; fi
78652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
78653 $as_echo "$res_mutex_timedlock" >&6; }
78655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
78656 $as_echo_n "checking for gthreads library... " >&6; }
78658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78659 /* end confdefs.h. */
78660 #include "gthr.h"
78662 main ()
78665 #ifndef __GTHREADS_CXX0X
78666 #error
78667 #endif
78670 return 0;
78672 _ACEOF
78673 if ac_fn_cxx_try_compile "$LINENO"; then :
78674 case $target_os in
78675 # gthreads support breaks symbol versioning on Solaris 9 (PR
78676 # libstdc++/52189).
78677 solaris2.9*)
78678 if test x$enable_symvers = xno; then
78679 ac_has_gthreads=yes
78680 elif test x$enable_libstdcxx_threads = xyes; then
78681 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You have requested C++11 threads support, but" >&5
78682 $as_echo "$as_me: WARNING: You have requested C++11 threads support, but" >&2;}
78683 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: this breaks symbol versioning." >&5
78684 $as_echo "$as_me: WARNING: this breaks symbol versioning." >&2;}
78685 ac_has_gthreads=yes
78686 else
78687 ac_has_gthreads=no
78691 ac_has_gthreads=yes
78693 esac
78694 else
78695 ac_has_gthreads=no
78697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78698 else
78699 ac_has_gthreads=no
78702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
78703 $as_echo "$ac_has_gthreads" >&6; }
78705 if test x"$ac_has_gthreads" = x"yes"; then
78707 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
78711 CXXFLAGS="$ac_save_CXXFLAGS"
78712 ac_ext=c
78713 ac_cpp='$CPP $CPPFLAGS'
78714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78720 # Define documentation rules conditionally.
78722 # See if makeinfo has been installed and is modern enough
78723 # that we can use it.
78725 # Extract the first word of "makeinfo", so it can be a program name with args.
78726 set dummy makeinfo; ac_word=$2
78727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
78728 $as_echo_n "checking for $ac_word... " >&6; }
78729 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
78730 $as_echo_n "(cached) " >&6
78731 else
78732 if test -n "$MAKEINFO"; then
78733 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
78734 else
78735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78736 for as_dir in $PATH
78738 IFS=$as_save_IFS
78739 test -z "$as_dir" && as_dir=.
78740 for ac_exec_ext in '' $ac_executable_extensions; do
78741 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
78742 ac_cv_prog_MAKEINFO="makeinfo"
78743 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
78744 break 2
78746 done
78747 done
78748 IFS=$as_save_IFS
78752 MAKEINFO=$ac_cv_prog_MAKEINFO
78753 if test -n "$MAKEINFO"; then
78754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
78755 $as_echo "$MAKEINFO" >&6; }
78756 else
78757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
78758 $as_echo "no" >&6; }
78762 if test -n "$MAKEINFO"; then
78763 # Found it, now check the version.
78764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
78765 $as_echo_n "checking for modern makeinfo... " >&6; }
78766 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
78767 $as_echo_n "(cached) " >&6
78768 else
78769 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
78770 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
78772 case $ac_prog_version in
78773 '') gcc_cv_prog_makeinfo_modern=no;;
78774 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
78775 *) gcc_cv_prog_makeinfo_modern=no;;
78776 esac
78779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
78780 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
78781 else
78782 gcc_cv_prog_makeinfo_modern=no
78784 if test $gcc_cv_prog_makeinfo_modern = no; then
78785 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
78788 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
78789 BUILD_INFO_TRUE=
78790 BUILD_INFO_FALSE='#'
78791 else
78792 BUILD_INFO_TRUE='#'
78793 BUILD_INFO_FALSE=
78797 # Check for doxygen
78798 # Extract the first word of "doxygen", so it can be a program name with args.
78799 set dummy doxygen; ac_word=$2
78800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
78801 $as_echo_n "checking for $ac_word... " >&6; }
78802 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
78803 $as_echo_n "(cached) " >&6
78804 else
78805 if test -n "$DOXYGEN"; then
78806 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
78807 else
78808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78809 for as_dir in $PATH
78811 IFS=$as_save_IFS
78812 test -z "$as_dir" && as_dir=.
78813 for ac_exec_ext in '' $ac_executable_extensions; do
78814 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
78815 ac_cv_prog_DOXYGEN="yes"
78816 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
78817 break 2
78819 done
78820 done
78821 IFS=$as_save_IFS
78823 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
78826 DOXYGEN=$ac_cv_prog_DOXYGEN
78827 if test -n "$DOXYGEN"; then
78828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
78829 $as_echo "$DOXYGEN" >&6; }
78830 else
78831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
78832 $as_echo "no" >&6; }
78836 # Extract the first word of "dot", so it can be a program name with args.
78837 set dummy dot; ac_word=$2
78838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
78839 $as_echo_n "checking for $ac_word... " >&6; }
78840 if test "${ac_cv_prog_DOT+set}" = set; then :
78841 $as_echo_n "(cached) " >&6
78842 else
78843 if test -n "$DOT"; then
78844 ac_cv_prog_DOT="$DOT" # Let the user override the test.
78845 else
78846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78847 for as_dir in $PATH
78849 IFS=$as_save_IFS
78850 test -z "$as_dir" && as_dir=.
78851 for ac_exec_ext in '' $ac_executable_extensions; do
78852 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
78853 ac_cv_prog_DOT="yes"
78854 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
78855 break 2
78857 done
78858 done
78859 IFS=$as_save_IFS
78861 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
78864 DOT=$ac_cv_prog_DOT
78865 if test -n "$DOT"; then
78866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
78867 $as_echo "$DOT" >&6; }
78868 else
78869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
78870 $as_echo "no" >&6; }
78875 # Check for docbook
78876 # Extract the first word of "xsltproc", so it can be a program name with args.
78877 set dummy xsltproc; ac_word=$2
78878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
78879 $as_echo_n "checking for $ac_word... " >&6; }
78880 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
78881 $as_echo_n "(cached) " >&6
78882 else
78883 if test -n "$XSLTPROC"; then
78884 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
78885 else
78886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78887 for as_dir in $PATH
78889 IFS=$as_save_IFS
78890 test -z "$as_dir" && as_dir=.
78891 for ac_exec_ext in '' $ac_executable_extensions; do
78892 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
78893 ac_cv_prog_XSLTPROC="yes"
78894 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
78895 break 2
78897 done
78898 done
78899 IFS=$as_save_IFS
78901 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
78904 XSLTPROC=$ac_cv_prog_XSLTPROC
78905 if test -n "$XSLTPROC"; then
78906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
78907 $as_echo "$XSLTPROC" >&6; }
78908 else
78909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
78910 $as_echo "no" >&6; }
78914 # Extract the first word of "xmllint", so it can be a program name with args.
78915 set dummy xmllint; ac_word=$2
78916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
78917 $as_echo_n "checking for $ac_word... " >&6; }
78918 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
78919 $as_echo_n "(cached) " >&6
78920 else
78921 if test -n "$XMLLINT"; then
78922 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
78923 else
78924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78925 for as_dir in $PATH
78927 IFS=$as_save_IFS
78928 test -z "$as_dir" && as_dir=.
78929 for ac_exec_ext in '' $ac_executable_extensions; do
78930 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
78931 ac_cv_prog_XMLLINT="yes"
78932 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
78933 break 2
78935 done
78936 done
78937 IFS=$as_save_IFS
78939 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
78942 XMLLINT=$ac_cv_prog_XMLLINT
78943 if test -n "$XMLLINT"; then
78944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
78945 $as_echo "$XMLLINT" >&6; }
78946 else
78947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
78948 $as_echo "no" >&6; }
78954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
78955 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
78956 glibcxx_stylesheets=no
78957 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
78958 glibcxx_stylesheets=yes
78960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
78961 $as_echo "$glibcxx_stylesheets" >&6; }
78963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
78964 $as_echo_n "checking for local stylesheet directory... " >&6; }
78965 glibcxx_local_stylesheets=no
78966 if test x"$glibcxx_stylesheets" = x"yes"; then
78967 if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
78968 glibcxx_local_stylesheets=yes
78969 XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
78971 if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
78972 glibcxx_local_stylesheets=yes
78973 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
78975 if test -d /usr/share/xml/docbook/stylesheet/nwalsh5/current; then
78976 glibcxx_local_stylesheets=yes
78977 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/nwalsh5/current
78980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
78981 $as_echo "$glibcxx_local_stylesheets" >&6; }
78983 if test x"$glibcxx_local_stylesheets" = x"yes"; then
78985 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
78986 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
78987 else
78988 glibcxx_stylesheets=no
78991 # Check for epub3 dependencies.
78992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
78993 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
78994 glibcxx_epub_stylesheets=no
78995 if test x"$glibcxx_local_stylesheets" = x"yes"; then
78996 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
78997 glibcxx_epub_stylesheets=yes
79000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
79001 $as_echo "$glibcxx_epub_stylesheets" >&6; }
79002 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
79003 BUILD_EPUB_TRUE=
79004 BUILD_EPUB_FALSE='#'
79005 else
79006 BUILD_EPUB_TRUE='#'
79007 BUILD_EPUB_FALSE=
79013 # Check for xml/html dependencies.
79014 if test $ac_cv_prog_DOXYGEN = "yes" &&
79015 test $ac_cv_prog_DOT = "yes" &&
79016 test $ac_cv_prog_XSLTPROC = "yes" &&
79017 test $ac_cv_prog_XMLLINT = "yes" &&
79018 test $glibcxx_stylesheets = "yes"; then
79019 BUILD_XML_TRUE=
79020 BUILD_XML_FALSE='#'
79021 else
79022 BUILD_XML_TRUE='#'
79023 BUILD_XML_FALSE=
79027 if test $ac_cv_prog_DOXYGEN = "yes" &&
79028 test $ac_cv_prog_DOT = "yes" &&
79029 test $ac_cv_prog_XSLTPROC = "yes" &&
79030 test $ac_cv_prog_XMLLINT = "yes" &&
79031 test $glibcxx_stylesheets = "yes"; then
79032 BUILD_HTML_TRUE=
79033 BUILD_HTML_FALSE='#'
79034 else
79035 BUILD_HTML_TRUE='#'
79036 BUILD_HTML_FALSE=
79040 # Check for man dependencies.
79041 if test $ac_cv_prog_DOXYGEN = "yes" &&
79042 test $ac_cv_prog_DOT = "yes"; then
79043 BUILD_MAN_TRUE=
79044 BUILD_MAN_FALSE='#'
79045 else
79046 BUILD_MAN_TRUE='#'
79047 BUILD_MAN_FALSE=
79051 # Check for pdf dependencies.
79052 # Extract the first word of "dblatex", so it can be a program name with args.
79053 set dummy dblatex; ac_word=$2
79054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
79055 $as_echo_n "checking for $ac_word... " >&6; }
79056 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
79057 $as_echo_n "(cached) " >&6
79058 else
79059 if test -n "$DBLATEX"; then
79060 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
79061 else
79062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79063 for as_dir in $PATH
79065 IFS=$as_save_IFS
79066 test -z "$as_dir" && as_dir=.
79067 for ac_exec_ext in '' $ac_executable_extensions; do
79068 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
79069 ac_cv_prog_DBLATEX="yes"
79070 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
79071 break 2
79073 done
79074 done
79075 IFS=$as_save_IFS
79077 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
79080 DBLATEX=$ac_cv_prog_DBLATEX
79081 if test -n "$DBLATEX"; then
79082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
79083 $as_echo "$DBLATEX" >&6; }
79084 else
79085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
79086 $as_echo "no" >&6; }
79090 # Extract the first word of "pdflatex", so it can be a program name with args.
79091 set dummy pdflatex; ac_word=$2
79092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
79093 $as_echo_n "checking for $ac_word... " >&6; }
79094 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
79095 $as_echo_n "(cached) " >&6
79096 else
79097 if test -n "$PDFLATEX"; then
79098 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
79099 else
79100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79101 for as_dir in $PATH
79103 IFS=$as_save_IFS
79104 test -z "$as_dir" && as_dir=.
79105 for ac_exec_ext in '' $ac_executable_extensions; do
79106 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
79107 ac_cv_prog_PDFLATEX="yes"
79108 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
79109 break 2
79111 done
79112 done
79113 IFS=$as_save_IFS
79115 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
79118 PDFLATEX=$ac_cv_prog_PDFLATEX
79119 if test -n "$PDFLATEX"; then
79120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
79121 $as_echo "$PDFLATEX" >&6; }
79122 else
79123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
79124 $as_echo "no" >&6; }
79128 if test $ac_cv_prog_DBLATEX = "yes" &&
79129 test $ac_cv_prog_PDFLATEX = "yes"; then
79130 BUILD_PDF_TRUE=
79131 BUILD_PDF_FALSE='#'
79132 else
79133 BUILD_PDF_TRUE='#'
79134 BUILD_PDF_FALSE=
79139 # Propagate the target-specific source directories through the build chain.
79140 ATOMICITY_SRCDIR=config/${atomicity_dir}
79141 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
79142 ATOMIC_FLAGS=${atomic_flags}
79143 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
79144 OS_INC_SRCDIR=config/${os_include_dir}
79145 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
79146 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
79147 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
79148 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
79160 # Determine cross-compile flags and AM_CONDITIONALs.
79161 #AC_SUBST(GLIBCXX_IS_NATIVE)
79162 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
79163 if test $is_hosted = yes; then
79164 GLIBCXX_HOSTED_TRUE=
79165 GLIBCXX_HOSTED_FALSE='#'
79166 else
79167 GLIBCXX_HOSTED_TRUE='#'
79168 GLIBCXX_HOSTED_FALSE=
79172 if test $enable_libstdcxx_pch = yes; then
79173 GLIBCXX_BUILD_PCH_TRUE=
79174 GLIBCXX_BUILD_PCH_FALSE='#'
79175 else
79176 GLIBCXX_BUILD_PCH_TRUE='#'
79177 GLIBCXX_BUILD_PCH_FALSE=
79181 if test $enable_cheaders = c; then
79182 GLIBCXX_C_HEADERS_C_TRUE=
79183 GLIBCXX_C_HEADERS_C_FALSE='#'
79184 else
79185 GLIBCXX_C_HEADERS_C_TRUE='#'
79186 GLIBCXX_C_HEADERS_C_FALSE=
79190 if test $enable_cheaders = c_std; then
79191 GLIBCXX_C_HEADERS_C_STD_TRUE=
79192 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
79193 else
79194 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
79195 GLIBCXX_C_HEADERS_C_STD_FALSE=
79199 if test $enable_cheaders = c_global; then
79200 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
79201 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
79202 else
79203 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
79204 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
79208 if test $c_compatibility = yes; then
79209 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
79210 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
79211 else
79212 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
79213 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
79217 if test $enable_libstdcxx_debug = yes; then
79218 GLIBCXX_BUILD_DEBUG_TRUE=
79219 GLIBCXX_BUILD_DEBUG_FALSE='#'
79220 else
79221 GLIBCXX_BUILD_DEBUG_TRUE='#'
79222 GLIBCXX_BUILD_DEBUG_FALSE=
79226 if test $enable_extern_template = yes; then
79227 ENABLE_EXTERN_TEMPLATE_TRUE=
79228 ENABLE_EXTERN_TEMPLATE_FALSE='#'
79229 else
79230 ENABLE_EXTERN_TEMPLATE_TRUE='#'
79231 ENABLE_EXTERN_TEMPLATE_FALSE=
79235 if test $python_mod_dir != no; then
79236 ENABLE_PYTHONDIR_TRUE=
79237 ENABLE_PYTHONDIR_FALSE='#'
79238 else
79239 ENABLE_PYTHONDIR_TRUE='#'
79240 ENABLE_PYTHONDIR_FALSE=
79244 if test $enable_werror = yes; then
79245 ENABLE_WERROR_TRUE=
79246 ENABLE_WERROR_FALSE='#'
79247 else
79248 ENABLE_WERROR_TRUE='#'
79249 ENABLE_WERROR_FALSE=
79253 if test $enable_vtable_verify = yes; then
79254 ENABLE_VTABLE_VERIFY_TRUE=
79255 ENABLE_VTABLE_VERIFY_FALSE='#'
79256 else
79257 ENABLE_VTABLE_VERIFY_TRUE='#'
79258 ENABLE_VTABLE_VERIFY_FALSE=
79262 if test $enable_symvers != no; then
79263 ENABLE_SYMVERS_TRUE=
79264 ENABLE_SYMVERS_FALSE='#'
79265 else
79266 ENABLE_SYMVERS_TRUE='#'
79267 ENABLE_SYMVERS_FALSE=
79271 if test $enable_symvers = gnu; then
79272 ENABLE_SYMVERS_GNU_TRUE=
79273 ENABLE_SYMVERS_GNU_FALSE='#'
79274 else
79275 ENABLE_SYMVERS_GNU_TRUE='#'
79276 ENABLE_SYMVERS_GNU_FALSE=
79280 if test $enable_symvers = gnu-versioned-namespace; then
79281 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
79282 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
79283 else
79284 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
79285 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
79289 if test $enable_symvers = darwin; then
79290 ENABLE_SYMVERS_DARWIN_TRUE=
79291 ENABLE_SYMVERS_DARWIN_FALSE='#'
79292 else
79293 ENABLE_SYMVERS_DARWIN_TRUE='#'
79294 ENABLE_SYMVERS_DARWIN_FALSE=
79298 if test $enable_symvers = sun; then
79299 ENABLE_SYMVERS_SUN_TRUE=
79300 ENABLE_SYMVERS_SUN_FALSE='#'
79301 else
79302 ENABLE_SYMVERS_SUN_TRUE='#'
79303 ENABLE_SYMVERS_SUN_FALSE=
79307 if test $enable_libstdcxx_visibility = yes; then
79308 ENABLE_VISIBILITY_TRUE=
79309 ENABLE_VISIBILITY_FALSE='#'
79310 else
79311 ENABLE_VISIBILITY_TRUE='#'
79312 ENABLE_VISIBILITY_FALSE=
79316 if test $ac_ldbl_compat = yes; then
79317 GLIBCXX_LDBL_COMPAT_TRUE=
79318 GLIBCXX_LDBL_COMPAT_FALSE='#'
79319 else
79320 GLIBCXX_LDBL_COMPAT_TRUE='#'
79321 GLIBCXX_LDBL_COMPAT_FALSE=
79327 cat >confcache <<\_ACEOF
79328 # This file is a shell script that caches the results of configure
79329 # tests run on this system so they can be shared between configure
79330 # scripts and configure runs, see configure's option --config-cache.
79331 # It is not useful on other systems. If it contains results you don't
79332 # want to keep, you may remove or edit it.
79334 # config.status only pays attention to the cache file if you give it
79335 # the --recheck option to rerun configure.
79337 # `ac_cv_env_foo' variables (set or unset) will be overridden when
79338 # loading this file, other *unset* `ac_cv_foo' will be assigned the
79339 # following values.
79341 _ACEOF
79343 # The following way of writing the cache mishandles newlines in values,
79344 # but we know of no workaround that is simple, portable, and efficient.
79345 # So, we kill variables containing newlines.
79346 # Ultrix sh set writes to stderr and can't be redirected directly,
79347 # and sets the high bit in the cache file unless we assign to the vars.
79349 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
79350 eval ac_val=\$$ac_var
79351 case $ac_val in #(
79352 *${as_nl}*)
79353 case $ac_var in #(
79354 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
79355 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
79356 esac
79357 case $ac_var in #(
79358 _ | IFS | as_nl) ;; #(
79359 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
79360 *) { eval $ac_var=; unset $ac_var;} ;;
79361 esac ;;
79362 esac
79363 done
79365 (set) 2>&1 |
79366 case $as_nl`(ac_space=' '; set) 2>&1` in #(
79367 *${as_nl}ac_space=\ *)
79368 # `set' does not quote correctly, so add quotes: double-quote
79369 # substitution turns \\\\ into \\, and sed turns \\ into \.
79370 sed -n \
79371 "s/'/'\\\\''/g;
79372 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
79373 ;; #(
79375 # `set' quotes correctly as required by POSIX, so do not add quotes.
79376 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
79378 esac |
79379 sort
79381 sed '
79382 /^ac_cv_env_/b end
79383 t clear
79384 :clear
79385 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
79386 t end
79387 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
79388 :end' >>confcache
79389 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
79390 if test -w "$cache_file"; then
79391 test "x$cache_file" != "x/dev/null" &&
79392 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
79393 $as_echo "$as_me: updating cache $cache_file" >&6;}
79394 cat confcache >$cache_file
79395 else
79396 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
79397 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
79400 rm -f confcache
79402 if test ${multilib} = yes; then
79403 multilib_arg="--enable-multilib"
79404 else
79405 multilib_arg=
79408 # Export all the install information.
79410 glibcxx_toolexecdir=no
79411 glibcxx_toolexeclibdir=no
79412 glibcxx_prefixdir=$prefix
79414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
79415 $as_echo_n "checking for gxx-include-dir... " >&6; }
79417 # Check whether --with-gxx-include-dir was given.
79418 if test "${with_gxx_include_dir+set}" = set; then :
79419 withval=$with_gxx_include_dir; case "$withval" in
79420 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
79421 no) gxx_include_dir=no ;;
79422 *) gxx_include_dir=$withval ;;
79423 esac
79424 else
79425 gxx_include_dir=no
79428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
79429 $as_echo "$gxx_include_dir" >&6; }
79431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
79432 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
79433 # Check whether --enable-version-specific-runtime-libs was given.
79434 if test "${enable_version_specific_runtime_libs+set}" = set; then :
79435 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
79436 yes) version_specific_libs=yes ;;
79437 no) version_specific_libs=no ;;
79438 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
79439 esac
79440 else
79441 version_specific_libs=no
79444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
79445 $as_echo "$version_specific_libs" >&6; }
79447 # Default case for install directory for include files.
79448 if test $version_specific_libs = no && test $gxx_include_dir = no; then
79449 gxx_include_dir='include/c++/${gcc_version}'
79450 if test -n "$with_cross_host" &&
79451 test x"$with_cross_host" != x"no"; then
79452 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
79453 else
79454 gxx_include_dir='${prefix}/'"$gxx_include_dir"
79458 # Version-specific runtime libs processing.
79459 if test $version_specific_libs = yes; then
79460 # Need the gcc compiler version to know where to install libraries
79461 # and header files if --enable-version-specific-runtime-libs option
79462 # is selected. FIXME: these variables are misnamed, there are
79463 # no executables installed in _toolexecdir or _toolexeclibdir.
79464 if test x"$gxx_include_dir" = x"no"; then
79465 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
79467 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
79468 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
79471 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
79472 # Install a library built with a cross compiler in tooldir, not libdir.
79473 if test x"$glibcxx_toolexecdir" = x"no"; then
79474 if test -n "$with_cross_host" &&
79475 test x"$with_cross_host" != x"no"; then
79476 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
79477 glibcxx_toolexeclibdir='${toolexecdir}/lib'
79478 else
79479 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
79480 glibcxx_toolexeclibdir='${libdir}'
79482 multi_os_directory=`$CXX -print-multi-os-directory`
79483 case $multi_os_directory in
79484 .) ;; # Avoid trailing /.
79485 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
79486 esac
79489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
79490 $as_echo_n "checking for install location... " >&6; }
79491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
79492 $as_echo "$gxx_include_dir" >&6; }
79500 # Export all the include and flag information to Makefiles.
79502 # Used for every C++ compile we perform.
79503 GLIBCXX_INCLUDES="\
79504 -I$glibcxx_builddir/include/$host_alias \
79505 -I$glibcxx_builddir/include \
79506 -I$glibcxx_srcdir/libsupc++"
79508 # For Canadian crosses, pick this up too.
79509 if test $CANADIAN = yes; then
79510 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
79513 # Stuff in the actual top level. Currently only used by libsupc++ to
79514 # get unwind* headers from the libgcc dir.
79515 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
79516 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
79518 # Now, export this to all the little Makefiles....
79523 # Optimization flags that are probably a good idea for thrill-seekers. Just
79524 # uncomment the lines below and make, everything else is ready to go...
79525 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
79526 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
79529 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi'
79533 ac_config_files="$ac_config_files Makefile"
79535 ac_config_files="$ac_config_files scripts/testsuite_flags"
79537 ac_config_files="$ac_config_files scripts/extract_symvers"
79539 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
79542 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
79543 # that multilib installs will end up installed in the correct place.
79544 # The testsuite needs it for multilib-aware ABI baseline files.
79545 # To work around this not being passed down from config-ml.in ->
79546 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
79547 # append it here. Only modify Makefiles that have just been created.
79549 # Also, get rid of this simulated-VPATH thing that automake does.
79550 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"
79553 ac_config_commands="$ac_config_commands generate-headers"
79556 cat >confcache <<\_ACEOF
79557 # This file is a shell script that caches the results of configure
79558 # tests run on this system so they can be shared between configure
79559 # scripts and configure runs, see configure's option --config-cache.
79560 # It is not useful on other systems. If it contains results you don't
79561 # want to keep, you may remove or edit it.
79563 # config.status only pays attention to the cache file if you give it
79564 # the --recheck option to rerun configure.
79566 # `ac_cv_env_foo' variables (set or unset) will be overridden when
79567 # loading this file, other *unset* `ac_cv_foo' will be assigned the
79568 # following values.
79570 _ACEOF
79572 # The following way of writing the cache mishandles newlines in values,
79573 # but we know of no workaround that is simple, portable, and efficient.
79574 # So, we kill variables containing newlines.
79575 # Ultrix sh set writes to stderr and can't be redirected directly,
79576 # and sets the high bit in the cache file unless we assign to the vars.
79578 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
79579 eval ac_val=\$$ac_var
79580 case $ac_val in #(
79581 *${as_nl}*)
79582 case $ac_var in #(
79583 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
79584 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
79585 esac
79586 case $ac_var in #(
79587 _ | IFS | as_nl) ;; #(
79588 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
79589 *) { eval $ac_var=; unset $ac_var;} ;;
79590 esac ;;
79591 esac
79592 done
79594 (set) 2>&1 |
79595 case $as_nl`(ac_space=' '; set) 2>&1` in #(
79596 *${as_nl}ac_space=\ *)
79597 # `set' does not quote correctly, so add quotes: double-quote
79598 # substitution turns \\\\ into \\, and sed turns \\ into \.
79599 sed -n \
79600 "s/'/'\\\\''/g;
79601 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
79602 ;; #(
79604 # `set' quotes correctly as required by POSIX, so do not add quotes.
79605 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
79607 esac |
79608 sort
79610 sed '
79611 /^ac_cv_env_/b end
79612 t clear
79613 :clear
79614 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
79615 t end
79616 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
79617 :end' >>confcache
79618 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
79619 if test -w "$cache_file"; then
79620 test "x$cache_file" != "x/dev/null" &&
79621 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
79622 $as_echo "$as_me: updating cache $cache_file" >&6;}
79623 cat confcache >$cache_file
79624 else
79625 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
79626 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
79629 rm -f confcache
79631 test "x$prefix" = xNONE && prefix=$ac_default_prefix
79632 # Let make expand exec_prefix.
79633 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
79635 DEFS=-DHAVE_CONFIG_H
79637 ac_libobjs=
79638 ac_ltlibobjs=
79639 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
79640 # 1. Remove the extension, and $U if already installed.
79641 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
79642 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
79643 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
79644 # will be set to the directory where LIBOBJS objects are built.
79645 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
79646 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
79647 done
79648 LIBOBJS=$ac_libobjs
79650 LTLIBOBJS=$ac_ltlibobjs
79653 if test -n "$EXEEXT"; then
79654 am__EXEEXT_TRUE=
79655 am__EXEEXT_FALSE='#'
79656 else
79657 am__EXEEXT_TRUE='#'
79658 am__EXEEXT_FALSE=
79661 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
79662 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
79663 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79665 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
79666 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
79667 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79669 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
79670 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
79671 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79673 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
79674 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
79675 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79677 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
79678 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
79679 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79681 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
79682 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
79683 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79685 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
79686 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
79687 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79689 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
79690 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
79691 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79693 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
79694 as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
79695 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79697 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
79698 as_fn_error "conditional \"ENABLE_PYTHONDIR\" was never defined.
79699 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79701 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
79702 as_fn_error "conditional \"ENABLE_WERROR\" was never defined.
79703 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79705 if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
79706 as_fn_error "conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
79707 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79709 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
79710 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
79711 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79713 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
79714 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
79715 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79717 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
79718 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
79719 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79721 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
79722 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
79723 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79725 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
79726 as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
79727 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79729 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
79730 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
79731 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79733 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
79734 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
79735 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79737 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
79738 as_fn_error "conditional \"BUILD_INFO\" was never defined.
79739 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79741 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
79742 as_fn_error "conditional \"BUILD_EPUB\" was never defined.
79743 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79745 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
79746 as_fn_error "conditional \"BUILD_XML\" was never defined.
79747 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79749 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
79750 as_fn_error "conditional \"BUILD_HTML\" was never defined.
79751 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79753 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
79754 as_fn_error "conditional \"BUILD_MAN\" was never defined.
79755 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79757 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
79758 as_fn_error "conditional \"BUILD_PDF\" was never defined.
79759 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79762 : ${CONFIG_STATUS=./config.status}
79763 ac_write_fail=0
79764 ac_clean_files_save=$ac_clean_files
79765 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
79766 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
79767 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
79768 as_write_fail=0
79769 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
79770 #! $SHELL
79771 # Generated by $as_me.
79772 # Run this file to recreate the current configuration.
79773 # Compiler output produced by configure, useful for debugging
79774 # configure, is in config.log if it exists.
79776 debug=false
79777 ac_cs_recheck=false
79778 ac_cs_silent=false
79780 SHELL=\${CONFIG_SHELL-$SHELL}
79781 export SHELL
79782 _ASEOF
79783 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
79784 ## -------------------- ##
79785 ## M4sh Initialization. ##
79786 ## -------------------- ##
79788 # Be more Bourne compatible
79789 DUALCASE=1; export DUALCASE # for MKS sh
79790 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
79791 emulate sh
79792 NULLCMD=:
79793 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
79794 # is contrary to our usage. Disable this feature.
79795 alias -g '${1+"$@"}'='"$@"'
79796 setopt NO_GLOB_SUBST
79797 else
79798 case `(set -o) 2>/dev/null` in #(
79799 *posix*) :
79800 set -o posix ;; #(
79801 *) :
79803 esac
79807 as_nl='
79809 export as_nl
79810 # Printing a long string crashes Solaris 7 /usr/bin/printf.
79811 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
79812 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
79813 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
79814 # Prefer a ksh shell builtin over an external printf program on Solaris,
79815 # but without wasting forks for bash or zsh.
79816 if test -z "$BASH_VERSION$ZSH_VERSION" \
79817 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
79818 as_echo='print -r --'
79819 as_echo_n='print -rn --'
79820 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
79821 as_echo='printf %s\n'
79822 as_echo_n='printf %s'
79823 else
79824 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
79825 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
79826 as_echo_n='/usr/ucb/echo -n'
79827 else
79828 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
79829 as_echo_n_body='eval
79830 arg=$1;
79831 case $arg in #(
79832 *"$as_nl"*)
79833 expr "X$arg" : "X\\(.*\\)$as_nl";
79834 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
79835 esac;
79836 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
79838 export as_echo_n_body
79839 as_echo_n='sh -c $as_echo_n_body as_echo'
79841 export as_echo_body
79842 as_echo='sh -c $as_echo_body as_echo'
79845 # The user is always right.
79846 if test "${PATH_SEPARATOR+set}" != set; then
79847 PATH_SEPARATOR=:
79848 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
79849 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79850 PATH_SEPARATOR=';'
79855 # IFS
79856 # We need space, tab and new line, in precisely that order. Quoting is
79857 # there to prevent editors from complaining about space-tab.
79858 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
79859 # splitting by setting IFS to empty value.)
79860 IFS=" "" $as_nl"
79862 # Find who we are. Look in the path if we contain no directory separator.
79863 case $0 in #((
79864 *[\\/]* ) as_myself=$0 ;;
79865 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79866 for as_dir in $PATH
79868 IFS=$as_save_IFS
79869 test -z "$as_dir" && as_dir=.
79870 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
79871 done
79872 IFS=$as_save_IFS
79875 esac
79876 # We did not find ourselves, most probably we were run as `sh COMMAND'
79877 # in which case we are not to be found in the path.
79878 if test "x$as_myself" = x; then
79879 as_myself=$0
79881 if test ! -f "$as_myself"; then
79882 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
79883 exit 1
79886 # Unset variables that we do not need and which cause bugs (e.g. in
79887 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
79888 # suppresses any "Segmentation fault" message there. '((' could
79889 # trigger a bug in pdksh 5.2.14.
79890 for as_var in BASH_ENV ENV MAIL MAILPATH
79891 do eval test x\${$as_var+set} = xset \
79892 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
79893 done
79894 PS1='$ '
79895 PS2='> '
79896 PS4='+ '
79898 # NLS nuisances.
79899 LC_ALL=C
79900 export LC_ALL
79901 LANGUAGE=C
79902 export LANGUAGE
79904 # CDPATH.
79905 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
79908 # as_fn_error ERROR [LINENO LOG_FD]
79909 # ---------------------------------
79910 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
79911 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
79912 # script with status $?, using 1 if that was 0.
79913 as_fn_error ()
79915 as_status=$?; test $as_status -eq 0 && as_status=1
79916 if test "$3"; then
79917 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
79918 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
79920 $as_echo "$as_me: error: $1" >&2
79921 as_fn_exit $as_status
79922 } # as_fn_error
79925 # as_fn_set_status STATUS
79926 # -----------------------
79927 # Set $? to STATUS, without forking.
79928 as_fn_set_status ()
79930 return $1
79931 } # as_fn_set_status
79933 # as_fn_exit STATUS
79934 # -----------------
79935 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
79936 as_fn_exit ()
79938 set +e
79939 as_fn_set_status $1
79940 exit $1
79941 } # as_fn_exit
79943 # as_fn_unset VAR
79944 # ---------------
79945 # Portably unset VAR.
79946 as_fn_unset ()
79948 { eval $1=; unset $1;}
79950 as_unset=as_fn_unset
79951 # as_fn_append VAR VALUE
79952 # ----------------------
79953 # Append the text in VALUE to the end of the definition contained in VAR. Take
79954 # advantage of any shell optimizations that allow amortized linear growth over
79955 # repeated appends, instead of the typical quadratic growth present in naive
79956 # implementations.
79957 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
79958 eval 'as_fn_append ()
79960 eval $1+=\$2
79962 else
79963 as_fn_append ()
79965 eval $1=\$$1\$2
79967 fi # as_fn_append
79969 # as_fn_arith ARG...
79970 # ------------------
79971 # Perform arithmetic evaluation on the ARGs, and store the result in the
79972 # global $as_val. Take advantage of shells that can avoid forks. The arguments
79973 # must be portable across $(()) and expr.
79974 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
79975 eval 'as_fn_arith ()
79977 as_val=$(( $* ))
79979 else
79980 as_fn_arith ()
79982 as_val=`expr "$@" || test $? -eq 1`
79984 fi # as_fn_arith
79987 if expr a : '\(a\)' >/dev/null 2>&1 &&
79988 test "X`expr 00001 : '.*\(...\)'`" = X001; then
79989 as_expr=expr
79990 else
79991 as_expr=false
79994 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
79995 as_basename=basename
79996 else
79997 as_basename=false
80000 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
80001 as_dirname=dirname
80002 else
80003 as_dirname=false
80006 as_me=`$as_basename -- "$0" ||
80007 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
80008 X"$0" : 'X\(//\)$' \| \
80009 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
80010 $as_echo X/"$0" |
80011 sed '/^.*\/\([^/][^/]*\)\/*$/{
80012 s//\1/
80015 /^X\/\(\/\/\)$/{
80016 s//\1/
80019 /^X\/\(\/\).*/{
80020 s//\1/
80023 s/.*/./; q'`
80025 # Avoid depending upon Character Ranges.
80026 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
80027 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
80028 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
80029 as_cr_digits='0123456789'
80030 as_cr_alnum=$as_cr_Letters$as_cr_digits
80032 ECHO_C= ECHO_N= ECHO_T=
80033 case `echo -n x` in #(((((
80034 -n*)
80035 case `echo 'xy\c'` in
80036 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
80037 xy) ECHO_C='\c';;
80038 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
80039 ECHO_T=' ';;
80040 esac;;
80042 ECHO_N='-n';;
80043 esac
80045 rm -f conf$$ conf$$.exe conf$$.file
80046 if test -d conf$$.dir; then
80047 rm -f conf$$.dir/conf$$.file
80048 else
80049 rm -f conf$$.dir
80050 mkdir conf$$.dir 2>/dev/null
80052 if (echo >conf$$.file) 2>/dev/null; then
80053 if ln -s conf$$.file conf$$ 2>/dev/null; then
80054 as_ln_s='ln -s'
80055 # ... but there are two gotchas:
80056 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
80057 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
80058 # In both cases, we have to default to `cp -p'.
80059 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
80060 as_ln_s='cp -p'
80061 elif ln conf$$.file conf$$ 2>/dev/null; then
80062 as_ln_s=ln
80063 else
80064 as_ln_s='cp -p'
80066 else
80067 as_ln_s='cp -p'
80069 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
80070 rmdir conf$$.dir 2>/dev/null
80073 # as_fn_mkdir_p
80074 # -------------
80075 # Create "$as_dir" as a directory, including parents if necessary.
80076 as_fn_mkdir_p ()
80079 case $as_dir in #(
80080 -*) as_dir=./$as_dir;;
80081 esac
80082 test -d "$as_dir" || eval $as_mkdir_p || {
80083 as_dirs=
80084 while :; do
80085 case $as_dir in #(
80086 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
80087 *) as_qdir=$as_dir;;
80088 esac
80089 as_dirs="'$as_qdir' $as_dirs"
80090 as_dir=`$as_dirname -- "$as_dir" ||
80091 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
80092 X"$as_dir" : 'X\(//\)[^/]' \| \
80093 X"$as_dir" : 'X\(//\)$' \| \
80094 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
80095 $as_echo X"$as_dir" |
80096 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
80097 s//\1/
80100 /^X\(\/\/\)[^/].*/{
80101 s//\1/
80104 /^X\(\/\/\)$/{
80105 s//\1/
80108 /^X\(\/\).*/{
80109 s//\1/
80112 s/.*/./; q'`
80113 test -d "$as_dir" && break
80114 done
80115 test -z "$as_dirs" || eval "mkdir $as_dirs"
80116 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
80119 } # as_fn_mkdir_p
80120 if mkdir -p . 2>/dev/null; then
80121 as_mkdir_p='mkdir -p "$as_dir"'
80122 else
80123 test -d ./-p && rmdir ./-p
80124 as_mkdir_p=false
80127 if test -x / >/dev/null 2>&1; then
80128 as_test_x='test -x'
80129 else
80130 if ls -dL / >/dev/null 2>&1; then
80131 as_ls_L_option=L
80132 else
80133 as_ls_L_option=
80135 as_test_x='
80136 eval sh -c '\''
80137 if test -d "$1"; then
80138 test -d "$1/.";
80139 else
80140 case $1 in #(
80141 -*)set "./$1";;
80142 esac;
80143 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
80144 ???[sx]*):;;*)false;;esac;fi
80145 '\'' sh
80148 as_executable_p=$as_test_x
80150 # Sed expression to map a string onto a valid CPP name.
80151 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
80153 # Sed expression to map a string onto a valid variable name.
80154 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
80157 exec 6>&1
80158 ## ----------------------------------- ##
80159 ## Main body of $CONFIG_STATUS script. ##
80160 ## ----------------------------------- ##
80161 _ASEOF
80162 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
80164 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80165 # Save the log message, to keep $0 and so on meaningful, and to
80166 # report actual input values of CONFIG_FILES etc. instead of their
80167 # values after options handling.
80168 ac_log="
80169 This file was extended by package-unused $as_me version-unused, which was
80170 generated by GNU Autoconf 2.64. Invocation command line was
80172 CONFIG_FILES = $CONFIG_FILES
80173 CONFIG_HEADERS = $CONFIG_HEADERS
80174 CONFIG_LINKS = $CONFIG_LINKS
80175 CONFIG_COMMANDS = $CONFIG_COMMANDS
80176 $ $0 $@
80178 on `(hostname || uname -n) 2>/dev/null | sed 1q`
80181 _ACEOF
80183 case $ac_config_files in *"
80184 "*) set x $ac_config_files; shift; ac_config_files=$*;;
80185 esac
80187 case $ac_config_headers in *"
80188 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
80189 esac
80192 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80193 # Files that config.status was made for.
80194 config_files="$ac_config_files"
80195 config_headers="$ac_config_headers"
80196 config_commands="$ac_config_commands"
80198 _ACEOF
80200 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80201 ac_cs_usage="\
80202 \`$as_me' instantiates files and other configuration actions
80203 from templates according to the current configuration. Unless the files
80204 and actions are specified as TAGs, all are instantiated by default.
80206 Usage: $0 [OPTION]... [TAG]...
80208 -h, --help print this help, then exit
80209 -V, --version print version number and configuration settings, then exit
80210 -q, --quiet, --silent
80211 do not print progress messages
80212 -d, --debug don't remove temporary files
80213 --recheck update $as_me by reconfiguring in the same conditions
80214 --file=FILE[:TEMPLATE]
80215 instantiate the configuration file FILE
80216 --header=FILE[:TEMPLATE]
80217 instantiate the configuration header FILE
80219 Configuration files:
80220 $config_files
80222 Configuration headers:
80223 $config_headers
80225 Configuration commands:
80226 $config_commands
80228 Report bugs to the package provider."
80230 _ACEOF
80231 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80232 ac_cs_version="\\
80233 package-unused config.status version-unused
80234 configured by $0, generated by GNU Autoconf 2.64,
80235 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
80237 Copyright (C) 2009 Free Software Foundation, Inc.
80238 This config.status script is free software; the Free Software Foundation
80239 gives unlimited permission to copy, distribute and modify it."
80241 ac_pwd='$ac_pwd'
80242 srcdir='$srcdir'
80243 INSTALL='$INSTALL'
80244 MKDIR_P='$MKDIR_P'
80245 AWK='$AWK'
80246 test -n "\$AWK" || AWK=awk
80247 _ACEOF
80249 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80250 # The default lists apply if the user does not specify any file.
80251 ac_need_defaults=:
80252 while test $# != 0
80254 case $1 in
80255 --*=*)
80256 ac_option=`expr "X$1" : 'X\([^=]*\)='`
80257 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
80258 ac_shift=:
80261 ac_option=$1
80262 ac_optarg=$2
80263 ac_shift=shift
80265 esac
80267 case $ac_option in
80268 # Handling of the options.
80269 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
80270 ac_cs_recheck=: ;;
80271 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
80272 $as_echo "$ac_cs_version"; exit ;;
80273 --debug | --debu | --deb | --de | --d | -d )
80274 debug=: ;;
80275 --file | --fil | --fi | --f )
80276 $ac_shift
80277 case $ac_optarg in
80278 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
80279 esac
80280 as_fn_append CONFIG_FILES " '$ac_optarg'"
80281 ac_need_defaults=false;;
80282 --header | --heade | --head | --hea )
80283 $ac_shift
80284 case $ac_optarg in
80285 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
80286 esac
80287 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
80288 ac_need_defaults=false;;
80289 --he | --h)
80290 # Conflict between --help and --header
80291 as_fn_error "ambiguous option: \`$1'
80292 Try \`$0 --help' for more information.";;
80293 --help | --hel | -h )
80294 $as_echo "$ac_cs_usage"; exit ;;
80295 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
80296 | -silent | --silent | --silen | --sile | --sil | --si | --s)
80297 ac_cs_silent=: ;;
80299 # This is an error.
80300 -*) as_fn_error "unrecognized option: \`$1'
80301 Try \`$0 --help' for more information." ;;
80303 *) as_fn_append ac_config_targets " $1"
80304 ac_need_defaults=false ;;
80306 esac
80307 shift
80308 done
80310 ac_configure_extra_args=
80312 if $ac_cs_silent; then
80313 exec 6>/dev/null
80314 ac_configure_extra_args="$ac_configure_extra_args --silent"
80317 _ACEOF
80318 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80319 if \$ac_cs_recheck; then
80320 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
80321 shift
80322 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
80323 CONFIG_SHELL='$SHELL'
80324 export CONFIG_SHELL
80325 exec "\$@"
80328 _ACEOF
80329 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80330 exec 5>>config.log
80332 echo
80333 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
80334 ## Running $as_me. ##
80335 _ASBOX
80336 $as_echo "$ac_log"
80337 } >&5
80339 _ACEOF
80340 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80342 # INIT-COMMANDS
80345 srcdir="$srcdir"
80346 host="$host"
80347 target="$target"
80348 with_multisubdir="$with_multisubdir"
80349 with_multisrctop="$with_multisrctop"
80350 with_target_subdir="$with_target_subdir"
80351 ac_configure_args="${multilib_arg} ${ac_configure_args}"
80352 multi_basedir="$multi_basedir"
80353 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
80354 CC="$CC"
80355 CXX="$CXX"
80356 GFORTRAN="$GFORTRAN"
80357 GCJ="$GCJ"
80360 # The HP-UX ksh and POSIX shell print the target directory to stdout
80361 # if CDPATH is set.
80362 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
80364 sed_quote_subst='$sed_quote_subst'
80365 double_quote_subst='$double_quote_subst'
80366 delay_variable_subst='$delay_variable_subst'
80367 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
80368 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
80369 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
80370 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
80371 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
80372 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
80373 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
80374 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
80375 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
80376 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
80377 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
80378 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
80379 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
80380 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
80381 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
80382 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
80383 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
80384 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
80385 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
80386 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
80387 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
80388 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
80389 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
80390 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
80391 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
80392 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
80393 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
80394 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
80395 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
80396 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
80397 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
80398 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
80399 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
80400 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
80401 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
80402 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
80403 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
80404 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
80405 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
80406 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
80407 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
80408 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
80409 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
80410 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
80411 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
80412 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
80413 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
80414 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
80415 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"`'
80416 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
80417 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
80418 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
80419 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
80420 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
80421 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
80422 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
80423 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
80424 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
80425 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
80426 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
80427 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
80428 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
80429 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
80430 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
80431 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
80432 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
80433 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
80434 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
80435 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
80436 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
80437 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
80438 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
80439 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
80440 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
80441 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
80442 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
80443 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
80444 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
80445 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
80446 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
80447 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
80448 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
80449 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
80450 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
80451 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
80452 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
80453 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
80454 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
80455 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
80456 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
80457 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
80458 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
80459 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
80460 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
80461 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
80462 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
80463 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
80464 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
80465 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
80466 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
80467 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
80468 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
80469 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
80470 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
80471 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
80472 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
80473 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
80474 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
80475 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
80476 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
80477 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
80478 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
80479 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
80480 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
80481 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
80482 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
80483 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
80484 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
80485 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
80486 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
80487 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
80488 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
80489 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
80490 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
80491 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
80492 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
80493 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
80494 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
80495 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80496 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80497 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
80498 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
80499 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
80500 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
80501 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
80502 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
80503 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
80504 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
80505 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
80506 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
80507 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
80508 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
80509 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80510 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80511 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80512 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80513 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80514 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80515 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
80516 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
80517 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
80518 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
80519 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
80520 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
80521 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
80522 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
80523 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
80524 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
80525 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
80526 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
80527 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
80528 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
80529 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
80530 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80531 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
80532 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
80533 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80534 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
80535 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
80536 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
80537 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
80538 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
80539 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
80540 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
80541 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
80543 LTCC='$LTCC'
80544 LTCFLAGS='$LTCFLAGS'
80545 compiler='$compiler_DEFAULT'
80547 # A function that is used when there is no print builtin or printf.
80548 func_fallback_echo ()
80550 eval 'cat <<_LTECHO_EOF
80552 _LTECHO_EOF'
80555 # Quote evaled strings.
80556 for var in SHELL \
80557 ECHO \
80558 SED \
80559 GREP \
80560 EGREP \
80561 FGREP \
80562 LD \
80563 NM \
80564 LN_S \
80565 lt_SP2NL \
80566 lt_NL2SP \
80567 reload_flag \
80568 OBJDUMP \
80569 deplibs_check_method \
80570 file_magic_cmd \
80571 AR \
80572 AR_FLAGS \
80573 STRIP \
80574 RANLIB \
80575 CC \
80576 CFLAGS \
80577 compiler \
80578 lt_cv_sys_global_symbol_pipe \
80579 lt_cv_sys_global_symbol_to_cdecl \
80580 lt_cv_sys_global_symbol_to_c_name_address \
80581 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
80582 lt_prog_compiler_no_builtin_flag \
80583 lt_prog_compiler_wl \
80584 lt_prog_compiler_pic \
80585 lt_prog_compiler_static \
80586 lt_cv_prog_compiler_c_o \
80587 need_locks \
80588 DSYMUTIL \
80589 NMEDIT \
80590 LIPO \
80591 OTOOL \
80592 OTOOL64 \
80593 shrext_cmds \
80594 export_dynamic_flag_spec \
80595 whole_archive_flag_spec \
80596 compiler_needs_object \
80597 with_gnu_ld \
80598 allow_undefined_flag \
80599 no_undefined_flag \
80600 hardcode_libdir_flag_spec \
80601 hardcode_libdir_flag_spec_ld \
80602 hardcode_libdir_separator \
80603 fix_srcfile_path \
80604 exclude_expsyms \
80605 include_expsyms \
80606 file_list_spec \
80607 variables_saved_for_relink \
80608 libname_spec \
80609 library_names_spec \
80610 soname_spec \
80611 install_override_mode \
80612 finish_eval \
80613 old_striplib \
80614 striplib \
80615 compiler_lib_search_dirs \
80616 predep_objects \
80617 postdep_objects \
80618 predeps \
80619 postdeps \
80620 compiler_lib_search_path \
80621 LD_CXX \
80622 reload_flag_CXX \
80623 compiler_CXX \
80624 lt_prog_compiler_no_builtin_flag_CXX \
80625 lt_prog_compiler_wl_CXX \
80626 lt_prog_compiler_pic_CXX \
80627 lt_prog_compiler_static_CXX \
80628 lt_cv_prog_compiler_c_o_CXX \
80629 export_dynamic_flag_spec_CXX \
80630 whole_archive_flag_spec_CXX \
80631 compiler_needs_object_CXX \
80632 with_gnu_ld_CXX \
80633 allow_undefined_flag_CXX \
80634 no_undefined_flag_CXX \
80635 hardcode_libdir_flag_spec_CXX \
80636 hardcode_libdir_flag_spec_ld_CXX \
80637 hardcode_libdir_separator_CXX \
80638 fix_srcfile_path_CXX \
80639 exclude_expsyms_CXX \
80640 include_expsyms_CXX \
80641 file_list_spec_CXX \
80642 compiler_lib_search_dirs_CXX \
80643 predep_objects_CXX \
80644 postdep_objects_CXX \
80645 predeps_CXX \
80646 postdeps_CXX \
80647 compiler_lib_search_path_CXX; do
80648 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
80649 *[\\\\\\\`\\"\\\$]*)
80650 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
80653 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
80655 esac
80656 done
80658 # Double-quote double-evaled strings.
80659 for var in reload_cmds \
80660 old_postinstall_cmds \
80661 old_postuninstall_cmds \
80662 old_archive_cmds \
80663 extract_expsyms_cmds \
80664 old_archive_from_new_cmds \
80665 old_archive_from_expsyms_cmds \
80666 archive_cmds \
80667 archive_expsym_cmds \
80668 module_cmds \
80669 module_expsym_cmds \
80670 export_symbols_cmds \
80671 prelink_cmds \
80672 postinstall_cmds \
80673 postuninstall_cmds \
80674 finish_cmds \
80675 sys_lib_search_path_spec \
80676 sys_lib_dlsearch_path_spec \
80677 reload_cmds_CXX \
80678 old_archive_cmds_CXX \
80679 old_archive_from_new_cmds_CXX \
80680 old_archive_from_expsyms_cmds_CXX \
80681 archive_cmds_CXX \
80682 archive_expsym_cmds_CXX \
80683 module_cmds_CXX \
80684 module_expsym_cmds_CXX \
80685 export_symbols_cmds_CXX \
80686 prelink_cmds_CXX; do
80687 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
80688 *[\\\\\\\`\\"\\\$]*)
80689 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
80692 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
80694 esac
80695 done
80697 ac_aux_dir='$ac_aux_dir'
80698 xsi_shell='$xsi_shell'
80699 lt_shell_append='$lt_shell_append'
80701 # See if we are running on zsh, and set the options which allow our
80702 # commands through without removal of \ escapes INIT.
80703 if test -n "\${ZSH_VERSION+set}" ; then
80704 setopt NO_GLOB_SUBST
80708 PACKAGE='$PACKAGE'
80709 VERSION='$VERSION'
80710 TIMESTAMP='$TIMESTAMP'
80711 RM='$RM'
80712 ofile='$ofile'
80719 GCC="$GCC"
80720 CC="$CC"
80721 acx_cv_header_stdint="$acx_cv_header_stdint"
80722 acx_cv_type_int8_t="$acx_cv_type_int8_t"
80723 acx_cv_type_int16_t="$acx_cv_type_int16_t"
80724 acx_cv_type_int32_t="$acx_cv_type_int32_t"
80725 acx_cv_type_int64_t="$acx_cv_type_int64_t"
80726 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
80727 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
80728 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
80729 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
80730 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
80731 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
80732 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
80733 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
80734 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
80737 _ACEOF
80739 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80741 # Handling of arguments.
80742 for ac_config_target in $ac_config_targets
80744 case $ac_config_target in
80745 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
80746 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
80747 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
80748 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
80749 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
80750 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
80751 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
80752 "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
80753 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
80754 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
80755 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
80756 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
80757 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
80758 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
80759 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
80760 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
80761 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
80762 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
80764 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
80765 esac
80766 done
80769 # If the user did not use the arguments to specify the items to instantiate,
80770 # then the envvar interface is used. Set only those that are not.
80771 # We use the long form for the default assignment because of an extremely
80772 # bizarre bug on SunOS 4.1.3.
80773 if $ac_need_defaults; then
80774 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
80775 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
80776 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
80779 # Have a temporary directory for convenience. Make it in the build tree
80780 # simply because there is no reason against having it here, and in addition,
80781 # creating and moving files from /tmp can sometimes cause problems.
80782 # Hook for its removal unless debugging.
80783 # Note that there is a small window in which the directory will not be cleaned:
80784 # after its creation but before its name has been assigned to `$tmp'.
80785 $debug ||
80787 tmp=
80788 trap 'exit_status=$?
80789 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
80791 trap 'as_fn_exit 1' 1 2 13 15
80793 # Create a (secure) tmp directory for tmp files.
80796 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
80797 test -n "$tmp" && test -d "$tmp"
80798 } ||
80800 tmp=./conf$$-$RANDOM
80801 (umask 077 && mkdir "$tmp")
80802 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
80804 # Set up the scripts for CONFIG_FILES section.
80805 # No need to generate them if there are no CONFIG_FILES.
80806 # This happens for instance with `./config.status config.h'.
80807 if test -n "$CONFIG_FILES"; then
80810 ac_cr=`echo X | tr X '\015'`
80811 # On cygwin, bash can eat \r inside `` if the user requested igncr.
80812 # But we know of no other shell where ac_cr would be empty at this
80813 # point, so we can use a bashism as a fallback.
80814 if test "x$ac_cr" = x; then
80815 eval ac_cr=\$\'\\r\'
80817 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
80818 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
80819 ac_cs_awk_cr='\r'
80820 else
80821 ac_cs_awk_cr=$ac_cr
80824 echo 'BEGIN {' >"$tmp/subs1.awk" &&
80825 _ACEOF
80829 echo "cat >conf$$subs.awk <<_ACEOF" &&
80830 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
80831 echo "_ACEOF"
80832 } >conf$$subs.sh ||
80833 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
80834 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
80835 ac_delim='%!_!# '
80836 for ac_last_try in false false false false false :; do
80837 . ./conf$$subs.sh ||
80838 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
80840 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
80841 if test $ac_delim_n = $ac_delim_num; then
80842 break
80843 elif $ac_last_try; then
80844 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
80845 else
80846 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
80848 done
80849 rm -f conf$$subs.sh
80851 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80852 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
80853 _ACEOF
80854 sed -n '
80856 s/^/S["/; s/!.*/"]=/
80859 s/^[^!]*!//
80860 :repl
80861 t repl
80862 s/'"$ac_delim"'$//
80863 t delim
80866 s/\(.\{148\}\).*/\1/
80867 t more1
80868 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
80871 b repl
80872 :more1
80873 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
80876 s/.\{148\}//
80877 t nl
80878 :delim
80880 s/\(.\{148\}\).*/\1/
80881 t more2
80882 s/["\\]/\\&/g; s/^/"/; s/$/"/
80885 :more2
80886 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
80889 s/.\{148\}//
80890 t delim
80891 ' <conf$$subs.awk | sed '
80892 /^[^""]/{
80894 s/\n//
80896 ' >>$CONFIG_STATUS || ac_write_fail=1
80897 rm -f conf$$subs.awk
80898 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80899 _ACAWK
80900 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
80901 for (key in S) S_is_set[key] = 1
80902 FS = "\a"
80906 line = $ 0
80907 nfields = split(line, field, "@")
80908 substed = 0
80909 len = length(field[1])
80910 for (i = 2; i < nfields; i++) {
80911 key = field[i]
80912 keylen = length(key)
80913 if (S_is_set[key]) {
80914 value = S[key]
80915 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
80916 len += length(value) + length(field[++i])
80917 substed = 1
80918 } else
80919 len += 1 + keylen
80922 print line
80925 _ACAWK
80926 _ACEOF
80927 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80928 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
80929 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
80930 else
80932 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
80933 || as_fn_error "could not setup config files machinery" "$LINENO" 5
80934 _ACEOF
80936 # VPATH may cause trouble with some makes, so we remove $(srcdir),
80937 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
80938 # trailing colons and then remove the whole line if VPATH becomes empty
80939 # (actually we leave an empty line to preserve line numbers).
80940 if test "x$srcdir" = x.; then
80941 ac_vpsub='/^[ ]*VPATH[ ]*=/{
80942 s/:*\$(srcdir):*/:/
80943 s/:*\${srcdir}:*/:/
80944 s/:*@srcdir@:*/:/
80945 s/^\([^=]*=[ ]*\):*/\1/
80946 s/:*$//
80947 s/^[^=]*=[ ]*$//
80951 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80952 fi # test -n "$CONFIG_FILES"
80954 # Set up the scripts for CONFIG_HEADERS section.
80955 # No need to generate them if there are no CONFIG_HEADERS.
80956 # This happens for instance with `./config.status Makefile'.
80957 if test -n "$CONFIG_HEADERS"; then
80958 cat >"$tmp/defines.awk" <<\_ACAWK ||
80959 BEGIN {
80960 _ACEOF
80962 # Transform confdefs.h into an awk script `defines.awk', embedded as
80963 # here-document in config.status, that substitutes the proper values into
80964 # config.h.in to produce config.h.
80966 # Create a delimiter string that does not exist in confdefs.h, to ease
80967 # handling of long lines.
80968 ac_delim='%!_!# '
80969 for ac_last_try in false false :; do
80970 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
80971 if test -z "$ac_t"; then
80972 break
80973 elif $ac_last_try; then
80974 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
80975 else
80976 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
80978 done
80980 # For the awk script, D is an array of macro values keyed by name,
80981 # likewise P contains macro parameters if any. Preserve backslash
80982 # newline sequences.
80984 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
80985 sed -n '
80986 s/.\{148\}/&'"$ac_delim"'/g
80987 t rset
80988 :rset
80989 s/^[ ]*#[ ]*define[ ][ ]*/ /
80990 t def
80992 :def
80993 s/\\$//
80994 t bsnl
80995 s/["\\]/\\&/g
80996 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
80997 D["\1"]=" \3"/p
80998 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
81000 :bsnl
81001 s/["\\]/\\&/g
81002 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
81003 D["\1"]=" \3\\\\\\n"\\/p
81004 t cont
81005 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
81006 t cont
81008 :cont
81010 s/.\{148\}/&'"$ac_delim"'/g
81011 t clear
81012 :clear
81013 s/\\$//
81014 t bsnlc
81015 s/["\\]/\\&/g; s/^/"/; s/$/"/p
81017 :bsnlc
81018 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
81019 b cont
81020 ' <confdefs.h | sed '
81021 s/'"$ac_delim"'/"\\\
81022 "/g' >>$CONFIG_STATUS || ac_write_fail=1
81024 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81025 for (key in D) D_is_set[key] = 1
81026 FS = "\a"
81028 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
81029 line = \$ 0
81030 split(line, arg, " ")
81031 if (arg[1] == "#") {
81032 defundef = arg[2]
81033 mac1 = arg[3]
81034 } else {
81035 defundef = substr(arg[1], 2)
81036 mac1 = arg[2]
81038 split(mac1, mac2, "(") #)
81039 macro = mac2[1]
81040 prefix = substr(line, 1, index(line, defundef) - 1)
81041 if (D_is_set[macro]) {
81042 # Preserve the white space surrounding the "#".
81043 print prefix "define", macro P[macro] D[macro]
81044 next
81045 } else {
81046 # Replace #undef with comments. This is necessary, for example,
81047 # in the case of _POSIX_SOURCE, which is predefined and required
81048 # on some systems where configure will not decide to define it.
81049 if (defundef == "undef") {
81050 print "/*", prefix defundef, macro, "*/"
81051 next
81055 { print }
81056 _ACAWK
81057 _ACEOF
81058 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81059 as_fn_error "could not setup config headers machinery" "$LINENO" 5
81060 fi # test -n "$CONFIG_HEADERS"
81063 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
81064 shift
81065 for ac_tag
81067 case $ac_tag in
81068 :[FHLC]) ac_mode=$ac_tag; continue;;
81069 esac
81070 case $ac_mode$ac_tag in
81071 :[FHL]*:*);;
81072 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
81073 :[FH]-) ac_tag=-:-;;
81074 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
81075 esac
81076 ac_save_IFS=$IFS
81077 IFS=:
81078 set x $ac_tag
81079 IFS=$ac_save_IFS
81080 shift
81081 ac_file=$1
81082 shift
81084 case $ac_mode in
81085 :L) ac_source=$1;;
81086 :[FH])
81087 ac_file_inputs=
81088 for ac_f
81090 case $ac_f in
81091 -) ac_f="$tmp/stdin";;
81092 *) # Look for the file first in the build tree, then in the source tree
81093 # (if the path is not absolute). The absolute path cannot be DOS-style,
81094 # because $ac_f cannot contain `:'.
81095 test -f "$ac_f" ||
81096 case $ac_f in
81097 [\\/$]*) false;;
81098 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
81099 esac ||
81100 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
81101 esac
81102 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
81103 as_fn_append ac_file_inputs " '$ac_f'"
81104 done
81106 # Let's still pretend it is `configure' which instantiates (i.e., don't
81107 # use $as_me), people would be surprised to read:
81108 # /* config.h. Generated by config.status. */
81109 configure_input='Generated from '`
81110 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
81111 `' by configure.'
81112 if test x"$ac_file" != x-; then
81113 configure_input="$ac_file. $configure_input"
81114 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
81115 $as_echo "$as_me: creating $ac_file" >&6;}
81117 # Neutralize special characters interpreted by sed in replacement strings.
81118 case $configure_input in #(
81119 *\&* | *\|* | *\\* )
81120 ac_sed_conf_input=`$as_echo "$configure_input" |
81121 sed 's/[\\\\&|]/\\\\&/g'`;; #(
81122 *) ac_sed_conf_input=$configure_input;;
81123 esac
81125 case $ac_tag in
81126 *:-:* | *:-) cat >"$tmp/stdin" \
81127 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
81128 esac
81130 esac
81132 ac_dir=`$as_dirname -- "$ac_file" ||
81133 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
81134 X"$ac_file" : 'X\(//\)[^/]' \| \
81135 X"$ac_file" : 'X\(//\)$' \| \
81136 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
81137 $as_echo X"$ac_file" |
81138 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
81139 s//\1/
81142 /^X\(\/\/\)[^/].*/{
81143 s//\1/
81146 /^X\(\/\/\)$/{
81147 s//\1/
81150 /^X\(\/\).*/{
81151 s//\1/
81154 s/.*/./; q'`
81155 as_dir="$ac_dir"; as_fn_mkdir_p
81156 ac_builddir=.
81158 case "$ac_dir" in
81159 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
81161 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
81162 # A ".." for each directory in $ac_dir_suffix.
81163 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
81164 case $ac_top_builddir_sub in
81165 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
81166 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
81167 esac ;;
81168 esac
81169 ac_abs_top_builddir=$ac_pwd
81170 ac_abs_builddir=$ac_pwd$ac_dir_suffix
81171 # for backward compatibility:
81172 ac_top_builddir=$ac_top_build_prefix
81174 case $srcdir in
81175 .) # We are building in place.
81176 ac_srcdir=.
81177 ac_top_srcdir=$ac_top_builddir_sub
81178 ac_abs_top_srcdir=$ac_pwd ;;
81179 [\\/]* | ?:[\\/]* ) # Absolute name.
81180 ac_srcdir=$srcdir$ac_dir_suffix;
81181 ac_top_srcdir=$srcdir
81182 ac_abs_top_srcdir=$srcdir ;;
81183 *) # Relative name.
81184 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
81185 ac_top_srcdir=$ac_top_build_prefix$srcdir
81186 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
81187 esac
81188 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
81191 case $ac_mode in
81194 # CONFIG_FILE
81197 case $INSTALL in
81198 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
81199 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
81200 esac
81201 ac_MKDIR_P=$MKDIR_P
81202 case $MKDIR_P in
81203 [\\/$]* | ?:[\\/]* ) ;;
81204 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
81205 esac
81206 _ACEOF
81208 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81209 # If the template does not know about datarootdir, expand it.
81210 # FIXME: This hack should be removed a few years after 2.60.
81211 ac_datarootdir_hack=; ac_datarootdir_seen=
81212 ac_sed_dataroot='
81213 /datarootdir/ {
81217 /@datadir@/p
81218 /@docdir@/p
81219 /@infodir@/p
81220 /@localedir@/p
81221 /@mandir@/p'
81222 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
81223 *datarootdir*) ac_datarootdir_seen=yes;;
81224 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
81225 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
81226 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
81227 _ACEOF
81228 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81229 ac_datarootdir_hack='
81230 s&@datadir@&$datadir&g
81231 s&@docdir@&$docdir&g
81232 s&@infodir@&$infodir&g
81233 s&@localedir@&$localedir&g
81234 s&@mandir@&$mandir&g
81235 s&\\\${datarootdir}&$datarootdir&g' ;;
81236 esac
81237 _ACEOF
81239 # Neutralize VPATH when `$srcdir' = `.'.
81240 # Shell code in configure.ac might set extrasub.
81241 # FIXME: do we really want to maintain this feature?
81242 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81243 ac_sed_extra="$ac_vpsub
81244 $extrasub
81245 _ACEOF
81246 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81248 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
81249 s|@configure_input@|$ac_sed_conf_input|;t t
81250 s&@top_builddir@&$ac_top_builddir_sub&;t t
81251 s&@top_build_prefix@&$ac_top_build_prefix&;t t
81252 s&@srcdir@&$ac_srcdir&;t t
81253 s&@abs_srcdir@&$ac_abs_srcdir&;t t
81254 s&@top_srcdir@&$ac_top_srcdir&;t t
81255 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
81256 s&@builddir@&$ac_builddir&;t t
81257 s&@abs_builddir@&$ac_abs_builddir&;t t
81258 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
81259 s&@INSTALL@&$ac_INSTALL&;t t
81260 s&@MKDIR_P@&$ac_MKDIR_P&;t t
81261 $ac_datarootdir_hack
81263 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
81264 || as_fn_error "could not create $ac_file" "$LINENO" 5
81266 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
81267 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
81268 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
81269 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
81270 which seems to be undefined. Please make sure it is defined." >&5
81271 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
81272 which seems to be undefined. Please make sure it is defined." >&2;}
81274 rm -f "$tmp/stdin"
81275 case $ac_file in
81276 -) cat "$tmp/out" && rm -f "$tmp/out";;
81277 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
81278 esac \
81279 || as_fn_error "could not create $ac_file" "$LINENO" 5
81283 # CONFIG_HEADER
81285 if test x"$ac_file" != x-; then
81287 $as_echo "/* $configure_input */" \
81288 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
81289 } >"$tmp/config.h" \
81290 || as_fn_error "could not create $ac_file" "$LINENO" 5
81291 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
81292 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
81293 $as_echo "$as_me: $ac_file is unchanged" >&6;}
81294 else
81295 rm -f "$ac_file"
81296 mv "$tmp/config.h" "$ac_file" \
81297 || as_fn_error "could not create $ac_file" "$LINENO" 5
81299 else
81300 $as_echo "/* $configure_input */" \
81301 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
81302 || as_fn_error "could not create -" "$LINENO" 5
81304 # Compute "$ac_file"'s index in $config_headers.
81305 _am_arg="$ac_file"
81306 _am_stamp_count=1
81307 for _am_header in $config_headers :; do
81308 case $_am_header in
81309 $_am_arg | $_am_arg:* )
81310 break ;;
81312 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
81313 esac
81314 done
81315 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
81316 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
81317 X"$_am_arg" : 'X\(//\)[^/]' \| \
81318 X"$_am_arg" : 'X\(//\)$' \| \
81319 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
81320 $as_echo X"$_am_arg" |
81321 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
81322 s//\1/
81325 /^X\(\/\/\)[^/].*/{
81326 s//\1/
81329 /^X\(\/\/\)$/{
81330 s//\1/
81333 /^X\(\/\).*/{
81334 s//\1/
81337 s/.*/./; q'`/stamp-h$_am_stamp_count
81340 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
81341 $as_echo "$as_me: executing $ac_file commands" >&6;}
81343 esac
81346 case $ac_file$ac_mode in
81347 "default-1":C)
81348 # Only add multilib support code if we just rebuilt the top-level
81349 # Makefile.
81350 case " $CONFIG_FILES " in
81351 *" Makefile "*)
81352 ac_file=Makefile . ${multi_basedir}/config-ml.in
81354 esac ;;
81355 "libtool":C)
81357 # See if we are running on zsh, and set the options which allow our
81358 # commands through without removal of \ escapes.
81359 if test -n "${ZSH_VERSION+set}" ; then
81360 setopt NO_GLOB_SUBST
81363 cfgfile="${ofile}T"
81364 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
81365 $RM "$cfgfile"
81367 cat <<_LT_EOF >> "$cfgfile"
81368 #! $SHELL
81370 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
81371 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
81372 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
81373 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
81375 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
81376 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
81377 # Written by Gordon Matzigkeit, 1996
81379 # This file is part of GNU Libtool.
81381 # GNU Libtool is free software; you can redistribute it and/or
81382 # modify it under the terms of the GNU General Public License as
81383 # published by the Free Software Foundation; either version 2 of
81384 # the License, or (at your option) any later version.
81386 # As a special exception to the GNU General Public License,
81387 # if you distribute this file as part of a program or library that
81388 # is built using GNU Libtool, you may include this file under the
81389 # same distribution terms that you use for the rest of that program.
81391 # GNU Libtool is distributed in the hope that it will be useful,
81392 # but WITHOUT ANY WARRANTY; without even the implied warranty of
81393 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
81394 # GNU General Public License for more details.
81396 # You should have received a copy of the GNU General Public License
81397 # along with GNU Libtool; see the file COPYING. If not, a copy
81398 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
81399 # obtained by writing to the Free Software Foundation, Inc.,
81400 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
81403 # The names of the tagged configurations supported by this script.
81404 available_tags="CXX "
81406 # ### BEGIN LIBTOOL CONFIG
81408 # Which release of libtool.m4 was used?
81409 macro_version=$macro_version
81410 macro_revision=$macro_revision
81412 # Whether or not to build shared libraries.
81413 build_libtool_libs=$enable_shared
81415 # Whether or not to build static libraries.
81416 build_old_libs=$enable_static
81418 # What type of objects to build.
81419 pic_mode=$pic_mode
81421 # Whether or not to optimize for fast installation.
81422 fast_install=$enable_fast_install
81424 # Shell to use when invoking shell scripts.
81425 SHELL=$lt_SHELL
81427 # An echo program that protects backslashes.
81428 ECHO=$lt_ECHO
81430 # The host system.
81431 host_alias=$host_alias
81432 host=$host
81433 host_os=$host_os
81435 # The build system.
81436 build_alias=$build_alias
81437 build=$build
81438 build_os=$build_os
81440 # A sed program that does not truncate output.
81441 SED=$lt_SED
81443 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
81444 Xsed="\$SED -e 1s/^X//"
81446 # A grep program that handles long lines.
81447 GREP=$lt_GREP
81449 # An ERE matcher.
81450 EGREP=$lt_EGREP
81452 # A literal string matcher.
81453 FGREP=$lt_FGREP
81455 # A BSD- or MS-compatible name lister.
81456 NM=$lt_NM
81458 # Whether we need soft or hard links.
81459 LN_S=$lt_LN_S
81461 # What is the maximum length of a command?
81462 max_cmd_len=$max_cmd_len
81464 # Object file suffix (normally "o").
81465 objext=$ac_objext
81467 # Executable file suffix (normally "").
81468 exeext=$exeext
81470 # whether the shell understands "unset".
81471 lt_unset=$lt_unset
81473 # turn spaces into newlines.
81474 SP2NL=$lt_lt_SP2NL
81476 # turn newlines into spaces.
81477 NL2SP=$lt_lt_NL2SP
81479 # An object symbol dumper.
81480 OBJDUMP=$lt_OBJDUMP
81482 # Method to check whether dependent libraries are shared objects.
81483 deplibs_check_method=$lt_deplibs_check_method
81485 # Command to use when deplibs_check_method == "file_magic".
81486 file_magic_cmd=$lt_file_magic_cmd
81488 # The archiver.
81489 AR=$lt_AR
81490 AR_FLAGS=$lt_AR_FLAGS
81492 # A symbol stripping program.
81493 STRIP=$lt_STRIP
81495 # Commands used to install an old-style archive.
81496 RANLIB=$lt_RANLIB
81497 old_postinstall_cmds=$lt_old_postinstall_cmds
81498 old_postuninstall_cmds=$lt_old_postuninstall_cmds
81500 # Whether to use a lock for old archive extraction.
81501 lock_old_archive_extraction=$lock_old_archive_extraction
81503 # A C compiler.
81504 LTCC=$lt_CC
81506 # LTCC compiler flags.
81507 LTCFLAGS=$lt_CFLAGS
81509 # Take the output of nm and produce a listing of raw symbols and C names.
81510 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
81512 # Transform the output of nm in a proper C declaration.
81513 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
81515 # Transform the output of nm in a C name address pair.
81516 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
81518 # Transform the output of nm in a C name address pair when lib prefix is needed.
81519 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
81521 # The name of the directory that contains temporary libtool files.
81522 objdir=$objdir
81524 # Used to examine libraries when file_magic_cmd begins with "file".
81525 MAGIC_CMD=$MAGIC_CMD
81527 # Must we lock files when doing compilation?
81528 need_locks=$lt_need_locks
81530 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
81531 DSYMUTIL=$lt_DSYMUTIL
81533 # Tool to change global to local symbols on Mac OS X.
81534 NMEDIT=$lt_NMEDIT
81536 # Tool to manipulate fat objects and archives on Mac OS X.
81537 LIPO=$lt_LIPO
81539 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
81540 OTOOL=$lt_OTOOL
81542 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
81543 OTOOL64=$lt_OTOOL64
81545 # Old archive suffix (normally "a").
81546 libext=$libext
81548 # Shared library suffix (normally ".so").
81549 shrext_cmds=$lt_shrext_cmds
81551 # The commands to extract the exported symbol list from a shared archive.
81552 extract_expsyms_cmds=$lt_extract_expsyms_cmds
81554 # Variables whose values should be saved in libtool wrapper scripts and
81555 # restored at link time.
81556 variables_saved_for_relink=$lt_variables_saved_for_relink
81558 # Do we need the "lib" prefix for modules?
81559 need_lib_prefix=$need_lib_prefix
81561 # Do we need a version for libraries?
81562 need_version=$need_version
81564 # Library versioning type.
81565 version_type=$version_type
81567 # Shared library runtime path variable.
81568 runpath_var=$runpath_var
81570 # Shared library path variable.
81571 shlibpath_var=$shlibpath_var
81573 # Is shlibpath searched before the hard-coded library search path?
81574 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
81576 # Format of library name prefix.
81577 libname_spec=$lt_libname_spec
81579 # List of archive names. First name is the real one, the rest are links.
81580 # The last name is the one that the linker finds with -lNAME
81581 library_names_spec=$lt_library_names_spec
81583 # The coded name of the library, if different from the real name.
81584 soname_spec=$lt_soname_spec
81586 # Permission mode override for installation of shared libraries.
81587 install_override_mode=$lt_install_override_mode
81589 # Command to use after installation of a shared archive.
81590 postinstall_cmds=$lt_postinstall_cmds
81592 # Command to use after uninstallation of a shared archive.
81593 postuninstall_cmds=$lt_postuninstall_cmds
81595 # Commands used to finish a libtool library installation in a directory.
81596 finish_cmds=$lt_finish_cmds
81598 # As "finish_cmds", except a single script fragment to be evaled but
81599 # not shown.
81600 finish_eval=$lt_finish_eval
81602 # Whether we should hardcode library paths into libraries.
81603 hardcode_into_libs=$hardcode_into_libs
81605 # Compile-time system search path for libraries.
81606 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
81608 # Run-time system search path for libraries.
81609 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
81611 # Whether dlopen is supported.
81612 dlopen_support=$enable_dlopen
81614 # Whether dlopen of programs is supported.
81615 dlopen_self=$enable_dlopen_self
81617 # Whether dlopen of statically linked programs is supported.
81618 dlopen_self_static=$enable_dlopen_self_static
81620 # Commands to strip libraries.
81621 old_striplib=$lt_old_striplib
81622 striplib=$lt_striplib
81625 # The linker used to build libraries.
81626 LD=$lt_LD
81628 # How to create reloadable object files.
81629 reload_flag=$lt_reload_flag
81630 reload_cmds=$lt_reload_cmds
81632 # Commands used to build an old-style archive.
81633 old_archive_cmds=$lt_old_archive_cmds
81635 # A language specific compiler.
81636 CC=$lt_compiler
81638 # Is the compiler the GNU compiler?
81639 with_gcc=$GCC
81641 # Compiler flag to turn off builtin functions.
81642 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
81644 # How to pass a linker flag through the compiler.
81645 wl=$lt_lt_prog_compiler_wl
81647 # Additional compiler flags for building library objects.
81648 pic_flag=$lt_lt_prog_compiler_pic
81650 # Compiler flag to prevent dynamic linking.
81651 link_static_flag=$lt_lt_prog_compiler_static
81653 # Does compiler simultaneously support -c and -o options?
81654 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
81656 # Whether or not to add -lc for building shared libraries.
81657 build_libtool_need_lc=$archive_cmds_need_lc
81659 # Whether or not to disallow shared libs when runtime libs are static.
81660 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
81662 # Compiler flag to allow reflexive dlopens.
81663 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
81665 # Compiler flag to generate shared objects directly from archives.
81666 whole_archive_flag_spec=$lt_whole_archive_flag_spec
81668 # Whether the compiler copes with passing no objects directly.
81669 compiler_needs_object=$lt_compiler_needs_object
81671 # Create an old-style archive from a shared archive.
81672 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
81674 # Create a temporary old-style archive to link instead of a shared archive.
81675 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
81677 # Commands used to build a shared archive.
81678 archive_cmds=$lt_archive_cmds
81679 archive_expsym_cmds=$lt_archive_expsym_cmds
81681 # Commands used to build a loadable module if different from building
81682 # a shared archive.
81683 module_cmds=$lt_module_cmds
81684 module_expsym_cmds=$lt_module_expsym_cmds
81686 # Whether we are building with GNU ld or not.
81687 with_gnu_ld=$lt_with_gnu_ld
81689 # Flag that allows shared libraries with undefined symbols to be built.
81690 allow_undefined_flag=$lt_allow_undefined_flag
81692 # Flag that enforces no undefined symbols.
81693 no_undefined_flag=$lt_no_undefined_flag
81695 # Flag to hardcode \$libdir into a binary during linking.
81696 # This must work even if \$libdir does not exist
81697 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
81699 # If ld is used when linking, flag to hardcode \$libdir into a binary
81700 # during linking. This must work even if \$libdir does not exist.
81701 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
81703 # Whether we need a single "-rpath" flag with a separated argument.
81704 hardcode_libdir_separator=$lt_hardcode_libdir_separator
81706 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
81707 # DIR into the resulting binary.
81708 hardcode_direct=$hardcode_direct
81710 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
81711 # DIR into the resulting binary and the resulting library dependency is
81712 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
81713 # library is relocated.
81714 hardcode_direct_absolute=$hardcode_direct_absolute
81716 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
81717 # into the resulting binary.
81718 hardcode_minus_L=$hardcode_minus_L
81720 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
81721 # into the resulting binary.
81722 hardcode_shlibpath_var=$hardcode_shlibpath_var
81724 # Set to "yes" if building a shared library automatically hardcodes DIR
81725 # into the library and all subsequent libraries and executables linked
81726 # against it.
81727 hardcode_automatic=$hardcode_automatic
81729 # Set to yes if linker adds runtime paths of dependent libraries
81730 # to runtime path list.
81731 inherit_rpath=$inherit_rpath
81733 # Whether libtool must link a program against all its dependency libraries.
81734 link_all_deplibs=$link_all_deplibs
81736 # Fix the shell variable \$srcfile for the compiler.
81737 fix_srcfile_path=$lt_fix_srcfile_path
81739 # Set to "yes" if exported symbols are required.
81740 always_export_symbols=$always_export_symbols
81742 # The commands to list exported symbols.
81743 export_symbols_cmds=$lt_export_symbols_cmds
81745 # Symbols that should not be listed in the preloaded symbols.
81746 exclude_expsyms=$lt_exclude_expsyms
81748 # Symbols that must always be exported.
81749 include_expsyms=$lt_include_expsyms
81751 # Commands necessary for linking programs (against libraries) with templates.
81752 prelink_cmds=$lt_prelink_cmds
81754 # Specify filename containing input files.
81755 file_list_spec=$lt_file_list_spec
81757 # How to hardcode a shared library path into an executable.
81758 hardcode_action=$hardcode_action
81760 # The directories searched by this compiler when creating a shared library.
81761 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
81763 # Dependencies to place before and after the objects being linked to
81764 # create a shared library.
81765 predep_objects=$lt_predep_objects
81766 postdep_objects=$lt_postdep_objects
81767 predeps=$lt_predeps
81768 postdeps=$lt_postdeps
81770 # The library search path used internally by the compiler when linking
81771 # a shared library.
81772 compiler_lib_search_path=$lt_compiler_lib_search_path
81774 # ### END LIBTOOL CONFIG
81776 _LT_EOF
81778 case $host_os in
81779 aix3*)
81780 cat <<\_LT_EOF >> "$cfgfile"
81781 # AIX sometimes has problems with the GCC collect2 program. For some
81782 # reason, if we set the COLLECT_NAMES environment variable, the problems
81783 # vanish in a puff of smoke.
81784 if test "X${COLLECT_NAMES+set}" != Xset; then
81785 COLLECT_NAMES=
81786 export COLLECT_NAMES
81788 _LT_EOF
81790 esac
81793 ltmain="$ac_aux_dir/ltmain.sh"
81796 # We use sed instead of cat because bash on DJGPP gets confused if
81797 # if finds mixed CR/LF and LF-only lines. Since sed operates in
81798 # text mode, it properly converts lines to CR/LF. This bash problem
81799 # is reportedly fixed, but why not run on old versions too?
81800 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
81801 || (rm -f "$cfgfile"; exit 1)
81803 case $xsi_shell in
81804 yes)
81805 cat << \_LT_EOF >> "$cfgfile"
81807 # func_dirname file append nondir_replacement
81808 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
81809 # otherwise set result to NONDIR_REPLACEMENT.
81810 func_dirname ()
81812 case ${1} in
81813 */*) func_dirname_result="${1%/*}${2}" ;;
81814 * ) func_dirname_result="${3}" ;;
81815 esac
81818 # func_basename file
81819 func_basename ()
81821 func_basename_result="${1##*/}"
81824 # func_dirname_and_basename file append nondir_replacement
81825 # perform func_basename and func_dirname in a single function
81826 # call:
81827 # dirname: Compute the dirname of FILE. If nonempty,
81828 # add APPEND to the result, otherwise set result
81829 # to NONDIR_REPLACEMENT.
81830 # value returned in "$func_dirname_result"
81831 # basename: Compute filename of FILE.
81832 # value retuned in "$func_basename_result"
81833 # Implementation must be kept synchronized with func_dirname
81834 # and func_basename. For efficiency, we do not delegate to
81835 # those functions but instead duplicate the functionality here.
81836 func_dirname_and_basename ()
81838 case ${1} in
81839 */*) func_dirname_result="${1%/*}${2}" ;;
81840 * ) func_dirname_result="${3}" ;;
81841 esac
81842 func_basename_result="${1##*/}"
81845 # func_stripname prefix suffix name
81846 # strip PREFIX and SUFFIX off of NAME.
81847 # PREFIX and SUFFIX must not contain globbing or regex special
81848 # characters, hashes, percent signs, but SUFFIX may contain a leading
81849 # dot (in which case that matches only a dot).
81850 func_stripname ()
81852 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
81853 # positional parameters, so assign one to ordinary parameter first.
81854 func_stripname_result=${3}
81855 func_stripname_result=${func_stripname_result#"${1}"}
81856 func_stripname_result=${func_stripname_result%"${2}"}
81859 # func_opt_split
81860 func_opt_split ()
81862 func_opt_split_opt=${1%%=*}
81863 func_opt_split_arg=${1#*=}
81866 # func_lo2o object
81867 func_lo2o ()
81869 case ${1} in
81870 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
81871 *) func_lo2o_result=${1} ;;
81872 esac
81875 # func_xform libobj-or-source
81876 func_xform ()
81878 func_xform_result=${1%.*}.lo
81881 # func_arith arithmetic-term...
81882 func_arith ()
81884 func_arith_result=$(( $* ))
81887 # func_len string
81888 # STRING may not start with a hyphen.
81889 func_len ()
81891 func_len_result=${#1}
81894 _LT_EOF
81896 *) # Bourne compatible functions.
81897 cat << \_LT_EOF >> "$cfgfile"
81899 # func_dirname file append nondir_replacement
81900 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
81901 # otherwise set result to NONDIR_REPLACEMENT.
81902 func_dirname ()
81904 # Extract subdirectory from the argument.
81905 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
81906 if test "X$func_dirname_result" = "X${1}"; then
81907 func_dirname_result="${3}"
81908 else
81909 func_dirname_result="$func_dirname_result${2}"
81913 # func_basename file
81914 func_basename ()
81916 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
81920 # func_stripname prefix suffix name
81921 # strip PREFIX and SUFFIX off of NAME.
81922 # PREFIX and SUFFIX must not contain globbing or regex special
81923 # characters, hashes, percent signs, but SUFFIX may contain a leading
81924 # dot (in which case that matches only a dot).
81925 # func_strip_suffix prefix name
81926 func_stripname ()
81928 case ${2} in
81929 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
81930 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
81931 esac
81934 # sed scripts:
81935 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
81936 my_sed_long_arg='1s/^-[^=]*=//'
81938 # func_opt_split
81939 func_opt_split ()
81941 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
81942 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
81945 # func_lo2o object
81946 func_lo2o ()
81948 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
81951 # func_xform libobj-or-source
81952 func_xform ()
81954 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
81957 # func_arith arithmetic-term...
81958 func_arith ()
81960 func_arith_result=`expr "$@"`
81963 # func_len string
81964 # STRING may not start with a hyphen.
81965 func_len ()
81967 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
81970 _LT_EOF
81971 esac
81973 case $lt_shell_append in
81974 yes)
81975 cat << \_LT_EOF >> "$cfgfile"
81977 # func_append var value
81978 # Append VALUE to the end of shell variable VAR.
81979 func_append ()
81981 eval "$1+=\$2"
81983 _LT_EOF
81986 cat << \_LT_EOF >> "$cfgfile"
81988 # func_append var value
81989 # Append VALUE to the end of shell variable VAR.
81990 func_append ()
81992 eval "$1=\$$1\$2"
81995 _LT_EOF
81997 esac
82000 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
82001 || (rm -f "$cfgfile"; exit 1)
82003 mv -f "$cfgfile" "$ofile" ||
82004 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
82005 chmod +x "$ofile"
82008 cat <<_LT_EOF >> "$ofile"
82010 # ### BEGIN LIBTOOL TAG CONFIG: CXX
82012 # The linker used to build libraries.
82013 LD=$lt_LD_CXX
82015 # How to create reloadable object files.
82016 reload_flag=$lt_reload_flag_CXX
82017 reload_cmds=$lt_reload_cmds_CXX
82019 # Commands used to build an old-style archive.
82020 old_archive_cmds=$lt_old_archive_cmds_CXX
82022 # A language specific compiler.
82023 CC=$lt_compiler_CXX
82025 # Is the compiler the GNU compiler?
82026 with_gcc=$GCC_CXX
82028 # Compiler flag to turn off builtin functions.
82029 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
82031 # How to pass a linker flag through the compiler.
82032 wl=$lt_lt_prog_compiler_wl_CXX
82034 # Additional compiler flags for building library objects.
82035 pic_flag=$lt_lt_prog_compiler_pic_CXX
82037 # Compiler flag to prevent dynamic linking.
82038 link_static_flag=$lt_lt_prog_compiler_static_CXX
82040 # Does compiler simultaneously support -c and -o options?
82041 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
82043 # Whether or not to add -lc for building shared libraries.
82044 build_libtool_need_lc=$archive_cmds_need_lc_CXX
82046 # Whether or not to disallow shared libs when runtime libs are static.
82047 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
82049 # Compiler flag to allow reflexive dlopens.
82050 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
82052 # Compiler flag to generate shared objects directly from archives.
82053 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
82055 # Whether the compiler copes with passing no objects directly.
82056 compiler_needs_object=$lt_compiler_needs_object_CXX
82058 # Create an old-style archive from a shared archive.
82059 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
82061 # Create a temporary old-style archive to link instead of a shared archive.
82062 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
82064 # Commands used to build a shared archive.
82065 archive_cmds=$lt_archive_cmds_CXX
82066 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
82068 # Commands used to build a loadable module if different from building
82069 # a shared archive.
82070 module_cmds=$lt_module_cmds_CXX
82071 module_expsym_cmds=$lt_module_expsym_cmds_CXX
82073 # Whether we are building with GNU ld or not.
82074 with_gnu_ld=$lt_with_gnu_ld_CXX
82076 # Flag that allows shared libraries with undefined symbols to be built.
82077 allow_undefined_flag=$lt_allow_undefined_flag_CXX
82079 # Flag that enforces no undefined symbols.
82080 no_undefined_flag=$lt_no_undefined_flag_CXX
82082 # Flag to hardcode \$libdir into a binary during linking.
82083 # This must work even if \$libdir does not exist
82084 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
82086 # If ld is used when linking, flag to hardcode \$libdir into a binary
82087 # during linking. This must work even if \$libdir does not exist.
82088 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
82090 # Whether we need a single "-rpath" flag with a separated argument.
82091 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
82093 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
82094 # DIR into the resulting binary.
82095 hardcode_direct=$hardcode_direct_CXX
82097 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
82098 # DIR into the resulting binary and the resulting library dependency is
82099 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
82100 # library is relocated.
82101 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
82103 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
82104 # into the resulting binary.
82105 hardcode_minus_L=$hardcode_minus_L_CXX
82107 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
82108 # into the resulting binary.
82109 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
82111 # Set to "yes" if building a shared library automatically hardcodes DIR
82112 # into the library and all subsequent libraries and executables linked
82113 # against it.
82114 hardcode_automatic=$hardcode_automatic_CXX
82116 # Set to yes if linker adds runtime paths of dependent libraries
82117 # to runtime path list.
82118 inherit_rpath=$inherit_rpath_CXX
82120 # Whether libtool must link a program against all its dependency libraries.
82121 link_all_deplibs=$link_all_deplibs_CXX
82123 # Fix the shell variable \$srcfile for the compiler.
82124 fix_srcfile_path=$lt_fix_srcfile_path_CXX
82126 # Set to "yes" if exported symbols are required.
82127 always_export_symbols=$always_export_symbols_CXX
82129 # The commands to list exported symbols.
82130 export_symbols_cmds=$lt_export_symbols_cmds_CXX
82132 # Symbols that should not be listed in the preloaded symbols.
82133 exclude_expsyms=$lt_exclude_expsyms_CXX
82135 # Symbols that must always be exported.
82136 include_expsyms=$lt_include_expsyms_CXX
82138 # Commands necessary for linking programs (against libraries) with templates.
82139 prelink_cmds=$lt_prelink_cmds_CXX
82141 # Specify filename containing input files.
82142 file_list_spec=$lt_file_list_spec_CXX
82144 # How to hardcode a shared library path into an executable.
82145 hardcode_action=$hardcode_action_CXX
82147 # The directories searched by this compiler when creating a shared library.
82148 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
82150 # Dependencies to place before and after the objects being linked to
82151 # create a shared library.
82152 predep_objects=$lt_predep_objects_CXX
82153 postdep_objects=$lt_postdep_objects_CXX
82154 predeps=$lt_predeps_CXX
82155 postdeps=$lt_postdeps_CXX
82157 # The library search path used internally by the compiler when linking
82158 # a shared library.
82159 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
82161 # ### END LIBTOOL TAG CONFIG: CXX
82162 _LT_EOF
82165 "include/gstdint.h":C)
82166 if test "$GCC" = yes; then
82167 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
82168 else
82169 echo "/* generated for $CC */" > tmp-stdint.h
82172 sed 's/^ *//' >> tmp-stdint.h <<EOF
82174 #ifndef GCC_GENERATED_STDINT_H
82175 #define GCC_GENERATED_STDINT_H 1
82177 #include <sys/types.h>
82180 if test "$acx_cv_header_stdint" != stdint.h; then
82181 echo "#include <stddef.h>" >> tmp-stdint.h
82183 if test "$acx_cv_header_stdint" != stddef.h; then
82184 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
82187 sed 's/^ *//' >> tmp-stdint.h <<EOF
82188 /* glibc uses these symbols as guards to prevent redefinitions. */
82189 #ifdef __int8_t_defined
82190 #define _INT8_T
82191 #define _INT16_T
82192 #define _INT32_T
82193 #endif
82194 #ifdef __uint32_t_defined
82195 #define _UINT32_T
82196 #endif
82200 # ----------------- done header, emit basic int types -------------
82201 if test "$acx_cv_header_stdint" = stddef.h; then
82202 sed 's/^ *//' >> tmp-stdint.h <<EOF
82204 #ifndef _UINT8_T
82205 #define _UINT8_T
82206 #ifndef __uint8_t_defined
82207 #define __uint8_t_defined
82208 #ifndef uint8_t
82209 typedef unsigned $acx_cv_type_int8_t uint8_t;
82210 #endif
82211 #endif
82212 #endif
82214 #ifndef _UINT16_T
82215 #define _UINT16_T
82216 #ifndef __uint16_t_defined
82217 #define __uint16_t_defined
82218 #ifndef uint16_t
82219 typedef unsigned $acx_cv_type_int16_t uint16_t;
82220 #endif
82221 #endif
82222 #endif
82224 #ifndef _UINT32_T
82225 #define _UINT32_T
82226 #ifndef __uint32_t_defined
82227 #define __uint32_t_defined
82228 #ifndef uint32_t
82229 typedef unsigned $acx_cv_type_int32_t uint32_t;
82230 #endif
82231 #endif
82232 #endif
82234 #ifndef _INT8_T
82235 #define _INT8_T
82236 #ifndef __int8_t_defined
82237 #define __int8_t_defined
82238 #ifndef int8_t
82239 typedef $acx_cv_type_int8_t int8_t;
82240 #endif
82241 #endif
82242 #endif
82244 #ifndef _INT16_T
82245 #define _INT16_T
82246 #ifndef __int16_t_defined
82247 #define __int16_t_defined
82248 #ifndef int16_t
82249 typedef $acx_cv_type_int16_t int16_t;
82250 #endif
82251 #endif
82252 #endif
82254 #ifndef _INT32_T
82255 #define _INT32_T
82256 #ifndef __int32_t_defined
82257 #define __int32_t_defined
82258 #ifndef int32_t
82259 typedef $acx_cv_type_int32_t int32_t;
82260 #endif
82261 #endif
82262 #endif
82264 elif test "$ac_cv_type_u_int32_t" = yes; then
82265 sed 's/^ *//' >> tmp-stdint.h <<EOF
82267 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
82268 #ifndef _INT8_T
82269 #define _INT8_T
82270 #endif
82271 #ifndef _INT16_T
82272 #define _INT16_T
82273 #endif
82274 #ifndef _INT32_T
82275 #define _INT32_T
82276 #endif
82278 #ifndef _UINT8_T
82279 #define _UINT8_T
82280 #ifndef __uint8_t_defined
82281 #define __uint8_t_defined
82282 #ifndef uint8_t
82283 typedef u_int8_t uint8_t;
82284 #endif
82285 #endif
82286 #endif
82288 #ifndef _UINT16_T
82289 #define _UINT16_T
82290 #ifndef __uint16_t_defined
82291 #define __uint16_t_defined
82292 #ifndef uint16_t
82293 typedef u_int16_t uint16_t;
82294 #endif
82295 #endif
82296 #endif
82298 #ifndef _UINT32_T
82299 #define _UINT32_T
82300 #ifndef __uint32_t_defined
82301 #define __uint32_t_defined
82302 #ifndef uint32_t
82303 typedef u_int32_t uint32_t;
82304 #endif
82305 #endif
82306 #endif
82308 else
82309 sed 's/^ *//' >> tmp-stdint.h <<EOF
82311 /* Some systems have guard macros to prevent redefinitions, define them. */
82312 #ifndef _INT8_T
82313 #define _INT8_T
82314 #endif
82315 #ifndef _INT16_T
82316 #define _INT16_T
82317 #endif
82318 #ifndef _INT32_T
82319 #define _INT32_T
82320 #endif
82321 #ifndef _UINT8_T
82322 #define _UINT8_T
82323 #endif
82324 #ifndef _UINT16_T
82325 #define _UINT16_T
82326 #endif
82327 #ifndef _UINT32_T
82328 #define _UINT32_T
82329 #endif
82333 # ------------- done basic int types, emit int64_t types ------------
82334 if test "$ac_cv_type_uint64_t" = yes; then
82335 sed 's/^ *//' >> tmp-stdint.h <<EOF
82337 /* system headers have good uint64_t and int64_t */
82338 #ifndef _INT64_T
82339 #define _INT64_T
82340 #endif
82341 #ifndef _UINT64_T
82342 #define _UINT64_T
82343 #endif
82345 elif test "$ac_cv_type_u_int64_t" = yes; then
82346 sed 's/^ *//' >> tmp-stdint.h <<EOF
82348 /* system headers have an u_int64_t (and int64_t) */
82349 #ifndef _INT64_T
82350 #define _INT64_T
82351 #endif
82352 #ifndef _UINT64_T
82353 #define _UINT64_T
82354 #ifndef __uint64_t_defined
82355 #define __uint64_t_defined
82356 #ifndef uint64_t
82357 typedef u_int64_t uint64_t;
82358 #endif
82359 #endif
82360 #endif
82362 elif test -n "$acx_cv_type_int64_t"; then
82363 sed 's/^ *//' >> tmp-stdint.h <<EOF
82365 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
82366 #ifndef _INT64_T
82367 #define _INT64_T
82368 #ifndef int64_t
82369 typedef $acx_cv_type_int64_t int64_t;
82370 #endif
82371 #endif
82372 #ifndef _UINT64_T
82373 #define _UINT64_T
82374 #ifndef __uint64_t_defined
82375 #define __uint64_t_defined
82376 #ifndef uint64_t
82377 typedef unsigned $acx_cv_type_int64_t uint64_t;
82378 #endif
82379 #endif
82380 #endif
82382 else
82383 sed 's/^ *//' >> tmp-stdint.h <<EOF
82385 /* some common heuristics for int64_t, using compiler-specific tests */
82386 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
82387 #ifndef _INT64_T
82388 #define _INT64_T
82389 #ifndef __int64_t_defined
82390 #ifndef int64_t
82391 typedef long long int64_t;
82392 #endif
82393 #endif
82394 #endif
82395 #ifndef _UINT64_T
82396 #define _UINT64_T
82397 #ifndef uint64_t
82398 typedef unsigned long long uint64_t;
82399 #endif
82400 #endif
82402 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
82403 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
82404 does not implement __extension__. But that compiler doesn't define
82405 __GNUC_MINOR__. */
82406 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
82407 # define __extension__
82408 # endif
82410 # ifndef _INT64_T
82411 # define _INT64_T
82412 # ifndef int64_t
82413 __extension__ typedef long long int64_t;
82414 # endif
82415 # endif
82416 # ifndef _UINT64_T
82417 # define _UINT64_T
82418 # ifndef uint64_t
82419 __extension__ typedef unsigned long long uint64_t;
82420 # endif
82421 # endif
82423 #elif !defined __STRICT_ANSI__
82424 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
82426 # ifndef _INT64_T
82427 # define _INT64_T
82428 # ifndef int64_t
82429 typedef __int64 int64_t;
82430 # endif
82431 # endif
82432 # ifndef _UINT64_T
82433 # define _UINT64_T
82434 # ifndef uint64_t
82435 typedef unsigned __int64 uint64_t;
82436 # endif
82437 # endif
82438 # endif /* compiler */
82440 #endif /* ANSI version */
82444 # ------------- done int64_t types, emit intptr types ------------
82445 if test "$ac_cv_type_uintptr_t" != yes; then
82446 sed 's/^ *//' >> tmp-stdint.h <<EOF
82448 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
82449 #ifndef __uintptr_t_defined
82450 #ifndef uintptr_t
82451 typedef u$acx_cv_type_intptr_t uintptr_t;
82452 #endif
82453 #endif
82454 #ifndef __intptr_t_defined
82455 #ifndef intptr_t
82456 typedef $acx_cv_type_intptr_t intptr_t;
82457 #endif
82458 #endif
82462 # ------------- done intptr types, emit int_least types ------------
82463 if test "$ac_cv_type_int_least32_t" != yes; then
82464 sed 's/^ *//' >> tmp-stdint.h <<EOF
82466 /* Define int_least types */
82467 typedef int8_t int_least8_t;
82468 typedef int16_t int_least16_t;
82469 typedef int32_t int_least32_t;
82470 #ifdef _INT64_T
82471 typedef int64_t int_least64_t;
82472 #endif
82474 typedef uint8_t uint_least8_t;
82475 typedef uint16_t uint_least16_t;
82476 typedef uint32_t uint_least32_t;
82477 #ifdef _UINT64_T
82478 typedef uint64_t uint_least64_t;
82479 #endif
82483 # ------------- done intptr types, emit int_fast types ------------
82484 if test "$ac_cv_type_int_fast32_t" != yes; then
82485 sed 's/^ *//' >> tmp-stdint.h <<EOF
82487 /* Define int_fast types. short is often slow */
82488 typedef int8_t int_fast8_t;
82489 typedef int int_fast16_t;
82490 typedef int32_t int_fast32_t;
82491 #ifdef _INT64_T
82492 typedef int64_t int_fast64_t;
82493 #endif
82495 typedef uint8_t uint_fast8_t;
82496 typedef unsigned int uint_fast16_t;
82497 typedef uint32_t uint_fast32_t;
82498 #ifdef _UINT64_T
82499 typedef uint64_t uint_fast64_t;
82500 #endif
82504 if test "$ac_cv_type_uintmax_t" != yes; then
82505 sed 's/^ *//' >> tmp-stdint.h <<EOF
82507 /* Define intmax based on what we found */
82508 #ifndef intmax_t
82509 #ifdef _INT64_T
82510 typedef int64_t intmax_t;
82511 #else
82512 typedef long intmax_t;
82513 #endif
82514 #endif
82515 #ifndef uintmax_t
82516 #ifdef _UINT64_T
82517 typedef uint64_t uintmax_t;
82518 #else
82519 typedef unsigned long uintmax_t;
82520 #endif
82521 #endif
82525 sed 's/^ *//' >> tmp-stdint.h <<EOF
82527 #endif /* GCC_GENERATED_STDINT_H */
82530 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
82531 rm -f tmp-stdint.h
82532 else
82533 mv -f tmp-stdint.h include/gstdint.h
82537 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
82538 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
82539 "include/Makefile":F) cat > vpsed$$ << \_EOF
82540 s!`test -f '$<' || echo '$(srcdir)/'`!!
82541 _EOF
82542 sed -f vpsed$$ $ac_file > tmp$$
82543 mv tmp$$ $ac_file
82544 rm vpsed$$
82545 echo 'MULTISUBDIR =' >> $ac_file
82546 ml_norecursion=yes
82547 . ${multi_basedir}/config-ml.in
82548 { ml_norecursion=; unset ml_norecursion;}
82550 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
82551 s!`test -f '$<' || echo '$(srcdir)/'`!!
82552 _EOF
82553 sed -f vpsed$$ $ac_file > tmp$$
82554 mv tmp$$ $ac_file
82555 rm vpsed$$
82556 echo 'MULTISUBDIR =' >> $ac_file
82557 ml_norecursion=yes
82558 . ${multi_basedir}/config-ml.in
82559 { ml_norecursion=; unset ml_norecursion;}
82561 "python/Makefile":F) cat > vpsed$$ << \_EOF
82562 s!`test -f '$<' || echo '$(srcdir)/'`!!
82563 _EOF
82564 sed -f vpsed$$ $ac_file > tmp$$
82565 mv tmp$$ $ac_file
82566 rm vpsed$$
82567 echo 'MULTISUBDIR =' >> $ac_file
82568 ml_norecursion=yes
82569 . ${multi_basedir}/config-ml.in
82570 { ml_norecursion=; unset ml_norecursion;}
82572 "src/Makefile":F) cat > vpsed$$ << \_EOF
82573 s!`test -f '$<' || echo '$(srcdir)/'`!!
82574 _EOF
82575 sed -f vpsed$$ $ac_file > tmp$$
82576 mv tmp$$ $ac_file
82577 rm vpsed$$
82578 echo 'MULTISUBDIR =' >> $ac_file
82579 ml_norecursion=yes
82580 . ${multi_basedir}/config-ml.in
82581 { ml_norecursion=; unset ml_norecursion;}
82583 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
82584 s!`test -f '$<' || echo '$(srcdir)/'`!!
82585 _EOF
82586 sed -f vpsed$$ $ac_file > tmp$$
82587 mv tmp$$ $ac_file
82588 rm vpsed$$
82589 echo 'MULTISUBDIR =' >> $ac_file
82590 ml_norecursion=yes
82591 . ${multi_basedir}/config-ml.in
82592 { ml_norecursion=; unset ml_norecursion;}
82594 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
82595 s!`test -f '$<' || echo '$(srcdir)/'`!!
82596 _EOF
82597 sed -f vpsed$$ $ac_file > tmp$$
82598 mv tmp$$ $ac_file
82599 rm vpsed$$
82600 echo 'MULTISUBDIR =' >> $ac_file
82601 ml_norecursion=yes
82602 . ${multi_basedir}/config-ml.in
82603 { ml_norecursion=; unset ml_norecursion;}
82605 "doc/Makefile":F) cat > vpsed$$ << \_EOF
82606 s!`test -f '$<' || echo '$(srcdir)/'`!!
82607 _EOF
82608 sed -f vpsed$$ $ac_file > tmp$$
82609 mv tmp$$ $ac_file
82610 rm vpsed$$
82611 echo 'MULTISUBDIR =' >> $ac_file
82612 ml_norecursion=yes
82613 . ${multi_basedir}/config-ml.in
82614 { ml_norecursion=; unset ml_norecursion;}
82616 "po/Makefile":F) cat > vpsed$$ << \_EOF
82617 s!`test -f '$<' || echo '$(srcdir)/'`!!
82618 _EOF
82619 sed -f vpsed$$ $ac_file > tmp$$
82620 mv tmp$$ $ac_file
82621 rm vpsed$$
82622 echo 'MULTISUBDIR =' >> $ac_file
82623 ml_norecursion=yes
82624 . ${multi_basedir}/config-ml.in
82625 { ml_norecursion=; unset ml_norecursion;}
82627 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
82628 s!`test -f '$<' || echo '$(srcdir)/'`!!
82629 _EOF
82630 sed -f vpsed$$ $ac_file > tmp$$
82631 mv tmp$$ $ac_file
82632 rm vpsed$$
82633 echo 'MULTISUBDIR =' >> $ac_file
82634 ml_norecursion=yes
82635 . ${multi_basedir}/config-ml.in
82636 { ml_norecursion=; unset ml_norecursion;}
82638 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
82640 esac
82641 done # for ac_tag
82644 as_fn_exit 0
82645 _ACEOF
82646 ac_clean_files=$ac_clean_files_save
82648 test $ac_write_fail = 0 ||
82649 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
82652 # configure is writing to config.log, and then calls config.status.
82653 # config.status does its own redirection, appending to config.log.
82654 # Unfortunately, on DOS this fails, as config.log is still kept open
82655 # by configure, so config.status won't be able to write to it; its
82656 # output is simply discarded. So we exec the FD to /dev/null,
82657 # effectively closing config.log, so it can be properly (re)opened and
82658 # appended to by config.status. When coming back to configure, we
82659 # need to make the FD available again.
82660 if test "$no_create" != yes; then
82661 ac_cs_success=:
82662 ac_config_status_args=
82663 test "$silent" = yes &&
82664 ac_config_status_args="$ac_config_status_args --quiet"
82665 exec 5>/dev/null
82666 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
82667 exec 5>>config.log
82668 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
82669 # would make configure fail if this is the last instruction.
82670 $ac_cs_success || as_fn_exit $?
82672 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
82673 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
82674 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}