* pt.c (lookup_template_class_1): Splice out abi_tag attribute if
[official-gcc.git] / libstdc++-v3 / configure
blob9f51df10be25abcc34d463cd3aae54b788ba1b14
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 dragonfly*)
15853 enable_clocale_flag=dragonfly
15855 openbsd*)
15856 enable_clocale_flag=newlib
15859 if test x"$with_newlib" = x"yes"; then
15860 enable_clocale_flag=newlib
15861 else
15862 enable_clocale_flag=generic
15865 esac
15868 # Sanity check model, and test for special functionality.
15869 if test $enable_clocale_flag = gnu; then
15870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15871 /* end confdefs.h. */
15873 #include <features.h>
15874 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15875 _GLIBCXX_ok
15876 #endif
15878 _ACEOF
15879 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15880 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15881 enable_clocale_flag=gnu
15882 else
15883 enable_clocale_flag=generic
15885 rm -f conftest*
15888 # Set it to scream when it hurts.
15889 ac_save_CFLAGS="$CFLAGS"
15890 CFLAGS="-Wimplicit-function-declaration -Werror"
15892 # Use strxfrm_l if available.
15893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15894 /* end confdefs.h. */
15895 #define _GNU_SOURCE 1
15896 #include <string.h>
15897 #include <locale.h>
15899 main ()
15901 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15903 return 0;
15905 _ACEOF
15906 if ac_fn_c_try_compile "$LINENO"; then :
15908 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15913 # Use strerror_l if available.
15914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15915 /* end confdefs.h. */
15916 #define _GNU_SOURCE 1
15917 #include <string.h>
15918 #include <locale.h>
15920 main ()
15922 __locale_t loc; strerror_l(5, loc);
15924 return 0;
15926 _ACEOF
15927 if ac_fn_c_try_compile "$LINENO"; then :
15929 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15934 CFLAGS="$ac_save_CFLAGS"
15937 # Perhaps use strerror_r if available, and strerror_l isn't.
15938 ac_save_CFLAGS="$CFLAGS"
15939 CFLAGS="-Wimplicit-function-declaration -Werror"
15940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15941 /* end confdefs.h. */
15942 #define _GNU_SOURCE 1
15943 #include <string.h>
15944 #include <locale.h>
15946 main ()
15948 char s[128]; strerror_r(5, s, 128);
15950 return 0;
15952 _ACEOF
15953 if ac_fn_c_try_compile "$LINENO"; then :
15955 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15959 CFLAGS="$ac_save_CFLAGS"
15961 # Set configure bits for specified locale package
15962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15963 $as_echo_n "checking for C locale to use... " >&6; }
15964 case ${enable_clocale_flag} in
15965 generic)
15966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15967 $as_echo "generic" >&6; }
15969 CLOCALE_H=config/locale/generic/c_locale.h
15970 CLOCALE_CC=config/locale/generic/c_locale.cc
15971 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15972 CCOLLATE_CC=config/locale/generic/collate_members.cc
15973 CCTYPE_CC=config/locale/generic/ctype_members.cc
15974 CMESSAGES_H=config/locale/generic/messages_members.h
15975 CMESSAGES_CC=config/locale/generic/messages_members.cc
15976 CMONEY_CC=config/locale/generic/monetary_members.cc
15977 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15978 CTIME_H=config/locale/generic/time_members.h
15979 CTIME_CC=config/locale/generic/time_members.cc
15980 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15982 darwin)
15983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin or freebsd" >&5
15984 $as_echo "darwin or freebsd" >&6; }
15986 CLOCALE_H=config/locale/generic/c_locale.h
15987 CLOCALE_CC=config/locale/generic/c_locale.cc
15988 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15989 CCOLLATE_CC=config/locale/generic/collate_members.cc
15990 CCTYPE_CC=config/locale/darwin/ctype_members.cc
15991 CMESSAGES_H=config/locale/generic/messages_members.h
15992 CMESSAGES_CC=config/locale/generic/messages_members.cc
15993 CMONEY_CC=config/locale/generic/monetary_members.cc
15994 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15995 CTIME_H=config/locale/generic/time_members.h
15996 CTIME_CC=config/locale/generic/time_members.cc
15997 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16000 dragonfly)
16001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: dragonfly" >&5
16002 $as_echo "dragonfly" >&6; }
16004 CLOCALE_H=config/locale/generic/c_locale.h
16005 CLOCALE_CC=config/locale/dragonfly/c_locale.cc
16006 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16007 CCOLLATE_CC=config/locale/generic/collate_members.cc
16008 CCTYPE_CC=config/locale/dragonfly/ctype_members.cc
16009 CMESSAGES_H=config/locale/generic/messages_members.h
16010 CMESSAGES_CC=config/locale/generic/messages_members.cc
16011 CMONEY_CC=config/locale/generic/monetary_members.cc
16012 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16013 CTIME_H=config/locale/generic/time_members.h
16014 CTIME_CC=config/locale/generic/time_members.cc
16015 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16018 gnu)
16019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
16020 $as_echo "gnu" >&6; }
16022 # Declare intention to use gettext, and add support for specific
16023 # languages.
16024 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
16025 ALL_LINGUAS="de fr"
16027 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
16028 # Extract the first word of "msgfmt", so it can be a program name with args.
16029 set dummy msgfmt; ac_word=$2
16030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16031 $as_echo_n "checking for $ac_word... " >&6; }
16032 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
16033 $as_echo_n "(cached) " >&6
16034 else
16035 if test -n "$check_msgfmt"; then
16036 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
16037 else
16038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16039 for as_dir in $PATH
16041 IFS=$as_save_IFS
16042 test -z "$as_dir" && as_dir=.
16043 for ac_exec_ext in '' $ac_executable_extensions; do
16044 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16045 ac_cv_prog_check_msgfmt="yes"
16046 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16047 break 2
16049 done
16050 done
16051 IFS=$as_save_IFS
16053 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16056 check_msgfmt=$ac_cv_prog_check_msgfmt
16057 if test -n "$check_msgfmt"; then
16058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16059 $as_echo "$check_msgfmt" >&6; }
16060 else
16061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16062 $as_echo "no" >&6; }
16066 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16067 USE_NLS=yes
16069 # Export the build objects.
16070 for ling in $ALL_LINGUAS; do \
16071 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16072 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16073 done
16077 CLOCALE_H=config/locale/gnu/c_locale.h
16078 CLOCALE_CC=config/locale/gnu/c_locale.cc
16079 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16080 CCOLLATE_CC=config/locale/gnu/collate_members.cc
16081 CCTYPE_CC=config/locale/gnu/ctype_members.cc
16082 CMESSAGES_H=config/locale/gnu/messages_members.h
16083 CMESSAGES_CC=config/locale/gnu/messages_members.cc
16084 CMONEY_CC=config/locale/gnu/monetary_members.cc
16085 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16086 CTIME_H=config/locale/gnu/time_members.h
16087 CTIME_CC=config/locale/gnu/time_members.cc
16088 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16090 ieee_1003.1-2001)
16091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16092 $as_echo "IEEE 1003.1" >&6; }
16094 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16095 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16096 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16097 CCOLLATE_CC=config/locale/generic/collate_members.cc
16098 CCTYPE_CC=config/locale/generic/ctype_members.cc
16099 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16100 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16101 CMONEY_CC=config/locale/generic/monetary_members.cc
16102 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16103 CTIME_H=config/locale/generic/time_members.h
16104 CTIME_CC=config/locale/generic/time_members.cc
16105 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16107 newlib)
16108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16109 $as_echo "newlib" >&6; }
16111 CLOCALE_H=config/locale/generic/c_locale.h
16112 CLOCALE_CC=config/locale/generic/c_locale.cc
16113 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16114 CCOLLATE_CC=config/locale/generic/collate_members.cc
16115 CCTYPE_CC=config/locale/newlib/ctype_members.cc
16116 CMESSAGES_H=config/locale/generic/messages_members.h
16117 CMESSAGES_CC=config/locale/generic/messages_members.cc
16118 CMONEY_CC=config/locale/generic/monetary_members.cc
16119 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16120 CTIME_H=config/locale/generic/time_members.h
16121 CTIME_CC=config/locale/generic/time_members.cc
16122 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16124 esac
16126 # This is where the testsuite looks for locale catalogs, using the
16127 # -DLOCALEDIR define during testsuite compilation.
16128 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16131 # A standalone libintl (e.g., GNU libintl) may be in use.
16132 if test $USE_NLS = yes; then
16133 for ac_header in libintl.h
16134 do :
16135 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16136 if test "x$ac_cv_header_libintl_h" = x""yes; then :
16137 cat >>confdefs.h <<_ACEOF
16138 #define HAVE_LIBINTL_H 1
16139 _ACEOF
16141 else
16142 USE_NLS=no
16145 done
16147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16148 $as_echo_n "checking for library containing gettext... " >&6; }
16149 if test "${ac_cv_search_gettext+set}" = set; then :
16150 $as_echo_n "(cached) " >&6
16151 else
16152 ac_func_search_save_LIBS=$LIBS
16153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16154 /* end confdefs.h. */
16156 /* Override any GCC internal prototype to avoid an error.
16157 Use char because int might match the return type of a GCC
16158 builtin and then its argument prototype would still apply. */
16159 #ifdef __cplusplus
16160 extern "C"
16161 #endif
16162 char gettext ();
16164 main ()
16166 return gettext ();
16168 return 0;
16170 _ACEOF
16171 for ac_lib in '' intl; do
16172 if test -z "$ac_lib"; then
16173 ac_res="none required"
16174 else
16175 ac_res=-l$ac_lib
16176 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16178 if test x$gcc_no_link = xyes; then
16179 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16181 if ac_fn_c_try_link "$LINENO"; then :
16182 ac_cv_search_gettext=$ac_res
16184 rm -f core conftest.err conftest.$ac_objext \
16185 conftest$ac_exeext
16186 if test "${ac_cv_search_gettext+set}" = set; then :
16187 break
16189 done
16190 if test "${ac_cv_search_gettext+set}" = set; then :
16192 else
16193 ac_cv_search_gettext=no
16195 rm conftest.$ac_ext
16196 LIBS=$ac_func_search_save_LIBS
16198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16199 $as_echo "$ac_cv_search_gettext" >&6; }
16200 ac_res=$ac_cv_search_gettext
16201 if test "$ac_res" != no; then :
16202 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16204 else
16205 USE_NLS=no
16209 if test $USE_NLS = yes; then
16211 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16231 $as_echo_n "checking for std::allocator base class... " >&6; }
16232 # Check whether --enable-libstdcxx-allocator was given.
16233 if test "${enable_libstdcxx_allocator+set}" = set; then :
16234 enableval=$enable_libstdcxx_allocator;
16235 case "$enableval" in
16236 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16237 *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16238 esac
16240 else
16241 enable_libstdcxx_allocator=auto
16246 # If they didn't use this option switch, or if they specified --enable
16247 # with no specific model, we'll have to look for one. If they
16248 # specified --disable (???), do likewise.
16249 if test $enable_libstdcxx_allocator = no ||
16250 test $enable_libstdcxx_allocator = yes;
16251 then
16252 enable_libstdcxx_allocator=auto
16255 # Either a known package, or "auto". Auto implies the default choice
16256 # for a particular platform.
16257 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16259 # Probe for host-specific support if no specific model is specified.
16260 # Default to "new".
16261 if test $enable_libstdcxx_allocator_flag = auto; then
16262 case ${target_os} in
16263 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16264 enable_libstdcxx_allocator_flag=new
16267 enable_libstdcxx_allocator_flag=new
16269 esac
16271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16272 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16275 # Set configure bits for specified locale package
16276 case ${enable_libstdcxx_allocator_flag} in
16277 bitmap)
16278 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16279 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16281 malloc)
16282 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16283 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16286 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16287 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16289 new)
16290 ALLOCATOR_H=config/allocator/new_allocator_base.h
16291 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16293 pool)
16294 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16295 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16297 esac
16303 # Check whether --enable-cheaders was given.
16304 if test "${enable_cheaders+set}" = set; then :
16305 enableval=$enable_cheaders;
16306 case "$enableval" in
16307 c|c_std|c_global) ;;
16308 *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16309 esac
16311 else
16312 enable_cheaders=$c_model
16316 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16317 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16319 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16321 # Allow overrides to configure.host here.
16322 if test $enable_cheaders = c_global; then
16323 c_compatibility=yes
16332 # Check whether --enable-long-long was given.
16333 if test "${enable_long_long+set}" = set; then :
16334 enableval=$enable_long_long;
16335 case "$enableval" in
16336 yes|no) ;;
16337 *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16338 esac
16340 else
16341 enable_long_long=yes
16345 if test $enable_long_long = yes; then
16347 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16351 $as_echo_n "checking for enabled long long specializations... " >&6; }
16352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16353 $as_echo "$enable_long_long" >&6; }
16356 # Check whether --enable-wchar_t was given.
16357 if test "${enable_wchar_t+set}" = set; then :
16358 enableval=$enable_wchar_t;
16359 case "$enableval" in
16360 yes|no) ;;
16361 *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16362 esac
16364 else
16365 enable_wchar_t=yes
16370 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16371 for ac_header in wchar.h
16372 do :
16373 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16374 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16375 cat >>confdefs.h <<_ACEOF
16376 #define HAVE_WCHAR_H 1
16377 _ACEOF
16378 ac_has_wchar_h=yes
16379 else
16380 ac_has_wchar_h=no
16383 done
16385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16386 $as_echo_n "checking for mbstate_t... " >&6; }
16387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16388 /* end confdefs.h. */
16389 #include <wchar.h>
16391 main ()
16393 mbstate_t teststate;
16395 return 0;
16397 _ACEOF
16398 if ac_fn_c_try_compile "$LINENO"; then :
16399 have_mbstate_t=yes
16400 else
16401 have_mbstate_t=no
16403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16405 $as_echo "$have_mbstate_t" >&6; }
16406 if test x"$have_mbstate_t" = xyes; then
16408 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16412 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16413 # ac_has_wchar_h.
16414 for ac_header in wctype.h
16415 do :
16416 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16417 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16418 cat >>confdefs.h <<_ACEOF
16419 #define HAVE_WCTYPE_H 1
16420 _ACEOF
16421 ac_has_wctype_h=yes
16422 else
16423 ac_has_wctype_h=no
16426 done
16429 if test x"$enable_wchar_t" = x"yes"; then
16432 ac_ext=cpp
16433 ac_cpp='$CXXCPP $CPPFLAGS'
16434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16439 if test x"$ac_has_wchar_h" = xyes &&
16440 test x"$ac_has_wctype_h" = xyes; then
16441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16442 /* end confdefs.h. */
16443 #include <wchar.h>
16444 #include <stddef.h>
16445 wint_t i;
16446 long l = WEOF;
16447 long j = WCHAR_MIN;
16448 long k = WCHAR_MAX;
16449 namespace test
16451 using ::btowc;
16452 using ::fgetwc;
16453 using ::fgetws;
16454 using ::fputwc;
16455 using ::fputws;
16456 using ::fwide;
16457 using ::fwprintf;
16458 using ::fwscanf;
16459 using ::getwc;
16460 using ::getwchar;
16461 using ::mbrlen;
16462 using ::mbrtowc;
16463 using ::mbsinit;
16464 using ::mbsrtowcs;
16465 using ::putwc;
16466 using ::putwchar;
16467 using ::swprintf;
16468 using ::swscanf;
16469 using ::ungetwc;
16470 using ::vfwprintf;
16471 using ::vswprintf;
16472 using ::vwprintf;
16473 using ::wcrtomb;
16474 using ::wcscat;
16475 using ::wcschr;
16476 using ::wcscmp;
16477 using ::wcscoll;
16478 using ::wcscpy;
16479 using ::wcscspn;
16480 using ::wcsftime;
16481 using ::wcslen;
16482 using ::wcsncat;
16483 using ::wcsncmp;
16484 using ::wcsncpy;
16485 using ::wcspbrk;
16486 using ::wcsrchr;
16487 using ::wcsrtombs;
16488 using ::wcsspn;
16489 using ::wcsstr;
16490 using ::wcstod;
16491 using ::wcstok;
16492 using ::wcstol;
16493 using ::wcstoul;
16494 using ::wcsxfrm;
16495 using ::wctob;
16496 using ::wmemchr;
16497 using ::wmemcmp;
16498 using ::wmemcpy;
16499 using ::wmemmove;
16500 using ::wmemset;
16501 using ::wprintf;
16502 using ::wscanf;
16506 main ()
16510 return 0;
16512 _ACEOF
16513 if ac_fn_cxx_try_compile "$LINENO"; then :
16515 else
16516 enable_wchar_t=no
16518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16519 else
16520 enable_wchar_t=no
16523 ac_ext=c
16524 ac_cpp='$CPP $CPPFLAGS'
16525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16531 if test x"$enable_wchar_t" = x"yes"; then
16533 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16538 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16540 $as_echo "$enable_wchar_t" >&6; }
16544 # Check whether --enable-c99 was given.
16545 if test "${enable_c99+set}" = set; then :
16546 enableval=$enable_c99;
16547 case "$enableval" in
16548 yes|no) ;;
16549 *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16550 esac
16552 else
16553 enable_c99=yes
16558 if test x"$enable_c99" = x"yes"; then
16561 ac_ext=cpp
16562 ac_cpp='$CXXCPP $CPPFLAGS'
16563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16568 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16569 # undefined and fake C99 facilities - like pre-standard snprintf - may be
16570 # spuriously enabled.
16571 # Long term, -std=c++0x could be even better, could manage to explicitly
16572 # request C99 facilities to the underlying C headers.
16573 ac_save_CXXFLAGS="$CXXFLAGS"
16574 CXXFLAGS="$CXXFLAGS -std=c++98"
16575 ac_save_LIBS="$LIBS"
16576 ac_save_gcc_no_link="$gcc_no_link"
16578 if test x$gcc_no_link != xyes; then
16579 # Use -fno-exceptions to that the C driver can link these tests without
16580 # hitting undefined references to personality routines.
16581 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16583 $as_echo_n "checking for sin in -lm... " >&6; }
16584 if test "${ac_cv_lib_m_sin+set}" = set; then :
16585 $as_echo_n "(cached) " >&6
16586 else
16587 ac_check_lib_save_LIBS=$LIBS
16588 LIBS="-lm $LIBS"
16589 if test x$gcc_no_link = xyes; then
16590 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16593 /* end confdefs.h. */
16595 /* Override any GCC internal prototype to avoid an error.
16596 Use char because int might match the return type of a GCC
16597 builtin and then its argument prototype would still apply. */
16598 #ifdef __cplusplus
16599 extern "C"
16600 #endif
16601 char sin ();
16603 main ()
16605 return sin ();
16607 return 0;
16609 _ACEOF
16610 if ac_fn_cxx_try_link "$LINENO"; then :
16611 ac_cv_lib_m_sin=yes
16612 else
16613 ac_cv_lib_m_sin=no
16615 rm -f core conftest.err conftest.$ac_objext \
16616 conftest$ac_exeext conftest.$ac_ext
16617 LIBS=$ac_check_lib_save_LIBS
16619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16620 $as_echo "$ac_cv_lib_m_sin" >&6; }
16621 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16623 LIBS="$LIBS -lm"
16625 else
16627 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16628 gcc_no_link=yes
16634 # Check for the existence of <math.h> functions used if C99 is enabled.
16635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h>" >&5
16636 $as_echo_n "checking for ISO C99 support in <math.h>... " >&6; }
16637 if test "${glibcxx_cv_c99_math+set}" = set; then :
16638 $as_echo_n "(cached) " >&6
16639 else
16641 if test x$gcc_no_link = xyes; then
16642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16643 /* end confdefs.h. */
16644 #include <math.h>
16645 volatile double d1, d2;
16646 volatile int i;
16648 main ()
16650 i = fpclassify(d1);
16651 i = isfinite(d1);
16652 i = isinf(d1);
16653 i = isnan(d1);
16654 i = isnormal(d1);
16655 i = signbit(d1);
16656 i = isgreater(d1, d2);
16657 i = isgreaterequal(d1, d2);
16658 i = isless(d1, d2);
16659 i = islessequal(d1, d2);
16660 i = islessgreater(d1, d2);
16661 i = islessgreater(d1, d2);
16662 i = isunordered(d1, d2);
16665 return 0;
16667 _ACEOF
16668 if ac_fn_cxx_try_compile "$LINENO"; then :
16669 glibcxx_cv_c99_math=yes
16670 else
16671 glibcxx_cv_c99_math=no
16673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16674 else
16675 if test x$gcc_no_link = xyes; then
16676 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16679 /* end confdefs.h. */
16680 #include <math.h>
16681 volatile double d1, d2;
16682 volatile int i;
16684 main ()
16686 i = fpclassify(d1);
16687 i = isfinite(d1);
16688 i = isinf(d1);
16689 i = isnan(d1);
16690 i = isnormal(d1);
16691 i = signbit(d1);
16692 i = isgreater(d1, d2);
16693 i = isgreaterequal(d1, d2);
16694 i = isless(d1, d2);
16695 i = islessequal(d1, d2);
16696 i = islessgreater(d1, d2);
16697 i = islessgreater(d1, d2);
16698 i = isunordered(d1, d2);
16701 return 0;
16703 _ACEOF
16704 if ac_fn_cxx_try_link "$LINENO"; then :
16705 glibcxx_cv_c99_math=yes
16706 else
16707 glibcxx_cv_c99_math=no
16709 rm -f core conftest.err conftest.$ac_objext \
16710 conftest$ac_exeext conftest.$ac_ext
16715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math" >&5
16716 $as_echo "$glibcxx_cv_c99_math" >&6; }
16717 if test x"$glibcxx_cv_c99_math" = x"yes"; then
16719 $as_echo "#define _GLIBCXX_USE_C99_MATH 1" >>confdefs.h
16723 # Check for the existence of <complex.h> complex math functions.
16724 # This is necessary even though libstdc++ uses the builtin versions
16725 # of these functions, because if the builtin cannot be used, a reference
16726 # to the library function is emitted.
16727 for ac_header in tgmath.h
16728 do :
16729 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16730 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16731 cat >>confdefs.h <<_ACEOF
16732 #define HAVE_TGMATH_H 1
16733 _ACEOF
16734 ac_has_tgmath_h=yes
16735 else
16736 ac_has_tgmath_h=no
16739 done
16741 for ac_header in complex.h
16742 do :
16743 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16744 if test "x$ac_cv_header_complex_h" = x""yes; then :
16745 cat >>confdefs.h <<_ACEOF
16746 #define HAVE_COMPLEX_H 1
16747 _ACEOF
16748 ac_has_complex_h=yes
16749 else
16750 ac_has_complex_h=no
16753 done
16755 glibcxx_cv_c99_complex=no;
16756 if test x"$ac_has_complex_h" = x"yes"; then
16757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h>" >&5
16758 $as_echo_n "checking for ISO C99 support in <complex.h>... " >&6; }
16759 if test x$gcc_no_link = xyes; then
16760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16761 /* end confdefs.h. */
16762 #include <complex.h>
16763 typedef __complex__ float float_type;
16764 typedef __complex__ double double_type;
16765 typedef __complex__ long double ld_type;
16766 volatile float_type tmpf;
16767 volatile double_type tmpd;
16768 volatile ld_type tmpld;
16769 volatile float f;
16770 volatile double d;
16771 volatile long double ld;
16773 main ()
16775 f = cabsf(tmpf);
16776 f = cargf(tmpf);
16777 tmpf = ccosf(tmpf);
16778 tmpf = ccoshf(tmpf);
16779 tmpf = cexpf(tmpf);
16780 tmpf = clogf(tmpf);
16781 tmpf = csinf(tmpf);
16782 tmpf = csinhf(tmpf);
16783 tmpf = csqrtf(tmpf);
16784 tmpf = ctanf(tmpf);
16785 tmpf = ctanhf(tmpf);
16786 tmpf = cpowf(tmpf, tmpf);
16787 tmpf = cprojf(tmpf);
16788 d = cabs(tmpd);
16789 d = carg(tmpd);
16790 tmpd = ccos(tmpd);
16791 tmpd = ccosh(tmpd);
16792 tmpd = cexp(tmpd);
16793 tmpd = clog(tmpd);
16794 tmpd = csin(tmpd);
16795 tmpd = csinh(tmpd);
16796 tmpd = csqrt(tmpd);
16797 tmpd = ctan(tmpd);
16798 tmpd = ctanh(tmpd);
16799 tmpd = cpow(tmpd, tmpd);
16800 tmpd = cproj(tmpd);
16801 ld = cabsl(tmpld);
16802 ld = cargl(tmpld);
16803 tmpld = ccosl(tmpld);
16804 tmpld = ccoshl(tmpld);
16805 tmpld = cexpl(tmpld);
16806 tmpld = clogl(tmpld);
16807 tmpld = csinl(tmpld);
16808 tmpld = csinhl(tmpld);
16809 tmpld = csqrtl(tmpld);
16810 tmpld = ctanl(tmpld);
16811 tmpld = ctanhl(tmpld);
16812 tmpld = cpowl(tmpld, tmpld);
16813 tmpld = cprojl(tmpld);
16816 return 0;
16818 _ACEOF
16819 if ac_fn_cxx_try_compile "$LINENO"; then :
16820 glibcxx_cv_c99_complex=yes
16821 else
16822 glibcxx_cv_c99_complex=no
16824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16825 else
16826 if test x$gcc_no_link = xyes; then
16827 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16830 /* end confdefs.h. */
16831 #include <complex.h>
16832 typedef __complex__ float float_type;
16833 typedef __complex__ double double_type;
16834 typedef __complex__ long double ld_type;
16835 volatile float_type tmpf;
16836 volatile double_type tmpd;
16837 volatile ld_type tmpld;
16838 volatile float f;
16839 volatile double d;
16840 volatile long double ld;
16842 main ()
16844 f = cabsf(tmpf);
16845 f = cargf(tmpf);
16846 tmpf = ccosf(tmpf);
16847 tmpf = ccoshf(tmpf);
16848 tmpf = cexpf(tmpf);
16849 tmpf = clogf(tmpf);
16850 tmpf = csinf(tmpf);
16851 tmpf = csinhf(tmpf);
16852 tmpf = csqrtf(tmpf);
16853 tmpf = ctanf(tmpf);
16854 tmpf = ctanhf(tmpf);
16855 tmpf = cpowf(tmpf, tmpf);
16856 tmpf = cprojf(tmpf);
16857 d = cabs(tmpd);
16858 d = carg(tmpd);
16859 tmpd = ccos(tmpd);
16860 tmpd = ccosh(tmpd);
16861 tmpd = cexp(tmpd);
16862 tmpd = clog(tmpd);
16863 tmpd = csin(tmpd);
16864 tmpd = csinh(tmpd);
16865 tmpd = csqrt(tmpd);
16866 tmpd = ctan(tmpd);
16867 tmpd = ctanh(tmpd);
16868 tmpd = cpow(tmpd, tmpd);
16869 tmpd = cproj(tmpd);
16870 ld = cabsl(tmpld);
16871 ld = cargl(tmpld);
16872 tmpld = ccosl(tmpld);
16873 tmpld = ccoshl(tmpld);
16874 tmpld = cexpl(tmpld);
16875 tmpld = clogl(tmpld);
16876 tmpld = csinl(tmpld);
16877 tmpld = csinhl(tmpld);
16878 tmpld = csqrtl(tmpld);
16879 tmpld = ctanl(tmpld);
16880 tmpld = ctanhl(tmpld);
16881 tmpld = cpowl(tmpld, tmpld);
16882 tmpld = cprojl(tmpld);
16885 return 0;
16887 _ACEOF
16888 if ac_fn_cxx_try_link "$LINENO"; then :
16889 glibcxx_cv_c99_complex=yes
16890 else
16891 glibcxx_cv_c99_complex=no
16893 rm -f core conftest.err conftest.$ac_objext \
16894 conftest$ac_exeext conftest.$ac_ext
16897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex" >&5
16898 $as_echo "$glibcxx_cv_c99_complex" >&6; }
16899 if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16901 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX 1" >>confdefs.h
16905 # Check for the existence in <stdio.h> of vscanf, et. al.
16906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h>" >&5
16907 $as_echo_n "checking for ISO C99 support in <stdio.h>... " >&6; }
16908 if test "${glibcxx_cv_c99_stdio+set}" = set; then :
16909 $as_echo_n "(cached) " >&6
16910 else
16912 if test x$gcc_no_link = xyes; then
16913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16914 /* end confdefs.h. */
16915 #include <stdio.h>
16916 #include <stdarg.h>
16917 void foo(char* fmt, ...)
16919 va_list args; va_start(args, fmt);
16920 vfscanf(stderr, "%i", args);
16921 vscanf("%i", args);
16922 vsnprintf(fmt, 0, "%i", args);
16923 vsscanf(fmt, "%i", args);
16924 snprintf(fmt, 0, "%i");
16927 main ()
16931 return 0;
16933 _ACEOF
16934 if ac_fn_cxx_try_compile "$LINENO"; then :
16935 glibcxx_cv_c99_stdio=yes
16936 else
16937 glibcxx_cv_c99_stdio=no
16939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16940 else
16941 if test x$gcc_no_link = xyes; then
16942 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16945 /* end confdefs.h. */
16946 #include <stdio.h>
16947 #include <stdarg.h>
16948 void foo(char* fmt, ...)
16950 va_list args; va_start(args, fmt);
16951 vfscanf(stderr, "%i", args);
16952 vscanf("%i", args);
16953 vsnprintf(fmt, 0, "%i", args);
16954 vsscanf(fmt, "%i", args);
16955 snprintf(fmt, 0, "%i");
16958 main ()
16962 return 0;
16964 _ACEOF
16965 if ac_fn_cxx_try_link "$LINENO"; then :
16966 glibcxx_cv_c99_stdio=yes
16967 else
16968 glibcxx_cv_c99_stdio=no
16970 rm -f core conftest.err conftest.$ac_objext \
16971 conftest$ac_exeext conftest.$ac_ext
16976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio" >&5
16977 $as_echo "$glibcxx_cv_c99_stdio" >&6; }
16979 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h>" >&5
16981 $as_echo_n "checking for ISO C99 support in <stdlib.h>... " >&6; }
16982 if test "${glibcxx_cv_c99_stdlib+set}" = set; then :
16983 $as_echo_n "(cached) " >&6
16984 else
16986 if test x$gcc_no_link = xyes; then
16987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16988 /* end confdefs.h. */
16989 #include <stdlib.h>
16990 volatile float f;
16991 volatile long double ld;
16992 volatile unsigned long long ll;
16993 lldiv_t mydivt;
16995 main ()
16997 char* tmp;
16998 f = strtof("gnu", &tmp);
16999 ld = strtold("gnu", &tmp);
17000 ll = strtoll("gnu", &tmp, 10);
17001 ll = strtoull("gnu", &tmp, 10);
17002 ll = llabs(10);
17003 mydivt = lldiv(10,1);
17004 ll = mydivt.quot;
17005 ll = mydivt.rem;
17006 ll = atoll("10");
17007 _Exit(0);
17010 return 0;
17012 _ACEOF
17013 if ac_fn_cxx_try_compile "$LINENO"; then :
17014 glibcxx_cv_c99_stdlib=yes
17015 else
17016 glibcxx_cv_c99_stdlib=no
17018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17019 else
17020 if test x$gcc_no_link = xyes; then
17021 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17024 /* end confdefs.h. */
17025 #include <stdlib.h>
17026 volatile float f;
17027 volatile long double ld;
17028 volatile unsigned long long ll;
17029 lldiv_t mydivt;
17031 main ()
17033 char* tmp;
17034 f = strtof("gnu", &tmp);
17035 ld = strtold("gnu", &tmp);
17036 ll = strtoll("gnu", &tmp, 10);
17037 ll = strtoull("gnu", &tmp, 10);
17038 ll = llabs(10);
17039 mydivt = lldiv(10,1);
17040 ll = mydivt.quot;
17041 ll = mydivt.rem;
17042 ll = atoll("10");
17043 _Exit(0);
17046 return 0;
17048 _ACEOF
17049 if ac_fn_cxx_try_link "$LINENO"; then :
17050 glibcxx_cv_c99_stdlib=yes
17051 else
17052 glibcxx_cv_c99_stdlib=no
17054 rm -f core conftest.err conftest.$ac_objext \
17055 conftest$ac_exeext conftest.$ac_ext
17060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib" >&5
17061 $as_echo "$glibcxx_cv_c99_stdlib" >&6; }
17063 # Check for the existence in <wchar.h> of wcstold, etc.
17064 glibcxx_cv_c99_wchar=no;
17065 if test x"$ac_has_wchar_h" = xyes &&
17066 test x"$ac_has_wctype_h" = xyes; then
17067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h>" >&5
17068 $as_echo_n "checking for ISO C99 support in <wchar.h>... " >&6; }
17069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17070 /* end confdefs.h. */
17071 #include <wchar.h>
17072 namespace test
17074 using ::wcstold;
17075 using ::wcstoll;
17076 using ::wcstoull;
17080 main ()
17084 return 0;
17086 _ACEOF
17087 if ac_fn_cxx_try_compile "$LINENO"; then :
17088 glibcxx_cv_c99_wchar=yes
17089 else
17090 glibcxx_cv_c99_wchar=no
17092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17094 # Checks for wide character functions that may not be present.
17095 # Injection of these is wrapped with guard macros.
17096 # NB: only put functions here, instead of immediately above, if
17097 # absolutely necessary.
17098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17099 /* end confdefs.h. */
17100 #include <wchar.h>
17101 namespace test { using ::vfwscanf; }
17103 main ()
17107 return 0;
17109 _ACEOF
17110 if ac_fn_cxx_try_compile "$LINENO"; then :
17112 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17118 /* end confdefs.h. */
17119 #include <wchar.h>
17120 namespace test { using ::vswscanf; }
17122 main ()
17126 return 0;
17128 _ACEOF
17129 if ac_fn_cxx_try_compile "$LINENO"; then :
17131 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17137 /* end confdefs.h. */
17138 #include <wchar.h>
17139 namespace test { using ::vwscanf; }
17141 main ()
17145 return 0;
17147 _ACEOF
17148 if ac_fn_cxx_try_compile "$LINENO"; then :
17150 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17156 /* end confdefs.h. */
17157 #include <wchar.h>
17158 namespace test { using ::wcstof; }
17160 main ()
17164 return 0;
17166 _ACEOF
17167 if ac_fn_cxx_try_compile "$LINENO"; then :
17169 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17175 /* end confdefs.h. */
17176 #include <wctype.h>
17178 main ()
17180 wint_t t; int i = iswblank(t);
17182 return 0;
17184 _ACEOF
17185 if ac_fn_cxx_try_compile "$LINENO"; then :
17187 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar" >&5
17193 $as_echo "$glibcxx_cv_c99_wchar" >&6; }
17196 # Option parsed, now set things appropriately.
17197 if test x"$glibcxx_cv_c99_math" = x"no" ||
17198 test x"$glibcxx_cv_c99_complex" = x"no" ||
17199 test x"$glibcxx_cv_c99_stdio" = x"no" ||
17200 test x"$glibcxx_cv_c99_stdlib" = x"no" ||
17201 test x"$glibcxx_cv_c99_wchar" = x"no"; then
17202 enable_c99=no;
17203 else
17205 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17209 gcc_no_link="$ac_save_gcc_no_link"
17210 LIBS="$ac_save_LIBS"
17211 CXXFLAGS="$ac_save_CXXFLAGS"
17212 ac_ext=c
17213 ac_cpp='$CPP $CPPFLAGS'
17214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17221 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17223 $as_echo "$enable_c99" >&6; }
17226 # Check whether --enable-concept-checks was given.
17227 if test "${enable_concept_checks+set}" = set; then :
17228 enableval=$enable_concept_checks;
17229 case "$enableval" in
17230 yes|no) ;;
17231 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17232 esac
17234 else
17235 enable_concept_checks=no
17239 if test $enable_concept_checks = yes; then
17241 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17246 # Check whether --enable-libstdcxx-debug-flags was given.
17247 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17248 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17249 xno | x) enable_libstdcxx_debug_flags= ;;
17250 x-*) ;;
17251 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17252 esac
17253 else
17254 enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0"
17259 # Option parsed, now set things appropriately
17260 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17263 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17264 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17268 $as_echo_n "checking for additional debug build... " >&6; }
17269 # Check whether --enable-libstdcxx-debug was given.
17270 if test "${enable_libstdcxx_debug+set}" = set; then :
17271 enableval=$enable_libstdcxx_debug;
17272 case "$enableval" in
17273 yes|no) ;;
17274 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17275 esac
17277 else
17278 enable_libstdcxx_debug=no
17282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17283 $as_echo "$enable_libstdcxx_debug" >&6; }
17288 enable_parallel=no;
17290 # See if configured libgomp/omp.h exists. (libgomp may be in
17291 # noconfigdirs but not explicitly disabled.)
17292 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17293 enable_parallel=yes;
17294 else
17295 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17296 $as_echo "$as_me: target-libgomp not built" >&6;}
17299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17300 $as_echo_n "checking for parallel mode support... " >&6; }
17301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17302 $as_echo "$enable_parallel" >&6; }
17304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17305 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17306 # Check whether --enable-cxx-flags was given.
17307 if test "${enable_cxx_flags+set}" = set; then :
17308 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17309 xno | x) enable_cxx_flags= ;;
17310 x-*) ;;
17311 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17312 esac
17313 else
17314 enable_cxx_flags=
17319 # Run through flags (either default or command-line) and set anything
17320 # extra (e.g., #defines) that must accompany particular g++ options.
17321 if test -n "$enable_cxx_flags"; then
17322 for f in $enable_cxx_flags; do
17323 case "$f" in
17324 -fhonor-std) ;;
17325 -*) ;;
17326 *) # and we're trying to pass /what/ exactly?
17327 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
17328 esac
17329 done
17332 EXTRA_CXX_FLAGS="$enable_cxx_flags"
17333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
17334 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
17338 # Check whether --enable-fully-dynamic-string was given.
17339 if test "${enable_fully_dynamic_string+set}" = set; then :
17340 enableval=$enable_fully_dynamic_string;
17341 case "$enableval" in
17342 yes|no) ;;
17343 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
17344 esac
17346 else
17347 enable_fully_dynamic_string=no
17351 if test $enable_fully_dynamic_string = yes; then
17352 enable_fully_dynamic_string_def=1
17353 else
17354 enable_fully_dynamic_string_def=0
17357 cat >>confdefs.h <<_ACEOF
17358 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
17359 _ACEOF
17364 # Check whether --enable-extern-template was given.
17365 if test "${enable_extern_template+set}" = set; then :
17366 enableval=$enable_extern_template;
17367 case "$enableval" in
17368 yes|no) ;;
17369 *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
17370 esac
17372 else
17373 enable_extern_template=yes
17378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
17379 $as_echo_n "checking for extern template support... " >&6; }
17380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
17381 $as_echo "$enable_extern_template" >&6; }
17387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
17388 $as_echo_n "checking for custom python install directory... " >&6; }
17390 # Check whether --with-python-dir was given.
17391 if test "${with_python_dir+set}" = set; then :
17392 withval=$with_python_dir; with_python_dir=$withval
17393 else
17394 with_python_dir="no"
17397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
17398 $as_echo "${with_python_dir}" >&6; }
17400 # Needed for installing Python modules during make install.
17401 python_mod_dir="${with_python_dir}"
17406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
17407 $as_echo_n "checking for -Werror... " >&6; }
17408 # Check whether --enable-werror was given.
17409 if test "${enable_werror+set}" = set; then :
17410 enableval=$enable_werror;
17411 case "$enableval" in
17412 yes|no) ;;
17413 *) as_fn_error "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
17414 esac
17416 else
17417 enable_werror=yes
17421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
17422 $as_echo "$enable_werror" >&6; }
17427 # Check whether --enable-vtable-verify was given.
17428 if test "${enable_vtable_verify+set}" = set; then :
17429 enableval=$enable_vtable_verify;
17430 case "$enableval" in
17431 yes|no) ;;
17432 *) as_fn_error "Argument to enable/disable vtable-verify must be yes or no" "$LINENO" 5 ;;
17433 esac
17435 else
17436 enable_vtable_verify=no
17441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtable verify support" >&5
17442 $as_echo_n "checking for vtable verify support... " >&6; }
17443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
17444 $as_echo "$enable_vtable_verify" >&6; }
17446 if test $enable_vtable_verify = yes; then
17447 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
17448 VTV_PCH_CXXFLAGS="-fvtable-verify=std"
17449 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
17450 else
17451 VTV_CXXFLAGS=
17452 VTV_PCH_CXXFLAGS=
17453 VTV_CXXLINKFLAGS=
17462 # Checks for operating systems support that doesn't require linking.
17466 ac_ext=cpp
17467 ac_cpp='$CXXCPP $CPPFLAGS'
17468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
17474 $as_echo_n "checking for gets declaration... " >&6; }
17475 if test "${glibcxx_cv_gets+set}" = set; then :
17476 $as_echo_n "(cached) " >&6
17477 else
17479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17480 /* end confdefs.h. */
17481 #include <stdio.h>
17482 namespace test
17484 using ::gets;
17487 _ACEOF
17488 if ac_fn_cxx_try_compile "$LINENO"; then :
17489 glibcxx_cv_gets=yes
17490 else
17491 glibcxx_cv_gets=no
17494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17498 if test $glibcxx_cv_gets = yes; then
17500 $as_echo "#define HAVE_GETS 1" >>confdefs.h
17503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
17504 $as_echo "$glibcxx_cv_gets" >&6; }
17506 ac_ext=c
17507 ac_cpp='$CPP $CPPFLAGS'
17508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
17516 $as_echo_n "checking for EOWNERDEAD... " >&6; }
17517 if test "${glibcxx_cv_system_error1+set}" = set; then :
17518 $as_echo_n "(cached) " >&6
17519 else
17521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17522 /* end confdefs.h. */
17523 #include <errno.h>
17525 main ()
17527 int i = EOWNERDEAD;
17529 return 0;
17531 _ACEOF
17532 if ac_fn_c_try_compile "$LINENO"; then :
17533 glibcxx_cv_system_error1=yes
17534 else
17535 glibcxx_cv_system_error1=no
17537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
17542 $as_echo "$glibcxx_cv_system_error1" >&6; }
17543 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17545 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
17548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
17549 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
17550 if test "${glibcxx_cv_system_error2+set}" = set; then :
17551 $as_echo_n "(cached) " >&6
17552 else
17554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17555 /* end confdefs.h. */
17556 #include <errno.h>
17558 main ()
17560 int i = ENOTRECOVERABLE;
17562 return 0;
17564 _ACEOF
17565 if ac_fn_c_try_compile "$LINENO"; then :
17566 glibcxx_cv_system_error2=yes
17567 else
17568 glibcxx_cv_system_error2=no
17570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
17575 $as_echo "$glibcxx_cv_system_error2" >&6; }
17576 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17578 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
17581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
17582 $as_echo_n "checking for ENOLINK... " >&6; }
17583 if test "${glibcxx_cv_system_error3+set}" = set; then :
17584 $as_echo_n "(cached) " >&6
17585 else
17587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17588 /* end confdefs.h. */
17589 #include <errno.h>
17591 main ()
17593 int i = ENOLINK;
17595 return 0;
17597 _ACEOF
17598 if ac_fn_c_try_compile "$LINENO"; then :
17599 glibcxx_cv_system_error3=yes
17600 else
17601 glibcxx_cv_system_error3=no
17603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
17608 $as_echo "$glibcxx_cv_system_error3" >&6; }
17609 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17611 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
17614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
17615 $as_echo_n "checking for EPROTO... " >&6; }
17616 if test "${glibcxx_cv_system_error4+set}" = set; then :
17617 $as_echo_n "(cached) " >&6
17618 else
17620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17621 /* end confdefs.h. */
17622 #include <errno.h>
17624 main ()
17626 int i = EPROTO;
17628 return 0;
17630 _ACEOF
17631 if ac_fn_c_try_compile "$LINENO"; then :
17632 glibcxx_cv_system_error4=yes
17633 else
17634 glibcxx_cv_system_error4=no
17636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
17641 $as_echo "$glibcxx_cv_system_error4" >&6; }
17642 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17644 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
17647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
17648 $as_echo_n "checking for ENODATA... " >&6; }
17649 if test "${glibcxx_cv_system_error5+set}" = set; then :
17650 $as_echo_n "(cached) " >&6
17651 else
17653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17654 /* end confdefs.h. */
17655 #include <errno.h>
17657 main ()
17659 int i = ENODATA;
17661 return 0;
17663 _ACEOF
17664 if ac_fn_c_try_compile "$LINENO"; then :
17665 glibcxx_cv_system_error5=yes
17666 else
17667 glibcxx_cv_system_error5=no
17669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
17674 $as_echo "$glibcxx_cv_system_error5" >&6; }
17675 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17677 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
17680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
17681 $as_echo_n "checking for ENOSR... " >&6; }
17682 if test "${glibcxx_cv_system_error6+set}" = set; then :
17683 $as_echo_n "(cached) " >&6
17684 else
17686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17687 /* end confdefs.h. */
17688 #include <errno.h>
17690 main ()
17692 int i = ENOSR;
17694 return 0;
17696 _ACEOF
17697 if ac_fn_c_try_compile "$LINENO"; then :
17698 glibcxx_cv_system_error6=yes
17699 else
17700 glibcxx_cv_system_error6=no
17702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
17707 $as_echo "$glibcxx_cv_system_error6" >&6; }
17708 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17710 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
17713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
17714 $as_echo_n "checking for ENOSTR... " >&6; }
17715 if test "${glibcxx_cv_system_error7+set}" = set; then :
17716 $as_echo_n "(cached) " >&6
17717 else
17719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17720 /* end confdefs.h. */
17721 #include <errno.h>
17723 main ()
17725 int i = ENOSTR;
17727 return 0;
17729 _ACEOF
17730 if ac_fn_c_try_compile "$LINENO"; then :
17731 glibcxx_cv_system_error7=yes
17732 else
17733 glibcxx_cv_system_error7=no
17735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
17740 $as_echo "$glibcxx_cv_system_error7" >&6; }
17741 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17743 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
17746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
17747 $as_echo_n "checking for ETIME... " >&6; }
17748 if test "${glibcxx_cv_system_error8+set}" = set; then :
17749 $as_echo_n "(cached) " >&6
17750 else
17752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17753 /* end confdefs.h. */
17754 #include <errno.h>
17756 main ()
17758 int i = ETIME;
17760 return 0;
17762 _ACEOF
17763 if ac_fn_c_try_compile "$LINENO"; then :
17764 glibcxx_cv_system_error8=yes
17765 else
17766 glibcxx_cv_system_error8=no
17768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
17773 $as_echo "$glibcxx_cv_system_error8" >&6; }
17774 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17776 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
17779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
17780 $as_echo_n "checking for EBADMSG... " >&6; }
17781 if test "${glibcxx_cv_system_error9+set}" = set; then :
17782 $as_echo_n "(cached) " >&6
17783 else
17785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17786 /* end confdefs.h. */
17787 #include <errno.h>
17789 main ()
17791 int i = EBADMSG;
17793 return 0;
17795 _ACEOF
17796 if ac_fn_c_try_compile "$LINENO"; then :
17797 glibcxx_cv_system_error9=yes
17798 else
17799 glibcxx_cv_system_error9=no
17801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
17806 $as_echo "$glibcxx_cv_system_error9" >&6; }
17807 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17809 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
17812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
17813 $as_echo_n "checking for ECANCELED... " >&6; }
17814 if test "${glibcxx_cv_system_error10+set}" = set; then :
17815 $as_echo_n "(cached) " >&6
17816 else
17818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17819 /* end confdefs.h. */
17820 #include <errno.h>
17822 main ()
17824 int i = ECANCELED;
17826 return 0;
17828 _ACEOF
17829 if ac_fn_c_try_compile "$LINENO"; then :
17830 glibcxx_cv_system_error10=yes
17831 else
17832 glibcxx_cv_system_error10=no
17834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
17839 $as_echo "$glibcxx_cv_system_error10" >&6; }
17840 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17842 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
17845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
17846 $as_echo_n "checking for EOVERFLOW... " >&6; }
17847 if test "${glibcxx_cv_system_error11+set}" = set; then :
17848 $as_echo_n "(cached) " >&6
17849 else
17851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17852 /* end confdefs.h. */
17853 #include <errno.h>
17855 main ()
17857 int i = EOVERFLOW;
17859 return 0;
17861 _ACEOF
17862 if ac_fn_c_try_compile "$LINENO"; then :
17863 glibcxx_cv_system_error11=yes
17864 else
17865 glibcxx_cv_system_error11=no
17867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
17872 $as_echo "$glibcxx_cv_system_error11" >&6; }
17873 if test x"$glibcxx_cv_system_error11" = x"yes"; then
17875 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
17878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
17879 $as_echo_n "checking for ENOTSUP... " >&6; }
17880 if test "${glibcxx_cv_system_error12+set}" = set; then :
17881 $as_echo_n "(cached) " >&6
17882 else
17884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17885 /* end confdefs.h. */
17886 #include <errno.h>
17888 main ()
17890 int i = ENOTSUP;
17892 return 0;
17894 _ACEOF
17895 if ac_fn_c_try_compile "$LINENO"; then :
17896 glibcxx_cv_system_error12=yes
17897 else
17898 glibcxx_cv_system_error12=no
17900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
17905 $as_echo "$glibcxx_cv_system_error12" >&6; }
17906 if test x"$glibcxx_cv_system_error12" = x"yes"; then
17908 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
17911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
17912 $as_echo_n "checking for EIDRM... " >&6; }
17913 if test "${glibcxx_cv_system_error13+set}" = set; then :
17914 $as_echo_n "(cached) " >&6
17915 else
17917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17918 /* end confdefs.h. */
17919 #include <errno.h>
17921 main ()
17923 int i = EIDRM;
17925 return 0;
17927 _ACEOF
17928 if ac_fn_c_try_compile "$LINENO"; then :
17929 glibcxx_cv_system_error13=yes
17930 else
17931 glibcxx_cv_system_error13=no
17933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
17938 $as_echo "$glibcxx_cv_system_error13" >&6; }
17939 if test x"$glibcxx_cv_system_error13" = x"yes"; then
17941 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
17944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
17945 $as_echo_n "checking for ETXTBSY... " >&6; }
17946 if test "${glibcxx_cv_system_error14+set}" = set; then :
17947 $as_echo_n "(cached) " >&6
17948 else
17950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17951 /* end confdefs.h. */
17952 #include <errno.h>
17954 main ()
17956 int i = ETXTBSY;
17958 return 0;
17960 _ACEOF
17961 if ac_fn_c_try_compile "$LINENO"; then :
17962 glibcxx_cv_system_error14=yes
17963 else
17964 glibcxx_cv_system_error14=no
17966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
17971 $as_echo "$glibcxx_cv_system_error14" >&6; }
17972 if test x"$glibcxx_cv_system_error14" = x"yes"; then
17974 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
17977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
17978 $as_echo_n "checking for ECHILD... " >&6; }
17979 if test "${glibcxx_cv_system_error15+set}" = set; then :
17980 $as_echo_n "(cached) " >&6
17981 else
17983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17984 /* end confdefs.h. */
17985 #include <errno.h>
17987 main ()
17989 int i = ECHILD;
17991 return 0;
17993 _ACEOF
17994 if ac_fn_c_try_compile "$LINENO"; then :
17995 glibcxx_cv_system_error15=yes
17996 else
17997 glibcxx_cv_system_error15=no
17999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
18004 $as_echo "$glibcxx_cv_system_error15" >&6; }
18005 if test x"$glibcxx_cv_system_error15" = x"yes"; then
18007 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
18010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
18011 $as_echo_n "checking for ENOSPC... " >&6; }
18012 if test "${glibcxx_cv_system_error16+set}" = set; then :
18013 $as_echo_n "(cached) " >&6
18014 else
18016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18017 /* end confdefs.h. */
18018 #include <errno.h>
18020 main ()
18022 int i = ENOSPC;
18024 return 0;
18026 _ACEOF
18027 if ac_fn_c_try_compile "$LINENO"; then :
18028 glibcxx_cv_system_error16=yes
18029 else
18030 glibcxx_cv_system_error16=no
18032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
18037 $as_echo "$glibcxx_cv_system_error16" >&6; }
18038 if test x"$glibcxx_cv_system_error16" = x"yes"; then
18040 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
18043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
18044 $as_echo_n "checking for EPERM... " >&6; }
18045 if test "${glibcxx_cv_system_error17+set}" = set; then :
18046 $as_echo_n "(cached) " >&6
18047 else
18049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18050 /* end confdefs.h. */
18051 #include <errno.h>
18053 main ()
18055 int i = EPERM;
18057 return 0;
18059 _ACEOF
18060 if ac_fn_c_try_compile "$LINENO"; then :
18061 glibcxx_cv_system_error17=yes
18062 else
18063 glibcxx_cv_system_error17=no
18065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
18070 $as_echo "$glibcxx_cv_system_error17" >&6; }
18071 if test x"$glibcxx_cv_system_error17" = x"yes"; then
18073 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
18076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
18077 $as_echo_n "checking for ETIMEDOUT... " >&6; }
18078 if test "${glibcxx_cv_system_error18+set}" = set; then :
18079 $as_echo_n "(cached) " >&6
18080 else
18082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18083 /* end confdefs.h. */
18084 #include <errno.h>
18086 main ()
18088 int i = ETIMEDOUT;
18090 return 0;
18092 _ACEOF
18093 if ac_fn_c_try_compile "$LINENO"; then :
18094 glibcxx_cv_system_error18=yes
18095 else
18096 glibcxx_cv_system_error18=no
18098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
18103 $as_echo "$glibcxx_cv_system_error18" >&6; }
18104 if test x"$glibcxx_cv_system_error18" = x"yes"; then
18106 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
18109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
18110 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
18111 if test "${glibcxx_cv_system_error19+set}" = set; then :
18112 $as_echo_n "(cached) " >&6
18113 else
18115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18116 /* end confdefs.h. */
18117 #include <errno.h>
18119 main ()
18121 int i = EWOULDBLOCK;
18123 return 0;
18125 _ACEOF
18126 if ac_fn_c_try_compile "$LINENO"; then :
18127 glibcxx_cv_system_error19=yes
18128 else
18129 glibcxx_cv_system_error19=no
18131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
18136 $as_echo "$glibcxx_cv_system_error19" >&6; }
18137 if test x"$glibcxx_cv_system_error19" = x"yes"; then
18139 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
18145 # For the streamoff typedef.
18149 ac_ext=cpp
18150 ac_cpp='$CXXCPP $CPPFLAGS'
18151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
18157 $as_echo_n "checking for int64_t... " >&6; }
18158 if test "${glibcxx_cv_INT64_T+set}" = set; then :
18159 $as_echo_n "(cached) " >&6
18160 else
18162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18163 /* end confdefs.h. */
18164 #include <stdint.h>
18166 main ()
18168 int64_t var;
18170 return 0;
18172 _ACEOF
18173 if ac_fn_cxx_try_compile "$LINENO"; then :
18174 glibcxx_cv_INT64_T=yes
18175 else
18176 glibcxx_cv_INT64_T=no
18178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18183 if test $glibcxx_cv_INT64_T = yes; then
18185 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
18187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
18188 $as_echo "$glibcxx_cv_INT64_T" >&6; }
18190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
18191 $as_echo_n "checking for int64_t as long... " >&6; }
18192 if test "${glibcxx_cv_int64_t_long+set}" = set; then :
18193 $as_echo_n "(cached) " >&6
18194 else
18196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18197 /* end confdefs.h. */
18198 #include <stdint.h>
18199 template<typename, typename> struct same { enum { value = -1 }; };
18200 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18201 int array[same<int64_t, long>::value];
18203 main ()
18207 return 0;
18209 _ACEOF
18210 if ac_fn_cxx_try_compile "$LINENO"; then :
18211 glibcxx_cv_int64_t_long=yes
18212 else
18213 glibcxx_cv_int64_t_long=no
18215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18220 if test $glibcxx_cv_int64_t_long = yes; then
18222 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
18224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
18225 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
18228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
18229 $as_echo_n "checking for int64_t as long long... " >&6; }
18230 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
18231 $as_echo_n "(cached) " >&6
18232 else
18234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18235 /* end confdefs.h. */
18236 #include <stdint.h>
18237 template<typename, typename> struct same { enum { value = -1 }; };
18238 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18239 int array[same<int64_t, long long>::value];
18241 main ()
18245 return 0;
18247 _ACEOF
18248 if ac_fn_cxx_try_compile "$LINENO"; then :
18249 glibcxx_cv_int64_t_long_long=yes
18250 else
18251 glibcxx_cv_int64_t_long_long=no
18253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18258 if test $glibcxx_cv_int64_t_long_long = yes; then
18260 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
18262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
18263 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
18267 ac_ext=c
18268 ac_cpp='$CPP $CPPFLAGS'
18269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18275 # For LFS support.
18278 ac_ext=cpp
18279 ac_cpp='$CXXCPP $CPPFLAGS'
18280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18284 ac_save_CXXFLAGS="$CXXFLAGS"
18285 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
18287 $as_echo_n "checking for LFS support... " >&6; }
18288 if test "${glibcxx_cv_LFS+set}" = set; then :
18289 $as_echo_n "(cached) " >&6
18290 else
18292 if test x$gcc_no_link = xyes; then
18293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18294 /* end confdefs.h. */
18295 #include <unistd.h>
18296 #include <stdio.h>
18297 #include <sys/stat.h>
18300 main ()
18302 FILE* fp;
18303 fopen64("t", "w");
18304 fseeko64(fp, 0, SEEK_CUR);
18305 ftello64(fp);
18306 lseek64(1, 0, SEEK_CUR);
18307 struct stat64 buf;
18308 fstat64(1, &buf);
18310 return 0;
18312 _ACEOF
18313 if ac_fn_cxx_try_compile "$LINENO"; then :
18314 glibcxx_cv_LFS=yes
18315 else
18316 glibcxx_cv_LFS=no
18318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18319 else
18320 if test x$gcc_no_link = xyes; then
18321 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18324 /* end confdefs.h. */
18325 #include <unistd.h>
18326 #include <stdio.h>
18327 #include <sys/stat.h>
18330 main ()
18332 FILE* fp;
18333 fopen64("t", "w");
18334 fseeko64(fp, 0, SEEK_CUR);
18335 ftello64(fp);
18336 lseek64(1, 0, SEEK_CUR);
18337 struct stat64 buf;
18338 fstat64(1, &buf);
18340 return 0;
18342 _ACEOF
18343 if ac_fn_cxx_try_link "$LINENO"; then :
18344 glibcxx_cv_LFS=yes
18345 else
18346 glibcxx_cv_LFS=no
18348 rm -f core conftest.err conftest.$ac_objext \
18349 conftest$ac_exeext conftest.$ac_ext
18354 if test $glibcxx_cv_LFS = yes; then
18356 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
18359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
18360 $as_echo "$glibcxx_cv_LFS" >&6; }
18361 CXXFLAGS="$ac_save_CXXFLAGS"
18362 ac_ext=c
18363 ac_cpp='$CPP $CPPFLAGS'
18364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18370 # For showmanyc_helper().
18371 for ac_header in sys/ioctl.h sys/filio.h
18372 do :
18373 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18374 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18375 eval as_val=\$$as_ac_Header
18376 if test "x$as_val" = x""yes; then :
18377 cat >>confdefs.h <<_ACEOF
18378 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18379 _ACEOF
18383 done
18388 ac_ext=cpp
18389 ac_cpp='$CXXCPP $CPPFLAGS'
18390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18394 ac_save_CXXFLAGS="$CXXFLAGS"
18395 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
18398 $as_echo_n "checking for poll... " >&6; }
18399 if test "${glibcxx_cv_POLL+set}" = set; then :
18400 $as_echo_n "(cached) " >&6
18401 else
18403 if test x$gcc_no_link = xyes; then
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_compile "$LINENO"; then :
18418 glibcxx_cv_POLL=yes
18419 else
18420 glibcxx_cv_POLL=no
18422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18423 else
18424 if test x$gcc_no_link = xyes; then
18425 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18428 /* end confdefs.h. */
18429 #include <poll.h>
18431 main ()
18433 struct pollfd pfd[1];
18434 pfd[0].events = POLLIN;
18435 poll(pfd, 1, 0);
18437 return 0;
18439 _ACEOF
18440 if ac_fn_cxx_try_link "$LINENO"; then :
18441 glibcxx_cv_POLL=yes
18442 else
18443 glibcxx_cv_POLL=no
18445 rm -f core conftest.err conftest.$ac_objext \
18446 conftest$ac_exeext conftest.$ac_ext
18451 if test $glibcxx_cv_POLL = yes; then
18453 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
18457 $as_echo "$glibcxx_cv_POLL" >&6; }
18459 CXXFLAGS="$ac_save_CXXFLAGS"
18460 ac_ext=c
18461 ac_cpp='$CPP $CPPFLAGS'
18462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18470 ac_ext=cpp
18471 ac_cpp='$CXXCPP $CPPFLAGS'
18472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18476 ac_save_CXXFLAGS="$CXXFLAGS"
18477 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
18480 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
18481 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
18482 $as_echo_n "(cached) " >&6
18483 else
18485 if test x$gcc_no_link = xyes; then
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_compile "$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 conftest.$ac_ext
18505 else
18506 if test x$gcc_no_link = xyes; then
18507 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18510 /* end confdefs.h. */
18511 #include <sys/stat.h>
18513 main ()
18515 struct stat buffer;
18516 fstat(0, &buffer);
18517 S_ISREG(buffer.st_mode);
18519 return 0;
18521 _ACEOF
18522 if ac_fn_cxx_try_link "$LINENO"; then :
18523 glibcxx_cv_S_ISREG=yes
18524 else
18525 glibcxx_cv_S_ISREG=no
18527 rm -f core conftest.err conftest.$ac_objext \
18528 conftest$ac_exeext conftest.$ac_ext
18533 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
18534 $as_echo_n "(cached) " >&6
18535 else
18537 if test x$gcc_no_link = xyes; then
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_compile "$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 conftest.$ac_ext
18557 else
18558 if test x$gcc_no_link = xyes; then
18559 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18562 /* end confdefs.h. */
18563 #include <sys/stat.h>
18565 main ()
18567 struct stat buffer;
18568 fstat(0, &buffer);
18569 S_IFREG & buffer.st_mode;
18571 return 0;
18573 _ACEOF
18574 if ac_fn_cxx_try_link "$LINENO"; then :
18575 glibcxx_cv_S_IFREG=yes
18576 else
18577 glibcxx_cv_S_IFREG=no
18579 rm -f core conftest.err conftest.$ac_objext \
18580 conftest$ac_exeext conftest.$ac_ext
18585 res=no
18586 if test $glibcxx_cv_S_ISREG = yes; then
18588 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
18590 res=S_ISREG
18591 elif test $glibcxx_cv_S_IFREG = yes; then
18593 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
18595 res=S_IFREG
18597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
18598 $as_echo "$res" >&6; }
18600 CXXFLAGS="$ac_save_CXXFLAGS"
18601 ac_ext=c
18602 ac_cpp='$CPP $CPPFLAGS'
18603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18609 # For xsputn_2().
18610 for ac_header in sys/uio.h
18611 do :
18612 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
18613 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
18614 cat >>confdefs.h <<_ACEOF
18615 #define HAVE_SYS_UIO_H 1
18616 _ACEOF
18620 done
18625 ac_ext=cpp
18626 ac_cpp='$CXXCPP $CPPFLAGS'
18627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18631 ac_save_CXXFLAGS="$CXXFLAGS"
18632 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
18635 $as_echo_n "checking for writev... " >&6; }
18636 if test "${glibcxx_cv_WRITEV+set}" = set; then :
18637 $as_echo_n "(cached) " >&6
18638 else
18640 if test x$gcc_no_link = xyes; then
18641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18642 /* end confdefs.h. */
18643 #include <sys/uio.h>
18645 main ()
18647 struct iovec iov[2];
18648 writev(0, iov, 0);
18650 return 0;
18652 _ACEOF
18653 if ac_fn_cxx_try_compile "$LINENO"; then :
18654 glibcxx_cv_WRITEV=yes
18655 else
18656 glibcxx_cv_WRITEV=no
18658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18659 else
18660 if test x$gcc_no_link = xyes; then
18661 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18664 /* end confdefs.h. */
18665 #include <sys/uio.h>
18667 main ()
18669 struct iovec iov[2];
18670 writev(0, iov, 0);
18672 return 0;
18674 _ACEOF
18675 if ac_fn_cxx_try_link "$LINENO"; then :
18676 glibcxx_cv_WRITEV=yes
18677 else
18678 glibcxx_cv_WRITEV=no
18680 rm -f core conftest.err conftest.$ac_objext \
18681 conftest$ac_exeext conftest.$ac_ext
18686 if test $glibcxx_cv_WRITEV = yes; then
18688 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
18691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
18692 $as_echo "$glibcxx_cv_WRITEV" >&6; }
18694 CXXFLAGS="$ac_save_CXXFLAGS"
18695 ac_ext=c
18696 ac_cpp='$CPP $CPPFLAGS'
18697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18703 # Check for fenv.h and complex.h before GLIBCXX_CHECK_C99_TR1
18704 # so that the check is done with the C compiler (not C++).
18705 # Checking with C++ can break a canadian cross build if either
18706 # file does not exist in C but does in C++.
18707 for ac_header in fenv.h complex.h
18708 do :
18709 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18710 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18711 eval as_val=\$$as_ac_Header
18712 if test "x$as_val" = x""yes; then :
18713 cat >>confdefs.h <<_ACEOF
18714 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18715 _ACEOF
18719 done
18722 # For C99 support to TR1.
18726 ac_ext=cpp
18727 ac_cpp='$CXXCPP $CPPFLAGS'
18728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18733 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
18734 # undefined and fake C99 facilities may be spuriously enabled.
18735 ac_save_CXXFLAGS="$CXXFLAGS"
18736 CXXFLAGS="$CXXFLAGS -std=c++98"
18738 # Check for the existence of <complex.h> complex math functions used
18739 # by tr1/complex.
18740 for ac_header in complex.h
18741 do :
18742 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18743 if test "x$ac_cv_header_complex_h" = x""yes; then :
18744 cat >>confdefs.h <<_ACEOF
18745 #define HAVE_COMPLEX_H 1
18746 _ACEOF
18747 ac_has_complex_h=yes
18748 else
18749 ac_has_complex_h=no
18752 done
18754 ac_c99_complex_tr1=no;
18755 if test x"$ac_has_complex_h" = x"yes"; then
18756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
18757 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
18758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18759 /* end confdefs.h. */
18760 #include <complex.h>
18762 main ()
18764 typedef __complex__ float float_type; float_type tmpf;
18765 cacosf(tmpf);
18766 casinf(tmpf);
18767 catanf(tmpf);
18768 cacoshf(tmpf);
18769 casinhf(tmpf);
18770 catanhf(tmpf);
18771 typedef __complex__ double double_type; double_type tmpd;
18772 cacos(tmpd);
18773 casin(tmpd);
18774 catan(tmpd);
18775 cacosh(tmpd);
18776 casinh(tmpd);
18777 catanh(tmpd);
18778 typedef __complex__ long double ld_type; ld_type tmpld;
18779 cacosl(tmpld);
18780 casinl(tmpld);
18781 catanl(tmpld);
18782 cacoshl(tmpld);
18783 casinhl(tmpld);
18784 catanhl(tmpld);
18787 return 0;
18789 _ACEOF
18790 if ac_fn_cxx_try_compile "$LINENO"; then :
18791 ac_c99_complex_tr1=yes
18792 else
18793 ac_c99_complex_tr1=no
18795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
18798 $as_echo "$ac_c99_complex_tr1" >&6; }
18799 if test x"$ac_c99_complex_tr1" = x"yes"; then
18801 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
18805 # Check for the existence of <ctype.h> functions.
18806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
18807 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
18808 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
18809 $as_echo_n "(cached) " >&6
18810 else
18812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18813 /* end confdefs.h. */
18814 #include <ctype.h>
18816 main ()
18818 int ch;
18819 int ret;
18820 ret = isblank(ch);
18823 return 0;
18825 _ACEOF
18826 if ac_fn_cxx_try_compile "$LINENO"; then :
18827 glibcxx_cv_c99_ctype_tr1=yes
18828 else
18829 glibcxx_cv_c99_ctype_tr1=no
18831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
18836 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
18837 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
18839 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
18843 # Check for the existence of <fenv.h> functions.
18844 for ac_header in fenv.h
18845 do :
18846 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
18847 if test "x$ac_cv_header_fenv_h" = x""yes; then :
18848 cat >>confdefs.h <<_ACEOF
18849 #define HAVE_FENV_H 1
18850 _ACEOF
18851 ac_has_fenv_h=yes
18852 else
18853 ac_has_fenv_h=no
18856 done
18858 ac_c99_fenv_tr1=no;
18859 if test x"$ac_has_fenv_h" = x"yes"; then
18860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
18861 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
18862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18863 /* end confdefs.h. */
18864 #include <fenv.h>
18866 main ()
18868 int except, mode;
18869 fexcept_t* pflag;
18870 fenv_t* penv;
18871 int ret;
18872 ret = feclearexcept(except);
18873 ret = fegetexceptflag(pflag, except);
18874 ret = feraiseexcept(except);
18875 ret = fesetexceptflag(pflag, except);
18876 ret = fetestexcept(except);
18877 ret = fegetround();
18878 ret = fesetround(mode);
18879 ret = fegetenv(penv);
18880 ret = feholdexcept(penv);
18881 ret = fesetenv(penv);
18882 ret = feupdateenv(penv);
18885 return 0;
18887 _ACEOF
18888 if ac_fn_cxx_try_compile "$LINENO"; then :
18889 ac_c99_fenv_tr1=yes
18890 else
18891 ac_c99_fenv_tr1=no
18893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
18896 $as_echo "$ac_c99_fenv_tr1" >&6; }
18897 if test x"$ac_c99_fenv_tr1" = x"yes"; then
18899 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
18903 # Check for the existence of <stdint.h> types.
18904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
18905 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
18906 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
18907 $as_echo_n "(cached) " >&6
18908 else
18910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18911 /* end confdefs.h. */
18912 #define __STDC_LIMIT_MACROS
18913 #define __STDC_CONSTANT_MACROS
18914 #include <stdint.h>
18916 main ()
18918 typedef int8_t my_int8_t;
18919 my_int8_t i8 = INT8_MIN;
18920 i8 = INT8_MAX;
18921 typedef int16_t my_int16_t;
18922 my_int16_t i16 = INT16_MIN;
18923 i16 = INT16_MAX;
18924 typedef int32_t my_int32_t;
18925 my_int32_t i32 = INT32_MIN;
18926 i32 = INT32_MAX;
18927 typedef int64_t my_int64_t;
18928 my_int64_t i64 = INT64_MIN;
18929 i64 = INT64_MAX;
18930 typedef int_fast8_t my_int_fast8_t;
18931 my_int_fast8_t if8 = INT_FAST8_MIN;
18932 if8 = INT_FAST8_MAX;
18933 typedef int_fast16_t my_int_fast16_t;
18934 my_int_fast16_t if16 = INT_FAST16_MIN;
18935 if16 = INT_FAST16_MAX;
18936 typedef int_fast32_t my_int_fast32_t;
18937 my_int_fast32_t if32 = INT_FAST32_MIN;
18938 if32 = INT_FAST32_MAX;
18939 typedef int_fast64_t my_int_fast64_t;
18940 my_int_fast64_t if64 = INT_FAST64_MIN;
18941 if64 = INT_FAST64_MAX;
18942 typedef int_least8_t my_int_least8_t;
18943 my_int_least8_t il8 = INT_LEAST8_MIN;
18944 il8 = INT_LEAST8_MAX;
18945 typedef int_least16_t my_int_least16_t;
18946 my_int_least16_t il16 = INT_LEAST16_MIN;
18947 il16 = INT_LEAST16_MAX;
18948 typedef int_least32_t my_int_least32_t;
18949 my_int_least32_t il32 = INT_LEAST32_MIN;
18950 il32 = INT_LEAST32_MAX;
18951 typedef int_least64_t my_int_least64_t;
18952 my_int_least64_t il64 = INT_LEAST64_MIN;
18953 il64 = INT_LEAST64_MAX;
18954 typedef intmax_t my_intmax_t;
18955 my_intmax_t im = INTMAX_MAX;
18956 im = INTMAX_MIN;
18957 typedef intptr_t my_intptr_t;
18958 my_intptr_t ip = INTPTR_MAX;
18959 ip = INTPTR_MIN;
18960 typedef uint8_t my_uint8_t;
18961 my_uint8_t ui8 = UINT8_MAX;
18962 ui8 = UINT8_MAX;
18963 typedef uint16_t my_uint16_t;
18964 my_uint16_t ui16 = UINT16_MAX;
18965 ui16 = UINT16_MAX;
18966 typedef uint32_t my_uint32_t;
18967 my_uint32_t ui32 = UINT32_MAX;
18968 ui32 = UINT32_MAX;
18969 typedef uint64_t my_uint64_t;
18970 my_uint64_t ui64 = UINT64_MAX;
18971 ui64 = UINT64_MAX;
18972 typedef uint_fast8_t my_uint_fast8_t;
18973 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
18974 uif8 = UINT_FAST8_MAX;
18975 typedef uint_fast16_t my_uint_fast16_t;
18976 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
18977 uif16 = UINT_FAST16_MAX;
18978 typedef uint_fast32_t my_uint_fast32_t;
18979 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
18980 uif32 = UINT_FAST32_MAX;
18981 typedef uint_fast64_t my_uint_fast64_t;
18982 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
18983 uif64 = UINT_FAST64_MAX;
18984 typedef uint_least8_t my_uint_least8_t;
18985 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
18986 uil8 = UINT_LEAST8_MAX;
18987 typedef uint_least16_t my_uint_least16_t;
18988 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
18989 uil16 = UINT_LEAST16_MAX;
18990 typedef uint_least32_t my_uint_least32_t;
18991 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
18992 uil32 = UINT_LEAST32_MAX;
18993 typedef uint_least64_t my_uint_least64_t;
18994 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
18995 uil64 = UINT_LEAST64_MAX;
18996 typedef uintmax_t my_uintmax_t;
18997 my_uintmax_t uim = UINTMAX_MAX;
18998 uim = UINTMAX_MAX;
18999 typedef uintptr_t my_uintptr_t;
19000 my_uintptr_t uip = UINTPTR_MAX;
19001 uip = UINTPTR_MAX;
19004 return 0;
19006 _ACEOF
19007 if ac_fn_cxx_try_compile "$LINENO"; then :
19008 glibcxx_cv_c99_stdint_tr1=yes
19009 else
19010 glibcxx_cv_c99_stdint_tr1=no
19012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
19017 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
19018 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19020 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
19024 # Check for the existence of <math.h> functions.
19025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
19026 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
19027 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
19028 $as_echo_n "(cached) " >&6
19029 else
19031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19032 /* end confdefs.h. */
19033 #include <math.h>
19035 main ()
19037 typedef double_t my_double_t;
19038 typedef float_t my_float_t;
19039 acosh(0.0);
19040 acoshf(0.0f);
19041 acoshl(0.0l);
19042 asinh(0.0);
19043 asinhf(0.0f);
19044 asinhl(0.0l);
19045 atanh(0.0);
19046 atanhf(0.0f);
19047 atanhl(0.0l);
19048 cbrt(0.0);
19049 cbrtf(0.0f);
19050 cbrtl(0.0l);
19051 copysign(0.0, 0.0);
19052 copysignf(0.0f, 0.0f);
19053 copysignl(0.0l, 0.0l);
19054 erf(0.0);
19055 erff(0.0f);
19056 erfl(0.0l);
19057 erfc(0.0);
19058 erfcf(0.0f);
19059 erfcl(0.0l);
19060 exp2(0.0);
19061 exp2f(0.0f);
19062 exp2l(0.0l);
19063 expm1(0.0);
19064 expm1f(0.0f);
19065 expm1l(0.0l);
19066 fdim(0.0, 0.0);
19067 fdimf(0.0f, 0.0f);
19068 fdiml(0.0l, 0.0l);
19069 fma(0.0, 0.0, 0.0);
19070 fmaf(0.0f, 0.0f, 0.0f);
19071 fmal(0.0l, 0.0l, 0.0l);
19072 fmax(0.0, 0.0);
19073 fmaxf(0.0f, 0.0f);
19074 fmaxl(0.0l, 0.0l);
19075 fmin(0.0, 0.0);
19076 fminf(0.0f, 0.0f);
19077 fminl(0.0l, 0.0l);
19078 hypot(0.0, 0.0);
19079 hypotf(0.0f, 0.0f);
19080 hypotl(0.0l, 0.0l);
19081 ilogb(0.0);
19082 ilogbf(0.0f);
19083 ilogbl(0.0l);
19084 lgamma(0.0);
19085 lgammaf(0.0f);
19086 lgammal(0.0l);
19087 llrint(0.0);
19088 llrintf(0.0f);
19089 llrintl(0.0l);
19090 llround(0.0);
19091 llroundf(0.0f);
19092 llroundl(0.0l);
19093 log1p(0.0);
19094 log1pf(0.0f);
19095 log1pl(0.0l);
19096 log2(0.0);
19097 log2f(0.0f);
19098 log2l(0.0l);
19099 logb(0.0);
19100 logbf(0.0f);
19101 logbl(0.0l);
19102 lrint(0.0);
19103 lrintf(0.0f);
19104 lrintl(0.0l);
19105 lround(0.0);
19106 lroundf(0.0f);
19107 lroundl(0.0l);
19108 nan(0);
19109 nanf(0);
19110 nanl(0);
19111 nearbyint(0.0);
19112 nearbyintf(0.0f);
19113 nearbyintl(0.0l);
19114 nextafter(0.0, 0.0);
19115 nextafterf(0.0f, 0.0f);
19116 nextafterl(0.0l, 0.0l);
19117 nexttoward(0.0, 0.0);
19118 nexttowardf(0.0f, 0.0f);
19119 nexttowardl(0.0l, 0.0l);
19120 remainder(0.0, 0.0);
19121 remainderf(0.0f, 0.0f);
19122 remainderl(0.0l, 0.0l);
19123 remquo(0.0, 0.0, 0);
19124 remquof(0.0f, 0.0f, 0);
19125 remquol(0.0l, 0.0l, 0);
19126 rint(0.0);
19127 rintf(0.0f);
19128 rintl(0.0l);
19129 round(0.0);
19130 roundf(0.0f);
19131 roundl(0.0l);
19132 scalbln(0.0, 0l);
19133 scalblnf(0.0f, 0l);
19134 scalblnl(0.0l, 0l);
19135 scalbn(0.0, 0);
19136 scalbnf(0.0f, 0);
19137 scalbnl(0.0l, 0);
19138 tgamma(0.0);
19139 tgammaf(0.0f);
19140 tgammal(0.0l);
19141 trunc(0.0);
19142 truncf(0.0f);
19143 truncl(0.0l);
19146 return 0;
19148 _ACEOF
19149 if ac_fn_cxx_try_compile "$LINENO"; then :
19150 glibcxx_cv_c99_math_tr1=yes
19151 else
19152 glibcxx_cv_c99_math_tr1=no
19154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
19159 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
19160 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
19162 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
19166 # Check for the existence of <inttypes.h> functions (NB: doesn't make
19167 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19168 ac_c99_inttypes_tr1=no;
19169 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
19171 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19173 /* end confdefs.h. */
19174 #include <inttypes.h>
19176 main ()
19178 intmax_t i, numer, denom, base;
19179 const char* s;
19180 char** endptr;
19181 intmax_t ret = imaxabs(i);
19182 imaxdiv_t dret = imaxdiv(numer, denom);
19183 ret = strtoimax(s, endptr, base);
19184 uintmax_t uret = strtoumax(s, endptr, base);
19187 return 0;
19189 _ACEOF
19190 if ac_fn_cxx_try_compile "$LINENO"; then :
19191 ac_c99_inttypes_tr1=yes
19192 else
19193 ac_c99_inttypes_tr1=no
19195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
19198 $as_echo "$ac_c99_inttypes_tr1" >&6; }
19199 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
19201 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
19205 # Check for the existence of whcar_t <inttypes.h> functions (NB: doesn't
19206 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19207 ac_c99_inttypes_wchar_t_tr1=no;
19208 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
19210 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19212 /* end confdefs.h. */
19213 #include <inttypes.h>
19215 main ()
19217 intmax_t base;
19218 const wchar_t* s;
19219 wchar_t** endptr;
19220 intmax_t ret = wcstoimax(s, endptr, base);
19221 uintmax_t uret = wcstoumax(s, endptr, base);
19224 return 0;
19226 _ACEOF
19227 if ac_fn_cxx_try_compile "$LINENO"; then :
19228 ac_c99_inttypes_wchar_t_tr1=yes
19229 else
19230 ac_c99_inttypes_wchar_t_tr1=no
19232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
19235 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
19236 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
19238 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
19242 # Check for the existence of the <stdbool.h> header.
19243 for ac_header in stdbool.h
19244 do :
19245 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
19246 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
19247 cat >>confdefs.h <<_ACEOF
19248 #define HAVE_STDBOOL_H 1
19249 _ACEOF
19253 done
19256 # Check for the existence of the <stdalign.h> header.
19257 for ac_header in stdalign.h
19258 do :
19259 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
19260 if test "x$ac_cv_header_stdalign_h" = x""yes; then :
19261 cat >>confdefs.h <<_ACEOF
19262 #define HAVE_STDALIGN_H 1
19263 _ACEOF
19267 done
19270 CXXFLAGS="$ac_save_CXXFLAGS"
19271 ac_ext=c
19272 ac_cpp='$CPP $CPPFLAGS'
19273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19279 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
19282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
19283 $as_echo_n "checking for the value of EOF... " >&6; }
19284 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
19285 $as_echo_n "(cached) " >&6
19286 else
19288 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
19290 else
19291 as_fn_error "computing EOF failed" "$LINENO" 5
19296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
19297 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
19299 cat >>confdefs.h <<_ACEOF
19300 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
19301 _ACEOF
19304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
19305 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
19306 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
19307 $as_echo_n "(cached) " >&6
19308 else
19310 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
19312 else
19313 as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
19318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
19319 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
19321 cat >>confdefs.h <<_ACEOF
19322 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
19323 _ACEOF
19326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
19327 $as_echo_n "checking for the value of SEEK_END... " >&6; }
19328 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
19329 $as_echo_n "(cached) " >&6
19330 else
19332 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
19334 else
19335 as_fn_error "computing SEEK_END failed" "$LINENO" 5
19340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
19341 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
19343 cat >>confdefs.h <<_ACEOF
19344 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
19345 _ACEOF
19349 # For gettimeofday support.
19352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19353 $as_echo_n "checking for gettimeofday... " >&6; }
19356 ac_ext=cpp
19357 ac_cpp='$CXXCPP $CPPFLAGS'
19358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19362 ac_save_CXXFLAGS="$CXXFLAGS"
19363 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19365 ac_has_gettimeofday=no;
19366 for ac_header in sys/time.h
19367 do :
19368 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
19369 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
19370 cat >>confdefs.h <<_ACEOF
19371 #define HAVE_SYS_TIME_H 1
19372 _ACEOF
19373 ac_has_sys_time_h=yes
19374 else
19375 ac_has_sys_time_h=no
19378 done
19380 if test x"$ac_has_sys_time_h" = x"yes"; then
19381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19382 $as_echo_n "checking for gettimeofday... " >&6; }
19383 if test x$gcc_no_link = xyes; then
19384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19385 /* end confdefs.h. */
19386 #include <sys/time.h>
19388 main ()
19390 timeval tv; gettimeofday(&tv, 0);
19392 return 0;
19394 _ACEOF
19395 if ac_fn_cxx_try_compile "$LINENO"; then :
19396 ac_has_gettimeofday=yes
19397 else
19398 ac_has_gettimeofday=no
19400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19401 else
19402 if test x$gcc_no_link = xyes; then
19403 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19406 /* end confdefs.h. */
19407 #include <sys/time.h>
19409 main ()
19411 timeval tv; gettimeofday(&tv, 0);
19413 return 0;
19415 _ACEOF
19416 if ac_fn_cxx_try_link "$LINENO"; then :
19417 ac_has_gettimeofday=yes
19418 else
19419 ac_has_gettimeofday=no
19421 rm -f core conftest.err conftest.$ac_objext \
19422 conftest$ac_exeext conftest.$ac_ext
19425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
19426 $as_echo "$ac_has_gettimeofday" >&6; }
19429 if test x"$ac_has_gettimeofday" = x"yes"; then
19431 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
19435 CXXFLAGS="$ac_save_CXXFLAGS"
19436 ac_ext=c
19437 ac_cpp='$CPP $CPPFLAGS'
19438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19444 # For clock_gettime, nanosleep and sched_yield support.
19447 # Check whether --enable-libstdcxx-time was given.
19448 if test "${enable_libstdcxx_time+set}" = set; then :
19449 enableval=$enable_libstdcxx_time;
19450 case "$enableval" in
19451 yes|no|rt) ;;
19452 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
19453 esac
19455 else
19456 enable_libstdcxx_time=auto
19462 ac_ext=cpp
19463 ac_cpp='$CXXCPP $CPPFLAGS'
19464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19468 ac_save_CXXFLAGS="$CXXFLAGS"
19469 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19470 ac_save_LIBS="$LIBS"
19472 ac_has_clock_monotonic=no
19473 ac_has_clock_realtime=no
19474 ac_has_nanosleep=no
19475 ac_has_sched_yield=no
19477 if test x"$enable_libstdcxx_time" = x"auto"; then
19479 case "${target_os}" in
19480 cygwin*)
19481 ac_has_nanosleep=yes
19483 darwin*)
19484 ac_has_nanosleep=yes
19485 ac_has_sched_yield=yes
19487 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
19488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at least GNU libc 2.17" >&5
19489 $as_echo_n "checking for at least GNU libc 2.17... " >&6; }
19490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19491 /* end confdefs.h. */
19492 #include <features.h>
19494 main ()
19497 #if ! __GLIBC_PREREQ(2, 17)
19498 #error
19499 #endif
19502 return 0;
19504 _ACEOF
19505 if ac_fn_cxx_try_compile "$LINENO"; then :
19506 glibcxx_glibc217=yes
19507 else
19508 glibcxx_glibc217=no
19510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_glibc217" >&5
19512 $as_echo "$glibcxx_glibc217" >&6; }
19514 if test x"$glibcxx_glibc217" = x"yes"; then
19515 ac_has_clock_monotonic=yes
19516 ac_has_clock_realtime=yes
19518 ac_has_nanosleep=yes
19519 ac_has_sched_yield=yes
19521 freebsd*|netbsd*)
19522 ac_has_clock_monotonic=yes
19523 ac_has_clock_realtime=yes
19524 ac_has_nanosleep=yes
19525 ac_has_sched_yield=yes
19527 openbsd*)
19528 ac_has_clock_monotonic=yes
19529 ac_has_clock_realtime=yes
19530 ac_has_nanosleep=yes
19532 solaris*)
19533 GLIBCXX_LIBS="$GLIBCXX_LIBS -lrt"
19534 ac_has_clock_monotonic=yes
19535 ac_has_clock_realtime=yes
19536 ac_has_nanosleep=yes
19537 ac_has_sched_yield=yes
19539 esac
19541 elif test x"$enable_libstdcxx_time" != x"no"; then
19543 if test x"$enable_libstdcxx_time" = x"rt"; then
19544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19545 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19546 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19547 $as_echo_n "(cached) " >&6
19548 else
19549 ac_func_search_save_LIBS=$LIBS
19550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19551 /* end confdefs.h. */
19553 /* Override any GCC internal prototype to avoid an error.
19554 Use char because int might match the return type of a GCC
19555 builtin and then its argument prototype would still apply. */
19556 #ifdef __cplusplus
19557 extern "C"
19558 #endif
19559 char clock_gettime ();
19561 main ()
19563 return clock_gettime ();
19565 return 0;
19567 _ACEOF
19568 for ac_lib in '' rt posix4; do
19569 if test -z "$ac_lib"; then
19570 ac_res="none required"
19571 else
19572 ac_res=-l$ac_lib
19573 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19575 if test x$gcc_no_link = xyes; then
19576 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19578 if ac_fn_cxx_try_link "$LINENO"; then :
19579 ac_cv_search_clock_gettime=$ac_res
19581 rm -f core conftest.err conftest.$ac_objext \
19582 conftest$ac_exeext
19583 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19584 break
19586 done
19587 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19589 else
19590 ac_cv_search_clock_gettime=no
19592 rm conftest.$ac_ext
19593 LIBS=$ac_func_search_save_LIBS
19595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19596 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19597 ac_res=$ac_cv_search_clock_gettime
19598 if test "$ac_res" != no; then :
19599 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19604 $as_echo_n "checking for library containing nanosleep... " >&6; }
19605 if test "${ac_cv_search_nanosleep+set}" = set; then :
19606 $as_echo_n "(cached) " >&6
19607 else
19608 ac_func_search_save_LIBS=$LIBS
19609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19610 /* end confdefs.h. */
19612 /* Override any GCC internal prototype to avoid an error.
19613 Use char because int might match the return type of a GCC
19614 builtin and then its argument prototype would still apply. */
19615 #ifdef __cplusplus
19616 extern "C"
19617 #endif
19618 char nanosleep ();
19620 main ()
19622 return nanosleep ();
19624 return 0;
19626 _ACEOF
19627 for ac_lib in '' rt posix4; do
19628 if test -z "$ac_lib"; then
19629 ac_res="none required"
19630 else
19631 ac_res=-l$ac_lib
19632 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19634 if test x$gcc_no_link = xyes; then
19635 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19637 if ac_fn_cxx_try_link "$LINENO"; then :
19638 ac_cv_search_nanosleep=$ac_res
19640 rm -f core conftest.err conftest.$ac_objext \
19641 conftest$ac_exeext
19642 if test "${ac_cv_search_nanosleep+set}" = set; then :
19643 break
19645 done
19646 if test "${ac_cv_search_nanosleep+set}" = set; then :
19648 else
19649 ac_cv_search_nanosleep=no
19651 rm conftest.$ac_ext
19652 LIBS=$ac_func_search_save_LIBS
19654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19655 $as_echo "$ac_cv_search_nanosleep" >&6; }
19656 ac_res=$ac_cv_search_nanosleep
19657 if test "$ac_res" != no; then :
19658 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19662 else
19663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19664 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19665 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19666 $as_echo_n "(cached) " >&6
19667 else
19668 ac_func_search_save_LIBS=$LIBS
19669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19670 /* end confdefs.h. */
19672 /* Override any GCC internal prototype to avoid an error.
19673 Use char because int might match the return type of a GCC
19674 builtin and then its argument prototype would still apply. */
19675 #ifdef __cplusplus
19676 extern "C"
19677 #endif
19678 char clock_gettime ();
19680 main ()
19682 return clock_gettime ();
19684 return 0;
19686 _ACEOF
19687 for ac_lib in '' posix4; do
19688 if test -z "$ac_lib"; then
19689 ac_res="none required"
19690 else
19691 ac_res=-l$ac_lib
19692 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19694 if test x$gcc_no_link = xyes; then
19695 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19697 if ac_fn_cxx_try_link "$LINENO"; then :
19698 ac_cv_search_clock_gettime=$ac_res
19700 rm -f core conftest.err conftest.$ac_objext \
19701 conftest$ac_exeext
19702 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19703 break
19705 done
19706 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19708 else
19709 ac_cv_search_clock_gettime=no
19711 rm conftest.$ac_ext
19712 LIBS=$ac_func_search_save_LIBS
19714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19715 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19716 ac_res=$ac_cv_search_clock_gettime
19717 if test "$ac_res" != no; then :
19718 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19723 $as_echo_n "checking for library containing nanosleep... " >&6; }
19724 if test "${ac_cv_search_nanosleep+set}" = set; then :
19725 $as_echo_n "(cached) " >&6
19726 else
19727 ac_func_search_save_LIBS=$LIBS
19728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19729 /* end confdefs.h. */
19731 /* Override any GCC internal prototype to avoid an error.
19732 Use char because int might match the return type of a GCC
19733 builtin and then its argument prototype would still apply. */
19734 #ifdef __cplusplus
19735 extern "C"
19736 #endif
19737 char nanosleep ();
19739 main ()
19741 return nanosleep ();
19743 return 0;
19745 _ACEOF
19746 for ac_lib in '' posix4; do
19747 if test -z "$ac_lib"; then
19748 ac_res="none required"
19749 else
19750 ac_res=-l$ac_lib
19751 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19753 if test x$gcc_no_link = xyes; then
19754 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19756 if ac_fn_cxx_try_link "$LINENO"; then :
19757 ac_cv_search_nanosleep=$ac_res
19759 rm -f core conftest.err conftest.$ac_objext \
19760 conftest$ac_exeext
19761 if test "${ac_cv_search_nanosleep+set}" = set; then :
19762 break
19764 done
19765 if test "${ac_cv_search_nanosleep+set}" = set; then :
19767 else
19768 ac_cv_search_nanosleep=no
19770 rm conftest.$ac_ext
19771 LIBS=$ac_func_search_save_LIBS
19773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19774 $as_echo "$ac_cv_search_nanosleep" >&6; }
19775 ac_res=$ac_cv_search_nanosleep
19776 if test "$ac_res" != no; then :
19777 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19783 case "$ac_cv_search_clock_gettime" in
19784 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
19786 esac
19787 case "$ac_cv_search_nanosleep" in
19788 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
19790 esac
19792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
19793 $as_echo_n "checking for library containing sched_yield... " >&6; }
19794 if test "${ac_cv_search_sched_yield+set}" = set; then :
19795 $as_echo_n "(cached) " >&6
19796 else
19797 ac_func_search_save_LIBS=$LIBS
19798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19799 /* end confdefs.h. */
19801 /* Override any GCC internal prototype to avoid an error.
19802 Use char because int might match the return type of a GCC
19803 builtin and then its argument prototype would still apply. */
19804 #ifdef __cplusplus
19805 extern "C"
19806 #endif
19807 char sched_yield ();
19809 main ()
19811 return sched_yield ();
19813 return 0;
19815 _ACEOF
19816 for ac_lib in '' rt posix4; do
19817 if test -z "$ac_lib"; then
19818 ac_res="none required"
19819 else
19820 ac_res=-l$ac_lib
19821 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19823 if test x$gcc_no_link = xyes; then
19824 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19826 if ac_fn_cxx_try_link "$LINENO"; then :
19827 ac_cv_search_sched_yield=$ac_res
19829 rm -f core conftest.err conftest.$ac_objext \
19830 conftest$ac_exeext
19831 if test "${ac_cv_search_sched_yield+set}" = set; then :
19832 break
19834 done
19835 if test "${ac_cv_search_sched_yield+set}" = set; then :
19837 else
19838 ac_cv_search_sched_yield=no
19840 rm conftest.$ac_ext
19841 LIBS=$ac_func_search_save_LIBS
19843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
19844 $as_echo "$ac_cv_search_sched_yield" >&6; }
19845 ac_res=$ac_cv_search_sched_yield
19846 if test "$ac_res" != no; then :
19847 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19852 case "$ac_cv_search_sched_yield" in
19853 -lposix4*)
19854 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19855 ac_has_sched_yield=yes
19857 -lrt*)
19858 if test x"$enable_libstdcxx_time" = x"rt"; then
19859 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19860 ac_has_sched_yield=yes
19864 ac_has_sched_yield=yes
19866 esac
19868 for ac_header in unistd.h
19869 do :
19870 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19871 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19872 cat >>confdefs.h <<_ACEOF
19873 #define HAVE_UNISTD_H 1
19874 _ACEOF
19875 ac_has_unistd_h=yes
19876 else
19877 ac_has_unistd_h=no
19880 done
19883 if test x"$ac_has_unistd_h" = x"yes"; then
19884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
19885 $as_echo_n "checking for monotonic clock... " >&6; }
19886 if test x$gcc_no_link = xyes; then
19887 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19890 /* end confdefs.h. */
19891 #include <unistd.h>
19892 #include <time.h>
19895 main ()
19897 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19898 timespec tp;
19899 #endif
19900 clock_gettime(CLOCK_MONOTONIC, &tp);
19903 return 0;
19905 _ACEOF
19906 if ac_fn_cxx_try_link "$LINENO"; then :
19907 ac_has_clock_monotonic=yes
19908 else
19909 ac_has_clock_monotonic=no
19911 rm -f core conftest.err conftest.$ac_objext \
19912 conftest$ac_exeext conftest.$ac_ext
19914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
19915 $as_echo "$ac_has_clock_monotonic" >&6; }
19917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
19918 $as_echo_n "checking for realtime clock... " >&6; }
19919 if test x$gcc_no_link = xyes; then
19920 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19923 /* end confdefs.h. */
19924 #include <unistd.h>
19925 #include <time.h>
19928 main ()
19930 #if _POSIX_TIMERS > 0
19931 timespec tp;
19932 #endif
19933 clock_gettime(CLOCK_REALTIME, &tp);
19936 return 0;
19938 _ACEOF
19939 if ac_fn_cxx_try_link "$LINENO"; then :
19940 ac_has_clock_realtime=yes
19941 else
19942 ac_has_clock_realtime=no
19944 rm -f core conftest.err conftest.$ac_objext \
19945 conftest$ac_exeext conftest.$ac_ext
19947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
19948 $as_echo "$ac_has_clock_realtime" >&6; }
19950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
19951 $as_echo_n "checking for nanosleep... " >&6; }
19952 if test x$gcc_no_link = xyes; then
19953 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19956 /* end confdefs.h. */
19957 #include <unistd.h>
19958 #include <time.h>
19961 main ()
19963 #if _POSIX_TIMERS > 0
19964 timespec tp;
19965 #endif
19966 nanosleep(&tp, 0);
19969 return 0;
19971 _ACEOF
19972 if ac_fn_cxx_try_link "$LINENO"; then :
19973 ac_has_nanosleep=yes
19974 else
19975 ac_has_nanosleep=no
19977 rm -f core conftest.err conftest.$ac_objext \
19978 conftest$ac_exeext conftest.$ac_ext
19980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
19981 $as_echo "$ac_has_nanosleep" >&6; }
19985 if test x"$ac_has_clock_monotonic" != x"yes"; then
19986 case ${target_os} in
19987 linux*)
19988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
19989 $as_echo_n "checking for clock_gettime syscall... " >&6; }
19990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19991 /* end confdefs.h. */
19992 #include <unistd.h>
19993 #include <time.h>
19994 #include <sys/syscall.h>
19997 main ()
19999 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
20000 timespec tp;
20001 #endif
20002 syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
20003 syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
20006 return 0;
20008 _ACEOF
20009 if ac_fn_cxx_try_compile "$LINENO"; then :
20010 ac_has_clock_monotonic_syscall=yes
20011 else
20012 ac_has_clock_monotonic_syscall=no
20014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic_syscall" >&5
20016 $as_echo "$ac_has_clock_monotonic_syscall" >&6; }
20017 if test x"$ac_has_clock_monotonic_syscall" = x"yes"; then
20019 $as_echo "#define _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL 1" >>confdefs.h
20021 ac_has_clock_monotonic=yes
20022 ac_has_clock_realtime=yes
20023 fi;;
20024 esac
20027 if test x"$ac_has_clock_monotonic" = x"yes"; then
20029 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
20033 if test x"$ac_has_clock_realtime" = x"yes"; then
20035 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
20039 if test x"$ac_has_sched_yield" = x"yes"; then
20041 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
20045 if test x"$ac_has_nanosleep" = x"yes"; then
20047 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
20049 else
20050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
20051 $as_echo_n "checking for sleep... " >&6; }
20052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20053 /* end confdefs.h. */
20054 #include <unistd.h>
20056 main ()
20058 sleep(1)
20060 return 0;
20062 _ACEOF
20063 if ac_fn_cxx_try_compile "$LINENO"; then :
20064 ac_has_sleep=yes
20065 else
20066 ac_has_sleep=no
20068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20069 if test x"$ac_has_sleep" = x"yes"; then
20071 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
20074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
20075 $as_echo "$ac_has_sleep" >&6; }
20076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
20077 $as_echo_n "checking for usleep... " >&6; }
20078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20079 /* end confdefs.h. */
20080 #include <unistd.h>
20082 main ()
20084 sleep(1);
20085 usleep(100);
20087 return 0;
20089 _ACEOF
20090 if ac_fn_cxx_try_compile "$LINENO"; then :
20091 ac_has_usleep=yes
20092 else
20093 ac_has_usleep=no
20095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20096 if test x"$ac_has_usleep" = x"yes"; then
20098 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
20101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
20102 $as_echo "$ac_has_usleep" >&6; }
20105 if test x"$ac_has_nanosleep$ac_has_sleep" = x"nono"; then
20106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sleep" >&5
20107 $as_echo_n "checking for Sleep... " >&6; }
20108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20109 /* end confdefs.h. */
20110 #include <windows.h>
20112 main ()
20114 Sleep(1)
20116 return 0;
20118 _ACEOF
20119 if ac_fn_cxx_try_compile "$LINENO"; then :
20120 ac_has_win32_sleep=yes
20121 else
20122 ac_has_win32_sleep=no
20124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20125 if test x"$ac_has_win32_sleep" = x"yes"; then
20127 $as_echo "#define HAVE_WIN32_SLEEP 1" >>confdefs.h
20130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_win32_sleep" >&5
20131 $as_echo "$ac_has_win32_sleep" >&6; }
20136 CXXFLAGS="$ac_save_CXXFLAGS"
20137 LIBS="$ac_save_LIBS"
20138 ac_ext=c
20139 ac_cpp='$CPP $CPPFLAGS'
20140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20146 # Check for tmpnam which is obsolescent in POSIX.1-2008
20148 ac_ext=cpp
20149 ac_cpp='$CXXCPP $CPPFLAGS'
20150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20154 ac_save_CXXFLAGS="$CXXFLAGS"
20155 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tmpnam" >&5
20157 $as_echo_n "checking for tmpnam... " >&6; }
20158 if test "${glibcxx_cv_TMPNAM+set}" = set; then :
20159 $as_echo_n "(cached) " >&6
20160 else
20161 if test x$gcc_no_link = xyes; then
20162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20163 /* end confdefs.h. */
20164 #include <stdio.h>
20166 main ()
20168 char *tmp = tmpnam(NULL);
20170 return 0;
20172 _ACEOF
20173 if ac_fn_cxx_try_compile "$LINENO"; then :
20174 glibcxx_cv_TMPNAM=yes
20175 else
20176 glibcxx_cv_TMPNAM=no
20178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20179 else
20180 if test x$gcc_no_link = xyes; then
20181 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20184 /* end confdefs.h. */
20185 #include <stdio.h>
20187 main ()
20189 char *tmp = tmpnam(NULL);
20191 return 0;
20193 _ACEOF
20194 if ac_fn_cxx_try_link "$LINENO"; then :
20195 glibcxx_cv_TMPNAM=yes
20196 else
20197 glibcxx_cv_TMPNAM=no
20199 rm -f core conftest.err conftest.$ac_objext \
20200 conftest$ac_exeext conftest.$ac_ext
20205 if test $glibcxx_cv_TMPNAM = yes; then
20207 $as_echo "#define _GLIBCXX_USE_TMPNAM 1" >>confdefs.h
20210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_TMPNAM" >&5
20211 $as_echo "$glibcxx_cv_TMPNAM" >&6; }
20212 CXXFLAGS="$ac_save_CXXFLAGS"
20213 ac_ext=c
20214 ac_cpp='$CPP $CPPFLAGS'
20215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20222 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
20223 if test "x$ac_cv_header_locale_h" = x""yes; then :
20225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
20226 $as_echo_n "checking for LC_MESSAGES... " >&6; }
20227 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
20228 $as_echo_n "(cached) " >&6
20229 else
20230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20231 /* end confdefs.h. */
20232 #include <locale.h>
20234 main ()
20236 return LC_MESSAGES
20238 return 0;
20240 _ACEOF
20241 if ac_fn_c_try_compile "$LINENO"; then :
20242 ac_cv_val_LC_MESSAGES=yes
20243 else
20244 ac_cv_val_LC_MESSAGES=no
20246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
20249 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
20250 if test $ac_cv_val_LC_MESSAGES = yes; then
20252 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
20261 # For hardware_concurrency
20262 for ac_header in sys/sysinfo.h
20263 do :
20264 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
20265 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
20266 cat >>confdefs.h <<_ACEOF
20267 #define HAVE_SYS_SYSINFO_H 1
20268 _ACEOF
20272 done
20277 ac_ext=cpp
20278 ac_cpp='$CXXCPP $CPPFLAGS'
20279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20283 ac_save_CXXFLAGS="$CXXFLAGS"
20284 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
20287 $as_echo_n "checking for get_nprocs... " >&6; }
20288 if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
20289 $as_echo_n "(cached) " >&6
20290 else
20292 if test x$gcc_no_link = xyes; then
20293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20294 /* end confdefs.h. */
20295 #include <sys/sysinfo.h>
20297 main ()
20299 int n = get_nprocs();
20301 return 0;
20303 _ACEOF
20304 if ac_fn_cxx_try_compile "$LINENO"; then :
20305 glibcxx_cv_GET_NPROCS=yes
20306 else
20307 glibcxx_cv_GET_NPROCS=no
20309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20310 else
20311 if test x$gcc_no_link = xyes; then
20312 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20315 /* end confdefs.h. */
20316 #include <sys/sysinfo.h>
20318 main ()
20320 int n = get_nprocs();
20322 return 0;
20324 _ACEOF
20325 if ac_fn_cxx_try_link "$LINENO"; then :
20326 glibcxx_cv_GET_NPROCS=yes
20327 else
20328 glibcxx_cv_GET_NPROCS=no
20330 rm -f core conftest.err conftest.$ac_objext \
20331 conftest$ac_exeext conftest.$ac_ext
20336 if test $glibcxx_cv_GET_NPROCS = yes; then
20338 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
20341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
20342 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
20344 CXXFLAGS="$ac_save_CXXFLAGS"
20345 ac_ext=c
20346 ac_cpp='$CPP $CPPFLAGS'
20347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20352 for ac_header in unistd.h
20353 do :
20354 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20355 if test "x$ac_cv_header_unistd_h" = x""yes; then :
20356 cat >>confdefs.h <<_ACEOF
20357 #define HAVE_UNISTD_H 1
20358 _ACEOF
20362 done
20367 ac_ext=cpp
20368 ac_cpp='$CXXCPP $CPPFLAGS'
20369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20373 ac_save_CXXFLAGS="$CXXFLAGS"
20374 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
20377 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
20378 if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
20379 $as_echo_n "(cached) " >&6
20380 else
20382 if test x$gcc_no_link = xyes; then
20383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20384 /* end confdefs.h. */
20385 #include <unistd.h>
20387 main ()
20389 int n = sysconf(_SC_NPROCESSORS_ONLN);
20391 return 0;
20393 _ACEOF
20394 if ac_fn_cxx_try_compile "$LINENO"; then :
20395 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20396 else
20397 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20400 else
20401 if test x$gcc_no_link = xyes; then
20402 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20405 /* end confdefs.h. */
20406 #include <unistd.h>
20408 main ()
20410 int n = sysconf(_SC_NPROCESSORS_ONLN);
20412 return 0;
20414 _ACEOF
20415 if ac_fn_cxx_try_link "$LINENO"; then :
20416 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20417 else
20418 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20420 rm -f core conftest.err conftest.$ac_objext \
20421 conftest$ac_exeext conftest.$ac_ext
20426 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
20428 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
20431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
20432 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
20434 CXXFLAGS="$ac_save_CXXFLAGS"
20435 ac_ext=c
20436 ac_cpp='$CPP $CPPFLAGS'
20437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20445 ac_ext=cpp
20446 ac_cpp='$CXXCPP $CPPFLAGS'
20447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20451 ac_save_CXXFLAGS="$CXXFLAGS"
20452 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
20455 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
20456 if test "${glibcxx_cv_SC_NPROC_ONLN+set}" = set; then :
20457 $as_echo_n "(cached) " >&6
20458 else
20460 if test x$gcc_no_link = xyes; then
20461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20462 /* end confdefs.h. */
20463 #include <unistd.h>
20465 main ()
20467 int n = sysconf(_SC_NPROC_ONLN);
20469 return 0;
20471 _ACEOF
20472 if ac_fn_cxx_try_compile "$LINENO"; then :
20473 glibcxx_cv_SC_NPROC_ONLN=yes
20474 else
20475 glibcxx_cv_SC_NPROC_ONLN=no
20477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20478 else
20479 if test x$gcc_no_link = xyes; then
20480 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20483 /* end confdefs.h. */
20484 #include <unistd.h>
20486 main ()
20488 int n = sysconf(_SC_NPROC_ONLN);
20490 return 0;
20492 _ACEOF
20493 if ac_fn_cxx_try_link "$LINENO"; then :
20494 glibcxx_cv_SC_NPROC_ONLN=yes
20495 else
20496 glibcxx_cv_SC_NPROC_ONLN=no
20498 rm -f core conftest.err conftest.$ac_objext \
20499 conftest$ac_exeext conftest.$ac_ext
20504 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
20506 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
20509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
20510 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
20512 CXXFLAGS="$ac_save_CXXFLAGS"
20513 ac_ext=c
20514 ac_cpp='$CPP $CPPFLAGS'
20515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20523 ac_ext=cpp
20524 ac_cpp='$CXXCPP $CPPFLAGS'
20525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20529 ac_save_CXXFLAGS="$CXXFLAGS"
20530 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
20533 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
20534 if test "${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+set}" = set; then :
20535 $as_echo_n "(cached) " >&6
20536 else
20538 if test x$gcc_no_link = xyes; then
20539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20540 /* end confdefs.h. */
20541 #include <pthread.h>
20543 main ()
20545 int n = pthread_num_processors_np();
20547 return 0;
20549 _ACEOF
20550 if ac_fn_cxx_try_compile "$LINENO"; then :
20551 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20552 else
20553 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20556 else
20557 if test x$gcc_no_link = xyes; then
20558 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20561 /* end confdefs.h. */
20562 #include <pthread.h>
20564 main ()
20566 int n = pthread_num_processors_np();
20568 return 0;
20570 _ACEOF
20571 if ac_fn_cxx_try_link "$LINENO"; then :
20572 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20573 else
20574 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20576 rm -f core conftest.err conftest.$ac_objext \
20577 conftest$ac_exeext conftest.$ac_ext
20582 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
20584 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
20587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
20588 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
20590 CXXFLAGS="$ac_save_CXXFLAGS"
20591 ac_ext=c
20592 ac_cpp='$CPP $CPPFLAGS'
20593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20601 ac_ext=cpp
20602 ac_cpp='$CXXCPP $CPPFLAGS'
20603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20607 ac_save_CXXFLAGS="$CXXFLAGS"
20608 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
20611 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
20612 if test "${glibcxx_cv_SYSCTL_HW_NCPU+set}" = set; then :
20613 $as_echo_n "(cached) " >&6
20614 else
20616 if test x$gcc_no_link = xyes; then
20617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20618 /* end confdefs.h. */
20620 #include <stddef.h>
20621 #include <sys/sysctl.h>
20624 main ()
20627 int count;
20628 size_t size = sizeof(count);
20629 int mib[] = { CTL_HW, HW_NCPU };
20630 sysctl(mib, 2, &count, &size, NULL, 0);
20633 return 0;
20635 _ACEOF
20636 if ac_fn_cxx_try_compile "$LINENO"; then :
20637 glibcxx_cv_SYSCTL_HW_NCPU=yes
20638 else
20639 glibcxx_cv_SYSCTL_HW_NCPU=no
20641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20642 else
20643 if test x$gcc_no_link = xyes; then
20644 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20647 /* end confdefs.h. */
20649 #include <stddef.h>
20650 #include <sys/sysctl.h>
20653 main ()
20656 int count;
20657 size_t size = sizeof(count);
20658 int mib[] = { CTL_HW, HW_NCPU };
20659 sysctl(mib, 2, &count, &size, NULL, 0);
20662 return 0;
20664 _ACEOF
20665 if ac_fn_cxx_try_link "$LINENO"; then :
20666 glibcxx_cv_SYSCTL_HW_NCPU=yes
20667 else
20668 glibcxx_cv_SYSCTL_HW_NCPU=no
20670 rm -f core conftest.err conftest.$ac_objext \
20671 conftest$ac_exeext conftest.$ac_ext
20676 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
20678 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
20681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
20682 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
20684 CXXFLAGS="$ac_save_CXXFLAGS"
20685 ac_ext=c
20686 ac_cpp='$CPP $CPPFLAGS'
20687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suitable sys/sdt.h" >&5
20694 $as_echo_n "checking for suitable sys/sdt.h... " >&6; }
20695 # Note that this test has to be run with the C language.
20696 # Otherwise, sdt.h will try to include some headers from
20697 # libstdc++ itself.
20699 ac_ext=c
20700 ac_cpp='$CPP $CPPFLAGS'
20701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20705 if test "${glibcxx_cv_sys_sdt_h+set}" = set; then :
20706 $as_echo_n "(cached) " >&6
20707 else
20709 # Because we have to run the test in C, we use grep rather
20710 # than the compiler to check for the bug. The bug is that
20711 # were strings without trailing whitespace, causing g++
20712 # to look for operator"". The pattern searches for the fixed
20713 # output.
20714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20715 /* end confdefs.h. */
20717 #include <sys/sdt.h>
20718 int f() { STAP_PROBE(hi, bob); }
20720 _ACEOF
20721 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20722 $EGREP " \",\" " >/dev/null 2>&1; then :
20723 glibcxx_cv_sys_sdt_h=yes
20724 else
20725 glibcxx_cv_sys_sdt_h=no
20727 rm -f conftest*
20732 ac_ext=c
20733 ac_cpp='$CPP $CPPFLAGS'
20734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20738 if test $glibcxx_cv_sys_sdt_h = yes; then
20740 $as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
20743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
20744 $as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
20747 # Check for available headers.
20748 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
20749 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
20750 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
20751 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
20752 wchar.h wctype.h
20753 do :
20754 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20755 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20756 eval as_val=\$$as_ac_Header
20757 if test "x$as_val" = x""yes; then :
20758 cat >>confdefs.h <<_ACEOF
20759 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20760 _ACEOF
20764 done
20767 # Only do link tests if native. Else, hardcode.
20768 if $GLIBCXX_IS_NATIVE; then
20770 # We can do more elaborate tests that assume a working linker.
20771 CANADIAN=no
20775 # Check whether --with-gnu-ld was given.
20776 if test "${with_gnu_ld+set}" = set; then :
20777 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
20778 else
20779 with_gnu_ld=no
20782 ac_prog=ld
20783 if test "$GCC" = yes; then
20784 # Check if gcc -print-prog-name=ld gives a path.
20785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
20786 $as_echo_n "checking for ld used by $CC... " >&6; }
20787 case $host in
20788 *-*-mingw*)
20789 # gcc leaves a trailing carriage return which upsets mingw
20790 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
20792 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
20793 esac
20794 case $ac_prog in
20795 # Accept absolute paths.
20796 [\\/]* | ?:[\\/]*)
20797 re_direlt='/[^/][^/]*/\.\./'
20798 # Canonicalize the pathname of ld
20799 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
20800 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
20801 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
20802 done
20803 test -z "$LD" && LD="$ac_prog"
20806 # If it fails, then pretend we aren't using GCC.
20807 ac_prog=ld
20810 # If it is relative, then search for the first ld in PATH.
20811 with_gnu_ld=unknown
20813 esac
20814 elif test "$with_gnu_ld" = yes; then
20815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
20816 $as_echo_n "checking for GNU ld... " >&6; }
20817 else
20818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
20819 $as_echo_n "checking for non-GNU ld... " >&6; }
20821 if test "${lt_cv_path_LD+set}" = set; then :
20822 $as_echo_n "(cached) " >&6
20823 else
20824 if test -z "$LD"; then
20825 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
20826 for ac_dir in $PATH; do
20827 IFS="$lt_save_ifs"
20828 test -z "$ac_dir" && ac_dir=.
20829 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
20830 lt_cv_path_LD="$ac_dir/$ac_prog"
20831 # Check to see if the program is GNU ld. I'd rather use --version,
20832 # but apparently some variants of GNU ld only accept -v.
20833 # Break only if it was the GNU/non-GNU ld that we prefer.
20834 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
20835 *GNU* | *'with BFD'*)
20836 test "$with_gnu_ld" != no && break
20839 test "$with_gnu_ld" != yes && break
20841 esac
20843 done
20844 IFS="$lt_save_ifs"
20845 else
20846 lt_cv_path_LD="$LD" # Let the user override the test with a path.
20850 LD="$lt_cv_path_LD"
20851 if test -n "$LD"; then
20852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
20853 $as_echo "$LD" >&6; }
20854 else
20855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20856 $as_echo "no" >&6; }
20858 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
20859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
20860 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
20861 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
20862 $as_echo_n "(cached) " >&6
20863 else
20864 # I'd rather use --version here, but apparently some GNU lds only accept -v.
20865 case `$LD -v 2>&1 </dev/null` in
20866 *GNU* | *'with BFD'*)
20867 lt_cv_prog_gnu_ld=yes
20870 lt_cv_prog_gnu_ld=no
20872 esac
20874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
20875 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
20876 with_gnu_ld=$lt_cv_prog_gnu_ld
20884 # If we're not using GNU ld, then there's no point in even trying these
20885 # tests. Check for that first. We should have already tested for gld
20886 # by now (in libtool), but require it now just to be safe...
20887 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
20888 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
20892 # The name set by libtool depends on the version of libtool. Shame on us
20893 # for depending on an impl detail, but c'est la vie. Older versions used
20894 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
20895 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
20896 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
20897 # set (hence we're using an older libtool), then set it.
20898 if test x${with_gnu_ld+set} != xset; then
20899 if test x${ac_cv_prog_gnu_ld+set} != xset; then
20900 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
20901 with_gnu_ld=no
20902 else
20903 with_gnu_ld=$ac_cv_prog_gnu_ld
20907 # Start by getting the version number. I think the libtool test already
20908 # does some of this, but throws away the result.
20909 glibcxx_ld_is_gold=no
20910 if test x"$with_gnu_ld" = x"yes"; then
20911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
20912 $as_echo_n "checking for ld version... " >&6; }
20914 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
20915 glibcxx_ld_is_gold=yes
20917 ldver=`$LD --version 2>/dev/null |
20918 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'`
20920 glibcxx_gnu_ld_version=`echo $ldver | \
20921 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
20922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
20923 $as_echo "$glibcxx_gnu_ld_version" >&6; }
20926 # Set --gc-sections.
20927 glibcxx_have_gc_sections=no
20928 if test "$glibcxx_ld_is_gold" = "yes"; then
20929 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
20930 glibcxx_have_gc_sections=yes
20932 else
20933 glibcxx_gcsections_min_ld=21602
20934 if test x"$with_gnu_ld" = x"yes" &&
20935 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
20936 glibcxx_have_gc_sections=yes
20939 if test "$glibcxx_have_gc_sections" = "yes"; then
20940 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
20941 # NB: This flag only works reliably after 2.16.1. Configure tests
20942 # for this are difficult, so hard wire a value that should work.
20944 ac_test_CFLAGS="${CFLAGS+set}"
20945 ac_save_CFLAGS="$CFLAGS"
20946 CFLAGS='-Wl,--gc-sections'
20948 # Check for -Wl,--gc-sections
20949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
20950 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
20951 if test x$gcc_no_link = xyes; then
20952 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20955 /* end confdefs.h. */
20956 int one(void) { return 1; }
20957 int two(void) { return 2; }
20960 main ()
20962 two();
20964 return 0;
20966 _ACEOF
20967 if ac_fn_c_try_link "$LINENO"; then :
20968 ac_gcsections=yes
20969 else
20970 ac_gcsections=no
20972 rm -f core conftest.err conftest.$ac_objext \
20973 conftest$ac_exeext conftest.$ac_ext
20974 if test "$ac_gcsections" = "yes"; then
20975 rm -f conftest.c
20976 touch conftest.c
20977 if $CC -c conftest.c; then
20978 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
20979 grep "Warning: gc-sections option ignored" > /dev/null; then
20980 ac_gcsections=no
20983 rm -f conftest.c conftest.o conftest
20985 if test "$ac_gcsections" = "yes"; then
20986 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
20988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
20989 $as_echo "$ac_gcsections" >&6; }
20991 if test "$ac_test_CFLAGS" = set; then
20992 CFLAGS="$ac_save_CFLAGS"
20993 else
20994 # this is the suspicious part
20995 CFLAGS=''
20999 # Set -z,relro.
21000 # Note this is only for shared objects.
21001 ac_ld_relro=no
21002 if test x"$with_gnu_ld" = x"yes"; then
21003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
21004 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
21005 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
21006 if test -n "$cxx_z_relo"; then
21007 OPT_LDFLAGS="-Wl,-z,relro"
21008 ac_ld_relro=yes
21010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
21011 $as_echo "$ac_ld_relro" >&6; }
21014 # Set linker optimization flags.
21015 if test x"$with_gnu_ld" = x"yes"; then
21016 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
21023 ac_test_CXXFLAGS="${CXXFLAGS+set}"
21024 ac_save_CXXFLAGS="$CXXFLAGS"
21025 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
21027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
21028 $as_echo_n "checking for sin in -lm... " >&6; }
21029 if test "${ac_cv_lib_m_sin+set}" = set; then :
21030 $as_echo_n "(cached) " >&6
21031 else
21032 ac_check_lib_save_LIBS=$LIBS
21033 LIBS="-lm $LIBS"
21034 if test x$gcc_no_link = xyes; then
21035 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21038 /* end confdefs.h. */
21040 /* Override any GCC internal prototype to avoid an error.
21041 Use char because int might match the return type of a GCC
21042 builtin and then its argument prototype would still apply. */
21043 #ifdef __cplusplus
21044 extern "C"
21045 #endif
21046 char sin ();
21048 main ()
21050 return sin ();
21052 return 0;
21054 _ACEOF
21055 if ac_fn_c_try_link "$LINENO"; then :
21056 ac_cv_lib_m_sin=yes
21057 else
21058 ac_cv_lib_m_sin=no
21060 rm -f core conftest.err conftest.$ac_objext \
21061 conftest$ac_exeext conftest.$ac_ext
21062 LIBS=$ac_check_lib_save_LIBS
21064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
21065 $as_echo "$ac_cv_lib_m_sin" >&6; }
21066 if test "x$ac_cv_lib_m_sin" = x""yes; then :
21067 libm="-lm"
21070 ac_save_LIBS="$LIBS"
21071 LIBS="$LIBS $libm"
21075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
21076 $as_echo_n "checking for isinf declaration... " >&6; }
21077 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
21078 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
21079 $as_echo_n "(cached) " >&6
21080 else
21083 ac_ext=cpp
21084 ac_cpp='$CXXCPP $CPPFLAGS'
21085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21090 /* end confdefs.h. */
21091 #include <math.h>
21092 #ifdef HAVE_IEEEFP_H
21093 #include <ieeefp.h>
21094 #endif
21097 main ()
21099 isinf(0);
21101 return 0;
21103 _ACEOF
21104 if ac_fn_cxx_try_compile "$LINENO"; then :
21105 glibcxx_cv_func_isinf_use=yes
21106 else
21107 glibcxx_cv_func_isinf_use=no
21109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21110 ac_ext=c
21111 ac_cpp='$CPP $CPPFLAGS'
21112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
21121 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
21123 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
21124 for ac_func in isinf
21125 do :
21126 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
21127 if test "x$ac_cv_func_isinf" = x""yes; then :
21128 cat >>confdefs.h <<_ACEOF
21129 #define HAVE_ISINF 1
21130 _ACEOF
21133 done
21135 else
21137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
21138 $as_echo_n "checking for _isinf declaration... " >&6; }
21139 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
21140 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
21141 $as_echo_n "(cached) " >&6
21142 else
21145 ac_ext=cpp
21146 ac_cpp='$CXXCPP $CPPFLAGS'
21147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21152 /* end confdefs.h. */
21153 #include <math.h>
21154 #ifdef HAVE_IEEEFP_H
21155 #include <ieeefp.h>
21156 #endif
21159 main ()
21161 _isinf(0);
21163 return 0;
21165 _ACEOF
21166 if ac_fn_cxx_try_compile "$LINENO"; then :
21167 glibcxx_cv_func__isinf_use=yes
21168 else
21169 glibcxx_cv_func__isinf_use=no
21171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21172 ac_ext=c
21173 ac_cpp='$CPP $CPPFLAGS'
21174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
21183 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
21185 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
21186 for ac_func in _isinf
21187 do :
21188 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
21189 if test "x$ac_cv_func__isinf" = x""yes; then :
21190 cat >>confdefs.h <<_ACEOF
21191 #define HAVE__ISINF 1
21192 _ACEOF
21195 done
21204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
21205 $as_echo_n "checking for isnan declaration... " >&6; }
21206 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
21207 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
21208 $as_echo_n "(cached) " >&6
21209 else
21212 ac_ext=cpp
21213 ac_cpp='$CXXCPP $CPPFLAGS'
21214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21219 /* end confdefs.h. */
21220 #include <math.h>
21221 #ifdef HAVE_IEEEFP_H
21222 #include <ieeefp.h>
21223 #endif
21226 main ()
21228 isnan(0);
21230 return 0;
21232 _ACEOF
21233 if ac_fn_cxx_try_compile "$LINENO"; then :
21234 glibcxx_cv_func_isnan_use=yes
21235 else
21236 glibcxx_cv_func_isnan_use=no
21238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21239 ac_ext=c
21240 ac_cpp='$CPP $CPPFLAGS'
21241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
21250 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
21252 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
21253 for ac_func in isnan
21254 do :
21255 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
21256 if test "x$ac_cv_func_isnan" = x""yes; then :
21257 cat >>confdefs.h <<_ACEOF
21258 #define HAVE_ISNAN 1
21259 _ACEOF
21262 done
21264 else
21266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
21267 $as_echo_n "checking for _isnan declaration... " >&6; }
21268 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
21269 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
21270 $as_echo_n "(cached) " >&6
21271 else
21274 ac_ext=cpp
21275 ac_cpp='$CXXCPP $CPPFLAGS'
21276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21281 /* end confdefs.h. */
21282 #include <math.h>
21283 #ifdef HAVE_IEEEFP_H
21284 #include <ieeefp.h>
21285 #endif
21288 main ()
21290 _isnan(0);
21292 return 0;
21294 _ACEOF
21295 if ac_fn_cxx_try_compile "$LINENO"; then :
21296 glibcxx_cv_func__isnan_use=yes
21297 else
21298 glibcxx_cv_func__isnan_use=no
21300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21301 ac_ext=c
21302 ac_cpp='$CPP $CPPFLAGS'
21303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
21312 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
21314 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
21315 for ac_func in _isnan
21316 do :
21317 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
21318 if test "x$ac_cv_func__isnan" = x""yes; then :
21319 cat >>confdefs.h <<_ACEOF
21320 #define HAVE__ISNAN 1
21321 _ACEOF
21324 done
21333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
21334 $as_echo_n "checking for finite declaration... " >&6; }
21335 if test x${glibcxx_cv_func_finite_use+set} != xset; then
21336 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
21337 $as_echo_n "(cached) " >&6
21338 else
21341 ac_ext=cpp
21342 ac_cpp='$CXXCPP $CPPFLAGS'
21343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21348 /* end confdefs.h. */
21349 #include <math.h>
21350 #ifdef HAVE_IEEEFP_H
21351 #include <ieeefp.h>
21352 #endif
21355 main ()
21357 finite(0);
21359 return 0;
21361 _ACEOF
21362 if ac_fn_cxx_try_compile "$LINENO"; then :
21363 glibcxx_cv_func_finite_use=yes
21364 else
21365 glibcxx_cv_func_finite_use=no
21367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21368 ac_ext=c
21369 ac_cpp='$CPP $CPPFLAGS'
21370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
21379 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
21381 if test x$glibcxx_cv_func_finite_use = x"yes"; then
21382 for ac_func in finite
21383 do :
21384 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
21385 if test "x$ac_cv_func_finite" = x""yes; then :
21386 cat >>confdefs.h <<_ACEOF
21387 #define HAVE_FINITE 1
21388 _ACEOF
21391 done
21393 else
21395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
21396 $as_echo_n "checking for _finite declaration... " >&6; }
21397 if test x${glibcxx_cv_func__finite_use+set} != xset; then
21398 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
21399 $as_echo_n "(cached) " >&6
21400 else
21403 ac_ext=cpp
21404 ac_cpp='$CXXCPP $CPPFLAGS'
21405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21410 /* end confdefs.h. */
21411 #include <math.h>
21412 #ifdef HAVE_IEEEFP_H
21413 #include <ieeefp.h>
21414 #endif
21417 main ()
21419 _finite(0);
21421 return 0;
21423 _ACEOF
21424 if ac_fn_cxx_try_compile "$LINENO"; then :
21425 glibcxx_cv_func__finite_use=yes
21426 else
21427 glibcxx_cv_func__finite_use=no
21429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21430 ac_ext=c
21431 ac_cpp='$CPP $CPPFLAGS'
21432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
21441 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
21443 if test x$glibcxx_cv_func__finite_use = x"yes"; then
21444 for ac_func in _finite
21445 do :
21446 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
21447 if test "x$ac_cv_func__finite" = x""yes; then :
21448 cat >>confdefs.h <<_ACEOF
21449 #define HAVE__FINITE 1
21450 _ACEOF
21453 done
21462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
21463 $as_echo_n "checking for sincos declaration... " >&6; }
21464 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
21465 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
21466 $as_echo_n "(cached) " >&6
21467 else
21470 ac_ext=cpp
21471 ac_cpp='$CXXCPP $CPPFLAGS'
21472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21477 /* end confdefs.h. */
21478 #include <math.h>
21480 main ()
21482 sincos(0, 0, 0);
21484 return 0;
21486 _ACEOF
21487 if ac_fn_cxx_try_compile "$LINENO"; then :
21488 glibcxx_cv_func_sincos_use=yes
21489 else
21490 glibcxx_cv_func_sincos_use=no
21492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21493 ac_ext=c
21494 ac_cpp='$CPP $CPPFLAGS'
21495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
21504 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
21506 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
21507 for ac_func in sincos
21508 do :
21509 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
21510 if test "x$ac_cv_func_sincos" = x""yes; then :
21511 cat >>confdefs.h <<_ACEOF
21512 #define HAVE_SINCOS 1
21513 _ACEOF
21516 done
21518 else
21520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
21521 $as_echo_n "checking for _sincos declaration... " >&6; }
21522 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
21523 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
21524 $as_echo_n "(cached) " >&6
21525 else
21528 ac_ext=cpp
21529 ac_cpp='$CXXCPP $CPPFLAGS'
21530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21535 /* end confdefs.h. */
21536 #include <math.h>
21538 main ()
21540 _sincos(0, 0, 0);
21542 return 0;
21544 _ACEOF
21545 if ac_fn_cxx_try_compile "$LINENO"; then :
21546 glibcxx_cv_func__sincos_use=yes
21547 else
21548 glibcxx_cv_func__sincos_use=no
21550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21551 ac_ext=c
21552 ac_cpp='$CPP $CPPFLAGS'
21553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
21562 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
21564 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
21565 for ac_func in _sincos
21566 do :
21567 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
21568 if test "x$ac_cv_func__sincos" = x""yes; then :
21569 cat >>confdefs.h <<_ACEOF
21570 #define HAVE__SINCOS 1
21571 _ACEOF
21574 done
21583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
21584 $as_echo_n "checking for fpclass declaration... " >&6; }
21585 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
21586 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
21587 $as_echo_n "(cached) " >&6
21588 else
21591 ac_ext=cpp
21592 ac_cpp='$CXXCPP $CPPFLAGS'
21593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21598 /* end confdefs.h. */
21599 #include <math.h>
21600 #ifdef HAVE_IEEEFP_H
21601 #include <ieeefp.h>
21602 #endif
21605 main ()
21607 fpclass(0);
21609 return 0;
21611 _ACEOF
21612 if ac_fn_cxx_try_compile "$LINENO"; then :
21613 glibcxx_cv_func_fpclass_use=yes
21614 else
21615 glibcxx_cv_func_fpclass_use=no
21617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21618 ac_ext=c
21619 ac_cpp='$CPP $CPPFLAGS'
21620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
21629 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
21631 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
21632 for ac_func in fpclass
21633 do :
21634 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
21635 if test "x$ac_cv_func_fpclass" = x""yes; then :
21636 cat >>confdefs.h <<_ACEOF
21637 #define HAVE_FPCLASS 1
21638 _ACEOF
21641 done
21643 else
21645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
21646 $as_echo_n "checking for _fpclass declaration... " >&6; }
21647 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
21648 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
21649 $as_echo_n "(cached) " >&6
21650 else
21653 ac_ext=cpp
21654 ac_cpp='$CXXCPP $CPPFLAGS'
21655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21660 /* end confdefs.h. */
21661 #include <math.h>
21662 #ifdef HAVE_IEEEFP_H
21663 #include <ieeefp.h>
21664 #endif
21667 main ()
21669 _fpclass(0);
21671 return 0;
21673 _ACEOF
21674 if ac_fn_cxx_try_compile "$LINENO"; then :
21675 glibcxx_cv_func__fpclass_use=yes
21676 else
21677 glibcxx_cv_func__fpclass_use=no
21679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21680 ac_ext=c
21681 ac_cpp='$CPP $CPPFLAGS'
21682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
21691 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
21693 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
21694 for ac_func in _fpclass
21695 do :
21696 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
21697 if test "x$ac_cv_func__fpclass" = x""yes; then :
21698 cat >>confdefs.h <<_ACEOF
21699 #define HAVE__FPCLASS 1
21700 _ACEOF
21703 done
21712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
21713 $as_echo_n "checking for qfpclass declaration... " >&6; }
21714 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
21715 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
21716 $as_echo_n "(cached) " >&6
21717 else
21720 ac_ext=cpp
21721 ac_cpp='$CXXCPP $CPPFLAGS'
21722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21727 /* end confdefs.h. */
21728 #include <math.h>
21729 #ifdef HAVE_IEEEFP_H
21730 #include <ieeefp.h>
21731 #endif
21734 main ()
21736 qfpclass(0);
21738 return 0;
21740 _ACEOF
21741 if ac_fn_cxx_try_compile "$LINENO"; then :
21742 glibcxx_cv_func_qfpclass_use=yes
21743 else
21744 glibcxx_cv_func_qfpclass_use=no
21746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21747 ac_ext=c
21748 ac_cpp='$CPP $CPPFLAGS'
21749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
21758 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
21760 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
21761 for ac_func in qfpclass
21762 do :
21763 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
21764 if test "x$ac_cv_func_qfpclass" = x""yes; then :
21765 cat >>confdefs.h <<_ACEOF
21766 #define HAVE_QFPCLASS 1
21767 _ACEOF
21770 done
21772 else
21774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
21775 $as_echo_n "checking for _qfpclass declaration... " >&6; }
21776 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
21777 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
21778 $as_echo_n "(cached) " >&6
21779 else
21782 ac_ext=cpp
21783 ac_cpp='$CXXCPP $CPPFLAGS'
21784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21789 /* end confdefs.h. */
21790 #include <math.h>
21791 #ifdef HAVE_IEEEFP_H
21792 #include <ieeefp.h>
21793 #endif
21796 main ()
21798 _qfpclass(0);
21800 return 0;
21802 _ACEOF
21803 if ac_fn_cxx_try_compile "$LINENO"; then :
21804 glibcxx_cv_func__qfpclass_use=yes
21805 else
21806 glibcxx_cv_func__qfpclass_use=no
21808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21809 ac_ext=c
21810 ac_cpp='$CPP $CPPFLAGS'
21811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
21820 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
21822 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
21823 for ac_func in _qfpclass
21824 do :
21825 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
21826 if test "x$ac_cv_func__qfpclass" = x""yes; then :
21827 cat >>confdefs.h <<_ACEOF
21828 #define HAVE__QFPCLASS 1
21829 _ACEOF
21832 done
21841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
21842 $as_echo_n "checking for hypot declaration... " >&6; }
21843 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
21844 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
21845 $as_echo_n "(cached) " >&6
21846 else
21849 ac_ext=cpp
21850 ac_cpp='$CXXCPP $CPPFLAGS'
21851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21856 /* end confdefs.h. */
21857 #include <math.h>
21859 main ()
21861 hypot(0, 0);
21863 return 0;
21865 _ACEOF
21866 if ac_fn_cxx_try_compile "$LINENO"; then :
21867 glibcxx_cv_func_hypot_use=yes
21868 else
21869 glibcxx_cv_func_hypot_use=no
21871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21872 ac_ext=c
21873 ac_cpp='$CPP $CPPFLAGS'
21874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
21883 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
21885 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
21886 for ac_func in hypot
21887 do :
21888 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
21889 if test "x$ac_cv_func_hypot" = x""yes; then :
21890 cat >>confdefs.h <<_ACEOF
21891 #define HAVE_HYPOT 1
21892 _ACEOF
21895 done
21897 else
21899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
21900 $as_echo_n "checking for _hypot declaration... " >&6; }
21901 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
21902 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
21903 $as_echo_n "(cached) " >&6
21904 else
21907 ac_ext=cpp
21908 ac_cpp='$CXXCPP $CPPFLAGS'
21909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21914 /* end confdefs.h. */
21915 #include <math.h>
21917 main ()
21919 _hypot(0, 0);
21921 return 0;
21923 _ACEOF
21924 if ac_fn_cxx_try_compile "$LINENO"; then :
21925 glibcxx_cv_func__hypot_use=yes
21926 else
21927 glibcxx_cv_func__hypot_use=no
21929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21930 ac_ext=c
21931 ac_cpp='$CPP $CPPFLAGS'
21932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
21941 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
21943 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
21944 for ac_func in _hypot
21945 do :
21946 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
21947 if test "x$ac_cv_func__hypot" = x""yes; then :
21948 cat >>confdefs.h <<_ACEOF
21949 #define HAVE__HYPOT 1
21950 _ACEOF
21953 done
21962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
21963 $as_echo_n "checking for float trig functions... " >&6; }
21964 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
21965 $as_echo_n "(cached) " >&6
21966 else
21969 ac_ext=cpp
21970 ac_cpp='$CXXCPP $CPPFLAGS'
21971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21976 /* end confdefs.h. */
21977 #include <math.h>
21979 main ()
21981 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
21983 return 0;
21985 _ACEOF
21986 if ac_fn_cxx_try_compile "$LINENO"; then :
21987 glibcxx_cv_func_float_trig_use=yes
21988 else
21989 glibcxx_cv_func_float_trig_use=no
21991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21992 ac_ext=c
21993 ac_cpp='$CPP $CPPFLAGS'
21994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
22001 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
22002 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
22003 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
22004 do :
22005 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22006 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22007 eval as_val=\$$as_ac_var
22008 if test "x$as_val" = x""yes; then :
22009 cat >>confdefs.h <<_ACEOF
22010 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22011 _ACEOF
22014 done
22016 else
22017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
22018 $as_echo_n "checking for _float trig functions... " >&6; }
22019 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
22020 $as_echo_n "(cached) " >&6
22021 else
22024 ac_ext=cpp
22025 ac_cpp='$CXXCPP $CPPFLAGS'
22026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22031 /* end confdefs.h. */
22032 #include <math.h>
22034 main ()
22036 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
22038 return 0;
22040 _ACEOF
22041 if ac_fn_cxx_try_compile "$LINENO"; then :
22042 glibcxx_cv_func__float_trig_use=yes
22043 else
22044 glibcxx_cv_func__float_trig_use=no
22046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22047 ac_ext=c
22048 ac_cpp='$CPP $CPPFLAGS'
22049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
22056 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
22057 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
22058 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
22059 do :
22060 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22061 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22062 eval as_val=\$$as_ac_var
22063 if test "x$as_val" = x""yes; then :
22064 cat >>confdefs.h <<_ACEOF
22065 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22066 _ACEOF
22069 done
22078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
22079 $as_echo_n "checking for float round functions... " >&6; }
22080 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
22081 $as_echo_n "(cached) " >&6
22082 else
22085 ac_ext=cpp
22086 ac_cpp='$CXXCPP $CPPFLAGS'
22087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22092 /* end confdefs.h. */
22093 #include <math.h>
22095 main ()
22097 ceilf (0); floorf (0);
22099 return 0;
22101 _ACEOF
22102 if ac_fn_cxx_try_compile "$LINENO"; then :
22103 glibcxx_cv_func_float_round_use=yes
22104 else
22105 glibcxx_cv_func_float_round_use=no
22107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22108 ac_ext=c
22109 ac_cpp='$CPP $CPPFLAGS'
22110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
22117 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
22118 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
22119 for ac_func in ceilf floorf
22120 do :
22121 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22122 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22123 eval as_val=\$$as_ac_var
22124 if test "x$as_val" = x""yes; then :
22125 cat >>confdefs.h <<_ACEOF
22126 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22127 _ACEOF
22130 done
22132 else
22133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
22134 $as_echo_n "checking for _float round functions... " >&6; }
22135 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
22136 $as_echo_n "(cached) " >&6
22137 else
22140 ac_ext=cpp
22141 ac_cpp='$CXXCPP $CPPFLAGS'
22142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22147 /* end confdefs.h. */
22148 #include <math.h>
22150 main ()
22152 _ceilf (0); _floorf (0);
22154 return 0;
22156 _ACEOF
22157 if ac_fn_cxx_try_compile "$LINENO"; then :
22158 glibcxx_cv_func__float_round_use=yes
22159 else
22160 glibcxx_cv_func__float_round_use=no
22162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22163 ac_ext=c
22164 ac_cpp='$CPP $CPPFLAGS'
22165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
22172 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
22173 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
22174 for ac_func in _ceilf _floorf
22175 do :
22176 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22177 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22178 eval as_val=\$$as_ac_var
22179 if test "x$as_val" = x""yes; then :
22180 cat >>confdefs.h <<_ACEOF
22181 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22182 _ACEOF
22185 done
22195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
22196 $as_echo_n "checking for expf declaration... " >&6; }
22197 if test x${glibcxx_cv_func_expf_use+set} != xset; then
22198 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
22199 $as_echo_n "(cached) " >&6
22200 else
22203 ac_ext=cpp
22204 ac_cpp='$CXXCPP $CPPFLAGS'
22205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22210 /* end confdefs.h. */
22211 #include <math.h>
22212 #ifdef HAVE_IEEEFP_H
22213 #include <ieeefp.h>
22214 #endif
22217 main ()
22219 expf(0);
22221 return 0;
22223 _ACEOF
22224 if ac_fn_cxx_try_compile "$LINENO"; then :
22225 glibcxx_cv_func_expf_use=yes
22226 else
22227 glibcxx_cv_func_expf_use=no
22229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22230 ac_ext=c
22231 ac_cpp='$CPP $CPPFLAGS'
22232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
22241 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
22243 if test x$glibcxx_cv_func_expf_use = x"yes"; then
22244 for ac_func in expf
22245 do :
22246 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
22247 if test "x$ac_cv_func_expf" = x""yes; then :
22248 cat >>confdefs.h <<_ACEOF
22249 #define HAVE_EXPF 1
22250 _ACEOF
22253 done
22255 else
22257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
22258 $as_echo_n "checking for _expf declaration... " >&6; }
22259 if test x${glibcxx_cv_func__expf_use+set} != xset; then
22260 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
22261 $as_echo_n "(cached) " >&6
22262 else
22265 ac_ext=cpp
22266 ac_cpp='$CXXCPP $CPPFLAGS'
22267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22272 /* end confdefs.h. */
22273 #include <math.h>
22274 #ifdef HAVE_IEEEFP_H
22275 #include <ieeefp.h>
22276 #endif
22279 main ()
22281 _expf(0);
22283 return 0;
22285 _ACEOF
22286 if ac_fn_cxx_try_compile "$LINENO"; then :
22287 glibcxx_cv_func__expf_use=yes
22288 else
22289 glibcxx_cv_func__expf_use=no
22291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22292 ac_ext=c
22293 ac_cpp='$CPP $CPPFLAGS'
22294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
22303 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
22305 if test x$glibcxx_cv_func__expf_use = x"yes"; then
22306 for ac_func in _expf
22307 do :
22308 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
22309 if test "x$ac_cv_func__expf" = x""yes; then :
22310 cat >>confdefs.h <<_ACEOF
22311 #define HAVE__EXPF 1
22312 _ACEOF
22315 done
22324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
22325 $as_echo_n "checking for isnanf declaration... " >&6; }
22326 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
22327 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
22328 $as_echo_n "(cached) " >&6
22329 else
22332 ac_ext=cpp
22333 ac_cpp='$CXXCPP $CPPFLAGS'
22334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22339 /* end confdefs.h. */
22340 #include <math.h>
22341 #ifdef HAVE_IEEEFP_H
22342 #include <ieeefp.h>
22343 #endif
22346 main ()
22348 isnanf(0);
22350 return 0;
22352 _ACEOF
22353 if ac_fn_cxx_try_compile "$LINENO"; then :
22354 glibcxx_cv_func_isnanf_use=yes
22355 else
22356 glibcxx_cv_func_isnanf_use=no
22358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22359 ac_ext=c
22360 ac_cpp='$CPP $CPPFLAGS'
22361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
22370 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
22372 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
22373 for ac_func in isnanf
22374 do :
22375 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
22376 if test "x$ac_cv_func_isnanf" = x""yes; then :
22377 cat >>confdefs.h <<_ACEOF
22378 #define HAVE_ISNANF 1
22379 _ACEOF
22382 done
22384 else
22386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
22387 $as_echo_n "checking for _isnanf declaration... " >&6; }
22388 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
22389 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
22390 $as_echo_n "(cached) " >&6
22391 else
22394 ac_ext=cpp
22395 ac_cpp='$CXXCPP $CPPFLAGS'
22396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22401 /* end confdefs.h. */
22402 #include <math.h>
22403 #ifdef HAVE_IEEEFP_H
22404 #include <ieeefp.h>
22405 #endif
22408 main ()
22410 _isnanf(0);
22412 return 0;
22414 _ACEOF
22415 if ac_fn_cxx_try_compile "$LINENO"; then :
22416 glibcxx_cv_func__isnanf_use=yes
22417 else
22418 glibcxx_cv_func__isnanf_use=no
22420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22421 ac_ext=c
22422 ac_cpp='$CPP $CPPFLAGS'
22423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
22432 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
22434 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
22435 for ac_func in _isnanf
22436 do :
22437 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
22438 if test "x$ac_cv_func__isnanf" = x""yes; then :
22439 cat >>confdefs.h <<_ACEOF
22440 #define HAVE__ISNANF 1
22441 _ACEOF
22444 done
22453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
22454 $as_echo_n "checking for isinff declaration... " >&6; }
22455 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
22456 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
22457 $as_echo_n "(cached) " >&6
22458 else
22461 ac_ext=cpp
22462 ac_cpp='$CXXCPP $CPPFLAGS'
22463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22468 /* end confdefs.h. */
22469 #include <math.h>
22470 #ifdef HAVE_IEEEFP_H
22471 #include <ieeefp.h>
22472 #endif
22475 main ()
22477 isinff(0);
22479 return 0;
22481 _ACEOF
22482 if ac_fn_cxx_try_compile "$LINENO"; then :
22483 glibcxx_cv_func_isinff_use=yes
22484 else
22485 glibcxx_cv_func_isinff_use=no
22487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22488 ac_ext=c
22489 ac_cpp='$CPP $CPPFLAGS'
22490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
22499 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
22501 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
22502 for ac_func in isinff
22503 do :
22504 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
22505 if test "x$ac_cv_func_isinff" = x""yes; then :
22506 cat >>confdefs.h <<_ACEOF
22507 #define HAVE_ISINFF 1
22508 _ACEOF
22511 done
22513 else
22515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
22516 $as_echo_n "checking for _isinff declaration... " >&6; }
22517 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
22518 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
22519 $as_echo_n "(cached) " >&6
22520 else
22523 ac_ext=cpp
22524 ac_cpp='$CXXCPP $CPPFLAGS'
22525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22530 /* end confdefs.h. */
22531 #include <math.h>
22532 #ifdef HAVE_IEEEFP_H
22533 #include <ieeefp.h>
22534 #endif
22537 main ()
22539 _isinff(0);
22541 return 0;
22543 _ACEOF
22544 if ac_fn_cxx_try_compile "$LINENO"; then :
22545 glibcxx_cv_func__isinff_use=yes
22546 else
22547 glibcxx_cv_func__isinff_use=no
22549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22550 ac_ext=c
22551 ac_cpp='$CPP $CPPFLAGS'
22552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
22561 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
22563 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
22564 for ac_func in _isinff
22565 do :
22566 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
22567 if test "x$ac_cv_func__isinff" = x""yes; then :
22568 cat >>confdefs.h <<_ACEOF
22569 #define HAVE__ISINFF 1
22570 _ACEOF
22573 done
22582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
22583 $as_echo_n "checking for atan2f declaration... " >&6; }
22584 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
22585 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
22586 $as_echo_n "(cached) " >&6
22587 else
22590 ac_ext=cpp
22591 ac_cpp='$CXXCPP $CPPFLAGS'
22592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22597 /* end confdefs.h. */
22598 #include <math.h>
22600 main ()
22602 atan2f(0, 0);
22604 return 0;
22606 _ACEOF
22607 if ac_fn_cxx_try_compile "$LINENO"; then :
22608 glibcxx_cv_func_atan2f_use=yes
22609 else
22610 glibcxx_cv_func_atan2f_use=no
22612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22613 ac_ext=c
22614 ac_cpp='$CPP $CPPFLAGS'
22615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
22624 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
22626 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
22627 for ac_func in atan2f
22628 do :
22629 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
22630 if test "x$ac_cv_func_atan2f" = x""yes; then :
22631 cat >>confdefs.h <<_ACEOF
22632 #define HAVE_ATAN2F 1
22633 _ACEOF
22636 done
22638 else
22640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
22641 $as_echo_n "checking for _atan2f declaration... " >&6; }
22642 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
22643 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
22644 $as_echo_n "(cached) " >&6
22645 else
22648 ac_ext=cpp
22649 ac_cpp='$CXXCPP $CPPFLAGS'
22650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22655 /* end confdefs.h. */
22656 #include <math.h>
22658 main ()
22660 _atan2f(0, 0);
22662 return 0;
22664 _ACEOF
22665 if ac_fn_cxx_try_compile "$LINENO"; then :
22666 glibcxx_cv_func__atan2f_use=yes
22667 else
22668 glibcxx_cv_func__atan2f_use=no
22670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22671 ac_ext=c
22672 ac_cpp='$CPP $CPPFLAGS'
22673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
22682 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
22684 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
22685 for ac_func in _atan2f
22686 do :
22687 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
22688 if test "x$ac_cv_func__atan2f" = x""yes; then :
22689 cat >>confdefs.h <<_ACEOF
22690 #define HAVE__ATAN2F 1
22691 _ACEOF
22694 done
22703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
22704 $as_echo_n "checking for fabsf declaration... " >&6; }
22705 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
22706 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
22707 $as_echo_n "(cached) " >&6
22708 else
22711 ac_ext=cpp
22712 ac_cpp='$CXXCPP $CPPFLAGS'
22713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22718 /* end confdefs.h. */
22719 #include <math.h>
22720 #ifdef HAVE_IEEEFP_H
22721 #include <ieeefp.h>
22722 #endif
22725 main ()
22727 fabsf(0);
22729 return 0;
22731 _ACEOF
22732 if ac_fn_cxx_try_compile "$LINENO"; then :
22733 glibcxx_cv_func_fabsf_use=yes
22734 else
22735 glibcxx_cv_func_fabsf_use=no
22737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22738 ac_ext=c
22739 ac_cpp='$CPP $CPPFLAGS'
22740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
22749 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
22751 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
22752 for ac_func in fabsf
22753 do :
22754 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
22755 if test "x$ac_cv_func_fabsf" = x""yes; then :
22756 cat >>confdefs.h <<_ACEOF
22757 #define HAVE_FABSF 1
22758 _ACEOF
22761 done
22763 else
22765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
22766 $as_echo_n "checking for _fabsf declaration... " >&6; }
22767 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
22768 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
22769 $as_echo_n "(cached) " >&6
22770 else
22773 ac_ext=cpp
22774 ac_cpp='$CXXCPP $CPPFLAGS'
22775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22780 /* end confdefs.h. */
22781 #include <math.h>
22782 #ifdef HAVE_IEEEFP_H
22783 #include <ieeefp.h>
22784 #endif
22787 main ()
22789 _fabsf(0);
22791 return 0;
22793 _ACEOF
22794 if ac_fn_cxx_try_compile "$LINENO"; then :
22795 glibcxx_cv_func__fabsf_use=yes
22796 else
22797 glibcxx_cv_func__fabsf_use=no
22799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22800 ac_ext=c
22801 ac_cpp='$CPP $CPPFLAGS'
22802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
22811 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
22813 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
22814 for ac_func in _fabsf
22815 do :
22816 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
22817 if test "x$ac_cv_func__fabsf" = x""yes; then :
22818 cat >>confdefs.h <<_ACEOF
22819 #define HAVE__FABSF 1
22820 _ACEOF
22823 done
22832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
22833 $as_echo_n "checking for fmodf declaration... " >&6; }
22834 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
22835 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
22836 $as_echo_n "(cached) " >&6
22837 else
22840 ac_ext=cpp
22841 ac_cpp='$CXXCPP $CPPFLAGS'
22842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22847 /* end confdefs.h. */
22848 #include <math.h>
22850 main ()
22852 fmodf(0, 0);
22854 return 0;
22856 _ACEOF
22857 if ac_fn_cxx_try_compile "$LINENO"; then :
22858 glibcxx_cv_func_fmodf_use=yes
22859 else
22860 glibcxx_cv_func_fmodf_use=no
22862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22863 ac_ext=c
22864 ac_cpp='$CPP $CPPFLAGS'
22865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
22874 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
22876 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
22877 for ac_func in fmodf
22878 do :
22879 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
22880 if test "x$ac_cv_func_fmodf" = x""yes; then :
22881 cat >>confdefs.h <<_ACEOF
22882 #define HAVE_FMODF 1
22883 _ACEOF
22886 done
22888 else
22890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
22891 $as_echo_n "checking for _fmodf declaration... " >&6; }
22892 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
22893 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
22894 $as_echo_n "(cached) " >&6
22895 else
22898 ac_ext=cpp
22899 ac_cpp='$CXXCPP $CPPFLAGS'
22900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22905 /* end confdefs.h. */
22906 #include <math.h>
22908 main ()
22910 _fmodf(0, 0);
22912 return 0;
22914 _ACEOF
22915 if ac_fn_cxx_try_compile "$LINENO"; then :
22916 glibcxx_cv_func__fmodf_use=yes
22917 else
22918 glibcxx_cv_func__fmodf_use=no
22920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22921 ac_ext=c
22922 ac_cpp='$CPP $CPPFLAGS'
22923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
22932 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
22934 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
22935 for ac_func in _fmodf
22936 do :
22937 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
22938 if test "x$ac_cv_func__fmodf" = x""yes; then :
22939 cat >>confdefs.h <<_ACEOF
22940 #define HAVE__FMODF 1
22941 _ACEOF
22944 done
22953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
22954 $as_echo_n "checking for frexpf declaration... " >&6; }
22955 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
22956 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
22957 $as_echo_n "(cached) " >&6
22958 else
22961 ac_ext=cpp
22962 ac_cpp='$CXXCPP $CPPFLAGS'
22963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22968 /* end confdefs.h. */
22969 #include <math.h>
22971 main ()
22973 frexpf(0, 0);
22975 return 0;
22977 _ACEOF
22978 if ac_fn_cxx_try_compile "$LINENO"; then :
22979 glibcxx_cv_func_frexpf_use=yes
22980 else
22981 glibcxx_cv_func_frexpf_use=no
22983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22984 ac_ext=c
22985 ac_cpp='$CPP $CPPFLAGS'
22986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
22995 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
22997 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
22998 for ac_func in frexpf
22999 do :
23000 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
23001 if test "x$ac_cv_func_frexpf" = x""yes; then :
23002 cat >>confdefs.h <<_ACEOF
23003 #define HAVE_FREXPF 1
23004 _ACEOF
23007 done
23009 else
23011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
23012 $as_echo_n "checking for _frexpf declaration... " >&6; }
23013 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
23014 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
23015 $as_echo_n "(cached) " >&6
23016 else
23019 ac_ext=cpp
23020 ac_cpp='$CXXCPP $CPPFLAGS'
23021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23026 /* end confdefs.h. */
23027 #include <math.h>
23029 main ()
23031 _frexpf(0, 0);
23033 return 0;
23035 _ACEOF
23036 if ac_fn_cxx_try_compile "$LINENO"; then :
23037 glibcxx_cv_func__frexpf_use=yes
23038 else
23039 glibcxx_cv_func__frexpf_use=no
23041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23042 ac_ext=c
23043 ac_cpp='$CPP $CPPFLAGS'
23044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
23053 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
23055 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
23056 for ac_func in _frexpf
23057 do :
23058 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
23059 if test "x$ac_cv_func__frexpf" = x""yes; then :
23060 cat >>confdefs.h <<_ACEOF
23061 #define HAVE__FREXPF 1
23062 _ACEOF
23065 done
23074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
23075 $as_echo_n "checking for hypotf declaration... " >&6; }
23076 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
23077 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
23078 $as_echo_n "(cached) " >&6
23079 else
23082 ac_ext=cpp
23083 ac_cpp='$CXXCPP $CPPFLAGS'
23084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23089 /* end confdefs.h. */
23090 #include <math.h>
23092 main ()
23094 hypotf(0, 0);
23096 return 0;
23098 _ACEOF
23099 if ac_fn_cxx_try_compile "$LINENO"; then :
23100 glibcxx_cv_func_hypotf_use=yes
23101 else
23102 glibcxx_cv_func_hypotf_use=no
23104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23105 ac_ext=c
23106 ac_cpp='$CPP $CPPFLAGS'
23107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
23116 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
23118 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
23119 for ac_func in hypotf
23120 do :
23121 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
23122 if test "x$ac_cv_func_hypotf" = x""yes; then :
23123 cat >>confdefs.h <<_ACEOF
23124 #define HAVE_HYPOTF 1
23125 _ACEOF
23128 done
23130 else
23132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
23133 $as_echo_n "checking for _hypotf declaration... " >&6; }
23134 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
23135 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
23136 $as_echo_n "(cached) " >&6
23137 else
23140 ac_ext=cpp
23141 ac_cpp='$CXXCPP $CPPFLAGS'
23142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23147 /* end confdefs.h. */
23148 #include <math.h>
23150 main ()
23152 _hypotf(0, 0);
23154 return 0;
23156 _ACEOF
23157 if ac_fn_cxx_try_compile "$LINENO"; then :
23158 glibcxx_cv_func__hypotf_use=yes
23159 else
23160 glibcxx_cv_func__hypotf_use=no
23162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23163 ac_ext=c
23164 ac_cpp='$CPP $CPPFLAGS'
23165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
23174 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
23176 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
23177 for ac_func in _hypotf
23178 do :
23179 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
23180 if test "x$ac_cv_func__hypotf" = x""yes; then :
23181 cat >>confdefs.h <<_ACEOF
23182 #define HAVE__HYPOTF 1
23183 _ACEOF
23186 done
23195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
23196 $as_echo_n "checking for ldexpf declaration... " >&6; }
23197 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
23198 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
23199 $as_echo_n "(cached) " >&6
23200 else
23203 ac_ext=cpp
23204 ac_cpp='$CXXCPP $CPPFLAGS'
23205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23210 /* end confdefs.h. */
23211 #include <math.h>
23213 main ()
23215 ldexpf(0, 0);
23217 return 0;
23219 _ACEOF
23220 if ac_fn_cxx_try_compile "$LINENO"; then :
23221 glibcxx_cv_func_ldexpf_use=yes
23222 else
23223 glibcxx_cv_func_ldexpf_use=no
23225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23226 ac_ext=c
23227 ac_cpp='$CPP $CPPFLAGS'
23228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
23237 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
23239 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
23240 for ac_func in ldexpf
23241 do :
23242 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
23243 if test "x$ac_cv_func_ldexpf" = x""yes; then :
23244 cat >>confdefs.h <<_ACEOF
23245 #define HAVE_LDEXPF 1
23246 _ACEOF
23249 done
23251 else
23253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
23254 $as_echo_n "checking for _ldexpf declaration... " >&6; }
23255 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
23256 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
23257 $as_echo_n "(cached) " >&6
23258 else
23261 ac_ext=cpp
23262 ac_cpp='$CXXCPP $CPPFLAGS'
23263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23268 /* end confdefs.h. */
23269 #include <math.h>
23271 main ()
23273 _ldexpf(0, 0);
23275 return 0;
23277 _ACEOF
23278 if ac_fn_cxx_try_compile "$LINENO"; then :
23279 glibcxx_cv_func__ldexpf_use=yes
23280 else
23281 glibcxx_cv_func__ldexpf_use=no
23283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23284 ac_ext=c
23285 ac_cpp='$CPP $CPPFLAGS'
23286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
23295 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
23297 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
23298 for ac_func in _ldexpf
23299 do :
23300 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
23301 if test "x$ac_cv_func__ldexpf" = x""yes; then :
23302 cat >>confdefs.h <<_ACEOF
23303 #define HAVE__LDEXPF 1
23304 _ACEOF
23307 done
23316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
23317 $as_echo_n "checking for logf declaration... " >&6; }
23318 if test x${glibcxx_cv_func_logf_use+set} != xset; then
23319 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
23320 $as_echo_n "(cached) " >&6
23321 else
23324 ac_ext=cpp
23325 ac_cpp='$CXXCPP $CPPFLAGS'
23326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23331 /* end confdefs.h. */
23332 #include <math.h>
23333 #ifdef HAVE_IEEEFP_H
23334 #include <ieeefp.h>
23335 #endif
23338 main ()
23340 logf(0);
23342 return 0;
23344 _ACEOF
23345 if ac_fn_cxx_try_compile "$LINENO"; then :
23346 glibcxx_cv_func_logf_use=yes
23347 else
23348 glibcxx_cv_func_logf_use=no
23350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23351 ac_ext=c
23352 ac_cpp='$CPP $CPPFLAGS'
23353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
23362 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
23364 if test x$glibcxx_cv_func_logf_use = x"yes"; then
23365 for ac_func in logf
23366 do :
23367 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
23368 if test "x$ac_cv_func_logf" = x""yes; then :
23369 cat >>confdefs.h <<_ACEOF
23370 #define HAVE_LOGF 1
23371 _ACEOF
23374 done
23376 else
23378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
23379 $as_echo_n "checking for _logf declaration... " >&6; }
23380 if test x${glibcxx_cv_func__logf_use+set} != xset; then
23381 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
23382 $as_echo_n "(cached) " >&6
23383 else
23386 ac_ext=cpp
23387 ac_cpp='$CXXCPP $CPPFLAGS'
23388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23393 /* end confdefs.h. */
23394 #include <math.h>
23395 #ifdef HAVE_IEEEFP_H
23396 #include <ieeefp.h>
23397 #endif
23400 main ()
23402 _logf(0);
23404 return 0;
23406 _ACEOF
23407 if ac_fn_cxx_try_compile "$LINENO"; then :
23408 glibcxx_cv_func__logf_use=yes
23409 else
23410 glibcxx_cv_func__logf_use=no
23412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23413 ac_ext=c
23414 ac_cpp='$CPP $CPPFLAGS'
23415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
23424 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
23426 if test x$glibcxx_cv_func__logf_use = x"yes"; then
23427 for ac_func in _logf
23428 do :
23429 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
23430 if test "x$ac_cv_func__logf" = x""yes; then :
23431 cat >>confdefs.h <<_ACEOF
23432 #define HAVE__LOGF 1
23433 _ACEOF
23436 done
23445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
23446 $as_echo_n "checking for log10f declaration... " >&6; }
23447 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
23448 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
23449 $as_echo_n "(cached) " >&6
23450 else
23453 ac_ext=cpp
23454 ac_cpp='$CXXCPP $CPPFLAGS'
23455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23460 /* end confdefs.h. */
23461 #include <math.h>
23462 #ifdef HAVE_IEEEFP_H
23463 #include <ieeefp.h>
23464 #endif
23467 main ()
23469 log10f(0);
23471 return 0;
23473 _ACEOF
23474 if ac_fn_cxx_try_compile "$LINENO"; then :
23475 glibcxx_cv_func_log10f_use=yes
23476 else
23477 glibcxx_cv_func_log10f_use=no
23479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23480 ac_ext=c
23481 ac_cpp='$CPP $CPPFLAGS'
23482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
23491 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
23493 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
23494 for ac_func in log10f
23495 do :
23496 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
23497 if test "x$ac_cv_func_log10f" = x""yes; then :
23498 cat >>confdefs.h <<_ACEOF
23499 #define HAVE_LOG10F 1
23500 _ACEOF
23503 done
23505 else
23507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
23508 $as_echo_n "checking for _log10f declaration... " >&6; }
23509 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
23510 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
23511 $as_echo_n "(cached) " >&6
23512 else
23515 ac_ext=cpp
23516 ac_cpp='$CXXCPP $CPPFLAGS'
23517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23522 /* end confdefs.h. */
23523 #include <math.h>
23524 #ifdef HAVE_IEEEFP_H
23525 #include <ieeefp.h>
23526 #endif
23529 main ()
23531 _log10f(0);
23533 return 0;
23535 _ACEOF
23536 if ac_fn_cxx_try_compile "$LINENO"; then :
23537 glibcxx_cv_func__log10f_use=yes
23538 else
23539 glibcxx_cv_func__log10f_use=no
23541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23542 ac_ext=c
23543 ac_cpp='$CPP $CPPFLAGS'
23544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
23553 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
23555 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
23556 for ac_func in _log10f
23557 do :
23558 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
23559 if test "x$ac_cv_func__log10f" = x""yes; then :
23560 cat >>confdefs.h <<_ACEOF
23561 #define HAVE__LOG10F 1
23562 _ACEOF
23565 done
23574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
23575 $as_echo_n "checking for modff declaration... " >&6; }
23576 if test x${glibcxx_cv_func_modff_use+set} != xset; then
23577 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
23578 $as_echo_n "(cached) " >&6
23579 else
23582 ac_ext=cpp
23583 ac_cpp='$CXXCPP $CPPFLAGS'
23584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23589 /* end confdefs.h. */
23590 #include <math.h>
23592 main ()
23594 modff(0, 0);
23596 return 0;
23598 _ACEOF
23599 if ac_fn_cxx_try_compile "$LINENO"; then :
23600 glibcxx_cv_func_modff_use=yes
23601 else
23602 glibcxx_cv_func_modff_use=no
23604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23605 ac_ext=c
23606 ac_cpp='$CPP $CPPFLAGS'
23607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
23616 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
23618 if test x$glibcxx_cv_func_modff_use = x"yes"; then
23619 for ac_func in modff
23620 do :
23621 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
23622 if test "x$ac_cv_func_modff" = x""yes; then :
23623 cat >>confdefs.h <<_ACEOF
23624 #define HAVE_MODFF 1
23625 _ACEOF
23628 done
23630 else
23632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
23633 $as_echo_n "checking for _modff declaration... " >&6; }
23634 if test x${glibcxx_cv_func__modff_use+set} != xset; then
23635 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
23636 $as_echo_n "(cached) " >&6
23637 else
23640 ac_ext=cpp
23641 ac_cpp='$CXXCPP $CPPFLAGS'
23642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23647 /* end confdefs.h. */
23648 #include <math.h>
23650 main ()
23652 _modff(0, 0);
23654 return 0;
23656 _ACEOF
23657 if ac_fn_cxx_try_compile "$LINENO"; then :
23658 glibcxx_cv_func__modff_use=yes
23659 else
23660 glibcxx_cv_func__modff_use=no
23662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23663 ac_ext=c
23664 ac_cpp='$CPP $CPPFLAGS'
23665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
23674 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
23676 if test x$glibcxx_cv_func__modff_use = x"yes"; then
23677 for ac_func in _modff
23678 do :
23679 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
23680 if test "x$ac_cv_func__modff" = x""yes; then :
23681 cat >>confdefs.h <<_ACEOF
23682 #define HAVE__MODFF 1
23683 _ACEOF
23686 done
23695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
23696 $as_echo_n "checking for modf declaration... " >&6; }
23697 if test x${glibcxx_cv_func_modf_use+set} != xset; then
23698 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
23699 $as_echo_n "(cached) " >&6
23700 else
23703 ac_ext=cpp
23704 ac_cpp='$CXXCPP $CPPFLAGS'
23705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23710 /* end confdefs.h. */
23711 #include <math.h>
23713 main ()
23715 modf(0, 0);
23717 return 0;
23719 _ACEOF
23720 if ac_fn_cxx_try_compile "$LINENO"; then :
23721 glibcxx_cv_func_modf_use=yes
23722 else
23723 glibcxx_cv_func_modf_use=no
23725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23726 ac_ext=c
23727 ac_cpp='$CPP $CPPFLAGS'
23728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
23737 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
23739 if test x$glibcxx_cv_func_modf_use = x"yes"; then
23740 for ac_func in modf
23741 do :
23742 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
23743 if test "x$ac_cv_func_modf" = x""yes; then :
23744 cat >>confdefs.h <<_ACEOF
23745 #define HAVE_MODF 1
23746 _ACEOF
23749 done
23751 else
23753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
23754 $as_echo_n "checking for _modf declaration... " >&6; }
23755 if test x${glibcxx_cv_func__modf_use+set} != xset; then
23756 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
23757 $as_echo_n "(cached) " >&6
23758 else
23761 ac_ext=cpp
23762 ac_cpp='$CXXCPP $CPPFLAGS'
23763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23768 /* end confdefs.h. */
23769 #include <math.h>
23771 main ()
23773 _modf(0, 0);
23775 return 0;
23777 _ACEOF
23778 if ac_fn_cxx_try_compile "$LINENO"; then :
23779 glibcxx_cv_func__modf_use=yes
23780 else
23781 glibcxx_cv_func__modf_use=no
23783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23784 ac_ext=c
23785 ac_cpp='$CPP $CPPFLAGS'
23786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
23795 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
23797 if test x$glibcxx_cv_func__modf_use = x"yes"; then
23798 for ac_func in _modf
23799 do :
23800 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
23801 if test "x$ac_cv_func__modf" = x""yes; then :
23802 cat >>confdefs.h <<_ACEOF
23803 #define HAVE__MODF 1
23804 _ACEOF
23807 done
23816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
23817 $as_echo_n "checking for powf declaration... " >&6; }
23818 if test x${glibcxx_cv_func_powf_use+set} != xset; then
23819 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
23820 $as_echo_n "(cached) " >&6
23821 else
23824 ac_ext=cpp
23825 ac_cpp='$CXXCPP $CPPFLAGS'
23826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23831 /* end confdefs.h. */
23832 #include <math.h>
23834 main ()
23836 powf(0, 0);
23838 return 0;
23840 _ACEOF
23841 if ac_fn_cxx_try_compile "$LINENO"; then :
23842 glibcxx_cv_func_powf_use=yes
23843 else
23844 glibcxx_cv_func_powf_use=no
23846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23847 ac_ext=c
23848 ac_cpp='$CPP $CPPFLAGS'
23849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
23858 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
23860 if test x$glibcxx_cv_func_powf_use = x"yes"; then
23861 for ac_func in powf
23862 do :
23863 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
23864 if test "x$ac_cv_func_powf" = x""yes; then :
23865 cat >>confdefs.h <<_ACEOF
23866 #define HAVE_POWF 1
23867 _ACEOF
23870 done
23872 else
23874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
23875 $as_echo_n "checking for _powf declaration... " >&6; }
23876 if test x${glibcxx_cv_func__powf_use+set} != xset; then
23877 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
23878 $as_echo_n "(cached) " >&6
23879 else
23882 ac_ext=cpp
23883 ac_cpp='$CXXCPP $CPPFLAGS'
23884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23889 /* end confdefs.h. */
23890 #include <math.h>
23892 main ()
23894 _powf(0, 0);
23896 return 0;
23898 _ACEOF
23899 if ac_fn_cxx_try_compile "$LINENO"; then :
23900 glibcxx_cv_func__powf_use=yes
23901 else
23902 glibcxx_cv_func__powf_use=no
23904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23905 ac_ext=c
23906 ac_cpp='$CPP $CPPFLAGS'
23907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
23916 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
23918 if test x$glibcxx_cv_func__powf_use = x"yes"; then
23919 for ac_func in _powf
23920 do :
23921 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
23922 if test "x$ac_cv_func__powf" = x""yes; then :
23923 cat >>confdefs.h <<_ACEOF
23924 #define HAVE__POWF 1
23925 _ACEOF
23928 done
23937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
23938 $as_echo_n "checking for sqrtf declaration... " >&6; }
23939 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
23940 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
23941 $as_echo_n "(cached) " >&6
23942 else
23945 ac_ext=cpp
23946 ac_cpp='$CXXCPP $CPPFLAGS'
23947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23952 /* end confdefs.h. */
23953 #include <math.h>
23954 #ifdef HAVE_IEEEFP_H
23955 #include <ieeefp.h>
23956 #endif
23959 main ()
23961 sqrtf(0);
23963 return 0;
23965 _ACEOF
23966 if ac_fn_cxx_try_compile "$LINENO"; then :
23967 glibcxx_cv_func_sqrtf_use=yes
23968 else
23969 glibcxx_cv_func_sqrtf_use=no
23971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23972 ac_ext=c
23973 ac_cpp='$CPP $CPPFLAGS'
23974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
23983 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
23985 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
23986 for ac_func in sqrtf
23987 do :
23988 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
23989 if test "x$ac_cv_func_sqrtf" = x""yes; then :
23990 cat >>confdefs.h <<_ACEOF
23991 #define HAVE_SQRTF 1
23992 _ACEOF
23995 done
23997 else
23999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
24000 $as_echo_n "checking for _sqrtf declaration... " >&6; }
24001 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
24002 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
24003 $as_echo_n "(cached) " >&6
24004 else
24007 ac_ext=cpp
24008 ac_cpp='$CXXCPP $CPPFLAGS'
24009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24014 /* end confdefs.h. */
24015 #include <math.h>
24016 #ifdef HAVE_IEEEFP_H
24017 #include <ieeefp.h>
24018 #endif
24021 main ()
24023 _sqrtf(0);
24025 return 0;
24027 _ACEOF
24028 if ac_fn_cxx_try_compile "$LINENO"; then :
24029 glibcxx_cv_func__sqrtf_use=yes
24030 else
24031 glibcxx_cv_func__sqrtf_use=no
24033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24034 ac_ext=c
24035 ac_cpp='$CPP $CPPFLAGS'
24036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
24045 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
24047 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
24048 for ac_func in _sqrtf
24049 do :
24050 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
24051 if test "x$ac_cv_func__sqrtf" = x""yes; then :
24052 cat >>confdefs.h <<_ACEOF
24053 #define HAVE__SQRTF 1
24054 _ACEOF
24057 done
24066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
24067 $as_echo_n "checking for sincosf declaration... " >&6; }
24068 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
24069 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
24070 $as_echo_n "(cached) " >&6
24071 else
24074 ac_ext=cpp
24075 ac_cpp='$CXXCPP $CPPFLAGS'
24076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24081 /* end confdefs.h. */
24082 #include <math.h>
24084 main ()
24086 sincosf(0, 0, 0);
24088 return 0;
24090 _ACEOF
24091 if ac_fn_cxx_try_compile "$LINENO"; then :
24092 glibcxx_cv_func_sincosf_use=yes
24093 else
24094 glibcxx_cv_func_sincosf_use=no
24096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24097 ac_ext=c
24098 ac_cpp='$CPP $CPPFLAGS'
24099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
24108 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
24110 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
24111 for ac_func in sincosf
24112 do :
24113 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
24114 if test "x$ac_cv_func_sincosf" = x""yes; then :
24115 cat >>confdefs.h <<_ACEOF
24116 #define HAVE_SINCOSF 1
24117 _ACEOF
24120 done
24122 else
24124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
24125 $as_echo_n "checking for _sincosf declaration... " >&6; }
24126 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
24127 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
24128 $as_echo_n "(cached) " >&6
24129 else
24132 ac_ext=cpp
24133 ac_cpp='$CXXCPP $CPPFLAGS'
24134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24139 /* end confdefs.h. */
24140 #include <math.h>
24142 main ()
24144 _sincosf(0, 0, 0);
24146 return 0;
24148 _ACEOF
24149 if ac_fn_cxx_try_compile "$LINENO"; then :
24150 glibcxx_cv_func__sincosf_use=yes
24151 else
24152 glibcxx_cv_func__sincosf_use=no
24154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24155 ac_ext=c
24156 ac_cpp='$CPP $CPPFLAGS'
24157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
24166 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
24168 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
24169 for ac_func in _sincosf
24170 do :
24171 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
24172 if test "x$ac_cv_func__sincosf" = x""yes; then :
24173 cat >>confdefs.h <<_ACEOF
24174 #define HAVE__SINCOSF 1
24175 _ACEOF
24178 done
24187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
24188 $as_echo_n "checking for finitef declaration... " >&6; }
24189 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
24190 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
24191 $as_echo_n "(cached) " >&6
24192 else
24195 ac_ext=cpp
24196 ac_cpp='$CXXCPP $CPPFLAGS'
24197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24202 /* end confdefs.h. */
24203 #include <math.h>
24204 #ifdef HAVE_IEEEFP_H
24205 #include <ieeefp.h>
24206 #endif
24209 main ()
24211 finitef(0);
24213 return 0;
24215 _ACEOF
24216 if ac_fn_cxx_try_compile "$LINENO"; then :
24217 glibcxx_cv_func_finitef_use=yes
24218 else
24219 glibcxx_cv_func_finitef_use=no
24221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24222 ac_ext=c
24223 ac_cpp='$CPP $CPPFLAGS'
24224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
24233 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
24235 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
24236 for ac_func in finitef
24237 do :
24238 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
24239 if test "x$ac_cv_func_finitef" = x""yes; then :
24240 cat >>confdefs.h <<_ACEOF
24241 #define HAVE_FINITEF 1
24242 _ACEOF
24245 done
24247 else
24249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
24250 $as_echo_n "checking for _finitef declaration... " >&6; }
24251 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
24252 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
24253 $as_echo_n "(cached) " >&6
24254 else
24257 ac_ext=cpp
24258 ac_cpp='$CXXCPP $CPPFLAGS'
24259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24264 /* end confdefs.h. */
24265 #include <math.h>
24266 #ifdef HAVE_IEEEFP_H
24267 #include <ieeefp.h>
24268 #endif
24271 main ()
24273 _finitef(0);
24275 return 0;
24277 _ACEOF
24278 if ac_fn_cxx_try_compile "$LINENO"; then :
24279 glibcxx_cv_func__finitef_use=yes
24280 else
24281 glibcxx_cv_func__finitef_use=no
24283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24284 ac_ext=c
24285 ac_cpp='$CPP $CPPFLAGS'
24286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
24295 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
24297 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
24298 for ac_func in _finitef
24299 do :
24300 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
24301 if test "x$ac_cv_func__finitef" = x""yes; then :
24302 cat >>confdefs.h <<_ACEOF
24303 #define HAVE__FINITEF 1
24304 _ACEOF
24307 done
24316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
24317 $as_echo_n "checking for long double trig functions... " >&6; }
24318 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
24319 $as_echo_n "(cached) " >&6
24320 else
24323 ac_ext=cpp
24324 ac_cpp='$CXXCPP $CPPFLAGS'
24325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24330 /* end confdefs.h. */
24331 #include <math.h>
24333 main ()
24335 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
24337 return 0;
24339 _ACEOF
24340 if ac_fn_cxx_try_compile "$LINENO"; then :
24341 glibcxx_cv_func_long_double_trig_use=yes
24342 else
24343 glibcxx_cv_func_long_double_trig_use=no
24345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24346 ac_ext=c
24347 ac_cpp='$CPP $CPPFLAGS'
24348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
24355 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
24356 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
24357 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
24358 do :
24359 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24360 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24361 eval as_val=\$$as_ac_var
24362 if test "x$as_val" = x""yes; then :
24363 cat >>confdefs.h <<_ACEOF
24364 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24365 _ACEOF
24368 done
24370 else
24371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
24372 $as_echo_n "checking for _long double trig functions... " >&6; }
24373 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
24374 $as_echo_n "(cached) " >&6
24375 else
24378 ac_ext=cpp
24379 ac_cpp='$CXXCPP $CPPFLAGS'
24380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24385 /* end confdefs.h. */
24386 #include <math.h>
24388 main ()
24390 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
24392 return 0;
24394 _ACEOF
24395 if ac_fn_cxx_try_compile "$LINENO"; then :
24396 glibcxx_cv_func__long_double_trig_use=yes
24397 else
24398 glibcxx_cv_func__long_double_trig_use=no
24400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24401 ac_ext=c
24402 ac_cpp='$CPP $CPPFLAGS'
24403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
24410 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
24411 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
24412 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
24413 do :
24414 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24415 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24416 eval as_val=\$$as_ac_var
24417 if test "x$as_val" = x""yes; then :
24418 cat >>confdefs.h <<_ACEOF
24419 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24420 _ACEOF
24423 done
24432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
24433 $as_echo_n "checking for long double round functions... " >&6; }
24434 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
24435 $as_echo_n "(cached) " >&6
24436 else
24439 ac_ext=cpp
24440 ac_cpp='$CXXCPP $CPPFLAGS'
24441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24446 /* end confdefs.h. */
24447 #include <math.h>
24449 main ()
24451 ceill (0); floorl (0);
24453 return 0;
24455 _ACEOF
24456 if ac_fn_cxx_try_compile "$LINENO"; then :
24457 glibcxx_cv_func_long_double_round_use=yes
24458 else
24459 glibcxx_cv_func_long_double_round_use=no
24461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24462 ac_ext=c
24463 ac_cpp='$CPP $CPPFLAGS'
24464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
24471 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
24472 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
24473 for ac_func in ceill floorl
24474 do :
24475 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24476 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24477 eval as_val=\$$as_ac_var
24478 if test "x$as_val" = x""yes; then :
24479 cat >>confdefs.h <<_ACEOF
24480 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24481 _ACEOF
24484 done
24486 else
24487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
24488 $as_echo_n "checking for _long double round functions... " >&6; }
24489 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
24490 $as_echo_n "(cached) " >&6
24491 else
24494 ac_ext=cpp
24495 ac_cpp='$CXXCPP $CPPFLAGS'
24496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24501 /* end confdefs.h. */
24502 #include <math.h>
24504 main ()
24506 _ceill (0); _floorl (0);
24508 return 0;
24510 _ACEOF
24511 if ac_fn_cxx_try_compile "$LINENO"; then :
24512 glibcxx_cv_func__long_double_round_use=yes
24513 else
24514 glibcxx_cv_func__long_double_round_use=no
24516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24517 ac_ext=c
24518 ac_cpp='$CPP $CPPFLAGS'
24519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
24526 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
24527 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
24528 for ac_func in _ceill _floorl
24529 do :
24530 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24531 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24532 eval as_val=\$$as_ac_var
24533 if test "x$as_val" = x""yes; then :
24534 cat >>confdefs.h <<_ACEOF
24535 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24536 _ACEOF
24539 done
24549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
24550 $as_echo_n "checking for isnanl declaration... " >&6; }
24551 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
24552 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
24553 $as_echo_n "(cached) " >&6
24554 else
24557 ac_ext=cpp
24558 ac_cpp='$CXXCPP $CPPFLAGS'
24559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24564 /* end confdefs.h. */
24565 #include <math.h>
24566 #ifdef HAVE_IEEEFP_H
24567 #include <ieeefp.h>
24568 #endif
24571 main ()
24573 isnanl(0);
24575 return 0;
24577 _ACEOF
24578 if ac_fn_cxx_try_compile "$LINENO"; then :
24579 glibcxx_cv_func_isnanl_use=yes
24580 else
24581 glibcxx_cv_func_isnanl_use=no
24583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24584 ac_ext=c
24585 ac_cpp='$CPP $CPPFLAGS'
24586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
24595 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
24597 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
24598 for ac_func in isnanl
24599 do :
24600 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
24601 if test "x$ac_cv_func_isnanl" = x""yes; then :
24602 cat >>confdefs.h <<_ACEOF
24603 #define HAVE_ISNANL 1
24604 _ACEOF
24607 done
24609 else
24611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
24612 $as_echo_n "checking for _isnanl declaration... " >&6; }
24613 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
24614 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
24615 $as_echo_n "(cached) " >&6
24616 else
24619 ac_ext=cpp
24620 ac_cpp='$CXXCPP $CPPFLAGS'
24621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24626 /* end confdefs.h. */
24627 #include <math.h>
24628 #ifdef HAVE_IEEEFP_H
24629 #include <ieeefp.h>
24630 #endif
24633 main ()
24635 _isnanl(0);
24637 return 0;
24639 _ACEOF
24640 if ac_fn_cxx_try_compile "$LINENO"; then :
24641 glibcxx_cv_func__isnanl_use=yes
24642 else
24643 glibcxx_cv_func__isnanl_use=no
24645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24646 ac_ext=c
24647 ac_cpp='$CPP $CPPFLAGS'
24648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
24657 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
24659 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
24660 for ac_func in _isnanl
24661 do :
24662 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
24663 if test "x$ac_cv_func__isnanl" = x""yes; then :
24664 cat >>confdefs.h <<_ACEOF
24665 #define HAVE__ISNANL 1
24666 _ACEOF
24669 done
24678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
24679 $as_echo_n "checking for isinfl declaration... " >&6; }
24680 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
24681 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
24682 $as_echo_n "(cached) " >&6
24683 else
24686 ac_ext=cpp
24687 ac_cpp='$CXXCPP $CPPFLAGS'
24688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24693 /* end confdefs.h. */
24694 #include <math.h>
24695 #ifdef HAVE_IEEEFP_H
24696 #include <ieeefp.h>
24697 #endif
24700 main ()
24702 isinfl(0);
24704 return 0;
24706 _ACEOF
24707 if ac_fn_cxx_try_compile "$LINENO"; then :
24708 glibcxx_cv_func_isinfl_use=yes
24709 else
24710 glibcxx_cv_func_isinfl_use=no
24712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24713 ac_ext=c
24714 ac_cpp='$CPP $CPPFLAGS'
24715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
24724 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
24726 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
24727 for ac_func in isinfl
24728 do :
24729 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
24730 if test "x$ac_cv_func_isinfl" = x""yes; then :
24731 cat >>confdefs.h <<_ACEOF
24732 #define HAVE_ISINFL 1
24733 _ACEOF
24736 done
24738 else
24740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
24741 $as_echo_n "checking for _isinfl declaration... " >&6; }
24742 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
24743 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
24744 $as_echo_n "(cached) " >&6
24745 else
24748 ac_ext=cpp
24749 ac_cpp='$CXXCPP $CPPFLAGS'
24750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24755 /* end confdefs.h. */
24756 #include <math.h>
24757 #ifdef HAVE_IEEEFP_H
24758 #include <ieeefp.h>
24759 #endif
24762 main ()
24764 _isinfl(0);
24766 return 0;
24768 _ACEOF
24769 if ac_fn_cxx_try_compile "$LINENO"; then :
24770 glibcxx_cv_func__isinfl_use=yes
24771 else
24772 glibcxx_cv_func__isinfl_use=no
24774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24775 ac_ext=c
24776 ac_cpp='$CPP $CPPFLAGS'
24777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
24786 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
24788 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
24789 for ac_func in _isinfl
24790 do :
24791 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
24792 if test "x$ac_cv_func__isinfl" = x""yes; then :
24793 cat >>confdefs.h <<_ACEOF
24794 #define HAVE__ISINFL 1
24795 _ACEOF
24798 done
24807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
24808 $as_echo_n "checking for atan2l declaration... " >&6; }
24809 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
24810 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
24811 $as_echo_n "(cached) " >&6
24812 else
24815 ac_ext=cpp
24816 ac_cpp='$CXXCPP $CPPFLAGS'
24817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24822 /* end confdefs.h. */
24823 #include <math.h>
24825 main ()
24827 atan2l(0, 0);
24829 return 0;
24831 _ACEOF
24832 if ac_fn_cxx_try_compile "$LINENO"; then :
24833 glibcxx_cv_func_atan2l_use=yes
24834 else
24835 glibcxx_cv_func_atan2l_use=no
24837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24838 ac_ext=c
24839 ac_cpp='$CPP $CPPFLAGS'
24840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
24849 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
24851 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
24852 for ac_func in atan2l
24853 do :
24854 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
24855 if test "x$ac_cv_func_atan2l" = x""yes; then :
24856 cat >>confdefs.h <<_ACEOF
24857 #define HAVE_ATAN2L 1
24858 _ACEOF
24861 done
24863 else
24865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
24866 $as_echo_n "checking for _atan2l declaration... " >&6; }
24867 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
24868 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
24869 $as_echo_n "(cached) " >&6
24870 else
24873 ac_ext=cpp
24874 ac_cpp='$CXXCPP $CPPFLAGS'
24875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24880 /* end confdefs.h. */
24881 #include <math.h>
24883 main ()
24885 _atan2l(0, 0);
24887 return 0;
24889 _ACEOF
24890 if ac_fn_cxx_try_compile "$LINENO"; then :
24891 glibcxx_cv_func__atan2l_use=yes
24892 else
24893 glibcxx_cv_func__atan2l_use=no
24895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24896 ac_ext=c
24897 ac_cpp='$CPP $CPPFLAGS'
24898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
24907 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
24909 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
24910 for ac_func in _atan2l
24911 do :
24912 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
24913 if test "x$ac_cv_func__atan2l" = x""yes; then :
24914 cat >>confdefs.h <<_ACEOF
24915 #define HAVE__ATAN2L 1
24916 _ACEOF
24919 done
24928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
24929 $as_echo_n "checking for expl declaration... " >&6; }
24930 if test x${glibcxx_cv_func_expl_use+set} != xset; then
24931 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
24932 $as_echo_n "(cached) " >&6
24933 else
24936 ac_ext=cpp
24937 ac_cpp='$CXXCPP $CPPFLAGS'
24938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24943 /* end confdefs.h. */
24944 #include <math.h>
24945 #ifdef HAVE_IEEEFP_H
24946 #include <ieeefp.h>
24947 #endif
24950 main ()
24952 expl(0);
24954 return 0;
24956 _ACEOF
24957 if ac_fn_cxx_try_compile "$LINENO"; then :
24958 glibcxx_cv_func_expl_use=yes
24959 else
24960 glibcxx_cv_func_expl_use=no
24962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24963 ac_ext=c
24964 ac_cpp='$CPP $CPPFLAGS'
24965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
24974 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
24976 if test x$glibcxx_cv_func_expl_use = x"yes"; then
24977 for ac_func in expl
24978 do :
24979 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
24980 if test "x$ac_cv_func_expl" = x""yes; then :
24981 cat >>confdefs.h <<_ACEOF
24982 #define HAVE_EXPL 1
24983 _ACEOF
24986 done
24988 else
24990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
24991 $as_echo_n "checking for _expl declaration... " >&6; }
24992 if test x${glibcxx_cv_func__expl_use+set} != xset; then
24993 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
24994 $as_echo_n "(cached) " >&6
24995 else
24998 ac_ext=cpp
24999 ac_cpp='$CXXCPP $CPPFLAGS'
25000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25005 /* end confdefs.h. */
25006 #include <math.h>
25007 #ifdef HAVE_IEEEFP_H
25008 #include <ieeefp.h>
25009 #endif
25012 main ()
25014 _expl(0);
25016 return 0;
25018 _ACEOF
25019 if ac_fn_cxx_try_compile "$LINENO"; then :
25020 glibcxx_cv_func__expl_use=yes
25021 else
25022 glibcxx_cv_func__expl_use=no
25024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25025 ac_ext=c
25026 ac_cpp='$CPP $CPPFLAGS'
25027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
25036 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
25038 if test x$glibcxx_cv_func__expl_use = x"yes"; then
25039 for ac_func in _expl
25040 do :
25041 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
25042 if test "x$ac_cv_func__expl" = x""yes; then :
25043 cat >>confdefs.h <<_ACEOF
25044 #define HAVE__EXPL 1
25045 _ACEOF
25048 done
25057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
25058 $as_echo_n "checking for fabsl declaration... " >&6; }
25059 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
25060 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
25061 $as_echo_n "(cached) " >&6
25062 else
25065 ac_ext=cpp
25066 ac_cpp='$CXXCPP $CPPFLAGS'
25067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25072 /* end confdefs.h. */
25073 #include <math.h>
25074 #ifdef HAVE_IEEEFP_H
25075 #include <ieeefp.h>
25076 #endif
25079 main ()
25081 fabsl(0);
25083 return 0;
25085 _ACEOF
25086 if ac_fn_cxx_try_compile "$LINENO"; then :
25087 glibcxx_cv_func_fabsl_use=yes
25088 else
25089 glibcxx_cv_func_fabsl_use=no
25091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25092 ac_ext=c
25093 ac_cpp='$CPP $CPPFLAGS'
25094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
25103 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
25105 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
25106 for ac_func in fabsl
25107 do :
25108 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
25109 if test "x$ac_cv_func_fabsl" = x""yes; then :
25110 cat >>confdefs.h <<_ACEOF
25111 #define HAVE_FABSL 1
25112 _ACEOF
25115 done
25117 else
25119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
25120 $as_echo_n "checking for _fabsl declaration... " >&6; }
25121 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
25122 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
25123 $as_echo_n "(cached) " >&6
25124 else
25127 ac_ext=cpp
25128 ac_cpp='$CXXCPP $CPPFLAGS'
25129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25134 /* end confdefs.h. */
25135 #include <math.h>
25136 #ifdef HAVE_IEEEFP_H
25137 #include <ieeefp.h>
25138 #endif
25141 main ()
25143 _fabsl(0);
25145 return 0;
25147 _ACEOF
25148 if ac_fn_cxx_try_compile "$LINENO"; then :
25149 glibcxx_cv_func__fabsl_use=yes
25150 else
25151 glibcxx_cv_func__fabsl_use=no
25153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25154 ac_ext=c
25155 ac_cpp='$CPP $CPPFLAGS'
25156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
25165 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
25167 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
25168 for ac_func in _fabsl
25169 do :
25170 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
25171 if test "x$ac_cv_func__fabsl" = x""yes; then :
25172 cat >>confdefs.h <<_ACEOF
25173 #define HAVE__FABSL 1
25174 _ACEOF
25177 done
25186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
25187 $as_echo_n "checking for fmodl declaration... " >&6; }
25188 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
25189 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
25190 $as_echo_n "(cached) " >&6
25191 else
25194 ac_ext=cpp
25195 ac_cpp='$CXXCPP $CPPFLAGS'
25196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25201 /* end confdefs.h. */
25202 #include <math.h>
25204 main ()
25206 fmodl(0, 0);
25208 return 0;
25210 _ACEOF
25211 if ac_fn_cxx_try_compile "$LINENO"; then :
25212 glibcxx_cv_func_fmodl_use=yes
25213 else
25214 glibcxx_cv_func_fmodl_use=no
25216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25217 ac_ext=c
25218 ac_cpp='$CPP $CPPFLAGS'
25219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
25228 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
25230 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
25231 for ac_func in fmodl
25232 do :
25233 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
25234 if test "x$ac_cv_func_fmodl" = x""yes; then :
25235 cat >>confdefs.h <<_ACEOF
25236 #define HAVE_FMODL 1
25237 _ACEOF
25240 done
25242 else
25244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
25245 $as_echo_n "checking for _fmodl declaration... " >&6; }
25246 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
25247 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
25248 $as_echo_n "(cached) " >&6
25249 else
25252 ac_ext=cpp
25253 ac_cpp='$CXXCPP $CPPFLAGS'
25254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25259 /* end confdefs.h. */
25260 #include <math.h>
25262 main ()
25264 _fmodl(0, 0);
25266 return 0;
25268 _ACEOF
25269 if ac_fn_cxx_try_compile "$LINENO"; then :
25270 glibcxx_cv_func__fmodl_use=yes
25271 else
25272 glibcxx_cv_func__fmodl_use=no
25274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25275 ac_ext=c
25276 ac_cpp='$CPP $CPPFLAGS'
25277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
25286 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
25288 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
25289 for ac_func in _fmodl
25290 do :
25291 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
25292 if test "x$ac_cv_func__fmodl" = x""yes; then :
25293 cat >>confdefs.h <<_ACEOF
25294 #define HAVE__FMODL 1
25295 _ACEOF
25298 done
25307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
25308 $as_echo_n "checking for frexpl declaration... " >&6; }
25309 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
25310 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
25311 $as_echo_n "(cached) " >&6
25312 else
25315 ac_ext=cpp
25316 ac_cpp='$CXXCPP $CPPFLAGS'
25317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25322 /* end confdefs.h. */
25323 #include <math.h>
25325 main ()
25327 frexpl(0, 0);
25329 return 0;
25331 _ACEOF
25332 if ac_fn_cxx_try_compile "$LINENO"; then :
25333 glibcxx_cv_func_frexpl_use=yes
25334 else
25335 glibcxx_cv_func_frexpl_use=no
25337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25338 ac_ext=c
25339 ac_cpp='$CPP $CPPFLAGS'
25340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
25349 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
25351 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
25352 for ac_func in frexpl
25353 do :
25354 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
25355 if test "x$ac_cv_func_frexpl" = x""yes; then :
25356 cat >>confdefs.h <<_ACEOF
25357 #define HAVE_FREXPL 1
25358 _ACEOF
25361 done
25363 else
25365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
25366 $as_echo_n "checking for _frexpl declaration... " >&6; }
25367 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
25368 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
25369 $as_echo_n "(cached) " >&6
25370 else
25373 ac_ext=cpp
25374 ac_cpp='$CXXCPP $CPPFLAGS'
25375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25380 /* end confdefs.h. */
25381 #include <math.h>
25383 main ()
25385 _frexpl(0, 0);
25387 return 0;
25389 _ACEOF
25390 if ac_fn_cxx_try_compile "$LINENO"; then :
25391 glibcxx_cv_func__frexpl_use=yes
25392 else
25393 glibcxx_cv_func__frexpl_use=no
25395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25396 ac_ext=c
25397 ac_cpp='$CPP $CPPFLAGS'
25398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
25407 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
25409 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
25410 for ac_func in _frexpl
25411 do :
25412 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
25413 if test "x$ac_cv_func__frexpl" = x""yes; then :
25414 cat >>confdefs.h <<_ACEOF
25415 #define HAVE__FREXPL 1
25416 _ACEOF
25419 done
25428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
25429 $as_echo_n "checking for hypotl declaration... " >&6; }
25430 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
25431 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
25432 $as_echo_n "(cached) " >&6
25433 else
25436 ac_ext=cpp
25437 ac_cpp='$CXXCPP $CPPFLAGS'
25438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25443 /* end confdefs.h. */
25444 #include <math.h>
25446 main ()
25448 hypotl(0, 0);
25450 return 0;
25452 _ACEOF
25453 if ac_fn_cxx_try_compile "$LINENO"; then :
25454 glibcxx_cv_func_hypotl_use=yes
25455 else
25456 glibcxx_cv_func_hypotl_use=no
25458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25459 ac_ext=c
25460 ac_cpp='$CPP $CPPFLAGS'
25461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
25470 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
25472 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
25473 for ac_func in hypotl
25474 do :
25475 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
25476 if test "x$ac_cv_func_hypotl" = x""yes; then :
25477 cat >>confdefs.h <<_ACEOF
25478 #define HAVE_HYPOTL 1
25479 _ACEOF
25482 done
25484 else
25486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
25487 $as_echo_n "checking for _hypotl declaration... " >&6; }
25488 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
25489 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
25490 $as_echo_n "(cached) " >&6
25491 else
25494 ac_ext=cpp
25495 ac_cpp='$CXXCPP $CPPFLAGS'
25496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25501 /* end confdefs.h. */
25502 #include <math.h>
25504 main ()
25506 _hypotl(0, 0);
25508 return 0;
25510 _ACEOF
25511 if ac_fn_cxx_try_compile "$LINENO"; then :
25512 glibcxx_cv_func__hypotl_use=yes
25513 else
25514 glibcxx_cv_func__hypotl_use=no
25516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25517 ac_ext=c
25518 ac_cpp='$CPP $CPPFLAGS'
25519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
25528 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
25530 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
25531 for ac_func in _hypotl
25532 do :
25533 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
25534 if test "x$ac_cv_func__hypotl" = x""yes; then :
25535 cat >>confdefs.h <<_ACEOF
25536 #define HAVE__HYPOTL 1
25537 _ACEOF
25540 done
25549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
25550 $as_echo_n "checking for ldexpl declaration... " >&6; }
25551 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
25552 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
25553 $as_echo_n "(cached) " >&6
25554 else
25557 ac_ext=cpp
25558 ac_cpp='$CXXCPP $CPPFLAGS'
25559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25564 /* end confdefs.h. */
25565 #include <math.h>
25567 main ()
25569 ldexpl(0, 0);
25571 return 0;
25573 _ACEOF
25574 if ac_fn_cxx_try_compile "$LINENO"; then :
25575 glibcxx_cv_func_ldexpl_use=yes
25576 else
25577 glibcxx_cv_func_ldexpl_use=no
25579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25580 ac_ext=c
25581 ac_cpp='$CPP $CPPFLAGS'
25582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
25591 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
25593 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
25594 for ac_func in ldexpl
25595 do :
25596 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
25597 if test "x$ac_cv_func_ldexpl" = x""yes; then :
25598 cat >>confdefs.h <<_ACEOF
25599 #define HAVE_LDEXPL 1
25600 _ACEOF
25603 done
25605 else
25607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
25608 $as_echo_n "checking for _ldexpl declaration... " >&6; }
25609 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
25610 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
25611 $as_echo_n "(cached) " >&6
25612 else
25615 ac_ext=cpp
25616 ac_cpp='$CXXCPP $CPPFLAGS'
25617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25622 /* end confdefs.h. */
25623 #include <math.h>
25625 main ()
25627 _ldexpl(0, 0);
25629 return 0;
25631 _ACEOF
25632 if ac_fn_cxx_try_compile "$LINENO"; then :
25633 glibcxx_cv_func__ldexpl_use=yes
25634 else
25635 glibcxx_cv_func__ldexpl_use=no
25637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25638 ac_ext=c
25639 ac_cpp='$CPP $CPPFLAGS'
25640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
25649 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
25651 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
25652 for ac_func in _ldexpl
25653 do :
25654 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
25655 if test "x$ac_cv_func__ldexpl" = x""yes; then :
25656 cat >>confdefs.h <<_ACEOF
25657 #define HAVE__LDEXPL 1
25658 _ACEOF
25661 done
25670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
25671 $as_echo_n "checking for logl declaration... " >&6; }
25672 if test x${glibcxx_cv_func_logl_use+set} != xset; then
25673 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
25674 $as_echo_n "(cached) " >&6
25675 else
25678 ac_ext=cpp
25679 ac_cpp='$CXXCPP $CPPFLAGS'
25680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25685 /* end confdefs.h. */
25686 #include <math.h>
25687 #ifdef HAVE_IEEEFP_H
25688 #include <ieeefp.h>
25689 #endif
25692 main ()
25694 logl(0);
25696 return 0;
25698 _ACEOF
25699 if ac_fn_cxx_try_compile "$LINENO"; then :
25700 glibcxx_cv_func_logl_use=yes
25701 else
25702 glibcxx_cv_func_logl_use=no
25704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25705 ac_ext=c
25706 ac_cpp='$CPP $CPPFLAGS'
25707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
25716 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
25718 if test x$glibcxx_cv_func_logl_use = x"yes"; then
25719 for ac_func in logl
25720 do :
25721 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
25722 if test "x$ac_cv_func_logl" = x""yes; then :
25723 cat >>confdefs.h <<_ACEOF
25724 #define HAVE_LOGL 1
25725 _ACEOF
25728 done
25730 else
25732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
25733 $as_echo_n "checking for _logl declaration... " >&6; }
25734 if test x${glibcxx_cv_func__logl_use+set} != xset; then
25735 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
25736 $as_echo_n "(cached) " >&6
25737 else
25740 ac_ext=cpp
25741 ac_cpp='$CXXCPP $CPPFLAGS'
25742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25747 /* end confdefs.h. */
25748 #include <math.h>
25749 #ifdef HAVE_IEEEFP_H
25750 #include <ieeefp.h>
25751 #endif
25754 main ()
25756 _logl(0);
25758 return 0;
25760 _ACEOF
25761 if ac_fn_cxx_try_compile "$LINENO"; then :
25762 glibcxx_cv_func__logl_use=yes
25763 else
25764 glibcxx_cv_func__logl_use=no
25766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25767 ac_ext=c
25768 ac_cpp='$CPP $CPPFLAGS'
25769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
25778 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
25780 if test x$glibcxx_cv_func__logl_use = x"yes"; then
25781 for ac_func in _logl
25782 do :
25783 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
25784 if test "x$ac_cv_func__logl" = x""yes; then :
25785 cat >>confdefs.h <<_ACEOF
25786 #define HAVE__LOGL 1
25787 _ACEOF
25790 done
25799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
25800 $as_echo_n "checking for log10l declaration... " >&6; }
25801 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
25802 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
25803 $as_echo_n "(cached) " >&6
25804 else
25807 ac_ext=cpp
25808 ac_cpp='$CXXCPP $CPPFLAGS'
25809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25814 /* end confdefs.h. */
25815 #include <math.h>
25816 #ifdef HAVE_IEEEFP_H
25817 #include <ieeefp.h>
25818 #endif
25821 main ()
25823 log10l(0);
25825 return 0;
25827 _ACEOF
25828 if ac_fn_cxx_try_compile "$LINENO"; then :
25829 glibcxx_cv_func_log10l_use=yes
25830 else
25831 glibcxx_cv_func_log10l_use=no
25833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25834 ac_ext=c
25835 ac_cpp='$CPP $CPPFLAGS'
25836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
25845 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
25847 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
25848 for ac_func in log10l
25849 do :
25850 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
25851 if test "x$ac_cv_func_log10l" = x""yes; then :
25852 cat >>confdefs.h <<_ACEOF
25853 #define HAVE_LOG10L 1
25854 _ACEOF
25857 done
25859 else
25861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
25862 $as_echo_n "checking for _log10l declaration... " >&6; }
25863 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
25864 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
25865 $as_echo_n "(cached) " >&6
25866 else
25869 ac_ext=cpp
25870 ac_cpp='$CXXCPP $CPPFLAGS'
25871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25876 /* end confdefs.h. */
25877 #include <math.h>
25878 #ifdef HAVE_IEEEFP_H
25879 #include <ieeefp.h>
25880 #endif
25883 main ()
25885 _log10l(0);
25887 return 0;
25889 _ACEOF
25890 if ac_fn_cxx_try_compile "$LINENO"; then :
25891 glibcxx_cv_func__log10l_use=yes
25892 else
25893 glibcxx_cv_func__log10l_use=no
25895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25896 ac_ext=c
25897 ac_cpp='$CPP $CPPFLAGS'
25898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
25907 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
25909 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
25910 for ac_func in _log10l
25911 do :
25912 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
25913 if test "x$ac_cv_func__log10l" = x""yes; then :
25914 cat >>confdefs.h <<_ACEOF
25915 #define HAVE__LOG10L 1
25916 _ACEOF
25919 done
25928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
25929 $as_echo_n "checking for modfl declaration... " >&6; }
25930 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
25931 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
25932 $as_echo_n "(cached) " >&6
25933 else
25936 ac_ext=cpp
25937 ac_cpp='$CXXCPP $CPPFLAGS'
25938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25943 /* end confdefs.h. */
25944 #include <math.h>
25946 main ()
25948 modfl(0, 0);
25950 return 0;
25952 _ACEOF
25953 if ac_fn_cxx_try_compile "$LINENO"; then :
25954 glibcxx_cv_func_modfl_use=yes
25955 else
25956 glibcxx_cv_func_modfl_use=no
25958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25959 ac_ext=c
25960 ac_cpp='$CPP $CPPFLAGS'
25961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
25970 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
25972 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
25973 for ac_func in modfl
25974 do :
25975 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
25976 if test "x$ac_cv_func_modfl" = x""yes; then :
25977 cat >>confdefs.h <<_ACEOF
25978 #define HAVE_MODFL 1
25979 _ACEOF
25982 done
25984 else
25986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
25987 $as_echo_n "checking for _modfl declaration... " >&6; }
25988 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
25989 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
25990 $as_echo_n "(cached) " >&6
25991 else
25994 ac_ext=cpp
25995 ac_cpp='$CXXCPP $CPPFLAGS'
25996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26001 /* end confdefs.h. */
26002 #include <math.h>
26004 main ()
26006 _modfl(0, 0);
26008 return 0;
26010 _ACEOF
26011 if ac_fn_cxx_try_compile "$LINENO"; then :
26012 glibcxx_cv_func__modfl_use=yes
26013 else
26014 glibcxx_cv_func__modfl_use=no
26016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26017 ac_ext=c
26018 ac_cpp='$CPP $CPPFLAGS'
26019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
26028 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
26030 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
26031 for ac_func in _modfl
26032 do :
26033 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
26034 if test "x$ac_cv_func__modfl" = x""yes; then :
26035 cat >>confdefs.h <<_ACEOF
26036 #define HAVE__MODFL 1
26037 _ACEOF
26040 done
26049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
26050 $as_echo_n "checking for powl declaration... " >&6; }
26051 if test x${glibcxx_cv_func_powl_use+set} != xset; then
26052 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
26053 $as_echo_n "(cached) " >&6
26054 else
26057 ac_ext=cpp
26058 ac_cpp='$CXXCPP $CPPFLAGS'
26059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26064 /* end confdefs.h. */
26065 #include <math.h>
26067 main ()
26069 powl(0, 0);
26071 return 0;
26073 _ACEOF
26074 if ac_fn_cxx_try_compile "$LINENO"; then :
26075 glibcxx_cv_func_powl_use=yes
26076 else
26077 glibcxx_cv_func_powl_use=no
26079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26080 ac_ext=c
26081 ac_cpp='$CPP $CPPFLAGS'
26082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
26091 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
26093 if test x$glibcxx_cv_func_powl_use = x"yes"; then
26094 for ac_func in powl
26095 do :
26096 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
26097 if test "x$ac_cv_func_powl" = x""yes; then :
26098 cat >>confdefs.h <<_ACEOF
26099 #define HAVE_POWL 1
26100 _ACEOF
26103 done
26105 else
26107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
26108 $as_echo_n "checking for _powl declaration... " >&6; }
26109 if test x${glibcxx_cv_func__powl_use+set} != xset; then
26110 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
26111 $as_echo_n "(cached) " >&6
26112 else
26115 ac_ext=cpp
26116 ac_cpp='$CXXCPP $CPPFLAGS'
26117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26122 /* end confdefs.h. */
26123 #include <math.h>
26125 main ()
26127 _powl(0, 0);
26129 return 0;
26131 _ACEOF
26132 if ac_fn_cxx_try_compile "$LINENO"; then :
26133 glibcxx_cv_func__powl_use=yes
26134 else
26135 glibcxx_cv_func__powl_use=no
26137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26138 ac_ext=c
26139 ac_cpp='$CPP $CPPFLAGS'
26140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
26149 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
26151 if test x$glibcxx_cv_func__powl_use = x"yes"; then
26152 for ac_func in _powl
26153 do :
26154 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
26155 if test "x$ac_cv_func__powl" = x""yes; then :
26156 cat >>confdefs.h <<_ACEOF
26157 #define HAVE__POWL 1
26158 _ACEOF
26161 done
26170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
26171 $as_echo_n "checking for sqrtl declaration... " >&6; }
26172 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
26173 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
26174 $as_echo_n "(cached) " >&6
26175 else
26178 ac_ext=cpp
26179 ac_cpp='$CXXCPP $CPPFLAGS'
26180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26185 /* end confdefs.h. */
26186 #include <math.h>
26187 #ifdef HAVE_IEEEFP_H
26188 #include <ieeefp.h>
26189 #endif
26192 main ()
26194 sqrtl(0);
26196 return 0;
26198 _ACEOF
26199 if ac_fn_cxx_try_compile "$LINENO"; then :
26200 glibcxx_cv_func_sqrtl_use=yes
26201 else
26202 glibcxx_cv_func_sqrtl_use=no
26204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26205 ac_ext=c
26206 ac_cpp='$CPP $CPPFLAGS'
26207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
26216 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
26218 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
26219 for ac_func in sqrtl
26220 do :
26221 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
26222 if test "x$ac_cv_func_sqrtl" = x""yes; then :
26223 cat >>confdefs.h <<_ACEOF
26224 #define HAVE_SQRTL 1
26225 _ACEOF
26228 done
26230 else
26232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
26233 $as_echo_n "checking for _sqrtl declaration... " >&6; }
26234 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
26235 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
26236 $as_echo_n "(cached) " >&6
26237 else
26240 ac_ext=cpp
26241 ac_cpp='$CXXCPP $CPPFLAGS'
26242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26247 /* end confdefs.h. */
26248 #include <math.h>
26249 #ifdef HAVE_IEEEFP_H
26250 #include <ieeefp.h>
26251 #endif
26254 main ()
26256 _sqrtl(0);
26258 return 0;
26260 _ACEOF
26261 if ac_fn_cxx_try_compile "$LINENO"; then :
26262 glibcxx_cv_func__sqrtl_use=yes
26263 else
26264 glibcxx_cv_func__sqrtl_use=no
26266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26267 ac_ext=c
26268 ac_cpp='$CPP $CPPFLAGS'
26269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
26278 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
26280 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
26281 for ac_func in _sqrtl
26282 do :
26283 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
26284 if test "x$ac_cv_func__sqrtl" = x""yes; then :
26285 cat >>confdefs.h <<_ACEOF
26286 #define HAVE__SQRTL 1
26287 _ACEOF
26290 done
26299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
26300 $as_echo_n "checking for sincosl declaration... " >&6; }
26301 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
26302 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
26303 $as_echo_n "(cached) " >&6
26304 else
26307 ac_ext=cpp
26308 ac_cpp='$CXXCPP $CPPFLAGS'
26309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26314 /* end confdefs.h. */
26315 #include <math.h>
26317 main ()
26319 sincosl(0, 0, 0);
26321 return 0;
26323 _ACEOF
26324 if ac_fn_cxx_try_compile "$LINENO"; then :
26325 glibcxx_cv_func_sincosl_use=yes
26326 else
26327 glibcxx_cv_func_sincosl_use=no
26329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26330 ac_ext=c
26331 ac_cpp='$CPP $CPPFLAGS'
26332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
26341 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
26343 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
26344 for ac_func in sincosl
26345 do :
26346 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
26347 if test "x$ac_cv_func_sincosl" = x""yes; then :
26348 cat >>confdefs.h <<_ACEOF
26349 #define HAVE_SINCOSL 1
26350 _ACEOF
26353 done
26355 else
26357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
26358 $as_echo_n "checking for _sincosl declaration... " >&6; }
26359 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
26360 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
26361 $as_echo_n "(cached) " >&6
26362 else
26365 ac_ext=cpp
26366 ac_cpp='$CXXCPP $CPPFLAGS'
26367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26372 /* end confdefs.h. */
26373 #include <math.h>
26375 main ()
26377 _sincosl(0, 0, 0);
26379 return 0;
26381 _ACEOF
26382 if ac_fn_cxx_try_compile "$LINENO"; then :
26383 glibcxx_cv_func__sincosl_use=yes
26384 else
26385 glibcxx_cv_func__sincosl_use=no
26387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26388 ac_ext=c
26389 ac_cpp='$CPP $CPPFLAGS'
26390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
26399 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
26401 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
26402 for ac_func in _sincosl
26403 do :
26404 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
26405 if test "x$ac_cv_func__sincosl" = x""yes; then :
26406 cat >>confdefs.h <<_ACEOF
26407 #define HAVE__SINCOSL 1
26408 _ACEOF
26411 done
26420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
26421 $as_echo_n "checking for finitel declaration... " >&6; }
26422 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
26423 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
26424 $as_echo_n "(cached) " >&6
26425 else
26428 ac_ext=cpp
26429 ac_cpp='$CXXCPP $CPPFLAGS'
26430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26435 /* end confdefs.h. */
26436 #include <math.h>
26437 #ifdef HAVE_IEEEFP_H
26438 #include <ieeefp.h>
26439 #endif
26442 main ()
26444 finitel(0);
26446 return 0;
26448 _ACEOF
26449 if ac_fn_cxx_try_compile "$LINENO"; then :
26450 glibcxx_cv_func_finitel_use=yes
26451 else
26452 glibcxx_cv_func_finitel_use=no
26454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26455 ac_ext=c
26456 ac_cpp='$CPP $CPPFLAGS'
26457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
26466 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
26468 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
26469 for ac_func in finitel
26470 do :
26471 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
26472 if test "x$ac_cv_func_finitel" = x""yes; then :
26473 cat >>confdefs.h <<_ACEOF
26474 #define HAVE_FINITEL 1
26475 _ACEOF
26478 done
26480 else
26482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
26483 $as_echo_n "checking for _finitel declaration... " >&6; }
26484 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
26485 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
26486 $as_echo_n "(cached) " >&6
26487 else
26490 ac_ext=cpp
26491 ac_cpp='$CXXCPP $CPPFLAGS'
26492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26497 /* end confdefs.h. */
26498 #include <math.h>
26499 #ifdef HAVE_IEEEFP_H
26500 #include <ieeefp.h>
26501 #endif
26504 main ()
26506 _finitel(0);
26508 return 0;
26510 _ACEOF
26511 if ac_fn_cxx_try_compile "$LINENO"; then :
26512 glibcxx_cv_func__finitel_use=yes
26513 else
26514 glibcxx_cv_func__finitel_use=no
26516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26517 ac_ext=c
26518 ac_cpp='$CPP $CPPFLAGS'
26519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
26528 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
26530 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
26531 for ac_func in _finitel
26532 do :
26533 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
26534 if test "x$ac_cv_func__finitel" = x""yes; then :
26535 cat >>confdefs.h <<_ACEOF
26536 #define HAVE__FINITEL 1
26537 _ACEOF
26540 done
26548 LIBS="$ac_save_LIBS"
26549 CXXFLAGS="$ac_save_CXXFLAGS"
26552 ac_test_CXXFLAGS="${CXXFLAGS+set}"
26553 ac_save_CXXFLAGS="$CXXFLAGS"
26554 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
26557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
26558 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
26559 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
26560 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
26561 $as_echo_n "(cached) " >&6
26562 else
26565 ac_ext=cpp
26566 ac_cpp='$CXXCPP $CPPFLAGS'
26567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26572 /* end confdefs.h. */
26573 #include <stdlib.h>
26575 main ()
26577 at_quick_exit(0);
26579 return 0;
26581 _ACEOF
26582 if ac_fn_cxx_try_compile "$LINENO"; then :
26583 glibcxx_cv_func_at_quick_exit_use=yes
26584 else
26585 glibcxx_cv_func_at_quick_exit_use=no
26587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26588 ac_ext=c
26589 ac_cpp='$CPP $CPPFLAGS'
26590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
26599 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
26600 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
26601 for ac_func in at_quick_exit
26602 do :
26603 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
26604 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
26605 cat >>confdefs.h <<_ACEOF
26606 #define HAVE_AT_QUICK_EXIT 1
26607 _ACEOF
26610 done
26615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
26616 $as_echo_n "checking for quick_exit declaration... " >&6; }
26617 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
26618 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
26619 $as_echo_n "(cached) " >&6
26620 else
26623 ac_ext=cpp
26624 ac_cpp='$CXXCPP $CPPFLAGS'
26625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26630 /* end confdefs.h. */
26631 #include <stdlib.h>
26633 main ()
26635 quick_exit(0);
26637 return 0;
26639 _ACEOF
26640 if ac_fn_cxx_try_compile "$LINENO"; then :
26641 glibcxx_cv_func_quick_exit_use=yes
26642 else
26643 glibcxx_cv_func_quick_exit_use=no
26645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26646 ac_ext=c
26647 ac_cpp='$CPP $CPPFLAGS'
26648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
26657 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
26658 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
26659 for ac_func in quick_exit
26660 do :
26661 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
26662 if test "x$ac_cv_func_quick_exit" = x""yes; then :
26663 cat >>confdefs.h <<_ACEOF
26664 #define HAVE_QUICK_EXIT 1
26665 _ACEOF
26668 done
26673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
26674 $as_echo_n "checking for strtold declaration... " >&6; }
26675 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
26676 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
26677 $as_echo_n "(cached) " >&6
26678 else
26681 ac_ext=cpp
26682 ac_cpp='$CXXCPP $CPPFLAGS'
26683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26688 /* end confdefs.h. */
26689 #include <stdlib.h>
26691 main ()
26693 strtold(0, 0);
26695 return 0;
26697 _ACEOF
26698 if ac_fn_cxx_try_compile "$LINENO"; then :
26699 glibcxx_cv_func_strtold_use=yes
26700 else
26701 glibcxx_cv_func_strtold_use=no
26703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26704 ac_ext=c
26705 ac_cpp='$CPP $CPPFLAGS'
26706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
26715 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
26716 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
26717 for ac_func in strtold
26718 do :
26719 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
26720 if test "x$ac_cv_func_strtold" = x""yes; then :
26721 cat >>confdefs.h <<_ACEOF
26722 #define HAVE_STRTOLD 1
26723 _ACEOF
26726 done
26733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
26734 $as_echo_n "checking for strtof declaration... " >&6; }
26735 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
26736 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
26737 $as_echo_n "(cached) " >&6
26738 else
26741 ac_ext=cpp
26742 ac_cpp='$CXXCPP $CPPFLAGS'
26743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26748 /* end confdefs.h. */
26749 #include <stdlib.h>
26751 main ()
26753 strtof(0, 0);
26755 return 0;
26757 _ACEOF
26758 if ac_fn_cxx_try_compile "$LINENO"; then :
26759 glibcxx_cv_func_strtof_use=yes
26760 else
26761 glibcxx_cv_func_strtof_use=no
26763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26764 ac_ext=c
26765 ac_cpp='$CPP $CPPFLAGS'
26766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
26775 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
26776 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
26777 for ac_func in strtof
26778 do :
26779 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
26780 if test "x$ac_cv_func_strtof" = x""yes; then :
26781 cat >>confdefs.h <<_ACEOF
26782 #define HAVE_STRTOF 1
26783 _ACEOF
26786 done
26793 CXXFLAGS="$ac_save_CXXFLAGS"
26796 # For /dev/random and /dev/urandom for TR1.
26799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
26800 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
26801 if test "${glibcxx_cv_random_tr1+set}" = set; then :
26802 $as_echo_n "(cached) " >&6
26803 else
26805 if test -r /dev/random && test -r /dev/urandom; then
26806 ## For MSys environment the test above is detect as false-positive
26807 ## on mingw-targets. So disable it explicit for them.
26808 case ${target_os} in
26809 *mingw*) glibcxx_cv_random_tr1=no ;;
26810 *) glibcxx_cv_random_tr1=yes ;;
26811 esac
26812 else
26813 glibcxx_cv_random_tr1=no;
26818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
26819 $as_echo "$glibcxx_cv_random_tr1" >&6; }
26821 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
26823 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
26829 # For TLS support.
26832 # Check whether --enable-tls was given.
26833 if test "${enable_tls+set}" = set; then :
26834 enableval=$enable_tls;
26835 case "$enableval" in
26836 yes|no) ;;
26837 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
26838 esac
26840 else
26841 enable_tls=yes
26845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
26846 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
26847 if test "${gcc_cv_have_tls+set}" = set; then :
26848 $as_echo_n "(cached) " >&6
26849 else
26851 if test "$cross_compiling" = yes; then :
26852 if test x$gcc_no_link = xyes; then
26853 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26856 /* end confdefs.h. */
26857 __thread int a; int b; int main() { return a = b; }
26858 _ACEOF
26859 if ac_fn_c_try_link "$LINENO"; then :
26860 chktls_save_LDFLAGS="$LDFLAGS"
26861 case $host in
26862 *-*-linux*)
26863 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
26865 esac
26866 chktls_save_CFLAGS="$CFLAGS"
26867 CFLAGS="-fPIC $CFLAGS"
26868 if test x$gcc_no_link = xyes; then
26869 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26872 /* end confdefs.h. */
26873 int f() { return 0; }
26874 _ACEOF
26875 if ac_fn_c_try_link "$LINENO"; then :
26876 if test x$gcc_no_link = xyes; then
26877 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26880 /* end confdefs.h. */
26881 __thread int a; int b; int f() { return a = b; }
26882 _ACEOF
26883 if ac_fn_c_try_link "$LINENO"; then :
26884 gcc_cv_have_tls=yes
26885 else
26886 gcc_cv_have_tls=no
26888 rm -f core conftest.err conftest.$ac_objext \
26889 conftest$ac_exeext conftest.$ac_ext
26890 else
26891 gcc_cv_have_tls=yes
26893 rm -f core conftest.err conftest.$ac_objext \
26894 conftest$ac_exeext conftest.$ac_ext
26895 CFLAGS="$chktls_save_CFLAGS"
26896 LDFLAGS="$chktls_save_LDFLAGS"
26897 else
26898 gcc_cv_have_tls=no
26900 rm -f core conftest.err conftest.$ac_objext \
26901 conftest$ac_exeext conftest.$ac_ext
26904 else
26905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26906 /* end confdefs.h. */
26907 __thread int a; int b; int main() { return a = b; }
26908 _ACEOF
26909 if ac_fn_c_try_run "$LINENO"; then :
26910 chktls_save_LDFLAGS="$LDFLAGS"
26911 LDFLAGS="-static $LDFLAGS"
26912 if test x$gcc_no_link = xyes; then
26913 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26916 /* end confdefs.h. */
26917 int main() { return 0; }
26918 _ACEOF
26919 if ac_fn_c_try_link "$LINENO"; then :
26920 if test "$cross_compiling" = yes; then :
26921 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26922 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26923 as_fn_error "cannot run test program while cross compiling
26924 See \`config.log' for more details." "$LINENO" 5; }
26925 else
26926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26927 /* end confdefs.h. */
26928 __thread int a; int b; int main() { return a = b; }
26929 _ACEOF
26930 if ac_fn_c_try_run "$LINENO"; then :
26931 gcc_cv_have_tls=yes
26932 else
26933 gcc_cv_have_tls=no
26935 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26936 conftest.$ac_objext conftest.beam conftest.$ac_ext
26939 else
26940 gcc_cv_have_tls=yes
26942 rm -f core conftest.err conftest.$ac_objext \
26943 conftest$ac_exeext conftest.$ac_ext
26944 LDFLAGS="$chktls_save_LDFLAGS"
26945 if test $gcc_cv_have_tls = yes; then
26946 chktls_save_CFLAGS="$CFLAGS"
26947 thread_CFLAGS=failed
26948 for flag in '' '-pthread' '-lpthread'; do
26949 CFLAGS="$flag $chktls_save_CFLAGS"
26950 if test x$gcc_no_link = xyes; then
26951 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26954 /* end confdefs.h. */
26955 #include <pthread.h>
26956 void *g(void *d) { return NULL; }
26958 main ()
26960 pthread_t t; pthread_create(&t,NULL,g,NULL);
26962 return 0;
26964 _ACEOF
26965 if ac_fn_c_try_link "$LINENO"; then :
26966 thread_CFLAGS="$flag"
26968 rm -f core conftest.err conftest.$ac_objext \
26969 conftest$ac_exeext conftest.$ac_ext
26970 if test "X$thread_CFLAGS" != Xfailed; then
26971 break
26973 done
26974 CFLAGS="$chktls_save_CFLAGS"
26975 if test "X$thread_CFLAGS" != Xfailed; then
26976 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
26977 if test "$cross_compiling" = yes; then :
26978 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26979 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26980 as_fn_error "cannot run test program while cross compiling
26981 See \`config.log' for more details." "$LINENO" 5; }
26982 else
26983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26984 /* end confdefs.h. */
26985 #include <pthread.h>
26986 __thread int a;
26987 static int *volatile a_in_other_thread;
26988 static void *
26989 thread_func (void *arg)
26991 a_in_other_thread = &a;
26992 return (void *)0;
26995 main ()
26997 pthread_t thread;
26998 void *thread_retval;
26999 int *volatile a_in_main_thread;
27000 a_in_main_thread = &a;
27001 if (pthread_create (&thread, (pthread_attr_t *)0,
27002 thread_func, (void *)0))
27003 return 0;
27004 if (pthread_join (thread, &thread_retval))
27005 return 0;
27006 return (a_in_other_thread == a_in_main_thread);
27008 return 0;
27010 _ACEOF
27011 if ac_fn_c_try_run "$LINENO"; then :
27012 gcc_cv_have_tls=yes
27013 else
27014 gcc_cv_have_tls=no
27016 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27017 conftest.$ac_objext conftest.beam conftest.$ac_ext
27020 CFLAGS="$chktls_save_CFLAGS"
27023 else
27024 gcc_cv_have_tls=no
27026 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27027 conftest.$ac_objext conftest.beam conftest.$ac_ext
27031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
27032 $as_echo "$gcc_cv_have_tls" >&6; }
27033 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
27035 $as_echo "#define HAVE_TLS 1" >>confdefs.h
27039 for ac_func in __cxa_thread_atexit_impl
27040 do :
27041 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
27042 if test "x$ac_cv_func___cxa_thread_atexit_impl" = x""yes; then :
27043 cat >>confdefs.h <<_ACEOF
27044 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
27045 _ACEOF
27048 done
27051 # For iconv support.
27053 if test "X$prefix" = "XNONE"; then
27054 acl_final_prefix="$ac_default_prefix"
27055 else
27056 acl_final_prefix="$prefix"
27058 if test "X$exec_prefix" = "XNONE"; then
27059 acl_final_exec_prefix='${prefix}'
27060 else
27061 acl_final_exec_prefix="$exec_prefix"
27063 acl_save_prefix="$prefix"
27064 prefix="$acl_final_prefix"
27065 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
27066 prefix="$acl_save_prefix"
27069 # Check whether --with-gnu-ld was given.
27070 if test "${with_gnu_ld+set}" = set; then :
27071 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
27072 else
27073 with_gnu_ld=no
27076 # Prepare PATH_SEPARATOR.
27077 # The user is always right.
27078 if test "${PATH_SEPARATOR+set}" != set; then
27079 echo "#! /bin/sh" >conf$$.sh
27080 echo "exit 0" >>conf$$.sh
27081 chmod +x conf$$.sh
27082 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
27083 PATH_SEPARATOR=';'
27084 else
27085 PATH_SEPARATOR=:
27087 rm -f conf$$.sh
27089 ac_prog=ld
27090 if test "$GCC" = yes; then
27091 # Check if gcc -print-prog-name=ld gives a path.
27092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
27093 $as_echo_n "checking for ld used by GCC... " >&6; }
27094 case $host in
27095 *-*-mingw*)
27096 # gcc leaves a trailing carriage return which upsets mingw
27097 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
27099 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
27100 esac
27101 case $ac_prog in
27102 # Accept absolute paths.
27103 [\\/]* | [A-Za-z]:[\\/]*)
27104 re_direlt='/[^/][^/]*/\.\./'
27105 # Canonicalize the path of ld
27106 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
27107 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
27108 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
27109 done
27110 test -z "$LD" && LD="$ac_prog"
27113 # If it fails, then pretend we aren't using GCC.
27114 ac_prog=ld
27117 # If it is relative, then search for the first ld in PATH.
27118 with_gnu_ld=unknown
27120 esac
27121 elif test "$with_gnu_ld" = yes; then
27122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
27123 $as_echo_n "checking for GNU ld... " >&6; }
27124 else
27125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
27126 $as_echo_n "checking for non-GNU ld... " >&6; }
27128 if test "${acl_cv_path_LD+set}" = set; then :
27129 $as_echo_n "(cached) " >&6
27130 else
27131 if test -z "$LD"; then
27132 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
27133 for ac_dir in $PATH; do
27134 test -z "$ac_dir" && ac_dir=.
27135 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
27136 acl_cv_path_LD="$ac_dir/$ac_prog"
27137 # Check to see if the program is GNU ld. I'd rather use --version,
27138 # but apparently some GNU ld's only accept -v.
27139 # Break only if it was the GNU/non-GNU ld that we prefer.
27140 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
27141 test "$with_gnu_ld" != no && break
27142 else
27143 test "$with_gnu_ld" != yes && break
27146 done
27147 IFS="$ac_save_ifs"
27148 else
27149 acl_cv_path_LD="$LD" # Let the user override the test with a path.
27153 LD="$acl_cv_path_LD"
27154 if test -n "$LD"; then
27155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
27156 $as_echo "$LD" >&6; }
27157 else
27158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27159 $as_echo "no" >&6; }
27161 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
27162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
27163 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
27164 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
27165 $as_echo_n "(cached) " >&6
27166 else
27167 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
27168 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
27169 acl_cv_prog_gnu_ld=yes
27170 else
27171 acl_cv_prog_gnu_ld=no
27174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
27175 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
27176 with_gnu_ld=$acl_cv_prog_gnu_ld
27180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
27181 $as_echo_n "checking for shared library run path origin... " >&6; }
27182 if test "${acl_cv_rpath+set}" = set; then :
27183 $as_echo_n "(cached) " >&6
27184 else
27186 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
27187 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
27188 . ./conftest.sh
27189 rm -f ./conftest.sh
27190 acl_cv_rpath=done
27193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
27194 $as_echo "$acl_cv_rpath" >&6; }
27195 wl="$acl_cv_wl"
27196 libext="$acl_cv_libext"
27197 shlibext="$acl_cv_shlibext"
27198 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
27199 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
27200 hardcode_direct="$acl_cv_hardcode_direct"
27201 hardcode_minus_L="$acl_cv_hardcode_minus_L"
27202 # Check whether --enable-rpath was given.
27203 if test "${enable_rpath+set}" = set; then :
27204 enableval=$enable_rpath; :
27205 else
27206 enable_rpath=yes
27216 use_additional=yes
27218 acl_save_prefix="$prefix"
27219 prefix="$acl_final_prefix"
27220 acl_save_exec_prefix="$exec_prefix"
27221 exec_prefix="$acl_final_exec_prefix"
27223 eval additional_includedir=\"$includedir\"
27224 eval additional_libdir=\"$libdir\"
27226 exec_prefix="$acl_save_exec_prefix"
27227 prefix="$acl_save_prefix"
27230 # Check whether --with-libiconv-prefix was given.
27231 if test "${with_libiconv_prefix+set}" = set; then :
27232 withval=$with_libiconv_prefix;
27233 if test "X$withval" = "Xno"; then
27234 use_additional=no
27235 else
27236 if test "X$withval" = "X"; then
27238 acl_save_prefix="$prefix"
27239 prefix="$acl_final_prefix"
27240 acl_save_exec_prefix="$exec_prefix"
27241 exec_prefix="$acl_final_exec_prefix"
27243 eval additional_includedir=\"$includedir\"
27244 eval additional_libdir=\"$libdir\"
27246 exec_prefix="$acl_save_exec_prefix"
27247 prefix="$acl_save_prefix"
27249 else
27250 additional_includedir="$withval/include"
27251 additional_libdir="$withval/lib"
27257 LIBICONV=
27258 LTLIBICONV=
27259 INCICONV=
27260 rpathdirs=
27261 ltrpathdirs=
27262 names_already_handled=
27263 names_next_round='iconv '
27264 while test -n "$names_next_round"; do
27265 names_this_round="$names_next_round"
27266 names_next_round=
27267 for name in $names_this_round; do
27268 already_handled=
27269 for n in $names_already_handled; do
27270 if test "$n" = "$name"; then
27271 already_handled=yes
27272 break
27274 done
27275 if test -z "$already_handled"; then
27276 names_already_handled="$names_already_handled $name"
27277 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
27278 eval value=\"\$HAVE_LIB$uppername\"
27279 if test -n "$value"; then
27280 if test "$value" = yes; then
27281 eval value=\"\$LIB$uppername\"
27282 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
27283 eval value=\"\$LTLIB$uppername\"
27284 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
27285 else
27288 else
27289 found_dir=
27290 found_la=
27291 found_so=
27292 found_a=
27293 if test $use_additional = yes; then
27294 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
27295 found_dir="$additional_libdir"
27296 found_so="$additional_libdir/lib$name.$shlibext"
27297 if test -f "$additional_libdir/lib$name.la"; then
27298 found_la="$additional_libdir/lib$name.la"
27300 else
27301 if test -f "$additional_libdir/lib$name.$libext"; then
27302 found_dir="$additional_libdir"
27303 found_a="$additional_libdir/lib$name.$libext"
27304 if test -f "$additional_libdir/lib$name.la"; then
27305 found_la="$additional_libdir/lib$name.la"
27310 if test "X$found_dir" = "X"; then
27311 for x in $LDFLAGS $LTLIBICONV; do
27313 acl_save_prefix="$prefix"
27314 prefix="$acl_final_prefix"
27315 acl_save_exec_prefix="$exec_prefix"
27316 exec_prefix="$acl_final_exec_prefix"
27317 eval x=\"$x\"
27318 exec_prefix="$acl_save_exec_prefix"
27319 prefix="$acl_save_prefix"
27321 case "$x" in
27322 -L*)
27323 dir=`echo "X$x" | sed -e 's/^X-L//'`
27324 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
27325 found_dir="$dir"
27326 found_so="$dir/lib$name.$shlibext"
27327 if test -f "$dir/lib$name.la"; then
27328 found_la="$dir/lib$name.la"
27330 else
27331 if test -f "$dir/lib$name.$libext"; then
27332 found_dir="$dir"
27333 found_a="$dir/lib$name.$libext"
27334 if test -f "$dir/lib$name.la"; then
27335 found_la="$dir/lib$name.la"
27340 esac
27341 if test "X$found_dir" != "X"; then
27342 break
27344 done
27346 if test "X$found_dir" != "X"; then
27347 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
27348 if test "X$found_so" != "X"; then
27349 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
27350 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27351 else
27352 haveit=
27353 for x in $ltrpathdirs; do
27354 if test "X$x" = "X$found_dir"; then
27355 haveit=yes
27356 break
27358 done
27359 if test -z "$haveit"; then
27360 ltrpathdirs="$ltrpathdirs $found_dir"
27362 if test "$hardcode_direct" = yes; then
27363 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27364 else
27365 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
27366 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27367 haveit=
27368 for x in $rpathdirs; do
27369 if test "X$x" = "X$found_dir"; then
27370 haveit=yes
27371 break
27373 done
27374 if test -z "$haveit"; then
27375 rpathdirs="$rpathdirs $found_dir"
27377 else
27378 haveit=
27379 for x in $LDFLAGS $LIBICONV; do
27381 acl_save_prefix="$prefix"
27382 prefix="$acl_final_prefix"
27383 acl_save_exec_prefix="$exec_prefix"
27384 exec_prefix="$acl_final_exec_prefix"
27385 eval x=\"$x\"
27386 exec_prefix="$acl_save_exec_prefix"
27387 prefix="$acl_save_prefix"
27389 if test "X$x" = "X-L$found_dir"; then
27390 haveit=yes
27391 break
27393 done
27394 if test -z "$haveit"; then
27395 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
27397 if test "$hardcode_minus_L" != no; then
27398 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27399 else
27400 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
27405 else
27406 if test "X$found_a" != "X"; then
27407 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
27408 else
27409 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
27412 additional_includedir=
27413 case "$found_dir" in
27414 */lib | */lib/)
27415 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
27416 additional_includedir="$basedir/include"
27418 esac
27419 if test "X$additional_includedir" != "X"; then
27420 if test "X$additional_includedir" != "X/usr/include"; then
27421 haveit=
27422 if test "X$additional_includedir" = "X/usr/local/include"; then
27423 if test -n "$GCC"; then
27424 case $host_os in
27425 linux*) haveit=yes;;
27426 esac
27429 if test -z "$haveit"; then
27430 for x in $CPPFLAGS $INCICONV; do
27432 acl_save_prefix="$prefix"
27433 prefix="$acl_final_prefix"
27434 acl_save_exec_prefix="$exec_prefix"
27435 exec_prefix="$acl_final_exec_prefix"
27436 eval x=\"$x\"
27437 exec_prefix="$acl_save_exec_prefix"
27438 prefix="$acl_save_prefix"
27440 if test "X$x" = "X-I$additional_includedir"; then
27441 haveit=yes
27442 break
27444 done
27445 if test -z "$haveit"; then
27446 if test -d "$additional_includedir"; then
27447 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
27453 if test -n "$found_la"; then
27454 save_libdir="$libdir"
27455 case "$found_la" in
27456 */* | *\\*) . "$found_la" ;;
27457 *) . "./$found_la" ;;
27458 esac
27459 libdir="$save_libdir"
27460 for dep in $dependency_libs; do
27461 case "$dep" in
27462 -L*)
27463 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
27464 if test "X$additional_libdir" != "X/usr/lib"; then
27465 haveit=
27466 if test "X$additional_libdir" = "X/usr/local/lib"; then
27467 if test -n "$GCC"; then
27468 case $host_os in
27469 linux*) haveit=yes;;
27470 esac
27473 if test -z "$haveit"; then
27474 haveit=
27475 for x in $LDFLAGS $LIBICONV; do
27477 acl_save_prefix="$prefix"
27478 prefix="$acl_final_prefix"
27479 acl_save_exec_prefix="$exec_prefix"
27480 exec_prefix="$acl_final_exec_prefix"
27481 eval x=\"$x\"
27482 exec_prefix="$acl_save_exec_prefix"
27483 prefix="$acl_save_prefix"
27485 if test "X$x" = "X-L$additional_libdir"; then
27486 haveit=yes
27487 break
27489 done
27490 if test -z "$haveit"; then
27491 if test -d "$additional_libdir"; then
27492 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
27495 haveit=
27496 for x in $LDFLAGS $LTLIBICONV; do
27498 acl_save_prefix="$prefix"
27499 prefix="$acl_final_prefix"
27500 acl_save_exec_prefix="$exec_prefix"
27501 exec_prefix="$acl_final_exec_prefix"
27502 eval x=\"$x\"
27503 exec_prefix="$acl_save_exec_prefix"
27504 prefix="$acl_save_prefix"
27506 if test "X$x" = "X-L$additional_libdir"; then
27507 haveit=yes
27508 break
27510 done
27511 if test -z "$haveit"; then
27512 if test -d "$additional_libdir"; then
27513 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
27519 -R*)
27520 dir=`echo "X$dep" | sed -e 's/^X-R//'`
27521 if test "$enable_rpath" != no; then
27522 haveit=
27523 for x in $rpathdirs; do
27524 if test "X$x" = "X$dir"; then
27525 haveit=yes
27526 break
27528 done
27529 if test -z "$haveit"; then
27530 rpathdirs="$rpathdirs $dir"
27532 haveit=
27533 for x in $ltrpathdirs; do
27534 if test "X$x" = "X$dir"; then
27535 haveit=yes
27536 break
27538 done
27539 if test -z "$haveit"; then
27540 ltrpathdirs="$ltrpathdirs $dir"
27544 -l*)
27545 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
27547 *.la)
27548 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
27551 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
27552 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
27554 esac
27555 done
27557 else
27558 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
27559 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
27563 done
27564 done
27565 if test "X$rpathdirs" != "X"; then
27566 if test -n "$hardcode_libdir_separator"; then
27567 alldirs=
27568 for found_dir in $rpathdirs; do
27569 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
27570 done
27571 acl_save_libdir="$libdir"
27572 libdir="$alldirs"
27573 eval flag=\"$hardcode_libdir_flag_spec\"
27574 libdir="$acl_save_libdir"
27575 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27576 else
27577 for found_dir in $rpathdirs; do
27578 acl_save_libdir="$libdir"
27579 libdir="$found_dir"
27580 eval flag=\"$hardcode_libdir_flag_spec\"
27581 libdir="$acl_save_libdir"
27582 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27583 done
27586 if test "X$ltrpathdirs" != "X"; then
27587 for found_dir in $ltrpathdirs; do
27588 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
27589 done
27598 am_save_CPPFLAGS="$CPPFLAGS"
27600 for element in $INCICONV; do
27601 haveit=
27602 for x in $CPPFLAGS; do
27604 acl_save_prefix="$prefix"
27605 prefix="$acl_final_prefix"
27606 acl_save_exec_prefix="$exec_prefix"
27607 exec_prefix="$acl_final_exec_prefix"
27608 eval x=\"$x\"
27609 exec_prefix="$acl_save_exec_prefix"
27610 prefix="$acl_save_prefix"
27612 if test "X$x" = "X$element"; then
27613 haveit=yes
27614 break
27616 done
27617 if test -z "$haveit"; then
27618 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
27620 done
27623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
27624 $as_echo_n "checking for iconv... " >&6; }
27625 if test "${am_cv_func_iconv+set}" = set; then :
27626 $as_echo_n "(cached) " >&6
27627 else
27629 am_cv_func_iconv="no, consider installing GNU libiconv"
27630 am_cv_lib_iconv=no
27631 if test x$gcc_no_link = xyes; then
27632 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27635 /* end confdefs.h. */
27636 #include <stdlib.h>
27637 #include <iconv.h>
27639 main ()
27641 iconv_t cd = iconv_open("","");
27642 iconv(cd,NULL,NULL,NULL,NULL);
27643 iconv_close(cd);
27645 return 0;
27647 _ACEOF
27648 if ac_fn_c_try_link "$LINENO"; then :
27649 am_cv_func_iconv=yes
27651 rm -f core conftest.err conftest.$ac_objext \
27652 conftest$ac_exeext conftest.$ac_ext
27653 if test "$am_cv_func_iconv" != yes; then
27654 am_save_LIBS="$LIBS"
27655 LIBS="$LIBS $LIBICONV"
27656 if test x$gcc_no_link = xyes; then
27657 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27660 /* end confdefs.h. */
27661 #include <stdlib.h>
27662 #include <iconv.h>
27664 main ()
27666 iconv_t cd = iconv_open("","");
27667 iconv(cd,NULL,NULL,NULL,NULL);
27668 iconv_close(cd);
27670 return 0;
27672 _ACEOF
27673 if ac_fn_c_try_link "$LINENO"; then :
27674 am_cv_lib_iconv=yes
27675 am_cv_func_iconv=yes
27677 rm -f core conftest.err conftest.$ac_objext \
27678 conftest$ac_exeext conftest.$ac_ext
27679 LIBS="$am_save_LIBS"
27683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
27684 $as_echo "$am_cv_func_iconv" >&6; }
27685 if test "$am_cv_func_iconv" = yes; then
27687 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27690 if test "$am_cv_lib_iconv" = yes; then
27691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
27692 $as_echo_n "checking how to link with libiconv... " >&6; }
27693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
27694 $as_echo "$LIBICONV" >&6; }
27695 else
27696 CPPFLAGS="$am_save_CPPFLAGS"
27697 LIBICONV=
27698 LTLIBICONV=
27703 if test "$am_cv_func_iconv" = yes; then
27704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
27705 $as_echo_n "checking for iconv declaration... " >&6; }
27706 if test "${am_cv_proto_iconv+set}" = set; then :
27707 $as_echo_n "(cached) " >&6
27708 else
27710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27711 /* end confdefs.h. */
27713 #include <stdlib.h>
27714 #include <iconv.h>
27715 extern
27716 #ifdef __cplusplus
27718 #endif
27719 #if defined(__STDC__) || defined(__cplusplus)
27720 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
27721 #else
27722 size_t iconv();
27723 #endif
27726 main ()
27730 return 0;
27732 _ACEOF
27733 if ac_fn_c_try_compile "$LINENO"; then :
27734 am_cv_proto_iconv_arg1=""
27735 else
27736 am_cv_proto_iconv_arg1="const"
27738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27739 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);"
27742 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
27743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
27744 }$am_cv_proto_iconv" >&5
27745 $as_echo "${ac_t:-
27746 }$am_cv_proto_iconv" >&6; }
27748 cat >>confdefs.h <<_ACEOF
27749 #define ICONV_CONST $am_cv_proto_iconv_arg1
27750 _ACEOF
27755 else
27757 # This lets us hard-code the functionality we know we'll have in the cross
27758 # target environment. "Let" is a sugar-coated word placed on an especially
27759 # dull and tedious hack, actually.
27761 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
27762 # that involve linking, can't be used:
27763 # "cannot open sim-crt0.o"
27764 # "cannot open crt0.o"
27765 # etc. All this is because there currently exists no unified, consistent
27766 # way for top level CC information to be passed down to target directories:
27767 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
27768 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
27769 # crosses can be removed.
27771 # If Canadian cross, then don't pick up tools from the build directory.
27772 # Used only in GLIBCXX_EXPORT_INCLUDES.
27773 if test -n "$with_cross_host" &&
27774 test x"$build_alias" != x"$with_cross_host" &&
27775 test x"$build" != x"$target";
27776 then
27777 CANADIAN=yes
27778 else
27779 CANADIAN=no
27782 # Construct crosses by hand, eliminating bits that need ld...
27783 # GLIBCXX_CHECK_MATH_SUPPORT
27785 # First, test for "known" system libraries. We may be using newlib even
27786 # on a hosted environment.
27787 if test "x${with_newlib}" = "xyes"; then
27788 os_include_dir="os/newlib"
27789 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
27792 # GLIBCXX_CHECK_STDLIB_SUPPORT
27793 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
27796 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
27798 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
27800 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
27802 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
27804 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
27806 $as_echo "#define HAVE_COSF 1" >>confdefs.h
27808 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
27810 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
27812 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
27814 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
27816 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
27818 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
27820 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
27822 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
27824 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
27826 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
27828 $as_echo "#define HAVE_POWF 1" >>confdefs.h
27830 $as_echo "#define HAVE_SINF 1" >>confdefs.h
27832 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
27834 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
27836 $as_echo "#define HAVE_TANF 1" >>confdefs.h
27838 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
27841 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27843 else
27845 # Base decisions on target environment.
27846 case "${host}" in
27847 arm*-*-symbianelf*)
27848 # This is a freestanding configuration; there is nothing to do here.
27851 mips*-sde-elf*)
27852 # These definitions are for the SDE C library rather than newlib.
27853 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27856 # All these tests are for C++; save the language and the compiler flags.
27857 # The CXXFLAGS thing is suspicious, but based on similar bits previously
27858 # found in GLIBCXX_CONFIGURE.
27860 ac_ext=cpp
27861 ac_cpp='$CXXCPP $CPPFLAGS'
27862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27866 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27867 ac_save_CXXFLAGS="$CXXFLAGS"
27869 # Check for maintainer-mode bits.
27870 if test x"$USE_MAINTAINER_MODE" = xno; then
27871 WERROR=''
27872 else
27873 WERROR='-Werror'
27876 # Check for -ffunction-sections -fdata-sections
27877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
27878 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
27879 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
27880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27881 /* end confdefs.h. */
27882 int foo; void bar() { };
27884 main ()
27888 return 0;
27890 _ACEOF
27891 if ac_fn_cxx_try_compile "$LINENO"; then :
27892 ac_fdsections=yes
27893 else
27894 ac_fdsections=no
27896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27897 if test "$ac_test_CXXFLAGS" = set; then
27898 CXXFLAGS="$ac_save_CXXFLAGS"
27899 else
27900 # this is the suspicious part
27901 CXXFLAGS=''
27903 if test x"$ac_fdsections" = x"yes"; then
27904 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
27907 $as_echo "$ac_fdsections" >&6; }
27909 ac_ext=c
27910 ac_cpp='$CPP $CPPFLAGS'
27911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27919 # If we're not using GNU ld, then there's no point in even trying these
27920 # tests. Check for that first. We should have already tested for gld
27921 # by now (in libtool), but require it now just to be safe...
27922 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
27923 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
27927 # The name set by libtool depends on the version of libtool. Shame on us
27928 # for depending on an impl detail, but c'est la vie. Older versions used
27929 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
27930 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
27931 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
27932 # set (hence we're using an older libtool), then set it.
27933 if test x${with_gnu_ld+set} != xset; then
27934 if test x${ac_cv_prog_gnu_ld+set} != xset; then
27935 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
27936 with_gnu_ld=no
27937 else
27938 with_gnu_ld=$ac_cv_prog_gnu_ld
27942 # Start by getting the version number. I think the libtool test already
27943 # does some of this, but throws away the result.
27944 glibcxx_ld_is_gold=no
27945 if test x"$with_gnu_ld" = x"yes"; then
27946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
27947 $as_echo_n "checking for ld version... " >&6; }
27949 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
27950 glibcxx_ld_is_gold=yes
27952 ldver=`$LD --version 2>/dev/null |
27953 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'`
27955 glibcxx_gnu_ld_version=`echo $ldver | \
27956 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
27957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
27958 $as_echo "$glibcxx_gnu_ld_version" >&6; }
27961 # Set --gc-sections.
27962 glibcxx_have_gc_sections=no
27963 if test "$glibcxx_ld_is_gold" = "yes"; then
27964 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
27965 glibcxx_have_gc_sections=yes
27967 else
27968 glibcxx_gcsections_min_ld=21602
27969 if test x"$with_gnu_ld" = x"yes" &&
27970 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
27971 glibcxx_have_gc_sections=yes
27974 if test "$glibcxx_have_gc_sections" = "yes"; then
27975 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
27976 # NB: This flag only works reliably after 2.16.1. Configure tests
27977 # for this are difficult, so hard wire a value that should work.
27979 ac_test_CFLAGS="${CFLAGS+set}"
27980 ac_save_CFLAGS="$CFLAGS"
27981 CFLAGS='-Wl,--gc-sections'
27983 # Check for -Wl,--gc-sections
27984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
27985 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
27986 if test x$gcc_no_link = xyes; then
27987 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27990 /* end confdefs.h. */
27991 int one(void) { return 1; }
27992 int two(void) { return 2; }
27995 main ()
27997 two();
27999 return 0;
28001 _ACEOF
28002 if ac_fn_c_try_link "$LINENO"; then :
28003 ac_gcsections=yes
28004 else
28005 ac_gcsections=no
28007 rm -f core conftest.err conftest.$ac_objext \
28008 conftest$ac_exeext conftest.$ac_ext
28009 if test "$ac_gcsections" = "yes"; then
28010 rm -f conftest.c
28011 touch conftest.c
28012 if $CC -c conftest.c; then
28013 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
28014 grep "Warning: gc-sections option ignored" > /dev/null; then
28015 ac_gcsections=no
28018 rm -f conftest.c conftest.o conftest
28020 if test "$ac_gcsections" = "yes"; then
28021 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
28023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
28024 $as_echo "$ac_gcsections" >&6; }
28026 if test "$ac_test_CFLAGS" = set; then
28027 CFLAGS="$ac_save_CFLAGS"
28028 else
28029 # this is the suspicious part
28030 CFLAGS=''
28034 # Set -z,relro.
28035 # Note this is only for shared objects.
28036 ac_ld_relro=no
28037 if test x"$with_gnu_ld" = x"yes"; then
28038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
28039 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
28040 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
28041 if test -n "$cxx_z_relo"; then
28042 OPT_LDFLAGS="-Wl,-z,relro"
28043 ac_ld_relro=yes
28045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
28046 $as_echo "$ac_ld_relro" >&6; }
28049 # Set linker optimization flags.
28050 if test x"$with_gnu_ld" = x"yes"; then
28051 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
28058 ac_test_CXXFLAGS="${CXXFLAGS+set}"
28059 ac_save_CXXFLAGS="$CXXFLAGS"
28060 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
28062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
28063 $as_echo_n "checking for sin in -lm... " >&6; }
28064 if test "${ac_cv_lib_m_sin+set}" = set; then :
28065 $as_echo_n "(cached) " >&6
28066 else
28067 ac_check_lib_save_LIBS=$LIBS
28068 LIBS="-lm $LIBS"
28069 if test x$gcc_no_link = xyes; then
28070 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28073 /* end confdefs.h. */
28075 /* Override any GCC internal prototype to avoid an error.
28076 Use char because int might match the return type of a GCC
28077 builtin and then its argument prototype would still apply. */
28078 #ifdef __cplusplus
28079 extern "C"
28080 #endif
28081 char sin ();
28083 main ()
28085 return sin ();
28087 return 0;
28089 _ACEOF
28090 if ac_fn_c_try_link "$LINENO"; then :
28091 ac_cv_lib_m_sin=yes
28092 else
28093 ac_cv_lib_m_sin=no
28095 rm -f core conftest.err conftest.$ac_objext \
28096 conftest$ac_exeext conftest.$ac_ext
28097 LIBS=$ac_check_lib_save_LIBS
28099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
28100 $as_echo "$ac_cv_lib_m_sin" >&6; }
28101 if test "x$ac_cv_lib_m_sin" = x""yes; then :
28102 libm="-lm"
28105 ac_save_LIBS="$LIBS"
28106 LIBS="$LIBS $libm"
28110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
28111 $as_echo_n "checking for isinf declaration... " >&6; }
28112 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
28113 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
28114 $as_echo_n "(cached) " >&6
28115 else
28118 ac_ext=cpp
28119 ac_cpp='$CXXCPP $CPPFLAGS'
28120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28125 /* end confdefs.h. */
28126 #include <math.h>
28127 #ifdef HAVE_IEEEFP_H
28128 #include <ieeefp.h>
28129 #endif
28132 main ()
28134 isinf(0);
28136 return 0;
28138 _ACEOF
28139 if ac_fn_cxx_try_compile "$LINENO"; then :
28140 glibcxx_cv_func_isinf_use=yes
28141 else
28142 glibcxx_cv_func_isinf_use=no
28144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28145 ac_ext=c
28146 ac_cpp='$CPP $CPPFLAGS'
28147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
28156 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
28158 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
28159 for ac_func in isinf
28160 do :
28161 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
28162 if test "x$ac_cv_func_isinf" = x""yes; then :
28163 cat >>confdefs.h <<_ACEOF
28164 #define HAVE_ISINF 1
28165 _ACEOF
28168 done
28170 else
28172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
28173 $as_echo_n "checking for _isinf declaration... " >&6; }
28174 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
28175 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
28176 $as_echo_n "(cached) " >&6
28177 else
28180 ac_ext=cpp
28181 ac_cpp='$CXXCPP $CPPFLAGS'
28182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28187 /* end confdefs.h. */
28188 #include <math.h>
28189 #ifdef HAVE_IEEEFP_H
28190 #include <ieeefp.h>
28191 #endif
28194 main ()
28196 _isinf(0);
28198 return 0;
28200 _ACEOF
28201 if ac_fn_cxx_try_compile "$LINENO"; then :
28202 glibcxx_cv_func__isinf_use=yes
28203 else
28204 glibcxx_cv_func__isinf_use=no
28206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28207 ac_ext=c
28208 ac_cpp='$CPP $CPPFLAGS'
28209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
28218 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
28220 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
28221 for ac_func in _isinf
28222 do :
28223 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
28224 if test "x$ac_cv_func__isinf" = x""yes; then :
28225 cat >>confdefs.h <<_ACEOF
28226 #define HAVE__ISINF 1
28227 _ACEOF
28230 done
28239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
28240 $as_echo_n "checking for isnan declaration... " >&6; }
28241 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
28242 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
28243 $as_echo_n "(cached) " >&6
28244 else
28247 ac_ext=cpp
28248 ac_cpp='$CXXCPP $CPPFLAGS'
28249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28254 /* end confdefs.h. */
28255 #include <math.h>
28256 #ifdef HAVE_IEEEFP_H
28257 #include <ieeefp.h>
28258 #endif
28261 main ()
28263 isnan(0);
28265 return 0;
28267 _ACEOF
28268 if ac_fn_cxx_try_compile "$LINENO"; then :
28269 glibcxx_cv_func_isnan_use=yes
28270 else
28271 glibcxx_cv_func_isnan_use=no
28273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28274 ac_ext=c
28275 ac_cpp='$CPP $CPPFLAGS'
28276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
28285 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
28287 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
28288 for ac_func in isnan
28289 do :
28290 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
28291 if test "x$ac_cv_func_isnan" = x""yes; then :
28292 cat >>confdefs.h <<_ACEOF
28293 #define HAVE_ISNAN 1
28294 _ACEOF
28297 done
28299 else
28301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
28302 $as_echo_n "checking for _isnan declaration... " >&6; }
28303 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
28304 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
28305 $as_echo_n "(cached) " >&6
28306 else
28309 ac_ext=cpp
28310 ac_cpp='$CXXCPP $CPPFLAGS'
28311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28316 /* end confdefs.h. */
28317 #include <math.h>
28318 #ifdef HAVE_IEEEFP_H
28319 #include <ieeefp.h>
28320 #endif
28323 main ()
28325 _isnan(0);
28327 return 0;
28329 _ACEOF
28330 if ac_fn_cxx_try_compile "$LINENO"; then :
28331 glibcxx_cv_func__isnan_use=yes
28332 else
28333 glibcxx_cv_func__isnan_use=no
28335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28336 ac_ext=c
28337 ac_cpp='$CPP $CPPFLAGS'
28338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
28347 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
28349 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
28350 for ac_func in _isnan
28351 do :
28352 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
28353 if test "x$ac_cv_func__isnan" = x""yes; then :
28354 cat >>confdefs.h <<_ACEOF
28355 #define HAVE__ISNAN 1
28356 _ACEOF
28359 done
28368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
28369 $as_echo_n "checking for finite declaration... " >&6; }
28370 if test x${glibcxx_cv_func_finite_use+set} != xset; then
28371 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
28372 $as_echo_n "(cached) " >&6
28373 else
28376 ac_ext=cpp
28377 ac_cpp='$CXXCPP $CPPFLAGS'
28378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28383 /* end confdefs.h. */
28384 #include <math.h>
28385 #ifdef HAVE_IEEEFP_H
28386 #include <ieeefp.h>
28387 #endif
28390 main ()
28392 finite(0);
28394 return 0;
28396 _ACEOF
28397 if ac_fn_cxx_try_compile "$LINENO"; then :
28398 glibcxx_cv_func_finite_use=yes
28399 else
28400 glibcxx_cv_func_finite_use=no
28402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28403 ac_ext=c
28404 ac_cpp='$CPP $CPPFLAGS'
28405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
28414 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
28416 if test x$glibcxx_cv_func_finite_use = x"yes"; then
28417 for ac_func in finite
28418 do :
28419 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
28420 if test "x$ac_cv_func_finite" = x""yes; then :
28421 cat >>confdefs.h <<_ACEOF
28422 #define HAVE_FINITE 1
28423 _ACEOF
28426 done
28428 else
28430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
28431 $as_echo_n "checking for _finite declaration... " >&6; }
28432 if test x${glibcxx_cv_func__finite_use+set} != xset; then
28433 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
28434 $as_echo_n "(cached) " >&6
28435 else
28438 ac_ext=cpp
28439 ac_cpp='$CXXCPP $CPPFLAGS'
28440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28445 /* end confdefs.h. */
28446 #include <math.h>
28447 #ifdef HAVE_IEEEFP_H
28448 #include <ieeefp.h>
28449 #endif
28452 main ()
28454 _finite(0);
28456 return 0;
28458 _ACEOF
28459 if ac_fn_cxx_try_compile "$LINENO"; then :
28460 glibcxx_cv_func__finite_use=yes
28461 else
28462 glibcxx_cv_func__finite_use=no
28464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28465 ac_ext=c
28466 ac_cpp='$CPP $CPPFLAGS'
28467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
28476 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
28478 if test x$glibcxx_cv_func__finite_use = x"yes"; then
28479 for ac_func in _finite
28480 do :
28481 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
28482 if test "x$ac_cv_func__finite" = x""yes; then :
28483 cat >>confdefs.h <<_ACEOF
28484 #define HAVE__FINITE 1
28485 _ACEOF
28488 done
28497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
28498 $as_echo_n "checking for sincos declaration... " >&6; }
28499 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
28500 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
28501 $as_echo_n "(cached) " >&6
28502 else
28505 ac_ext=cpp
28506 ac_cpp='$CXXCPP $CPPFLAGS'
28507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28512 /* end confdefs.h. */
28513 #include <math.h>
28515 main ()
28517 sincos(0, 0, 0);
28519 return 0;
28521 _ACEOF
28522 if ac_fn_cxx_try_compile "$LINENO"; then :
28523 glibcxx_cv_func_sincos_use=yes
28524 else
28525 glibcxx_cv_func_sincos_use=no
28527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28528 ac_ext=c
28529 ac_cpp='$CPP $CPPFLAGS'
28530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
28539 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
28541 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
28542 for ac_func in sincos
28543 do :
28544 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
28545 if test "x$ac_cv_func_sincos" = x""yes; then :
28546 cat >>confdefs.h <<_ACEOF
28547 #define HAVE_SINCOS 1
28548 _ACEOF
28551 done
28553 else
28555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
28556 $as_echo_n "checking for _sincos declaration... " >&6; }
28557 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
28558 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
28559 $as_echo_n "(cached) " >&6
28560 else
28563 ac_ext=cpp
28564 ac_cpp='$CXXCPP $CPPFLAGS'
28565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28570 /* end confdefs.h. */
28571 #include <math.h>
28573 main ()
28575 _sincos(0, 0, 0);
28577 return 0;
28579 _ACEOF
28580 if ac_fn_cxx_try_compile "$LINENO"; then :
28581 glibcxx_cv_func__sincos_use=yes
28582 else
28583 glibcxx_cv_func__sincos_use=no
28585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28586 ac_ext=c
28587 ac_cpp='$CPP $CPPFLAGS'
28588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
28597 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
28599 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
28600 for ac_func in _sincos
28601 do :
28602 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
28603 if test "x$ac_cv_func__sincos" = x""yes; then :
28604 cat >>confdefs.h <<_ACEOF
28605 #define HAVE__SINCOS 1
28606 _ACEOF
28609 done
28618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
28619 $as_echo_n "checking for fpclass declaration... " >&6; }
28620 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
28621 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
28622 $as_echo_n "(cached) " >&6
28623 else
28626 ac_ext=cpp
28627 ac_cpp='$CXXCPP $CPPFLAGS'
28628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28633 /* end confdefs.h. */
28634 #include <math.h>
28635 #ifdef HAVE_IEEEFP_H
28636 #include <ieeefp.h>
28637 #endif
28640 main ()
28642 fpclass(0);
28644 return 0;
28646 _ACEOF
28647 if ac_fn_cxx_try_compile "$LINENO"; then :
28648 glibcxx_cv_func_fpclass_use=yes
28649 else
28650 glibcxx_cv_func_fpclass_use=no
28652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28653 ac_ext=c
28654 ac_cpp='$CPP $CPPFLAGS'
28655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
28664 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
28666 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
28667 for ac_func in fpclass
28668 do :
28669 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
28670 if test "x$ac_cv_func_fpclass" = x""yes; then :
28671 cat >>confdefs.h <<_ACEOF
28672 #define HAVE_FPCLASS 1
28673 _ACEOF
28676 done
28678 else
28680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
28681 $as_echo_n "checking for _fpclass declaration... " >&6; }
28682 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
28683 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
28684 $as_echo_n "(cached) " >&6
28685 else
28688 ac_ext=cpp
28689 ac_cpp='$CXXCPP $CPPFLAGS'
28690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28695 /* end confdefs.h. */
28696 #include <math.h>
28697 #ifdef HAVE_IEEEFP_H
28698 #include <ieeefp.h>
28699 #endif
28702 main ()
28704 _fpclass(0);
28706 return 0;
28708 _ACEOF
28709 if ac_fn_cxx_try_compile "$LINENO"; then :
28710 glibcxx_cv_func__fpclass_use=yes
28711 else
28712 glibcxx_cv_func__fpclass_use=no
28714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28715 ac_ext=c
28716 ac_cpp='$CPP $CPPFLAGS'
28717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
28726 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
28728 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
28729 for ac_func in _fpclass
28730 do :
28731 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
28732 if test "x$ac_cv_func__fpclass" = x""yes; then :
28733 cat >>confdefs.h <<_ACEOF
28734 #define HAVE__FPCLASS 1
28735 _ACEOF
28738 done
28747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
28748 $as_echo_n "checking for qfpclass declaration... " >&6; }
28749 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
28750 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
28751 $as_echo_n "(cached) " >&6
28752 else
28755 ac_ext=cpp
28756 ac_cpp='$CXXCPP $CPPFLAGS'
28757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28762 /* end confdefs.h. */
28763 #include <math.h>
28764 #ifdef HAVE_IEEEFP_H
28765 #include <ieeefp.h>
28766 #endif
28769 main ()
28771 qfpclass(0);
28773 return 0;
28775 _ACEOF
28776 if ac_fn_cxx_try_compile "$LINENO"; then :
28777 glibcxx_cv_func_qfpclass_use=yes
28778 else
28779 glibcxx_cv_func_qfpclass_use=no
28781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28782 ac_ext=c
28783 ac_cpp='$CPP $CPPFLAGS'
28784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
28793 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
28795 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
28796 for ac_func in qfpclass
28797 do :
28798 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
28799 if test "x$ac_cv_func_qfpclass" = x""yes; then :
28800 cat >>confdefs.h <<_ACEOF
28801 #define HAVE_QFPCLASS 1
28802 _ACEOF
28805 done
28807 else
28809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
28810 $as_echo_n "checking for _qfpclass declaration... " >&6; }
28811 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
28812 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
28813 $as_echo_n "(cached) " >&6
28814 else
28817 ac_ext=cpp
28818 ac_cpp='$CXXCPP $CPPFLAGS'
28819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28824 /* end confdefs.h. */
28825 #include <math.h>
28826 #ifdef HAVE_IEEEFP_H
28827 #include <ieeefp.h>
28828 #endif
28831 main ()
28833 _qfpclass(0);
28835 return 0;
28837 _ACEOF
28838 if ac_fn_cxx_try_compile "$LINENO"; then :
28839 glibcxx_cv_func__qfpclass_use=yes
28840 else
28841 glibcxx_cv_func__qfpclass_use=no
28843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28844 ac_ext=c
28845 ac_cpp='$CPP $CPPFLAGS'
28846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
28855 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
28857 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
28858 for ac_func in _qfpclass
28859 do :
28860 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
28861 if test "x$ac_cv_func__qfpclass" = x""yes; then :
28862 cat >>confdefs.h <<_ACEOF
28863 #define HAVE__QFPCLASS 1
28864 _ACEOF
28867 done
28876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
28877 $as_echo_n "checking for hypot declaration... " >&6; }
28878 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
28879 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
28880 $as_echo_n "(cached) " >&6
28881 else
28884 ac_ext=cpp
28885 ac_cpp='$CXXCPP $CPPFLAGS'
28886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28891 /* end confdefs.h. */
28892 #include <math.h>
28894 main ()
28896 hypot(0, 0);
28898 return 0;
28900 _ACEOF
28901 if ac_fn_cxx_try_compile "$LINENO"; then :
28902 glibcxx_cv_func_hypot_use=yes
28903 else
28904 glibcxx_cv_func_hypot_use=no
28906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28907 ac_ext=c
28908 ac_cpp='$CPP $CPPFLAGS'
28909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
28918 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
28920 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
28921 for ac_func in hypot
28922 do :
28923 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
28924 if test "x$ac_cv_func_hypot" = x""yes; then :
28925 cat >>confdefs.h <<_ACEOF
28926 #define HAVE_HYPOT 1
28927 _ACEOF
28930 done
28932 else
28934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
28935 $as_echo_n "checking for _hypot declaration... " >&6; }
28936 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
28937 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
28938 $as_echo_n "(cached) " >&6
28939 else
28942 ac_ext=cpp
28943 ac_cpp='$CXXCPP $CPPFLAGS'
28944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28949 /* end confdefs.h. */
28950 #include <math.h>
28952 main ()
28954 _hypot(0, 0);
28956 return 0;
28958 _ACEOF
28959 if ac_fn_cxx_try_compile "$LINENO"; then :
28960 glibcxx_cv_func__hypot_use=yes
28961 else
28962 glibcxx_cv_func__hypot_use=no
28964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28965 ac_ext=c
28966 ac_cpp='$CPP $CPPFLAGS'
28967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
28976 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
28978 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
28979 for ac_func in _hypot
28980 do :
28981 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
28982 if test "x$ac_cv_func__hypot" = x""yes; then :
28983 cat >>confdefs.h <<_ACEOF
28984 #define HAVE__HYPOT 1
28985 _ACEOF
28988 done
28997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
28998 $as_echo_n "checking for float trig functions... " >&6; }
28999 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
29000 $as_echo_n "(cached) " >&6
29001 else
29004 ac_ext=cpp
29005 ac_cpp='$CXXCPP $CPPFLAGS'
29006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29011 /* end confdefs.h. */
29012 #include <math.h>
29014 main ()
29016 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
29018 return 0;
29020 _ACEOF
29021 if ac_fn_cxx_try_compile "$LINENO"; then :
29022 glibcxx_cv_func_float_trig_use=yes
29023 else
29024 glibcxx_cv_func_float_trig_use=no
29026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29027 ac_ext=c
29028 ac_cpp='$CPP $CPPFLAGS'
29029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
29036 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
29037 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
29038 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
29039 do :
29040 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29041 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29042 eval as_val=\$$as_ac_var
29043 if test "x$as_val" = x""yes; then :
29044 cat >>confdefs.h <<_ACEOF
29045 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29046 _ACEOF
29049 done
29051 else
29052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
29053 $as_echo_n "checking for _float trig functions... " >&6; }
29054 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
29055 $as_echo_n "(cached) " >&6
29056 else
29059 ac_ext=cpp
29060 ac_cpp='$CXXCPP $CPPFLAGS'
29061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29066 /* end confdefs.h. */
29067 #include <math.h>
29069 main ()
29071 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
29073 return 0;
29075 _ACEOF
29076 if ac_fn_cxx_try_compile "$LINENO"; then :
29077 glibcxx_cv_func__float_trig_use=yes
29078 else
29079 glibcxx_cv_func__float_trig_use=no
29081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29082 ac_ext=c
29083 ac_cpp='$CPP $CPPFLAGS'
29084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
29091 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
29092 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
29093 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
29094 do :
29095 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29096 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29097 eval as_val=\$$as_ac_var
29098 if test "x$as_val" = x""yes; then :
29099 cat >>confdefs.h <<_ACEOF
29100 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29101 _ACEOF
29104 done
29113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
29114 $as_echo_n "checking for float round functions... " >&6; }
29115 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
29116 $as_echo_n "(cached) " >&6
29117 else
29120 ac_ext=cpp
29121 ac_cpp='$CXXCPP $CPPFLAGS'
29122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29127 /* end confdefs.h. */
29128 #include <math.h>
29130 main ()
29132 ceilf (0); floorf (0);
29134 return 0;
29136 _ACEOF
29137 if ac_fn_cxx_try_compile "$LINENO"; then :
29138 glibcxx_cv_func_float_round_use=yes
29139 else
29140 glibcxx_cv_func_float_round_use=no
29142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29143 ac_ext=c
29144 ac_cpp='$CPP $CPPFLAGS'
29145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
29152 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
29153 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
29154 for ac_func in ceilf floorf
29155 do :
29156 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29157 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29158 eval as_val=\$$as_ac_var
29159 if test "x$as_val" = x""yes; then :
29160 cat >>confdefs.h <<_ACEOF
29161 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29162 _ACEOF
29165 done
29167 else
29168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
29169 $as_echo_n "checking for _float round functions... " >&6; }
29170 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
29171 $as_echo_n "(cached) " >&6
29172 else
29175 ac_ext=cpp
29176 ac_cpp='$CXXCPP $CPPFLAGS'
29177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29182 /* end confdefs.h. */
29183 #include <math.h>
29185 main ()
29187 _ceilf (0); _floorf (0);
29189 return 0;
29191 _ACEOF
29192 if ac_fn_cxx_try_compile "$LINENO"; then :
29193 glibcxx_cv_func__float_round_use=yes
29194 else
29195 glibcxx_cv_func__float_round_use=no
29197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29198 ac_ext=c
29199 ac_cpp='$CPP $CPPFLAGS'
29200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
29207 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
29208 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
29209 for ac_func in _ceilf _floorf
29210 do :
29211 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29212 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29213 eval as_val=\$$as_ac_var
29214 if test "x$as_val" = x""yes; then :
29215 cat >>confdefs.h <<_ACEOF
29216 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29217 _ACEOF
29220 done
29230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
29231 $as_echo_n "checking for expf declaration... " >&6; }
29232 if test x${glibcxx_cv_func_expf_use+set} != xset; then
29233 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
29234 $as_echo_n "(cached) " >&6
29235 else
29238 ac_ext=cpp
29239 ac_cpp='$CXXCPP $CPPFLAGS'
29240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29245 /* end confdefs.h. */
29246 #include <math.h>
29247 #ifdef HAVE_IEEEFP_H
29248 #include <ieeefp.h>
29249 #endif
29252 main ()
29254 expf(0);
29256 return 0;
29258 _ACEOF
29259 if ac_fn_cxx_try_compile "$LINENO"; then :
29260 glibcxx_cv_func_expf_use=yes
29261 else
29262 glibcxx_cv_func_expf_use=no
29264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29265 ac_ext=c
29266 ac_cpp='$CPP $CPPFLAGS'
29267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
29276 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
29278 if test x$glibcxx_cv_func_expf_use = x"yes"; then
29279 for ac_func in expf
29280 do :
29281 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
29282 if test "x$ac_cv_func_expf" = x""yes; then :
29283 cat >>confdefs.h <<_ACEOF
29284 #define HAVE_EXPF 1
29285 _ACEOF
29288 done
29290 else
29292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
29293 $as_echo_n "checking for _expf declaration... " >&6; }
29294 if test x${glibcxx_cv_func__expf_use+set} != xset; then
29295 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
29296 $as_echo_n "(cached) " >&6
29297 else
29300 ac_ext=cpp
29301 ac_cpp='$CXXCPP $CPPFLAGS'
29302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29307 /* end confdefs.h. */
29308 #include <math.h>
29309 #ifdef HAVE_IEEEFP_H
29310 #include <ieeefp.h>
29311 #endif
29314 main ()
29316 _expf(0);
29318 return 0;
29320 _ACEOF
29321 if ac_fn_cxx_try_compile "$LINENO"; then :
29322 glibcxx_cv_func__expf_use=yes
29323 else
29324 glibcxx_cv_func__expf_use=no
29326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29327 ac_ext=c
29328 ac_cpp='$CPP $CPPFLAGS'
29329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
29338 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
29340 if test x$glibcxx_cv_func__expf_use = x"yes"; then
29341 for ac_func in _expf
29342 do :
29343 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
29344 if test "x$ac_cv_func__expf" = x""yes; then :
29345 cat >>confdefs.h <<_ACEOF
29346 #define HAVE__EXPF 1
29347 _ACEOF
29350 done
29359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
29360 $as_echo_n "checking for isnanf declaration... " >&6; }
29361 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
29362 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
29363 $as_echo_n "(cached) " >&6
29364 else
29367 ac_ext=cpp
29368 ac_cpp='$CXXCPP $CPPFLAGS'
29369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29374 /* end confdefs.h. */
29375 #include <math.h>
29376 #ifdef HAVE_IEEEFP_H
29377 #include <ieeefp.h>
29378 #endif
29381 main ()
29383 isnanf(0);
29385 return 0;
29387 _ACEOF
29388 if ac_fn_cxx_try_compile "$LINENO"; then :
29389 glibcxx_cv_func_isnanf_use=yes
29390 else
29391 glibcxx_cv_func_isnanf_use=no
29393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29394 ac_ext=c
29395 ac_cpp='$CPP $CPPFLAGS'
29396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
29405 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
29407 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
29408 for ac_func in isnanf
29409 do :
29410 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
29411 if test "x$ac_cv_func_isnanf" = x""yes; then :
29412 cat >>confdefs.h <<_ACEOF
29413 #define HAVE_ISNANF 1
29414 _ACEOF
29417 done
29419 else
29421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
29422 $as_echo_n "checking for _isnanf declaration... " >&6; }
29423 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
29424 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
29425 $as_echo_n "(cached) " >&6
29426 else
29429 ac_ext=cpp
29430 ac_cpp='$CXXCPP $CPPFLAGS'
29431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29436 /* end confdefs.h. */
29437 #include <math.h>
29438 #ifdef HAVE_IEEEFP_H
29439 #include <ieeefp.h>
29440 #endif
29443 main ()
29445 _isnanf(0);
29447 return 0;
29449 _ACEOF
29450 if ac_fn_cxx_try_compile "$LINENO"; then :
29451 glibcxx_cv_func__isnanf_use=yes
29452 else
29453 glibcxx_cv_func__isnanf_use=no
29455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29456 ac_ext=c
29457 ac_cpp='$CPP $CPPFLAGS'
29458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
29467 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
29469 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
29470 for ac_func in _isnanf
29471 do :
29472 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
29473 if test "x$ac_cv_func__isnanf" = x""yes; then :
29474 cat >>confdefs.h <<_ACEOF
29475 #define HAVE__ISNANF 1
29476 _ACEOF
29479 done
29488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
29489 $as_echo_n "checking for isinff declaration... " >&6; }
29490 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
29491 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
29492 $as_echo_n "(cached) " >&6
29493 else
29496 ac_ext=cpp
29497 ac_cpp='$CXXCPP $CPPFLAGS'
29498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29503 /* end confdefs.h. */
29504 #include <math.h>
29505 #ifdef HAVE_IEEEFP_H
29506 #include <ieeefp.h>
29507 #endif
29510 main ()
29512 isinff(0);
29514 return 0;
29516 _ACEOF
29517 if ac_fn_cxx_try_compile "$LINENO"; then :
29518 glibcxx_cv_func_isinff_use=yes
29519 else
29520 glibcxx_cv_func_isinff_use=no
29522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29523 ac_ext=c
29524 ac_cpp='$CPP $CPPFLAGS'
29525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
29534 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
29536 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
29537 for ac_func in isinff
29538 do :
29539 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
29540 if test "x$ac_cv_func_isinff" = x""yes; then :
29541 cat >>confdefs.h <<_ACEOF
29542 #define HAVE_ISINFF 1
29543 _ACEOF
29546 done
29548 else
29550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
29551 $as_echo_n "checking for _isinff declaration... " >&6; }
29552 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
29553 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
29554 $as_echo_n "(cached) " >&6
29555 else
29558 ac_ext=cpp
29559 ac_cpp='$CXXCPP $CPPFLAGS'
29560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29565 /* end confdefs.h. */
29566 #include <math.h>
29567 #ifdef HAVE_IEEEFP_H
29568 #include <ieeefp.h>
29569 #endif
29572 main ()
29574 _isinff(0);
29576 return 0;
29578 _ACEOF
29579 if ac_fn_cxx_try_compile "$LINENO"; then :
29580 glibcxx_cv_func__isinff_use=yes
29581 else
29582 glibcxx_cv_func__isinff_use=no
29584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29585 ac_ext=c
29586 ac_cpp='$CPP $CPPFLAGS'
29587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
29596 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
29598 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
29599 for ac_func in _isinff
29600 do :
29601 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
29602 if test "x$ac_cv_func__isinff" = x""yes; then :
29603 cat >>confdefs.h <<_ACEOF
29604 #define HAVE__ISINFF 1
29605 _ACEOF
29608 done
29617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
29618 $as_echo_n "checking for atan2f declaration... " >&6; }
29619 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
29620 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
29621 $as_echo_n "(cached) " >&6
29622 else
29625 ac_ext=cpp
29626 ac_cpp='$CXXCPP $CPPFLAGS'
29627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29632 /* end confdefs.h. */
29633 #include <math.h>
29635 main ()
29637 atan2f(0, 0);
29639 return 0;
29641 _ACEOF
29642 if ac_fn_cxx_try_compile "$LINENO"; then :
29643 glibcxx_cv_func_atan2f_use=yes
29644 else
29645 glibcxx_cv_func_atan2f_use=no
29647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29648 ac_ext=c
29649 ac_cpp='$CPP $CPPFLAGS'
29650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
29659 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
29661 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
29662 for ac_func in atan2f
29663 do :
29664 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
29665 if test "x$ac_cv_func_atan2f" = x""yes; then :
29666 cat >>confdefs.h <<_ACEOF
29667 #define HAVE_ATAN2F 1
29668 _ACEOF
29671 done
29673 else
29675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
29676 $as_echo_n "checking for _atan2f declaration... " >&6; }
29677 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
29678 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
29679 $as_echo_n "(cached) " >&6
29680 else
29683 ac_ext=cpp
29684 ac_cpp='$CXXCPP $CPPFLAGS'
29685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29690 /* end confdefs.h. */
29691 #include <math.h>
29693 main ()
29695 _atan2f(0, 0);
29697 return 0;
29699 _ACEOF
29700 if ac_fn_cxx_try_compile "$LINENO"; then :
29701 glibcxx_cv_func__atan2f_use=yes
29702 else
29703 glibcxx_cv_func__atan2f_use=no
29705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29706 ac_ext=c
29707 ac_cpp='$CPP $CPPFLAGS'
29708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
29717 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
29719 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
29720 for ac_func in _atan2f
29721 do :
29722 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
29723 if test "x$ac_cv_func__atan2f" = x""yes; then :
29724 cat >>confdefs.h <<_ACEOF
29725 #define HAVE__ATAN2F 1
29726 _ACEOF
29729 done
29738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
29739 $as_echo_n "checking for fabsf declaration... " >&6; }
29740 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
29741 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
29742 $as_echo_n "(cached) " >&6
29743 else
29746 ac_ext=cpp
29747 ac_cpp='$CXXCPP $CPPFLAGS'
29748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29753 /* end confdefs.h. */
29754 #include <math.h>
29755 #ifdef HAVE_IEEEFP_H
29756 #include <ieeefp.h>
29757 #endif
29760 main ()
29762 fabsf(0);
29764 return 0;
29766 _ACEOF
29767 if ac_fn_cxx_try_compile "$LINENO"; then :
29768 glibcxx_cv_func_fabsf_use=yes
29769 else
29770 glibcxx_cv_func_fabsf_use=no
29772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29773 ac_ext=c
29774 ac_cpp='$CPP $CPPFLAGS'
29775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
29784 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
29786 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
29787 for ac_func in fabsf
29788 do :
29789 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
29790 if test "x$ac_cv_func_fabsf" = x""yes; then :
29791 cat >>confdefs.h <<_ACEOF
29792 #define HAVE_FABSF 1
29793 _ACEOF
29796 done
29798 else
29800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
29801 $as_echo_n "checking for _fabsf declaration... " >&6; }
29802 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
29803 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
29804 $as_echo_n "(cached) " >&6
29805 else
29808 ac_ext=cpp
29809 ac_cpp='$CXXCPP $CPPFLAGS'
29810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29815 /* end confdefs.h. */
29816 #include <math.h>
29817 #ifdef HAVE_IEEEFP_H
29818 #include <ieeefp.h>
29819 #endif
29822 main ()
29824 _fabsf(0);
29826 return 0;
29828 _ACEOF
29829 if ac_fn_cxx_try_compile "$LINENO"; then :
29830 glibcxx_cv_func__fabsf_use=yes
29831 else
29832 glibcxx_cv_func__fabsf_use=no
29834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29835 ac_ext=c
29836 ac_cpp='$CPP $CPPFLAGS'
29837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
29846 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
29848 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
29849 for ac_func in _fabsf
29850 do :
29851 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
29852 if test "x$ac_cv_func__fabsf" = x""yes; then :
29853 cat >>confdefs.h <<_ACEOF
29854 #define HAVE__FABSF 1
29855 _ACEOF
29858 done
29867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
29868 $as_echo_n "checking for fmodf declaration... " >&6; }
29869 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
29870 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
29871 $as_echo_n "(cached) " >&6
29872 else
29875 ac_ext=cpp
29876 ac_cpp='$CXXCPP $CPPFLAGS'
29877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29882 /* end confdefs.h. */
29883 #include <math.h>
29885 main ()
29887 fmodf(0, 0);
29889 return 0;
29891 _ACEOF
29892 if ac_fn_cxx_try_compile "$LINENO"; then :
29893 glibcxx_cv_func_fmodf_use=yes
29894 else
29895 glibcxx_cv_func_fmodf_use=no
29897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29898 ac_ext=c
29899 ac_cpp='$CPP $CPPFLAGS'
29900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
29909 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
29911 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
29912 for ac_func in fmodf
29913 do :
29914 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
29915 if test "x$ac_cv_func_fmodf" = x""yes; then :
29916 cat >>confdefs.h <<_ACEOF
29917 #define HAVE_FMODF 1
29918 _ACEOF
29921 done
29923 else
29925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
29926 $as_echo_n "checking for _fmodf declaration... " >&6; }
29927 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
29928 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
29929 $as_echo_n "(cached) " >&6
29930 else
29933 ac_ext=cpp
29934 ac_cpp='$CXXCPP $CPPFLAGS'
29935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29940 /* end confdefs.h. */
29941 #include <math.h>
29943 main ()
29945 _fmodf(0, 0);
29947 return 0;
29949 _ACEOF
29950 if ac_fn_cxx_try_compile "$LINENO"; then :
29951 glibcxx_cv_func__fmodf_use=yes
29952 else
29953 glibcxx_cv_func__fmodf_use=no
29955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29956 ac_ext=c
29957 ac_cpp='$CPP $CPPFLAGS'
29958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
29967 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
29969 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
29970 for ac_func in _fmodf
29971 do :
29972 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
29973 if test "x$ac_cv_func__fmodf" = x""yes; then :
29974 cat >>confdefs.h <<_ACEOF
29975 #define HAVE__FMODF 1
29976 _ACEOF
29979 done
29988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
29989 $as_echo_n "checking for frexpf declaration... " >&6; }
29990 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
29991 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
29992 $as_echo_n "(cached) " >&6
29993 else
29996 ac_ext=cpp
29997 ac_cpp='$CXXCPP $CPPFLAGS'
29998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30003 /* end confdefs.h. */
30004 #include <math.h>
30006 main ()
30008 frexpf(0, 0);
30010 return 0;
30012 _ACEOF
30013 if ac_fn_cxx_try_compile "$LINENO"; then :
30014 glibcxx_cv_func_frexpf_use=yes
30015 else
30016 glibcxx_cv_func_frexpf_use=no
30018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30019 ac_ext=c
30020 ac_cpp='$CPP $CPPFLAGS'
30021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
30030 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
30032 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
30033 for ac_func in frexpf
30034 do :
30035 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
30036 if test "x$ac_cv_func_frexpf" = x""yes; then :
30037 cat >>confdefs.h <<_ACEOF
30038 #define HAVE_FREXPF 1
30039 _ACEOF
30042 done
30044 else
30046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
30047 $as_echo_n "checking for _frexpf declaration... " >&6; }
30048 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
30049 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
30050 $as_echo_n "(cached) " >&6
30051 else
30054 ac_ext=cpp
30055 ac_cpp='$CXXCPP $CPPFLAGS'
30056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30061 /* end confdefs.h. */
30062 #include <math.h>
30064 main ()
30066 _frexpf(0, 0);
30068 return 0;
30070 _ACEOF
30071 if ac_fn_cxx_try_compile "$LINENO"; then :
30072 glibcxx_cv_func__frexpf_use=yes
30073 else
30074 glibcxx_cv_func__frexpf_use=no
30076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30077 ac_ext=c
30078 ac_cpp='$CPP $CPPFLAGS'
30079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
30088 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
30090 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
30091 for ac_func in _frexpf
30092 do :
30093 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
30094 if test "x$ac_cv_func__frexpf" = x""yes; then :
30095 cat >>confdefs.h <<_ACEOF
30096 #define HAVE__FREXPF 1
30097 _ACEOF
30100 done
30109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
30110 $as_echo_n "checking for hypotf declaration... " >&6; }
30111 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
30112 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
30113 $as_echo_n "(cached) " >&6
30114 else
30117 ac_ext=cpp
30118 ac_cpp='$CXXCPP $CPPFLAGS'
30119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30124 /* end confdefs.h. */
30125 #include <math.h>
30127 main ()
30129 hypotf(0, 0);
30131 return 0;
30133 _ACEOF
30134 if ac_fn_cxx_try_compile "$LINENO"; then :
30135 glibcxx_cv_func_hypotf_use=yes
30136 else
30137 glibcxx_cv_func_hypotf_use=no
30139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30140 ac_ext=c
30141 ac_cpp='$CPP $CPPFLAGS'
30142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
30151 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
30153 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
30154 for ac_func in hypotf
30155 do :
30156 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
30157 if test "x$ac_cv_func_hypotf" = x""yes; then :
30158 cat >>confdefs.h <<_ACEOF
30159 #define HAVE_HYPOTF 1
30160 _ACEOF
30163 done
30165 else
30167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
30168 $as_echo_n "checking for _hypotf declaration... " >&6; }
30169 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
30170 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
30171 $as_echo_n "(cached) " >&6
30172 else
30175 ac_ext=cpp
30176 ac_cpp='$CXXCPP $CPPFLAGS'
30177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30182 /* end confdefs.h. */
30183 #include <math.h>
30185 main ()
30187 _hypotf(0, 0);
30189 return 0;
30191 _ACEOF
30192 if ac_fn_cxx_try_compile "$LINENO"; then :
30193 glibcxx_cv_func__hypotf_use=yes
30194 else
30195 glibcxx_cv_func__hypotf_use=no
30197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30198 ac_ext=c
30199 ac_cpp='$CPP $CPPFLAGS'
30200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
30209 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
30211 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
30212 for ac_func in _hypotf
30213 do :
30214 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
30215 if test "x$ac_cv_func__hypotf" = x""yes; then :
30216 cat >>confdefs.h <<_ACEOF
30217 #define HAVE__HYPOTF 1
30218 _ACEOF
30221 done
30230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
30231 $as_echo_n "checking for ldexpf declaration... " >&6; }
30232 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
30233 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
30234 $as_echo_n "(cached) " >&6
30235 else
30238 ac_ext=cpp
30239 ac_cpp='$CXXCPP $CPPFLAGS'
30240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30245 /* end confdefs.h. */
30246 #include <math.h>
30248 main ()
30250 ldexpf(0, 0);
30252 return 0;
30254 _ACEOF
30255 if ac_fn_cxx_try_compile "$LINENO"; then :
30256 glibcxx_cv_func_ldexpf_use=yes
30257 else
30258 glibcxx_cv_func_ldexpf_use=no
30260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30261 ac_ext=c
30262 ac_cpp='$CPP $CPPFLAGS'
30263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
30272 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
30274 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
30275 for ac_func in ldexpf
30276 do :
30277 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
30278 if test "x$ac_cv_func_ldexpf" = x""yes; then :
30279 cat >>confdefs.h <<_ACEOF
30280 #define HAVE_LDEXPF 1
30281 _ACEOF
30284 done
30286 else
30288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
30289 $as_echo_n "checking for _ldexpf declaration... " >&6; }
30290 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
30291 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
30292 $as_echo_n "(cached) " >&6
30293 else
30296 ac_ext=cpp
30297 ac_cpp='$CXXCPP $CPPFLAGS'
30298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30303 /* end confdefs.h. */
30304 #include <math.h>
30306 main ()
30308 _ldexpf(0, 0);
30310 return 0;
30312 _ACEOF
30313 if ac_fn_cxx_try_compile "$LINENO"; then :
30314 glibcxx_cv_func__ldexpf_use=yes
30315 else
30316 glibcxx_cv_func__ldexpf_use=no
30318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30319 ac_ext=c
30320 ac_cpp='$CPP $CPPFLAGS'
30321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
30330 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
30332 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
30333 for ac_func in _ldexpf
30334 do :
30335 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
30336 if test "x$ac_cv_func__ldexpf" = x""yes; then :
30337 cat >>confdefs.h <<_ACEOF
30338 #define HAVE__LDEXPF 1
30339 _ACEOF
30342 done
30351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
30352 $as_echo_n "checking for logf declaration... " >&6; }
30353 if test x${glibcxx_cv_func_logf_use+set} != xset; then
30354 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
30355 $as_echo_n "(cached) " >&6
30356 else
30359 ac_ext=cpp
30360 ac_cpp='$CXXCPP $CPPFLAGS'
30361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30366 /* end confdefs.h. */
30367 #include <math.h>
30368 #ifdef HAVE_IEEEFP_H
30369 #include <ieeefp.h>
30370 #endif
30373 main ()
30375 logf(0);
30377 return 0;
30379 _ACEOF
30380 if ac_fn_cxx_try_compile "$LINENO"; then :
30381 glibcxx_cv_func_logf_use=yes
30382 else
30383 glibcxx_cv_func_logf_use=no
30385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30386 ac_ext=c
30387 ac_cpp='$CPP $CPPFLAGS'
30388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
30397 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
30399 if test x$glibcxx_cv_func_logf_use = x"yes"; then
30400 for ac_func in logf
30401 do :
30402 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
30403 if test "x$ac_cv_func_logf" = x""yes; then :
30404 cat >>confdefs.h <<_ACEOF
30405 #define HAVE_LOGF 1
30406 _ACEOF
30409 done
30411 else
30413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
30414 $as_echo_n "checking for _logf declaration... " >&6; }
30415 if test x${glibcxx_cv_func__logf_use+set} != xset; then
30416 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
30417 $as_echo_n "(cached) " >&6
30418 else
30421 ac_ext=cpp
30422 ac_cpp='$CXXCPP $CPPFLAGS'
30423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30428 /* end confdefs.h. */
30429 #include <math.h>
30430 #ifdef HAVE_IEEEFP_H
30431 #include <ieeefp.h>
30432 #endif
30435 main ()
30437 _logf(0);
30439 return 0;
30441 _ACEOF
30442 if ac_fn_cxx_try_compile "$LINENO"; then :
30443 glibcxx_cv_func__logf_use=yes
30444 else
30445 glibcxx_cv_func__logf_use=no
30447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30448 ac_ext=c
30449 ac_cpp='$CPP $CPPFLAGS'
30450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
30459 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
30461 if test x$glibcxx_cv_func__logf_use = x"yes"; then
30462 for ac_func in _logf
30463 do :
30464 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
30465 if test "x$ac_cv_func__logf" = x""yes; then :
30466 cat >>confdefs.h <<_ACEOF
30467 #define HAVE__LOGF 1
30468 _ACEOF
30471 done
30480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
30481 $as_echo_n "checking for log10f declaration... " >&6; }
30482 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
30483 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
30484 $as_echo_n "(cached) " >&6
30485 else
30488 ac_ext=cpp
30489 ac_cpp='$CXXCPP $CPPFLAGS'
30490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30495 /* end confdefs.h. */
30496 #include <math.h>
30497 #ifdef HAVE_IEEEFP_H
30498 #include <ieeefp.h>
30499 #endif
30502 main ()
30504 log10f(0);
30506 return 0;
30508 _ACEOF
30509 if ac_fn_cxx_try_compile "$LINENO"; then :
30510 glibcxx_cv_func_log10f_use=yes
30511 else
30512 glibcxx_cv_func_log10f_use=no
30514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30515 ac_ext=c
30516 ac_cpp='$CPP $CPPFLAGS'
30517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
30526 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
30528 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
30529 for ac_func in log10f
30530 do :
30531 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
30532 if test "x$ac_cv_func_log10f" = x""yes; then :
30533 cat >>confdefs.h <<_ACEOF
30534 #define HAVE_LOG10F 1
30535 _ACEOF
30538 done
30540 else
30542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
30543 $as_echo_n "checking for _log10f declaration... " >&6; }
30544 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
30545 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
30546 $as_echo_n "(cached) " >&6
30547 else
30550 ac_ext=cpp
30551 ac_cpp='$CXXCPP $CPPFLAGS'
30552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30557 /* end confdefs.h. */
30558 #include <math.h>
30559 #ifdef HAVE_IEEEFP_H
30560 #include <ieeefp.h>
30561 #endif
30564 main ()
30566 _log10f(0);
30568 return 0;
30570 _ACEOF
30571 if ac_fn_cxx_try_compile "$LINENO"; then :
30572 glibcxx_cv_func__log10f_use=yes
30573 else
30574 glibcxx_cv_func__log10f_use=no
30576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30577 ac_ext=c
30578 ac_cpp='$CPP $CPPFLAGS'
30579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
30588 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
30590 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
30591 for ac_func in _log10f
30592 do :
30593 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
30594 if test "x$ac_cv_func__log10f" = x""yes; then :
30595 cat >>confdefs.h <<_ACEOF
30596 #define HAVE__LOG10F 1
30597 _ACEOF
30600 done
30609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
30610 $as_echo_n "checking for modff declaration... " >&6; }
30611 if test x${glibcxx_cv_func_modff_use+set} != xset; then
30612 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
30613 $as_echo_n "(cached) " >&6
30614 else
30617 ac_ext=cpp
30618 ac_cpp='$CXXCPP $CPPFLAGS'
30619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30624 /* end confdefs.h. */
30625 #include <math.h>
30627 main ()
30629 modff(0, 0);
30631 return 0;
30633 _ACEOF
30634 if ac_fn_cxx_try_compile "$LINENO"; then :
30635 glibcxx_cv_func_modff_use=yes
30636 else
30637 glibcxx_cv_func_modff_use=no
30639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30640 ac_ext=c
30641 ac_cpp='$CPP $CPPFLAGS'
30642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
30651 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
30653 if test x$glibcxx_cv_func_modff_use = x"yes"; then
30654 for ac_func in modff
30655 do :
30656 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
30657 if test "x$ac_cv_func_modff" = x""yes; then :
30658 cat >>confdefs.h <<_ACEOF
30659 #define HAVE_MODFF 1
30660 _ACEOF
30663 done
30665 else
30667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
30668 $as_echo_n "checking for _modff declaration... " >&6; }
30669 if test x${glibcxx_cv_func__modff_use+set} != xset; then
30670 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
30671 $as_echo_n "(cached) " >&6
30672 else
30675 ac_ext=cpp
30676 ac_cpp='$CXXCPP $CPPFLAGS'
30677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30682 /* end confdefs.h. */
30683 #include <math.h>
30685 main ()
30687 _modff(0, 0);
30689 return 0;
30691 _ACEOF
30692 if ac_fn_cxx_try_compile "$LINENO"; then :
30693 glibcxx_cv_func__modff_use=yes
30694 else
30695 glibcxx_cv_func__modff_use=no
30697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30698 ac_ext=c
30699 ac_cpp='$CPP $CPPFLAGS'
30700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
30709 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
30711 if test x$glibcxx_cv_func__modff_use = x"yes"; then
30712 for ac_func in _modff
30713 do :
30714 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
30715 if test "x$ac_cv_func__modff" = x""yes; then :
30716 cat >>confdefs.h <<_ACEOF
30717 #define HAVE__MODFF 1
30718 _ACEOF
30721 done
30730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
30731 $as_echo_n "checking for modf declaration... " >&6; }
30732 if test x${glibcxx_cv_func_modf_use+set} != xset; then
30733 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
30734 $as_echo_n "(cached) " >&6
30735 else
30738 ac_ext=cpp
30739 ac_cpp='$CXXCPP $CPPFLAGS'
30740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30745 /* end confdefs.h. */
30746 #include <math.h>
30748 main ()
30750 modf(0, 0);
30752 return 0;
30754 _ACEOF
30755 if ac_fn_cxx_try_compile "$LINENO"; then :
30756 glibcxx_cv_func_modf_use=yes
30757 else
30758 glibcxx_cv_func_modf_use=no
30760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30761 ac_ext=c
30762 ac_cpp='$CPP $CPPFLAGS'
30763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
30772 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
30774 if test x$glibcxx_cv_func_modf_use = x"yes"; then
30775 for ac_func in modf
30776 do :
30777 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
30778 if test "x$ac_cv_func_modf" = x""yes; then :
30779 cat >>confdefs.h <<_ACEOF
30780 #define HAVE_MODF 1
30781 _ACEOF
30784 done
30786 else
30788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
30789 $as_echo_n "checking for _modf declaration... " >&6; }
30790 if test x${glibcxx_cv_func__modf_use+set} != xset; then
30791 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
30792 $as_echo_n "(cached) " >&6
30793 else
30796 ac_ext=cpp
30797 ac_cpp='$CXXCPP $CPPFLAGS'
30798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30803 /* end confdefs.h. */
30804 #include <math.h>
30806 main ()
30808 _modf(0, 0);
30810 return 0;
30812 _ACEOF
30813 if ac_fn_cxx_try_compile "$LINENO"; then :
30814 glibcxx_cv_func__modf_use=yes
30815 else
30816 glibcxx_cv_func__modf_use=no
30818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30819 ac_ext=c
30820 ac_cpp='$CPP $CPPFLAGS'
30821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
30830 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
30832 if test x$glibcxx_cv_func__modf_use = x"yes"; then
30833 for ac_func in _modf
30834 do :
30835 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
30836 if test "x$ac_cv_func__modf" = x""yes; then :
30837 cat >>confdefs.h <<_ACEOF
30838 #define HAVE__MODF 1
30839 _ACEOF
30842 done
30851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
30852 $as_echo_n "checking for powf declaration... " >&6; }
30853 if test x${glibcxx_cv_func_powf_use+set} != xset; then
30854 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
30855 $as_echo_n "(cached) " >&6
30856 else
30859 ac_ext=cpp
30860 ac_cpp='$CXXCPP $CPPFLAGS'
30861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30866 /* end confdefs.h. */
30867 #include <math.h>
30869 main ()
30871 powf(0, 0);
30873 return 0;
30875 _ACEOF
30876 if ac_fn_cxx_try_compile "$LINENO"; then :
30877 glibcxx_cv_func_powf_use=yes
30878 else
30879 glibcxx_cv_func_powf_use=no
30881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30882 ac_ext=c
30883 ac_cpp='$CPP $CPPFLAGS'
30884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
30893 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
30895 if test x$glibcxx_cv_func_powf_use = x"yes"; then
30896 for ac_func in powf
30897 do :
30898 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
30899 if test "x$ac_cv_func_powf" = x""yes; then :
30900 cat >>confdefs.h <<_ACEOF
30901 #define HAVE_POWF 1
30902 _ACEOF
30905 done
30907 else
30909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
30910 $as_echo_n "checking for _powf declaration... " >&6; }
30911 if test x${glibcxx_cv_func__powf_use+set} != xset; then
30912 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
30913 $as_echo_n "(cached) " >&6
30914 else
30917 ac_ext=cpp
30918 ac_cpp='$CXXCPP $CPPFLAGS'
30919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30924 /* end confdefs.h. */
30925 #include <math.h>
30927 main ()
30929 _powf(0, 0);
30931 return 0;
30933 _ACEOF
30934 if ac_fn_cxx_try_compile "$LINENO"; then :
30935 glibcxx_cv_func__powf_use=yes
30936 else
30937 glibcxx_cv_func__powf_use=no
30939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30940 ac_ext=c
30941 ac_cpp='$CPP $CPPFLAGS'
30942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
30951 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
30953 if test x$glibcxx_cv_func__powf_use = x"yes"; then
30954 for ac_func in _powf
30955 do :
30956 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
30957 if test "x$ac_cv_func__powf" = x""yes; then :
30958 cat >>confdefs.h <<_ACEOF
30959 #define HAVE__POWF 1
30960 _ACEOF
30963 done
30972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
30973 $as_echo_n "checking for sqrtf declaration... " >&6; }
30974 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
30975 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
30976 $as_echo_n "(cached) " >&6
30977 else
30980 ac_ext=cpp
30981 ac_cpp='$CXXCPP $CPPFLAGS'
30982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30987 /* end confdefs.h. */
30988 #include <math.h>
30989 #ifdef HAVE_IEEEFP_H
30990 #include <ieeefp.h>
30991 #endif
30994 main ()
30996 sqrtf(0);
30998 return 0;
31000 _ACEOF
31001 if ac_fn_cxx_try_compile "$LINENO"; then :
31002 glibcxx_cv_func_sqrtf_use=yes
31003 else
31004 glibcxx_cv_func_sqrtf_use=no
31006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31007 ac_ext=c
31008 ac_cpp='$CPP $CPPFLAGS'
31009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
31018 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
31020 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
31021 for ac_func in sqrtf
31022 do :
31023 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
31024 if test "x$ac_cv_func_sqrtf" = x""yes; then :
31025 cat >>confdefs.h <<_ACEOF
31026 #define HAVE_SQRTF 1
31027 _ACEOF
31030 done
31032 else
31034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
31035 $as_echo_n "checking for _sqrtf declaration... " >&6; }
31036 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
31037 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
31038 $as_echo_n "(cached) " >&6
31039 else
31042 ac_ext=cpp
31043 ac_cpp='$CXXCPP $CPPFLAGS'
31044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31049 /* end confdefs.h. */
31050 #include <math.h>
31051 #ifdef HAVE_IEEEFP_H
31052 #include <ieeefp.h>
31053 #endif
31056 main ()
31058 _sqrtf(0);
31060 return 0;
31062 _ACEOF
31063 if ac_fn_cxx_try_compile "$LINENO"; then :
31064 glibcxx_cv_func__sqrtf_use=yes
31065 else
31066 glibcxx_cv_func__sqrtf_use=no
31068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31069 ac_ext=c
31070 ac_cpp='$CPP $CPPFLAGS'
31071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
31080 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
31082 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
31083 for ac_func in _sqrtf
31084 do :
31085 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
31086 if test "x$ac_cv_func__sqrtf" = x""yes; then :
31087 cat >>confdefs.h <<_ACEOF
31088 #define HAVE__SQRTF 1
31089 _ACEOF
31092 done
31101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
31102 $as_echo_n "checking for sincosf declaration... " >&6; }
31103 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
31104 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
31105 $as_echo_n "(cached) " >&6
31106 else
31109 ac_ext=cpp
31110 ac_cpp='$CXXCPP $CPPFLAGS'
31111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31116 /* end confdefs.h. */
31117 #include <math.h>
31119 main ()
31121 sincosf(0, 0, 0);
31123 return 0;
31125 _ACEOF
31126 if ac_fn_cxx_try_compile "$LINENO"; then :
31127 glibcxx_cv_func_sincosf_use=yes
31128 else
31129 glibcxx_cv_func_sincosf_use=no
31131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31132 ac_ext=c
31133 ac_cpp='$CPP $CPPFLAGS'
31134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
31143 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
31145 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
31146 for ac_func in sincosf
31147 do :
31148 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
31149 if test "x$ac_cv_func_sincosf" = x""yes; then :
31150 cat >>confdefs.h <<_ACEOF
31151 #define HAVE_SINCOSF 1
31152 _ACEOF
31155 done
31157 else
31159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
31160 $as_echo_n "checking for _sincosf declaration... " >&6; }
31161 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
31162 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
31163 $as_echo_n "(cached) " >&6
31164 else
31167 ac_ext=cpp
31168 ac_cpp='$CXXCPP $CPPFLAGS'
31169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31174 /* end confdefs.h. */
31175 #include <math.h>
31177 main ()
31179 _sincosf(0, 0, 0);
31181 return 0;
31183 _ACEOF
31184 if ac_fn_cxx_try_compile "$LINENO"; then :
31185 glibcxx_cv_func__sincosf_use=yes
31186 else
31187 glibcxx_cv_func__sincosf_use=no
31189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31190 ac_ext=c
31191 ac_cpp='$CPP $CPPFLAGS'
31192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
31201 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
31203 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
31204 for ac_func in _sincosf
31205 do :
31206 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
31207 if test "x$ac_cv_func__sincosf" = x""yes; then :
31208 cat >>confdefs.h <<_ACEOF
31209 #define HAVE__SINCOSF 1
31210 _ACEOF
31213 done
31222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
31223 $as_echo_n "checking for finitef declaration... " >&6; }
31224 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
31225 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
31226 $as_echo_n "(cached) " >&6
31227 else
31230 ac_ext=cpp
31231 ac_cpp='$CXXCPP $CPPFLAGS'
31232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31237 /* end confdefs.h. */
31238 #include <math.h>
31239 #ifdef HAVE_IEEEFP_H
31240 #include <ieeefp.h>
31241 #endif
31244 main ()
31246 finitef(0);
31248 return 0;
31250 _ACEOF
31251 if ac_fn_cxx_try_compile "$LINENO"; then :
31252 glibcxx_cv_func_finitef_use=yes
31253 else
31254 glibcxx_cv_func_finitef_use=no
31256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31257 ac_ext=c
31258 ac_cpp='$CPP $CPPFLAGS'
31259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
31268 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
31270 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
31271 for ac_func in finitef
31272 do :
31273 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
31274 if test "x$ac_cv_func_finitef" = x""yes; then :
31275 cat >>confdefs.h <<_ACEOF
31276 #define HAVE_FINITEF 1
31277 _ACEOF
31280 done
31282 else
31284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
31285 $as_echo_n "checking for _finitef declaration... " >&6; }
31286 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
31287 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
31288 $as_echo_n "(cached) " >&6
31289 else
31292 ac_ext=cpp
31293 ac_cpp='$CXXCPP $CPPFLAGS'
31294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31299 /* end confdefs.h. */
31300 #include <math.h>
31301 #ifdef HAVE_IEEEFP_H
31302 #include <ieeefp.h>
31303 #endif
31306 main ()
31308 _finitef(0);
31310 return 0;
31312 _ACEOF
31313 if ac_fn_cxx_try_compile "$LINENO"; then :
31314 glibcxx_cv_func__finitef_use=yes
31315 else
31316 glibcxx_cv_func__finitef_use=no
31318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31319 ac_ext=c
31320 ac_cpp='$CPP $CPPFLAGS'
31321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
31330 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
31332 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
31333 for ac_func in _finitef
31334 do :
31335 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
31336 if test "x$ac_cv_func__finitef" = x""yes; then :
31337 cat >>confdefs.h <<_ACEOF
31338 #define HAVE__FINITEF 1
31339 _ACEOF
31342 done
31351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
31352 $as_echo_n "checking for long double trig functions... " >&6; }
31353 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
31354 $as_echo_n "(cached) " >&6
31355 else
31358 ac_ext=cpp
31359 ac_cpp='$CXXCPP $CPPFLAGS'
31360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31365 /* end confdefs.h. */
31366 #include <math.h>
31368 main ()
31370 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
31372 return 0;
31374 _ACEOF
31375 if ac_fn_cxx_try_compile "$LINENO"; then :
31376 glibcxx_cv_func_long_double_trig_use=yes
31377 else
31378 glibcxx_cv_func_long_double_trig_use=no
31380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31381 ac_ext=c
31382 ac_cpp='$CPP $CPPFLAGS'
31383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
31390 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
31391 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
31392 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
31393 do :
31394 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31395 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31396 eval as_val=\$$as_ac_var
31397 if test "x$as_val" = x""yes; then :
31398 cat >>confdefs.h <<_ACEOF
31399 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31400 _ACEOF
31403 done
31405 else
31406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
31407 $as_echo_n "checking for _long double trig functions... " >&6; }
31408 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
31409 $as_echo_n "(cached) " >&6
31410 else
31413 ac_ext=cpp
31414 ac_cpp='$CXXCPP $CPPFLAGS'
31415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31420 /* end confdefs.h. */
31421 #include <math.h>
31423 main ()
31425 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
31427 return 0;
31429 _ACEOF
31430 if ac_fn_cxx_try_compile "$LINENO"; then :
31431 glibcxx_cv_func__long_double_trig_use=yes
31432 else
31433 glibcxx_cv_func__long_double_trig_use=no
31435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31436 ac_ext=c
31437 ac_cpp='$CPP $CPPFLAGS'
31438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
31445 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
31446 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
31447 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
31448 do :
31449 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31450 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31451 eval as_val=\$$as_ac_var
31452 if test "x$as_val" = x""yes; then :
31453 cat >>confdefs.h <<_ACEOF
31454 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31455 _ACEOF
31458 done
31467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
31468 $as_echo_n "checking for long double round functions... " >&6; }
31469 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
31470 $as_echo_n "(cached) " >&6
31471 else
31474 ac_ext=cpp
31475 ac_cpp='$CXXCPP $CPPFLAGS'
31476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31481 /* end confdefs.h. */
31482 #include <math.h>
31484 main ()
31486 ceill (0); floorl (0);
31488 return 0;
31490 _ACEOF
31491 if ac_fn_cxx_try_compile "$LINENO"; then :
31492 glibcxx_cv_func_long_double_round_use=yes
31493 else
31494 glibcxx_cv_func_long_double_round_use=no
31496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31497 ac_ext=c
31498 ac_cpp='$CPP $CPPFLAGS'
31499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
31506 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
31507 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
31508 for ac_func in ceill floorl
31509 do :
31510 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31511 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31512 eval as_val=\$$as_ac_var
31513 if test "x$as_val" = x""yes; then :
31514 cat >>confdefs.h <<_ACEOF
31515 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31516 _ACEOF
31519 done
31521 else
31522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
31523 $as_echo_n "checking for _long double round functions... " >&6; }
31524 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
31525 $as_echo_n "(cached) " >&6
31526 else
31529 ac_ext=cpp
31530 ac_cpp='$CXXCPP $CPPFLAGS'
31531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31536 /* end confdefs.h. */
31537 #include <math.h>
31539 main ()
31541 _ceill (0); _floorl (0);
31543 return 0;
31545 _ACEOF
31546 if ac_fn_cxx_try_compile "$LINENO"; then :
31547 glibcxx_cv_func__long_double_round_use=yes
31548 else
31549 glibcxx_cv_func__long_double_round_use=no
31551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31552 ac_ext=c
31553 ac_cpp='$CPP $CPPFLAGS'
31554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
31561 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
31562 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
31563 for ac_func in _ceill _floorl
31564 do :
31565 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31566 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31567 eval as_val=\$$as_ac_var
31568 if test "x$as_val" = x""yes; then :
31569 cat >>confdefs.h <<_ACEOF
31570 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31571 _ACEOF
31574 done
31584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
31585 $as_echo_n "checking for isnanl declaration... " >&6; }
31586 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
31587 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
31588 $as_echo_n "(cached) " >&6
31589 else
31592 ac_ext=cpp
31593 ac_cpp='$CXXCPP $CPPFLAGS'
31594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31599 /* end confdefs.h. */
31600 #include <math.h>
31601 #ifdef HAVE_IEEEFP_H
31602 #include <ieeefp.h>
31603 #endif
31606 main ()
31608 isnanl(0);
31610 return 0;
31612 _ACEOF
31613 if ac_fn_cxx_try_compile "$LINENO"; then :
31614 glibcxx_cv_func_isnanl_use=yes
31615 else
31616 glibcxx_cv_func_isnanl_use=no
31618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31619 ac_ext=c
31620 ac_cpp='$CPP $CPPFLAGS'
31621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
31630 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
31632 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
31633 for ac_func in isnanl
31634 do :
31635 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
31636 if test "x$ac_cv_func_isnanl" = x""yes; then :
31637 cat >>confdefs.h <<_ACEOF
31638 #define HAVE_ISNANL 1
31639 _ACEOF
31642 done
31644 else
31646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
31647 $as_echo_n "checking for _isnanl declaration... " >&6; }
31648 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
31649 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
31650 $as_echo_n "(cached) " >&6
31651 else
31654 ac_ext=cpp
31655 ac_cpp='$CXXCPP $CPPFLAGS'
31656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31661 /* end confdefs.h. */
31662 #include <math.h>
31663 #ifdef HAVE_IEEEFP_H
31664 #include <ieeefp.h>
31665 #endif
31668 main ()
31670 _isnanl(0);
31672 return 0;
31674 _ACEOF
31675 if ac_fn_cxx_try_compile "$LINENO"; then :
31676 glibcxx_cv_func__isnanl_use=yes
31677 else
31678 glibcxx_cv_func__isnanl_use=no
31680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31681 ac_ext=c
31682 ac_cpp='$CPP $CPPFLAGS'
31683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
31692 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
31694 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
31695 for ac_func in _isnanl
31696 do :
31697 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
31698 if test "x$ac_cv_func__isnanl" = x""yes; then :
31699 cat >>confdefs.h <<_ACEOF
31700 #define HAVE__ISNANL 1
31701 _ACEOF
31704 done
31713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
31714 $as_echo_n "checking for isinfl declaration... " >&6; }
31715 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
31716 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
31717 $as_echo_n "(cached) " >&6
31718 else
31721 ac_ext=cpp
31722 ac_cpp='$CXXCPP $CPPFLAGS'
31723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31728 /* end confdefs.h. */
31729 #include <math.h>
31730 #ifdef HAVE_IEEEFP_H
31731 #include <ieeefp.h>
31732 #endif
31735 main ()
31737 isinfl(0);
31739 return 0;
31741 _ACEOF
31742 if ac_fn_cxx_try_compile "$LINENO"; then :
31743 glibcxx_cv_func_isinfl_use=yes
31744 else
31745 glibcxx_cv_func_isinfl_use=no
31747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31748 ac_ext=c
31749 ac_cpp='$CPP $CPPFLAGS'
31750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
31759 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
31761 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
31762 for ac_func in isinfl
31763 do :
31764 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
31765 if test "x$ac_cv_func_isinfl" = x""yes; then :
31766 cat >>confdefs.h <<_ACEOF
31767 #define HAVE_ISINFL 1
31768 _ACEOF
31771 done
31773 else
31775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
31776 $as_echo_n "checking for _isinfl declaration... " >&6; }
31777 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
31778 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
31779 $as_echo_n "(cached) " >&6
31780 else
31783 ac_ext=cpp
31784 ac_cpp='$CXXCPP $CPPFLAGS'
31785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31790 /* end confdefs.h. */
31791 #include <math.h>
31792 #ifdef HAVE_IEEEFP_H
31793 #include <ieeefp.h>
31794 #endif
31797 main ()
31799 _isinfl(0);
31801 return 0;
31803 _ACEOF
31804 if ac_fn_cxx_try_compile "$LINENO"; then :
31805 glibcxx_cv_func__isinfl_use=yes
31806 else
31807 glibcxx_cv_func__isinfl_use=no
31809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31810 ac_ext=c
31811 ac_cpp='$CPP $CPPFLAGS'
31812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
31821 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
31823 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
31824 for ac_func in _isinfl
31825 do :
31826 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
31827 if test "x$ac_cv_func__isinfl" = x""yes; then :
31828 cat >>confdefs.h <<_ACEOF
31829 #define HAVE__ISINFL 1
31830 _ACEOF
31833 done
31842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
31843 $as_echo_n "checking for atan2l declaration... " >&6; }
31844 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
31845 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
31846 $as_echo_n "(cached) " >&6
31847 else
31850 ac_ext=cpp
31851 ac_cpp='$CXXCPP $CPPFLAGS'
31852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31857 /* end confdefs.h. */
31858 #include <math.h>
31860 main ()
31862 atan2l(0, 0);
31864 return 0;
31866 _ACEOF
31867 if ac_fn_cxx_try_compile "$LINENO"; then :
31868 glibcxx_cv_func_atan2l_use=yes
31869 else
31870 glibcxx_cv_func_atan2l_use=no
31872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31873 ac_ext=c
31874 ac_cpp='$CPP $CPPFLAGS'
31875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
31884 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
31886 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
31887 for ac_func in atan2l
31888 do :
31889 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
31890 if test "x$ac_cv_func_atan2l" = x""yes; then :
31891 cat >>confdefs.h <<_ACEOF
31892 #define HAVE_ATAN2L 1
31893 _ACEOF
31896 done
31898 else
31900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
31901 $as_echo_n "checking for _atan2l declaration... " >&6; }
31902 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
31903 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
31904 $as_echo_n "(cached) " >&6
31905 else
31908 ac_ext=cpp
31909 ac_cpp='$CXXCPP $CPPFLAGS'
31910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31915 /* end confdefs.h. */
31916 #include <math.h>
31918 main ()
31920 _atan2l(0, 0);
31922 return 0;
31924 _ACEOF
31925 if ac_fn_cxx_try_compile "$LINENO"; then :
31926 glibcxx_cv_func__atan2l_use=yes
31927 else
31928 glibcxx_cv_func__atan2l_use=no
31930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31931 ac_ext=c
31932 ac_cpp='$CPP $CPPFLAGS'
31933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
31942 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
31944 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
31945 for ac_func in _atan2l
31946 do :
31947 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
31948 if test "x$ac_cv_func__atan2l" = x""yes; then :
31949 cat >>confdefs.h <<_ACEOF
31950 #define HAVE__ATAN2L 1
31951 _ACEOF
31954 done
31963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
31964 $as_echo_n "checking for expl declaration... " >&6; }
31965 if test x${glibcxx_cv_func_expl_use+set} != xset; then
31966 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
31967 $as_echo_n "(cached) " >&6
31968 else
31971 ac_ext=cpp
31972 ac_cpp='$CXXCPP $CPPFLAGS'
31973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31978 /* end confdefs.h. */
31979 #include <math.h>
31980 #ifdef HAVE_IEEEFP_H
31981 #include <ieeefp.h>
31982 #endif
31985 main ()
31987 expl(0);
31989 return 0;
31991 _ACEOF
31992 if ac_fn_cxx_try_compile "$LINENO"; then :
31993 glibcxx_cv_func_expl_use=yes
31994 else
31995 glibcxx_cv_func_expl_use=no
31997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31998 ac_ext=c
31999 ac_cpp='$CPP $CPPFLAGS'
32000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
32009 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
32011 if test x$glibcxx_cv_func_expl_use = x"yes"; then
32012 for ac_func in expl
32013 do :
32014 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
32015 if test "x$ac_cv_func_expl" = x""yes; then :
32016 cat >>confdefs.h <<_ACEOF
32017 #define HAVE_EXPL 1
32018 _ACEOF
32021 done
32023 else
32025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
32026 $as_echo_n "checking for _expl declaration... " >&6; }
32027 if test x${glibcxx_cv_func__expl_use+set} != xset; then
32028 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
32029 $as_echo_n "(cached) " >&6
32030 else
32033 ac_ext=cpp
32034 ac_cpp='$CXXCPP $CPPFLAGS'
32035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32040 /* end confdefs.h. */
32041 #include <math.h>
32042 #ifdef HAVE_IEEEFP_H
32043 #include <ieeefp.h>
32044 #endif
32047 main ()
32049 _expl(0);
32051 return 0;
32053 _ACEOF
32054 if ac_fn_cxx_try_compile "$LINENO"; then :
32055 glibcxx_cv_func__expl_use=yes
32056 else
32057 glibcxx_cv_func__expl_use=no
32059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32060 ac_ext=c
32061 ac_cpp='$CPP $CPPFLAGS'
32062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
32071 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
32073 if test x$glibcxx_cv_func__expl_use = x"yes"; then
32074 for ac_func in _expl
32075 do :
32076 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
32077 if test "x$ac_cv_func__expl" = x""yes; then :
32078 cat >>confdefs.h <<_ACEOF
32079 #define HAVE__EXPL 1
32080 _ACEOF
32083 done
32092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
32093 $as_echo_n "checking for fabsl declaration... " >&6; }
32094 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
32095 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
32096 $as_echo_n "(cached) " >&6
32097 else
32100 ac_ext=cpp
32101 ac_cpp='$CXXCPP $CPPFLAGS'
32102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32107 /* end confdefs.h. */
32108 #include <math.h>
32109 #ifdef HAVE_IEEEFP_H
32110 #include <ieeefp.h>
32111 #endif
32114 main ()
32116 fabsl(0);
32118 return 0;
32120 _ACEOF
32121 if ac_fn_cxx_try_compile "$LINENO"; then :
32122 glibcxx_cv_func_fabsl_use=yes
32123 else
32124 glibcxx_cv_func_fabsl_use=no
32126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32127 ac_ext=c
32128 ac_cpp='$CPP $CPPFLAGS'
32129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
32138 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
32140 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
32141 for ac_func in fabsl
32142 do :
32143 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
32144 if test "x$ac_cv_func_fabsl" = x""yes; then :
32145 cat >>confdefs.h <<_ACEOF
32146 #define HAVE_FABSL 1
32147 _ACEOF
32150 done
32152 else
32154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
32155 $as_echo_n "checking for _fabsl declaration... " >&6; }
32156 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
32157 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
32158 $as_echo_n "(cached) " >&6
32159 else
32162 ac_ext=cpp
32163 ac_cpp='$CXXCPP $CPPFLAGS'
32164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32169 /* end confdefs.h. */
32170 #include <math.h>
32171 #ifdef HAVE_IEEEFP_H
32172 #include <ieeefp.h>
32173 #endif
32176 main ()
32178 _fabsl(0);
32180 return 0;
32182 _ACEOF
32183 if ac_fn_cxx_try_compile "$LINENO"; then :
32184 glibcxx_cv_func__fabsl_use=yes
32185 else
32186 glibcxx_cv_func__fabsl_use=no
32188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32189 ac_ext=c
32190 ac_cpp='$CPP $CPPFLAGS'
32191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
32200 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
32202 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
32203 for ac_func in _fabsl
32204 do :
32205 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
32206 if test "x$ac_cv_func__fabsl" = x""yes; then :
32207 cat >>confdefs.h <<_ACEOF
32208 #define HAVE__FABSL 1
32209 _ACEOF
32212 done
32221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
32222 $as_echo_n "checking for fmodl declaration... " >&6; }
32223 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
32224 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
32225 $as_echo_n "(cached) " >&6
32226 else
32229 ac_ext=cpp
32230 ac_cpp='$CXXCPP $CPPFLAGS'
32231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32236 /* end confdefs.h. */
32237 #include <math.h>
32239 main ()
32241 fmodl(0, 0);
32243 return 0;
32245 _ACEOF
32246 if ac_fn_cxx_try_compile "$LINENO"; then :
32247 glibcxx_cv_func_fmodl_use=yes
32248 else
32249 glibcxx_cv_func_fmodl_use=no
32251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32252 ac_ext=c
32253 ac_cpp='$CPP $CPPFLAGS'
32254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
32263 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
32265 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
32266 for ac_func in fmodl
32267 do :
32268 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
32269 if test "x$ac_cv_func_fmodl" = x""yes; then :
32270 cat >>confdefs.h <<_ACEOF
32271 #define HAVE_FMODL 1
32272 _ACEOF
32275 done
32277 else
32279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
32280 $as_echo_n "checking for _fmodl declaration... " >&6; }
32281 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
32282 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
32283 $as_echo_n "(cached) " >&6
32284 else
32287 ac_ext=cpp
32288 ac_cpp='$CXXCPP $CPPFLAGS'
32289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32294 /* end confdefs.h. */
32295 #include <math.h>
32297 main ()
32299 _fmodl(0, 0);
32301 return 0;
32303 _ACEOF
32304 if ac_fn_cxx_try_compile "$LINENO"; then :
32305 glibcxx_cv_func__fmodl_use=yes
32306 else
32307 glibcxx_cv_func__fmodl_use=no
32309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32310 ac_ext=c
32311 ac_cpp='$CPP $CPPFLAGS'
32312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
32321 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
32323 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
32324 for ac_func in _fmodl
32325 do :
32326 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
32327 if test "x$ac_cv_func__fmodl" = x""yes; then :
32328 cat >>confdefs.h <<_ACEOF
32329 #define HAVE__FMODL 1
32330 _ACEOF
32333 done
32342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
32343 $as_echo_n "checking for frexpl declaration... " >&6; }
32344 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
32345 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
32346 $as_echo_n "(cached) " >&6
32347 else
32350 ac_ext=cpp
32351 ac_cpp='$CXXCPP $CPPFLAGS'
32352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32357 /* end confdefs.h. */
32358 #include <math.h>
32360 main ()
32362 frexpl(0, 0);
32364 return 0;
32366 _ACEOF
32367 if ac_fn_cxx_try_compile "$LINENO"; then :
32368 glibcxx_cv_func_frexpl_use=yes
32369 else
32370 glibcxx_cv_func_frexpl_use=no
32372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32373 ac_ext=c
32374 ac_cpp='$CPP $CPPFLAGS'
32375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
32384 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
32386 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
32387 for ac_func in frexpl
32388 do :
32389 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
32390 if test "x$ac_cv_func_frexpl" = x""yes; then :
32391 cat >>confdefs.h <<_ACEOF
32392 #define HAVE_FREXPL 1
32393 _ACEOF
32396 done
32398 else
32400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
32401 $as_echo_n "checking for _frexpl declaration... " >&6; }
32402 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
32403 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
32404 $as_echo_n "(cached) " >&6
32405 else
32408 ac_ext=cpp
32409 ac_cpp='$CXXCPP $CPPFLAGS'
32410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32415 /* end confdefs.h. */
32416 #include <math.h>
32418 main ()
32420 _frexpl(0, 0);
32422 return 0;
32424 _ACEOF
32425 if ac_fn_cxx_try_compile "$LINENO"; then :
32426 glibcxx_cv_func__frexpl_use=yes
32427 else
32428 glibcxx_cv_func__frexpl_use=no
32430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32431 ac_ext=c
32432 ac_cpp='$CPP $CPPFLAGS'
32433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
32442 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
32444 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
32445 for ac_func in _frexpl
32446 do :
32447 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
32448 if test "x$ac_cv_func__frexpl" = x""yes; then :
32449 cat >>confdefs.h <<_ACEOF
32450 #define HAVE__FREXPL 1
32451 _ACEOF
32454 done
32463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
32464 $as_echo_n "checking for hypotl declaration... " >&6; }
32465 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
32466 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
32467 $as_echo_n "(cached) " >&6
32468 else
32471 ac_ext=cpp
32472 ac_cpp='$CXXCPP $CPPFLAGS'
32473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32478 /* end confdefs.h. */
32479 #include <math.h>
32481 main ()
32483 hypotl(0, 0);
32485 return 0;
32487 _ACEOF
32488 if ac_fn_cxx_try_compile "$LINENO"; then :
32489 glibcxx_cv_func_hypotl_use=yes
32490 else
32491 glibcxx_cv_func_hypotl_use=no
32493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32494 ac_ext=c
32495 ac_cpp='$CPP $CPPFLAGS'
32496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
32505 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
32507 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
32508 for ac_func in hypotl
32509 do :
32510 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
32511 if test "x$ac_cv_func_hypotl" = x""yes; then :
32512 cat >>confdefs.h <<_ACEOF
32513 #define HAVE_HYPOTL 1
32514 _ACEOF
32517 done
32519 else
32521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
32522 $as_echo_n "checking for _hypotl declaration... " >&6; }
32523 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
32524 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
32525 $as_echo_n "(cached) " >&6
32526 else
32529 ac_ext=cpp
32530 ac_cpp='$CXXCPP $CPPFLAGS'
32531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32536 /* end confdefs.h. */
32537 #include <math.h>
32539 main ()
32541 _hypotl(0, 0);
32543 return 0;
32545 _ACEOF
32546 if ac_fn_cxx_try_compile "$LINENO"; then :
32547 glibcxx_cv_func__hypotl_use=yes
32548 else
32549 glibcxx_cv_func__hypotl_use=no
32551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32552 ac_ext=c
32553 ac_cpp='$CPP $CPPFLAGS'
32554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
32563 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
32565 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
32566 for ac_func in _hypotl
32567 do :
32568 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
32569 if test "x$ac_cv_func__hypotl" = x""yes; then :
32570 cat >>confdefs.h <<_ACEOF
32571 #define HAVE__HYPOTL 1
32572 _ACEOF
32575 done
32584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
32585 $as_echo_n "checking for ldexpl declaration... " >&6; }
32586 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
32587 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
32588 $as_echo_n "(cached) " >&6
32589 else
32592 ac_ext=cpp
32593 ac_cpp='$CXXCPP $CPPFLAGS'
32594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32599 /* end confdefs.h. */
32600 #include <math.h>
32602 main ()
32604 ldexpl(0, 0);
32606 return 0;
32608 _ACEOF
32609 if ac_fn_cxx_try_compile "$LINENO"; then :
32610 glibcxx_cv_func_ldexpl_use=yes
32611 else
32612 glibcxx_cv_func_ldexpl_use=no
32614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32615 ac_ext=c
32616 ac_cpp='$CPP $CPPFLAGS'
32617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
32626 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
32628 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
32629 for ac_func in ldexpl
32630 do :
32631 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
32632 if test "x$ac_cv_func_ldexpl" = x""yes; then :
32633 cat >>confdefs.h <<_ACEOF
32634 #define HAVE_LDEXPL 1
32635 _ACEOF
32638 done
32640 else
32642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
32643 $as_echo_n "checking for _ldexpl declaration... " >&6; }
32644 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
32645 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
32646 $as_echo_n "(cached) " >&6
32647 else
32650 ac_ext=cpp
32651 ac_cpp='$CXXCPP $CPPFLAGS'
32652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32657 /* end confdefs.h. */
32658 #include <math.h>
32660 main ()
32662 _ldexpl(0, 0);
32664 return 0;
32666 _ACEOF
32667 if ac_fn_cxx_try_compile "$LINENO"; then :
32668 glibcxx_cv_func__ldexpl_use=yes
32669 else
32670 glibcxx_cv_func__ldexpl_use=no
32672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32673 ac_ext=c
32674 ac_cpp='$CPP $CPPFLAGS'
32675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
32684 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
32686 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
32687 for ac_func in _ldexpl
32688 do :
32689 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
32690 if test "x$ac_cv_func__ldexpl" = x""yes; then :
32691 cat >>confdefs.h <<_ACEOF
32692 #define HAVE__LDEXPL 1
32693 _ACEOF
32696 done
32705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
32706 $as_echo_n "checking for logl declaration... " >&6; }
32707 if test x${glibcxx_cv_func_logl_use+set} != xset; then
32708 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
32709 $as_echo_n "(cached) " >&6
32710 else
32713 ac_ext=cpp
32714 ac_cpp='$CXXCPP $CPPFLAGS'
32715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32720 /* end confdefs.h. */
32721 #include <math.h>
32722 #ifdef HAVE_IEEEFP_H
32723 #include <ieeefp.h>
32724 #endif
32727 main ()
32729 logl(0);
32731 return 0;
32733 _ACEOF
32734 if ac_fn_cxx_try_compile "$LINENO"; then :
32735 glibcxx_cv_func_logl_use=yes
32736 else
32737 glibcxx_cv_func_logl_use=no
32739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32740 ac_ext=c
32741 ac_cpp='$CPP $CPPFLAGS'
32742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
32751 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
32753 if test x$glibcxx_cv_func_logl_use = x"yes"; then
32754 for ac_func in logl
32755 do :
32756 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
32757 if test "x$ac_cv_func_logl" = x""yes; then :
32758 cat >>confdefs.h <<_ACEOF
32759 #define HAVE_LOGL 1
32760 _ACEOF
32763 done
32765 else
32767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
32768 $as_echo_n "checking for _logl declaration... " >&6; }
32769 if test x${glibcxx_cv_func__logl_use+set} != xset; then
32770 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
32771 $as_echo_n "(cached) " >&6
32772 else
32775 ac_ext=cpp
32776 ac_cpp='$CXXCPP $CPPFLAGS'
32777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32782 /* end confdefs.h. */
32783 #include <math.h>
32784 #ifdef HAVE_IEEEFP_H
32785 #include <ieeefp.h>
32786 #endif
32789 main ()
32791 _logl(0);
32793 return 0;
32795 _ACEOF
32796 if ac_fn_cxx_try_compile "$LINENO"; then :
32797 glibcxx_cv_func__logl_use=yes
32798 else
32799 glibcxx_cv_func__logl_use=no
32801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32802 ac_ext=c
32803 ac_cpp='$CPP $CPPFLAGS'
32804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
32813 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
32815 if test x$glibcxx_cv_func__logl_use = x"yes"; then
32816 for ac_func in _logl
32817 do :
32818 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
32819 if test "x$ac_cv_func__logl" = x""yes; then :
32820 cat >>confdefs.h <<_ACEOF
32821 #define HAVE__LOGL 1
32822 _ACEOF
32825 done
32834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
32835 $as_echo_n "checking for log10l declaration... " >&6; }
32836 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
32837 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
32838 $as_echo_n "(cached) " >&6
32839 else
32842 ac_ext=cpp
32843 ac_cpp='$CXXCPP $CPPFLAGS'
32844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32849 /* end confdefs.h. */
32850 #include <math.h>
32851 #ifdef HAVE_IEEEFP_H
32852 #include <ieeefp.h>
32853 #endif
32856 main ()
32858 log10l(0);
32860 return 0;
32862 _ACEOF
32863 if ac_fn_cxx_try_compile "$LINENO"; then :
32864 glibcxx_cv_func_log10l_use=yes
32865 else
32866 glibcxx_cv_func_log10l_use=no
32868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32869 ac_ext=c
32870 ac_cpp='$CPP $CPPFLAGS'
32871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
32880 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
32882 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
32883 for ac_func in log10l
32884 do :
32885 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
32886 if test "x$ac_cv_func_log10l" = x""yes; then :
32887 cat >>confdefs.h <<_ACEOF
32888 #define HAVE_LOG10L 1
32889 _ACEOF
32892 done
32894 else
32896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
32897 $as_echo_n "checking for _log10l declaration... " >&6; }
32898 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
32899 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
32900 $as_echo_n "(cached) " >&6
32901 else
32904 ac_ext=cpp
32905 ac_cpp='$CXXCPP $CPPFLAGS'
32906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32911 /* end confdefs.h. */
32912 #include <math.h>
32913 #ifdef HAVE_IEEEFP_H
32914 #include <ieeefp.h>
32915 #endif
32918 main ()
32920 _log10l(0);
32922 return 0;
32924 _ACEOF
32925 if ac_fn_cxx_try_compile "$LINENO"; then :
32926 glibcxx_cv_func__log10l_use=yes
32927 else
32928 glibcxx_cv_func__log10l_use=no
32930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32931 ac_ext=c
32932 ac_cpp='$CPP $CPPFLAGS'
32933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
32942 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
32944 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
32945 for ac_func in _log10l
32946 do :
32947 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
32948 if test "x$ac_cv_func__log10l" = x""yes; then :
32949 cat >>confdefs.h <<_ACEOF
32950 #define HAVE__LOG10L 1
32951 _ACEOF
32954 done
32963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
32964 $as_echo_n "checking for modfl declaration... " >&6; }
32965 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
32966 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
32967 $as_echo_n "(cached) " >&6
32968 else
32971 ac_ext=cpp
32972 ac_cpp='$CXXCPP $CPPFLAGS'
32973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32978 /* end confdefs.h. */
32979 #include <math.h>
32981 main ()
32983 modfl(0, 0);
32985 return 0;
32987 _ACEOF
32988 if ac_fn_cxx_try_compile "$LINENO"; then :
32989 glibcxx_cv_func_modfl_use=yes
32990 else
32991 glibcxx_cv_func_modfl_use=no
32993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32994 ac_ext=c
32995 ac_cpp='$CPP $CPPFLAGS'
32996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
33005 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
33007 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
33008 for ac_func in modfl
33009 do :
33010 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
33011 if test "x$ac_cv_func_modfl" = x""yes; then :
33012 cat >>confdefs.h <<_ACEOF
33013 #define HAVE_MODFL 1
33014 _ACEOF
33017 done
33019 else
33021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
33022 $as_echo_n "checking for _modfl declaration... " >&6; }
33023 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
33024 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
33025 $as_echo_n "(cached) " >&6
33026 else
33029 ac_ext=cpp
33030 ac_cpp='$CXXCPP $CPPFLAGS'
33031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33036 /* end confdefs.h. */
33037 #include <math.h>
33039 main ()
33041 _modfl(0, 0);
33043 return 0;
33045 _ACEOF
33046 if ac_fn_cxx_try_compile "$LINENO"; then :
33047 glibcxx_cv_func__modfl_use=yes
33048 else
33049 glibcxx_cv_func__modfl_use=no
33051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33052 ac_ext=c
33053 ac_cpp='$CPP $CPPFLAGS'
33054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
33063 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
33065 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
33066 for ac_func in _modfl
33067 do :
33068 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
33069 if test "x$ac_cv_func__modfl" = x""yes; then :
33070 cat >>confdefs.h <<_ACEOF
33071 #define HAVE__MODFL 1
33072 _ACEOF
33075 done
33084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
33085 $as_echo_n "checking for powl declaration... " >&6; }
33086 if test x${glibcxx_cv_func_powl_use+set} != xset; then
33087 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
33088 $as_echo_n "(cached) " >&6
33089 else
33092 ac_ext=cpp
33093 ac_cpp='$CXXCPP $CPPFLAGS'
33094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33099 /* end confdefs.h. */
33100 #include <math.h>
33102 main ()
33104 powl(0, 0);
33106 return 0;
33108 _ACEOF
33109 if ac_fn_cxx_try_compile "$LINENO"; then :
33110 glibcxx_cv_func_powl_use=yes
33111 else
33112 glibcxx_cv_func_powl_use=no
33114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33115 ac_ext=c
33116 ac_cpp='$CPP $CPPFLAGS'
33117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
33126 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
33128 if test x$glibcxx_cv_func_powl_use = x"yes"; then
33129 for ac_func in powl
33130 do :
33131 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
33132 if test "x$ac_cv_func_powl" = x""yes; then :
33133 cat >>confdefs.h <<_ACEOF
33134 #define HAVE_POWL 1
33135 _ACEOF
33138 done
33140 else
33142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
33143 $as_echo_n "checking for _powl declaration... " >&6; }
33144 if test x${glibcxx_cv_func__powl_use+set} != xset; then
33145 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
33146 $as_echo_n "(cached) " >&6
33147 else
33150 ac_ext=cpp
33151 ac_cpp='$CXXCPP $CPPFLAGS'
33152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33157 /* end confdefs.h. */
33158 #include <math.h>
33160 main ()
33162 _powl(0, 0);
33164 return 0;
33166 _ACEOF
33167 if ac_fn_cxx_try_compile "$LINENO"; then :
33168 glibcxx_cv_func__powl_use=yes
33169 else
33170 glibcxx_cv_func__powl_use=no
33172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33173 ac_ext=c
33174 ac_cpp='$CPP $CPPFLAGS'
33175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
33184 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
33186 if test x$glibcxx_cv_func__powl_use = x"yes"; then
33187 for ac_func in _powl
33188 do :
33189 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
33190 if test "x$ac_cv_func__powl" = x""yes; then :
33191 cat >>confdefs.h <<_ACEOF
33192 #define HAVE__POWL 1
33193 _ACEOF
33196 done
33205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
33206 $as_echo_n "checking for sqrtl declaration... " >&6; }
33207 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
33208 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
33209 $as_echo_n "(cached) " >&6
33210 else
33213 ac_ext=cpp
33214 ac_cpp='$CXXCPP $CPPFLAGS'
33215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33220 /* end confdefs.h. */
33221 #include <math.h>
33222 #ifdef HAVE_IEEEFP_H
33223 #include <ieeefp.h>
33224 #endif
33227 main ()
33229 sqrtl(0);
33231 return 0;
33233 _ACEOF
33234 if ac_fn_cxx_try_compile "$LINENO"; then :
33235 glibcxx_cv_func_sqrtl_use=yes
33236 else
33237 glibcxx_cv_func_sqrtl_use=no
33239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33240 ac_ext=c
33241 ac_cpp='$CPP $CPPFLAGS'
33242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
33251 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
33253 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
33254 for ac_func in sqrtl
33255 do :
33256 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
33257 if test "x$ac_cv_func_sqrtl" = x""yes; then :
33258 cat >>confdefs.h <<_ACEOF
33259 #define HAVE_SQRTL 1
33260 _ACEOF
33263 done
33265 else
33267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
33268 $as_echo_n "checking for _sqrtl declaration... " >&6; }
33269 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
33270 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
33271 $as_echo_n "(cached) " >&6
33272 else
33275 ac_ext=cpp
33276 ac_cpp='$CXXCPP $CPPFLAGS'
33277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33282 /* end confdefs.h. */
33283 #include <math.h>
33284 #ifdef HAVE_IEEEFP_H
33285 #include <ieeefp.h>
33286 #endif
33289 main ()
33291 _sqrtl(0);
33293 return 0;
33295 _ACEOF
33296 if ac_fn_cxx_try_compile "$LINENO"; then :
33297 glibcxx_cv_func__sqrtl_use=yes
33298 else
33299 glibcxx_cv_func__sqrtl_use=no
33301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33302 ac_ext=c
33303 ac_cpp='$CPP $CPPFLAGS'
33304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
33313 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
33315 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
33316 for ac_func in _sqrtl
33317 do :
33318 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
33319 if test "x$ac_cv_func__sqrtl" = x""yes; then :
33320 cat >>confdefs.h <<_ACEOF
33321 #define HAVE__SQRTL 1
33322 _ACEOF
33325 done
33334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
33335 $as_echo_n "checking for sincosl declaration... " >&6; }
33336 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
33337 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
33338 $as_echo_n "(cached) " >&6
33339 else
33342 ac_ext=cpp
33343 ac_cpp='$CXXCPP $CPPFLAGS'
33344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33349 /* end confdefs.h. */
33350 #include <math.h>
33352 main ()
33354 sincosl(0, 0, 0);
33356 return 0;
33358 _ACEOF
33359 if ac_fn_cxx_try_compile "$LINENO"; then :
33360 glibcxx_cv_func_sincosl_use=yes
33361 else
33362 glibcxx_cv_func_sincosl_use=no
33364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33365 ac_ext=c
33366 ac_cpp='$CPP $CPPFLAGS'
33367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
33376 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
33378 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
33379 for ac_func in sincosl
33380 do :
33381 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
33382 if test "x$ac_cv_func_sincosl" = x""yes; then :
33383 cat >>confdefs.h <<_ACEOF
33384 #define HAVE_SINCOSL 1
33385 _ACEOF
33388 done
33390 else
33392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
33393 $as_echo_n "checking for _sincosl declaration... " >&6; }
33394 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
33395 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
33396 $as_echo_n "(cached) " >&6
33397 else
33400 ac_ext=cpp
33401 ac_cpp='$CXXCPP $CPPFLAGS'
33402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33407 /* end confdefs.h. */
33408 #include <math.h>
33410 main ()
33412 _sincosl(0, 0, 0);
33414 return 0;
33416 _ACEOF
33417 if ac_fn_cxx_try_compile "$LINENO"; then :
33418 glibcxx_cv_func__sincosl_use=yes
33419 else
33420 glibcxx_cv_func__sincosl_use=no
33422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33423 ac_ext=c
33424 ac_cpp='$CPP $CPPFLAGS'
33425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
33434 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
33436 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
33437 for ac_func in _sincosl
33438 do :
33439 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
33440 if test "x$ac_cv_func__sincosl" = x""yes; then :
33441 cat >>confdefs.h <<_ACEOF
33442 #define HAVE__SINCOSL 1
33443 _ACEOF
33446 done
33455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
33456 $as_echo_n "checking for finitel declaration... " >&6; }
33457 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
33458 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
33459 $as_echo_n "(cached) " >&6
33460 else
33463 ac_ext=cpp
33464 ac_cpp='$CXXCPP $CPPFLAGS'
33465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33470 /* end confdefs.h. */
33471 #include <math.h>
33472 #ifdef HAVE_IEEEFP_H
33473 #include <ieeefp.h>
33474 #endif
33477 main ()
33479 finitel(0);
33481 return 0;
33483 _ACEOF
33484 if ac_fn_cxx_try_compile "$LINENO"; then :
33485 glibcxx_cv_func_finitel_use=yes
33486 else
33487 glibcxx_cv_func_finitel_use=no
33489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33490 ac_ext=c
33491 ac_cpp='$CPP $CPPFLAGS'
33492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
33501 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
33503 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
33504 for ac_func in finitel
33505 do :
33506 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
33507 if test "x$ac_cv_func_finitel" = x""yes; then :
33508 cat >>confdefs.h <<_ACEOF
33509 #define HAVE_FINITEL 1
33510 _ACEOF
33513 done
33515 else
33517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
33518 $as_echo_n "checking for _finitel declaration... " >&6; }
33519 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
33520 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
33521 $as_echo_n "(cached) " >&6
33522 else
33525 ac_ext=cpp
33526 ac_cpp='$CXXCPP $CPPFLAGS'
33527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33532 /* end confdefs.h. */
33533 #include <math.h>
33534 #ifdef HAVE_IEEEFP_H
33535 #include <ieeefp.h>
33536 #endif
33539 main ()
33541 _finitel(0);
33543 return 0;
33545 _ACEOF
33546 if ac_fn_cxx_try_compile "$LINENO"; then :
33547 glibcxx_cv_func__finitel_use=yes
33548 else
33549 glibcxx_cv_func__finitel_use=no
33551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33552 ac_ext=c
33553 ac_cpp='$CPP $CPPFLAGS'
33554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
33563 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
33565 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
33566 for ac_func in _finitel
33567 do :
33568 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
33569 if test "x$ac_cv_func__finitel" = x""yes; then :
33570 cat >>confdefs.h <<_ACEOF
33571 #define HAVE__FINITEL 1
33572 _ACEOF
33575 done
33583 LIBS="$ac_save_LIBS"
33584 CXXFLAGS="$ac_save_CXXFLAGS"
33587 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33588 ac_save_CXXFLAGS="$CXXFLAGS"
33589 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
33593 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
33594 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
33595 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
33596 $as_echo_n "(cached) " >&6
33597 else
33600 ac_ext=cpp
33601 ac_cpp='$CXXCPP $CPPFLAGS'
33602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33607 /* end confdefs.h. */
33608 #include <stdlib.h>
33610 main ()
33612 at_quick_exit(0);
33614 return 0;
33616 _ACEOF
33617 if ac_fn_cxx_try_compile "$LINENO"; then :
33618 glibcxx_cv_func_at_quick_exit_use=yes
33619 else
33620 glibcxx_cv_func_at_quick_exit_use=no
33622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33623 ac_ext=c
33624 ac_cpp='$CPP $CPPFLAGS'
33625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
33634 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
33635 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
33636 for ac_func in at_quick_exit
33637 do :
33638 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
33639 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
33640 cat >>confdefs.h <<_ACEOF
33641 #define HAVE_AT_QUICK_EXIT 1
33642 _ACEOF
33645 done
33650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
33651 $as_echo_n "checking for quick_exit declaration... " >&6; }
33652 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
33653 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
33654 $as_echo_n "(cached) " >&6
33655 else
33658 ac_ext=cpp
33659 ac_cpp='$CXXCPP $CPPFLAGS'
33660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33665 /* end confdefs.h. */
33666 #include <stdlib.h>
33668 main ()
33670 quick_exit(0);
33672 return 0;
33674 _ACEOF
33675 if ac_fn_cxx_try_compile "$LINENO"; then :
33676 glibcxx_cv_func_quick_exit_use=yes
33677 else
33678 glibcxx_cv_func_quick_exit_use=no
33680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33681 ac_ext=c
33682 ac_cpp='$CPP $CPPFLAGS'
33683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
33692 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
33693 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
33694 for ac_func in quick_exit
33695 do :
33696 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
33697 if test "x$ac_cv_func_quick_exit" = x""yes; then :
33698 cat >>confdefs.h <<_ACEOF
33699 #define HAVE_QUICK_EXIT 1
33700 _ACEOF
33703 done
33708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
33709 $as_echo_n "checking for strtold declaration... " >&6; }
33710 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
33711 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
33712 $as_echo_n "(cached) " >&6
33713 else
33716 ac_ext=cpp
33717 ac_cpp='$CXXCPP $CPPFLAGS'
33718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33723 /* end confdefs.h. */
33724 #include <stdlib.h>
33726 main ()
33728 strtold(0, 0);
33730 return 0;
33732 _ACEOF
33733 if ac_fn_cxx_try_compile "$LINENO"; then :
33734 glibcxx_cv_func_strtold_use=yes
33735 else
33736 glibcxx_cv_func_strtold_use=no
33738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33739 ac_ext=c
33740 ac_cpp='$CPP $CPPFLAGS'
33741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
33750 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
33751 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
33752 for ac_func in strtold
33753 do :
33754 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
33755 if test "x$ac_cv_func_strtold" = x""yes; then :
33756 cat >>confdefs.h <<_ACEOF
33757 #define HAVE_STRTOLD 1
33758 _ACEOF
33761 done
33768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
33769 $as_echo_n "checking for strtof declaration... " >&6; }
33770 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
33771 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
33772 $as_echo_n "(cached) " >&6
33773 else
33776 ac_ext=cpp
33777 ac_cpp='$CXXCPP $CPPFLAGS'
33778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33783 /* end confdefs.h. */
33784 #include <stdlib.h>
33786 main ()
33788 strtof(0, 0);
33790 return 0;
33792 _ACEOF
33793 if ac_fn_cxx_try_compile "$LINENO"; then :
33794 glibcxx_cv_func_strtof_use=yes
33795 else
33796 glibcxx_cv_func_strtof_use=no
33798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33799 ac_ext=c
33800 ac_cpp='$CPP $CPPFLAGS'
33801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
33810 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
33811 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
33812 for ac_func in strtof
33813 do :
33814 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
33815 if test "x$ac_cv_func_strtof" = x""yes; then :
33816 cat >>confdefs.h <<_ACEOF
33817 #define HAVE_STRTOF 1
33818 _ACEOF
33821 done
33828 CXXFLAGS="$ac_save_CXXFLAGS"
33831 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
33833 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
33835 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
33837 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
33840 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
33842 $as_echo "#define HAVE_MODF 1" >>confdefs.h
33844 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
33848 spu-*-elf*)
33850 # All these tests are for C++; save the language and the compiler flags.
33851 # The CXXFLAGS thing is suspicious, but based on similar bits previously
33852 # found in GLIBCXX_CONFIGURE.
33854 ac_ext=cpp
33855 ac_cpp='$CXXCPP $CPPFLAGS'
33856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33860 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33861 ac_save_CXXFLAGS="$CXXFLAGS"
33863 # Check for maintainer-mode bits.
33864 if test x"$USE_MAINTAINER_MODE" = xno; then
33865 WERROR=''
33866 else
33867 WERROR='-Werror'
33870 # Check for -ffunction-sections -fdata-sections
33871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
33872 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
33873 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
33874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33875 /* end confdefs.h. */
33876 int foo; void bar() { };
33878 main ()
33882 return 0;
33884 _ACEOF
33885 if ac_fn_cxx_try_compile "$LINENO"; then :
33886 ac_fdsections=yes
33887 else
33888 ac_fdsections=no
33890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33891 if test "$ac_test_CXXFLAGS" = set; then
33892 CXXFLAGS="$ac_save_CXXFLAGS"
33893 else
33894 # this is the suspicious part
33895 CXXFLAGS=''
33897 if test x"$ac_fdsections" = x"yes"; then
33898 SECTION_FLAGS='-ffunction-sections -fdata-sections'
33900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
33901 $as_echo "$ac_fdsections" >&6; }
33903 ac_ext=c
33904 ac_cpp='$CPP $CPPFLAGS'
33905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33913 # If we're not using GNU ld, then there's no point in even trying these
33914 # tests. Check for that first. We should have already tested for gld
33915 # by now (in libtool), but require it now just to be safe...
33916 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
33917 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
33921 # The name set by libtool depends on the version of libtool. Shame on us
33922 # for depending on an impl detail, but c'est la vie. Older versions used
33923 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
33924 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
33925 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
33926 # set (hence we're using an older libtool), then set it.
33927 if test x${with_gnu_ld+set} != xset; then
33928 if test x${ac_cv_prog_gnu_ld+set} != xset; then
33929 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
33930 with_gnu_ld=no
33931 else
33932 with_gnu_ld=$ac_cv_prog_gnu_ld
33936 # Start by getting the version number. I think the libtool test already
33937 # does some of this, but throws away the result.
33938 glibcxx_ld_is_gold=no
33939 if test x"$with_gnu_ld" = x"yes"; then
33940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
33941 $as_echo_n "checking for ld version... " >&6; }
33943 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
33944 glibcxx_ld_is_gold=yes
33946 ldver=`$LD --version 2>/dev/null |
33947 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'`
33949 glibcxx_gnu_ld_version=`echo $ldver | \
33950 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
33951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
33952 $as_echo "$glibcxx_gnu_ld_version" >&6; }
33955 # Set --gc-sections.
33956 glibcxx_have_gc_sections=no
33957 if test "$glibcxx_ld_is_gold" = "yes"; then
33958 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
33959 glibcxx_have_gc_sections=yes
33961 else
33962 glibcxx_gcsections_min_ld=21602
33963 if test x"$with_gnu_ld" = x"yes" &&
33964 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
33965 glibcxx_have_gc_sections=yes
33968 if test "$glibcxx_have_gc_sections" = "yes"; then
33969 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
33970 # NB: This flag only works reliably after 2.16.1. Configure tests
33971 # for this are difficult, so hard wire a value that should work.
33973 ac_test_CFLAGS="${CFLAGS+set}"
33974 ac_save_CFLAGS="$CFLAGS"
33975 CFLAGS='-Wl,--gc-sections'
33977 # Check for -Wl,--gc-sections
33978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
33979 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
33980 if test x$gcc_no_link = xyes; then
33981 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33984 /* end confdefs.h. */
33985 int one(void) { return 1; }
33986 int two(void) { return 2; }
33989 main ()
33991 two();
33993 return 0;
33995 _ACEOF
33996 if ac_fn_c_try_link "$LINENO"; then :
33997 ac_gcsections=yes
33998 else
33999 ac_gcsections=no
34001 rm -f core conftest.err conftest.$ac_objext \
34002 conftest$ac_exeext conftest.$ac_ext
34003 if test "$ac_gcsections" = "yes"; then
34004 rm -f conftest.c
34005 touch conftest.c
34006 if $CC -c conftest.c; then
34007 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
34008 grep "Warning: gc-sections option ignored" > /dev/null; then
34009 ac_gcsections=no
34012 rm -f conftest.c conftest.o conftest
34014 if test "$ac_gcsections" = "yes"; then
34015 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
34017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
34018 $as_echo "$ac_gcsections" >&6; }
34020 if test "$ac_test_CFLAGS" = set; then
34021 CFLAGS="$ac_save_CFLAGS"
34022 else
34023 # this is the suspicious part
34024 CFLAGS=''
34028 # Set -z,relro.
34029 # Note this is only for shared objects.
34030 ac_ld_relro=no
34031 if test x"$with_gnu_ld" = x"yes"; then
34032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
34033 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
34034 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
34035 if test -n "$cxx_z_relo"; then
34036 OPT_LDFLAGS="-Wl,-z,relro"
34037 ac_ld_relro=yes
34039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
34040 $as_echo "$ac_ld_relro" >&6; }
34043 # Set linker optimization flags.
34044 if test x"$with_gnu_ld" = x"yes"; then
34045 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
34052 ac_test_CXXFLAGS="${CXXFLAGS+set}"
34053 ac_save_CXXFLAGS="$CXXFLAGS"
34054 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
34056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
34057 $as_echo_n "checking for sin in -lm... " >&6; }
34058 if test "${ac_cv_lib_m_sin+set}" = set; then :
34059 $as_echo_n "(cached) " >&6
34060 else
34061 ac_check_lib_save_LIBS=$LIBS
34062 LIBS="-lm $LIBS"
34063 if test x$gcc_no_link = xyes; then
34064 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
34066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34067 /* end confdefs.h. */
34069 /* Override any GCC internal prototype to avoid an error.
34070 Use char because int might match the return type of a GCC
34071 builtin and then its argument prototype would still apply. */
34072 #ifdef __cplusplus
34073 extern "C"
34074 #endif
34075 char sin ();
34077 main ()
34079 return sin ();
34081 return 0;
34083 _ACEOF
34084 if ac_fn_c_try_link "$LINENO"; then :
34085 ac_cv_lib_m_sin=yes
34086 else
34087 ac_cv_lib_m_sin=no
34089 rm -f core conftest.err conftest.$ac_objext \
34090 conftest$ac_exeext conftest.$ac_ext
34091 LIBS=$ac_check_lib_save_LIBS
34093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
34094 $as_echo "$ac_cv_lib_m_sin" >&6; }
34095 if test "x$ac_cv_lib_m_sin" = x""yes; then :
34096 libm="-lm"
34099 ac_save_LIBS="$LIBS"
34100 LIBS="$LIBS $libm"
34104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
34105 $as_echo_n "checking for isinf declaration... " >&6; }
34106 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
34107 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
34108 $as_echo_n "(cached) " >&6
34109 else
34112 ac_ext=cpp
34113 ac_cpp='$CXXCPP $CPPFLAGS'
34114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34119 /* end confdefs.h. */
34120 #include <math.h>
34121 #ifdef HAVE_IEEEFP_H
34122 #include <ieeefp.h>
34123 #endif
34126 main ()
34128 isinf(0);
34130 return 0;
34132 _ACEOF
34133 if ac_fn_cxx_try_compile "$LINENO"; then :
34134 glibcxx_cv_func_isinf_use=yes
34135 else
34136 glibcxx_cv_func_isinf_use=no
34138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34139 ac_ext=c
34140 ac_cpp='$CPP $CPPFLAGS'
34141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
34150 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
34152 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
34153 for ac_func in isinf
34154 do :
34155 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
34156 if test "x$ac_cv_func_isinf" = x""yes; then :
34157 cat >>confdefs.h <<_ACEOF
34158 #define HAVE_ISINF 1
34159 _ACEOF
34162 done
34164 else
34166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
34167 $as_echo_n "checking for _isinf declaration... " >&6; }
34168 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
34169 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
34170 $as_echo_n "(cached) " >&6
34171 else
34174 ac_ext=cpp
34175 ac_cpp='$CXXCPP $CPPFLAGS'
34176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34181 /* end confdefs.h. */
34182 #include <math.h>
34183 #ifdef HAVE_IEEEFP_H
34184 #include <ieeefp.h>
34185 #endif
34188 main ()
34190 _isinf(0);
34192 return 0;
34194 _ACEOF
34195 if ac_fn_cxx_try_compile "$LINENO"; then :
34196 glibcxx_cv_func__isinf_use=yes
34197 else
34198 glibcxx_cv_func__isinf_use=no
34200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34201 ac_ext=c
34202 ac_cpp='$CPP $CPPFLAGS'
34203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
34212 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
34214 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
34215 for ac_func in _isinf
34216 do :
34217 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
34218 if test "x$ac_cv_func__isinf" = x""yes; then :
34219 cat >>confdefs.h <<_ACEOF
34220 #define HAVE__ISINF 1
34221 _ACEOF
34224 done
34233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
34234 $as_echo_n "checking for isnan declaration... " >&6; }
34235 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
34236 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
34237 $as_echo_n "(cached) " >&6
34238 else
34241 ac_ext=cpp
34242 ac_cpp='$CXXCPP $CPPFLAGS'
34243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34248 /* end confdefs.h. */
34249 #include <math.h>
34250 #ifdef HAVE_IEEEFP_H
34251 #include <ieeefp.h>
34252 #endif
34255 main ()
34257 isnan(0);
34259 return 0;
34261 _ACEOF
34262 if ac_fn_cxx_try_compile "$LINENO"; then :
34263 glibcxx_cv_func_isnan_use=yes
34264 else
34265 glibcxx_cv_func_isnan_use=no
34267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34268 ac_ext=c
34269 ac_cpp='$CPP $CPPFLAGS'
34270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
34279 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
34281 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
34282 for ac_func in isnan
34283 do :
34284 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
34285 if test "x$ac_cv_func_isnan" = x""yes; then :
34286 cat >>confdefs.h <<_ACEOF
34287 #define HAVE_ISNAN 1
34288 _ACEOF
34291 done
34293 else
34295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
34296 $as_echo_n "checking for _isnan declaration... " >&6; }
34297 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
34298 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
34299 $as_echo_n "(cached) " >&6
34300 else
34303 ac_ext=cpp
34304 ac_cpp='$CXXCPP $CPPFLAGS'
34305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34310 /* end confdefs.h. */
34311 #include <math.h>
34312 #ifdef HAVE_IEEEFP_H
34313 #include <ieeefp.h>
34314 #endif
34317 main ()
34319 _isnan(0);
34321 return 0;
34323 _ACEOF
34324 if ac_fn_cxx_try_compile "$LINENO"; then :
34325 glibcxx_cv_func__isnan_use=yes
34326 else
34327 glibcxx_cv_func__isnan_use=no
34329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34330 ac_ext=c
34331 ac_cpp='$CPP $CPPFLAGS'
34332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
34341 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
34343 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
34344 for ac_func in _isnan
34345 do :
34346 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
34347 if test "x$ac_cv_func__isnan" = x""yes; then :
34348 cat >>confdefs.h <<_ACEOF
34349 #define HAVE__ISNAN 1
34350 _ACEOF
34353 done
34362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
34363 $as_echo_n "checking for finite declaration... " >&6; }
34364 if test x${glibcxx_cv_func_finite_use+set} != xset; then
34365 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
34366 $as_echo_n "(cached) " >&6
34367 else
34370 ac_ext=cpp
34371 ac_cpp='$CXXCPP $CPPFLAGS'
34372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34377 /* end confdefs.h. */
34378 #include <math.h>
34379 #ifdef HAVE_IEEEFP_H
34380 #include <ieeefp.h>
34381 #endif
34384 main ()
34386 finite(0);
34388 return 0;
34390 _ACEOF
34391 if ac_fn_cxx_try_compile "$LINENO"; then :
34392 glibcxx_cv_func_finite_use=yes
34393 else
34394 glibcxx_cv_func_finite_use=no
34396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34397 ac_ext=c
34398 ac_cpp='$CPP $CPPFLAGS'
34399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
34408 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
34410 if test x$glibcxx_cv_func_finite_use = x"yes"; then
34411 for ac_func in finite
34412 do :
34413 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
34414 if test "x$ac_cv_func_finite" = x""yes; then :
34415 cat >>confdefs.h <<_ACEOF
34416 #define HAVE_FINITE 1
34417 _ACEOF
34420 done
34422 else
34424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
34425 $as_echo_n "checking for _finite declaration... " >&6; }
34426 if test x${glibcxx_cv_func__finite_use+set} != xset; then
34427 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
34428 $as_echo_n "(cached) " >&6
34429 else
34432 ac_ext=cpp
34433 ac_cpp='$CXXCPP $CPPFLAGS'
34434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34439 /* end confdefs.h. */
34440 #include <math.h>
34441 #ifdef HAVE_IEEEFP_H
34442 #include <ieeefp.h>
34443 #endif
34446 main ()
34448 _finite(0);
34450 return 0;
34452 _ACEOF
34453 if ac_fn_cxx_try_compile "$LINENO"; then :
34454 glibcxx_cv_func__finite_use=yes
34455 else
34456 glibcxx_cv_func__finite_use=no
34458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34459 ac_ext=c
34460 ac_cpp='$CPP $CPPFLAGS'
34461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
34470 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
34472 if test x$glibcxx_cv_func__finite_use = x"yes"; then
34473 for ac_func in _finite
34474 do :
34475 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
34476 if test "x$ac_cv_func__finite" = x""yes; then :
34477 cat >>confdefs.h <<_ACEOF
34478 #define HAVE__FINITE 1
34479 _ACEOF
34482 done
34491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
34492 $as_echo_n "checking for sincos declaration... " >&6; }
34493 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
34494 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
34495 $as_echo_n "(cached) " >&6
34496 else
34499 ac_ext=cpp
34500 ac_cpp='$CXXCPP $CPPFLAGS'
34501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34506 /* end confdefs.h. */
34507 #include <math.h>
34509 main ()
34511 sincos(0, 0, 0);
34513 return 0;
34515 _ACEOF
34516 if ac_fn_cxx_try_compile "$LINENO"; then :
34517 glibcxx_cv_func_sincos_use=yes
34518 else
34519 glibcxx_cv_func_sincos_use=no
34521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34522 ac_ext=c
34523 ac_cpp='$CPP $CPPFLAGS'
34524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
34533 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
34535 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
34536 for ac_func in sincos
34537 do :
34538 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
34539 if test "x$ac_cv_func_sincos" = x""yes; then :
34540 cat >>confdefs.h <<_ACEOF
34541 #define HAVE_SINCOS 1
34542 _ACEOF
34545 done
34547 else
34549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
34550 $as_echo_n "checking for _sincos declaration... " >&6; }
34551 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
34552 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
34553 $as_echo_n "(cached) " >&6
34554 else
34557 ac_ext=cpp
34558 ac_cpp='$CXXCPP $CPPFLAGS'
34559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34564 /* end confdefs.h. */
34565 #include <math.h>
34567 main ()
34569 _sincos(0, 0, 0);
34571 return 0;
34573 _ACEOF
34574 if ac_fn_cxx_try_compile "$LINENO"; then :
34575 glibcxx_cv_func__sincos_use=yes
34576 else
34577 glibcxx_cv_func__sincos_use=no
34579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34580 ac_ext=c
34581 ac_cpp='$CPP $CPPFLAGS'
34582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
34591 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
34593 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
34594 for ac_func in _sincos
34595 do :
34596 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
34597 if test "x$ac_cv_func__sincos" = x""yes; then :
34598 cat >>confdefs.h <<_ACEOF
34599 #define HAVE__SINCOS 1
34600 _ACEOF
34603 done
34612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
34613 $as_echo_n "checking for fpclass declaration... " >&6; }
34614 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
34615 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
34616 $as_echo_n "(cached) " >&6
34617 else
34620 ac_ext=cpp
34621 ac_cpp='$CXXCPP $CPPFLAGS'
34622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34627 /* end confdefs.h. */
34628 #include <math.h>
34629 #ifdef HAVE_IEEEFP_H
34630 #include <ieeefp.h>
34631 #endif
34634 main ()
34636 fpclass(0);
34638 return 0;
34640 _ACEOF
34641 if ac_fn_cxx_try_compile "$LINENO"; then :
34642 glibcxx_cv_func_fpclass_use=yes
34643 else
34644 glibcxx_cv_func_fpclass_use=no
34646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34647 ac_ext=c
34648 ac_cpp='$CPP $CPPFLAGS'
34649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
34658 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
34660 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
34661 for ac_func in fpclass
34662 do :
34663 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
34664 if test "x$ac_cv_func_fpclass" = x""yes; then :
34665 cat >>confdefs.h <<_ACEOF
34666 #define HAVE_FPCLASS 1
34667 _ACEOF
34670 done
34672 else
34674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
34675 $as_echo_n "checking for _fpclass declaration... " >&6; }
34676 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
34677 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
34678 $as_echo_n "(cached) " >&6
34679 else
34682 ac_ext=cpp
34683 ac_cpp='$CXXCPP $CPPFLAGS'
34684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34689 /* end confdefs.h. */
34690 #include <math.h>
34691 #ifdef HAVE_IEEEFP_H
34692 #include <ieeefp.h>
34693 #endif
34696 main ()
34698 _fpclass(0);
34700 return 0;
34702 _ACEOF
34703 if ac_fn_cxx_try_compile "$LINENO"; then :
34704 glibcxx_cv_func__fpclass_use=yes
34705 else
34706 glibcxx_cv_func__fpclass_use=no
34708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34709 ac_ext=c
34710 ac_cpp='$CPP $CPPFLAGS'
34711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
34720 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
34722 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
34723 for ac_func in _fpclass
34724 do :
34725 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
34726 if test "x$ac_cv_func__fpclass" = x""yes; then :
34727 cat >>confdefs.h <<_ACEOF
34728 #define HAVE__FPCLASS 1
34729 _ACEOF
34732 done
34741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
34742 $as_echo_n "checking for qfpclass declaration... " >&6; }
34743 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
34744 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
34745 $as_echo_n "(cached) " >&6
34746 else
34749 ac_ext=cpp
34750 ac_cpp='$CXXCPP $CPPFLAGS'
34751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34756 /* end confdefs.h. */
34757 #include <math.h>
34758 #ifdef HAVE_IEEEFP_H
34759 #include <ieeefp.h>
34760 #endif
34763 main ()
34765 qfpclass(0);
34767 return 0;
34769 _ACEOF
34770 if ac_fn_cxx_try_compile "$LINENO"; then :
34771 glibcxx_cv_func_qfpclass_use=yes
34772 else
34773 glibcxx_cv_func_qfpclass_use=no
34775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34776 ac_ext=c
34777 ac_cpp='$CPP $CPPFLAGS'
34778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
34787 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
34789 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
34790 for ac_func in qfpclass
34791 do :
34792 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
34793 if test "x$ac_cv_func_qfpclass" = x""yes; then :
34794 cat >>confdefs.h <<_ACEOF
34795 #define HAVE_QFPCLASS 1
34796 _ACEOF
34799 done
34801 else
34803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
34804 $as_echo_n "checking for _qfpclass declaration... " >&6; }
34805 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
34806 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
34807 $as_echo_n "(cached) " >&6
34808 else
34811 ac_ext=cpp
34812 ac_cpp='$CXXCPP $CPPFLAGS'
34813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34818 /* end confdefs.h. */
34819 #include <math.h>
34820 #ifdef HAVE_IEEEFP_H
34821 #include <ieeefp.h>
34822 #endif
34825 main ()
34827 _qfpclass(0);
34829 return 0;
34831 _ACEOF
34832 if ac_fn_cxx_try_compile "$LINENO"; then :
34833 glibcxx_cv_func__qfpclass_use=yes
34834 else
34835 glibcxx_cv_func__qfpclass_use=no
34837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34838 ac_ext=c
34839 ac_cpp='$CPP $CPPFLAGS'
34840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
34849 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
34851 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
34852 for ac_func in _qfpclass
34853 do :
34854 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
34855 if test "x$ac_cv_func__qfpclass" = x""yes; then :
34856 cat >>confdefs.h <<_ACEOF
34857 #define HAVE__QFPCLASS 1
34858 _ACEOF
34861 done
34870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
34871 $as_echo_n "checking for hypot declaration... " >&6; }
34872 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
34873 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
34874 $as_echo_n "(cached) " >&6
34875 else
34878 ac_ext=cpp
34879 ac_cpp='$CXXCPP $CPPFLAGS'
34880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34885 /* end confdefs.h. */
34886 #include <math.h>
34888 main ()
34890 hypot(0, 0);
34892 return 0;
34894 _ACEOF
34895 if ac_fn_cxx_try_compile "$LINENO"; then :
34896 glibcxx_cv_func_hypot_use=yes
34897 else
34898 glibcxx_cv_func_hypot_use=no
34900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34901 ac_ext=c
34902 ac_cpp='$CPP $CPPFLAGS'
34903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
34912 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
34914 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
34915 for ac_func in hypot
34916 do :
34917 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
34918 if test "x$ac_cv_func_hypot" = x""yes; then :
34919 cat >>confdefs.h <<_ACEOF
34920 #define HAVE_HYPOT 1
34921 _ACEOF
34924 done
34926 else
34928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
34929 $as_echo_n "checking for _hypot declaration... " >&6; }
34930 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
34931 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
34932 $as_echo_n "(cached) " >&6
34933 else
34936 ac_ext=cpp
34937 ac_cpp='$CXXCPP $CPPFLAGS'
34938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34943 /* end confdefs.h. */
34944 #include <math.h>
34946 main ()
34948 _hypot(0, 0);
34950 return 0;
34952 _ACEOF
34953 if ac_fn_cxx_try_compile "$LINENO"; then :
34954 glibcxx_cv_func__hypot_use=yes
34955 else
34956 glibcxx_cv_func__hypot_use=no
34958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34959 ac_ext=c
34960 ac_cpp='$CPP $CPPFLAGS'
34961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
34970 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
34972 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
34973 for ac_func in _hypot
34974 do :
34975 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
34976 if test "x$ac_cv_func__hypot" = x""yes; then :
34977 cat >>confdefs.h <<_ACEOF
34978 #define HAVE__HYPOT 1
34979 _ACEOF
34982 done
34991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
34992 $as_echo_n "checking for float trig functions... " >&6; }
34993 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
34994 $as_echo_n "(cached) " >&6
34995 else
34998 ac_ext=cpp
34999 ac_cpp='$CXXCPP $CPPFLAGS'
35000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35005 /* end confdefs.h. */
35006 #include <math.h>
35008 main ()
35010 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
35012 return 0;
35014 _ACEOF
35015 if ac_fn_cxx_try_compile "$LINENO"; then :
35016 glibcxx_cv_func_float_trig_use=yes
35017 else
35018 glibcxx_cv_func_float_trig_use=no
35020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35021 ac_ext=c
35022 ac_cpp='$CPP $CPPFLAGS'
35023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
35030 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
35031 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
35032 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
35033 do :
35034 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35035 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35036 eval as_val=\$$as_ac_var
35037 if test "x$as_val" = x""yes; then :
35038 cat >>confdefs.h <<_ACEOF
35039 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35040 _ACEOF
35043 done
35045 else
35046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
35047 $as_echo_n "checking for _float trig functions... " >&6; }
35048 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
35049 $as_echo_n "(cached) " >&6
35050 else
35053 ac_ext=cpp
35054 ac_cpp='$CXXCPP $CPPFLAGS'
35055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35060 /* end confdefs.h. */
35061 #include <math.h>
35063 main ()
35065 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
35067 return 0;
35069 _ACEOF
35070 if ac_fn_cxx_try_compile "$LINENO"; then :
35071 glibcxx_cv_func__float_trig_use=yes
35072 else
35073 glibcxx_cv_func__float_trig_use=no
35075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35076 ac_ext=c
35077 ac_cpp='$CPP $CPPFLAGS'
35078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
35085 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
35086 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
35087 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
35088 do :
35089 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35090 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35091 eval as_val=\$$as_ac_var
35092 if test "x$as_val" = x""yes; then :
35093 cat >>confdefs.h <<_ACEOF
35094 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35095 _ACEOF
35098 done
35107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
35108 $as_echo_n "checking for float round functions... " >&6; }
35109 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
35110 $as_echo_n "(cached) " >&6
35111 else
35114 ac_ext=cpp
35115 ac_cpp='$CXXCPP $CPPFLAGS'
35116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35121 /* end confdefs.h. */
35122 #include <math.h>
35124 main ()
35126 ceilf (0); floorf (0);
35128 return 0;
35130 _ACEOF
35131 if ac_fn_cxx_try_compile "$LINENO"; then :
35132 glibcxx_cv_func_float_round_use=yes
35133 else
35134 glibcxx_cv_func_float_round_use=no
35136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35137 ac_ext=c
35138 ac_cpp='$CPP $CPPFLAGS'
35139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
35146 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
35147 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
35148 for ac_func in ceilf floorf
35149 do :
35150 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35151 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35152 eval as_val=\$$as_ac_var
35153 if test "x$as_val" = x""yes; then :
35154 cat >>confdefs.h <<_ACEOF
35155 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35156 _ACEOF
35159 done
35161 else
35162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
35163 $as_echo_n "checking for _float round functions... " >&6; }
35164 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
35165 $as_echo_n "(cached) " >&6
35166 else
35169 ac_ext=cpp
35170 ac_cpp='$CXXCPP $CPPFLAGS'
35171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35176 /* end confdefs.h. */
35177 #include <math.h>
35179 main ()
35181 _ceilf (0); _floorf (0);
35183 return 0;
35185 _ACEOF
35186 if ac_fn_cxx_try_compile "$LINENO"; then :
35187 glibcxx_cv_func__float_round_use=yes
35188 else
35189 glibcxx_cv_func__float_round_use=no
35191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35192 ac_ext=c
35193 ac_cpp='$CPP $CPPFLAGS'
35194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
35201 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
35202 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
35203 for ac_func in _ceilf _floorf
35204 do :
35205 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35206 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35207 eval as_val=\$$as_ac_var
35208 if test "x$as_val" = x""yes; then :
35209 cat >>confdefs.h <<_ACEOF
35210 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35211 _ACEOF
35214 done
35224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
35225 $as_echo_n "checking for expf declaration... " >&6; }
35226 if test x${glibcxx_cv_func_expf_use+set} != xset; then
35227 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
35228 $as_echo_n "(cached) " >&6
35229 else
35232 ac_ext=cpp
35233 ac_cpp='$CXXCPP $CPPFLAGS'
35234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35239 /* end confdefs.h. */
35240 #include <math.h>
35241 #ifdef HAVE_IEEEFP_H
35242 #include <ieeefp.h>
35243 #endif
35246 main ()
35248 expf(0);
35250 return 0;
35252 _ACEOF
35253 if ac_fn_cxx_try_compile "$LINENO"; then :
35254 glibcxx_cv_func_expf_use=yes
35255 else
35256 glibcxx_cv_func_expf_use=no
35258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35259 ac_ext=c
35260 ac_cpp='$CPP $CPPFLAGS'
35261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
35270 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
35272 if test x$glibcxx_cv_func_expf_use = x"yes"; then
35273 for ac_func in expf
35274 do :
35275 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
35276 if test "x$ac_cv_func_expf" = x""yes; then :
35277 cat >>confdefs.h <<_ACEOF
35278 #define HAVE_EXPF 1
35279 _ACEOF
35282 done
35284 else
35286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
35287 $as_echo_n "checking for _expf declaration... " >&6; }
35288 if test x${glibcxx_cv_func__expf_use+set} != xset; then
35289 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
35290 $as_echo_n "(cached) " >&6
35291 else
35294 ac_ext=cpp
35295 ac_cpp='$CXXCPP $CPPFLAGS'
35296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35301 /* end confdefs.h. */
35302 #include <math.h>
35303 #ifdef HAVE_IEEEFP_H
35304 #include <ieeefp.h>
35305 #endif
35308 main ()
35310 _expf(0);
35312 return 0;
35314 _ACEOF
35315 if ac_fn_cxx_try_compile "$LINENO"; then :
35316 glibcxx_cv_func__expf_use=yes
35317 else
35318 glibcxx_cv_func__expf_use=no
35320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35321 ac_ext=c
35322 ac_cpp='$CPP $CPPFLAGS'
35323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
35332 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
35334 if test x$glibcxx_cv_func__expf_use = x"yes"; then
35335 for ac_func in _expf
35336 do :
35337 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
35338 if test "x$ac_cv_func__expf" = x""yes; then :
35339 cat >>confdefs.h <<_ACEOF
35340 #define HAVE__EXPF 1
35341 _ACEOF
35344 done
35353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
35354 $as_echo_n "checking for isnanf declaration... " >&6; }
35355 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
35356 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
35357 $as_echo_n "(cached) " >&6
35358 else
35361 ac_ext=cpp
35362 ac_cpp='$CXXCPP $CPPFLAGS'
35363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35368 /* end confdefs.h. */
35369 #include <math.h>
35370 #ifdef HAVE_IEEEFP_H
35371 #include <ieeefp.h>
35372 #endif
35375 main ()
35377 isnanf(0);
35379 return 0;
35381 _ACEOF
35382 if ac_fn_cxx_try_compile "$LINENO"; then :
35383 glibcxx_cv_func_isnanf_use=yes
35384 else
35385 glibcxx_cv_func_isnanf_use=no
35387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35388 ac_ext=c
35389 ac_cpp='$CPP $CPPFLAGS'
35390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
35399 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
35401 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
35402 for ac_func in isnanf
35403 do :
35404 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
35405 if test "x$ac_cv_func_isnanf" = x""yes; then :
35406 cat >>confdefs.h <<_ACEOF
35407 #define HAVE_ISNANF 1
35408 _ACEOF
35411 done
35413 else
35415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
35416 $as_echo_n "checking for _isnanf declaration... " >&6; }
35417 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
35418 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
35419 $as_echo_n "(cached) " >&6
35420 else
35423 ac_ext=cpp
35424 ac_cpp='$CXXCPP $CPPFLAGS'
35425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35430 /* end confdefs.h. */
35431 #include <math.h>
35432 #ifdef HAVE_IEEEFP_H
35433 #include <ieeefp.h>
35434 #endif
35437 main ()
35439 _isnanf(0);
35441 return 0;
35443 _ACEOF
35444 if ac_fn_cxx_try_compile "$LINENO"; then :
35445 glibcxx_cv_func__isnanf_use=yes
35446 else
35447 glibcxx_cv_func__isnanf_use=no
35449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35450 ac_ext=c
35451 ac_cpp='$CPP $CPPFLAGS'
35452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
35461 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
35463 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
35464 for ac_func in _isnanf
35465 do :
35466 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
35467 if test "x$ac_cv_func__isnanf" = x""yes; then :
35468 cat >>confdefs.h <<_ACEOF
35469 #define HAVE__ISNANF 1
35470 _ACEOF
35473 done
35482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
35483 $as_echo_n "checking for isinff declaration... " >&6; }
35484 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
35485 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
35486 $as_echo_n "(cached) " >&6
35487 else
35490 ac_ext=cpp
35491 ac_cpp='$CXXCPP $CPPFLAGS'
35492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35497 /* end confdefs.h. */
35498 #include <math.h>
35499 #ifdef HAVE_IEEEFP_H
35500 #include <ieeefp.h>
35501 #endif
35504 main ()
35506 isinff(0);
35508 return 0;
35510 _ACEOF
35511 if ac_fn_cxx_try_compile "$LINENO"; then :
35512 glibcxx_cv_func_isinff_use=yes
35513 else
35514 glibcxx_cv_func_isinff_use=no
35516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35517 ac_ext=c
35518 ac_cpp='$CPP $CPPFLAGS'
35519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
35528 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
35530 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
35531 for ac_func in isinff
35532 do :
35533 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
35534 if test "x$ac_cv_func_isinff" = x""yes; then :
35535 cat >>confdefs.h <<_ACEOF
35536 #define HAVE_ISINFF 1
35537 _ACEOF
35540 done
35542 else
35544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
35545 $as_echo_n "checking for _isinff declaration... " >&6; }
35546 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
35547 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
35548 $as_echo_n "(cached) " >&6
35549 else
35552 ac_ext=cpp
35553 ac_cpp='$CXXCPP $CPPFLAGS'
35554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35559 /* end confdefs.h. */
35560 #include <math.h>
35561 #ifdef HAVE_IEEEFP_H
35562 #include <ieeefp.h>
35563 #endif
35566 main ()
35568 _isinff(0);
35570 return 0;
35572 _ACEOF
35573 if ac_fn_cxx_try_compile "$LINENO"; then :
35574 glibcxx_cv_func__isinff_use=yes
35575 else
35576 glibcxx_cv_func__isinff_use=no
35578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35579 ac_ext=c
35580 ac_cpp='$CPP $CPPFLAGS'
35581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
35590 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
35592 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
35593 for ac_func in _isinff
35594 do :
35595 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
35596 if test "x$ac_cv_func__isinff" = x""yes; then :
35597 cat >>confdefs.h <<_ACEOF
35598 #define HAVE__ISINFF 1
35599 _ACEOF
35602 done
35611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
35612 $as_echo_n "checking for atan2f declaration... " >&6; }
35613 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
35614 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
35615 $as_echo_n "(cached) " >&6
35616 else
35619 ac_ext=cpp
35620 ac_cpp='$CXXCPP $CPPFLAGS'
35621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35626 /* end confdefs.h. */
35627 #include <math.h>
35629 main ()
35631 atan2f(0, 0);
35633 return 0;
35635 _ACEOF
35636 if ac_fn_cxx_try_compile "$LINENO"; then :
35637 glibcxx_cv_func_atan2f_use=yes
35638 else
35639 glibcxx_cv_func_atan2f_use=no
35641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35642 ac_ext=c
35643 ac_cpp='$CPP $CPPFLAGS'
35644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
35653 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
35655 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
35656 for ac_func in atan2f
35657 do :
35658 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
35659 if test "x$ac_cv_func_atan2f" = x""yes; then :
35660 cat >>confdefs.h <<_ACEOF
35661 #define HAVE_ATAN2F 1
35662 _ACEOF
35665 done
35667 else
35669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
35670 $as_echo_n "checking for _atan2f declaration... " >&6; }
35671 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
35672 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
35673 $as_echo_n "(cached) " >&6
35674 else
35677 ac_ext=cpp
35678 ac_cpp='$CXXCPP $CPPFLAGS'
35679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35684 /* end confdefs.h. */
35685 #include <math.h>
35687 main ()
35689 _atan2f(0, 0);
35691 return 0;
35693 _ACEOF
35694 if ac_fn_cxx_try_compile "$LINENO"; then :
35695 glibcxx_cv_func__atan2f_use=yes
35696 else
35697 glibcxx_cv_func__atan2f_use=no
35699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35700 ac_ext=c
35701 ac_cpp='$CPP $CPPFLAGS'
35702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
35711 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
35713 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
35714 for ac_func in _atan2f
35715 do :
35716 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
35717 if test "x$ac_cv_func__atan2f" = x""yes; then :
35718 cat >>confdefs.h <<_ACEOF
35719 #define HAVE__ATAN2F 1
35720 _ACEOF
35723 done
35732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
35733 $as_echo_n "checking for fabsf declaration... " >&6; }
35734 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
35735 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
35736 $as_echo_n "(cached) " >&6
35737 else
35740 ac_ext=cpp
35741 ac_cpp='$CXXCPP $CPPFLAGS'
35742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35747 /* end confdefs.h. */
35748 #include <math.h>
35749 #ifdef HAVE_IEEEFP_H
35750 #include <ieeefp.h>
35751 #endif
35754 main ()
35756 fabsf(0);
35758 return 0;
35760 _ACEOF
35761 if ac_fn_cxx_try_compile "$LINENO"; then :
35762 glibcxx_cv_func_fabsf_use=yes
35763 else
35764 glibcxx_cv_func_fabsf_use=no
35766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35767 ac_ext=c
35768 ac_cpp='$CPP $CPPFLAGS'
35769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
35778 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
35780 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
35781 for ac_func in fabsf
35782 do :
35783 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
35784 if test "x$ac_cv_func_fabsf" = x""yes; then :
35785 cat >>confdefs.h <<_ACEOF
35786 #define HAVE_FABSF 1
35787 _ACEOF
35790 done
35792 else
35794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
35795 $as_echo_n "checking for _fabsf declaration... " >&6; }
35796 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
35797 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
35798 $as_echo_n "(cached) " >&6
35799 else
35802 ac_ext=cpp
35803 ac_cpp='$CXXCPP $CPPFLAGS'
35804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35809 /* end confdefs.h. */
35810 #include <math.h>
35811 #ifdef HAVE_IEEEFP_H
35812 #include <ieeefp.h>
35813 #endif
35816 main ()
35818 _fabsf(0);
35820 return 0;
35822 _ACEOF
35823 if ac_fn_cxx_try_compile "$LINENO"; then :
35824 glibcxx_cv_func__fabsf_use=yes
35825 else
35826 glibcxx_cv_func__fabsf_use=no
35828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35829 ac_ext=c
35830 ac_cpp='$CPP $CPPFLAGS'
35831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
35840 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
35842 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
35843 for ac_func in _fabsf
35844 do :
35845 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
35846 if test "x$ac_cv_func__fabsf" = x""yes; then :
35847 cat >>confdefs.h <<_ACEOF
35848 #define HAVE__FABSF 1
35849 _ACEOF
35852 done
35861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
35862 $as_echo_n "checking for fmodf declaration... " >&6; }
35863 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
35864 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
35865 $as_echo_n "(cached) " >&6
35866 else
35869 ac_ext=cpp
35870 ac_cpp='$CXXCPP $CPPFLAGS'
35871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35876 /* end confdefs.h. */
35877 #include <math.h>
35879 main ()
35881 fmodf(0, 0);
35883 return 0;
35885 _ACEOF
35886 if ac_fn_cxx_try_compile "$LINENO"; then :
35887 glibcxx_cv_func_fmodf_use=yes
35888 else
35889 glibcxx_cv_func_fmodf_use=no
35891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35892 ac_ext=c
35893 ac_cpp='$CPP $CPPFLAGS'
35894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
35903 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
35905 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
35906 for ac_func in fmodf
35907 do :
35908 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
35909 if test "x$ac_cv_func_fmodf" = x""yes; then :
35910 cat >>confdefs.h <<_ACEOF
35911 #define HAVE_FMODF 1
35912 _ACEOF
35915 done
35917 else
35919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
35920 $as_echo_n "checking for _fmodf declaration... " >&6; }
35921 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
35922 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
35923 $as_echo_n "(cached) " >&6
35924 else
35927 ac_ext=cpp
35928 ac_cpp='$CXXCPP $CPPFLAGS'
35929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35934 /* end confdefs.h. */
35935 #include <math.h>
35937 main ()
35939 _fmodf(0, 0);
35941 return 0;
35943 _ACEOF
35944 if ac_fn_cxx_try_compile "$LINENO"; then :
35945 glibcxx_cv_func__fmodf_use=yes
35946 else
35947 glibcxx_cv_func__fmodf_use=no
35949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35950 ac_ext=c
35951 ac_cpp='$CPP $CPPFLAGS'
35952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
35961 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
35963 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
35964 for ac_func in _fmodf
35965 do :
35966 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
35967 if test "x$ac_cv_func__fmodf" = x""yes; then :
35968 cat >>confdefs.h <<_ACEOF
35969 #define HAVE__FMODF 1
35970 _ACEOF
35973 done
35982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
35983 $as_echo_n "checking for frexpf declaration... " >&6; }
35984 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
35985 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
35986 $as_echo_n "(cached) " >&6
35987 else
35990 ac_ext=cpp
35991 ac_cpp='$CXXCPP $CPPFLAGS'
35992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35997 /* end confdefs.h. */
35998 #include <math.h>
36000 main ()
36002 frexpf(0, 0);
36004 return 0;
36006 _ACEOF
36007 if ac_fn_cxx_try_compile "$LINENO"; then :
36008 glibcxx_cv_func_frexpf_use=yes
36009 else
36010 glibcxx_cv_func_frexpf_use=no
36012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36013 ac_ext=c
36014 ac_cpp='$CPP $CPPFLAGS'
36015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
36024 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
36026 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
36027 for ac_func in frexpf
36028 do :
36029 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
36030 if test "x$ac_cv_func_frexpf" = x""yes; then :
36031 cat >>confdefs.h <<_ACEOF
36032 #define HAVE_FREXPF 1
36033 _ACEOF
36036 done
36038 else
36040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
36041 $as_echo_n "checking for _frexpf declaration... " >&6; }
36042 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
36043 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
36044 $as_echo_n "(cached) " >&6
36045 else
36048 ac_ext=cpp
36049 ac_cpp='$CXXCPP $CPPFLAGS'
36050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36055 /* end confdefs.h. */
36056 #include <math.h>
36058 main ()
36060 _frexpf(0, 0);
36062 return 0;
36064 _ACEOF
36065 if ac_fn_cxx_try_compile "$LINENO"; then :
36066 glibcxx_cv_func__frexpf_use=yes
36067 else
36068 glibcxx_cv_func__frexpf_use=no
36070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36071 ac_ext=c
36072 ac_cpp='$CPP $CPPFLAGS'
36073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
36082 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
36084 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
36085 for ac_func in _frexpf
36086 do :
36087 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
36088 if test "x$ac_cv_func__frexpf" = x""yes; then :
36089 cat >>confdefs.h <<_ACEOF
36090 #define HAVE__FREXPF 1
36091 _ACEOF
36094 done
36103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
36104 $as_echo_n "checking for hypotf declaration... " >&6; }
36105 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
36106 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
36107 $as_echo_n "(cached) " >&6
36108 else
36111 ac_ext=cpp
36112 ac_cpp='$CXXCPP $CPPFLAGS'
36113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36118 /* end confdefs.h. */
36119 #include <math.h>
36121 main ()
36123 hypotf(0, 0);
36125 return 0;
36127 _ACEOF
36128 if ac_fn_cxx_try_compile "$LINENO"; then :
36129 glibcxx_cv_func_hypotf_use=yes
36130 else
36131 glibcxx_cv_func_hypotf_use=no
36133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36134 ac_ext=c
36135 ac_cpp='$CPP $CPPFLAGS'
36136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
36145 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
36147 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
36148 for ac_func in hypotf
36149 do :
36150 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
36151 if test "x$ac_cv_func_hypotf" = x""yes; then :
36152 cat >>confdefs.h <<_ACEOF
36153 #define HAVE_HYPOTF 1
36154 _ACEOF
36157 done
36159 else
36161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
36162 $as_echo_n "checking for _hypotf declaration... " >&6; }
36163 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
36164 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
36165 $as_echo_n "(cached) " >&6
36166 else
36169 ac_ext=cpp
36170 ac_cpp='$CXXCPP $CPPFLAGS'
36171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36176 /* end confdefs.h. */
36177 #include <math.h>
36179 main ()
36181 _hypotf(0, 0);
36183 return 0;
36185 _ACEOF
36186 if ac_fn_cxx_try_compile "$LINENO"; then :
36187 glibcxx_cv_func__hypotf_use=yes
36188 else
36189 glibcxx_cv_func__hypotf_use=no
36191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36192 ac_ext=c
36193 ac_cpp='$CPP $CPPFLAGS'
36194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
36203 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
36205 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
36206 for ac_func in _hypotf
36207 do :
36208 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
36209 if test "x$ac_cv_func__hypotf" = x""yes; then :
36210 cat >>confdefs.h <<_ACEOF
36211 #define HAVE__HYPOTF 1
36212 _ACEOF
36215 done
36224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
36225 $as_echo_n "checking for ldexpf declaration... " >&6; }
36226 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
36227 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
36228 $as_echo_n "(cached) " >&6
36229 else
36232 ac_ext=cpp
36233 ac_cpp='$CXXCPP $CPPFLAGS'
36234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36239 /* end confdefs.h. */
36240 #include <math.h>
36242 main ()
36244 ldexpf(0, 0);
36246 return 0;
36248 _ACEOF
36249 if ac_fn_cxx_try_compile "$LINENO"; then :
36250 glibcxx_cv_func_ldexpf_use=yes
36251 else
36252 glibcxx_cv_func_ldexpf_use=no
36254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36255 ac_ext=c
36256 ac_cpp='$CPP $CPPFLAGS'
36257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
36266 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
36268 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
36269 for ac_func in ldexpf
36270 do :
36271 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
36272 if test "x$ac_cv_func_ldexpf" = x""yes; then :
36273 cat >>confdefs.h <<_ACEOF
36274 #define HAVE_LDEXPF 1
36275 _ACEOF
36278 done
36280 else
36282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
36283 $as_echo_n "checking for _ldexpf declaration... " >&6; }
36284 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
36285 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
36286 $as_echo_n "(cached) " >&6
36287 else
36290 ac_ext=cpp
36291 ac_cpp='$CXXCPP $CPPFLAGS'
36292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36297 /* end confdefs.h. */
36298 #include <math.h>
36300 main ()
36302 _ldexpf(0, 0);
36304 return 0;
36306 _ACEOF
36307 if ac_fn_cxx_try_compile "$LINENO"; then :
36308 glibcxx_cv_func__ldexpf_use=yes
36309 else
36310 glibcxx_cv_func__ldexpf_use=no
36312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36313 ac_ext=c
36314 ac_cpp='$CPP $CPPFLAGS'
36315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
36324 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
36326 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
36327 for ac_func in _ldexpf
36328 do :
36329 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
36330 if test "x$ac_cv_func__ldexpf" = x""yes; then :
36331 cat >>confdefs.h <<_ACEOF
36332 #define HAVE__LDEXPF 1
36333 _ACEOF
36336 done
36345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
36346 $as_echo_n "checking for logf declaration... " >&6; }
36347 if test x${glibcxx_cv_func_logf_use+set} != xset; then
36348 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
36349 $as_echo_n "(cached) " >&6
36350 else
36353 ac_ext=cpp
36354 ac_cpp='$CXXCPP $CPPFLAGS'
36355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36360 /* end confdefs.h. */
36361 #include <math.h>
36362 #ifdef HAVE_IEEEFP_H
36363 #include <ieeefp.h>
36364 #endif
36367 main ()
36369 logf(0);
36371 return 0;
36373 _ACEOF
36374 if ac_fn_cxx_try_compile "$LINENO"; then :
36375 glibcxx_cv_func_logf_use=yes
36376 else
36377 glibcxx_cv_func_logf_use=no
36379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36380 ac_ext=c
36381 ac_cpp='$CPP $CPPFLAGS'
36382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
36391 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
36393 if test x$glibcxx_cv_func_logf_use = x"yes"; then
36394 for ac_func in logf
36395 do :
36396 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
36397 if test "x$ac_cv_func_logf" = x""yes; then :
36398 cat >>confdefs.h <<_ACEOF
36399 #define HAVE_LOGF 1
36400 _ACEOF
36403 done
36405 else
36407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
36408 $as_echo_n "checking for _logf declaration... " >&6; }
36409 if test x${glibcxx_cv_func__logf_use+set} != xset; then
36410 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
36411 $as_echo_n "(cached) " >&6
36412 else
36415 ac_ext=cpp
36416 ac_cpp='$CXXCPP $CPPFLAGS'
36417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36422 /* end confdefs.h. */
36423 #include <math.h>
36424 #ifdef HAVE_IEEEFP_H
36425 #include <ieeefp.h>
36426 #endif
36429 main ()
36431 _logf(0);
36433 return 0;
36435 _ACEOF
36436 if ac_fn_cxx_try_compile "$LINENO"; then :
36437 glibcxx_cv_func__logf_use=yes
36438 else
36439 glibcxx_cv_func__logf_use=no
36441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36442 ac_ext=c
36443 ac_cpp='$CPP $CPPFLAGS'
36444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
36453 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
36455 if test x$glibcxx_cv_func__logf_use = x"yes"; then
36456 for ac_func in _logf
36457 do :
36458 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
36459 if test "x$ac_cv_func__logf" = x""yes; then :
36460 cat >>confdefs.h <<_ACEOF
36461 #define HAVE__LOGF 1
36462 _ACEOF
36465 done
36474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
36475 $as_echo_n "checking for log10f declaration... " >&6; }
36476 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
36477 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
36478 $as_echo_n "(cached) " >&6
36479 else
36482 ac_ext=cpp
36483 ac_cpp='$CXXCPP $CPPFLAGS'
36484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36489 /* end confdefs.h. */
36490 #include <math.h>
36491 #ifdef HAVE_IEEEFP_H
36492 #include <ieeefp.h>
36493 #endif
36496 main ()
36498 log10f(0);
36500 return 0;
36502 _ACEOF
36503 if ac_fn_cxx_try_compile "$LINENO"; then :
36504 glibcxx_cv_func_log10f_use=yes
36505 else
36506 glibcxx_cv_func_log10f_use=no
36508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36509 ac_ext=c
36510 ac_cpp='$CPP $CPPFLAGS'
36511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
36520 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
36522 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
36523 for ac_func in log10f
36524 do :
36525 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
36526 if test "x$ac_cv_func_log10f" = x""yes; then :
36527 cat >>confdefs.h <<_ACEOF
36528 #define HAVE_LOG10F 1
36529 _ACEOF
36532 done
36534 else
36536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
36537 $as_echo_n "checking for _log10f declaration... " >&6; }
36538 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
36539 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
36540 $as_echo_n "(cached) " >&6
36541 else
36544 ac_ext=cpp
36545 ac_cpp='$CXXCPP $CPPFLAGS'
36546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36551 /* end confdefs.h. */
36552 #include <math.h>
36553 #ifdef HAVE_IEEEFP_H
36554 #include <ieeefp.h>
36555 #endif
36558 main ()
36560 _log10f(0);
36562 return 0;
36564 _ACEOF
36565 if ac_fn_cxx_try_compile "$LINENO"; then :
36566 glibcxx_cv_func__log10f_use=yes
36567 else
36568 glibcxx_cv_func__log10f_use=no
36570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36571 ac_ext=c
36572 ac_cpp='$CPP $CPPFLAGS'
36573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
36582 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
36584 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
36585 for ac_func in _log10f
36586 do :
36587 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
36588 if test "x$ac_cv_func__log10f" = x""yes; then :
36589 cat >>confdefs.h <<_ACEOF
36590 #define HAVE__LOG10F 1
36591 _ACEOF
36594 done
36603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
36604 $as_echo_n "checking for modff declaration... " >&6; }
36605 if test x${glibcxx_cv_func_modff_use+set} != xset; then
36606 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
36607 $as_echo_n "(cached) " >&6
36608 else
36611 ac_ext=cpp
36612 ac_cpp='$CXXCPP $CPPFLAGS'
36613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36618 /* end confdefs.h. */
36619 #include <math.h>
36621 main ()
36623 modff(0, 0);
36625 return 0;
36627 _ACEOF
36628 if ac_fn_cxx_try_compile "$LINENO"; then :
36629 glibcxx_cv_func_modff_use=yes
36630 else
36631 glibcxx_cv_func_modff_use=no
36633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36634 ac_ext=c
36635 ac_cpp='$CPP $CPPFLAGS'
36636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
36645 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
36647 if test x$glibcxx_cv_func_modff_use = x"yes"; then
36648 for ac_func in modff
36649 do :
36650 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
36651 if test "x$ac_cv_func_modff" = x""yes; then :
36652 cat >>confdefs.h <<_ACEOF
36653 #define HAVE_MODFF 1
36654 _ACEOF
36657 done
36659 else
36661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
36662 $as_echo_n "checking for _modff declaration... " >&6; }
36663 if test x${glibcxx_cv_func__modff_use+set} != xset; then
36664 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
36665 $as_echo_n "(cached) " >&6
36666 else
36669 ac_ext=cpp
36670 ac_cpp='$CXXCPP $CPPFLAGS'
36671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36676 /* end confdefs.h. */
36677 #include <math.h>
36679 main ()
36681 _modff(0, 0);
36683 return 0;
36685 _ACEOF
36686 if ac_fn_cxx_try_compile "$LINENO"; then :
36687 glibcxx_cv_func__modff_use=yes
36688 else
36689 glibcxx_cv_func__modff_use=no
36691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36692 ac_ext=c
36693 ac_cpp='$CPP $CPPFLAGS'
36694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
36703 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
36705 if test x$glibcxx_cv_func__modff_use = x"yes"; then
36706 for ac_func in _modff
36707 do :
36708 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
36709 if test "x$ac_cv_func__modff" = x""yes; then :
36710 cat >>confdefs.h <<_ACEOF
36711 #define HAVE__MODFF 1
36712 _ACEOF
36715 done
36724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
36725 $as_echo_n "checking for modf declaration... " >&6; }
36726 if test x${glibcxx_cv_func_modf_use+set} != xset; then
36727 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
36728 $as_echo_n "(cached) " >&6
36729 else
36732 ac_ext=cpp
36733 ac_cpp='$CXXCPP $CPPFLAGS'
36734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36739 /* end confdefs.h. */
36740 #include <math.h>
36742 main ()
36744 modf(0, 0);
36746 return 0;
36748 _ACEOF
36749 if ac_fn_cxx_try_compile "$LINENO"; then :
36750 glibcxx_cv_func_modf_use=yes
36751 else
36752 glibcxx_cv_func_modf_use=no
36754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36755 ac_ext=c
36756 ac_cpp='$CPP $CPPFLAGS'
36757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
36766 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
36768 if test x$glibcxx_cv_func_modf_use = x"yes"; then
36769 for ac_func in modf
36770 do :
36771 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
36772 if test "x$ac_cv_func_modf" = x""yes; then :
36773 cat >>confdefs.h <<_ACEOF
36774 #define HAVE_MODF 1
36775 _ACEOF
36778 done
36780 else
36782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
36783 $as_echo_n "checking for _modf declaration... " >&6; }
36784 if test x${glibcxx_cv_func__modf_use+set} != xset; then
36785 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
36786 $as_echo_n "(cached) " >&6
36787 else
36790 ac_ext=cpp
36791 ac_cpp='$CXXCPP $CPPFLAGS'
36792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36797 /* end confdefs.h. */
36798 #include <math.h>
36800 main ()
36802 _modf(0, 0);
36804 return 0;
36806 _ACEOF
36807 if ac_fn_cxx_try_compile "$LINENO"; then :
36808 glibcxx_cv_func__modf_use=yes
36809 else
36810 glibcxx_cv_func__modf_use=no
36812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36813 ac_ext=c
36814 ac_cpp='$CPP $CPPFLAGS'
36815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
36824 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
36826 if test x$glibcxx_cv_func__modf_use = x"yes"; then
36827 for ac_func in _modf
36828 do :
36829 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
36830 if test "x$ac_cv_func__modf" = x""yes; then :
36831 cat >>confdefs.h <<_ACEOF
36832 #define HAVE__MODF 1
36833 _ACEOF
36836 done
36845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
36846 $as_echo_n "checking for powf declaration... " >&6; }
36847 if test x${glibcxx_cv_func_powf_use+set} != xset; then
36848 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
36849 $as_echo_n "(cached) " >&6
36850 else
36853 ac_ext=cpp
36854 ac_cpp='$CXXCPP $CPPFLAGS'
36855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36860 /* end confdefs.h. */
36861 #include <math.h>
36863 main ()
36865 powf(0, 0);
36867 return 0;
36869 _ACEOF
36870 if ac_fn_cxx_try_compile "$LINENO"; then :
36871 glibcxx_cv_func_powf_use=yes
36872 else
36873 glibcxx_cv_func_powf_use=no
36875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36876 ac_ext=c
36877 ac_cpp='$CPP $CPPFLAGS'
36878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
36887 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
36889 if test x$glibcxx_cv_func_powf_use = x"yes"; then
36890 for ac_func in powf
36891 do :
36892 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
36893 if test "x$ac_cv_func_powf" = x""yes; then :
36894 cat >>confdefs.h <<_ACEOF
36895 #define HAVE_POWF 1
36896 _ACEOF
36899 done
36901 else
36903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
36904 $as_echo_n "checking for _powf declaration... " >&6; }
36905 if test x${glibcxx_cv_func__powf_use+set} != xset; then
36906 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
36907 $as_echo_n "(cached) " >&6
36908 else
36911 ac_ext=cpp
36912 ac_cpp='$CXXCPP $CPPFLAGS'
36913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36918 /* end confdefs.h. */
36919 #include <math.h>
36921 main ()
36923 _powf(0, 0);
36925 return 0;
36927 _ACEOF
36928 if ac_fn_cxx_try_compile "$LINENO"; then :
36929 glibcxx_cv_func__powf_use=yes
36930 else
36931 glibcxx_cv_func__powf_use=no
36933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36934 ac_ext=c
36935 ac_cpp='$CPP $CPPFLAGS'
36936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
36945 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
36947 if test x$glibcxx_cv_func__powf_use = x"yes"; then
36948 for ac_func in _powf
36949 do :
36950 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
36951 if test "x$ac_cv_func__powf" = x""yes; then :
36952 cat >>confdefs.h <<_ACEOF
36953 #define HAVE__POWF 1
36954 _ACEOF
36957 done
36966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
36967 $as_echo_n "checking for sqrtf declaration... " >&6; }
36968 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
36969 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
36970 $as_echo_n "(cached) " >&6
36971 else
36974 ac_ext=cpp
36975 ac_cpp='$CXXCPP $CPPFLAGS'
36976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36981 /* end confdefs.h. */
36982 #include <math.h>
36983 #ifdef HAVE_IEEEFP_H
36984 #include <ieeefp.h>
36985 #endif
36988 main ()
36990 sqrtf(0);
36992 return 0;
36994 _ACEOF
36995 if ac_fn_cxx_try_compile "$LINENO"; then :
36996 glibcxx_cv_func_sqrtf_use=yes
36997 else
36998 glibcxx_cv_func_sqrtf_use=no
37000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37001 ac_ext=c
37002 ac_cpp='$CPP $CPPFLAGS'
37003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
37012 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
37014 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
37015 for ac_func in sqrtf
37016 do :
37017 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
37018 if test "x$ac_cv_func_sqrtf" = x""yes; then :
37019 cat >>confdefs.h <<_ACEOF
37020 #define HAVE_SQRTF 1
37021 _ACEOF
37024 done
37026 else
37028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
37029 $as_echo_n "checking for _sqrtf declaration... " >&6; }
37030 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
37031 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
37032 $as_echo_n "(cached) " >&6
37033 else
37036 ac_ext=cpp
37037 ac_cpp='$CXXCPP $CPPFLAGS'
37038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37043 /* end confdefs.h. */
37044 #include <math.h>
37045 #ifdef HAVE_IEEEFP_H
37046 #include <ieeefp.h>
37047 #endif
37050 main ()
37052 _sqrtf(0);
37054 return 0;
37056 _ACEOF
37057 if ac_fn_cxx_try_compile "$LINENO"; then :
37058 glibcxx_cv_func__sqrtf_use=yes
37059 else
37060 glibcxx_cv_func__sqrtf_use=no
37062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37063 ac_ext=c
37064 ac_cpp='$CPP $CPPFLAGS'
37065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
37074 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
37076 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
37077 for ac_func in _sqrtf
37078 do :
37079 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
37080 if test "x$ac_cv_func__sqrtf" = x""yes; then :
37081 cat >>confdefs.h <<_ACEOF
37082 #define HAVE__SQRTF 1
37083 _ACEOF
37086 done
37095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
37096 $as_echo_n "checking for sincosf declaration... " >&6; }
37097 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
37098 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
37099 $as_echo_n "(cached) " >&6
37100 else
37103 ac_ext=cpp
37104 ac_cpp='$CXXCPP $CPPFLAGS'
37105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37110 /* end confdefs.h. */
37111 #include <math.h>
37113 main ()
37115 sincosf(0, 0, 0);
37117 return 0;
37119 _ACEOF
37120 if ac_fn_cxx_try_compile "$LINENO"; then :
37121 glibcxx_cv_func_sincosf_use=yes
37122 else
37123 glibcxx_cv_func_sincosf_use=no
37125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37126 ac_ext=c
37127 ac_cpp='$CPP $CPPFLAGS'
37128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
37137 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
37139 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
37140 for ac_func in sincosf
37141 do :
37142 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
37143 if test "x$ac_cv_func_sincosf" = x""yes; then :
37144 cat >>confdefs.h <<_ACEOF
37145 #define HAVE_SINCOSF 1
37146 _ACEOF
37149 done
37151 else
37153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
37154 $as_echo_n "checking for _sincosf declaration... " >&6; }
37155 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
37156 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
37157 $as_echo_n "(cached) " >&6
37158 else
37161 ac_ext=cpp
37162 ac_cpp='$CXXCPP $CPPFLAGS'
37163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37168 /* end confdefs.h. */
37169 #include <math.h>
37171 main ()
37173 _sincosf(0, 0, 0);
37175 return 0;
37177 _ACEOF
37178 if ac_fn_cxx_try_compile "$LINENO"; then :
37179 glibcxx_cv_func__sincosf_use=yes
37180 else
37181 glibcxx_cv_func__sincosf_use=no
37183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37184 ac_ext=c
37185 ac_cpp='$CPP $CPPFLAGS'
37186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
37195 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
37197 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
37198 for ac_func in _sincosf
37199 do :
37200 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
37201 if test "x$ac_cv_func__sincosf" = x""yes; then :
37202 cat >>confdefs.h <<_ACEOF
37203 #define HAVE__SINCOSF 1
37204 _ACEOF
37207 done
37216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
37217 $as_echo_n "checking for finitef declaration... " >&6; }
37218 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
37219 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
37220 $as_echo_n "(cached) " >&6
37221 else
37224 ac_ext=cpp
37225 ac_cpp='$CXXCPP $CPPFLAGS'
37226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37231 /* end confdefs.h. */
37232 #include <math.h>
37233 #ifdef HAVE_IEEEFP_H
37234 #include <ieeefp.h>
37235 #endif
37238 main ()
37240 finitef(0);
37242 return 0;
37244 _ACEOF
37245 if ac_fn_cxx_try_compile "$LINENO"; then :
37246 glibcxx_cv_func_finitef_use=yes
37247 else
37248 glibcxx_cv_func_finitef_use=no
37250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37251 ac_ext=c
37252 ac_cpp='$CPP $CPPFLAGS'
37253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
37262 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
37264 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
37265 for ac_func in finitef
37266 do :
37267 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
37268 if test "x$ac_cv_func_finitef" = x""yes; then :
37269 cat >>confdefs.h <<_ACEOF
37270 #define HAVE_FINITEF 1
37271 _ACEOF
37274 done
37276 else
37278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
37279 $as_echo_n "checking for _finitef declaration... " >&6; }
37280 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
37281 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
37282 $as_echo_n "(cached) " >&6
37283 else
37286 ac_ext=cpp
37287 ac_cpp='$CXXCPP $CPPFLAGS'
37288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37293 /* end confdefs.h. */
37294 #include <math.h>
37295 #ifdef HAVE_IEEEFP_H
37296 #include <ieeefp.h>
37297 #endif
37300 main ()
37302 _finitef(0);
37304 return 0;
37306 _ACEOF
37307 if ac_fn_cxx_try_compile "$LINENO"; then :
37308 glibcxx_cv_func__finitef_use=yes
37309 else
37310 glibcxx_cv_func__finitef_use=no
37312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37313 ac_ext=c
37314 ac_cpp='$CPP $CPPFLAGS'
37315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
37324 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
37326 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
37327 for ac_func in _finitef
37328 do :
37329 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
37330 if test "x$ac_cv_func__finitef" = x""yes; then :
37331 cat >>confdefs.h <<_ACEOF
37332 #define HAVE__FINITEF 1
37333 _ACEOF
37336 done
37345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
37346 $as_echo_n "checking for long double trig functions... " >&6; }
37347 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
37348 $as_echo_n "(cached) " >&6
37349 else
37352 ac_ext=cpp
37353 ac_cpp='$CXXCPP $CPPFLAGS'
37354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37359 /* end confdefs.h. */
37360 #include <math.h>
37362 main ()
37364 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
37366 return 0;
37368 _ACEOF
37369 if ac_fn_cxx_try_compile "$LINENO"; then :
37370 glibcxx_cv_func_long_double_trig_use=yes
37371 else
37372 glibcxx_cv_func_long_double_trig_use=no
37374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37375 ac_ext=c
37376 ac_cpp='$CPP $CPPFLAGS'
37377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
37384 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
37385 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
37386 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
37387 do :
37388 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37389 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37390 eval as_val=\$$as_ac_var
37391 if test "x$as_val" = x""yes; then :
37392 cat >>confdefs.h <<_ACEOF
37393 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37394 _ACEOF
37397 done
37399 else
37400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
37401 $as_echo_n "checking for _long double trig functions... " >&6; }
37402 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
37403 $as_echo_n "(cached) " >&6
37404 else
37407 ac_ext=cpp
37408 ac_cpp='$CXXCPP $CPPFLAGS'
37409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37414 /* end confdefs.h. */
37415 #include <math.h>
37417 main ()
37419 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
37421 return 0;
37423 _ACEOF
37424 if ac_fn_cxx_try_compile "$LINENO"; then :
37425 glibcxx_cv_func__long_double_trig_use=yes
37426 else
37427 glibcxx_cv_func__long_double_trig_use=no
37429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37430 ac_ext=c
37431 ac_cpp='$CPP $CPPFLAGS'
37432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
37439 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
37440 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
37441 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
37442 do :
37443 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37444 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37445 eval as_val=\$$as_ac_var
37446 if test "x$as_val" = x""yes; then :
37447 cat >>confdefs.h <<_ACEOF
37448 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37449 _ACEOF
37452 done
37461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
37462 $as_echo_n "checking for long double round functions... " >&6; }
37463 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
37464 $as_echo_n "(cached) " >&6
37465 else
37468 ac_ext=cpp
37469 ac_cpp='$CXXCPP $CPPFLAGS'
37470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37475 /* end confdefs.h. */
37476 #include <math.h>
37478 main ()
37480 ceill (0); floorl (0);
37482 return 0;
37484 _ACEOF
37485 if ac_fn_cxx_try_compile "$LINENO"; then :
37486 glibcxx_cv_func_long_double_round_use=yes
37487 else
37488 glibcxx_cv_func_long_double_round_use=no
37490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37491 ac_ext=c
37492 ac_cpp='$CPP $CPPFLAGS'
37493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
37500 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
37501 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
37502 for ac_func in ceill floorl
37503 do :
37504 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37505 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37506 eval as_val=\$$as_ac_var
37507 if test "x$as_val" = x""yes; then :
37508 cat >>confdefs.h <<_ACEOF
37509 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37510 _ACEOF
37513 done
37515 else
37516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
37517 $as_echo_n "checking for _long double round functions... " >&6; }
37518 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
37519 $as_echo_n "(cached) " >&6
37520 else
37523 ac_ext=cpp
37524 ac_cpp='$CXXCPP $CPPFLAGS'
37525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37530 /* end confdefs.h. */
37531 #include <math.h>
37533 main ()
37535 _ceill (0); _floorl (0);
37537 return 0;
37539 _ACEOF
37540 if ac_fn_cxx_try_compile "$LINENO"; then :
37541 glibcxx_cv_func__long_double_round_use=yes
37542 else
37543 glibcxx_cv_func__long_double_round_use=no
37545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37546 ac_ext=c
37547 ac_cpp='$CPP $CPPFLAGS'
37548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
37555 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
37556 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
37557 for ac_func in _ceill _floorl
37558 do :
37559 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37560 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37561 eval as_val=\$$as_ac_var
37562 if test "x$as_val" = x""yes; then :
37563 cat >>confdefs.h <<_ACEOF
37564 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37565 _ACEOF
37568 done
37578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
37579 $as_echo_n "checking for isnanl declaration... " >&6; }
37580 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
37581 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
37582 $as_echo_n "(cached) " >&6
37583 else
37586 ac_ext=cpp
37587 ac_cpp='$CXXCPP $CPPFLAGS'
37588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37593 /* end confdefs.h. */
37594 #include <math.h>
37595 #ifdef HAVE_IEEEFP_H
37596 #include <ieeefp.h>
37597 #endif
37600 main ()
37602 isnanl(0);
37604 return 0;
37606 _ACEOF
37607 if ac_fn_cxx_try_compile "$LINENO"; then :
37608 glibcxx_cv_func_isnanl_use=yes
37609 else
37610 glibcxx_cv_func_isnanl_use=no
37612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37613 ac_ext=c
37614 ac_cpp='$CPP $CPPFLAGS'
37615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
37624 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
37626 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
37627 for ac_func in isnanl
37628 do :
37629 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
37630 if test "x$ac_cv_func_isnanl" = x""yes; then :
37631 cat >>confdefs.h <<_ACEOF
37632 #define HAVE_ISNANL 1
37633 _ACEOF
37636 done
37638 else
37640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
37641 $as_echo_n "checking for _isnanl declaration... " >&6; }
37642 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
37643 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
37644 $as_echo_n "(cached) " >&6
37645 else
37648 ac_ext=cpp
37649 ac_cpp='$CXXCPP $CPPFLAGS'
37650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37655 /* end confdefs.h. */
37656 #include <math.h>
37657 #ifdef HAVE_IEEEFP_H
37658 #include <ieeefp.h>
37659 #endif
37662 main ()
37664 _isnanl(0);
37666 return 0;
37668 _ACEOF
37669 if ac_fn_cxx_try_compile "$LINENO"; then :
37670 glibcxx_cv_func__isnanl_use=yes
37671 else
37672 glibcxx_cv_func__isnanl_use=no
37674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37675 ac_ext=c
37676 ac_cpp='$CPP $CPPFLAGS'
37677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
37686 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
37688 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
37689 for ac_func in _isnanl
37690 do :
37691 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
37692 if test "x$ac_cv_func__isnanl" = x""yes; then :
37693 cat >>confdefs.h <<_ACEOF
37694 #define HAVE__ISNANL 1
37695 _ACEOF
37698 done
37707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
37708 $as_echo_n "checking for isinfl declaration... " >&6; }
37709 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
37710 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
37711 $as_echo_n "(cached) " >&6
37712 else
37715 ac_ext=cpp
37716 ac_cpp='$CXXCPP $CPPFLAGS'
37717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37722 /* end confdefs.h. */
37723 #include <math.h>
37724 #ifdef HAVE_IEEEFP_H
37725 #include <ieeefp.h>
37726 #endif
37729 main ()
37731 isinfl(0);
37733 return 0;
37735 _ACEOF
37736 if ac_fn_cxx_try_compile "$LINENO"; then :
37737 glibcxx_cv_func_isinfl_use=yes
37738 else
37739 glibcxx_cv_func_isinfl_use=no
37741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37742 ac_ext=c
37743 ac_cpp='$CPP $CPPFLAGS'
37744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
37753 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
37755 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
37756 for ac_func in isinfl
37757 do :
37758 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
37759 if test "x$ac_cv_func_isinfl" = x""yes; then :
37760 cat >>confdefs.h <<_ACEOF
37761 #define HAVE_ISINFL 1
37762 _ACEOF
37765 done
37767 else
37769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
37770 $as_echo_n "checking for _isinfl declaration... " >&6; }
37771 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
37772 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
37773 $as_echo_n "(cached) " >&6
37774 else
37777 ac_ext=cpp
37778 ac_cpp='$CXXCPP $CPPFLAGS'
37779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37784 /* end confdefs.h. */
37785 #include <math.h>
37786 #ifdef HAVE_IEEEFP_H
37787 #include <ieeefp.h>
37788 #endif
37791 main ()
37793 _isinfl(0);
37795 return 0;
37797 _ACEOF
37798 if ac_fn_cxx_try_compile "$LINENO"; then :
37799 glibcxx_cv_func__isinfl_use=yes
37800 else
37801 glibcxx_cv_func__isinfl_use=no
37803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37804 ac_ext=c
37805 ac_cpp='$CPP $CPPFLAGS'
37806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
37815 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
37817 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
37818 for ac_func in _isinfl
37819 do :
37820 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
37821 if test "x$ac_cv_func__isinfl" = x""yes; then :
37822 cat >>confdefs.h <<_ACEOF
37823 #define HAVE__ISINFL 1
37824 _ACEOF
37827 done
37836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
37837 $as_echo_n "checking for atan2l declaration... " >&6; }
37838 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
37839 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
37840 $as_echo_n "(cached) " >&6
37841 else
37844 ac_ext=cpp
37845 ac_cpp='$CXXCPP $CPPFLAGS'
37846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37851 /* end confdefs.h. */
37852 #include <math.h>
37854 main ()
37856 atan2l(0, 0);
37858 return 0;
37860 _ACEOF
37861 if ac_fn_cxx_try_compile "$LINENO"; then :
37862 glibcxx_cv_func_atan2l_use=yes
37863 else
37864 glibcxx_cv_func_atan2l_use=no
37866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37867 ac_ext=c
37868 ac_cpp='$CPP $CPPFLAGS'
37869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
37878 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
37880 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
37881 for ac_func in atan2l
37882 do :
37883 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
37884 if test "x$ac_cv_func_atan2l" = x""yes; then :
37885 cat >>confdefs.h <<_ACEOF
37886 #define HAVE_ATAN2L 1
37887 _ACEOF
37890 done
37892 else
37894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
37895 $as_echo_n "checking for _atan2l declaration... " >&6; }
37896 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
37897 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
37898 $as_echo_n "(cached) " >&6
37899 else
37902 ac_ext=cpp
37903 ac_cpp='$CXXCPP $CPPFLAGS'
37904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37909 /* end confdefs.h. */
37910 #include <math.h>
37912 main ()
37914 _atan2l(0, 0);
37916 return 0;
37918 _ACEOF
37919 if ac_fn_cxx_try_compile "$LINENO"; then :
37920 glibcxx_cv_func__atan2l_use=yes
37921 else
37922 glibcxx_cv_func__atan2l_use=no
37924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37925 ac_ext=c
37926 ac_cpp='$CPP $CPPFLAGS'
37927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
37936 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
37938 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
37939 for ac_func in _atan2l
37940 do :
37941 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
37942 if test "x$ac_cv_func__atan2l" = x""yes; then :
37943 cat >>confdefs.h <<_ACEOF
37944 #define HAVE__ATAN2L 1
37945 _ACEOF
37948 done
37957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
37958 $as_echo_n "checking for expl declaration... " >&6; }
37959 if test x${glibcxx_cv_func_expl_use+set} != xset; then
37960 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
37961 $as_echo_n "(cached) " >&6
37962 else
37965 ac_ext=cpp
37966 ac_cpp='$CXXCPP $CPPFLAGS'
37967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37972 /* end confdefs.h. */
37973 #include <math.h>
37974 #ifdef HAVE_IEEEFP_H
37975 #include <ieeefp.h>
37976 #endif
37979 main ()
37981 expl(0);
37983 return 0;
37985 _ACEOF
37986 if ac_fn_cxx_try_compile "$LINENO"; then :
37987 glibcxx_cv_func_expl_use=yes
37988 else
37989 glibcxx_cv_func_expl_use=no
37991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37992 ac_ext=c
37993 ac_cpp='$CPP $CPPFLAGS'
37994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
38003 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
38005 if test x$glibcxx_cv_func_expl_use = x"yes"; then
38006 for ac_func in expl
38007 do :
38008 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
38009 if test "x$ac_cv_func_expl" = x""yes; then :
38010 cat >>confdefs.h <<_ACEOF
38011 #define HAVE_EXPL 1
38012 _ACEOF
38015 done
38017 else
38019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
38020 $as_echo_n "checking for _expl declaration... " >&6; }
38021 if test x${glibcxx_cv_func__expl_use+set} != xset; then
38022 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
38023 $as_echo_n "(cached) " >&6
38024 else
38027 ac_ext=cpp
38028 ac_cpp='$CXXCPP $CPPFLAGS'
38029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38034 /* end confdefs.h. */
38035 #include <math.h>
38036 #ifdef HAVE_IEEEFP_H
38037 #include <ieeefp.h>
38038 #endif
38041 main ()
38043 _expl(0);
38045 return 0;
38047 _ACEOF
38048 if ac_fn_cxx_try_compile "$LINENO"; then :
38049 glibcxx_cv_func__expl_use=yes
38050 else
38051 glibcxx_cv_func__expl_use=no
38053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38054 ac_ext=c
38055 ac_cpp='$CPP $CPPFLAGS'
38056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
38065 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
38067 if test x$glibcxx_cv_func__expl_use = x"yes"; then
38068 for ac_func in _expl
38069 do :
38070 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
38071 if test "x$ac_cv_func__expl" = x""yes; then :
38072 cat >>confdefs.h <<_ACEOF
38073 #define HAVE__EXPL 1
38074 _ACEOF
38077 done
38086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
38087 $as_echo_n "checking for fabsl declaration... " >&6; }
38088 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
38089 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
38090 $as_echo_n "(cached) " >&6
38091 else
38094 ac_ext=cpp
38095 ac_cpp='$CXXCPP $CPPFLAGS'
38096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38101 /* end confdefs.h. */
38102 #include <math.h>
38103 #ifdef HAVE_IEEEFP_H
38104 #include <ieeefp.h>
38105 #endif
38108 main ()
38110 fabsl(0);
38112 return 0;
38114 _ACEOF
38115 if ac_fn_cxx_try_compile "$LINENO"; then :
38116 glibcxx_cv_func_fabsl_use=yes
38117 else
38118 glibcxx_cv_func_fabsl_use=no
38120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38121 ac_ext=c
38122 ac_cpp='$CPP $CPPFLAGS'
38123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
38132 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
38134 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
38135 for ac_func in fabsl
38136 do :
38137 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
38138 if test "x$ac_cv_func_fabsl" = x""yes; then :
38139 cat >>confdefs.h <<_ACEOF
38140 #define HAVE_FABSL 1
38141 _ACEOF
38144 done
38146 else
38148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
38149 $as_echo_n "checking for _fabsl declaration... " >&6; }
38150 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
38151 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
38152 $as_echo_n "(cached) " >&6
38153 else
38156 ac_ext=cpp
38157 ac_cpp='$CXXCPP $CPPFLAGS'
38158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38163 /* end confdefs.h. */
38164 #include <math.h>
38165 #ifdef HAVE_IEEEFP_H
38166 #include <ieeefp.h>
38167 #endif
38170 main ()
38172 _fabsl(0);
38174 return 0;
38176 _ACEOF
38177 if ac_fn_cxx_try_compile "$LINENO"; then :
38178 glibcxx_cv_func__fabsl_use=yes
38179 else
38180 glibcxx_cv_func__fabsl_use=no
38182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38183 ac_ext=c
38184 ac_cpp='$CPP $CPPFLAGS'
38185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
38194 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
38196 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
38197 for ac_func in _fabsl
38198 do :
38199 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
38200 if test "x$ac_cv_func__fabsl" = x""yes; then :
38201 cat >>confdefs.h <<_ACEOF
38202 #define HAVE__FABSL 1
38203 _ACEOF
38206 done
38215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
38216 $as_echo_n "checking for fmodl declaration... " >&6; }
38217 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
38218 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
38219 $as_echo_n "(cached) " >&6
38220 else
38223 ac_ext=cpp
38224 ac_cpp='$CXXCPP $CPPFLAGS'
38225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38230 /* end confdefs.h. */
38231 #include <math.h>
38233 main ()
38235 fmodl(0, 0);
38237 return 0;
38239 _ACEOF
38240 if ac_fn_cxx_try_compile "$LINENO"; then :
38241 glibcxx_cv_func_fmodl_use=yes
38242 else
38243 glibcxx_cv_func_fmodl_use=no
38245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38246 ac_ext=c
38247 ac_cpp='$CPP $CPPFLAGS'
38248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
38257 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
38259 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
38260 for ac_func in fmodl
38261 do :
38262 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
38263 if test "x$ac_cv_func_fmodl" = x""yes; then :
38264 cat >>confdefs.h <<_ACEOF
38265 #define HAVE_FMODL 1
38266 _ACEOF
38269 done
38271 else
38273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
38274 $as_echo_n "checking for _fmodl declaration... " >&6; }
38275 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
38276 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
38277 $as_echo_n "(cached) " >&6
38278 else
38281 ac_ext=cpp
38282 ac_cpp='$CXXCPP $CPPFLAGS'
38283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38288 /* end confdefs.h. */
38289 #include <math.h>
38291 main ()
38293 _fmodl(0, 0);
38295 return 0;
38297 _ACEOF
38298 if ac_fn_cxx_try_compile "$LINENO"; then :
38299 glibcxx_cv_func__fmodl_use=yes
38300 else
38301 glibcxx_cv_func__fmodl_use=no
38303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38304 ac_ext=c
38305 ac_cpp='$CPP $CPPFLAGS'
38306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
38315 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
38317 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
38318 for ac_func in _fmodl
38319 do :
38320 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
38321 if test "x$ac_cv_func__fmodl" = x""yes; then :
38322 cat >>confdefs.h <<_ACEOF
38323 #define HAVE__FMODL 1
38324 _ACEOF
38327 done
38336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
38337 $as_echo_n "checking for frexpl declaration... " >&6; }
38338 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
38339 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
38340 $as_echo_n "(cached) " >&6
38341 else
38344 ac_ext=cpp
38345 ac_cpp='$CXXCPP $CPPFLAGS'
38346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38351 /* end confdefs.h. */
38352 #include <math.h>
38354 main ()
38356 frexpl(0, 0);
38358 return 0;
38360 _ACEOF
38361 if ac_fn_cxx_try_compile "$LINENO"; then :
38362 glibcxx_cv_func_frexpl_use=yes
38363 else
38364 glibcxx_cv_func_frexpl_use=no
38366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38367 ac_ext=c
38368 ac_cpp='$CPP $CPPFLAGS'
38369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
38378 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
38380 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
38381 for ac_func in frexpl
38382 do :
38383 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
38384 if test "x$ac_cv_func_frexpl" = x""yes; then :
38385 cat >>confdefs.h <<_ACEOF
38386 #define HAVE_FREXPL 1
38387 _ACEOF
38390 done
38392 else
38394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
38395 $as_echo_n "checking for _frexpl declaration... " >&6; }
38396 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
38397 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
38398 $as_echo_n "(cached) " >&6
38399 else
38402 ac_ext=cpp
38403 ac_cpp='$CXXCPP $CPPFLAGS'
38404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38409 /* end confdefs.h. */
38410 #include <math.h>
38412 main ()
38414 _frexpl(0, 0);
38416 return 0;
38418 _ACEOF
38419 if ac_fn_cxx_try_compile "$LINENO"; then :
38420 glibcxx_cv_func__frexpl_use=yes
38421 else
38422 glibcxx_cv_func__frexpl_use=no
38424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38425 ac_ext=c
38426 ac_cpp='$CPP $CPPFLAGS'
38427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
38436 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
38438 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
38439 for ac_func in _frexpl
38440 do :
38441 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
38442 if test "x$ac_cv_func__frexpl" = x""yes; then :
38443 cat >>confdefs.h <<_ACEOF
38444 #define HAVE__FREXPL 1
38445 _ACEOF
38448 done
38457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
38458 $as_echo_n "checking for hypotl declaration... " >&6; }
38459 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
38460 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
38461 $as_echo_n "(cached) " >&6
38462 else
38465 ac_ext=cpp
38466 ac_cpp='$CXXCPP $CPPFLAGS'
38467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38472 /* end confdefs.h. */
38473 #include <math.h>
38475 main ()
38477 hypotl(0, 0);
38479 return 0;
38481 _ACEOF
38482 if ac_fn_cxx_try_compile "$LINENO"; then :
38483 glibcxx_cv_func_hypotl_use=yes
38484 else
38485 glibcxx_cv_func_hypotl_use=no
38487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38488 ac_ext=c
38489 ac_cpp='$CPP $CPPFLAGS'
38490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
38499 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
38501 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
38502 for ac_func in hypotl
38503 do :
38504 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
38505 if test "x$ac_cv_func_hypotl" = x""yes; then :
38506 cat >>confdefs.h <<_ACEOF
38507 #define HAVE_HYPOTL 1
38508 _ACEOF
38511 done
38513 else
38515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
38516 $as_echo_n "checking for _hypotl declaration... " >&6; }
38517 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
38518 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
38519 $as_echo_n "(cached) " >&6
38520 else
38523 ac_ext=cpp
38524 ac_cpp='$CXXCPP $CPPFLAGS'
38525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38530 /* end confdefs.h. */
38531 #include <math.h>
38533 main ()
38535 _hypotl(0, 0);
38537 return 0;
38539 _ACEOF
38540 if ac_fn_cxx_try_compile "$LINENO"; then :
38541 glibcxx_cv_func__hypotl_use=yes
38542 else
38543 glibcxx_cv_func__hypotl_use=no
38545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38546 ac_ext=c
38547 ac_cpp='$CPP $CPPFLAGS'
38548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
38557 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
38559 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
38560 for ac_func in _hypotl
38561 do :
38562 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
38563 if test "x$ac_cv_func__hypotl" = x""yes; then :
38564 cat >>confdefs.h <<_ACEOF
38565 #define HAVE__HYPOTL 1
38566 _ACEOF
38569 done
38578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
38579 $as_echo_n "checking for ldexpl declaration... " >&6; }
38580 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
38581 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
38582 $as_echo_n "(cached) " >&6
38583 else
38586 ac_ext=cpp
38587 ac_cpp='$CXXCPP $CPPFLAGS'
38588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38593 /* end confdefs.h. */
38594 #include <math.h>
38596 main ()
38598 ldexpl(0, 0);
38600 return 0;
38602 _ACEOF
38603 if ac_fn_cxx_try_compile "$LINENO"; then :
38604 glibcxx_cv_func_ldexpl_use=yes
38605 else
38606 glibcxx_cv_func_ldexpl_use=no
38608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38609 ac_ext=c
38610 ac_cpp='$CPP $CPPFLAGS'
38611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
38620 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
38622 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
38623 for ac_func in ldexpl
38624 do :
38625 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
38626 if test "x$ac_cv_func_ldexpl" = x""yes; then :
38627 cat >>confdefs.h <<_ACEOF
38628 #define HAVE_LDEXPL 1
38629 _ACEOF
38632 done
38634 else
38636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
38637 $as_echo_n "checking for _ldexpl declaration... " >&6; }
38638 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
38639 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
38640 $as_echo_n "(cached) " >&6
38641 else
38644 ac_ext=cpp
38645 ac_cpp='$CXXCPP $CPPFLAGS'
38646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38651 /* end confdefs.h. */
38652 #include <math.h>
38654 main ()
38656 _ldexpl(0, 0);
38658 return 0;
38660 _ACEOF
38661 if ac_fn_cxx_try_compile "$LINENO"; then :
38662 glibcxx_cv_func__ldexpl_use=yes
38663 else
38664 glibcxx_cv_func__ldexpl_use=no
38666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38667 ac_ext=c
38668 ac_cpp='$CPP $CPPFLAGS'
38669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
38678 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
38680 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
38681 for ac_func in _ldexpl
38682 do :
38683 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
38684 if test "x$ac_cv_func__ldexpl" = x""yes; then :
38685 cat >>confdefs.h <<_ACEOF
38686 #define HAVE__LDEXPL 1
38687 _ACEOF
38690 done
38699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
38700 $as_echo_n "checking for logl declaration... " >&6; }
38701 if test x${glibcxx_cv_func_logl_use+set} != xset; then
38702 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
38703 $as_echo_n "(cached) " >&6
38704 else
38707 ac_ext=cpp
38708 ac_cpp='$CXXCPP $CPPFLAGS'
38709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38714 /* end confdefs.h. */
38715 #include <math.h>
38716 #ifdef HAVE_IEEEFP_H
38717 #include <ieeefp.h>
38718 #endif
38721 main ()
38723 logl(0);
38725 return 0;
38727 _ACEOF
38728 if ac_fn_cxx_try_compile "$LINENO"; then :
38729 glibcxx_cv_func_logl_use=yes
38730 else
38731 glibcxx_cv_func_logl_use=no
38733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38734 ac_ext=c
38735 ac_cpp='$CPP $CPPFLAGS'
38736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
38745 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
38747 if test x$glibcxx_cv_func_logl_use = x"yes"; then
38748 for ac_func in logl
38749 do :
38750 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
38751 if test "x$ac_cv_func_logl" = x""yes; then :
38752 cat >>confdefs.h <<_ACEOF
38753 #define HAVE_LOGL 1
38754 _ACEOF
38757 done
38759 else
38761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
38762 $as_echo_n "checking for _logl declaration... " >&6; }
38763 if test x${glibcxx_cv_func__logl_use+set} != xset; then
38764 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
38765 $as_echo_n "(cached) " >&6
38766 else
38769 ac_ext=cpp
38770 ac_cpp='$CXXCPP $CPPFLAGS'
38771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38776 /* end confdefs.h. */
38777 #include <math.h>
38778 #ifdef HAVE_IEEEFP_H
38779 #include <ieeefp.h>
38780 #endif
38783 main ()
38785 _logl(0);
38787 return 0;
38789 _ACEOF
38790 if ac_fn_cxx_try_compile "$LINENO"; then :
38791 glibcxx_cv_func__logl_use=yes
38792 else
38793 glibcxx_cv_func__logl_use=no
38795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38796 ac_ext=c
38797 ac_cpp='$CPP $CPPFLAGS'
38798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
38807 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
38809 if test x$glibcxx_cv_func__logl_use = x"yes"; then
38810 for ac_func in _logl
38811 do :
38812 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
38813 if test "x$ac_cv_func__logl" = x""yes; then :
38814 cat >>confdefs.h <<_ACEOF
38815 #define HAVE__LOGL 1
38816 _ACEOF
38819 done
38828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
38829 $as_echo_n "checking for log10l declaration... " >&6; }
38830 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
38831 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
38832 $as_echo_n "(cached) " >&6
38833 else
38836 ac_ext=cpp
38837 ac_cpp='$CXXCPP $CPPFLAGS'
38838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38843 /* end confdefs.h. */
38844 #include <math.h>
38845 #ifdef HAVE_IEEEFP_H
38846 #include <ieeefp.h>
38847 #endif
38850 main ()
38852 log10l(0);
38854 return 0;
38856 _ACEOF
38857 if ac_fn_cxx_try_compile "$LINENO"; then :
38858 glibcxx_cv_func_log10l_use=yes
38859 else
38860 glibcxx_cv_func_log10l_use=no
38862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38863 ac_ext=c
38864 ac_cpp='$CPP $CPPFLAGS'
38865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
38874 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
38876 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
38877 for ac_func in log10l
38878 do :
38879 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
38880 if test "x$ac_cv_func_log10l" = x""yes; then :
38881 cat >>confdefs.h <<_ACEOF
38882 #define HAVE_LOG10L 1
38883 _ACEOF
38886 done
38888 else
38890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
38891 $as_echo_n "checking for _log10l declaration... " >&6; }
38892 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
38893 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
38894 $as_echo_n "(cached) " >&6
38895 else
38898 ac_ext=cpp
38899 ac_cpp='$CXXCPP $CPPFLAGS'
38900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38905 /* end confdefs.h. */
38906 #include <math.h>
38907 #ifdef HAVE_IEEEFP_H
38908 #include <ieeefp.h>
38909 #endif
38912 main ()
38914 _log10l(0);
38916 return 0;
38918 _ACEOF
38919 if ac_fn_cxx_try_compile "$LINENO"; then :
38920 glibcxx_cv_func__log10l_use=yes
38921 else
38922 glibcxx_cv_func__log10l_use=no
38924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38925 ac_ext=c
38926 ac_cpp='$CPP $CPPFLAGS'
38927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
38936 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
38938 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
38939 for ac_func in _log10l
38940 do :
38941 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
38942 if test "x$ac_cv_func__log10l" = x""yes; then :
38943 cat >>confdefs.h <<_ACEOF
38944 #define HAVE__LOG10L 1
38945 _ACEOF
38948 done
38957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
38958 $as_echo_n "checking for modfl declaration... " >&6; }
38959 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
38960 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
38961 $as_echo_n "(cached) " >&6
38962 else
38965 ac_ext=cpp
38966 ac_cpp='$CXXCPP $CPPFLAGS'
38967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38972 /* end confdefs.h. */
38973 #include <math.h>
38975 main ()
38977 modfl(0, 0);
38979 return 0;
38981 _ACEOF
38982 if ac_fn_cxx_try_compile "$LINENO"; then :
38983 glibcxx_cv_func_modfl_use=yes
38984 else
38985 glibcxx_cv_func_modfl_use=no
38987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38988 ac_ext=c
38989 ac_cpp='$CPP $CPPFLAGS'
38990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
38999 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
39001 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
39002 for ac_func in modfl
39003 do :
39004 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
39005 if test "x$ac_cv_func_modfl" = x""yes; then :
39006 cat >>confdefs.h <<_ACEOF
39007 #define HAVE_MODFL 1
39008 _ACEOF
39011 done
39013 else
39015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
39016 $as_echo_n "checking for _modfl declaration... " >&6; }
39017 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
39018 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
39019 $as_echo_n "(cached) " >&6
39020 else
39023 ac_ext=cpp
39024 ac_cpp='$CXXCPP $CPPFLAGS'
39025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39030 /* end confdefs.h. */
39031 #include <math.h>
39033 main ()
39035 _modfl(0, 0);
39037 return 0;
39039 _ACEOF
39040 if ac_fn_cxx_try_compile "$LINENO"; then :
39041 glibcxx_cv_func__modfl_use=yes
39042 else
39043 glibcxx_cv_func__modfl_use=no
39045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39046 ac_ext=c
39047 ac_cpp='$CPP $CPPFLAGS'
39048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
39057 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
39059 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
39060 for ac_func in _modfl
39061 do :
39062 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
39063 if test "x$ac_cv_func__modfl" = x""yes; then :
39064 cat >>confdefs.h <<_ACEOF
39065 #define HAVE__MODFL 1
39066 _ACEOF
39069 done
39078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
39079 $as_echo_n "checking for powl declaration... " >&6; }
39080 if test x${glibcxx_cv_func_powl_use+set} != xset; then
39081 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
39082 $as_echo_n "(cached) " >&6
39083 else
39086 ac_ext=cpp
39087 ac_cpp='$CXXCPP $CPPFLAGS'
39088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39093 /* end confdefs.h. */
39094 #include <math.h>
39096 main ()
39098 powl(0, 0);
39100 return 0;
39102 _ACEOF
39103 if ac_fn_cxx_try_compile "$LINENO"; then :
39104 glibcxx_cv_func_powl_use=yes
39105 else
39106 glibcxx_cv_func_powl_use=no
39108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39109 ac_ext=c
39110 ac_cpp='$CPP $CPPFLAGS'
39111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
39120 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
39122 if test x$glibcxx_cv_func_powl_use = x"yes"; then
39123 for ac_func in powl
39124 do :
39125 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
39126 if test "x$ac_cv_func_powl" = x""yes; then :
39127 cat >>confdefs.h <<_ACEOF
39128 #define HAVE_POWL 1
39129 _ACEOF
39132 done
39134 else
39136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
39137 $as_echo_n "checking for _powl declaration... " >&6; }
39138 if test x${glibcxx_cv_func__powl_use+set} != xset; then
39139 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
39140 $as_echo_n "(cached) " >&6
39141 else
39144 ac_ext=cpp
39145 ac_cpp='$CXXCPP $CPPFLAGS'
39146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39151 /* end confdefs.h. */
39152 #include <math.h>
39154 main ()
39156 _powl(0, 0);
39158 return 0;
39160 _ACEOF
39161 if ac_fn_cxx_try_compile "$LINENO"; then :
39162 glibcxx_cv_func__powl_use=yes
39163 else
39164 glibcxx_cv_func__powl_use=no
39166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39167 ac_ext=c
39168 ac_cpp='$CPP $CPPFLAGS'
39169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
39178 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
39180 if test x$glibcxx_cv_func__powl_use = x"yes"; then
39181 for ac_func in _powl
39182 do :
39183 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
39184 if test "x$ac_cv_func__powl" = x""yes; then :
39185 cat >>confdefs.h <<_ACEOF
39186 #define HAVE__POWL 1
39187 _ACEOF
39190 done
39199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
39200 $as_echo_n "checking for sqrtl declaration... " >&6; }
39201 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
39202 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
39203 $as_echo_n "(cached) " >&6
39204 else
39207 ac_ext=cpp
39208 ac_cpp='$CXXCPP $CPPFLAGS'
39209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39214 /* end confdefs.h. */
39215 #include <math.h>
39216 #ifdef HAVE_IEEEFP_H
39217 #include <ieeefp.h>
39218 #endif
39221 main ()
39223 sqrtl(0);
39225 return 0;
39227 _ACEOF
39228 if ac_fn_cxx_try_compile "$LINENO"; then :
39229 glibcxx_cv_func_sqrtl_use=yes
39230 else
39231 glibcxx_cv_func_sqrtl_use=no
39233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39234 ac_ext=c
39235 ac_cpp='$CPP $CPPFLAGS'
39236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
39245 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
39247 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
39248 for ac_func in sqrtl
39249 do :
39250 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
39251 if test "x$ac_cv_func_sqrtl" = x""yes; then :
39252 cat >>confdefs.h <<_ACEOF
39253 #define HAVE_SQRTL 1
39254 _ACEOF
39257 done
39259 else
39261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
39262 $as_echo_n "checking for _sqrtl declaration... " >&6; }
39263 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
39264 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
39265 $as_echo_n "(cached) " >&6
39266 else
39269 ac_ext=cpp
39270 ac_cpp='$CXXCPP $CPPFLAGS'
39271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39276 /* end confdefs.h. */
39277 #include <math.h>
39278 #ifdef HAVE_IEEEFP_H
39279 #include <ieeefp.h>
39280 #endif
39283 main ()
39285 _sqrtl(0);
39287 return 0;
39289 _ACEOF
39290 if ac_fn_cxx_try_compile "$LINENO"; then :
39291 glibcxx_cv_func__sqrtl_use=yes
39292 else
39293 glibcxx_cv_func__sqrtl_use=no
39295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39296 ac_ext=c
39297 ac_cpp='$CPP $CPPFLAGS'
39298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
39307 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
39309 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
39310 for ac_func in _sqrtl
39311 do :
39312 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
39313 if test "x$ac_cv_func__sqrtl" = x""yes; then :
39314 cat >>confdefs.h <<_ACEOF
39315 #define HAVE__SQRTL 1
39316 _ACEOF
39319 done
39328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
39329 $as_echo_n "checking for sincosl declaration... " >&6; }
39330 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
39331 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
39332 $as_echo_n "(cached) " >&6
39333 else
39336 ac_ext=cpp
39337 ac_cpp='$CXXCPP $CPPFLAGS'
39338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39343 /* end confdefs.h. */
39344 #include <math.h>
39346 main ()
39348 sincosl(0, 0, 0);
39350 return 0;
39352 _ACEOF
39353 if ac_fn_cxx_try_compile "$LINENO"; then :
39354 glibcxx_cv_func_sincosl_use=yes
39355 else
39356 glibcxx_cv_func_sincosl_use=no
39358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39359 ac_ext=c
39360 ac_cpp='$CPP $CPPFLAGS'
39361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
39370 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
39372 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
39373 for ac_func in sincosl
39374 do :
39375 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
39376 if test "x$ac_cv_func_sincosl" = x""yes; then :
39377 cat >>confdefs.h <<_ACEOF
39378 #define HAVE_SINCOSL 1
39379 _ACEOF
39382 done
39384 else
39386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
39387 $as_echo_n "checking for _sincosl declaration... " >&6; }
39388 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
39389 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
39390 $as_echo_n "(cached) " >&6
39391 else
39394 ac_ext=cpp
39395 ac_cpp='$CXXCPP $CPPFLAGS'
39396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39401 /* end confdefs.h. */
39402 #include <math.h>
39404 main ()
39406 _sincosl(0, 0, 0);
39408 return 0;
39410 _ACEOF
39411 if ac_fn_cxx_try_compile "$LINENO"; then :
39412 glibcxx_cv_func__sincosl_use=yes
39413 else
39414 glibcxx_cv_func__sincosl_use=no
39416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39417 ac_ext=c
39418 ac_cpp='$CPP $CPPFLAGS'
39419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
39428 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
39430 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
39431 for ac_func in _sincosl
39432 do :
39433 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
39434 if test "x$ac_cv_func__sincosl" = x""yes; then :
39435 cat >>confdefs.h <<_ACEOF
39436 #define HAVE__SINCOSL 1
39437 _ACEOF
39440 done
39449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
39450 $as_echo_n "checking for finitel declaration... " >&6; }
39451 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
39452 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
39453 $as_echo_n "(cached) " >&6
39454 else
39457 ac_ext=cpp
39458 ac_cpp='$CXXCPP $CPPFLAGS'
39459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39464 /* end confdefs.h. */
39465 #include <math.h>
39466 #ifdef HAVE_IEEEFP_H
39467 #include <ieeefp.h>
39468 #endif
39471 main ()
39473 finitel(0);
39475 return 0;
39477 _ACEOF
39478 if ac_fn_cxx_try_compile "$LINENO"; then :
39479 glibcxx_cv_func_finitel_use=yes
39480 else
39481 glibcxx_cv_func_finitel_use=no
39483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39484 ac_ext=c
39485 ac_cpp='$CPP $CPPFLAGS'
39486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
39495 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
39497 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
39498 for ac_func in finitel
39499 do :
39500 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
39501 if test "x$ac_cv_func_finitel" = x""yes; then :
39502 cat >>confdefs.h <<_ACEOF
39503 #define HAVE_FINITEL 1
39504 _ACEOF
39507 done
39509 else
39511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
39512 $as_echo_n "checking for _finitel declaration... " >&6; }
39513 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
39514 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
39515 $as_echo_n "(cached) " >&6
39516 else
39519 ac_ext=cpp
39520 ac_cpp='$CXXCPP $CPPFLAGS'
39521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39526 /* end confdefs.h. */
39527 #include <math.h>
39528 #ifdef HAVE_IEEEFP_H
39529 #include <ieeefp.h>
39530 #endif
39533 main ()
39535 _finitel(0);
39537 return 0;
39539 _ACEOF
39540 if ac_fn_cxx_try_compile "$LINENO"; then :
39541 glibcxx_cv_func__finitel_use=yes
39542 else
39543 glibcxx_cv_func__finitel_use=no
39545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39546 ac_ext=c
39547 ac_cpp='$CPP $CPPFLAGS'
39548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
39557 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
39559 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
39560 for ac_func in _finitel
39561 do :
39562 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
39563 if test "x$ac_cv_func__finitel" = x""yes; then :
39564 cat >>confdefs.h <<_ACEOF
39565 #define HAVE__FINITEL 1
39566 _ACEOF
39569 done
39577 LIBS="$ac_save_LIBS"
39578 CXXFLAGS="$ac_save_CXXFLAGS"
39581 ac_test_CXXFLAGS="${CXXFLAGS+set}"
39582 ac_save_CXXFLAGS="$CXXFLAGS"
39583 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
39586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
39587 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
39588 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
39589 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
39590 $as_echo_n "(cached) " >&6
39591 else
39594 ac_ext=cpp
39595 ac_cpp='$CXXCPP $CPPFLAGS'
39596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39601 /* end confdefs.h. */
39602 #include <stdlib.h>
39604 main ()
39606 at_quick_exit(0);
39608 return 0;
39610 _ACEOF
39611 if ac_fn_cxx_try_compile "$LINENO"; then :
39612 glibcxx_cv_func_at_quick_exit_use=yes
39613 else
39614 glibcxx_cv_func_at_quick_exit_use=no
39616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39617 ac_ext=c
39618 ac_cpp='$CPP $CPPFLAGS'
39619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
39628 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
39629 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
39630 for ac_func in at_quick_exit
39631 do :
39632 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
39633 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
39634 cat >>confdefs.h <<_ACEOF
39635 #define HAVE_AT_QUICK_EXIT 1
39636 _ACEOF
39639 done
39644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
39645 $as_echo_n "checking for quick_exit declaration... " >&6; }
39646 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
39647 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
39648 $as_echo_n "(cached) " >&6
39649 else
39652 ac_ext=cpp
39653 ac_cpp='$CXXCPP $CPPFLAGS'
39654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39659 /* end confdefs.h. */
39660 #include <stdlib.h>
39662 main ()
39664 quick_exit(0);
39666 return 0;
39668 _ACEOF
39669 if ac_fn_cxx_try_compile "$LINENO"; then :
39670 glibcxx_cv_func_quick_exit_use=yes
39671 else
39672 glibcxx_cv_func_quick_exit_use=no
39674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39675 ac_ext=c
39676 ac_cpp='$CPP $CPPFLAGS'
39677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
39686 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
39687 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
39688 for ac_func in quick_exit
39689 do :
39690 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
39691 if test "x$ac_cv_func_quick_exit" = x""yes; then :
39692 cat >>confdefs.h <<_ACEOF
39693 #define HAVE_QUICK_EXIT 1
39694 _ACEOF
39697 done
39702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
39703 $as_echo_n "checking for strtold declaration... " >&6; }
39704 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
39705 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
39706 $as_echo_n "(cached) " >&6
39707 else
39710 ac_ext=cpp
39711 ac_cpp='$CXXCPP $CPPFLAGS'
39712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39717 /* end confdefs.h. */
39718 #include <stdlib.h>
39720 main ()
39722 strtold(0, 0);
39724 return 0;
39726 _ACEOF
39727 if ac_fn_cxx_try_compile "$LINENO"; then :
39728 glibcxx_cv_func_strtold_use=yes
39729 else
39730 glibcxx_cv_func_strtold_use=no
39732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39733 ac_ext=c
39734 ac_cpp='$CPP $CPPFLAGS'
39735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
39744 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
39745 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
39746 for ac_func in strtold
39747 do :
39748 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
39749 if test "x$ac_cv_func_strtold" = x""yes; then :
39750 cat >>confdefs.h <<_ACEOF
39751 #define HAVE_STRTOLD 1
39752 _ACEOF
39755 done
39762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
39763 $as_echo_n "checking for strtof declaration... " >&6; }
39764 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
39765 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
39766 $as_echo_n "(cached) " >&6
39767 else
39770 ac_ext=cpp
39771 ac_cpp='$CXXCPP $CPPFLAGS'
39772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39777 /* end confdefs.h. */
39778 #include <stdlib.h>
39780 main ()
39782 strtof(0, 0);
39784 return 0;
39786 _ACEOF
39787 if ac_fn_cxx_try_compile "$LINENO"; then :
39788 glibcxx_cv_func_strtof_use=yes
39789 else
39790 glibcxx_cv_func_strtof_use=no
39792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39793 ac_ext=c
39794 ac_cpp='$CPP $CPPFLAGS'
39795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
39804 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
39805 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
39806 for ac_func in strtof
39807 do :
39808 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
39809 if test "x$ac_cv_func_strtof" = x""yes; then :
39810 cat >>confdefs.h <<_ACEOF
39811 #define HAVE_STRTOF 1
39812 _ACEOF
39815 done
39822 CXXFLAGS="$ac_save_CXXFLAGS"
39829 am_save_CPPFLAGS="$CPPFLAGS"
39831 for element in $INCICONV; do
39832 haveit=
39833 for x in $CPPFLAGS; do
39835 acl_save_prefix="$prefix"
39836 prefix="$acl_final_prefix"
39837 acl_save_exec_prefix="$exec_prefix"
39838 exec_prefix="$acl_final_exec_prefix"
39839 eval x=\"$x\"
39840 exec_prefix="$acl_save_exec_prefix"
39841 prefix="$acl_save_prefix"
39843 if test "X$x" = "X$element"; then
39844 haveit=yes
39845 break
39847 done
39848 if test -z "$haveit"; then
39849 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
39851 done
39854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
39855 $as_echo_n "checking for iconv... " >&6; }
39856 if test "${am_cv_func_iconv+set}" = set; then :
39857 $as_echo_n "(cached) " >&6
39858 else
39860 am_cv_func_iconv="no, consider installing GNU libiconv"
39861 am_cv_lib_iconv=no
39862 if test x$gcc_no_link = xyes; then
39863 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39866 /* end confdefs.h. */
39867 #include <stdlib.h>
39868 #include <iconv.h>
39870 main ()
39872 iconv_t cd = iconv_open("","");
39873 iconv(cd,NULL,NULL,NULL,NULL);
39874 iconv_close(cd);
39876 return 0;
39878 _ACEOF
39879 if ac_fn_c_try_link "$LINENO"; then :
39880 am_cv_func_iconv=yes
39882 rm -f core conftest.err conftest.$ac_objext \
39883 conftest$ac_exeext conftest.$ac_ext
39884 if test "$am_cv_func_iconv" != yes; then
39885 am_save_LIBS="$LIBS"
39886 LIBS="$LIBS $LIBICONV"
39887 if test x$gcc_no_link = xyes; then
39888 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39891 /* end confdefs.h. */
39892 #include <stdlib.h>
39893 #include <iconv.h>
39895 main ()
39897 iconv_t cd = iconv_open("","");
39898 iconv(cd,NULL,NULL,NULL,NULL);
39899 iconv_close(cd);
39901 return 0;
39903 _ACEOF
39904 if ac_fn_c_try_link "$LINENO"; then :
39905 am_cv_lib_iconv=yes
39906 am_cv_func_iconv=yes
39908 rm -f core conftest.err conftest.$ac_objext \
39909 conftest$ac_exeext conftest.$ac_ext
39910 LIBS="$am_save_LIBS"
39914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
39915 $as_echo "$am_cv_func_iconv" >&6; }
39916 if test "$am_cv_func_iconv" = yes; then
39918 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
39921 if test "$am_cv_lib_iconv" = yes; then
39922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
39923 $as_echo_n "checking how to link with libiconv... " >&6; }
39924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
39925 $as_echo "$LIBICONV" >&6; }
39926 else
39927 CPPFLAGS="$am_save_CPPFLAGS"
39928 LIBICONV=
39929 LTLIBICONV=
39934 if test "$am_cv_func_iconv" = yes; then
39935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
39936 $as_echo_n "checking for iconv declaration... " >&6; }
39937 if test "${am_cv_proto_iconv+set}" = set; then :
39938 $as_echo_n "(cached) " >&6
39939 else
39941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39942 /* end confdefs.h. */
39944 #include <stdlib.h>
39945 #include <iconv.h>
39946 extern
39947 #ifdef __cplusplus
39949 #endif
39950 #if defined(__STDC__) || defined(__cplusplus)
39951 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
39952 #else
39953 size_t iconv();
39954 #endif
39957 main ()
39961 return 0;
39963 _ACEOF
39964 if ac_fn_c_try_compile "$LINENO"; then :
39965 am_cv_proto_iconv_arg1=""
39966 else
39967 am_cv_proto_iconv_arg1="const"
39969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39970 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);"
39973 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
39974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
39975 }$am_cv_proto_iconv" >&5
39976 $as_echo "${ac_t:-
39977 }$am_cv_proto_iconv" >&6; }
39979 cat >>confdefs.h <<_ACEOF
39980 #define ICONV_CONST $am_cv_proto_iconv_arg1
39981 _ACEOF
39987 *-aix*)
39989 # If we're not using GNU ld, then there's no point in even trying these
39990 # tests. Check for that first. We should have already tested for gld
39991 # by now (in libtool), but require it now just to be safe...
39992 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
39993 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
39997 # The name set by libtool depends on the version of libtool. Shame on us
39998 # for depending on an impl detail, but c'est la vie. Older versions used
39999 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
40000 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
40001 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
40002 # set (hence we're using an older libtool), then set it.
40003 if test x${with_gnu_ld+set} != xset; then
40004 if test x${ac_cv_prog_gnu_ld+set} != xset; then
40005 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
40006 with_gnu_ld=no
40007 else
40008 with_gnu_ld=$ac_cv_prog_gnu_ld
40012 # Start by getting the version number. I think the libtool test already
40013 # does some of this, but throws away the result.
40014 glibcxx_ld_is_gold=no
40015 if test x"$with_gnu_ld" = x"yes"; then
40016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
40017 $as_echo_n "checking for ld version... " >&6; }
40019 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
40020 glibcxx_ld_is_gold=yes
40022 ldver=`$LD --version 2>/dev/null |
40023 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'`
40025 glibcxx_gnu_ld_version=`echo $ldver | \
40026 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
40027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
40028 $as_echo "$glibcxx_gnu_ld_version" >&6; }
40031 # Set --gc-sections.
40032 glibcxx_have_gc_sections=no
40033 if test "$glibcxx_ld_is_gold" = "yes"; then
40034 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
40035 glibcxx_have_gc_sections=yes
40037 else
40038 glibcxx_gcsections_min_ld=21602
40039 if test x"$with_gnu_ld" = x"yes" &&
40040 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
40041 glibcxx_have_gc_sections=yes
40044 if test "$glibcxx_have_gc_sections" = "yes"; then
40045 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
40046 # NB: This flag only works reliably after 2.16.1. Configure tests
40047 # for this are difficult, so hard wire a value that should work.
40049 ac_test_CFLAGS="${CFLAGS+set}"
40050 ac_save_CFLAGS="$CFLAGS"
40051 CFLAGS='-Wl,--gc-sections'
40053 # Check for -Wl,--gc-sections
40054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
40055 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
40056 if test x$gcc_no_link = xyes; then
40057 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
40059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40060 /* end confdefs.h. */
40061 int one(void) { return 1; }
40062 int two(void) { return 2; }
40065 main ()
40067 two();
40069 return 0;
40071 _ACEOF
40072 if ac_fn_c_try_link "$LINENO"; then :
40073 ac_gcsections=yes
40074 else
40075 ac_gcsections=no
40077 rm -f core conftest.err conftest.$ac_objext \
40078 conftest$ac_exeext conftest.$ac_ext
40079 if test "$ac_gcsections" = "yes"; then
40080 rm -f conftest.c
40081 touch conftest.c
40082 if $CC -c conftest.c; then
40083 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
40084 grep "Warning: gc-sections option ignored" > /dev/null; then
40085 ac_gcsections=no
40088 rm -f conftest.c conftest.o conftest
40090 if test "$ac_gcsections" = "yes"; then
40091 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
40093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
40094 $as_echo "$ac_gcsections" >&6; }
40096 if test "$ac_test_CFLAGS" = set; then
40097 CFLAGS="$ac_save_CFLAGS"
40098 else
40099 # this is the suspicious part
40100 CFLAGS=''
40104 # Set -z,relro.
40105 # Note this is only for shared objects.
40106 ac_ld_relro=no
40107 if test x"$with_gnu_ld" = x"yes"; then
40108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
40109 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
40110 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
40111 if test -n "$cxx_z_relo"; then
40112 OPT_LDFLAGS="-Wl,-z,relro"
40113 ac_ld_relro=yes
40115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
40116 $as_echo "$ac_ld_relro" >&6; }
40119 # Set linker optimization flags.
40120 if test x"$with_gnu_ld" = x"yes"; then
40121 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
40128 ac_test_CXXFLAGS="${CXXFLAGS+set}"
40129 ac_save_CXXFLAGS="$CXXFLAGS"
40130 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
40132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
40133 $as_echo_n "checking for sin in -lm... " >&6; }
40134 if test "${ac_cv_lib_m_sin+set}" = set; then :
40135 $as_echo_n "(cached) " >&6
40136 else
40137 ac_check_lib_save_LIBS=$LIBS
40138 LIBS="-lm $LIBS"
40139 if test x$gcc_no_link = xyes; then
40140 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
40142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40143 /* end confdefs.h. */
40145 /* Override any GCC internal prototype to avoid an error.
40146 Use char because int might match the return type of a GCC
40147 builtin and then its argument prototype would still apply. */
40148 #ifdef __cplusplus
40149 extern "C"
40150 #endif
40151 char sin ();
40153 main ()
40155 return sin ();
40157 return 0;
40159 _ACEOF
40160 if ac_fn_c_try_link "$LINENO"; then :
40161 ac_cv_lib_m_sin=yes
40162 else
40163 ac_cv_lib_m_sin=no
40165 rm -f core conftest.err conftest.$ac_objext \
40166 conftest$ac_exeext conftest.$ac_ext
40167 LIBS=$ac_check_lib_save_LIBS
40169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
40170 $as_echo "$ac_cv_lib_m_sin" >&6; }
40171 if test "x$ac_cv_lib_m_sin" = x""yes; then :
40172 libm="-lm"
40175 ac_save_LIBS="$LIBS"
40176 LIBS="$LIBS $libm"
40180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
40181 $as_echo_n "checking for isinf declaration... " >&6; }
40182 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
40183 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
40184 $as_echo_n "(cached) " >&6
40185 else
40188 ac_ext=cpp
40189 ac_cpp='$CXXCPP $CPPFLAGS'
40190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40195 /* end confdefs.h. */
40196 #include <math.h>
40197 #ifdef HAVE_IEEEFP_H
40198 #include <ieeefp.h>
40199 #endif
40202 main ()
40204 isinf(0);
40206 return 0;
40208 _ACEOF
40209 if ac_fn_cxx_try_compile "$LINENO"; then :
40210 glibcxx_cv_func_isinf_use=yes
40211 else
40212 glibcxx_cv_func_isinf_use=no
40214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40215 ac_ext=c
40216 ac_cpp='$CPP $CPPFLAGS'
40217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
40226 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
40228 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
40229 for ac_func in isinf
40230 do :
40231 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
40232 if test "x$ac_cv_func_isinf" = x""yes; then :
40233 cat >>confdefs.h <<_ACEOF
40234 #define HAVE_ISINF 1
40235 _ACEOF
40238 done
40240 else
40242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
40243 $as_echo_n "checking for _isinf declaration... " >&6; }
40244 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
40245 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
40246 $as_echo_n "(cached) " >&6
40247 else
40250 ac_ext=cpp
40251 ac_cpp='$CXXCPP $CPPFLAGS'
40252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40257 /* end confdefs.h. */
40258 #include <math.h>
40259 #ifdef HAVE_IEEEFP_H
40260 #include <ieeefp.h>
40261 #endif
40264 main ()
40266 _isinf(0);
40268 return 0;
40270 _ACEOF
40271 if ac_fn_cxx_try_compile "$LINENO"; then :
40272 glibcxx_cv_func__isinf_use=yes
40273 else
40274 glibcxx_cv_func__isinf_use=no
40276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40277 ac_ext=c
40278 ac_cpp='$CPP $CPPFLAGS'
40279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
40288 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
40290 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
40291 for ac_func in _isinf
40292 do :
40293 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
40294 if test "x$ac_cv_func__isinf" = x""yes; then :
40295 cat >>confdefs.h <<_ACEOF
40296 #define HAVE__ISINF 1
40297 _ACEOF
40300 done
40309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
40310 $as_echo_n "checking for isnan declaration... " >&6; }
40311 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
40312 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
40313 $as_echo_n "(cached) " >&6
40314 else
40317 ac_ext=cpp
40318 ac_cpp='$CXXCPP $CPPFLAGS'
40319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40324 /* end confdefs.h. */
40325 #include <math.h>
40326 #ifdef HAVE_IEEEFP_H
40327 #include <ieeefp.h>
40328 #endif
40331 main ()
40333 isnan(0);
40335 return 0;
40337 _ACEOF
40338 if ac_fn_cxx_try_compile "$LINENO"; then :
40339 glibcxx_cv_func_isnan_use=yes
40340 else
40341 glibcxx_cv_func_isnan_use=no
40343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40344 ac_ext=c
40345 ac_cpp='$CPP $CPPFLAGS'
40346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
40355 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
40357 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
40358 for ac_func in isnan
40359 do :
40360 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
40361 if test "x$ac_cv_func_isnan" = x""yes; then :
40362 cat >>confdefs.h <<_ACEOF
40363 #define HAVE_ISNAN 1
40364 _ACEOF
40367 done
40369 else
40371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
40372 $as_echo_n "checking for _isnan declaration... " >&6; }
40373 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
40374 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
40375 $as_echo_n "(cached) " >&6
40376 else
40379 ac_ext=cpp
40380 ac_cpp='$CXXCPP $CPPFLAGS'
40381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40386 /* end confdefs.h. */
40387 #include <math.h>
40388 #ifdef HAVE_IEEEFP_H
40389 #include <ieeefp.h>
40390 #endif
40393 main ()
40395 _isnan(0);
40397 return 0;
40399 _ACEOF
40400 if ac_fn_cxx_try_compile "$LINENO"; then :
40401 glibcxx_cv_func__isnan_use=yes
40402 else
40403 glibcxx_cv_func__isnan_use=no
40405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40406 ac_ext=c
40407 ac_cpp='$CPP $CPPFLAGS'
40408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
40417 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
40419 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
40420 for ac_func in _isnan
40421 do :
40422 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
40423 if test "x$ac_cv_func__isnan" = x""yes; then :
40424 cat >>confdefs.h <<_ACEOF
40425 #define HAVE__ISNAN 1
40426 _ACEOF
40429 done
40438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
40439 $as_echo_n "checking for finite declaration... " >&6; }
40440 if test x${glibcxx_cv_func_finite_use+set} != xset; then
40441 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
40442 $as_echo_n "(cached) " >&6
40443 else
40446 ac_ext=cpp
40447 ac_cpp='$CXXCPP $CPPFLAGS'
40448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40453 /* end confdefs.h. */
40454 #include <math.h>
40455 #ifdef HAVE_IEEEFP_H
40456 #include <ieeefp.h>
40457 #endif
40460 main ()
40462 finite(0);
40464 return 0;
40466 _ACEOF
40467 if ac_fn_cxx_try_compile "$LINENO"; then :
40468 glibcxx_cv_func_finite_use=yes
40469 else
40470 glibcxx_cv_func_finite_use=no
40472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40473 ac_ext=c
40474 ac_cpp='$CPP $CPPFLAGS'
40475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
40484 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
40486 if test x$glibcxx_cv_func_finite_use = x"yes"; then
40487 for ac_func in finite
40488 do :
40489 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
40490 if test "x$ac_cv_func_finite" = x""yes; then :
40491 cat >>confdefs.h <<_ACEOF
40492 #define HAVE_FINITE 1
40493 _ACEOF
40496 done
40498 else
40500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
40501 $as_echo_n "checking for _finite declaration... " >&6; }
40502 if test x${glibcxx_cv_func__finite_use+set} != xset; then
40503 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
40504 $as_echo_n "(cached) " >&6
40505 else
40508 ac_ext=cpp
40509 ac_cpp='$CXXCPP $CPPFLAGS'
40510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40515 /* end confdefs.h. */
40516 #include <math.h>
40517 #ifdef HAVE_IEEEFP_H
40518 #include <ieeefp.h>
40519 #endif
40522 main ()
40524 _finite(0);
40526 return 0;
40528 _ACEOF
40529 if ac_fn_cxx_try_compile "$LINENO"; then :
40530 glibcxx_cv_func__finite_use=yes
40531 else
40532 glibcxx_cv_func__finite_use=no
40534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40535 ac_ext=c
40536 ac_cpp='$CPP $CPPFLAGS'
40537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
40546 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
40548 if test x$glibcxx_cv_func__finite_use = x"yes"; then
40549 for ac_func in _finite
40550 do :
40551 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
40552 if test "x$ac_cv_func__finite" = x""yes; then :
40553 cat >>confdefs.h <<_ACEOF
40554 #define HAVE__FINITE 1
40555 _ACEOF
40558 done
40567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
40568 $as_echo_n "checking for sincos declaration... " >&6; }
40569 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
40570 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
40571 $as_echo_n "(cached) " >&6
40572 else
40575 ac_ext=cpp
40576 ac_cpp='$CXXCPP $CPPFLAGS'
40577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40582 /* end confdefs.h. */
40583 #include <math.h>
40585 main ()
40587 sincos(0, 0, 0);
40589 return 0;
40591 _ACEOF
40592 if ac_fn_cxx_try_compile "$LINENO"; then :
40593 glibcxx_cv_func_sincos_use=yes
40594 else
40595 glibcxx_cv_func_sincos_use=no
40597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40598 ac_ext=c
40599 ac_cpp='$CPP $CPPFLAGS'
40600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
40609 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
40611 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
40612 for ac_func in sincos
40613 do :
40614 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
40615 if test "x$ac_cv_func_sincos" = x""yes; then :
40616 cat >>confdefs.h <<_ACEOF
40617 #define HAVE_SINCOS 1
40618 _ACEOF
40621 done
40623 else
40625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
40626 $as_echo_n "checking for _sincos declaration... " >&6; }
40627 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
40628 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
40629 $as_echo_n "(cached) " >&6
40630 else
40633 ac_ext=cpp
40634 ac_cpp='$CXXCPP $CPPFLAGS'
40635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40640 /* end confdefs.h. */
40641 #include <math.h>
40643 main ()
40645 _sincos(0, 0, 0);
40647 return 0;
40649 _ACEOF
40650 if ac_fn_cxx_try_compile "$LINENO"; then :
40651 glibcxx_cv_func__sincos_use=yes
40652 else
40653 glibcxx_cv_func__sincos_use=no
40655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40656 ac_ext=c
40657 ac_cpp='$CPP $CPPFLAGS'
40658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
40667 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
40669 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
40670 for ac_func in _sincos
40671 do :
40672 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
40673 if test "x$ac_cv_func__sincos" = x""yes; then :
40674 cat >>confdefs.h <<_ACEOF
40675 #define HAVE__SINCOS 1
40676 _ACEOF
40679 done
40688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
40689 $as_echo_n "checking for fpclass declaration... " >&6; }
40690 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
40691 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
40692 $as_echo_n "(cached) " >&6
40693 else
40696 ac_ext=cpp
40697 ac_cpp='$CXXCPP $CPPFLAGS'
40698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40703 /* end confdefs.h. */
40704 #include <math.h>
40705 #ifdef HAVE_IEEEFP_H
40706 #include <ieeefp.h>
40707 #endif
40710 main ()
40712 fpclass(0);
40714 return 0;
40716 _ACEOF
40717 if ac_fn_cxx_try_compile "$LINENO"; then :
40718 glibcxx_cv_func_fpclass_use=yes
40719 else
40720 glibcxx_cv_func_fpclass_use=no
40722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40723 ac_ext=c
40724 ac_cpp='$CPP $CPPFLAGS'
40725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
40734 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
40736 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
40737 for ac_func in fpclass
40738 do :
40739 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
40740 if test "x$ac_cv_func_fpclass" = x""yes; then :
40741 cat >>confdefs.h <<_ACEOF
40742 #define HAVE_FPCLASS 1
40743 _ACEOF
40746 done
40748 else
40750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
40751 $as_echo_n "checking for _fpclass declaration... " >&6; }
40752 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
40753 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
40754 $as_echo_n "(cached) " >&6
40755 else
40758 ac_ext=cpp
40759 ac_cpp='$CXXCPP $CPPFLAGS'
40760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40765 /* end confdefs.h. */
40766 #include <math.h>
40767 #ifdef HAVE_IEEEFP_H
40768 #include <ieeefp.h>
40769 #endif
40772 main ()
40774 _fpclass(0);
40776 return 0;
40778 _ACEOF
40779 if ac_fn_cxx_try_compile "$LINENO"; then :
40780 glibcxx_cv_func__fpclass_use=yes
40781 else
40782 glibcxx_cv_func__fpclass_use=no
40784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40785 ac_ext=c
40786 ac_cpp='$CPP $CPPFLAGS'
40787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
40796 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
40798 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
40799 for ac_func in _fpclass
40800 do :
40801 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
40802 if test "x$ac_cv_func__fpclass" = x""yes; then :
40803 cat >>confdefs.h <<_ACEOF
40804 #define HAVE__FPCLASS 1
40805 _ACEOF
40808 done
40817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
40818 $as_echo_n "checking for qfpclass declaration... " >&6; }
40819 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
40820 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
40821 $as_echo_n "(cached) " >&6
40822 else
40825 ac_ext=cpp
40826 ac_cpp='$CXXCPP $CPPFLAGS'
40827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40832 /* end confdefs.h. */
40833 #include <math.h>
40834 #ifdef HAVE_IEEEFP_H
40835 #include <ieeefp.h>
40836 #endif
40839 main ()
40841 qfpclass(0);
40843 return 0;
40845 _ACEOF
40846 if ac_fn_cxx_try_compile "$LINENO"; then :
40847 glibcxx_cv_func_qfpclass_use=yes
40848 else
40849 glibcxx_cv_func_qfpclass_use=no
40851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40852 ac_ext=c
40853 ac_cpp='$CPP $CPPFLAGS'
40854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
40863 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
40865 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
40866 for ac_func in qfpclass
40867 do :
40868 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
40869 if test "x$ac_cv_func_qfpclass" = x""yes; then :
40870 cat >>confdefs.h <<_ACEOF
40871 #define HAVE_QFPCLASS 1
40872 _ACEOF
40875 done
40877 else
40879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
40880 $as_echo_n "checking for _qfpclass declaration... " >&6; }
40881 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
40882 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
40883 $as_echo_n "(cached) " >&6
40884 else
40887 ac_ext=cpp
40888 ac_cpp='$CXXCPP $CPPFLAGS'
40889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40894 /* end confdefs.h. */
40895 #include <math.h>
40896 #ifdef HAVE_IEEEFP_H
40897 #include <ieeefp.h>
40898 #endif
40901 main ()
40903 _qfpclass(0);
40905 return 0;
40907 _ACEOF
40908 if ac_fn_cxx_try_compile "$LINENO"; then :
40909 glibcxx_cv_func__qfpclass_use=yes
40910 else
40911 glibcxx_cv_func__qfpclass_use=no
40913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40914 ac_ext=c
40915 ac_cpp='$CPP $CPPFLAGS'
40916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
40925 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
40927 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
40928 for ac_func in _qfpclass
40929 do :
40930 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
40931 if test "x$ac_cv_func__qfpclass" = x""yes; then :
40932 cat >>confdefs.h <<_ACEOF
40933 #define HAVE__QFPCLASS 1
40934 _ACEOF
40937 done
40946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
40947 $as_echo_n "checking for hypot declaration... " >&6; }
40948 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
40949 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
40950 $as_echo_n "(cached) " >&6
40951 else
40954 ac_ext=cpp
40955 ac_cpp='$CXXCPP $CPPFLAGS'
40956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40961 /* end confdefs.h. */
40962 #include <math.h>
40964 main ()
40966 hypot(0, 0);
40968 return 0;
40970 _ACEOF
40971 if ac_fn_cxx_try_compile "$LINENO"; then :
40972 glibcxx_cv_func_hypot_use=yes
40973 else
40974 glibcxx_cv_func_hypot_use=no
40976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40977 ac_ext=c
40978 ac_cpp='$CPP $CPPFLAGS'
40979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
40988 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
40990 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
40991 for ac_func in hypot
40992 do :
40993 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
40994 if test "x$ac_cv_func_hypot" = x""yes; then :
40995 cat >>confdefs.h <<_ACEOF
40996 #define HAVE_HYPOT 1
40997 _ACEOF
41000 done
41002 else
41004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
41005 $as_echo_n "checking for _hypot declaration... " >&6; }
41006 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
41007 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
41008 $as_echo_n "(cached) " >&6
41009 else
41012 ac_ext=cpp
41013 ac_cpp='$CXXCPP $CPPFLAGS'
41014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41019 /* end confdefs.h. */
41020 #include <math.h>
41022 main ()
41024 _hypot(0, 0);
41026 return 0;
41028 _ACEOF
41029 if ac_fn_cxx_try_compile "$LINENO"; then :
41030 glibcxx_cv_func__hypot_use=yes
41031 else
41032 glibcxx_cv_func__hypot_use=no
41034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41035 ac_ext=c
41036 ac_cpp='$CPP $CPPFLAGS'
41037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
41046 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
41048 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
41049 for ac_func in _hypot
41050 do :
41051 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
41052 if test "x$ac_cv_func__hypot" = x""yes; then :
41053 cat >>confdefs.h <<_ACEOF
41054 #define HAVE__HYPOT 1
41055 _ACEOF
41058 done
41067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
41068 $as_echo_n "checking for float trig functions... " >&6; }
41069 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
41070 $as_echo_n "(cached) " >&6
41071 else
41074 ac_ext=cpp
41075 ac_cpp='$CXXCPP $CPPFLAGS'
41076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41081 /* end confdefs.h. */
41082 #include <math.h>
41084 main ()
41086 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
41088 return 0;
41090 _ACEOF
41091 if ac_fn_cxx_try_compile "$LINENO"; then :
41092 glibcxx_cv_func_float_trig_use=yes
41093 else
41094 glibcxx_cv_func_float_trig_use=no
41096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41097 ac_ext=c
41098 ac_cpp='$CPP $CPPFLAGS'
41099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
41106 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
41107 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
41108 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
41109 do :
41110 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41111 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41112 eval as_val=\$$as_ac_var
41113 if test "x$as_val" = x""yes; then :
41114 cat >>confdefs.h <<_ACEOF
41115 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41116 _ACEOF
41119 done
41121 else
41122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
41123 $as_echo_n "checking for _float trig functions... " >&6; }
41124 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
41125 $as_echo_n "(cached) " >&6
41126 else
41129 ac_ext=cpp
41130 ac_cpp='$CXXCPP $CPPFLAGS'
41131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41136 /* end confdefs.h. */
41137 #include <math.h>
41139 main ()
41141 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
41143 return 0;
41145 _ACEOF
41146 if ac_fn_cxx_try_compile "$LINENO"; then :
41147 glibcxx_cv_func__float_trig_use=yes
41148 else
41149 glibcxx_cv_func__float_trig_use=no
41151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41152 ac_ext=c
41153 ac_cpp='$CPP $CPPFLAGS'
41154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
41161 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
41162 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
41163 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
41164 do :
41165 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41166 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41167 eval as_val=\$$as_ac_var
41168 if test "x$as_val" = x""yes; then :
41169 cat >>confdefs.h <<_ACEOF
41170 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41171 _ACEOF
41174 done
41183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
41184 $as_echo_n "checking for float round functions... " >&6; }
41185 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
41186 $as_echo_n "(cached) " >&6
41187 else
41190 ac_ext=cpp
41191 ac_cpp='$CXXCPP $CPPFLAGS'
41192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41197 /* end confdefs.h. */
41198 #include <math.h>
41200 main ()
41202 ceilf (0); floorf (0);
41204 return 0;
41206 _ACEOF
41207 if ac_fn_cxx_try_compile "$LINENO"; then :
41208 glibcxx_cv_func_float_round_use=yes
41209 else
41210 glibcxx_cv_func_float_round_use=no
41212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41213 ac_ext=c
41214 ac_cpp='$CPP $CPPFLAGS'
41215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
41222 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
41223 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
41224 for ac_func in ceilf floorf
41225 do :
41226 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41227 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41228 eval as_val=\$$as_ac_var
41229 if test "x$as_val" = x""yes; then :
41230 cat >>confdefs.h <<_ACEOF
41231 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41232 _ACEOF
41235 done
41237 else
41238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
41239 $as_echo_n "checking for _float round functions... " >&6; }
41240 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
41241 $as_echo_n "(cached) " >&6
41242 else
41245 ac_ext=cpp
41246 ac_cpp='$CXXCPP $CPPFLAGS'
41247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41252 /* end confdefs.h. */
41253 #include <math.h>
41255 main ()
41257 _ceilf (0); _floorf (0);
41259 return 0;
41261 _ACEOF
41262 if ac_fn_cxx_try_compile "$LINENO"; then :
41263 glibcxx_cv_func__float_round_use=yes
41264 else
41265 glibcxx_cv_func__float_round_use=no
41267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41268 ac_ext=c
41269 ac_cpp='$CPP $CPPFLAGS'
41270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
41277 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
41278 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
41279 for ac_func in _ceilf _floorf
41280 do :
41281 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41282 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41283 eval as_val=\$$as_ac_var
41284 if test "x$as_val" = x""yes; then :
41285 cat >>confdefs.h <<_ACEOF
41286 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41287 _ACEOF
41290 done
41300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
41301 $as_echo_n "checking for expf declaration... " >&6; }
41302 if test x${glibcxx_cv_func_expf_use+set} != xset; then
41303 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
41304 $as_echo_n "(cached) " >&6
41305 else
41308 ac_ext=cpp
41309 ac_cpp='$CXXCPP $CPPFLAGS'
41310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41315 /* end confdefs.h. */
41316 #include <math.h>
41317 #ifdef HAVE_IEEEFP_H
41318 #include <ieeefp.h>
41319 #endif
41322 main ()
41324 expf(0);
41326 return 0;
41328 _ACEOF
41329 if ac_fn_cxx_try_compile "$LINENO"; then :
41330 glibcxx_cv_func_expf_use=yes
41331 else
41332 glibcxx_cv_func_expf_use=no
41334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41335 ac_ext=c
41336 ac_cpp='$CPP $CPPFLAGS'
41337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
41346 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
41348 if test x$glibcxx_cv_func_expf_use = x"yes"; then
41349 for ac_func in expf
41350 do :
41351 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
41352 if test "x$ac_cv_func_expf" = x""yes; then :
41353 cat >>confdefs.h <<_ACEOF
41354 #define HAVE_EXPF 1
41355 _ACEOF
41358 done
41360 else
41362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
41363 $as_echo_n "checking for _expf declaration... " >&6; }
41364 if test x${glibcxx_cv_func__expf_use+set} != xset; then
41365 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
41366 $as_echo_n "(cached) " >&6
41367 else
41370 ac_ext=cpp
41371 ac_cpp='$CXXCPP $CPPFLAGS'
41372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41377 /* end confdefs.h. */
41378 #include <math.h>
41379 #ifdef HAVE_IEEEFP_H
41380 #include <ieeefp.h>
41381 #endif
41384 main ()
41386 _expf(0);
41388 return 0;
41390 _ACEOF
41391 if ac_fn_cxx_try_compile "$LINENO"; then :
41392 glibcxx_cv_func__expf_use=yes
41393 else
41394 glibcxx_cv_func__expf_use=no
41396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41397 ac_ext=c
41398 ac_cpp='$CPP $CPPFLAGS'
41399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
41408 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
41410 if test x$glibcxx_cv_func__expf_use = x"yes"; then
41411 for ac_func in _expf
41412 do :
41413 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
41414 if test "x$ac_cv_func__expf" = x""yes; then :
41415 cat >>confdefs.h <<_ACEOF
41416 #define HAVE__EXPF 1
41417 _ACEOF
41420 done
41429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
41430 $as_echo_n "checking for isnanf declaration... " >&6; }
41431 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
41432 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
41433 $as_echo_n "(cached) " >&6
41434 else
41437 ac_ext=cpp
41438 ac_cpp='$CXXCPP $CPPFLAGS'
41439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41444 /* end confdefs.h. */
41445 #include <math.h>
41446 #ifdef HAVE_IEEEFP_H
41447 #include <ieeefp.h>
41448 #endif
41451 main ()
41453 isnanf(0);
41455 return 0;
41457 _ACEOF
41458 if ac_fn_cxx_try_compile "$LINENO"; then :
41459 glibcxx_cv_func_isnanf_use=yes
41460 else
41461 glibcxx_cv_func_isnanf_use=no
41463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41464 ac_ext=c
41465 ac_cpp='$CPP $CPPFLAGS'
41466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
41475 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
41477 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
41478 for ac_func in isnanf
41479 do :
41480 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
41481 if test "x$ac_cv_func_isnanf" = x""yes; then :
41482 cat >>confdefs.h <<_ACEOF
41483 #define HAVE_ISNANF 1
41484 _ACEOF
41487 done
41489 else
41491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
41492 $as_echo_n "checking for _isnanf declaration... " >&6; }
41493 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
41494 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
41495 $as_echo_n "(cached) " >&6
41496 else
41499 ac_ext=cpp
41500 ac_cpp='$CXXCPP $CPPFLAGS'
41501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41506 /* end confdefs.h. */
41507 #include <math.h>
41508 #ifdef HAVE_IEEEFP_H
41509 #include <ieeefp.h>
41510 #endif
41513 main ()
41515 _isnanf(0);
41517 return 0;
41519 _ACEOF
41520 if ac_fn_cxx_try_compile "$LINENO"; then :
41521 glibcxx_cv_func__isnanf_use=yes
41522 else
41523 glibcxx_cv_func__isnanf_use=no
41525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41526 ac_ext=c
41527 ac_cpp='$CPP $CPPFLAGS'
41528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
41537 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
41539 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
41540 for ac_func in _isnanf
41541 do :
41542 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
41543 if test "x$ac_cv_func__isnanf" = x""yes; then :
41544 cat >>confdefs.h <<_ACEOF
41545 #define HAVE__ISNANF 1
41546 _ACEOF
41549 done
41558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
41559 $as_echo_n "checking for isinff declaration... " >&6; }
41560 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
41561 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
41562 $as_echo_n "(cached) " >&6
41563 else
41566 ac_ext=cpp
41567 ac_cpp='$CXXCPP $CPPFLAGS'
41568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41573 /* end confdefs.h. */
41574 #include <math.h>
41575 #ifdef HAVE_IEEEFP_H
41576 #include <ieeefp.h>
41577 #endif
41580 main ()
41582 isinff(0);
41584 return 0;
41586 _ACEOF
41587 if ac_fn_cxx_try_compile "$LINENO"; then :
41588 glibcxx_cv_func_isinff_use=yes
41589 else
41590 glibcxx_cv_func_isinff_use=no
41592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41593 ac_ext=c
41594 ac_cpp='$CPP $CPPFLAGS'
41595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
41604 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
41606 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
41607 for ac_func in isinff
41608 do :
41609 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
41610 if test "x$ac_cv_func_isinff" = x""yes; then :
41611 cat >>confdefs.h <<_ACEOF
41612 #define HAVE_ISINFF 1
41613 _ACEOF
41616 done
41618 else
41620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
41621 $as_echo_n "checking for _isinff declaration... " >&6; }
41622 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
41623 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
41624 $as_echo_n "(cached) " >&6
41625 else
41628 ac_ext=cpp
41629 ac_cpp='$CXXCPP $CPPFLAGS'
41630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41635 /* end confdefs.h. */
41636 #include <math.h>
41637 #ifdef HAVE_IEEEFP_H
41638 #include <ieeefp.h>
41639 #endif
41642 main ()
41644 _isinff(0);
41646 return 0;
41648 _ACEOF
41649 if ac_fn_cxx_try_compile "$LINENO"; then :
41650 glibcxx_cv_func__isinff_use=yes
41651 else
41652 glibcxx_cv_func__isinff_use=no
41654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41655 ac_ext=c
41656 ac_cpp='$CPP $CPPFLAGS'
41657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
41666 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
41668 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
41669 for ac_func in _isinff
41670 do :
41671 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
41672 if test "x$ac_cv_func__isinff" = x""yes; then :
41673 cat >>confdefs.h <<_ACEOF
41674 #define HAVE__ISINFF 1
41675 _ACEOF
41678 done
41687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
41688 $as_echo_n "checking for atan2f declaration... " >&6; }
41689 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
41690 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
41691 $as_echo_n "(cached) " >&6
41692 else
41695 ac_ext=cpp
41696 ac_cpp='$CXXCPP $CPPFLAGS'
41697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41702 /* end confdefs.h. */
41703 #include <math.h>
41705 main ()
41707 atan2f(0, 0);
41709 return 0;
41711 _ACEOF
41712 if ac_fn_cxx_try_compile "$LINENO"; then :
41713 glibcxx_cv_func_atan2f_use=yes
41714 else
41715 glibcxx_cv_func_atan2f_use=no
41717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41718 ac_ext=c
41719 ac_cpp='$CPP $CPPFLAGS'
41720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
41729 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
41731 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
41732 for ac_func in atan2f
41733 do :
41734 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
41735 if test "x$ac_cv_func_atan2f" = x""yes; then :
41736 cat >>confdefs.h <<_ACEOF
41737 #define HAVE_ATAN2F 1
41738 _ACEOF
41741 done
41743 else
41745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
41746 $as_echo_n "checking for _atan2f declaration... " >&6; }
41747 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
41748 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
41749 $as_echo_n "(cached) " >&6
41750 else
41753 ac_ext=cpp
41754 ac_cpp='$CXXCPP $CPPFLAGS'
41755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41760 /* end confdefs.h. */
41761 #include <math.h>
41763 main ()
41765 _atan2f(0, 0);
41767 return 0;
41769 _ACEOF
41770 if ac_fn_cxx_try_compile "$LINENO"; then :
41771 glibcxx_cv_func__atan2f_use=yes
41772 else
41773 glibcxx_cv_func__atan2f_use=no
41775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41776 ac_ext=c
41777 ac_cpp='$CPP $CPPFLAGS'
41778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
41787 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
41789 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
41790 for ac_func in _atan2f
41791 do :
41792 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
41793 if test "x$ac_cv_func__atan2f" = x""yes; then :
41794 cat >>confdefs.h <<_ACEOF
41795 #define HAVE__ATAN2F 1
41796 _ACEOF
41799 done
41808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
41809 $as_echo_n "checking for fabsf declaration... " >&6; }
41810 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
41811 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
41812 $as_echo_n "(cached) " >&6
41813 else
41816 ac_ext=cpp
41817 ac_cpp='$CXXCPP $CPPFLAGS'
41818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41823 /* end confdefs.h. */
41824 #include <math.h>
41825 #ifdef HAVE_IEEEFP_H
41826 #include <ieeefp.h>
41827 #endif
41830 main ()
41832 fabsf(0);
41834 return 0;
41836 _ACEOF
41837 if ac_fn_cxx_try_compile "$LINENO"; then :
41838 glibcxx_cv_func_fabsf_use=yes
41839 else
41840 glibcxx_cv_func_fabsf_use=no
41842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41843 ac_ext=c
41844 ac_cpp='$CPP $CPPFLAGS'
41845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
41854 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
41856 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
41857 for ac_func in fabsf
41858 do :
41859 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
41860 if test "x$ac_cv_func_fabsf" = x""yes; then :
41861 cat >>confdefs.h <<_ACEOF
41862 #define HAVE_FABSF 1
41863 _ACEOF
41866 done
41868 else
41870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
41871 $as_echo_n "checking for _fabsf declaration... " >&6; }
41872 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
41873 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
41874 $as_echo_n "(cached) " >&6
41875 else
41878 ac_ext=cpp
41879 ac_cpp='$CXXCPP $CPPFLAGS'
41880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41885 /* end confdefs.h. */
41886 #include <math.h>
41887 #ifdef HAVE_IEEEFP_H
41888 #include <ieeefp.h>
41889 #endif
41892 main ()
41894 _fabsf(0);
41896 return 0;
41898 _ACEOF
41899 if ac_fn_cxx_try_compile "$LINENO"; then :
41900 glibcxx_cv_func__fabsf_use=yes
41901 else
41902 glibcxx_cv_func__fabsf_use=no
41904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41905 ac_ext=c
41906 ac_cpp='$CPP $CPPFLAGS'
41907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
41916 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
41918 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
41919 for ac_func in _fabsf
41920 do :
41921 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
41922 if test "x$ac_cv_func__fabsf" = x""yes; then :
41923 cat >>confdefs.h <<_ACEOF
41924 #define HAVE__FABSF 1
41925 _ACEOF
41928 done
41937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
41938 $as_echo_n "checking for fmodf declaration... " >&6; }
41939 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
41940 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
41941 $as_echo_n "(cached) " >&6
41942 else
41945 ac_ext=cpp
41946 ac_cpp='$CXXCPP $CPPFLAGS'
41947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41952 /* end confdefs.h. */
41953 #include <math.h>
41955 main ()
41957 fmodf(0, 0);
41959 return 0;
41961 _ACEOF
41962 if ac_fn_cxx_try_compile "$LINENO"; then :
41963 glibcxx_cv_func_fmodf_use=yes
41964 else
41965 glibcxx_cv_func_fmodf_use=no
41967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41968 ac_ext=c
41969 ac_cpp='$CPP $CPPFLAGS'
41970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
41979 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
41981 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
41982 for ac_func in fmodf
41983 do :
41984 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
41985 if test "x$ac_cv_func_fmodf" = x""yes; then :
41986 cat >>confdefs.h <<_ACEOF
41987 #define HAVE_FMODF 1
41988 _ACEOF
41991 done
41993 else
41995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
41996 $as_echo_n "checking for _fmodf declaration... " >&6; }
41997 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
41998 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
41999 $as_echo_n "(cached) " >&6
42000 else
42003 ac_ext=cpp
42004 ac_cpp='$CXXCPP $CPPFLAGS'
42005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42010 /* end confdefs.h. */
42011 #include <math.h>
42013 main ()
42015 _fmodf(0, 0);
42017 return 0;
42019 _ACEOF
42020 if ac_fn_cxx_try_compile "$LINENO"; then :
42021 glibcxx_cv_func__fmodf_use=yes
42022 else
42023 glibcxx_cv_func__fmodf_use=no
42025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42026 ac_ext=c
42027 ac_cpp='$CPP $CPPFLAGS'
42028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
42037 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
42039 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
42040 for ac_func in _fmodf
42041 do :
42042 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
42043 if test "x$ac_cv_func__fmodf" = x""yes; then :
42044 cat >>confdefs.h <<_ACEOF
42045 #define HAVE__FMODF 1
42046 _ACEOF
42049 done
42058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
42059 $as_echo_n "checking for frexpf declaration... " >&6; }
42060 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
42061 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
42062 $as_echo_n "(cached) " >&6
42063 else
42066 ac_ext=cpp
42067 ac_cpp='$CXXCPP $CPPFLAGS'
42068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42073 /* end confdefs.h. */
42074 #include <math.h>
42076 main ()
42078 frexpf(0, 0);
42080 return 0;
42082 _ACEOF
42083 if ac_fn_cxx_try_compile "$LINENO"; then :
42084 glibcxx_cv_func_frexpf_use=yes
42085 else
42086 glibcxx_cv_func_frexpf_use=no
42088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42089 ac_ext=c
42090 ac_cpp='$CPP $CPPFLAGS'
42091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
42100 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
42102 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
42103 for ac_func in frexpf
42104 do :
42105 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
42106 if test "x$ac_cv_func_frexpf" = x""yes; then :
42107 cat >>confdefs.h <<_ACEOF
42108 #define HAVE_FREXPF 1
42109 _ACEOF
42112 done
42114 else
42116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
42117 $as_echo_n "checking for _frexpf declaration... " >&6; }
42118 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
42119 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
42120 $as_echo_n "(cached) " >&6
42121 else
42124 ac_ext=cpp
42125 ac_cpp='$CXXCPP $CPPFLAGS'
42126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42131 /* end confdefs.h. */
42132 #include <math.h>
42134 main ()
42136 _frexpf(0, 0);
42138 return 0;
42140 _ACEOF
42141 if ac_fn_cxx_try_compile "$LINENO"; then :
42142 glibcxx_cv_func__frexpf_use=yes
42143 else
42144 glibcxx_cv_func__frexpf_use=no
42146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42147 ac_ext=c
42148 ac_cpp='$CPP $CPPFLAGS'
42149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
42158 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
42160 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
42161 for ac_func in _frexpf
42162 do :
42163 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
42164 if test "x$ac_cv_func__frexpf" = x""yes; then :
42165 cat >>confdefs.h <<_ACEOF
42166 #define HAVE__FREXPF 1
42167 _ACEOF
42170 done
42179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
42180 $as_echo_n "checking for hypotf declaration... " >&6; }
42181 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
42182 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
42183 $as_echo_n "(cached) " >&6
42184 else
42187 ac_ext=cpp
42188 ac_cpp='$CXXCPP $CPPFLAGS'
42189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42194 /* end confdefs.h. */
42195 #include <math.h>
42197 main ()
42199 hypotf(0, 0);
42201 return 0;
42203 _ACEOF
42204 if ac_fn_cxx_try_compile "$LINENO"; then :
42205 glibcxx_cv_func_hypotf_use=yes
42206 else
42207 glibcxx_cv_func_hypotf_use=no
42209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42210 ac_ext=c
42211 ac_cpp='$CPP $CPPFLAGS'
42212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
42221 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
42223 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
42224 for ac_func in hypotf
42225 do :
42226 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
42227 if test "x$ac_cv_func_hypotf" = x""yes; then :
42228 cat >>confdefs.h <<_ACEOF
42229 #define HAVE_HYPOTF 1
42230 _ACEOF
42233 done
42235 else
42237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
42238 $as_echo_n "checking for _hypotf declaration... " >&6; }
42239 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
42240 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
42241 $as_echo_n "(cached) " >&6
42242 else
42245 ac_ext=cpp
42246 ac_cpp='$CXXCPP $CPPFLAGS'
42247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42252 /* end confdefs.h. */
42253 #include <math.h>
42255 main ()
42257 _hypotf(0, 0);
42259 return 0;
42261 _ACEOF
42262 if ac_fn_cxx_try_compile "$LINENO"; then :
42263 glibcxx_cv_func__hypotf_use=yes
42264 else
42265 glibcxx_cv_func__hypotf_use=no
42267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42268 ac_ext=c
42269 ac_cpp='$CPP $CPPFLAGS'
42270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
42279 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
42281 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
42282 for ac_func in _hypotf
42283 do :
42284 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
42285 if test "x$ac_cv_func__hypotf" = x""yes; then :
42286 cat >>confdefs.h <<_ACEOF
42287 #define HAVE__HYPOTF 1
42288 _ACEOF
42291 done
42300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
42301 $as_echo_n "checking for ldexpf declaration... " >&6; }
42302 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
42303 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
42304 $as_echo_n "(cached) " >&6
42305 else
42308 ac_ext=cpp
42309 ac_cpp='$CXXCPP $CPPFLAGS'
42310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42315 /* end confdefs.h. */
42316 #include <math.h>
42318 main ()
42320 ldexpf(0, 0);
42322 return 0;
42324 _ACEOF
42325 if ac_fn_cxx_try_compile "$LINENO"; then :
42326 glibcxx_cv_func_ldexpf_use=yes
42327 else
42328 glibcxx_cv_func_ldexpf_use=no
42330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42331 ac_ext=c
42332 ac_cpp='$CPP $CPPFLAGS'
42333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
42342 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
42344 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
42345 for ac_func in ldexpf
42346 do :
42347 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
42348 if test "x$ac_cv_func_ldexpf" = x""yes; then :
42349 cat >>confdefs.h <<_ACEOF
42350 #define HAVE_LDEXPF 1
42351 _ACEOF
42354 done
42356 else
42358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
42359 $as_echo_n "checking for _ldexpf declaration... " >&6; }
42360 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
42361 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
42362 $as_echo_n "(cached) " >&6
42363 else
42366 ac_ext=cpp
42367 ac_cpp='$CXXCPP $CPPFLAGS'
42368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42373 /* end confdefs.h. */
42374 #include <math.h>
42376 main ()
42378 _ldexpf(0, 0);
42380 return 0;
42382 _ACEOF
42383 if ac_fn_cxx_try_compile "$LINENO"; then :
42384 glibcxx_cv_func__ldexpf_use=yes
42385 else
42386 glibcxx_cv_func__ldexpf_use=no
42388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42389 ac_ext=c
42390 ac_cpp='$CPP $CPPFLAGS'
42391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
42400 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
42402 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
42403 for ac_func in _ldexpf
42404 do :
42405 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
42406 if test "x$ac_cv_func__ldexpf" = x""yes; then :
42407 cat >>confdefs.h <<_ACEOF
42408 #define HAVE__LDEXPF 1
42409 _ACEOF
42412 done
42421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
42422 $as_echo_n "checking for logf declaration... " >&6; }
42423 if test x${glibcxx_cv_func_logf_use+set} != xset; then
42424 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
42425 $as_echo_n "(cached) " >&6
42426 else
42429 ac_ext=cpp
42430 ac_cpp='$CXXCPP $CPPFLAGS'
42431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42436 /* end confdefs.h. */
42437 #include <math.h>
42438 #ifdef HAVE_IEEEFP_H
42439 #include <ieeefp.h>
42440 #endif
42443 main ()
42445 logf(0);
42447 return 0;
42449 _ACEOF
42450 if ac_fn_cxx_try_compile "$LINENO"; then :
42451 glibcxx_cv_func_logf_use=yes
42452 else
42453 glibcxx_cv_func_logf_use=no
42455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42456 ac_ext=c
42457 ac_cpp='$CPP $CPPFLAGS'
42458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
42467 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
42469 if test x$glibcxx_cv_func_logf_use = x"yes"; then
42470 for ac_func in logf
42471 do :
42472 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
42473 if test "x$ac_cv_func_logf" = x""yes; then :
42474 cat >>confdefs.h <<_ACEOF
42475 #define HAVE_LOGF 1
42476 _ACEOF
42479 done
42481 else
42483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
42484 $as_echo_n "checking for _logf declaration... " >&6; }
42485 if test x${glibcxx_cv_func__logf_use+set} != xset; then
42486 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
42487 $as_echo_n "(cached) " >&6
42488 else
42491 ac_ext=cpp
42492 ac_cpp='$CXXCPP $CPPFLAGS'
42493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42498 /* end confdefs.h. */
42499 #include <math.h>
42500 #ifdef HAVE_IEEEFP_H
42501 #include <ieeefp.h>
42502 #endif
42505 main ()
42507 _logf(0);
42509 return 0;
42511 _ACEOF
42512 if ac_fn_cxx_try_compile "$LINENO"; then :
42513 glibcxx_cv_func__logf_use=yes
42514 else
42515 glibcxx_cv_func__logf_use=no
42517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42518 ac_ext=c
42519 ac_cpp='$CPP $CPPFLAGS'
42520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
42529 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
42531 if test x$glibcxx_cv_func__logf_use = x"yes"; then
42532 for ac_func in _logf
42533 do :
42534 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
42535 if test "x$ac_cv_func__logf" = x""yes; then :
42536 cat >>confdefs.h <<_ACEOF
42537 #define HAVE__LOGF 1
42538 _ACEOF
42541 done
42550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
42551 $as_echo_n "checking for log10f declaration... " >&6; }
42552 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
42553 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
42554 $as_echo_n "(cached) " >&6
42555 else
42558 ac_ext=cpp
42559 ac_cpp='$CXXCPP $CPPFLAGS'
42560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42565 /* end confdefs.h. */
42566 #include <math.h>
42567 #ifdef HAVE_IEEEFP_H
42568 #include <ieeefp.h>
42569 #endif
42572 main ()
42574 log10f(0);
42576 return 0;
42578 _ACEOF
42579 if ac_fn_cxx_try_compile "$LINENO"; then :
42580 glibcxx_cv_func_log10f_use=yes
42581 else
42582 glibcxx_cv_func_log10f_use=no
42584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42585 ac_ext=c
42586 ac_cpp='$CPP $CPPFLAGS'
42587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
42596 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
42598 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
42599 for ac_func in log10f
42600 do :
42601 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
42602 if test "x$ac_cv_func_log10f" = x""yes; then :
42603 cat >>confdefs.h <<_ACEOF
42604 #define HAVE_LOG10F 1
42605 _ACEOF
42608 done
42610 else
42612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
42613 $as_echo_n "checking for _log10f declaration... " >&6; }
42614 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
42615 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
42616 $as_echo_n "(cached) " >&6
42617 else
42620 ac_ext=cpp
42621 ac_cpp='$CXXCPP $CPPFLAGS'
42622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42627 /* end confdefs.h. */
42628 #include <math.h>
42629 #ifdef HAVE_IEEEFP_H
42630 #include <ieeefp.h>
42631 #endif
42634 main ()
42636 _log10f(0);
42638 return 0;
42640 _ACEOF
42641 if ac_fn_cxx_try_compile "$LINENO"; then :
42642 glibcxx_cv_func__log10f_use=yes
42643 else
42644 glibcxx_cv_func__log10f_use=no
42646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42647 ac_ext=c
42648 ac_cpp='$CPP $CPPFLAGS'
42649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
42658 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
42660 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
42661 for ac_func in _log10f
42662 do :
42663 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
42664 if test "x$ac_cv_func__log10f" = x""yes; then :
42665 cat >>confdefs.h <<_ACEOF
42666 #define HAVE__LOG10F 1
42667 _ACEOF
42670 done
42679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
42680 $as_echo_n "checking for modff declaration... " >&6; }
42681 if test x${glibcxx_cv_func_modff_use+set} != xset; then
42682 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
42683 $as_echo_n "(cached) " >&6
42684 else
42687 ac_ext=cpp
42688 ac_cpp='$CXXCPP $CPPFLAGS'
42689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42694 /* end confdefs.h. */
42695 #include <math.h>
42697 main ()
42699 modff(0, 0);
42701 return 0;
42703 _ACEOF
42704 if ac_fn_cxx_try_compile "$LINENO"; then :
42705 glibcxx_cv_func_modff_use=yes
42706 else
42707 glibcxx_cv_func_modff_use=no
42709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42710 ac_ext=c
42711 ac_cpp='$CPP $CPPFLAGS'
42712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
42721 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
42723 if test x$glibcxx_cv_func_modff_use = x"yes"; then
42724 for ac_func in modff
42725 do :
42726 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
42727 if test "x$ac_cv_func_modff" = x""yes; then :
42728 cat >>confdefs.h <<_ACEOF
42729 #define HAVE_MODFF 1
42730 _ACEOF
42733 done
42735 else
42737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
42738 $as_echo_n "checking for _modff declaration... " >&6; }
42739 if test x${glibcxx_cv_func__modff_use+set} != xset; then
42740 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
42741 $as_echo_n "(cached) " >&6
42742 else
42745 ac_ext=cpp
42746 ac_cpp='$CXXCPP $CPPFLAGS'
42747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42752 /* end confdefs.h. */
42753 #include <math.h>
42755 main ()
42757 _modff(0, 0);
42759 return 0;
42761 _ACEOF
42762 if ac_fn_cxx_try_compile "$LINENO"; then :
42763 glibcxx_cv_func__modff_use=yes
42764 else
42765 glibcxx_cv_func__modff_use=no
42767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42768 ac_ext=c
42769 ac_cpp='$CPP $CPPFLAGS'
42770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
42779 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
42781 if test x$glibcxx_cv_func__modff_use = x"yes"; then
42782 for ac_func in _modff
42783 do :
42784 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
42785 if test "x$ac_cv_func__modff" = x""yes; then :
42786 cat >>confdefs.h <<_ACEOF
42787 #define HAVE__MODFF 1
42788 _ACEOF
42791 done
42800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
42801 $as_echo_n "checking for modf declaration... " >&6; }
42802 if test x${glibcxx_cv_func_modf_use+set} != xset; then
42803 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
42804 $as_echo_n "(cached) " >&6
42805 else
42808 ac_ext=cpp
42809 ac_cpp='$CXXCPP $CPPFLAGS'
42810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42815 /* end confdefs.h. */
42816 #include <math.h>
42818 main ()
42820 modf(0, 0);
42822 return 0;
42824 _ACEOF
42825 if ac_fn_cxx_try_compile "$LINENO"; then :
42826 glibcxx_cv_func_modf_use=yes
42827 else
42828 glibcxx_cv_func_modf_use=no
42830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42831 ac_ext=c
42832 ac_cpp='$CPP $CPPFLAGS'
42833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
42842 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
42844 if test x$glibcxx_cv_func_modf_use = x"yes"; then
42845 for ac_func in modf
42846 do :
42847 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
42848 if test "x$ac_cv_func_modf" = x""yes; then :
42849 cat >>confdefs.h <<_ACEOF
42850 #define HAVE_MODF 1
42851 _ACEOF
42854 done
42856 else
42858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
42859 $as_echo_n "checking for _modf declaration... " >&6; }
42860 if test x${glibcxx_cv_func__modf_use+set} != xset; then
42861 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
42862 $as_echo_n "(cached) " >&6
42863 else
42866 ac_ext=cpp
42867 ac_cpp='$CXXCPP $CPPFLAGS'
42868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42873 /* end confdefs.h. */
42874 #include <math.h>
42876 main ()
42878 _modf(0, 0);
42880 return 0;
42882 _ACEOF
42883 if ac_fn_cxx_try_compile "$LINENO"; then :
42884 glibcxx_cv_func__modf_use=yes
42885 else
42886 glibcxx_cv_func__modf_use=no
42888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42889 ac_ext=c
42890 ac_cpp='$CPP $CPPFLAGS'
42891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
42900 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
42902 if test x$glibcxx_cv_func__modf_use = x"yes"; then
42903 for ac_func in _modf
42904 do :
42905 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
42906 if test "x$ac_cv_func__modf" = x""yes; then :
42907 cat >>confdefs.h <<_ACEOF
42908 #define HAVE__MODF 1
42909 _ACEOF
42912 done
42921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
42922 $as_echo_n "checking for powf declaration... " >&6; }
42923 if test x${glibcxx_cv_func_powf_use+set} != xset; then
42924 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
42925 $as_echo_n "(cached) " >&6
42926 else
42929 ac_ext=cpp
42930 ac_cpp='$CXXCPP $CPPFLAGS'
42931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42936 /* end confdefs.h. */
42937 #include <math.h>
42939 main ()
42941 powf(0, 0);
42943 return 0;
42945 _ACEOF
42946 if ac_fn_cxx_try_compile "$LINENO"; then :
42947 glibcxx_cv_func_powf_use=yes
42948 else
42949 glibcxx_cv_func_powf_use=no
42951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42952 ac_ext=c
42953 ac_cpp='$CPP $CPPFLAGS'
42954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
42963 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
42965 if test x$glibcxx_cv_func_powf_use = x"yes"; then
42966 for ac_func in powf
42967 do :
42968 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
42969 if test "x$ac_cv_func_powf" = x""yes; then :
42970 cat >>confdefs.h <<_ACEOF
42971 #define HAVE_POWF 1
42972 _ACEOF
42975 done
42977 else
42979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
42980 $as_echo_n "checking for _powf declaration... " >&6; }
42981 if test x${glibcxx_cv_func__powf_use+set} != xset; then
42982 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
42983 $as_echo_n "(cached) " >&6
42984 else
42987 ac_ext=cpp
42988 ac_cpp='$CXXCPP $CPPFLAGS'
42989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42994 /* end confdefs.h. */
42995 #include <math.h>
42997 main ()
42999 _powf(0, 0);
43001 return 0;
43003 _ACEOF
43004 if ac_fn_cxx_try_compile "$LINENO"; then :
43005 glibcxx_cv_func__powf_use=yes
43006 else
43007 glibcxx_cv_func__powf_use=no
43009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43010 ac_ext=c
43011 ac_cpp='$CPP $CPPFLAGS'
43012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
43021 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
43023 if test x$glibcxx_cv_func__powf_use = x"yes"; then
43024 for ac_func in _powf
43025 do :
43026 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
43027 if test "x$ac_cv_func__powf" = x""yes; then :
43028 cat >>confdefs.h <<_ACEOF
43029 #define HAVE__POWF 1
43030 _ACEOF
43033 done
43042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
43043 $as_echo_n "checking for sqrtf declaration... " >&6; }
43044 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
43045 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
43046 $as_echo_n "(cached) " >&6
43047 else
43050 ac_ext=cpp
43051 ac_cpp='$CXXCPP $CPPFLAGS'
43052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43057 /* end confdefs.h. */
43058 #include <math.h>
43059 #ifdef HAVE_IEEEFP_H
43060 #include <ieeefp.h>
43061 #endif
43064 main ()
43066 sqrtf(0);
43068 return 0;
43070 _ACEOF
43071 if ac_fn_cxx_try_compile "$LINENO"; then :
43072 glibcxx_cv_func_sqrtf_use=yes
43073 else
43074 glibcxx_cv_func_sqrtf_use=no
43076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43077 ac_ext=c
43078 ac_cpp='$CPP $CPPFLAGS'
43079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
43088 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
43090 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
43091 for ac_func in sqrtf
43092 do :
43093 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
43094 if test "x$ac_cv_func_sqrtf" = x""yes; then :
43095 cat >>confdefs.h <<_ACEOF
43096 #define HAVE_SQRTF 1
43097 _ACEOF
43100 done
43102 else
43104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
43105 $as_echo_n "checking for _sqrtf declaration... " >&6; }
43106 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
43107 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
43108 $as_echo_n "(cached) " >&6
43109 else
43112 ac_ext=cpp
43113 ac_cpp='$CXXCPP $CPPFLAGS'
43114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43119 /* end confdefs.h. */
43120 #include <math.h>
43121 #ifdef HAVE_IEEEFP_H
43122 #include <ieeefp.h>
43123 #endif
43126 main ()
43128 _sqrtf(0);
43130 return 0;
43132 _ACEOF
43133 if ac_fn_cxx_try_compile "$LINENO"; then :
43134 glibcxx_cv_func__sqrtf_use=yes
43135 else
43136 glibcxx_cv_func__sqrtf_use=no
43138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43139 ac_ext=c
43140 ac_cpp='$CPP $CPPFLAGS'
43141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
43150 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
43152 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
43153 for ac_func in _sqrtf
43154 do :
43155 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
43156 if test "x$ac_cv_func__sqrtf" = x""yes; then :
43157 cat >>confdefs.h <<_ACEOF
43158 #define HAVE__SQRTF 1
43159 _ACEOF
43162 done
43171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
43172 $as_echo_n "checking for sincosf declaration... " >&6; }
43173 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
43174 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
43175 $as_echo_n "(cached) " >&6
43176 else
43179 ac_ext=cpp
43180 ac_cpp='$CXXCPP $CPPFLAGS'
43181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43186 /* end confdefs.h. */
43187 #include <math.h>
43189 main ()
43191 sincosf(0, 0, 0);
43193 return 0;
43195 _ACEOF
43196 if ac_fn_cxx_try_compile "$LINENO"; then :
43197 glibcxx_cv_func_sincosf_use=yes
43198 else
43199 glibcxx_cv_func_sincosf_use=no
43201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43202 ac_ext=c
43203 ac_cpp='$CPP $CPPFLAGS'
43204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
43213 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
43215 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
43216 for ac_func in sincosf
43217 do :
43218 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
43219 if test "x$ac_cv_func_sincosf" = x""yes; then :
43220 cat >>confdefs.h <<_ACEOF
43221 #define HAVE_SINCOSF 1
43222 _ACEOF
43225 done
43227 else
43229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
43230 $as_echo_n "checking for _sincosf declaration... " >&6; }
43231 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
43232 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
43233 $as_echo_n "(cached) " >&6
43234 else
43237 ac_ext=cpp
43238 ac_cpp='$CXXCPP $CPPFLAGS'
43239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43244 /* end confdefs.h. */
43245 #include <math.h>
43247 main ()
43249 _sincosf(0, 0, 0);
43251 return 0;
43253 _ACEOF
43254 if ac_fn_cxx_try_compile "$LINENO"; then :
43255 glibcxx_cv_func__sincosf_use=yes
43256 else
43257 glibcxx_cv_func__sincosf_use=no
43259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43260 ac_ext=c
43261 ac_cpp='$CPP $CPPFLAGS'
43262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
43271 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
43273 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
43274 for ac_func in _sincosf
43275 do :
43276 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
43277 if test "x$ac_cv_func__sincosf" = x""yes; then :
43278 cat >>confdefs.h <<_ACEOF
43279 #define HAVE__SINCOSF 1
43280 _ACEOF
43283 done
43292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
43293 $as_echo_n "checking for finitef declaration... " >&6; }
43294 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
43295 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
43296 $as_echo_n "(cached) " >&6
43297 else
43300 ac_ext=cpp
43301 ac_cpp='$CXXCPP $CPPFLAGS'
43302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43307 /* end confdefs.h. */
43308 #include <math.h>
43309 #ifdef HAVE_IEEEFP_H
43310 #include <ieeefp.h>
43311 #endif
43314 main ()
43316 finitef(0);
43318 return 0;
43320 _ACEOF
43321 if ac_fn_cxx_try_compile "$LINENO"; then :
43322 glibcxx_cv_func_finitef_use=yes
43323 else
43324 glibcxx_cv_func_finitef_use=no
43326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43327 ac_ext=c
43328 ac_cpp='$CPP $CPPFLAGS'
43329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
43338 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
43340 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
43341 for ac_func in finitef
43342 do :
43343 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
43344 if test "x$ac_cv_func_finitef" = x""yes; then :
43345 cat >>confdefs.h <<_ACEOF
43346 #define HAVE_FINITEF 1
43347 _ACEOF
43350 done
43352 else
43354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
43355 $as_echo_n "checking for _finitef declaration... " >&6; }
43356 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
43357 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
43358 $as_echo_n "(cached) " >&6
43359 else
43362 ac_ext=cpp
43363 ac_cpp='$CXXCPP $CPPFLAGS'
43364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43369 /* end confdefs.h. */
43370 #include <math.h>
43371 #ifdef HAVE_IEEEFP_H
43372 #include <ieeefp.h>
43373 #endif
43376 main ()
43378 _finitef(0);
43380 return 0;
43382 _ACEOF
43383 if ac_fn_cxx_try_compile "$LINENO"; then :
43384 glibcxx_cv_func__finitef_use=yes
43385 else
43386 glibcxx_cv_func__finitef_use=no
43388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43389 ac_ext=c
43390 ac_cpp='$CPP $CPPFLAGS'
43391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
43400 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
43402 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
43403 for ac_func in _finitef
43404 do :
43405 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
43406 if test "x$ac_cv_func__finitef" = x""yes; then :
43407 cat >>confdefs.h <<_ACEOF
43408 #define HAVE__FINITEF 1
43409 _ACEOF
43412 done
43421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
43422 $as_echo_n "checking for long double trig functions... " >&6; }
43423 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
43424 $as_echo_n "(cached) " >&6
43425 else
43428 ac_ext=cpp
43429 ac_cpp='$CXXCPP $CPPFLAGS'
43430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43435 /* end confdefs.h. */
43436 #include <math.h>
43438 main ()
43440 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
43442 return 0;
43444 _ACEOF
43445 if ac_fn_cxx_try_compile "$LINENO"; then :
43446 glibcxx_cv_func_long_double_trig_use=yes
43447 else
43448 glibcxx_cv_func_long_double_trig_use=no
43450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43451 ac_ext=c
43452 ac_cpp='$CPP $CPPFLAGS'
43453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
43460 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
43461 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
43462 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
43463 do :
43464 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43465 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43466 eval as_val=\$$as_ac_var
43467 if test "x$as_val" = x""yes; then :
43468 cat >>confdefs.h <<_ACEOF
43469 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43470 _ACEOF
43473 done
43475 else
43476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
43477 $as_echo_n "checking for _long double trig functions... " >&6; }
43478 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
43479 $as_echo_n "(cached) " >&6
43480 else
43483 ac_ext=cpp
43484 ac_cpp='$CXXCPP $CPPFLAGS'
43485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43490 /* end confdefs.h. */
43491 #include <math.h>
43493 main ()
43495 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
43497 return 0;
43499 _ACEOF
43500 if ac_fn_cxx_try_compile "$LINENO"; then :
43501 glibcxx_cv_func__long_double_trig_use=yes
43502 else
43503 glibcxx_cv_func__long_double_trig_use=no
43505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43506 ac_ext=c
43507 ac_cpp='$CPP $CPPFLAGS'
43508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
43515 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
43516 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
43517 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
43518 do :
43519 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43520 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43521 eval as_val=\$$as_ac_var
43522 if test "x$as_val" = x""yes; then :
43523 cat >>confdefs.h <<_ACEOF
43524 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43525 _ACEOF
43528 done
43537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
43538 $as_echo_n "checking for long double round functions... " >&6; }
43539 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
43540 $as_echo_n "(cached) " >&6
43541 else
43544 ac_ext=cpp
43545 ac_cpp='$CXXCPP $CPPFLAGS'
43546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43551 /* end confdefs.h. */
43552 #include <math.h>
43554 main ()
43556 ceill (0); floorl (0);
43558 return 0;
43560 _ACEOF
43561 if ac_fn_cxx_try_compile "$LINENO"; then :
43562 glibcxx_cv_func_long_double_round_use=yes
43563 else
43564 glibcxx_cv_func_long_double_round_use=no
43566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43567 ac_ext=c
43568 ac_cpp='$CPP $CPPFLAGS'
43569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
43576 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
43577 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
43578 for ac_func in ceill floorl
43579 do :
43580 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43581 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43582 eval as_val=\$$as_ac_var
43583 if test "x$as_val" = x""yes; then :
43584 cat >>confdefs.h <<_ACEOF
43585 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43586 _ACEOF
43589 done
43591 else
43592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
43593 $as_echo_n "checking for _long double round functions... " >&6; }
43594 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
43595 $as_echo_n "(cached) " >&6
43596 else
43599 ac_ext=cpp
43600 ac_cpp='$CXXCPP $CPPFLAGS'
43601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43606 /* end confdefs.h. */
43607 #include <math.h>
43609 main ()
43611 _ceill (0); _floorl (0);
43613 return 0;
43615 _ACEOF
43616 if ac_fn_cxx_try_compile "$LINENO"; then :
43617 glibcxx_cv_func__long_double_round_use=yes
43618 else
43619 glibcxx_cv_func__long_double_round_use=no
43621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43622 ac_ext=c
43623 ac_cpp='$CPP $CPPFLAGS'
43624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
43631 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
43632 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
43633 for ac_func in _ceill _floorl
43634 do :
43635 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43636 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43637 eval as_val=\$$as_ac_var
43638 if test "x$as_val" = x""yes; then :
43639 cat >>confdefs.h <<_ACEOF
43640 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43641 _ACEOF
43644 done
43654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
43655 $as_echo_n "checking for isnanl declaration... " >&6; }
43656 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
43657 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
43658 $as_echo_n "(cached) " >&6
43659 else
43662 ac_ext=cpp
43663 ac_cpp='$CXXCPP $CPPFLAGS'
43664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43669 /* end confdefs.h. */
43670 #include <math.h>
43671 #ifdef HAVE_IEEEFP_H
43672 #include <ieeefp.h>
43673 #endif
43676 main ()
43678 isnanl(0);
43680 return 0;
43682 _ACEOF
43683 if ac_fn_cxx_try_compile "$LINENO"; then :
43684 glibcxx_cv_func_isnanl_use=yes
43685 else
43686 glibcxx_cv_func_isnanl_use=no
43688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43689 ac_ext=c
43690 ac_cpp='$CPP $CPPFLAGS'
43691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
43700 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
43702 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
43703 for ac_func in isnanl
43704 do :
43705 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
43706 if test "x$ac_cv_func_isnanl" = x""yes; then :
43707 cat >>confdefs.h <<_ACEOF
43708 #define HAVE_ISNANL 1
43709 _ACEOF
43712 done
43714 else
43716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
43717 $as_echo_n "checking for _isnanl declaration... " >&6; }
43718 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
43719 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
43720 $as_echo_n "(cached) " >&6
43721 else
43724 ac_ext=cpp
43725 ac_cpp='$CXXCPP $CPPFLAGS'
43726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43731 /* end confdefs.h. */
43732 #include <math.h>
43733 #ifdef HAVE_IEEEFP_H
43734 #include <ieeefp.h>
43735 #endif
43738 main ()
43740 _isnanl(0);
43742 return 0;
43744 _ACEOF
43745 if ac_fn_cxx_try_compile "$LINENO"; then :
43746 glibcxx_cv_func__isnanl_use=yes
43747 else
43748 glibcxx_cv_func__isnanl_use=no
43750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43751 ac_ext=c
43752 ac_cpp='$CPP $CPPFLAGS'
43753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
43762 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
43764 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
43765 for ac_func in _isnanl
43766 do :
43767 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
43768 if test "x$ac_cv_func__isnanl" = x""yes; then :
43769 cat >>confdefs.h <<_ACEOF
43770 #define HAVE__ISNANL 1
43771 _ACEOF
43774 done
43783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
43784 $as_echo_n "checking for isinfl declaration... " >&6; }
43785 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
43786 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
43787 $as_echo_n "(cached) " >&6
43788 else
43791 ac_ext=cpp
43792 ac_cpp='$CXXCPP $CPPFLAGS'
43793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43798 /* end confdefs.h. */
43799 #include <math.h>
43800 #ifdef HAVE_IEEEFP_H
43801 #include <ieeefp.h>
43802 #endif
43805 main ()
43807 isinfl(0);
43809 return 0;
43811 _ACEOF
43812 if ac_fn_cxx_try_compile "$LINENO"; then :
43813 glibcxx_cv_func_isinfl_use=yes
43814 else
43815 glibcxx_cv_func_isinfl_use=no
43817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43818 ac_ext=c
43819 ac_cpp='$CPP $CPPFLAGS'
43820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
43829 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
43831 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
43832 for ac_func in isinfl
43833 do :
43834 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
43835 if test "x$ac_cv_func_isinfl" = x""yes; then :
43836 cat >>confdefs.h <<_ACEOF
43837 #define HAVE_ISINFL 1
43838 _ACEOF
43841 done
43843 else
43845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
43846 $as_echo_n "checking for _isinfl declaration... " >&6; }
43847 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
43848 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
43849 $as_echo_n "(cached) " >&6
43850 else
43853 ac_ext=cpp
43854 ac_cpp='$CXXCPP $CPPFLAGS'
43855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43860 /* end confdefs.h. */
43861 #include <math.h>
43862 #ifdef HAVE_IEEEFP_H
43863 #include <ieeefp.h>
43864 #endif
43867 main ()
43869 _isinfl(0);
43871 return 0;
43873 _ACEOF
43874 if ac_fn_cxx_try_compile "$LINENO"; then :
43875 glibcxx_cv_func__isinfl_use=yes
43876 else
43877 glibcxx_cv_func__isinfl_use=no
43879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43880 ac_ext=c
43881 ac_cpp='$CPP $CPPFLAGS'
43882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
43891 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
43893 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
43894 for ac_func in _isinfl
43895 do :
43896 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
43897 if test "x$ac_cv_func__isinfl" = x""yes; then :
43898 cat >>confdefs.h <<_ACEOF
43899 #define HAVE__ISINFL 1
43900 _ACEOF
43903 done
43912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
43913 $as_echo_n "checking for atan2l declaration... " >&6; }
43914 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
43915 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
43916 $as_echo_n "(cached) " >&6
43917 else
43920 ac_ext=cpp
43921 ac_cpp='$CXXCPP $CPPFLAGS'
43922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43927 /* end confdefs.h. */
43928 #include <math.h>
43930 main ()
43932 atan2l(0, 0);
43934 return 0;
43936 _ACEOF
43937 if ac_fn_cxx_try_compile "$LINENO"; then :
43938 glibcxx_cv_func_atan2l_use=yes
43939 else
43940 glibcxx_cv_func_atan2l_use=no
43942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43943 ac_ext=c
43944 ac_cpp='$CPP $CPPFLAGS'
43945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
43954 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
43956 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
43957 for ac_func in atan2l
43958 do :
43959 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
43960 if test "x$ac_cv_func_atan2l" = x""yes; then :
43961 cat >>confdefs.h <<_ACEOF
43962 #define HAVE_ATAN2L 1
43963 _ACEOF
43966 done
43968 else
43970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
43971 $as_echo_n "checking for _atan2l declaration... " >&6; }
43972 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
43973 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
43974 $as_echo_n "(cached) " >&6
43975 else
43978 ac_ext=cpp
43979 ac_cpp='$CXXCPP $CPPFLAGS'
43980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43985 /* end confdefs.h. */
43986 #include <math.h>
43988 main ()
43990 _atan2l(0, 0);
43992 return 0;
43994 _ACEOF
43995 if ac_fn_cxx_try_compile "$LINENO"; then :
43996 glibcxx_cv_func__atan2l_use=yes
43997 else
43998 glibcxx_cv_func__atan2l_use=no
44000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44001 ac_ext=c
44002 ac_cpp='$CPP $CPPFLAGS'
44003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
44012 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
44014 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
44015 for ac_func in _atan2l
44016 do :
44017 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
44018 if test "x$ac_cv_func__atan2l" = x""yes; then :
44019 cat >>confdefs.h <<_ACEOF
44020 #define HAVE__ATAN2L 1
44021 _ACEOF
44024 done
44033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
44034 $as_echo_n "checking for expl declaration... " >&6; }
44035 if test x${glibcxx_cv_func_expl_use+set} != xset; then
44036 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
44037 $as_echo_n "(cached) " >&6
44038 else
44041 ac_ext=cpp
44042 ac_cpp='$CXXCPP $CPPFLAGS'
44043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44048 /* end confdefs.h. */
44049 #include <math.h>
44050 #ifdef HAVE_IEEEFP_H
44051 #include <ieeefp.h>
44052 #endif
44055 main ()
44057 expl(0);
44059 return 0;
44061 _ACEOF
44062 if ac_fn_cxx_try_compile "$LINENO"; then :
44063 glibcxx_cv_func_expl_use=yes
44064 else
44065 glibcxx_cv_func_expl_use=no
44067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44068 ac_ext=c
44069 ac_cpp='$CPP $CPPFLAGS'
44070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
44079 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
44081 if test x$glibcxx_cv_func_expl_use = x"yes"; then
44082 for ac_func in expl
44083 do :
44084 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
44085 if test "x$ac_cv_func_expl" = x""yes; then :
44086 cat >>confdefs.h <<_ACEOF
44087 #define HAVE_EXPL 1
44088 _ACEOF
44091 done
44093 else
44095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
44096 $as_echo_n "checking for _expl declaration... " >&6; }
44097 if test x${glibcxx_cv_func__expl_use+set} != xset; then
44098 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
44099 $as_echo_n "(cached) " >&6
44100 else
44103 ac_ext=cpp
44104 ac_cpp='$CXXCPP $CPPFLAGS'
44105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44110 /* end confdefs.h. */
44111 #include <math.h>
44112 #ifdef HAVE_IEEEFP_H
44113 #include <ieeefp.h>
44114 #endif
44117 main ()
44119 _expl(0);
44121 return 0;
44123 _ACEOF
44124 if ac_fn_cxx_try_compile "$LINENO"; then :
44125 glibcxx_cv_func__expl_use=yes
44126 else
44127 glibcxx_cv_func__expl_use=no
44129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44130 ac_ext=c
44131 ac_cpp='$CPP $CPPFLAGS'
44132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
44141 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
44143 if test x$glibcxx_cv_func__expl_use = x"yes"; then
44144 for ac_func in _expl
44145 do :
44146 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
44147 if test "x$ac_cv_func__expl" = x""yes; then :
44148 cat >>confdefs.h <<_ACEOF
44149 #define HAVE__EXPL 1
44150 _ACEOF
44153 done
44162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
44163 $as_echo_n "checking for fabsl declaration... " >&6; }
44164 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
44165 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
44166 $as_echo_n "(cached) " >&6
44167 else
44170 ac_ext=cpp
44171 ac_cpp='$CXXCPP $CPPFLAGS'
44172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44177 /* end confdefs.h. */
44178 #include <math.h>
44179 #ifdef HAVE_IEEEFP_H
44180 #include <ieeefp.h>
44181 #endif
44184 main ()
44186 fabsl(0);
44188 return 0;
44190 _ACEOF
44191 if ac_fn_cxx_try_compile "$LINENO"; then :
44192 glibcxx_cv_func_fabsl_use=yes
44193 else
44194 glibcxx_cv_func_fabsl_use=no
44196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44197 ac_ext=c
44198 ac_cpp='$CPP $CPPFLAGS'
44199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
44208 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
44210 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
44211 for ac_func in fabsl
44212 do :
44213 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
44214 if test "x$ac_cv_func_fabsl" = x""yes; then :
44215 cat >>confdefs.h <<_ACEOF
44216 #define HAVE_FABSL 1
44217 _ACEOF
44220 done
44222 else
44224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
44225 $as_echo_n "checking for _fabsl declaration... " >&6; }
44226 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
44227 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
44228 $as_echo_n "(cached) " >&6
44229 else
44232 ac_ext=cpp
44233 ac_cpp='$CXXCPP $CPPFLAGS'
44234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44239 /* end confdefs.h. */
44240 #include <math.h>
44241 #ifdef HAVE_IEEEFP_H
44242 #include <ieeefp.h>
44243 #endif
44246 main ()
44248 _fabsl(0);
44250 return 0;
44252 _ACEOF
44253 if ac_fn_cxx_try_compile "$LINENO"; then :
44254 glibcxx_cv_func__fabsl_use=yes
44255 else
44256 glibcxx_cv_func__fabsl_use=no
44258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44259 ac_ext=c
44260 ac_cpp='$CPP $CPPFLAGS'
44261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
44270 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
44272 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
44273 for ac_func in _fabsl
44274 do :
44275 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
44276 if test "x$ac_cv_func__fabsl" = x""yes; then :
44277 cat >>confdefs.h <<_ACEOF
44278 #define HAVE__FABSL 1
44279 _ACEOF
44282 done
44291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
44292 $as_echo_n "checking for fmodl declaration... " >&6; }
44293 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
44294 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
44295 $as_echo_n "(cached) " >&6
44296 else
44299 ac_ext=cpp
44300 ac_cpp='$CXXCPP $CPPFLAGS'
44301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44306 /* end confdefs.h. */
44307 #include <math.h>
44309 main ()
44311 fmodl(0, 0);
44313 return 0;
44315 _ACEOF
44316 if ac_fn_cxx_try_compile "$LINENO"; then :
44317 glibcxx_cv_func_fmodl_use=yes
44318 else
44319 glibcxx_cv_func_fmodl_use=no
44321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44322 ac_ext=c
44323 ac_cpp='$CPP $CPPFLAGS'
44324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
44333 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
44335 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
44336 for ac_func in fmodl
44337 do :
44338 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
44339 if test "x$ac_cv_func_fmodl" = x""yes; then :
44340 cat >>confdefs.h <<_ACEOF
44341 #define HAVE_FMODL 1
44342 _ACEOF
44345 done
44347 else
44349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
44350 $as_echo_n "checking for _fmodl declaration... " >&6; }
44351 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
44352 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
44353 $as_echo_n "(cached) " >&6
44354 else
44357 ac_ext=cpp
44358 ac_cpp='$CXXCPP $CPPFLAGS'
44359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44364 /* end confdefs.h. */
44365 #include <math.h>
44367 main ()
44369 _fmodl(0, 0);
44371 return 0;
44373 _ACEOF
44374 if ac_fn_cxx_try_compile "$LINENO"; then :
44375 glibcxx_cv_func__fmodl_use=yes
44376 else
44377 glibcxx_cv_func__fmodl_use=no
44379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44380 ac_ext=c
44381 ac_cpp='$CPP $CPPFLAGS'
44382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
44391 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
44393 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
44394 for ac_func in _fmodl
44395 do :
44396 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
44397 if test "x$ac_cv_func__fmodl" = x""yes; then :
44398 cat >>confdefs.h <<_ACEOF
44399 #define HAVE__FMODL 1
44400 _ACEOF
44403 done
44412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
44413 $as_echo_n "checking for frexpl declaration... " >&6; }
44414 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
44415 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
44416 $as_echo_n "(cached) " >&6
44417 else
44420 ac_ext=cpp
44421 ac_cpp='$CXXCPP $CPPFLAGS'
44422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44427 /* end confdefs.h. */
44428 #include <math.h>
44430 main ()
44432 frexpl(0, 0);
44434 return 0;
44436 _ACEOF
44437 if ac_fn_cxx_try_compile "$LINENO"; then :
44438 glibcxx_cv_func_frexpl_use=yes
44439 else
44440 glibcxx_cv_func_frexpl_use=no
44442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44443 ac_ext=c
44444 ac_cpp='$CPP $CPPFLAGS'
44445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
44454 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
44456 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
44457 for ac_func in frexpl
44458 do :
44459 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
44460 if test "x$ac_cv_func_frexpl" = x""yes; then :
44461 cat >>confdefs.h <<_ACEOF
44462 #define HAVE_FREXPL 1
44463 _ACEOF
44466 done
44468 else
44470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
44471 $as_echo_n "checking for _frexpl declaration... " >&6; }
44472 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
44473 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
44474 $as_echo_n "(cached) " >&6
44475 else
44478 ac_ext=cpp
44479 ac_cpp='$CXXCPP $CPPFLAGS'
44480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44485 /* end confdefs.h. */
44486 #include <math.h>
44488 main ()
44490 _frexpl(0, 0);
44492 return 0;
44494 _ACEOF
44495 if ac_fn_cxx_try_compile "$LINENO"; then :
44496 glibcxx_cv_func__frexpl_use=yes
44497 else
44498 glibcxx_cv_func__frexpl_use=no
44500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44501 ac_ext=c
44502 ac_cpp='$CPP $CPPFLAGS'
44503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
44512 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
44514 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
44515 for ac_func in _frexpl
44516 do :
44517 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
44518 if test "x$ac_cv_func__frexpl" = x""yes; then :
44519 cat >>confdefs.h <<_ACEOF
44520 #define HAVE__FREXPL 1
44521 _ACEOF
44524 done
44533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
44534 $as_echo_n "checking for hypotl declaration... " >&6; }
44535 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
44536 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
44537 $as_echo_n "(cached) " >&6
44538 else
44541 ac_ext=cpp
44542 ac_cpp='$CXXCPP $CPPFLAGS'
44543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44548 /* end confdefs.h. */
44549 #include <math.h>
44551 main ()
44553 hypotl(0, 0);
44555 return 0;
44557 _ACEOF
44558 if ac_fn_cxx_try_compile "$LINENO"; then :
44559 glibcxx_cv_func_hypotl_use=yes
44560 else
44561 glibcxx_cv_func_hypotl_use=no
44563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44564 ac_ext=c
44565 ac_cpp='$CPP $CPPFLAGS'
44566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
44575 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
44577 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
44578 for ac_func in hypotl
44579 do :
44580 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
44581 if test "x$ac_cv_func_hypotl" = x""yes; then :
44582 cat >>confdefs.h <<_ACEOF
44583 #define HAVE_HYPOTL 1
44584 _ACEOF
44587 done
44589 else
44591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
44592 $as_echo_n "checking for _hypotl declaration... " >&6; }
44593 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
44594 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
44595 $as_echo_n "(cached) " >&6
44596 else
44599 ac_ext=cpp
44600 ac_cpp='$CXXCPP $CPPFLAGS'
44601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44606 /* end confdefs.h. */
44607 #include <math.h>
44609 main ()
44611 _hypotl(0, 0);
44613 return 0;
44615 _ACEOF
44616 if ac_fn_cxx_try_compile "$LINENO"; then :
44617 glibcxx_cv_func__hypotl_use=yes
44618 else
44619 glibcxx_cv_func__hypotl_use=no
44621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44622 ac_ext=c
44623 ac_cpp='$CPP $CPPFLAGS'
44624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
44633 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
44635 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
44636 for ac_func in _hypotl
44637 do :
44638 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
44639 if test "x$ac_cv_func__hypotl" = x""yes; then :
44640 cat >>confdefs.h <<_ACEOF
44641 #define HAVE__HYPOTL 1
44642 _ACEOF
44645 done
44654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
44655 $as_echo_n "checking for ldexpl declaration... " >&6; }
44656 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
44657 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
44658 $as_echo_n "(cached) " >&6
44659 else
44662 ac_ext=cpp
44663 ac_cpp='$CXXCPP $CPPFLAGS'
44664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44669 /* end confdefs.h. */
44670 #include <math.h>
44672 main ()
44674 ldexpl(0, 0);
44676 return 0;
44678 _ACEOF
44679 if ac_fn_cxx_try_compile "$LINENO"; then :
44680 glibcxx_cv_func_ldexpl_use=yes
44681 else
44682 glibcxx_cv_func_ldexpl_use=no
44684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44685 ac_ext=c
44686 ac_cpp='$CPP $CPPFLAGS'
44687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
44696 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
44698 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
44699 for ac_func in ldexpl
44700 do :
44701 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
44702 if test "x$ac_cv_func_ldexpl" = x""yes; then :
44703 cat >>confdefs.h <<_ACEOF
44704 #define HAVE_LDEXPL 1
44705 _ACEOF
44708 done
44710 else
44712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
44713 $as_echo_n "checking for _ldexpl declaration... " >&6; }
44714 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
44715 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
44716 $as_echo_n "(cached) " >&6
44717 else
44720 ac_ext=cpp
44721 ac_cpp='$CXXCPP $CPPFLAGS'
44722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44727 /* end confdefs.h. */
44728 #include <math.h>
44730 main ()
44732 _ldexpl(0, 0);
44734 return 0;
44736 _ACEOF
44737 if ac_fn_cxx_try_compile "$LINENO"; then :
44738 glibcxx_cv_func__ldexpl_use=yes
44739 else
44740 glibcxx_cv_func__ldexpl_use=no
44742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44743 ac_ext=c
44744 ac_cpp='$CPP $CPPFLAGS'
44745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
44754 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
44756 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
44757 for ac_func in _ldexpl
44758 do :
44759 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
44760 if test "x$ac_cv_func__ldexpl" = x""yes; then :
44761 cat >>confdefs.h <<_ACEOF
44762 #define HAVE__LDEXPL 1
44763 _ACEOF
44766 done
44775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
44776 $as_echo_n "checking for logl declaration... " >&6; }
44777 if test x${glibcxx_cv_func_logl_use+set} != xset; then
44778 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
44779 $as_echo_n "(cached) " >&6
44780 else
44783 ac_ext=cpp
44784 ac_cpp='$CXXCPP $CPPFLAGS'
44785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44790 /* end confdefs.h. */
44791 #include <math.h>
44792 #ifdef HAVE_IEEEFP_H
44793 #include <ieeefp.h>
44794 #endif
44797 main ()
44799 logl(0);
44801 return 0;
44803 _ACEOF
44804 if ac_fn_cxx_try_compile "$LINENO"; then :
44805 glibcxx_cv_func_logl_use=yes
44806 else
44807 glibcxx_cv_func_logl_use=no
44809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44810 ac_ext=c
44811 ac_cpp='$CPP $CPPFLAGS'
44812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
44821 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
44823 if test x$glibcxx_cv_func_logl_use = x"yes"; then
44824 for ac_func in logl
44825 do :
44826 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
44827 if test "x$ac_cv_func_logl" = x""yes; then :
44828 cat >>confdefs.h <<_ACEOF
44829 #define HAVE_LOGL 1
44830 _ACEOF
44833 done
44835 else
44837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
44838 $as_echo_n "checking for _logl declaration... " >&6; }
44839 if test x${glibcxx_cv_func__logl_use+set} != xset; then
44840 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
44841 $as_echo_n "(cached) " >&6
44842 else
44845 ac_ext=cpp
44846 ac_cpp='$CXXCPP $CPPFLAGS'
44847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44852 /* end confdefs.h. */
44853 #include <math.h>
44854 #ifdef HAVE_IEEEFP_H
44855 #include <ieeefp.h>
44856 #endif
44859 main ()
44861 _logl(0);
44863 return 0;
44865 _ACEOF
44866 if ac_fn_cxx_try_compile "$LINENO"; then :
44867 glibcxx_cv_func__logl_use=yes
44868 else
44869 glibcxx_cv_func__logl_use=no
44871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44872 ac_ext=c
44873 ac_cpp='$CPP $CPPFLAGS'
44874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
44883 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
44885 if test x$glibcxx_cv_func__logl_use = x"yes"; then
44886 for ac_func in _logl
44887 do :
44888 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
44889 if test "x$ac_cv_func__logl" = x""yes; then :
44890 cat >>confdefs.h <<_ACEOF
44891 #define HAVE__LOGL 1
44892 _ACEOF
44895 done
44904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
44905 $as_echo_n "checking for log10l declaration... " >&6; }
44906 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
44907 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
44908 $as_echo_n "(cached) " >&6
44909 else
44912 ac_ext=cpp
44913 ac_cpp='$CXXCPP $CPPFLAGS'
44914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44919 /* end confdefs.h. */
44920 #include <math.h>
44921 #ifdef HAVE_IEEEFP_H
44922 #include <ieeefp.h>
44923 #endif
44926 main ()
44928 log10l(0);
44930 return 0;
44932 _ACEOF
44933 if ac_fn_cxx_try_compile "$LINENO"; then :
44934 glibcxx_cv_func_log10l_use=yes
44935 else
44936 glibcxx_cv_func_log10l_use=no
44938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44939 ac_ext=c
44940 ac_cpp='$CPP $CPPFLAGS'
44941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
44950 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
44952 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
44953 for ac_func in log10l
44954 do :
44955 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
44956 if test "x$ac_cv_func_log10l" = x""yes; then :
44957 cat >>confdefs.h <<_ACEOF
44958 #define HAVE_LOG10L 1
44959 _ACEOF
44962 done
44964 else
44966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
44967 $as_echo_n "checking for _log10l declaration... " >&6; }
44968 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
44969 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
44970 $as_echo_n "(cached) " >&6
44971 else
44974 ac_ext=cpp
44975 ac_cpp='$CXXCPP $CPPFLAGS'
44976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44981 /* end confdefs.h. */
44982 #include <math.h>
44983 #ifdef HAVE_IEEEFP_H
44984 #include <ieeefp.h>
44985 #endif
44988 main ()
44990 _log10l(0);
44992 return 0;
44994 _ACEOF
44995 if ac_fn_cxx_try_compile "$LINENO"; then :
44996 glibcxx_cv_func__log10l_use=yes
44997 else
44998 glibcxx_cv_func__log10l_use=no
45000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45001 ac_ext=c
45002 ac_cpp='$CPP $CPPFLAGS'
45003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
45012 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
45014 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
45015 for ac_func in _log10l
45016 do :
45017 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
45018 if test "x$ac_cv_func__log10l" = x""yes; then :
45019 cat >>confdefs.h <<_ACEOF
45020 #define HAVE__LOG10L 1
45021 _ACEOF
45024 done
45033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
45034 $as_echo_n "checking for modfl declaration... " >&6; }
45035 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
45036 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
45037 $as_echo_n "(cached) " >&6
45038 else
45041 ac_ext=cpp
45042 ac_cpp='$CXXCPP $CPPFLAGS'
45043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45048 /* end confdefs.h. */
45049 #include <math.h>
45051 main ()
45053 modfl(0, 0);
45055 return 0;
45057 _ACEOF
45058 if ac_fn_cxx_try_compile "$LINENO"; then :
45059 glibcxx_cv_func_modfl_use=yes
45060 else
45061 glibcxx_cv_func_modfl_use=no
45063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45064 ac_ext=c
45065 ac_cpp='$CPP $CPPFLAGS'
45066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
45075 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
45077 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
45078 for ac_func in modfl
45079 do :
45080 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
45081 if test "x$ac_cv_func_modfl" = x""yes; then :
45082 cat >>confdefs.h <<_ACEOF
45083 #define HAVE_MODFL 1
45084 _ACEOF
45087 done
45089 else
45091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
45092 $as_echo_n "checking for _modfl declaration... " >&6; }
45093 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
45094 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
45095 $as_echo_n "(cached) " >&6
45096 else
45099 ac_ext=cpp
45100 ac_cpp='$CXXCPP $CPPFLAGS'
45101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45106 /* end confdefs.h. */
45107 #include <math.h>
45109 main ()
45111 _modfl(0, 0);
45113 return 0;
45115 _ACEOF
45116 if ac_fn_cxx_try_compile "$LINENO"; then :
45117 glibcxx_cv_func__modfl_use=yes
45118 else
45119 glibcxx_cv_func__modfl_use=no
45121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45122 ac_ext=c
45123 ac_cpp='$CPP $CPPFLAGS'
45124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
45133 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
45135 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
45136 for ac_func in _modfl
45137 do :
45138 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
45139 if test "x$ac_cv_func__modfl" = x""yes; then :
45140 cat >>confdefs.h <<_ACEOF
45141 #define HAVE__MODFL 1
45142 _ACEOF
45145 done
45154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
45155 $as_echo_n "checking for powl declaration... " >&6; }
45156 if test x${glibcxx_cv_func_powl_use+set} != xset; then
45157 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
45158 $as_echo_n "(cached) " >&6
45159 else
45162 ac_ext=cpp
45163 ac_cpp='$CXXCPP $CPPFLAGS'
45164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45169 /* end confdefs.h. */
45170 #include <math.h>
45172 main ()
45174 powl(0, 0);
45176 return 0;
45178 _ACEOF
45179 if ac_fn_cxx_try_compile "$LINENO"; then :
45180 glibcxx_cv_func_powl_use=yes
45181 else
45182 glibcxx_cv_func_powl_use=no
45184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45185 ac_ext=c
45186 ac_cpp='$CPP $CPPFLAGS'
45187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
45196 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
45198 if test x$glibcxx_cv_func_powl_use = x"yes"; then
45199 for ac_func in powl
45200 do :
45201 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
45202 if test "x$ac_cv_func_powl" = x""yes; then :
45203 cat >>confdefs.h <<_ACEOF
45204 #define HAVE_POWL 1
45205 _ACEOF
45208 done
45210 else
45212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
45213 $as_echo_n "checking for _powl declaration... " >&6; }
45214 if test x${glibcxx_cv_func__powl_use+set} != xset; then
45215 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
45216 $as_echo_n "(cached) " >&6
45217 else
45220 ac_ext=cpp
45221 ac_cpp='$CXXCPP $CPPFLAGS'
45222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45227 /* end confdefs.h. */
45228 #include <math.h>
45230 main ()
45232 _powl(0, 0);
45234 return 0;
45236 _ACEOF
45237 if ac_fn_cxx_try_compile "$LINENO"; then :
45238 glibcxx_cv_func__powl_use=yes
45239 else
45240 glibcxx_cv_func__powl_use=no
45242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45243 ac_ext=c
45244 ac_cpp='$CPP $CPPFLAGS'
45245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
45254 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
45256 if test x$glibcxx_cv_func__powl_use = x"yes"; then
45257 for ac_func in _powl
45258 do :
45259 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
45260 if test "x$ac_cv_func__powl" = x""yes; then :
45261 cat >>confdefs.h <<_ACEOF
45262 #define HAVE__POWL 1
45263 _ACEOF
45266 done
45275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
45276 $as_echo_n "checking for sqrtl declaration... " >&6; }
45277 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
45278 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
45279 $as_echo_n "(cached) " >&6
45280 else
45283 ac_ext=cpp
45284 ac_cpp='$CXXCPP $CPPFLAGS'
45285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45290 /* end confdefs.h. */
45291 #include <math.h>
45292 #ifdef HAVE_IEEEFP_H
45293 #include <ieeefp.h>
45294 #endif
45297 main ()
45299 sqrtl(0);
45301 return 0;
45303 _ACEOF
45304 if ac_fn_cxx_try_compile "$LINENO"; then :
45305 glibcxx_cv_func_sqrtl_use=yes
45306 else
45307 glibcxx_cv_func_sqrtl_use=no
45309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45310 ac_ext=c
45311 ac_cpp='$CPP $CPPFLAGS'
45312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
45321 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
45323 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
45324 for ac_func in sqrtl
45325 do :
45326 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
45327 if test "x$ac_cv_func_sqrtl" = x""yes; then :
45328 cat >>confdefs.h <<_ACEOF
45329 #define HAVE_SQRTL 1
45330 _ACEOF
45333 done
45335 else
45337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
45338 $as_echo_n "checking for _sqrtl declaration... " >&6; }
45339 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
45340 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
45341 $as_echo_n "(cached) " >&6
45342 else
45345 ac_ext=cpp
45346 ac_cpp='$CXXCPP $CPPFLAGS'
45347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45352 /* end confdefs.h. */
45353 #include <math.h>
45354 #ifdef HAVE_IEEEFP_H
45355 #include <ieeefp.h>
45356 #endif
45359 main ()
45361 _sqrtl(0);
45363 return 0;
45365 _ACEOF
45366 if ac_fn_cxx_try_compile "$LINENO"; then :
45367 glibcxx_cv_func__sqrtl_use=yes
45368 else
45369 glibcxx_cv_func__sqrtl_use=no
45371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45372 ac_ext=c
45373 ac_cpp='$CPP $CPPFLAGS'
45374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
45383 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
45385 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
45386 for ac_func in _sqrtl
45387 do :
45388 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
45389 if test "x$ac_cv_func__sqrtl" = x""yes; then :
45390 cat >>confdefs.h <<_ACEOF
45391 #define HAVE__SQRTL 1
45392 _ACEOF
45395 done
45404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
45405 $as_echo_n "checking for sincosl declaration... " >&6; }
45406 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
45407 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
45408 $as_echo_n "(cached) " >&6
45409 else
45412 ac_ext=cpp
45413 ac_cpp='$CXXCPP $CPPFLAGS'
45414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45419 /* end confdefs.h. */
45420 #include <math.h>
45422 main ()
45424 sincosl(0, 0, 0);
45426 return 0;
45428 _ACEOF
45429 if ac_fn_cxx_try_compile "$LINENO"; then :
45430 glibcxx_cv_func_sincosl_use=yes
45431 else
45432 glibcxx_cv_func_sincosl_use=no
45434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45435 ac_ext=c
45436 ac_cpp='$CPP $CPPFLAGS'
45437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
45446 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
45448 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
45449 for ac_func in sincosl
45450 do :
45451 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
45452 if test "x$ac_cv_func_sincosl" = x""yes; then :
45453 cat >>confdefs.h <<_ACEOF
45454 #define HAVE_SINCOSL 1
45455 _ACEOF
45458 done
45460 else
45462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
45463 $as_echo_n "checking for _sincosl declaration... " >&6; }
45464 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
45465 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
45466 $as_echo_n "(cached) " >&6
45467 else
45470 ac_ext=cpp
45471 ac_cpp='$CXXCPP $CPPFLAGS'
45472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45477 /* end confdefs.h. */
45478 #include <math.h>
45480 main ()
45482 _sincosl(0, 0, 0);
45484 return 0;
45486 _ACEOF
45487 if ac_fn_cxx_try_compile "$LINENO"; then :
45488 glibcxx_cv_func__sincosl_use=yes
45489 else
45490 glibcxx_cv_func__sincosl_use=no
45492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45493 ac_ext=c
45494 ac_cpp='$CPP $CPPFLAGS'
45495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
45504 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
45506 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
45507 for ac_func in _sincosl
45508 do :
45509 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
45510 if test "x$ac_cv_func__sincosl" = x""yes; then :
45511 cat >>confdefs.h <<_ACEOF
45512 #define HAVE__SINCOSL 1
45513 _ACEOF
45516 done
45525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
45526 $as_echo_n "checking for finitel declaration... " >&6; }
45527 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
45528 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
45529 $as_echo_n "(cached) " >&6
45530 else
45533 ac_ext=cpp
45534 ac_cpp='$CXXCPP $CPPFLAGS'
45535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45540 /* end confdefs.h. */
45541 #include <math.h>
45542 #ifdef HAVE_IEEEFP_H
45543 #include <ieeefp.h>
45544 #endif
45547 main ()
45549 finitel(0);
45551 return 0;
45553 _ACEOF
45554 if ac_fn_cxx_try_compile "$LINENO"; then :
45555 glibcxx_cv_func_finitel_use=yes
45556 else
45557 glibcxx_cv_func_finitel_use=no
45559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45560 ac_ext=c
45561 ac_cpp='$CPP $CPPFLAGS'
45562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
45571 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
45573 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
45574 for ac_func in finitel
45575 do :
45576 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
45577 if test "x$ac_cv_func_finitel" = x""yes; then :
45578 cat >>confdefs.h <<_ACEOF
45579 #define HAVE_FINITEL 1
45580 _ACEOF
45583 done
45585 else
45587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
45588 $as_echo_n "checking for _finitel declaration... " >&6; }
45589 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
45590 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
45591 $as_echo_n "(cached) " >&6
45592 else
45595 ac_ext=cpp
45596 ac_cpp='$CXXCPP $CPPFLAGS'
45597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45602 /* end confdefs.h. */
45603 #include <math.h>
45604 #ifdef HAVE_IEEEFP_H
45605 #include <ieeefp.h>
45606 #endif
45609 main ()
45611 _finitel(0);
45613 return 0;
45615 _ACEOF
45616 if ac_fn_cxx_try_compile "$LINENO"; then :
45617 glibcxx_cv_func__finitel_use=yes
45618 else
45619 glibcxx_cv_func__finitel_use=no
45621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45622 ac_ext=c
45623 ac_cpp='$CPP $CPPFLAGS'
45624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
45633 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
45635 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
45636 for ac_func in _finitel
45637 do :
45638 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
45639 if test "x$ac_cv_func__finitel" = x""yes; then :
45640 cat >>confdefs.h <<_ACEOF
45641 #define HAVE__FINITEL 1
45642 _ACEOF
45645 done
45653 LIBS="$ac_save_LIBS"
45654 CXXFLAGS="$ac_save_CXXFLAGS"
45657 ac_test_CXXFLAGS="${CXXFLAGS+set}"
45658 ac_save_CXXFLAGS="$CXXFLAGS"
45659 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
45662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
45663 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
45664 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
45665 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
45666 $as_echo_n "(cached) " >&6
45667 else
45670 ac_ext=cpp
45671 ac_cpp='$CXXCPP $CPPFLAGS'
45672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45677 /* end confdefs.h. */
45678 #include <stdlib.h>
45680 main ()
45682 at_quick_exit(0);
45684 return 0;
45686 _ACEOF
45687 if ac_fn_cxx_try_compile "$LINENO"; then :
45688 glibcxx_cv_func_at_quick_exit_use=yes
45689 else
45690 glibcxx_cv_func_at_quick_exit_use=no
45692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45693 ac_ext=c
45694 ac_cpp='$CPP $CPPFLAGS'
45695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
45704 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
45705 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
45706 for ac_func in at_quick_exit
45707 do :
45708 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
45709 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
45710 cat >>confdefs.h <<_ACEOF
45711 #define HAVE_AT_QUICK_EXIT 1
45712 _ACEOF
45715 done
45720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
45721 $as_echo_n "checking for quick_exit declaration... " >&6; }
45722 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
45723 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
45724 $as_echo_n "(cached) " >&6
45725 else
45728 ac_ext=cpp
45729 ac_cpp='$CXXCPP $CPPFLAGS'
45730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45735 /* end confdefs.h. */
45736 #include <stdlib.h>
45738 main ()
45740 quick_exit(0);
45742 return 0;
45744 _ACEOF
45745 if ac_fn_cxx_try_compile "$LINENO"; then :
45746 glibcxx_cv_func_quick_exit_use=yes
45747 else
45748 glibcxx_cv_func_quick_exit_use=no
45750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45751 ac_ext=c
45752 ac_cpp='$CPP $CPPFLAGS'
45753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
45762 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
45763 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
45764 for ac_func in quick_exit
45765 do :
45766 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
45767 if test "x$ac_cv_func_quick_exit" = x""yes; then :
45768 cat >>confdefs.h <<_ACEOF
45769 #define HAVE_QUICK_EXIT 1
45770 _ACEOF
45773 done
45778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
45779 $as_echo_n "checking for strtold declaration... " >&6; }
45780 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
45781 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
45782 $as_echo_n "(cached) " >&6
45783 else
45786 ac_ext=cpp
45787 ac_cpp='$CXXCPP $CPPFLAGS'
45788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45793 /* end confdefs.h. */
45794 #include <stdlib.h>
45796 main ()
45798 strtold(0, 0);
45800 return 0;
45802 _ACEOF
45803 if ac_fn_cxx_try_compile "$LINENO"; then :
45804 glibcxx_cv_func_strtold_use=yes
45805 else
45806 glibcxx_cv_func_strtold_use=no
45808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45809 ac_ext=c
45810 ac_cpp='$CPP $CPPFLAGS'
45811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
45820 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
45821 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
45822 for ac_func in strtold
45823 do :
45824 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
45825 if test "x$ac_cv_func_strtold" = x""yes; then :
45826 cat >>confdefs.h <<_ACEOF
45827 #define HAVE_STRTOLD 1
45828 _ACEOF
45831 done
45838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
45839 $as_echo_n "checking for strtof declaration... " >&6; }
45840 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
45841 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
45842 $as_echo_n "(cached) " >&6
45843 else
45846 ac_ext=cpp
45847 ac_cpp='$CXXCPP $CPPFLAGS'
45848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45853 /* end confdefs.h. */
45854 #include <stdlib.h>
45856 main ()
45858 strtof(0, 0);
45860 return 0;
45862 _ACEOF
45863 if ac_fn_cxx_try_compile "$LINENO"; then :
45864 glibcxx_cv_func_strtof_use=yes
45865 else
45866 glibcxx_cv_func_strtof_use=no
45868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45869 ac_ext=c
45870 ac_cpp='$CPP $CPPFLAGS'
45871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
45880 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
45881 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
45882 for ac_func in strtof
45883 do :
45884 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
45885 if test "x$ac_cv_func_strtof" = x""yes; then :
45886 cat >>confdefs.h <<_ACEOF
45887 #define HAVE_STRTOF 1
45888 _ACEOF
45891 done
45898 CXXFLAGS="$ac_save_CXXFLAGS"
45900 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
45902 # We don't yet support AIX's TLS ABI.
45903 #GCC_CHECK_TLS
45909 am_save_CPPFLAGS="$CPPFLAGS"
45911 for element in $INCICONV; do
45912 haveit=
45913 for x in $CPPFLAGS; do
45915 acl_save_prefix="$prefix"
45916 prefix="$acl_final_prefix"
45917 acl_save_exec_prefix="$exec_prefix"
45918 exec_prefix="$acl_final_exec_prefix"
45919 eval x=\"$x\"
45920 exec_prefix="$acl_save_exec_prefix"
45921 prefix="$acl_save_prefix"
45923 if test "X$x" = "X$element"; then
45924 haveit=yes
45925 break
45927 done
45928 if test -z "$haveit"; then
45929 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
45931 done
45934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
45935 $as_echo_n "checking for iconv... " >&6; }
45936 if test "${am_cv_func_iconv+set}" = set; then :
45937 $as_echo_n "(cached) " >&6
45938 else
45940 am_cv_func_iconv="no, consider installing GNU libiconv"
45941 am_cv_lib_iconv=no
45942 if test x$gcc_no_link = xyes; then
45943 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45946 /* end confdefs.h. */
45947 #include <stdlib.h>
45948 #include <iconv.h>
45950 main ()
45952 iconv_t cd = iconv_open("","");
45953 iconv(cd,NULL,NULL,NULL,NULL);
45954 iconv_close(cd);
45956 return 0;
45958 _ACEOF
45959 if ac_fn_c_try_link "$LINENO"; then :
45960 am_cv_func_iconv=yes
45962 rm -f core conftest.err conftest.$ac_objext \
45963 conftest$ac_exeext conftest.$ac_ext
45964 if test "$am_cv_func_iconv" != yes; then
45965 am_save_LIBS="$LIBS"
45966 LIBS="$LIBS $LIBICONV"
45967 if test x$gcc_no_link = xyes; then
45968 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45971 /* end confdefs.h. */
45972 #include <stdlib.h>
45973 #include <iconv.h>
45975 main ()
45977 iconv_t cd = iconv_open("","");
45978 iconv(cd,NULL,NULL,NULL,NULL);
45979 iconv_close(cd);
45981 return 0;
45983 _ACEOF
45984 if ac_fn_c_try_link "$LINENO"; then :
45985 am_cv_lib_iconv=yes
45986 am_cv_func_iconv=yes
45988 rm -f core conftest.err conftest.$ac_objext \
45989 conftest$ac_exeext conftest.$ac_ext
45990 LIBS="$am_save_LIBS"
45994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
45995 $as_echo "$am_cv_func_iconv" >&6; }
45996 if test "$am_cv_func_iconv" = yes; then
45998 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
46001 if test "$am_cv_lib_iconv" = yes; then
46002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
46003 $as_echo_n "checking how to link with libiconv... " >&6; }
46004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
46005 $as_echo "$LIBICONV" >&6; }
46006 else
46007 CPPFLAGS="$am_save_CPPFLAGS"
46008 LIBICONV=
46009 LTLIBICONV=
46014 if test "$am_cv_func_iconv" = yes; then
46015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
46016 $as_echo_n "checking for iconv declaration... " >&6; }
46017 if test "${am_cv_proto_iconv+set}" = set; then :
46018 $as_echo_n "(cached) " >&6
46019 else
46021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46022 /* end confdefs.h. */
46024 #include <stdlib.h>
46025 #include <iconv.h>
46026 extern
46027 #ifdef __cplusplus
46029 #endif
46030 #if defined(__STDC__) || defined(__cplusplus)
46031 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
46032 #else
46033 size_t iconv();
46034 #endif
46037 main ()
46041 return 0;
46043 _ACEOF
46044 if ac_fn_c_try_compile "$LINENO"; then :
46045 am_cv_proto_iconv_arg1=""
46046 else
46047 am_cv_proto_iconv_arg1="const"
46049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46050 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);"
46053 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
46054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
46055 }$am_cv_proto_iconv" >&5
46056 $as_echo "${ac_t:-
46057 }$am_cv_proto_iconv" >&6; }
46059 cat >>confdefs.h <<_ACEOF
46060 #define ICONV_CONST $am_cv_proto_iconv_arg1
46061 _ACEOF
46067 *-darwin*)
46068 # Darwin versions vary, but the linker should work in a cross environment,
46069 # so we just check for all the features here.
46070 # Check for available headers.
46072 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
46074 ac_test_CXXFLAGS="${CXXFLAGS+set}"
46075 ac_save_CXXFLAGS="$CXXFLAGS"
46076 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
46078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
46079 $as_echo_n "checking for sin in -lm... " >&6; }
46080 if test "${ac_cv_lib_m_sin+set}" = set; then :
46081 $as_echo_n "(cached) " >&6
46082 else
46083 ac_check_lib_save_LIBS=$LIBS
46084 LIBS="-lm $LIBS"
46085 if test x$gcc_no_link = xyes; then
46086 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46089 /* end confdefs.h. */
46091 /* Override any GCC internal prototype to avoid an error.
46092 Use char because int might match the return type of a GCC
46093 builtin and then its argument prototype would still apply. */
46094 #ifdef __cplusplus
46095 extern "C"
46096 #endif
46097 char sin ();
46099 main ()
46101 return sin ();
46103 return 0;
46105 _ACEOF
46106 if ac_fn_c_try_link "$LINENO"; then :
46107 ac_cv_lib_m_sin=yes
46108 else
46109 ac_cv_lib_m_sin=no
46111 rm -f core conftest.err conftest.$ac_objext \
46112 conftest$ac_exeext conftest.$ac_ext
46113 LIBS=$ac_check_lib_save_LIBS
46115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
46116 $as_echo "$ac_cv_lib_m_sin" >&6; }
46117 if test "x$ac_cv_lib_m_sin" = x""yes; then :
46118 libm="-lm"
46121 ac_save_LIBS="$LIBS"
46122 LIBS="$LIBS $libm"
46126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
46127 $as_echo_n "checking for isinf declaration... " >&6; }
46128 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
46129 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
46130 $as_echo_n "(cached) " >&6
46131 else
46134 ac_ext=cpp
46135 ac_cpp='$CXXCPP $CPPFLAGS'
46136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46141 /* end confdefs.h. */
46142 #include <math.h>
46143 #ifdef HAVE_IEEEFP_H
46144 #include <ieeefp.h>
46145 #endif
46148 main ()
46150 isinf(0);
46152 return 0;
46154 _ACEOF
46155 if ac_fn_cxx_try_compile "$LINENO"; then :
46156 glibcxx_cv_func_isinf_use=yes
46157 else
46158 glibcxx_cv_func_isinf_use=no
46160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46161 ac_ext=c
46162 ac_cpp='$CPP $CPPFLAGS'
46163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
46172 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
46174 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
46175 for ac_func in isinf
46176 do :
46177 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
46178 if test "x$ac_cv_func_isinf" = x""yes; then :
46179 cat >>confdefs.h <<_ACEOF
46180 #define HAVE_ISINF 1
46181 _ACEOF
46184 done
46186 else
46188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
46189 $as_echo_n "checking for _isinf declaration... " >&6; }
46190 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
46191 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
46192 $as_echo_n "(cached) " >&6
46193 else
46196 ac_ext=cpp
46197 ac_cpp='$CXXCPP $CPPFLAGS'
46198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46203 /* end confdefs.h. */
46204 #include <math.h>
46205 #ifdef HAVE_IEEEFP_H
46206 #include <ieeefp.h>
46207 #endif
46210 main ()
46212 _isinf(0);
46214 return 0;
46216 _ACEOF
46217 if ac_fn_cxx_try_compile "$LINENO"; then :
46218 glibcxx_cv_func__isinf_use=yes
46219 else
46220 glibcxx_cv_func__isinf_use=no
46222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46223 ac_ext=c
46224 ac_cpp='$CPP $CPPFLAGS'
46225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
46234 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
46236 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
46237 for ac_func in _isinf
46238 do :
46239 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
46240 if test "x$ac_cv_func__isinf" = x""yes; then :
46241 cat >>confdefs.h <<_ACEOF
46242 #define HAVE__ISINF 1
46243 _ACEOF
46246 done
46255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
46256 $as_echo_n "checking for isnan declaration... " >&6; }
46257 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
46258 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
46259 $as_echo_n "(cached) " >&6
46260 else
46263 ac_ext=cpp
46264 ac_cpp='$CXXCPP $CPPFLAGS'
46265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46270 /* end confdefs.h. */
46271 #include <math.h>
46272 #ifdef HAVE_IEEEFP_H
46273 #include <ieeefp.h>
46274 #endif
46277 main ()
46279 isnan(0);
46281 return 0;
46283 _ACEOF
46284 if ac_fn_cxx_try_compile "$LINENO"; then :
46285 glibcxx_cv_func_isnan_use=yes
46286 else
46287 glibcxx_cv_func_isnan_use=no
46289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46290 ac_ext=c
46291 ac_cpp='$CPP $CPPFLAGS'
46292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
46301 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
46303 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
46304 for ac_func in isnan
46305 do :
46306 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
46307 if test "x$ac_cv_func_isnan" = x""yes; then :
46308 cat >>confdefs.h <<_ACEOF
46309 #define HAVE_ISNAN 1
46310 _ACEOF
46313 done
46315 else
46317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
46318 $as_echo_n "checking for _isnan declaration... " >&6; }
46319 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
46320 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
46321 $as_echo_n "(cached) " >&6
46322 else
46325 ac_ext=cpp
46326 ac_cpp='$CXXCPP $CPPFLAGS'
46327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46332 /* end confdefs.h. */
46333 #include <math.h>
46334 #ifdef HAVE_IEEEFP_H
46335 #include <ieeefp.h>
46336 #endif
46339 main ()
46341 _isnan(0);
46343 return 0;
46345 _ACEOF
46346 if ac_fn_cxx_try_compile "$LINENO"; then :
46347 glibcxx_cv_func__isnan_use=yes
46348 else
46349 glibcxx_cv_func__isnan_use=no
46351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46352 ac_ext=c
46353 ac_cpp='$CPP $CPPFLAGS'
46354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
46363 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
46365 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
46366 for ac_func in _isnan
46367 do :
46368 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
46369 if test "x$ac_cv_func__isnan" = x""yes; then :
46370 cat >>confdefs.h <<_ACEOF
46371 #define HAVE__ISNAN 1
46372 _ACEOF
46375 done
46384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
46385 $as_echo_n "checking for finite declaration... " >&6; }
46386 if test x${glibcxx_cv_func_finite_use+set} != xset; then
46387 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
46388 $as_echo_n "(cached) " >&6
46389 else
46392 ac_ext=cpp
46393 ac_cpp='$CXXCPP $CPPFLAGS'
46394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46399 /* end confdefs.h. */
46400 #include <math.h>
46401 #ifdef HAVE_IEEEFP_H
46402 #include <ieeefp.h>
46403 #endif
46406 main ()
46408 finite(0);
46410 return 0;
46412 _ACEOF
46413 if ac_fn_cxx_try_compile "$LINENO"; then :
46414 glibcxx_cv_func_finite_use=yes
46415 else
46416 glibcxx_cv_func_finite_use=no
46418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46419 ac_ext=c
46420 ac_cpp='$CPP $CPPFLAGS'
46421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
46430 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
46432 if test x$glibcxx_cv_func_finite_use = x"yes"; then
46433 for ac_func in finite
46434 do :
46435 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
46436 if test "x$ac_cv_func_finite" = x""yes; then :
46437 cat >>confdefs.h <<_ACEOF
46438 #define HAVE_FINITE 1
46439 _ACEOF
46442 done
46444 else
46446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
46447 $as_echo_n "checking for _finite declaration... " >&6; }
46448 if test x${glibcxx_cv_func__finite_use+set} != xset; then
46449 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
46450 $as_echo_n "(cached) " >&6
46451 else
46454 ac_ext=cpp
46455 ac_cpp='$CXXCPP $CPPFLAGS'
46456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46461 /* end confdefs.h. */
46462 #include <math.h>
46463 #ifdef HAVE_IEEEFP_H
46464 #include <ieeefp.h>
46465 #endif
46468 main ()
46470 _finite(0);
46472 return 0;
46474 _ACEOF
46475 if ac_fn_cxx_try_compile "$LINENO"; then :
46476 glibcxx_cv_func__finite_use=yes
46477 else
46478 glibcxx_cv_func__finite_use=no
46480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46481 ac_ext=c
46482 ac_cpp='$CPP $CPPFLAGS'
46483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
46492 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
46494 if test x$glibcxx_cv_func__finite_use = x"yes"; then
46495 for ac_func in _finite
46496 do :
46497 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
46498 if test "x$ac_cv_func__finite" = x""yes; then :
46499 cat >>confdefs.h <<_ACEOF
46500 #define HAVE__FINITE 1
46501 _ACEOF
46504 done
46513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
46514 $as_echo_n "checking for sincos declaration... " >&6; }
46515 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
46516 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
46517 $as_echo_n "(cached) " >&6
46518 else
46521 ac_ext=cpp
46522 ac_cpp='$CXXCPP $CPPFLAGS'
46523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46528 /* end confdefs.h. */
46529 #include <math.h>
46531 main ()
46533 sincos(0, 0, 0);
46535 return 0;
46537 _ACEOF
46538 if ac_fn_cxx_try_compile "$LINENO"; then :
46539 glibcxx_cv_func_sincos_use=yes
46540 else
46541 glibcxx_cv_func_sincos_use=no
46543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46544 ac_ext=c
46545 ac_cpp='$CPP $CPPFLAGS'
46546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
46555 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
46557 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
46558 for ac_func in sincos
46559 do :
46560 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
46561 if test "x$ac_cv_func_sincos" = x""yes; then :
46562 cat >>confdefs.h <<_ACEOF
46563 #define HAVE_SINCOS 1
46564 _ACEOF
46567 done
46569 else
46571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
46572 $as_echo_n "checking for _sincos declaration... " >&6; }
46573 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
46574 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
46575 $as_echo_n "(cached) " >&6
46576 else
46579 ac_ext=cpp
46580 ac_cpp='$CXXCPP $CPPFLAGS'
46581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46586 /* end confdefs.h. */
46587 #include <math.h>
46589 main ()
46591 _sincos(0, 0, 0);
46593 return 0;
46595 _ACEOF
46596 if ac_fn_cxx_try_compile "$LINENO"; then :
46597 glibcxx_cv_func__sincos_use=yes
46598 else
46599 glibcxx_cv_func__sincos_use=no
46601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46602 ac_ext=c
46603 ac_cpp='$CPP $CPPFLAGS'
46604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
46613 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
46615 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
46616 for ac_func in _sincos
46617 do :
46618 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
46619 if test "x$ac_cv_func__sincos" = x""yes; then :
46620 cat >>confdefs.h <<_ACEOF
46621 #define HAVE__SINCOS 1
46622 _ACEOF
46625 done
46634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
46635 $as_echo_n "checking for fpclass declaration... " >&6; }
46636 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
46637 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
46638 $as_echo_n "(cached) " >&6
46639 else
46642 ac_ext=cpp
46643 ac_cpp='$CXXCPP $CPPFLAGS'
46644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46649 /* end confdefs.h. */
46650 #include <math.h>
46651 #ifdef HAVE_IEEEFP_H
46652 #include <ieeefp.h>
46653 #endif
46656 main ()
46658 fpclass(0);
46660 return 0;
46662 _ACEOF
46663 if ac_fn_cxx_try_compile "$LINENO"; then :
46664 glibcxx_cv_func_fpclass_use=yes
46665 else
46666 glibcxx_cv_func_fpclass_use=no
46668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46669 ac_ext=c
46670 ac_cpp='$CPP $CPPFLAGS'
46671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
46680 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
46682 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
46683 for ac_func in fpclass
46684 do :
46685 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
46686 if test "x$ac_cv_func_fpclass" = x""yes; then :
46687 cat >>confdefs.h <<_ACEOF
46688 #define HAVE_FPCLASS 1
46689 _ACEOF
46692 done
46694 else
46696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
46697 $as_echo_n "checking for _fpclass declaration... " >&6; }
46698 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
46699 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
46700 $as_echo_n "(cached) " >&6
46701 else
46704 ac_ext=cpp
46705 ac_cpp='$CXXCPP $CPPFLAGS'
46706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46711 /* end confdefs.h. */
46712 #include <math.h>
46713 #ifdef HAVE_IEEEFP_H
46714 #include <ieeefp.h>
46715 #endif
46718 main ()
46720 _fpclass(0);
46722 return 0;
46724 _ACEOF
46725 if ac_fn_cxx_try_compile "$LINENO"; then :
46726 glibcxx_cv_func__fpclass_use=yes
46727 else
46728 glibcxx_cv_func__fpclass_use=no
46730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46731 ac_ext=c
46732 ac_cpp='$CPP $CPPFLAGS'
46733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
46742 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
46744 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
46745 for ac_func in _fpclass
46746 do :
46747 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
46748 if test "x$ac_cv_func__fpclass" = x""yes; then :
46749 cat >>confdefs.h <<_ACEOF
46750 #define HAVE__FPCLASS 1
46751 _ACEOF
46754 done
46763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
46764 $as_echo_n "checking for qfpclass declaration... " >&6; }
46765 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
46766 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
46767 $as_echo_n "(cached) " >&6
46768 else
46771 ac_ext=cpp
46772 ac_cpp='$CXXCPP $CPPFLAGS'
46773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46778 /* end confdefs.h. */
46779 #include <math.h>
46780 #ifdef HAVE_IEEEFP_H
46781 #include <ieeefp.h>
46782 #endif
46785 main ()
46787 qfpclass(0);
46789 return 0;
46791 _ACEOF
46792 if ac_fn_cxx_try_compile "$LINENO"; then :
46793 glibcxx_cv_func_qfpclass_use=yes
46794 else
46795 glibcxx_cv_func_qfpclass_use=no
46797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46798 ac_ext=c
46799 ac_cpp='$CPP $CPPFLAGS'
46800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
46809 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
46811 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
46812 for ac_func in qfpclass
46813 do :
46814 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
46815 if test "x$ac_cv_func_qfpclass" = x""yes; then :
46816 cat >>confdefs.h <<_ACEOF
46817 #define HAVE_QFPCLASS 1
46818 _ACEOF
46821 done
46823 else
46825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
46826 $as_echo_n "checking for _qfpclass declaration... " >&6; }
46827 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
46828 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
46829 $as_echo_n "(cached) " >&6
46830 else
46833 ac_ext=cpp
46834 ac_cpp='$CXXCPP $CPPFLAGS'
46835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46840 /* end confdefs.h. */
46841 #include <math.h>
46842 #ifdef HAVE_IEEEFP_H
46843 #include <ieeefp.h>
46844 #endif
46847 main ()
46849 _qfpclass(0);
46851 return 0;
46853 _ACEOF
46854 if ac_fn_cxx_try_compile "$LINENO"; then :
46855 glibcxx_cv_func__qfpclass_use=yes
46856 else
46857 glibcxx_cv_func__qfpclass_use=no
46859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46860 ac_ext=c
46861 ac_cpp='$CPP $CPPFLAGS'
46862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
46871 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
46873 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
46874 for ac_func in _qfpclass
46875 do :
46876 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
46877 if test "x$ac_cv_func__qfpclass" = x""yes; then :
46878 cat >>confdefs.h <<_ACEOF
46879 #define HAVE__QFPCLASS 1
46880 _ACEOF
46883 done
46892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
46893 $as_echo_n "checking for hypot declaration... " >&6; }
46894 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
46895 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
46896 $as_echo_n "(cached) " >&6
46897 else
46900 ac_ext=cpp
46901 ac_cpp='$CXXCPP $CPPFLAGS'
46902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46907 /* end confdefs.h. */
46908 #include <math.h>
46910 main ()
46912 hypot(0, 0);
46914 return 0;
46916 _ACEOF
46917 if ac_fn_cxx_try_compile "$LINENO"; then :
46918 glibcxx_cv_func_hypot_use=yes
46919 else
46920 glibcxx_cv_func_hypot_use=no
46922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46923 ac_ext=c
46924 ac_cpp='$CPP $CPPFLAGS'
46925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
46934 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
46936 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
46937 for ac_func in hypot
46938 do :
46939 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
46940 if test "x$ac_cv_func_hypot" = x""yes; then :
46941 cat >>confdefs.h <<_ACEOF
46942 #define HAVE_HYPOT 1
46943 _ACEOF
46946 done
46948 else
46950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
46951 $as_echo_n "checking for _hypot declaration... " >&6; }
46952 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
46953 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
46954 $as_echo_n "(cached) " >&6
46955 else
46958 ac_ext=cpp
46959 ac_cpp='$CXXCPP $CPPFLAGS'
46960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46965 /* end confdefs.h. */
46966 #include <math.h>
46968 main ()
46970 _hypot(0, 0);
46972 return 0;
46974 _ACEOF
46975 if ac_fn_cxx_try_compile "$LINENO"; then :
46976 glibcxx_cv_func__hypot_use=yes
46977 else
46978 glibcxx_cv_func__hypot_use=no
46980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46981 ac_ext=c
46982 ac_cpp='$CPP $CPPFLAGS'
46983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
46992 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
46994 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
46995 for ac_func in _hypot
46996 do :
46997 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
46998 if test "x$ac_cv_func__hypot" = x""yes; then :
46999 cat >>confdefs.h <<_ACEOF
47000 #define HAVE__HYPOT 1
47001 _ACEOF
47004 done
47013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
47014 $as_echo_n "checking for float trig functions... " >&6; }
47015 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
47016 $as_echo_n "(cached) " >&6
47017 else
47020 ac_ext=cpp
47021 ac_cpp='$CXXCPP $CPPFLAGS'
47022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47027 /* end confdefs.h. */
47028 #include <math.h>
47030 main ()
47032 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
47034 return 0;
47036 _ACEOF
47037 if ac_fn_cxx_try_compile "$LINENO"; then :
47038 glibcxx_cv_func_float_trig_use=yes
47039 else
47040 glibcxx_cv_func_float_trig_use=no
47042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47043 ac_ext=c
47044 ac_cpp='$CPP $CPPFLAGS'
47045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
47052 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
47053 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
47054 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
47055 do :
47056 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47057 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47058 eval as_val=\$$as_ac_var
47059 if test "x$as_val" = x""yes; then :
47060 cat >>confdefs.h <<_ACEOF
47061 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47062 _ACEOF
47065 done
47067 else
47068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
47069 $as_echo_n "checking for _float trig functions... " >&6; }
47070 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
47071 $as_echo_n "(cached) " >&6
47072 else
47075 ac_ext=cpp
47076 ac_cpp='$CXXCPP $CPPFLAGS'
47077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47082 /* end confdefs.h. */
47083 #include <math.h>
47085 main ()
47087 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
47089 return 0;
47091 _ACEOF
47092 if ac_fn_cxx_try_compile "$LINENO"; then :
47093 glibcxx_cv_func__float_trig_use=yes
47094 else
47095 glibcxx_cv_func__float_trig_use=no
47097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47098 ac_ext=c
47099 ac_cpp='$CPP $CPPFLAGS'
47100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
47107 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
47108 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
47109 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
47110 do :
47111 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47112 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47113 eval as_val=\$$as_ac_var
47114 if test "x$as_val" = x""yes; then :
47115 cat >>confdefs.h <<_ACEOF
47116 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47117 _ACEOF
47120 done
47129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
47130 $as_echo_n "checking for float round functions... " >&6; }
47131 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
47132 $as_echo_n "(cached) " >&6
47133 else
47136 ac_ext=cpp
47137 ac_cpp='$CXXCPP $CPPFLAGS'
47138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47143 /* end confdefs.h. */
47144 #include <math.h>
47146 main ()
47148 ceilf (0); floorf (0);
47150 return 0;
47152 _ACEOF
47153 if ac_fn_cxx_try_compile "$LINENO"; then :
47154 glibcxx_cv_func_float_round_use=yes
47155 else
47156 glibcxx_cv_func_float_round_use=no
47158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47159 ac_ext=c
47160 ac_cpp='$CPP $CPPFLAGS'
47161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
47168 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
47169 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
47170 for ac_func in ceilf floorf
47171 do :
47172 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47173 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47174 eval as_val=\$$as_ac_var
47175 if test "x$as_val" = x""yes; then :
47176 cat >>confdefs.h <<_ACEOF
47177 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47178 _ACEOF
47181 done
47183 else
47184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
47185 $as_echo_n "checking for _float round functions... " >&6; }
47186 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
47187 $as_echo_n "(cached) " >&6
47188 else
47191 ac_ext=cpp
47192 ac_cpp='$CXXCPP $CPPFLAGS'
47193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47198 /* end confdefs.h. */
47199 #include <math.h>
47201 main ()
47203 _ceilf (0); _floorf (0);
47205 return 0;
47207 _ACEOF
47208 if ac_fn_cxx_try_compile "$LINENO"; then :
47209 glibcxx_cv_func__float_round_use=yes
47210 else
47211 glibcxx_cv_func__float_round_use=no
47213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47214 ac_ext=c
47215 ac_cpp='$CPP $CPPFLAGS'
47216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
47223 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
47224 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
47225 for ac_func in _ceilf _floorf
47226 do :
47227 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47228 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47229 eval as_val=\$$as_ac_var
47230 if test "x$as_val" = x""yes; then :
47231 cat >>confdefs.h <<_ACEOF
47232 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47233 _ACEOF
47236 done
47246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
47247 $as_echo_n "checking for expf declaration... " >&6; }
47248 if test x${glibcxx_cv_func_expf_use+set} != xset; then
47249 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
47250 $as_echo_n "(cached) " >&6
47251 else
47254 ac_ext=cpp
47255 ac_cpp='$CXXCPP $CPPFLAGS'
47256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47261 /* end confdefs.h. */
47262 #include <math.h>
47263 #ifdef HAVE_IEEEFP_H
47264 #include <ieeefp.h>
47265 #endif
47268 main ()
47270 expf(0);
47272 return 0;
47274 _ACEOF
47275 if ac_fn_cxx_try_compile "$LINENO"; then :
47276 glibcxx_cv_func_expf_use=yes
47277 else
47278 glibcxx_cv_func_expf_use=no
47280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47281 ac_ext=c
47282 ac_cpp='$CPP $CPPFLAGS'
47283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
47292 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
47294 if test x$glibcxx_cv_func_expf_use = x"yes"; then
47295 for ac_func in expf
47296 do :
47297 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
47298 if test "x$ac_cv_func_expf" = x""yes; then :
47299 cat >>confdefs.h <<_ACEOF
47300 #define HAVE_EXPF 1
47301 _ACEOF
47304 done
47306 else
47308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
47309 $as_echo_n "checking for _expf declaration... " >&6; }
47310 if test x${glibcxx_cv_func__expf_use+set} != xset; then
47311 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
47312 $as_echo_n "(cached) " >&6
47313 else
47316 ac_ext=cpp
47317 ac_cpp='$CXXCPP $CPPFLAGS'
47318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47323 /* end confdefs.h. */
47324 #include <math.h>
47325 #ifdef HAVE_IEEEFP_H
47326 #include <ieeefp.h>
47327 #endif
47330 main ()
47332 _expf(0);
47334 return 0;
47336 _ACEOF
47337 if ac_fn_cxx_try_compile "$LINENO"; then :
47338 glibcxx_cv_func__expf_use=yes
47339 else
47340 glibcxx_cv_func__expf_use=no
47342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47343 ac_ext=c
47344 ac_cpp='$CPP $CPPFLAGS'
47345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
47354 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
47356 if test x$glibcxx_cv_func__expf_use = x"yes"; then
47357 for ac_func in _expf
47358 do :
47359 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
47360 if test "x$ac_cv_func__expf" = x""yes; then :
47361 cat >>confdefs.h <<_ACEOF
47362 #define HAVE__EXPF 1
47363 _ACEOF
47366 done
47375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
47376 $as_echo_n "checking for isnanf declaration... " >&6; }
47377 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
47378 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
47379 $as_echo_n "(cached) " >&6
47380 else
47383 ac_ext=cpp
47384 ac_cpp='$CXXCPP $CPPFLAGS'
47385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47390 /* end confdefs.h. */
47391 #include <math.h>
47392 #ifdef HAVE_IEEEFP_H
47393 #include <ieeefp.h>
47394 #endif
47397 main ()
47399 isnanf(0);
47401 return 0;
47403 _ACEOF
47404 if ac_fn_cxx_try_compile "$LINENO"; then :
47405 glibcxx_cv_func_isnanf_use=yes
47406 else
47407 glibcxx_cv_func_isnanf_use=no
47409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47410 ac_ext=c
47411 ac_cpp='$CPP $CPPFLAGS'
47412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
47421 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
47423 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
47424 for ac_func in isnanf
47425 do :
47426 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
47427 if test "x$ac_cv_func_isnanf" = x""yes; then :
47428 cat >>confdefs.h <<_ACEOF
47429 #define HAVE_ISNANF 1
47430 _ACEOF
47433 done
47435 else
47437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
47438 $as_echo_n "checking for _isnanf declaration... " >&6; }
47439 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
47440 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
47441 $as_echo_n "(cached) " >&6
47442 else
47445 ac_ext=cpp
47446 ac_cpp='$CXXCPP $CPPFLAGS'
47447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47452 /* end confdefs.h. */
47453 #include <math.h>
47454 #ifdef HAVE_IEEEFP_H
47455 #include <ieeefp.h>
47456 #endif
47459 main ()
47461 _isnanf(0);
47463 return 0;
47465 _ACEOF
47466 if ac_fn_cxx_try_compile "$LINENO"; then :
47467 glibcxx_cv_func__isnanf_use=yes
47468 else
47469 glibcxx_cv_func__isnanf_use=no
47471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47472 ac_ext=c
47473 ac_cpp='$CPP $CPPFLAGS'
47474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
47483 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
47485 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
47486 for ac_func in _isnanf
47487 do :
47488 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
47489 if test "x$ac_cv_func__isnanf" = x""yes; then :
47490 cat >>confdefs.h <<_ACEOF
47491 #define HAVE__ISNANF 1
47492 _ACEOF
47495 done
47504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
47505 $as_echo_n "checking for isinff declaration... " >&6; }
47506 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
47507 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
47508 $as_echo_n "(cached) " >&6
47509 else
47512 ac_ext=cpp
47513 ac_cpp='$CXXCPP $CPPFLAGS'
47514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47519 /* end confdefs.h. */
47520 #include <math.h>
47521 #ifdef HAVE_IEEEFP_H
47522 #include <ieeefp.h>
47523 #endif
47526 main ()
47528 isinff(0);
47530 return 0;
47532 _ACEOF
47533 if ac_fn_cxx_try_compile "$LINENO"; then :
47534 glibcxx_cv_func_isinff_use=yes
47535 else
47536 glibcxx_cv_func_isinff_use=no
47538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47539 ac_ext=c
47540 ac_cpp='$CPP $CPPFLAGS'
47541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
47550 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
47552 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
47553 for ac_func in isinff
47554 do :
47555 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
47556 if test "x$ac_cv_func_isinff" = x""yes; then :
47557 cat >>confdefs.h <<_ACEOF
47558 #define HAVE_ISINFF 1
47559 _ACEOF
47562 done
47564 else
47566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
47567 $as_echo_n "checking for _isinff declaration... " >&6; }
47568 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
47569 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
47570 $as_echo_n "(cached) " >&6
47571 else
47574 ac_ext=cpp
47575 ac_cpp='$CXXCPP $CPPFLAGS'
47576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47581 /* end confdefs.h. */
47582 #include <math.h>
47583 #ifdef HAVE_IEEEFP_H
47584 #include <ieeefp.h>
47585 #endif
47588 main ()
47590 _isinff(0);
47592 return 0;
47594 _ACEOF
47595 if ac_fn_cxx_try_compile "$LINENO"; then :
47596 glibcxx_cv_func__isinff_use=yes
47597 else
47598 glibcxx_cv_func__isinff_use=no
47600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47601 ac_ext=c
47602 ac_cpp='$CPP $CPPFLAGS'
47603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
47612 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
47614 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
47615 for ac_func in _isinff
47616 do :
47617 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
47618 if test "x$ac_cv_func__isinff" = x""yes; then :
47619 cat >>confdefs.h <<_ACEOF
47620 #define HAVE__ISINFF 1
47621 _ACEOF
47624 done
47633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
47634 $as_echo_n "checking for atan2f declaration... " >&6; }
47635 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
47636 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
47637 $as_echo_n "(cached) " >&6
47638 else
47641 ac_ext=cpp
47642 ac_cpp='$CXXCPP $CPPFLAGS'
47643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47648 /* end confdefs.h. */
47649 #include <math.h>
47651 main ()
47653 atan2f(0, 0);
47655 return 0;
47657 _ACEOF
47658 if ac_fn_cxx_try_compile "$LINENO"; then :
47659 glibcxx_cv_func_atan2f_use=yes
47660 else
47661 glibcxx_cv_func_atan2f_use=no
47663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47664 ac_ext=c
47665 ac_cpp='$CPP $CPPFLAGS'
47666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
47675 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
47677 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
47678 for ac_func in atan2f
47679 do :
47680 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
47681 if test "x$ac_cv_func_atan2f" = x""yes; then :
47682 cat >>confdefs.h <<_ACEOF
47683 #define HAVE_ATAN2F 1
47684 _ACEOF
47687 done
47689 else
47691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
47692 $as_echo_n "checking for _atan2f declaration... " >&6; }
47693 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
47694 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
47695 $as_echo_n "(cached) " >&6
47696 else
47699 ac_ext=cpp
47700 ac_cpp='$CXXCPP $CPPFLAGS'
47701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47706 /* end confdefs.h. */
47707 #include <math.h>
47709 main ()
47711 _atan2f(0, 0);
47713 return 0;
47715 _ACEOF
47716 if ac_fn_cxx_try_compile "$LINENO"; then :
47717 glibcxx_cv_func__atan2f_use=yes
47718 else
47719 glibcxx_cv_func__atan2f_use=no
47721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47722 ac_ext=c
47723 ac_cpp='$CPP $CPPFLAGS'
47724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
47733 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
47735 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
47736 for ac_func in _atan2f
47737 do :
47738 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
47739 if test "x$ac_cv_func__atan2f" = x""yes; then :
47740 cat >>confdefs.h <<_ACEOF
47741 #define HAVE__ATAN2F 1
47742 _ACEOF
47745 done
47754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
47755 $as_echo_n "checking for fabsf declaration... " >&6; }
47756 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
47757 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
47758 $as_echo_n "(cached) " >&6
47759 else
47762 ac_ext=cpp
47763 ac_cpp='$CXXCPP $CPPFLAGS'
47764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47769 /* end confdefs.h. */
47770 #include <math.h>
47771 #ifdef HAVE_IEEEFP_H
47772 #include <ieeefp.h>
47773 #endif
47776 main ()
47778 fabsf(0);
47780 return 0;
47782 _ACEOF
47783 if ac_fn_cxx_try_compile "$LINENO"; then :
47784 glibcxx_cv_func_fabsf_use=yes
47785 else
47786 glibcxx_cv_func_fabsf_use=no
47788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47789 ac_ext=c
47790 ac_cpp='$CPP $CPPFLAGS'
47791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
47800 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
47802 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
47803 for ac_func in fabsf
47804 do :
47805 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
47806 if test "x$ac_cv_func_fabsf" = x""yes; then :
47807 cat >>confdefs.h <<_ACEOF
47808 #define HAVE_FABSF 1
47809 _ACEOF
47812 done
47814 else
47816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
47817 $as_echo_n "checking for _fabsf declaration... " >&6; }
47818 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
47819 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
47820 $as_echo_n "(cached) " >&6
47821 else
47824 ac_ext=cpp
47825 ac_cpp='$CXXCPP $CPPFLAGS'
47826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47831 /* end confdefs.h. */
47832 #include <math.h>
47833 #ifdef HAVE_IEEEFP_H
47834 #include <ieeefp.h>
47835 #endif
47838 main ()
47840 _fabsf(0);
47842 return 0;
47844 _ACEOF
47845 if ac_fn_cxx_try_compile "$LINENO"; then :
47846 glibcxx_cv_func__fabsf_use=yes
47847 else
47848 glibcxx_cv_func__fabsf_use=no
47850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47851 ac_ext=c
47852 ac_cpp='$CPP $CPPFLAGS'
47853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
47862 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
47864 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
47865 for ac_func in _fabsf
47866 do :
47867 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
47868 if test "x$ac_cv_func__fabsf" = x""yes; then :
47869 cat >>confdefs.h <<_ACEOF
47870 #define HAVE__FABSF 1
47871 _ACEOF
47874 done
47883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
47884 $as_echo_n "checking for fmodf declaration... " >&6; }
47885 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
47886 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
47887 $as_echo_n "(cached) " >&6
47888 else
47891 ac_ext=cpp
47892 ac_cpp='$CXXCPP $CPPFLAGS'
47893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47898 /* end confdefs.h. */
47899 #include <math.h>
47901 main ()
47903 fmodf(0, 0);
47905 return 0;
47907 _ACEOF
47908 if ac_fn_cxx_try_compile "$LINENO"; then :
47909 glibcxx_cv_func_fmodf_use=yes
47910 else
47911 glibcxx_cv_func_fmodf_use=no
47913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47914 ac_ext=c
47915 ac_cpp='$CPP $CPPFLAGS'
47916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
47925 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
47927 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
47928 for ac_func in fmodf
47929 do :
47930 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
47931 if test "x$ac_cv_func_fmodf" = x""yes; then :
47932 cat >>confdefs.h <<_ACEOF
47933 #define HAVE_FMODF 1
47934 _ACEOF
47937 done
47939 else
47941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
47942 $as_echo_n "checking for _fmodf declaration... " >&6; }
47943 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
47944 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
47945 $as_echo_n "(cached) " >&6
47946 else
47949 ac_ext=cpp
47950 ac_cpp='$CXXCPP $CPPFLAGS'
47951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47956 /* end confdefs.h. */
47957 #include <math.h>
47959 main ()
47961 _fmodf(0, 0);
47963 return 0;
47965 _ACEOF
47966 if ac_fn_cxx_try_compile "$LINENO"; then :
47967 glibcxx_cv_func__fmodf_use=yes
47968 else
47969 glibcxx_cv_func__fmodf_use=no
47971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47972 ac_ext=c
47973 ac_cpp='$CPP $CPPFLAGS'
47974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
47983 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
47985 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
47986 for ac_func in _fmodf
47987 do :
47988 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
47989 if test "x$ac_cv_func__fmodf" = x""yes; then :
47990 cat >>confdefs.h <<_ACEOF
47991 #define HAVE__FMODF 1
47992 _ACEOF
47995 done
48004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
48005 $as_echo_n "checking for frexpf declaration... " >&6; }
48006 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
48007 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
48008 $as_echo_n "(cached) " >&6
48009 else
48012 ac_ext=cpp
48013 ac_cpp='$CXXCPP $CPPFLAGS'
48014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48019 /* end confdefs.h. */
48020 #include <math.h>
48022 main ()
48024 frexpf(0, 0);
48026 return 0;
48028 _ACEOF
48029 if ac_fn_cxx_try_compile "$LINENO"; then :
48030 glibcxx_cv_func_frexpf_use=yes
48031 else
48032 glibcxx_cv_func_frexpf_use=no
48034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48035 ac_ext=c
48036 ac_cpp='$CPP $CPPFLAGS'
48037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
48046 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
48048 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
48049 for ac_func in frexpf
48050 do :
48051 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
48052 if test "x$ac_cv_func_frexpf" = x""yes; then :
48053 cat >>confdefs.h <<_ACEOF
48054 #define HAVE_FREXPF 1
48055 _ACEOF
48058 done
48060 else
48062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
48063 $as_echo_n "checking for _frexpf declaration... " >&6; }
48064 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
48065 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
48066 $as_echo_n "(cached) " >&6
48067 else
48070 ac_ext=cpp
48071 ac_cpp='$CXXCPP $CPPFLAGS'
48072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48077 /* end confdefs.h. */
48078 #include <math.h>
48080 main ()
48082 _frexpf(0, 0);
48084 return 0;
48086 _ACEOF
48087 if ac_fn_cxx_try_compile "$LINENO"; then :
48088 glibcxx_cv_func__frexpf_use=yes
48089 else
48090 glibcxx_cv_func__frexpf_use=no
48092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48093 ac_ext=c
48094 ac_cpp='$CPP $CPPFLAGS'
48095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
48104 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
48106 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
48107 for ac_func in _frexpf
48108 do :
48109 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
48110 if test "x$ac_cv_func__frexpf" = x""yes; then :
48111 cat >>confdefs.h <<_ACEOF
48112 #define HAVE__FREXPF 1
48113 _ACEOF
48116 done
48125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
48126 $as_echo_n "checking for hypotf declaration... " >&6; }
48127 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
48128 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
48129 $as_echo_n "(cached) " >&6
48130 else
48133 ac_ext=cpp
48134 ac_cpp='$CXXCPP $CPPFLAGS'
48135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48140 /* end confdefs.h. */
48141 #include <math.h>
48143 main ()
48145 hypotf(0, 0);
48147 return 0;
48149 _ACEOF
48150 if ac_fn_cxx_try_compile "$LINENO"; then :
48151 glibcxx_cv_func_hypotf_use=yes
48152 else
48153 glibcxx_cv_func_hypotf_use=no
48155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48156 ac_ext=c
48157 ac_cpp='$CPP $CPPFLAGS'
48158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
48167 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
48169 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
48170 for ac_func in hypotf
48171 do :
48172 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
48173 if test "x$ac_cv_func_hypotf" = x""yes; then :
48174 cat >>confdefs.h <<_ACEOF
48175 #define HAVE_HYPOTF 1
48176 _ACEOF
48179 done
48181 else
48183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
48184 $as_echo_n "checking for _hypotf declaration... " >&6; }
48185 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
48186 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
48187 $as_echo_n "(cached) " >&6
48188 else
48191 ac_ext=cpp
48192 ac_cpp='$CXXCPP $CPPFLAGS'
48193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48198 /* end confdefs.h. */
48199 #include <math.h>
48201 main ()
48203 _hypotf(0, 0);
48205 return 0;
48207 _ACEOF
48208 if ac_fn_cxx_try_compile "$LINENO"; then :
48209 glibcxx_cv_func__hypotf_use=yes
48210 else
48211 glibcxx_cv_func__hypotf_use=no
48213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48214 ac_ext=c
48215 ac_cpp='$CPP $CPPFLAGS'
48216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
48225 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
48227 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
48228 for ac_func in _hypotf
48229 do :
48230 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
48231 if test "x$ac_cv_func__hypotf" = x""yes; then :
48232 cat >>confdefs.h <<_ACEOF
48233 #define HAVE__HYPOTF 1
48234 _ACEOF
48237 done
48246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
48247 $as_echo_n "checking for ldexpf declaration... " >&6; }
48248 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
48249 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
48250 $as_echo_n "(cached) " >&6
48251 else
48254 ac_ext=cpp
48255 ac_cpp='$CXXCPP $CPPFLAGS'
48256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48261 /* end confdefs.h. */
48262 #include <math.h>
48264 main ()
48266 ldexpf(0, 0);
48268 return 0;
48270 _ACEOF
48271 if ac_fn_cxx_try_compile "$LINENO"; then :
48272 glibcxx_cv_func_ldexpf_use=yes
48273 else
48274 glibcxx_cv_func_ldexpf_use=no
48276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48277 ac_ext=c
48278 ac_cpp='$CPP $CPPFLAGS'
48279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
48288 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
48290 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
48291 for ac_func in ldexpf
48292 do :
48293 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
48294 if test "x$ac_cv_func_ldexpf" = x""yes; then :
48295 cat >>confdefs.h <<_ACEOF
48296 #define HAVE_LDEXPF 1
48297 _ACEOF
48300 done
48302 else
48304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
48305 $as_echo_n "checking for _ldexpf declaration... " >&6; }
48306 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
48307 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
48308 $as_echo_n "(cached) " >&6
48309 else
48312 ac_ext=cpp
48313 ac_cpp='$CXXCPP $CPPFLAGS'
48314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48319 /* end confdefs.h. */
48320 #include <math.h>
48322 main ()
48324 _ldexpf(0, 0);
48326 return 0;
48328 _ACEOF
48329 if ac_fn_cxx_try_compile "$LINENO"; then :
48330 glibcxx_cv_func__ldexpf_use=yes
48331 else
48332 glibcxx_cv_func__ldexpf_use=no
48334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48335 ac_ext=c
48336 ac_cpp='$CPP $CPPFLAGS'
48337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
48346 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
48348 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
48349 for ac_func in _ldexpf
48350 do :
48351 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
48352 if test "x$ac_cv_func__ldexpf" = x""yes; then :
48353 cat >>confdefs.h <<_ACEOF
48354 #define HAVE__LDEXPF 1
48355 _ACEOF
48358 done
48367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
48368 $as_echo_n "checking for logf declaration... " >&6; }
48369 if test x${glibcxx_cv_func_logf_use+set} != xset; then
48370 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
48371 $as_echo_n "(cached) " >&6
48372 else
48375 ac_ext=cpp
48376 ac_cpp='$CXXCPP $CPPFLAGS'
48377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48382 /* end confdefs.h. */
48383 #include <math.h>
48384 #ifdef HAVE_IEEEFP_H
48385 #include <ieeefp.h>
48386 #endif
48389 main ()
48391 logf(0);
48393 return 0;
48395 _ACEOF
48396 if ac_fn_cxx_try_compile "$LINENO"; then :
48397 glibcxx_cv_func_logf_use=yes
48398 else
48399 glibcxx_cv_func_logf_use=no
48401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48402 ac_ext=c
48403 ac_cpp='$CPP $CPPFLAGS'
48404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
48413 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
48415 if test x$glibcxx_cv_func_logf_use = x"yes"; then
48416 for ac_func in logf
48417 do :
48418 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
48419 if test "x$ac_cv_func_logf" = x""yes; then :
48420 cat >>confdefs.h <<_ACEOF
48421 #define HAVE_LOGF 1
48422 _ACEOF
48425 done
48427 else
48429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
48430 $as_echo_n "checking for _logf declaration... " >&6; }
48431 if test x${glibcxx_cv_func__logf_use+set} != xset; then
48432 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
48433 $as_echo_n "(cached) " >&6
48434 else
48437 ac_ext=cpp
48438 ac_cpp='$CXXCPP $CPPFLAGS'
48439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48444 /* end confdefs.h. */
48445 #include <math.h>
48446 #ifdef HAVE_IEEEFP_H
48447 #include <ieeefp.h>
48448 #endif
48451 main ()
48453 _logf(0);
48455 return 0;
48457 _ACEOF
48458 if ac_fn_cxx_try_compile "$LINENO"; then :
48459 glibcxx_cv_func__logf_use=yes
48460 else
48461 glibcxx_cv_func__logf_use=no
48463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48464 ac_ext=c
48465 ac_cpp='$CPP $CPPFLAGS'
48466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
48475 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
48477 if test x$glibcxx_cv_func__logf_use = x"yes"; then
48478 for ac_func in _logf
48479 do :
48480 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
48481 if test "x$ac_cv_func__logf" = x""yes; then :
48482 cat >>confdefs.h <<_ACEOF
48483 #define HAVE__LOGF 1
48484 _ACEOF
48487 done
48496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
48497 $as_echo_n "checking for log10f declaration... " >&6; }
48498 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
48499 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
48500 $as_echo_n "(cached) " >&6
48501 else
48504 ac_ext=cpp
48505 ac_cpp='$CXXCPP $CPPFLAGS'
48506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48511 /* end confdefs.h. */
48512 #include <math.h>
48513 #ifdef HAVE_IEEEFP_H
48514 #include <ieeefp.h>
48515 #endif
48518 main ()
48520 log10f(0);
48522 return 0;
48524 _ACEOF
48525 if ac_fn_cxx_try_compile "$LINENO"; then :
48526 glibcxx_cv_func_log10f_use=yes
48527 else
48528 glibcxx_cv_func_log10f_use=no
48530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48531 ac_ext=c
48532 ac_cpp='$CPP $CPPFLAGS'
48533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
48542 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
48544 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
48545 for ac_func in log10f
48546 do :
48547 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
48548 if test "x$ac_cv_func_log10f" = x""yes; then :
48549 cat >>confdefs.h <<_ACEOF
48550 #define HAVE_LOG10F 1
48551 _ACEOF
48554 done
48556 else
48558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
48559 $as_echo_n "checking for _log10f declaration... " >&6; }
48560 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
48561 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
48562 $as_echo_n "(cached) " >&6
48563 else
48566 ac_ext=cpp
48567 ac_cpp='$CXXCPP $CPPFLAGS'
48568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48573 /* end confdefs.h. */
48574 #include <math.h>
48575 #ifdef HAVE_IEEEFP_H
48576 #include <ieeefp.h>
48577 #endif
48580 main ()
48582 _log10f(0);
48584 return 0;
48586 _ACEOF
48587 if ac_fn_cxx_try_compile "$LINENO"; then :
48588 glibcxx_cv_func__log10f_use=yes
48589 else
48590 glibcxx_cv_func__log10f_use=no
48592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48593 ac_ext=c
48594 ac_cpp='$CPP $CPPFLAGS'
48595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
48604 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
48606 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
48607 for ac_func in _log10f
48608 do :
48609 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
48610 if test "x$ac_cv_func__log10f" = x""yes; then :
48611 cat >>confdefs.h <<_ACEOF
48612 #define HAVE__LOG10F 1
48613 _ACEOF
48616 done
48625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
48626 $as_echo_n "checking for modff declaration... " >&6; }
48627 if test x${glibcxx_cv_func_modff_use+set} != xset; then
48628 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
48629 $as_echo_n "(cached) " >&6
48630 else
48633 ac_ext=cpp
48634 ac_cpp='$CXXCPP $CPPFLAGS'
48635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48640 /* end confdefs.h. */
48641 #include <math.h>
48643 main ()
48645 modff(0, 0);
48647 return 0;
48649 _ACEOF
48650 if ac_fn_cxx_try_compile "$LINENO"; then :
48651 glibcxx_cv_func_modff_use=yes
48652 else
48653 glibcxx_cv_func_modff_use=no
48655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48656 ac_ext=c
48657 ac_cpp='$CPP $CPPFLAGS'
48658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
48667 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
48669 if test x$glibcxx_cv_func_modff_use = x"yes"; then
48670 for ac_func in modff
48671 do :
48672 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
48673 if test "x$ac_cv_func_modff" = x""yes; then :
48674 cat >>confdefs.h <<_ACEOF
48675 #define HAVE_MODFF 1
48676 _ACEOF
48679 done
48681 else
48683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
48684 $as_echo_n "checking for _modff declaration... " >&6; }
48685 if test x${glibcxx_cv_func__modff_use+set} != xset; then
48686 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
48687 $as_echo_n "(cached) " >&6
48688 else
48691 ac_ext=cpp
48692 ac_cpp='$CXXCPP $CPPFLAGS'
48693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48698 /* end confdefs.h. */
48699 #include <math.h>
48701 main ()
48703 _modff(0, 0);
48705 return 0;
48707 _ACEOF
48708 if ac_fn_cxx_try_compile "$LINENO"; then :
48709 glibcxx_cv_func__modff_use=yes
48710 else
48711 glibcxx_cv_func__modff_use=no
48713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48714 ac_ext=c
48715 ac_cpp='$CPP $CPPFLAGS'
48716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
48725 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
48727 if test x$glibcxx_cv_func__modff_use = x"yes"; then
48728 for ac_func in _modff
48729 do :
48730 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
48731 if test "x$ac_cv_func__modff" = x""yes; then :
48732 cat >>confdefs.h <<_ACEOF
48733 #define HAVE__MODFF 1
48734 _ACEOF
48737 done
48746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
48747 $as_echo_n "checking for modf declaration... " >&6; }
48748 if test x${glibcxx_cv_func_modf_use+set} != xset; then
48749 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
48750 $as_echo_n "(cached) " >&6
48751 else
48754 ac_ext=cpp
48755 ac_cpp='$CXXCPP $CPPFLAGS'
48756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48761 /* end confdefs.h. */
48762 #include <math.h>
48764 main ()
48766 modf(0, 0);
48768 return 0;
48770 _ACEOF
48771 if ac_fn_cxx_try_compile "$LINENO"; then :
48772 glibcxx_cv_func_modf_use=yes
48773 else
48774 glibcxx_cv_func_modf_use=no
48776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48777 ac_ext=c
48778 ac_cpp='$CPP $CPPFLAGS'
48779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
48788 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
48790 if test x$glibcxx_cv_func_modf_use = x"yes"; then
48791 for ac_func in modf
48792 do :
48793 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
48794 if test "x$ac_cv_func_modf" = x""yes; then :
48795 cat >>confdefs.h <<_ACEOF
48796 #define HAVE_MODF 1
48797 _ACEOF
48800 done
48802 else
48804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
48805 $as_echo_n "checking for _modf declaration... " >&6; }
48806 if test x${glibcxx_cv_func__modf_use+set} != xset; then
48807 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
48808 $as_echo_n "(cached) " >&6
48809 else
48812 ac_ext=cpp
48813 ac_cpp='$CXXCPP $CPPFLAGS'
48814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48819 /* end confdefs.h. */
48820 #include <math.h>
48822 main ()
48824 _modf(0, 0);
48826 return 0;
48828 _ACEOF
48829 if ac_fn_cxx_try_compile "$LINENO"; then :
48830 glibcxx_cv_func__modf_use=yes
48831 else
48832 glibcxx_cv_func__modf_use=no
48834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48835 ac_ext=c
48836 ac_cpp='$CPP $CPPFLAGS'
48837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
48846 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
48848 if test x$glibcxx_cv_func__modf_use = x"yes"; then
48849 for ac_func in _modf
48850 do :
48851 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
48852 if test "x$ac_cv_func__modf" = x""yes; then :
48853 cat >>confdefs.h <<_ACEOF
48854 #define HAVE__MODF 1
48855 _ACEOF
48858 done
48867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
48868 $as_echo_n "checking for powf declaration... " >&6; }
48869 if test x${glibcxx_cv_func_powf_use+set} != xset; then
48870 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
48871 $as_echo_n "(cached) " >&6
48872 else
48875 ac_ext=cpp
48876 ac_cpp='$CXXCPP $CPPFLAGS'
48877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48882 /* end confdefs.h. */
48883 #include <math.h>
48885 main ()
48887 powf(0, 0);
48889 return 0;
48891 _ACEOF
48892 if ac_fn_cxx_try_compile "$LINENO"; then :
48893 glibcxx_cv_func_powf_use=yes
48894 else
48895 glibcxx_cv_func_powf_use=no
48897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48898 ac_ext=c
48899 ac_cpp='$CPP $CPPFLAGS'
48900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
48909 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
48911 if test x$glibcxx_cv_func_powf_use = x"yes"; then
48912 for ac_func in powf
48913 do :
48914 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
48915 if test "x$ac_cv_func_powf" = x""yes; then :
48916 cat >>confdefs.h <<_ACEOF
48917 #define HAVE_POWF 1
48918 _ACEOF
48921 done
48923 else
48925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
48926 $as_echo_n "checking for _powf declaration... " >&6; }
48927 if test x${glibcxx_cv_func__powf_use+set} != xset; then
48928 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
48929 $as_echo_n "(cached) " >&6
48930 else
48933 ac_ext=cpp
48934 ac_cpp='$CXXCPP $CPPFLAGS'
48935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48940 /* end confdefs.h. */
48941 #include <math.h>
48943 main ()
48945 _powf(0, 0);
48947 return 0;
48949 _ACEOF
48950 if ac_fn_cxx_try_compile "$LINENO"; then :
48951 glibcxx_cv_func__powf_use=yes
48952 else
48953 glibcxx_cv_func__powf_use=no
48955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48956 ac_ext=c
48957 ac_cpp='$CPP $CPPFLAGS'
48958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
48967 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
48969 if test x$glibcxx_cv_func__powf_use = x"yes"; then
48970 for ac_func in _powf
48971 do :
48972 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
48973 if test "x$ac_cv_func__powf" = x""yes; then :
48974 cat >>confdefs.h <<_ACEOF
48975 #define HAVE__POWF 1
48976 _ACEOF
48979 done
48988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
48989 $as_echo_n "checking for sqrtf declaration... " >&6; }
48990 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
48991 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
48992 $as_echo_n "(cached) " >&6
48993 else
48996 ac_ext=cpp
48997 ac_cpp='$CXXCPP $CPPFLAGS'
48998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49003 /* end confdefs.h. */
49004 #include <math.h>
49005 #ifdef HAVE_IEEEFP_H
49006 #include <ieeefp.h>
49007 #endif
49010 main ()
49012 sqrtf(0);
49014 return 0;
49016 _ACEOF
49017 if ac_fn_cxx_try_compile "$LINENO"; then :
49018 glibcxx_cv_func_sqrtf_use=yes
49019 else
49020 glibcxx_cv_func_sqrtf_use=no
49022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49023 ac_ext=c
49024 ac_cpp='$CPP $CPPFLAGS'
49025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
49034 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
49036 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
49037 for ac_func in sqrtf
49038 do :
49039 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
49040 if test "x$ac_cv_func_sqrtf" = x""yes; then :
49041 cat >>confdefs.h <<_ACEOF
49042 #define HAVE_SQRTF 1
49043 _ACEOF
49046 done
49048 else
49050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
49051 $as_echo_n "checking for _sqrtf declaration... " >&6; }
49052 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
49053 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
49054 $as_echo_n "(cached) " >&6
49055 else
49058 ac_ext=cpp
49059 ac_cpp='$CXXCPP $CPPFLAGS'
49060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49065 /* end confdefs.h. */
49066 #include <math.h>
49067 #ifdef HAVE_IEEEFP_H
49068 #include <ieeefp.h>
49069 #endif
49072 main ()
49074 _sqrtf(0);
49076 return 0;
49078 _ACEOF
49079 if ac_fn_cxx_try_compile "$LINENO"; then :
49080 glibcxx_cv_func__sqrtf_use=yes
49081 else
49082 glibcxx_cv_func__sqrtf_use=no
49084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49085 ac_ext=c
49086 ac_cpp='$CPP $CPPFLAGS'
49087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
49096 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
49098 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
49099 for ac_func in _sqrtf
49100 do :
49101 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
49102 if test "x$ac_cv_func__sqrtf" = x""yes; then :
49103 cat >>confdefs.h <<_ACEOF
49104 #define HAVE__SQRTF 1
49105 _ACEOF
49108 done
49117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
49118 $as_echo_n "checking for sincosf declaration... " >&6; }
49119 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
49120 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
49121 $as_echo_n "(cached) " >&6
49122 else
49125 ac_ext=cpp
49126 ac_cpp='$CXXCPP $CPPFLAGS'
49127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49132 /* end confdefs.h. */
49133 #include <math.h>
49135 main ()
49137 sincosf(0, 0, 0);
49139 return 0;
49141 _ACEOF
49142 if ac_fn_cxx_try_compile "$LINENO"; then :
49143 glibcxx_cv_func_sincosf_use=yes
49144 else
49145 glibcxx_cv_func_sincosf_use=no
49147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49148 ac_ext=c
49149 ac_cpp='$CPP $CPPFLAGS'
49150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
49159 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
49161 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
49162 for ac_func in sincosf
49163 do :
49164 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
49165 if test "x$ac_cv_func_sincosf" = x""yes; then :
49166 cat >>confdefs.h <<_ACEOF
49167 #define HAVE_SINCOSF 1
49168 _ACEOF
49171 done
49173 else
49175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
49176 $as_echo_n "checking for _sincosf declaration... " >&6; }
49177 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
49178 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
49179 $as_echo_n "(cached) " >&6
49180 else
49183 ac_ext=cpp
49184 ac_cpp='$CXXCPP $CPPFLAGS'
49185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49190 /* end confdefs.h. */
49191 #include <math.h>
49193 main ()
49195 _sincosf(0, 0, 0);
49197 return 0;
49199 _ACEOF
49200 if ac_fn_cxx_try_compile "$LINENO"; then :
49201 glibcxx_cv_func__sincosf_use=yes
49202 else
49203 glibcxx_cv_func__sincosf_use=no
49205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49206 ac_ext=c
49207 ac_cpp='$CPP $CPPFLAGS'
49208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
49217 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
49219 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
49220 for ac_func in _sincosf
49221 do :
49222 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
49223 if test "x$ac_cv_func__sincosf" = x""yes; then :
49224 cat >>confdefs.h <<_ACEOF
49225 #define HAVE__SINCOSF 1
49226 _ACEOF
49229 done
49238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
49239 $as_echo_n "checking for finitef declaration... " >&6; }
49240 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
49241 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
49242 $as_echo_n "(cached) " >&6
49243 else
49246 ac_ext=cpp
49247 ac_cpp='$CXXCPP $CPPFLAGS'
49248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49253 /* end confdefs.h. */
49254 #include <math.h>
49255 #ifdef HAVE_IEEEFP_H
49256 #include <ieeefp.h>
49257 #endif
49260 main ()
49262 finitef(0);
49264 return 0;
49266 _ACEOF
49267 if ac_fn_cxx_try_compile "$LINENO"; then :
49268 glibcxx_cv_func_finitef_use=yes
49269 else
49270 glibcxx_cv_func_finitef_use=no
49272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49273 ac_ext=c
49274 ac_cpp='$CPP $CPPFLAGS'
49275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
49284 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
49286 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
49287 for ac_func in finitef
49288 do :
49289 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
49290 if test "x$ac_cv_func_finitef" = x""yes; then :
49291 cat >>confdefs.h <<_ACEOF
49292 #define HAVE_FINITEF 1
49293 _ACEOF
49296 done
49298 else
49300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
49301 $as_echo_n "checking for _finitef declaration... " >&6; }
49302 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
49303 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
49304 $as_echo_n "(cached) " >&6
49305 else
49308 ac_ext=cpp
49309 ac_cpp='$CXXCPP $CPPFLAGS'
49310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49315 /* end confdefs.h. */
49316 #include <math.h>
49317 #ifdef HAVE_IEEEFP_H
49318 #include <ieeefp.h>
49319 #endif
49322 main ()
49324 _finitef(0);
49326 return 0;
49328 _ACEOF
49329 if ac_fn_cxx_try_compile "$LINENO"; then :
49330 glibcxx_cv_func__finitef_use=yes
49331 else
49332 glibcxx_cv_func__finitef_use=no
49334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49335 ac_ext=c
49336 ac_cpp='$CPP $CPPFLAGS'
49337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
49346 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
49348 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
49349 for ac_func in _finitef
49350 do :
49351 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
49352 if test "x$ac_cv_func__finitef" = x""yes; then :
49353 cat >>confdefs.h <<_ACEOF
49354 #define HAVE__FINITEF 1
49355 _ACEOF
49358 done
49367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
49368 $as_echo_n "checking for long double trig functions... " >&6; }
49369 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
49370 $as_echo_n "(cached) " >&6
49371 else
49374 ac_ext=cpp
49375 ac_cpp='$CXXCPP $CPPFLAGS'
49376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49381 /* end confdefs.h. */
49382 #include <math.h>
49384 main ()
49386 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
49388 return 0;
49390 _ACEOF
49391 if ac_fn_cxx_try_compile "$LINENO"; then :
49392 glibcxx_cv_func_long_double_trig_use=yes
49393 else
49394 glibcxx_cv_func_long_double_trig_use=no
49396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49397 ac_ext=c
49398 ac_cpp='$CPP $CPPFLAGS'
49399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
49406 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
49407 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
49408 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
49409 do :
49410 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49411 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49412 eval as_val=\$$as_ac_var
49413 if test "x$as_val" = x""yes; then :
49414 cat >>confdefs.h <<_ACEOF
49415 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49416 _ACEOF
49419 done
49421 else
49422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
49423 $as_echo_n "checking for _long double trig functions... " >&6; }
49424 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
49425 $as_echo_n "(cached) " >&6
49426 else
49429 ac_ext=cpp
49430 ac_cpp='$CXXCPP $CPPFLAGS'
49431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49436 /* end confdefs.h. */
49437 #include <math.h>
49439 main ()
49441 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
49443 return 0;
49445 _ACEOF
49446 if ac_fn_cxx_try_compile "$LINENO"; then :
49447 glibcxx_cv_func__long_double_trig_use=yes
49448 else
49449 glibcxx_cv_func__long_double_trig_use=no
49451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49452 ac_ext=c
49453 ac_cpp='$CPP $CPPFLAGS'
49454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
49461 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
49462 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
49463 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
49464 do :
49465 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49466 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49467 eval as_val=\$$as_ac_var
49468 if test "x$as_val" = x""yes; then :
49469 cat >>confdefs.h <<_ACEOF
49470 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49471 _ACEOF
49474 done
49483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
49484 $as_echo_n "checking for long double round functions... " >&6; }
49485 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
49486 $as_echo_n "(cached) " >&6
49487 else
49490 ac_ext=cpp
49491 ac_cpp='$CXXCPP $CPPFLAGS'
49492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49497 /* end confdefs.h. */
49498 #include <math.h>
49500 main ()
49502 ceill (0); floorl (0);
49504 return 0;
49506 _ACEOF
49507 if ac_fn_cxx_try_compile "$LINENO"; then :
49508 glibcxx_cv_func_long_double_round_use=yes
49509 else
49510 glibcxx_cv_func_long_double_round_use=no
49512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49513 ac_ext=c
49514 ac_cpp='$CPP $CPPFLAGS'
49515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
49522 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
49523 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
49524 for ac_func in ceill floorl
49525 do :
49526 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49527 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49528 eval as_val=\$$as_ac_var
49529 if test "x$as_val" = x""yes; then :
49530 cat >>confdefs.h <<_ACEOF
49531 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49532 _ACEOF
49535 done
49537 else
49538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
49539 $as_echo_n "checking for _long double round functions... " >&6; }
49540 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
49541 $as_echo_n "(cached) " >&6
49542 else
49545 ac_ext=cpp
49546 ac_cpp='$CXXCPP $CPPFLAGS'
49547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49552 /* end confdefs.h. */
49553 #include <math.h>
49555 main ()
49557 _ceill (0); _floorl (0);
49559 return 0;
49561 _ACEOF
49562 if ac_fn_cxx_try_compile "$LINENO"; then :
49563 glibcxx_cv_func__long_double_round_use=yes
49564 else
49565 glibcxx_cv_func__long_double_round_use=no
49567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49568 ac_ext=c
49569 ac_cpp='$CPP $CPPFLAGS'
49570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
49577 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
49578 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
49579 for ac_func in _ceill _floorl
49580 do :
49581 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49582 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49583 eval as_val=\$$as_ac_var
49584 if test "x$as_val" = x""yes; then :
49585 cat >>confdefs.h <<_ACEOF
49586 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49587 _ACEOF
49590 done
49600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
49601 $as_echo_n "checking for isnanl declaration... " >&6; }
49602 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
49603 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
49604 $as_echo_n "(cached) " >&6
49605 else
49608 ac_ext=cpp
49609 ac_cpp='$CXXCPP $CPPFLAGS'
49610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49615 /* end confdefs.h. */
49616 #include <math.h>
49617 #ifdef HAVE_IEEEFP_H
49618 #include <ieeefp.h>
49619 #endif
49622 main ()
49624 isnanl(0);
49626 return 0;
49628 _ACEOF
49629 if ac_fn_cxx_try_compile "$LINENO"; then :
49630 glibcxx_cv_func_isnanl_use=yes
49631 else
49632 glibcxx_cv_func_isnanl_use=no
49634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49635 ac_ext=c
49636 ac_cpp='$CPP $CPPFLAGS'
49637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
49646 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
49648 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
49649 for ac_func in isnanl
49650 do :
49651 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
49652 if test "x$ac_cv_func_isnanl" = x""yes; then :
49653 cat >>confdefs.h <<_ACEOF
49654 #define HAVE_ISNANL 1
49655 _ACEOF
49658 done
49660 else
49662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
49663 $as_echo_n "checking for _isnanl declaration... " >&6; }
49664 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
49665 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
49666 $as_echo_n "(cached) " >&6
49667 else
49670 ac_ext=cpp
49671 ac_cpp='$CXXCPP $CPPFLAGS'
49672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49677 /* end confdefs.h. */
49678 #include <math.h>
49679 #ifdef HAVE_IEEEFP_H
49680 #include <ieeefp.h>
49681 #endif
49684 main ()
49686 _isnanl(0);
49688 return 0;
49690 _ACEOF
49691 if ac_fn_cxx_try_compile "$LINENO"; then :
49692 glibcxx_cv_func__isnanl_use=yes
49693 else
49694 glibcxx_cv_func__isnanl_use=no
49696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49697 ac_ext=c
49698 ac_cpp='$CPP $CPPFLAGS'
49699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
49708 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
49710 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
49711 for ac_func in _isnanl
49712 do :
49713 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
49714 if test "x$ac_cv_func__isnanl" = x""yes; then :
49715 cat >>confdefs.h <<_ACEOF
49716 #define HAVE__ISNANL 1
49717 _ACEOF
49720 done
49729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
49730 $as_echo_n "checking for isinfl declaration... " >&6; }
49731 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
49732 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
49733 $as_echo_n "(cached) " >&6
49734 else
49737 ac_ext=cpp
49738 ac_cpp='$CXXCPP $CPPFLAGS'
49739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49744 /* end confdefs.h. */
49745 #include <math.h>
49746 #ifdef HAVE_IEEEFP_H
49747 #include <ieeefp.h>
49748 #endif
49751 main ()
49753 isinfl(0);
49755 return 0;
49757 _ACEOF
49758 if ac_fn_cxx_try_compile "$LINENO"; then :
49759 glibcxx_cv_func_isinfl_use=yes
49760 else
49761 glibcxx_cv_func_isinfl_use=no
49763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49764 ac_ext=c
49765 ac_cpp='$CPP $CPPFLAGS'
49766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
49775 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
49777 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
49778 for ac_func in isinfl
49779 do :
49780 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
49781 if test "x$ac_cv_func_isinfl" = x""yes; then :
49782 cat >>confdefs.h <<_ACEOF
49783 #define HAVE_ISINFL 1
49784 _ACEOF
49787 done
49789 else
49791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
49792 $as_echo_n "checking for _isinfl declaration... " >&6; }
49793 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
49794 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
49795 $as_echo_n "(cached) " >&6
49796 else
49799 ac_ext=cpp
49800 ac_cpp='$CXXCPP $CPPFLAGS'
49801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49806 /* end confdefs.h. */
49807 #include <math.h>
49808 #ifdef HAVE_IEEEFP_H
49809 #include <ieeefp.h>
49810 #endif
49813 main ()
49815 _isinfl(0);
49817 return 0;
49819 _ACEOF
49820 if ac_fn_cxx_try_compile "$LINENO"; then :
49821 glibcxx_cv_func__isinfl_use=yes
49822 else
49823 glibcxx_cv_func__isinfl_use=no
49825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49826 ac_ext=c
49827 ac_cpp='$CPP $CPPFLAGS'
49828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
49837 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
49839 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
49840 for ac_func in _isinfl
49841 do :
49842 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
49843 if test "x$ac_cv_func__isinfl" = x""yes; then :
49844 cat >>confdefs.h <<_ACEOF
49845 #define HAVE__ISINFL 1
49846 _ACEOF
49849 done
49858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
49859 $as_echo_n "checking for atan2l declaration... " >&6; }
49860 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
49861 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
49862 $as_echo_n "(cached) " >&6
49863 else
49866 ac_ext=cpp
49867 ac_cpp='$CXXCPP $CPPFLAGS'
49868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49873 /* end confdefs.h. */
49874 #include <math.h>
49876 main ()
49878 atan2l(0, 0);
49880 return 0;
49882 _ACEOF
49883 if ac_fn_cxx_try_compile "$LINENO"; then :
49884 glibcxx_cv_func_atan2l_use=yes
49885 else
49886 glibcxx_cv_func_atan2l_use=no
49888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49889 ac_ext=c
49890 ac_cpp='$CPP $CPPFLAGS'
49891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
49900 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
49902 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
49903 for ac_func in atan2l
49904 do :
49905 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
49906 if test "x$ac_cv_func_atan2l" = x""yes; then :
49907 cat >>confdefs.h <<_ACEOF
49908 #define HAVE_ATAN2L 1
49909 _ACEOF
49912 done
49914 else
49916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
49917 $as_echo_n "checking for _atan2l declaration... " >&6; }
49918 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
49919 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
49920 $as_echo_n "(cached) " >&6
49921 else
49924 ac_ext=cpp
49925 ac_cpp='$CXXCPP $CPPFLAGS'
49926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49931 /* end confdefs.h. */
49932 #include <math.h>
49934 main ()
49936 _atan2l(0, 0);
49938 return 0;
49940 _ACEOF
49941 if ac_fn_cxx_try_compile "$LINENO"; then :
49942 glibcxx_cv_func__atan2l_use=yes
49943 else
49944 glibcxx_cv_func__atan2l_use=no
49946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49947 ac_ext=c
49948 ac_cpp='$CPP $CPPFLAGS'
49949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
49958 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
49960 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
49961 for ac_func in _atan2l
49962 do :
49963 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
49964 if test "x$ac_cv_func__atan2l" = x""yes; then :
49965 cat >>confdefs.h <<_ACEOF
49966 #define HAVE__ATAN2L 1
49967 _ACEOF
49970 done
49979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
49980 $as_echo_n "checking for expl declaration... " >&6; }
49981 if test x${glibcxx_cv_func_expl_use+set} != xset; then
49982 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
49983 $as_echo_n "(cached) " >&6
49984 else
49987 ac_ext=cpp
49988 ac_cpp='$CXXCPP $CPPFLAGS'
49989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49994 /* end confdefs.h. */
49995 #include <math.h>
49996 #ifdef HAVE_IEEEFP_H
49997 #include <ieeefp.h>
49998 #endif
50001 main ()
50003 expl(0);
50005 return 0;
50007 _ACEOF
50008 if ac_fn_cxx_try_compile "$LINENO"; then :
50009 glibcxx_cv_func_expl_use=yes
50010 else
50011 glibcxx_cv_func_expl_use=no
50013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50014 ac_ext=c
50015 ac_cpp='$CPP $CPPFLAGS'
50016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
50025 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
50027 if test x$glibcxx_cv_func_expl_use = x"yes"; then
50028 for ac_func in expl
50029 do :
50030 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
50031 if test "x$ac_cv_func_expl" = x""yes; then :
50032 cat >>confdefs.h <<_ACEOF
50033 #define HAVE_EXPL 1
50034 _ACEOF
50037 done
50039 else
50041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
50042 $as_echo_n "checking for _expl declaration... " >&6; }
50043 if test x${glibcxx_cv_func__expl_use+set} != xset; then
50044 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
50045 $as_echo_n "(cached) " >&6
50046 else
50049 ac_ext=cpp
50050 ac_cpp='$CXXCPP $CPPFLAGS'
50051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50056 /* end confdefs.h. */
50057 #include <math.h>
50058 #ifdef HAVE_IEEEFP_H
50059 #include <ieeefp.h>
50060 #endif
50063 main ()
50065 _expl(0);
50067 return 0;
50069 _ACEOF
50070 if ac_fn_cxx_try_compile "$LINENO"; then :
50071 glibcxx_cv_func__expl_use=yes
50072 else
50073 glibcxx_cv_func__expl_use=no
50075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50076 ac_ext=c
50077 ac_cpp='$CPP $CPPFLAGS'
50078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
50087 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
50089 if test x$glibcxx_cv_func__expl_use = x"yes"; then
50090 for ac_func in _expl
50091 do :
50092 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
50093 if test "x$ac_cv_func__expl" = x""yes; then :
50094 cat >>confdefs.h <<_ACEOF
50095 #define HAVE__EXPL 1
50096 _ACEOF
50099 done
50108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
50109 $as_echo_n "checking for fabsl declaration... " >&6; }
50110 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
50111 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
50112 $as_echo_n "(cached) " >&6
50113 else
50116 ac_ext=cpp
50117 ac_cpp='$CXXCPP $CPPFLAGS'
50118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50123 /* end confdefs.h. */
50124 #include <math.h>
50125 #ifdef HAVE_IEEEFP_H
50126 #include <ieeefp.h>
50127 #endif
50130 main ()
50132 fabsl(0);
50134 return 0;
50136 _ACEOF
50137 if ac_fn_cxx_try_compile "$LINENO"; then :
50138 glibcxx_cv_func_fabsl_use=yes
50139 else
50140 glibcxx_cv_func_fabsl_use=no
50142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50143 ac_ext=c
50144 ac_cpp='$CPP $CPPFLAGS'
50145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
50154 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
50156 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
50157 for ac_func in fabsl
50158 do :
50159 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
50160 if test "x$ac_cv_func_fabsl" = x""yes; then :
50161 cat >>confdefs.h <<_ACEOF
50162 #define HAVE_FABSL 1
50163 _ACEOF
50166 done
50168 else
50170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
50171 $as_echo_n "checking for _fabsl declaration... " >&6; }
50172 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
50173 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
50174 $as_echo_n "(cached) " >&6
50175 else
50178 ac_ext=cpp
50179 ac_cpp='$CXXCPP $CPPFLAGS'
50180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50185 /* end confdefs.h. */
50186 #include <math.h>
50187 #ifdef HAVE_IEEEFP_H
50188 #include <ieeefp.h>
50189 #endif
50192 main ()
50194 _fabsl(0);
50196 return 0;
50198 _ACEOF
50199 if ac_fn_cxx_try_compile "$LINENO"; then :
50200 glibcxx_cv_func__fabsl_use=yes
50201 else
50202 glibcxx_cv_func__fabsl_use=no
50204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50205 ac_ext=c
50206 ac_cpp='$CPP $CPPFLAGS'
50207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
50216 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
50218 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
50219 for ac_func in _fabsl
50220 do :
50221 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
50222 if test "x$ac_cv_func__fabsl" = x""yes; then :
50223 cat >>confdefs.h <<_ACEOF
50224 #define HAVE__FABSL 1
50225 _ACEOF
50228 done
50237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
50238 $as_echo_n "checking for fmodl declaration... " >&6; }
50239 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
50240 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
50241 $as_echo_n "(cached) " >&6
50242 else
50245 ac_ext=cpp
50246 ac_cpp='$CXXCPP $CPPFLAGS'
50247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50252 /* end confdefs.h. */
50253 #include <math.h>
50255 main ()
50257 fmodl(0, 0);
50259 return 0;
50261 _ACEOF
50262 if ac_fn_cxx_try_compile "$LINENO"; then :
50263 glibcxx_cv_func_fmodl_use=yes
50264 else
50265 glibcxx_cv_func_fmodl_use=no
50267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50268 ac_ext=c
50269 ac_cpp='$CPP $CPPFLAGS'
50270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
50279 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
50281 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
50282 for ac_func in fmodl
50283 do :
50284 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
50285 if test "x$ac_cv_func_fmodl" = x""yes; then :
50286 cat >>confdefs.h <<_ACEOF
50287 #define HAVE_FMODL 1
50288 _ACEOF
50291 done
50293 else
50295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
50296 $as_echo_n "checking for _fmodl declaration... " >&6; }
50297 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
50298 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
50299 $as_echo_n "(cached) " >&6
50300 else
50303 ac_ext=cpp
50304 ac_cpp='$CXXCPP $CPPFLAGS'
50305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50310 /* end confdefs.h. */
50311 #include <math.h>
50313 main ()
50315 _fmodl(0, 0);
50317 return 0;
50319 _ACEOF
50320 if ac_fn_cxx_try_compile "$LINENO"; then :
50321 glibcxx_cv_func__fmodl_use=yes
50322 else
50323 glibcxx_cv_func__fmodl_use=no
50325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50326 ac_ext=c
50327 ac_cpp='$CPP $CPPFLAGS'
50328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
50337 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
50339 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
50340 for ac_func in _fmodl
50341 do :
50342 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
50343 if test "x$ac_cv_func__fmodl" = x""yes; then :
50344 cat >>confdefs.h <<_ACEOF
50345 #define HAVE__FMODL 1
50346 _ACEOF
50349 done
50358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
50359 $as_echo_n "checking for frexpl declaration... " >&6; }
50360 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
50361 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
50362 $as_echo_n "(cached) " >&6
50363 else
50366 ac_ext=cpp
50367 ac_cpp='$CXXCPP $CPPFLAGS'
50368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50373 /* end confdefs.h. */
50374 #include <math.h>
50376 main ()
50378 frexpl(0, 0);
50380 return 0;
50382 _ACEOF
50383 if ac_fn_cxx_try_compile "$LINENO"; then :
50384 glibcxx_cv_func_frexpl_use=yes
50385 else
50386 glibcxx_cv_func_frexpl_use=no
50388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50389 ac_ext=c
50390 ac_cpp='$CPP $CPPFLAGS'
50391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
50400 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
50402 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
50403 for ac_func in frexpl
50404 do :
50405 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
50406 if test "x$ac_cv_func_frexpl" = x""yes; then :
50407 cat >>confdefs.h <<_ACEOF
50408 #define HAVE_FREXPL 1
50409 _ACEOF
50412 done
50414 else
50416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
50417 $as_echo_n "checking for _frexpl declaration... " >&6; }
50418 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
50419 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
50420 $as_echo_n "(cached) " >&6
50421 else
50424 ac_ext=cpp
50425 ac_cpp='$CXXCPP $CPPFLAGS'
50426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50431 /* end confdefs.h. */
50432 #include <math.h>
50434 main ()
50436 _frexpl(0, 0);
50438 return 0;
50440 _ACEOF
50441 if ac_fn_cxx_try_compile "$LINENO"; then :
50442 glibcxx_cv_func__frexpl_use=yes
50443 else
50444 glibcxx_cv_func__frexpl_use=no
50446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50447 ac_ext=c
50448 ac_cpp='$CPP $CPPFLAGS'
50449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
50458 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
50460 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
50461 for ac_func in _frexpl
50462 do :
50463 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
50464 if test "x$ac_cv_func__frexpl" = x""yes; then :
50465 cat >>confdefs.h <<_ACEOF
50466 #define HAVE__FREXPL 1
50467 _ACEOF
50470 done
50479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
50480 $as_echo_n "checking for hypotl declaration... " >&6; }
50481 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
50482 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
50483 $as_echo_n "(cached) " >&6
50484 else
50487 ac_ext=cpp
50488 ac_cpp='$CXXCPP $CPPFLAGS'
50489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50494 /* end confdefs.h. */
50495 #include <math.h>
50497 main ()
50499 hypotl(0, 0);
50501 return 0;
50503 _ACEOF
50504 if ac_fn_cxx_try_compile "$LINENO"; then :
50505 glibcxx_cv_func_hypotl_use=yes
50506 else
50507 glibcxx_cv_func_hypotl_use=no
50509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50510 ac_ext=c
50511 ac_cpp='$CPP $CPPFLAGS'
50512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
50521 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
50523 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
50524 for ac_func in hypotl
50525 do :
50526 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
50527 if test "x$ac_cv_func_hypotl" = x""yes; then :
50528 cat >>confdefs.h <<_ACEOF
50529 #define HAVE_HYPOTL 1
50530 _ACEOF
50533 done
50535 else
50537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
50538 $as_echo_n "checking for _hypotl declaration... " >&6; }
50539 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
50540 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
50541 $as_echo_n "(cached) " >&6
50542 else
50545 ac_ext=cpp
50546 ac_cpp='$CXXCPP $CPPFLAGS'
50547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50552 /* end confdefs.h. */
50553 #include <math.h>
50555 main ()
50557 _hypotl(0, 0);
50559 return 0;
50561 _ACEOF
50562 if ac_fn_cxx_try_compile "$LINENO"; then :
50563 glibcxx_cv_func__hypotl_use=yes
50564 else
50565 glibcxx_cv_func__hypotl_use=no
50567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50568 ac_ext=c
50569 ac_cpp='$CPP $CPPFLAGS'
50570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
50579 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
50581 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
50582 for ac_func in _hypotl
50583 do :
50584 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
50585 if test "x$ac_cv_func__hypotl" = x""yes; then :
50586 cat >>confdefs.h <<_ACEOF
50587 #define HAVE__HYPOTL 1
50588 _ACEOF
50591 done
50600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
50601 $as_echo_n "checking for ldexpl declaration... " >&6; }
50602 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
50603 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
50604 $as_echo_n "(cached) " >&6
50605 else
50608 ac_ext=cpp
50609 ac_cpp='$CXXCPP $CPPFLAGS'
50610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50615 /* end confdefs.h. */
50616 #include <math.h>
50618 main ()
50620 ldexpl(0, 0);
50622 return 0;
50624 _ACEOF
50625 if ac_fn_cxx_try_compile "$LINENO"; then :
50626 glibcxx_cv_func_ldexpl_use=yes
50627 else
50628 glibcxx_cv_func_ldexpl_use=no
50630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50631 ac_ext=c
50632 ac_cpp='$CPP $CPPFLAGS'
50633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
50642 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
50644 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
50645 for ac_func in ldexpl
50646 do :
50647 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
50648 if test "x$ac_cv_func_ldexpl" = x""yes; then :
50649 cat >>confdefs.h <<_ACEOF
50650 #define HAVE_LDEXPL 1
50651 _ACEOF
50654 done
50656 else
50658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
50659 $as_echo_n "checking for _ldexpl declaration... " >&6; }
50660 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
50661 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
50662 $as_echo_n "(cached) " >&6
50663 else
50666 ac_ext=cpp
50667 ac_cpp='$CXXCPP $CPPFLAGS'
50668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50673 /* end confdefs.h. */
50674 #include <math.h>
50676 main ()
50678 _ldexpl(0, 0);
50680 return 0;
50682 _ACEOF
50683 if ac_fn_cxx_try_compile "$LINENO"; then :
50684 glibcxx_cv_func__ldexpl_use=yes
50685 else
50686 glibcxx_cv_func__ldexpl_use=no
50688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50689 ac_ext=c
50690 ac_cpp='$CPP $CPPFLAGS'
50691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
50700 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
50702 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
50703 for ac_func in _ldexpl
50704 do :
50705 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
50706 if test "x$ac_cv_func__ldexpl" = x""yes; then :
50707 cat >>confdefs.h <<_ACEOF
50708 #define HAVE__LDEXPL 1
50709 _ACEOF
50712 done
50721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
50722 $as_echo_n "checking for logl declaration... " >&6; }
50723 if test x${glibcxx_cv_func_logl_use+set} != xset; then
50724 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
50725 $as_echo_n "(cached) " >&6
50726 else
50729 ac_ext=cpp
50730 ac_cpp='$CXXCPP $CPPFLAGS'
50731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50736 /* end confdefs.h. */
50737 #include <math.h>
50738 #ifdef HAVE_IEEEFP_H
50739 #include <ieeefp.h>
50740 #endif
50743 main ()
50745 logl(0);
50747 return 0;
50749 _ACEOF
50750 if ac_fn_cxx_try_compile "$LINENO"; then :
50751 glibcxx_cv_func_logl_use=yes
50752 else
50753 glibcxx_cv_func_logl_use=no
50755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50756 ac_ext=c
50757 ac_cpp='$CPP $CPPFLAGS'
50758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
50767 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
50769 if test x$glibcxx_cv_func_logl_use = x"yes"; then
50770 for ac_func in logl
50771 do :
50772 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
50773 if test "x$ac_cv_func_logl" = x""yes; then :
50774 cat >>confdefs.h <<_ACEOF
50775 #define HAVE_LOGL 1
50776 _ACEOF
50779 done
50781 else
50783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
50784 $as_echo_n "checking for _logl declaration... " >&6; }
50785 if test x${glibcxx_cv_func__logl_use+set} != xset; then
50786 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
50787 $as_echo_n "(cached) " >&6
50788 else
50791 ac_ext=cpp
50792 ac_cpp='$CXXCPP $CPPFLAGS'
50793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50798 /* end confdefs.h. */
50799 #include <math.h>
50800 #ifdef HAVE_IEEEFP_H
50801 #include <ieeefp.h>
50802 #endif
50805 main ()
50807 _logl(0);
50809 return 0;
50811 _ACEOF
50812 if ac_fn_cxx_try_compile "$LINENO"; then :
50813 glibcxx_cv_func__logl_use=yes
50814 else
50815 glibcxx_cv_func__logl_use=no
50817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50818 ac_ext=c
50819 ac_cpp='$CPP $CPPFLAGS'
50820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
50829 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
50831 if test x$glibcxx_cv_func__logl_use = x"yes"; then
50832 for ac_func in _logl
50833 do :
50834 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
50835 if test "x$ac_cv_func__logl" = x""yes; then :
50836 cat >>confdefs.h <<_ACEOF
50837 #define HAVE__LOGL 1
50838 _ACEOF
50841 done
50850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
50851 $as_echo_n "checking for log10l declaration... " >&6; }
50852 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
50853 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
50854 $as_echo_n "(cached) " >&6
50855 else
50858 ac_ext=cpp
50859 ac_cpp='$CXXCPP $CPPFLAGS'
50860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50865 /* end confdefs.h. */
50866 #include <math.h>
50867 #ifdef HAVE_IEEEFP_H
50868 #include <ieeefp.h>
50869 #endif
50872 main ()
50874 log10l(0);
50876 return 0;
50878 _ACEOF
50879 if ac_fn_cxx_try_compile "$LINENO"; then :
50880 glibcxx_cv_func_log10l_use=yes
50881 else
50882 glibcxx_cv_func_log10l_use=no
50884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50885 ac_ext=c
50886 ac_cpp='$CPP $CPPFLAGS'
50887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
50896 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
50898 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
50899 for ac_func in log10l
50900 do :
50901 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
50902 if test "x$ac_cv_func_log10l" = x""yes; then :
50903 cat >>confdefs.h <<_ACEOF
50904 #define HAVE_LOG10L 1
50905 _ACEOF
50908 done
50910 else
50912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
50913 $as_echo_n "checking for _log10l declaration... " >&6; }
50914 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
50915 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
50916 $as_echo_n "(cached) " >&6
50917 else
50920 ac_ext=cpp
50921 ac_cpp='$CXXCPP $CPPFLAGS'
50922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50927 /* end confdefs.h. */
50928 #include <math.h>
50929 #ifdef HAVE_IEEEFP_H
50930 #include <ieeefp.h>
50931 #endif
50934 main ()
50936 _log10l(0);
50938 return 0;
50940 _ACEOF
50941 if ac_fn_cxx_try_compile "$LINENO"; then :
50942 glibcxx_cv_func__log10l_use=yes
50943 else
50944 glibcxx_cv_func__log10l_use=no
50946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50947 ac_ext=c
50948 ac_cpp='$CPP $CPPFLAGS'
50949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
50958 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
50960 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
50961 for ac_func in _log10l
50962 do :
50963 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
50964 if test "x$ac_cv_func__log10l" = x""yes; then :
50965 cat >>confdefs.h <<_ACEOF
50966 #define HAVE__LOG10L 1
50967 _ACEOF
50970 done
50979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
50980 $as_echo_n "checking for modfl declaration... " >&6; }
50981 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
50982 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
50983 $as_echo_n "(cached) " >&6
50984 else
50987 ac_ext=cpp
50988 ac_cpp='$CXXCPP $CPPFLAGS'
50989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50994 /* end confdefs.h. */
50995 #include <math.h>
50997 main ()
50999 modfl(0, 0);
51001 return 0;
51003 _ACEOF
51004 if ac_fn_cxx_try_compile "$LINENO"; then :
51005 glibcxx_cv_func_modfl_use=yes
51006 else
51007 glibcxx_cv_func_modfl_use=no
51009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51010 ac_ext=c
51011 ac_cpp='$CPP $CPPFLAGS'
51012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
51021 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
51023 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
51024 for ac_func in modfl
51025 do :
51026 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
51027 if test "x$ac_cv_func_modfl" = x""yes; then :
51028 cat >>confdefs.h <<_ACEOF
51029 #define HAVE_MODFL 1
51030 _ACEOF
51033 done
51035 else
51037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
51038 $as_echo_n "checking for _modfl declaration... " >&6; }
51039 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
51040 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
51041 $as_echo_n "(cached) " >&6
51042 else
51045 ac_ext=cpp
51046 ac_cpp='$CXXCPP $CPPFLAGS'
51047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51052 /* end confdefs.h. */
51053 #include <math.h>
51055 main ()
51057 _modfl(0, 0);
51059 return 0;
51061 _ACEOF
51062 if ac_fn_cxx_try_compile "$LINENO"; then :
51063 glibcxx_cv_func__modfl_use=yes
51064 else
51065 glibcxx_cv_func__modfl_use=no
51067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51068 ac_ext=c
51069 ac_cpp='$CPP $CPPFLAGS'
51070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
51079 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
51081 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
51082 for ac_func in _modfl
51083 do :
51084 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
51085 if test "x$ac_cv_func__modfl" = x""yes; then :
51086 cat >>confdefs.h <<_ACEOF
51087 #define HAVE__MODFL 1
51088 _ACEOF
51091 done
51100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
51101 $as_echo_n "checking for powl declaration... " >&6; }
51102 if test x${glibcxx_cv_func_powl_use+set} != xset; then
51103 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
51104 $as_echo_n "(cached) " >&6
51105 else
51108 ac_ext=cpp
51109 ac_cpp='$CXXCPP $CPPFLAGS'
51110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51115 /* end confdefs.h. */
51116 #include <math.h>
51118 main ()
51120 powl(0, 0);
51122 return 0;
51124 _ACEOF
51125 if ac_fn_cxx_try_compile "$LINENO"; then :
51126 glibcxx_cv_func_powl_use=yes
51127 else
51128 glibcxx_cv_func_powl_use=no
51130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51131 ac_ext=c
51132 ac_cpp='$CPP $CPPFLAGS'
51133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
51142 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
51144 if test x$glibcxx_cv_func_powl_use = x"yes"; then
51145 for ac_func in powl
51146 do :
51147 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
51148 if test "x$ac_cv_func_powl" = x""yes; then :
51149 cat >>confdefs.h <<_ACEOF
51150 #define HAVE_POWL 1
51151 _ACEOF
51154 done
51156 else
51158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
51159 $as_echo_n "checking for _powl declaration... " >&6; }
51160 if test x${glibcxx_cv_func__powl_use+set} != xset; then
51161 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
51162 $as_echo_n "(cached) " >&6
51163 else
51166 ac_ext=cpp
51167 ac_cpp='$CXXCPP $CPPFLAGS'
51168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51173 /* end confdefs.h. */
51174 #include <math.h>
51176 main ()
51178 _powl(0, 0);
51180 return 0;
51182 _ACEOF
51183 if ac_fn_cxx_try_compile "$LINENO"; then :
51184 glibcxx_cv_func__powl_use=yes
51185 else
51186 glibcxx_cv_func__powl_use=no
51188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51189 ac_ext=c
51190 ac_cpp='$CPP $CPPFLAGS'
51191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
51200 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
51202 if test x$glibcxx_cv_func__powl_use = x"yes"; then
51203 for ac_func in _powl
51204 do :
51205 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
51206 if test "x$ac_cv_func__powl" = x""yes; then :
51207 cat >>confdefs.h <<_ACEOF
51208 #define HAVE__POWL 1
51209 _ACEOF
51212 done
51221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
51222 $as_echo_n "checking for sqrtl declaration... " >&6; }
51223 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
51224 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
51225 $as_echo_n "(cached) " >&6
51226 else
51229 ac_ext=cpp
51230 ac_cpp='$CXXCPP $CPPFLAGS'
51231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51236 /* end confdefs.h. */
51237 #include <math.h>
51238 #ifdef HAVE_IEEEFP_H
51239 #include <ieeefp.h>
51240 #endif
51243 main ()
51245 sqrtl(0);
51247 return 0;
51249 _ACEOF
51250 if ac_fn_cxx_try_compile "$LINENO"; then :
51251 glibcxx_cv_func_sqrtl_use=yes
51252 else
51253 glibcxx_cv_func_sqrtl_use=no
51255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51256 ac_ext=c
51257 ac_cpp='$CPP $CPPFLAGS'
51258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
51267 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
51269 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
51270 for ac_func in sqrtl
51271 do :
51272 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
51273 if test "x$ac_cv_func_sqrtl" = x""yes; then :
51274 cat >>confdefs.h <<_ACEOF
51275 #define HAVE_SQRTL 1
51276 _ACEOF
51279 done
51281 else
51283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
51284 $as_echo_n "checking for _sqrtl declaration... " >&6; }
51285 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
51286 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
51287 $as_echo_n "(cached) " >&6
51288 else
51291 ac_ext=cpp
51292 ac_cpp='$CXXCPP $CPPFLAGS'
51293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51298 /* end confdefs.h. */
51299 #include <math.h>
51300 #ifdef HAVE_IEEEFP_H
51301 #include <ieeefp.h>
51302 #endif
51305 main ()
51307 _sqrtl(0);
51309 return 0;
51311 _ACEOF
51312 if ac_fn_cxx_try_compile "$LINENO"; then :
51313 glibcxx_cv_func__sqrtl_use=yes
51314 else
51315 glibcxx_cv_func__sqrtl_use=no
51317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51318 ac_ext=c
51319 ac_cpp='$CPP $CPPFLAGS'
51320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
51329 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
51331 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
51332 for ac_func in _sqrtl
51333 do :
51334 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
51335 if test "x$ac_cv_func__sqrtl" = x""yes; then :
51336 cat >>confdefs.h <<_ACEOF
51337 #define HAVE__SQRTL 1
51338 _ACEOF
51341 done
51350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
51351 $as_echo_n "checking for sincosl declaration... " >&6; }
51352 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
51353 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
51354 $as_echo_n "(cached) " >&6
51355 else
51358 ac_ext=cpp
51359 ac_cpp='$CXXCPP $CPPFLAGS'
51360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51365 /* end confdefs.h. */
51366 #include <math.h>
51368 main ()
51370 sincosl(0, 0, 0);
51372 return 0;
51374 _ACEOF
51375 if ac_fn_cxx_try_compile "$LINENO"; then :
51376 glibcxx_cv_func_sincosl_use=yes
51377 else
51378 glibcxx_cv_func_sincosl_use=no
51380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51381 ac_ext=c
51382 ac_cpp='$CPP $CPPFLAGS'
51383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
51392 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
51394 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
51395 for ac_func in sincosl
51396 do :
51397 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
51398 if test "x$ac_cv_func_sincosl" = x""yes; then :
51399 cat >>confdefs.h <<_ACEOF
51400 #define HAVE_SINCOSL 1
51401 _ACEOF
51404 done
51406 else
51408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
51409 $as_echo_n "checking for _sincosl declaration... " >&6; }
51410 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
51411 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
51412 $as_echo_n "(cached) " >&6
51413 else
51416 ac_ext=cpp
51417 ac_cpp='$CXXCPP $CPPFLAGS'
51418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51423 /* end confdefs.h. */
51424 #include <math.h>
51426 main ()
51428 _sincosl(0, 0, 0);
51430 return 0;
51432 _ACEOF
51433 if ac_fn_cxx_try_compile "$LINENO"; then :
51434 glibcxx_cv_func__sincosl_use=yes
51435 else
51436 glibcxx_cv_func__sincosl_use=no
51438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51439 ac_ext=c
51440 ac_cpp='$CPP $CPPFLAGS'
51441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
51450 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
51452 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
51453 for ac_func in _sincosl
51454 do :
51455 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
51456 if test "x$ac_cv_func__sincosl" = x""yes; then :
51457 cat >>confdefs.h <<_ACEOF
51458 #define HAVE__SINCOSL 1
51459 _ACEOF
51462 done
51471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
51472 $as_echo_n "checking for finitel declaration... " >&6; }
51473 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
51474 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
51475 $as_echo_n "(cached) " >&6
51476 else
51479 ac_ext=cpp
51480 ac_cpp='$CXXCPP $CPPFLAGS'
51481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51486 /* end confdefs.h. */
51487 #include <math.h>
51488 #ifdef HAVE_IEEEFP_H
51489 #include <ieeefp.h>
51490 #endif
51493 main ()
51495 finitel(0);
51497 return 0;
51499 _ACEOF
51500 if ac_fn_cxx_try_compile "$LINENO"; then :
51501 glibcxx_cv_func_finitel_use=yes
51502 else
51503 glibcxx_cv_func_finitel_use=no
51505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51506 ac_ext=c
51507 ac_cpp='$CPP $CPPFLAGS'
51508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
51517 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
51519 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
51520 for ac_func in finitel
51521 do :
51522 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
51523 if test "x$ac_cv_func_finitel" = x""yes; then :
51524 cat >>confdefs.h <<_ACEOF
51525 #define HAVE_FINITEL 1
51526 _ACEOF
51529 done
51531 else
51533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
51534 $as_echo_n "checking for _finitel declaration... " >&6; }
51535 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
51536 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
51537 $as_echo_n "(cached) " >&6
51538 else
51541 ac_ext=cpp
51542 ac_cpp='$CXXCPP $CPPFLAGS'
51543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51548 /* end confdefs.h. */
51549 #include <math.h>
51550 #ifdef HAVE_IEEEFP_H
51551 #include <ieeefp.h>
51552 #endif
51555 main ()
51557 _finitel(0);
51559 return 0;
51561 _ACEOF
51562 if ac_fn_cxx_try_compile "$LINENO"; then :
51563 glibcxx_cv_func__finitel_use=yes
51564 else
51565 glibcxx_cv_func__finitel_use=no
51567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51568 ac_ext=c
51569 ac_cpp='$CPP $CPPFLAGS'
51570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
51579 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
51581 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
51582 for ac_func in _finitel
51583 do :
51584 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
51585 if test "x$ac_cv_func__finitel" = x""yes; then :
51586 cat >>confdefs.h <<_ACEOF
51587 #define HAVE__FINITEL 1
51588 _ACEOF
51591 done
51599 LIBS="$ac_save_LIBS"
51600 CXXFLAGS="$ac_save_CXXFLAGS"
51603 ac_test_CXXFLAGS="${CXXFLAGS+set}"
51604 ac_save_CXXFLAGS="$CXXFLAGS"
51605 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
51609 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
51610 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
51611 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
51612 $as_echo_n "(cached) " >&6
51613 else
51616 ac_ext=cpp
51617 ac_cpp='$CXXCPP $CPPFLAGS'
51618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51623 /* end confdefs.h. */
51624 #include <stdlib.h>
51626 main ()
51628 at_quick_exit(0);
51630 return 0;
51632 _ACEOF
51633 if ac_fn_cxx_try_compile "$LINENO"; then :
51634 glibcxx_cv_func_at_quick_exit_use=yes
51635 else
51636 glibcxx_cv_func_at_quick_exit_use=no
51638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51639 ac_ext=c
51640 ac_cpp='$CPP $CPPFLAGS'
51641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
51650 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
51651 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
51652 for ac_func in at_quick_exit
51653 do :
51654 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
51655 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
51656 cat >>confdefs.h <<_ACEOF
51657 #define HAVE_AT_QUICK_EXIT 1
51658 _ACEOF
51661 done
51666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
51667 $as_echo_n "checking for quick_exit declaration... " >&6; }
51668 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
51669 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
51670 $as_echo_n "(cached) " >&6
51671 else
51674 ac_ext=cpp
51675 ac_cpp='$CXXCPP $CPPFLAGS'
51676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51681 /* end confdefs.h. */
51682 #include <stdlib.h>
51684 main ()
51686 quick_exit(0);
51688 return 0;
51690 _ACEOF
51691 if ac_fn_cxx_try_compile "$LINENO"; then :
51692 glibcxx_cv_func_quick_exit_use=yes
51693 else
51694 glibcxx_cv_func_quick_exit_use=no
51696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51697 ac_ext=c
51698 ac_cpp='$CPP $CPPFLAGS'
51699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
51708 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
51709 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
51710 for ac_func in quick_exit
51711 do :
51712 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
51713 if test "x$ac_cv_func_quick_exit" = x""yes; then :
51714 cat >>confdefs.h <<_ACEOF
51715 #define HAVE_QUICK_EXIT 1
51716 _ACEOF
51719 done
51724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
51725 $as_echo_n "checking for strtold declaration... " >&6; }
51726 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
51727 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
51728 $as_echo_n "(cached) " >&6
51729 else
51732 ac_ext=cpp
51733 ac_cpp='$CXXCPP $CPPFLAGS'
51734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51739 /* end confdefs.h. */
51740 #include <stdlib.h>
51742 main ()
51744 strtold(0, 0);
51746 return 0;
51748 _ACEOF
51749 if ac_fn_cxx_try_compile "$LINENO"; then :
51750 glibcxx_cv_func_strtold_use=yes
51751 else
51752 glibcxx_cv_func_strtold_use=no
51754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51755 ac_ext=c
51756 ac_cpp='$CPP $CPPFLAGS'
51757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
51766 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
51767 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
51768 for ac_func in strtold
51769 do :
51770 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
51771 if test "x$ac_cv_func_strtold" = x""yes; then :
51772 cat >>confdefs.h <<_ACEOF
51773 #define HAVE_STRTOLD 1
51774 _ACEOF
51777 done
51784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
51785 $as_echo_n "checking for strtof declaration... " >&6; }
51786 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
51787 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
51788 $as_echo_n "(cached) " >&6
51789 else
51792 ac_ext=cpp
51793 ac_cpp='$CXXCPP $CPPFLAGS'
51794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51799 /* end confdefs.h. */
51800 #include <stdlib.h>
51802 main ()
51804 strtof(0, 0);
51806 return 0;
51808 _ACEOF
51809 if ac_fn_cxx_try_compile "$LINENO"; then :
51810 glibcxx_cv_func_strtof_use=yes
51811 else
51812 glibcxx_cv_func_strtof_use=no
51814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51815 ac_ext=c
51816 ac_cpp='$CPP $CPPFLAGS'
51817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
51826 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
51827 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
51828 for ac_func in strtof
51829 do :
51830 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
51831 if test "x$ac_cv_func_strtof" = x""yes; then :
51832 cat >>confdefs.h <<_ACEOF
51833 #define HAVE_STRTOF 1
51834 _ACEOF
51837 done
51844 CXXFLAGS="$ac_save_CXXFLAGS"
51848 *djgpp)
51849 # GLIBCXX_CHECK_MATH_SUPPORT
51850 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
51852 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
51854 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
51856 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
51858 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
51862 *-freebsd*)
51863 SECTION_FLAGS='-ffunction-sections -fdata-sections'
51866 # If we're not using GNU ld, then there's no point in even trying these
51867 # tests. Check for that first. We should have already tested for gld
51868 # by now (in libtool), but require it now just to be safe...
51869 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
51870 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
51874 # The name set by libtool depends on the version of libtool. Shame on us
51875 # for depending on an impl detail, but c'est la vie. Older versions used
51876 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
51877 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
51878 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
51879 # set (hence we're using an older libtool), then set it.
51880 if test x${with_gnu_ld+set} != xset; then
51881 if test x${ac_cv_prog_gnu_ld+set} != xset; then
51882 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
51883 with_gnu_ld=no
51884 else
51885 with_gnu_ld=$ac_cv_prog_gnu_ld
51889 # Start by getting the version number. I think the libtool test already
51890 # does some of this, but throws away the result.
51891 glibcxx_ld_is_gold=no
51892 if test x"$with_gnu_ld" = x"yes"; then
51893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
51894 $as_echo_n "checking for ld version... " >&6; }
51896 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
51897 glibcxx_ld_is_gold=yes
51899 ldver=`$LD --version 2>/dev/null |
51900 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'`
51902 glibcxx_gnu_ld_version=`echo $ldver | \
51903 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
51904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
51905 $as_echo "$glibcxx_gnu_ld_version" >&6; }
51908 # Set --gc-sections.
51909 glibcxx_have_gc_sections=no
51910 if test "$glibcxx_ld_is_gold" = "yes"; then
51911 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
51912 glibcxx_have_gc_sections=yes
51914 else
51915 glibcxx_gcsections_min_ld=21602
51916 if test x"$with_gnu_ld" = x"yes" &&
51917 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
51918 glibcxx_have_gc_sections=yes
51921 if test "$glibcxx_have_gc_sections" = "yes"; then
51922 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
51923 # NB: This flag only works reliably after 2.16.1. Configure tests
51924 # for this are difficult, so hard wire a value that should work.
51926 ac_test_CFLAGS="${CFLAGS+set}"
51927 ac_save_CFLAGS="$CFLAGS"
51928 CFLAGS='-Wl,--gc-sections'
51930 # Check for -Wl,--gc-sections
51931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
51932 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
51933 if test x$gcc_no_link = xyes; then
51934 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51937 /* end confdefs.h. */
51938 int one(void) { return 1; }
51939 int two(void) { return 2; }
51942 main ()
51944 two();
51946 return 0;
51948 _ACEOF
51949 if ac_fn_c_try_link "$LINENO"; then :
51950 ac_gcsections=yes
51951 else
51952 ac_gcsections=no
51954 rm -f core conftest.err conftest.$ac_objext \
51955 conftest$ac_exeext conftest.$ac_ext
51956 if test "$ac_gcsections" = "yes"; then
51957 rm -f conftest.c
51958 touch conftest.c
51959 if $CC -c conftest.c; then
51960 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
51961 grep "Warning: gc-sections option ignored" > /dev/null; then
51962 ac_gcsections=no
51965 rm -f conftest.c conftest.o conftest
51967 if test "$ac_gcsections" = "yes"; then
51968 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
51970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
51971 $as_echo "$ac_gcsections" >&6; }
51973 if test "$ac_test_CFLAGS" = set; then
51974 CFLAGS="$ac_save_CFLAGS"
51975 else
51976 # this is the suspicious part
51977 CFLAGS=''
51981 # Set -z,relro.
51982 # Note this is only for shared objects.
51983 ac_ld_relro=no
51984 if test x"$with_gnu_ld" = x"yes"; then
51985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
51986 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
51987 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
51988 if test -n "$cxx_z_relo"; then
51989 OPT_LDFLAGS="-Wl,-z,relro"
51990 ac_ld_relro=yes
51992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
51993 $as_echo "$ac_ld_relro" >&6; }
51996 # Set linker optimization flags.
51997 if test x"$with_gnu_ld" = x"yes"; then
51998 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
52004 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
52006 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
52008 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
52010 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
52012 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
52014 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
52016 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
52018 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
52020 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
52023 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
52025 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
52027 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
52029 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
52031 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
52033 $as_echo "#define HAVE_COSF 1" >>confdefs.h
52035 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
52037 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
52039 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
52041 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
52043 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
52045 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
52047 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
52049 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
52051 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
52053 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
52055 $as_echo "#define HAVE_POWF 1" >>confdefs.h
52057 $as_echo "#define HAVE_SINF 1" >>confdefs.h
52059 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
52061 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
52063 $as_echo "#define HAVE_TANF 1" >>confdefs.h
52065 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
52067 if test x"long_double_math_on_this_cpu" = x"yes"; then
52068 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
52070 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
52072 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
52076 *-hpux*)
52077 SECTION_FLAGS='-ffunction-sections -fdata-sections'
52080 # If we're not using GNU ld, then there's no point in even trying these
52081 # tests. Check for that first. We should have already tested for gld
52082 # by now (in libtool), but require it now just to be safe...
52083 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
52084 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
52088 # The name set by libtool depends on the version of libtool. Shame on us
52089 # for depending on an impl detail, but c'est la vie. Older versions used
52090 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
52091 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
52092 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
52093 # set (hence we're using an older libtool), then set it.
52094 if test x${with_gnu_ld+set} != xset; then
52095 if test x${ac_cv_prog_gnu_ld+set} != xset; then
52096 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
52097 with_gnu_ld=no
52098 else
52099 with_gnu_ld=$ac_cv_prog_gnu_ld
52103 # Start by getting the version number. I think the libtool test already
52104 # does some of this, but throws away the result.
52105 glibcxx_ld_is_gold=no
52106 if test x"$with_gnu_ld" = x"yes"; then
52107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
52108 $as_echo_n "checking for ld version... " >&6; }
52110 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
52111 glibcxx_ld_is_gold=yes
52113 ldver=`$LD --version 2>/dev/null |
52114 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'`
52116 glibcxx_gnu_ld_version=`echo $ldver | \
52117 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
52118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
52119 $as_echo "$glibcxx_gnu_ld_version" >&6; }
52122 # Set --gc-sections.
52123 glibcxx_have_gc_sections=no
52124 if test "$glibcxx_ld_is_gold" = "yes"; then
52125 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
52126 glibcxx_have_gc_sections=yes
52128 else
52129 glibcxx_gcsections_min_ld=21602
52130 if test x"$with_gnu_ld" = x"yes" &&
52131 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
52132 glibcxx_have_gc_sections=yes
52135 if test "$glibcxx_have_gc_sections" = "yes"; then
52136 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
52137 # NB: This flag only works reliably after 2.16.1. Configure tests
52138 # for this are difficult, so hard wire a value that should work.
52140 ac_test_CFLAGS="${CFLAGS+set}"
52141 ac_save_CFLAGS="$CFLAGS"
52142 CFLAGS='-Wl,--gc-sections'
52144 # Check for -Wl,--gc-sections
52145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
52146 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
52147 if test x$gcc_no_link = xyes; then
52148 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52151 /* end confdefs.h. */
52152 int one(void) { return 1; }
52153 int two(void) { return 2; }
52156 main ()
52158 two();
52160 return 0;
52162 _ACEOF
52163 if ac_fn_c_try_link "$LINENO"; then :
52164 ac_gcsections=yes
52165 else
52166 ac_gcsections=no
52168 rm -f core conftest.err conftest.$ac_objext \
52169 conftest$ac_exeext conftest.$ac_ext
52170 if test "$ac_gcsections" = "yes"; then
52171 rm -f conftest.c
52172 touch conftest.c
52173 if $CC -c conftest.c; then
52174 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
52175 grep "Warning: gc-sections option ignored" > /dev/null; then
52176 ac_gcsections=no
52179 rm -f conftest.c conftest.o conftest
52181 if test "$ac_gcsections" = "yes"; then
52182 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
52184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
52185 $as_echo "$ac_gcsections" >&6; }
52187 if test "$ac_test_CFLAGS" = set; then
52188 CFLAGS="$ac_save_CFLAGS"
52189 else
52190 # this is the suspicious part
52191 CFLAGS=''
52195 # Set -z,relro.
52196 # Note this is only for shared objects.
52197 ac_ld_relro=no
52198 if test x"$with_gnu_ld" = x"yes"; then
52199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
52200 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
52201 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
52202 if test -n "$cxx_z_relo"; then
52203 OPT_LDFLAGS="-Wl,-z,relro"
52204 ac_ld_relro=yes
52206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
52207 $as_echo "$ac_ld_relro" >&6; }
52210 # Set linker optimization flags.
52211 if test x"$with_gnu_ld" = x"yes"; then
52212 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
52219 # GLIBCXX_CHECK_MATH_SUPPORT
52220 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
52222 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
52224 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
52226 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
52228 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
52230 $as_echo "#define HAVE_COSF 1" >>confdefs.h
52232 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
52234 $as_echo "#define HAVE_SINF 1" >>confdefs.h
52236 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
52238 $as_echo "#define HAVE_TANF 1" >>confdefs.h
52240 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
52242 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
52244 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
52246 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
52248 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
52250 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
52252 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
52254 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
52256 $as_echo "#define HAVE_MODF 1" >>confdefs.h
52258 $as_echo "#define HAVE_POWF 1" >>confdefs.h
52260 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
52263 # GLIBCXX_CHECK_STDLIB_SUPPORT
52264 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
52269 # Check whether --enable-tls was given.
52270 if test "${enable_tls+set}" = set; then :
52271 enableval=$enable_tls;
52272 case "$enableval" in
52273 yes|no) ;;
52274 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
52275 esac
52277 else
52278 enable_tls=yes
52282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
52283 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
52284 if test "${gcc_cv_have_tls+set}" = set; then :
52285 $as_echo_n "(cached) " >&6
52286 else
52288 if test "$cross_compiling" = yes; then :
52289 if test x$gcc_no_link = xyes; then
52290 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52293 /* end confdefs.h. */
52294 __thread int a; int b; int main() { return a = b; }
52295 _ACEOF
52296 if ac_fn_c_try_link "$LINENO"; then :
52297 chktls_save_LDFLAGS="$LDFLAGS"
52298 case $host in
52299 *-*-linux*)
52300 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
52302 esac
52303 chktls_save_CFLAGS="$CFLAGS"
52304 CFLAGS="-fPIC $CFLAGS"
52305 if test x$gcc_no_link = xyes; then
52306 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52309 /* end confdefs.h. */
52310 int f() { return 0; }
52311 _ACEOF
52312 if ac_fn_c_try_link "$LINENO"; then :
52313 if test x$gcc_no_link = xyes; then
52314 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52317 /* end confdefs.h. */
52318 __thread int a; int b; int f() { return a = b; }
52319 _ACEOF
52320 if ac_fn_c_try_link "$LINENO"; then :
52321 gcc_cv_have_tls=yes
52322 else
52323 gcc_cv_have_tls=no
52325 rm -f core conftest.err conftest.$ac_objext \
52326 conftest$ac_exeext conftest.$ac_ext
52327 else
52328 gcc_cv_have_tls=yes
52330 rm -f core conftest.err conftest.$ac_objext \
52331 conftest$ac_exeext conftest.$ac_ext
52332 CFLAGS="$chktls_save_CFLAGS"
52333 LDFLAGS="$chktls_save_LDFLAGS"
52334 else
52335 gcc_cv_have_tls=no
52337 rm -f core conftest.err conftest.$ac_objext \
52338 conftest$ac_exeext conftest.$ac_ext
52341 else
52342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52343 /* end confdefs.h. */
52344 __thread int a; int b; int main() { return a = b; }
52345 _ACEOF
52346 if ac_fn_c_try_run "$LINENO"; then :
52347 chktls_save_LDFLAGS="$LDFLAGS"
52348 LDFLAGS="-static $LDFLAGS"
52349 if test x$gcc_no_link = xyes; then
52350 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52353 /* end confdefs.h. */
52354 int main() { return 0; }
52355 _ACEOF
52356 if ac_fn_c_try_link "$LINENO"; then :
52357 if test "$cross_compiling" = yes; then :
52358 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
52359 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
52360 as_fn_error "cannot run test program while cross compiling
52361 See \`config.log' for more details." "$LINENO" 5; }
52362 else
52363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52364 /* end confdefs.h. */
52365 __thread int a; int b; int main() { return a = b; }
52366 _ACEOF
52367 if ac_fn_c_try_run "$LINENO"; then :
52368 gcc_cv_have_tls=yes
52369 else
52370 gcc_cv_have_tls=no
52372 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52373 conftest.$ac_objext conftest.beam conftest.$ac_ext
52376 else
52377 gcc_cv_have_tls=yes
52379 rm -f core conftest.err conftest.$ac_objext \
52380 conftest$ac_exeext conftest.$ac_ext
52381 LDFLAGS="$chktls_save_LDFLAGS"
52382 if test $gcc_cv_have_tls = yes; then
52383 chktls_save_CFLAGS="$CFLAGS"
52384 thread_CFLAGS=failed
52385 for flag in '' '-pthread' '-lpthread'; do
52386 CFLAGS="$flag $chktls_save_CFLAGS"
52387 if test x$gcc_no_link = xyes; then
52388 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52391 /* end confdefs.h. */
52392 #include <pthread.h>
52393 void *g(void *d) { return NULL; }
52395 main ()
52397 pthread_t t; pthread_create(&t,NULL,g,NULL);
52399 return 0;
52401 _ACEOF
52402 if ac_fn_c_try_link "$LINENO"; then :
52403 thread_CFLAGS="$flag"
52405 rm -f core conftest.err conftest.$ac_objext \
52406 conftest$ac_exeext conftest.$ac_ext
52407 if test "X$thread_CFLAGS" != Xfailed; then
52408 break
52410 done
52411 CFLAGS="$chktls_save_CFLAGS"
52412 if test "X$thread_CFLAGS" != Xfailed; then
52413 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
52414 if test "$cross_compiling" = yes; then :
52415 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
52416 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
52417 as_fn_error "cannot run test program while cross compiling
52418 See \`config.log' for more details." "$LINENO" 5; }
52419 else
52420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52421 /* end confdefs.h. */
52422 #include <pthread.h>
52423 __thread int a;
52424 static int *volatile a_in_other_thread;
52425 static void *
52426 thread_func (void *arg)
52428 a_in_other_thread = &a;
52429 return (void *)0;
52432 main ()
52434 pthread_t thread;
52435 void *thread_retval;
52436 int *volatile a_in_main_thread;
52437 a_in_main_thread = &a;
52438 if (pthread_create (&thread, (pthread_attr_t *)0,
52439 thread_func, (void *)0))
52440 return 0;
52441 if (pthread_join (thread, &thread_retval))
52442 return 0;
52443 return (a_in_other_thread == a_in_main_thread);
52445 return 0;
52447 _ACEOF
52448 if ac_fn_c_try_run "$LINENO"; then :
52449 gcc_cv_have_tls=yes
52450 else
52451 gcc_cv_have_tls=no
52453 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52454 conftest.$ac_objext conftest.beam conftest.$ac_ext
52457 CFLAGS="$chktls_save_CFLAGS"
52460 else
52461 gcc_cv_have_tls=no
52463 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52464 conftest.$ac_objext conftest.beam conftest.$ac_ext
52468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
52469 $as_echo "$gcc_cv_have_tls" >&6; }
52470 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
52472 $as_echo "#define HAVE_TLS 1" >>confdefs.h
52475 case "$target" in
52476 *-hpux10*)
52477 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
52479 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
52481 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
52483 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
52485 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
52488 esac
52490 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu | *-cygwin*)
52492 # All these tests are for C++; save the language and the compiler flags.
52493 # The CXXFLAGS thing is suspicious, but based on similar bits previously
52494 # found in GLIBCXX_CONFIGURE.
52496 ac_ext=cpp
52497 ac_cpp='$CXXCPP $CPPFLAGS'
52498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52502 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52503 ac_save_CXXFLAGS="$CXXFLAGS"
52505 # Check for maintainer-mode bits.
52506 if test x"$USE_MAINTAINER_MODE" = xno; then
52507 WERROR=''
52508 else
52509 WERROR='-Werror'
52512 # Check for -ffunction-sections -fdata-sections
52513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
52514 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
52515 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
52516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52517 /* end confdefs.h. */
52518 int foo; void bar() { };
52520 main ()
52524 return 0;
52526 _ACEOF
52527 if ac_fn_cxx_try_compile "$LINENO"; then :
52528 ac_fdsections=yes
52529 else
52530 ac_fdsections=no
52532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52533 if test "$ac_test_CXXFLAGS" = set; then
52534 CXXFLAGS="$ac_save_CXXFLAGS"
52535 else
52536 # this is the suspicious part
52537 CXXFLAGS=''
52539 if test x"$ac_fdsections" = x"yes"; then
52540 SECTION_FLAGS='-ffunction-sections -fdata-sections'
52542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
52543 $as_echo "$ac_fdsections" >&6; }
52545 ac_ext=c
52546 ac_cpp='$CPP $CPPFLAGS'
52547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52555 # If we're not using GNU ld, then there's no point in even trying these
52556 # tests. Check for that first. We should have already tested for gld
52557 # by now (in libtool), but require it now just to be safe...
52558 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
52559 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
52563 # The name set by libtool depends on the version of libtool. Shame on us
52564 # for depending on an impl detail, but c'est la vie. Older versions used
52565 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
52566 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
52567 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
52568 # set (hence we're using an older libtool), then set it.
52569 if test x${with_gnu_ld+set} != xset; then
52570 if test x${ac_cv_prog_gnu_ld+set} != xset; then
52571 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
52572 with_gnu_ld=no
52573 else
52574 with_gnu_ld=$ac_cv_prog_gnu_ld
52578 # Start by getting the version number. I think the libtool test already
52579 # does some of this, but throws away the result.
52580 glibcxx_ld_is_gold=no
52581 if test x"$with_gnu_ld" = x"yes"; then
52582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
52583 $as_echo_n "checking for ld version... " >&6; }
52585 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
52586 glibcxx_ld_is_gold=yes
52588 ldver=`$LD --version 2>/dev/null |
52589 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'`
52591 glibcxx_gnu_ld_version=`echo $ldver | \
52592 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
52593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
52594 $as_echo "$glibcxx_gnu_ld_version" >&6; }
52597 # Set --gc-sections.
52598 glibcxx_have_gc_sections=no
52599 if test "$glibcxx_ld_is_gold" = "yes"; then
52600 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
52601 glibcxx_have_gc_sections=yes
52603 else
52604 glibcxx_gcsections_min_ld=21602
52605 if test x"$with_gnu_ld" = x"yes" &&
52606 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
52607 glibcxx_have_gc_sections=yes
52610 if test "$glibcxx_have_gc_sections" = "yes"; then
52611 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
52612 # NB: This flag only works reliably after 2.16.1. Configure tests
52613 # for this are difficult, so hard wire a value that should work.
52615 ac_test_CFLAGS="${CFLAGS+set}"
52616 ac_save_CFLAGS="$CFLAGS"
52617 CFLAGS='-Wl,--gc-sections'
52619 # Check for -Wl,--gc-sections
52620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
52621 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
52622 if test x$gcc_no_link = xyes; then
52623 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52626 /* end confdefs.h. */
52627 int one(void) { return 1; }
52628 int two(void) { return 2; }
52631 main ()
52633 two();
52635 return 0;
52637 _ACEOF
52638 if ac_fn_c_try_link "$LINENO"; then :
52639 ac_gcsections=yes
52640 else
52641 ac_gcsections=no
52643 rm -f core conftest.err conftest.$ac_objext \
52644 conftest$ac_exeext conftest.$ac_ext
52645 if test "$ac_gcsections" = "yes"; then
52646 rm -f conftest.c
52647 touch conftest.c
52648 if $CC -c conftest.c; then
52649 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
52650 grep "Warning: gc-sections option ignored" > /dev/null; then
52651 ac_gcsections=no
52654 rm -f conftest.c conftest.o conftest
52656 if test "$ac_gcsections" = "yes"; then
52657 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
52659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
52660 $as_echo "$ac_gcsections" >&6; }
52662 if test "$ac_test_CFLAGS" = set; then
52663 CFLAGS="$ac_save_CFLAGS"
52664 else
52665 # this is the suspicious part
52666 CFLAGS=''
52670 # Set -z,relro.
52671 # Note this is only for shared objects.
52672 ac_ld_relro=no
52673 if test x"$with_gnu_ld" = x"yes"; then
52674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
52675 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
52676 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
52677 if test -n "$cxx_z_relo"; then
52678 OPT_LDFLAGS="-Wl,-z,relro"
52679 ac_ld_relro=yes
52681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
52682 $as_echo "$ac_ld_relro" >&6; }
52685 # Set linker optimization flags.
52686 if test x"$with_gnu_ld" = x"yes"; then
52687 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
52694 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52695 ac_save_CXXFLAGS="$CXXFLAGS"
52696 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
52698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
52699 $as_echo_n "checking for sin in -lm... " >&6; }
52700 if test "${ac_cv_lib_m_sin+set}" = set; then :
52701 $as_echo_n "(cached) " >&6
52702 else
52703 ac_check_lib_save_LIBS=$LIBS
52704 LIBS="-lm $LIBS"
52705 if test x$gcc_no_link = xyes; then
52706 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52709 /* end confdefs.h. */
52711 /* Override any GCC internal prototype to avoid an error.
52712 Use char because int might match the return type of a GCC
52713 builtin and then its argument prototype would still apply. */
52714 #ifdef __cplusplus
52715 extern "C"
52716 #endif
52717 char sin ();
52719 main ()
52721 return sin ();
52723 return 0;
52725 _ACEOF
52726 if ac_fn_c_try_link "$LINENO"; then :
52727 ac_cv_lib_m_sin=yes
52728 else
52729 ac_cv_lib_m_sin=no
52731 rm -f core conftest.err conftest.$ac_objext \
52732 conftest$ac_exeext conftest.$ac_ext
52733 LIBS=$ac_check_lib_save_LIBS
52735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
52736 $as_echo "$ac_cv_lib_m_sin" >&6; }
52737 if test "x$ac_cv_lib_m_sin" = x""yes; then :
52738 libm="-lm"
52741 ac_save_LIBS="$LIBS"
52742 LIBS="$LIBS $libm"
52746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
52747 $as_echo_n "checking for isinf declaration... " >&6; }
52748 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
52749 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
52750 $as_echo_n "(cached) " >&6
52751 else
52754 ac_ext=cpp
52755 ac_cpp='$CXXCPP $CPPFLAGS'
52756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52761 /* end confdefs.h. */
52762 #include <math.h>
52763 #ifdef HAVE_IEEEFP_H
52764 #include <ieeefp.h>
52765 #endif
52768 main ()
52770 isinf(0);
52772 return 0;
52774 _ACEOF
52775 if ac_fn_cxx_try_compile "$LINENO"; then :
52776 glibcxx_cv_func_isinf_use=yes
52777 else
52778 glibcxx_cv_func_isinf_use=no
52780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52781 ac_ext=c
52782 ac_cpp='$CPP $CPPFLAGS'
52783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
52792 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
52794 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
52795 for ac_func in isinf
52796 do :
52797 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
52798 if test "x$ac_cv_func_isinf" = x""yes; then :
52799 cat >>confdefs.h <<_ACEOF
52800 #define HAVE_ISINF 1
52801 _ACEOF
52804 done
52806 else
52808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
52809 $as_echo_n "checking for _isinf declaration... " >&6; }
52810 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
52811 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
52812 $as_echo_n "(cached) " >&6
52813 else
52816 ac_ext=cpp
52817 ac_cpp='$CXXCPP $CPPFLAGS'
52818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52823 /* end confdefs.h. */
52824 #include <math.h>
52825 #ifdef HAVE_IEEEFP_H
52826 #include <ieeefp.h>
52827 #endif
52830 main ()
52832 _isinf(0);
52834 return 0;
52836 _ACEOF
52837 if ac_fn_cxx_try_compile "$LINENO"; then :
52838 glibcxx_cv_func__isinf_use=yes
52839 else
52840 glibcxx_cv_func__isinf_use=no
52842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52843 ac_ext=c
52844 ac_cpp='$CPP $CPPFLAGS'
52845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
52854 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
52856 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
52857 for ac_func in _isinf
52858 do :
52859 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
52860 if test "x$ac_cv_func__isinf" = x""yes; then :
52861 cat >>confdefs.h <<_ACEOF
52862 #define HAVE__ISINF 1
52863 _ACEOF
52866 done
52875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
52876 $as_echo_n "checking for isnan declaration... " >&6; }
52877 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
52878 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
52879 $as_echo_n "(cached) " >&6
52880 else
52883 ac_ext=cpp
52884 ac_cpp='$CXXCPP $CPPFLAGS'
52885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52890 /* end confdefs.h. */
52891 #include <math.h>
52892 #ifdef HAVE_IEEEFP_H
52893 #include <ieeefp.h>
52894 #endif
52897 main ()
52899 isnan(0);
52901 return 0;
52903 _ACEOF
52904 if ac_fn_cxx_try_compile "$LINENO"; then :
52905 glibcxx_cv_func_isnan_use=yes
52906 else
52907 glibcxx_cv_func_isnan_use=no
52909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52910 ac_ext=c
52911 ac_cpp='$CPP $CPPFLAGS'
52912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
52921 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
52923 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
52924 for ac_func in isnan
52925 do :
52926 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
52927 if test "x$ac_cv_func_isnan" = x""yes; then :
52928 cat >>confdefs.h <<_ACEOF
52929 #define HAVE_ISNAN 1
52930 _ACEOF
52933 done
52935 else
52937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
52938 $as_echo_n "checking for _isnan declaration... " >&6; }
52939 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
52940 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
52941 $as_echo_n "(cached) " >&6
52942 else
52945 ac_ext=cpp
52946 ac_cpp='$CXXCPP $CPPFLAGS'
52947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52952 /* end confdefs.h. */
52953 #include <math.h>
52954 #ifdef HAVE_IEEEFP_H
52955 #include <ieeefp.h>
52956 #endif
52959 main ()
52961 _isnan(0);
52963 return 0;
52965 _ACEOF
52966 if ac_fn_cxx_try_compile "$LINENO"; then :
52967 glibcxx_cv_func__isnan_use=yes
52968 else
52969 glibcxx_cv_func__isnan_use=no
52971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52972 ac_ext=c
52973 ac_cpp='$CPP $CPPFLAGS'
52974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
52983 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
52985 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
52986 for ac_func in _isnan
52987 do :
52988 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
52989 if test "x$ac_cv_func__isnan" = x""yes; then :
52990 cat >>confdefs.h <<_ACEOF
52991 #define HAVE__ISNAN 1
52992 _ACEOF
52995 done
53004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
53005 $as_echo_n "checking for finite declaration... " >&6; }
53006 if test x${glibcxx_cv_func_finite_use+set} != xset; then
53007 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
53008 $as_echo_n "(cached) " >&6
53009 else
53012 ac_ext=cpp
53013 ac_cpp='$CXXCPP $CPPFLAGS'
53014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53019 /* end confdefs.h. */
53020 #include <math.h>
53021 #ifdef HAVE_IEEEFP_H
53022 #include <ieeefp.h>
53023 #endif
53026 main ()
53028 finite(0);
53030 return 0;
53032 _ACEOF
53033 if ac_fn_cxx_try_compile "$LINENO"; then :
53034 glibcxx_cv_func_finite_use=yes
53035 else
53036 glibcxx_cv_func_finite_use=no
53038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53039 ac_ext=c
53040 ac_cpp='$CPP $CPPFLAGS'
53041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
53050 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
53052 if test x$glibcxx_cv_func_finite_use = x"yes"; then
53053 for ac_func in finite
53054 do :
53055 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
53056 if test "x$ac_cv_func_finite" = x""yes; then :
53057 cat >>confdefs.h <<_ACEOF
53058 #define HAVE_FINITE 1
53059 _ACEOF
53062 done
53064 else
53066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
53067 $as_echo_n "checking for _finite declaration... " >&6; }
53068 if test x${glibcxx_cv_func__finite_use+set} != xset; then
53069 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
53070 $as_echo_n "(cached) " >&6
53071 else
53074 ac_ext=cpp
53075 ac_cpp='$CXXCPP $CPPFLAGS'
53076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53081 /* end confdefs.h. */
53082 #include <math.h>
53083 #ifdef HAVE_IEEEFP_H
53084 #include <ieeefp.h>
53085 #endif
53088 main ()
53090 _finite(0);
53092 return 0;
53094 _ACEOF
53095 if ac_fn_cxx_try_compile "$LINENO"; then :
53096 glibcxx_cv_func__finite_use=yes
53097 else
53098 glibcxx_cv_func__finite_use=no
53100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53101 ac_ext=c
53102 ac_cpp='$CPP $CPPFLAGS'
53103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
53112 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
53114 if test x$glibcxx_cv_func__finite_use = x"yes"; then
53115 for ac_func in _finite
53116 do :
53117 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
53118 if test "x$ac_cv_func__finite" = x""yes; then :
53119 cat >>confdefs.h <<_ACEOF
53120 #define HAVE__FINITE 1
53121 _ACEOF
53124 done
53133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
53134 $as_echo_n "checking for sincos declaration... " >&6; }
53135 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
53136 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
53137 $as_echo_n "(cached) " >&6
53138 else
53141 ac_ext=cpp
53142 ac_cpp='$CXXCPP $CPPFLAGS'
53143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53148 /* end confdefs.h. */
53149 #include <math.h>
53151 main ()
53153 sincos(0, 0, 0);
53155 return 0;
53157 _ACEOF
53158 if ac_fn_cxx_try_compile "$LINENO"; then :
53159 glibcxx_cv_func_sincos_use=yes
53160 else
53161 glibcxx_cv_func_sincos_use=no
53163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53164 ac_ext=c
53165 ac_cpp='$CPP $CPPFLAGS'
53166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
53175 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
53177 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
53178 for ac_func in sincos
53179 do :
53180 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
53181 if test "x$ac_cv_func_sincos" = x""yes; then :
53182 cat >>confdefs.h <<_ACEOF
53183 #define HAVE_SINCOS 1
53184 _ACEOF
53187 done
53189 else
53191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
53192 $as_echo_n "checking for _sincos declaration... " >&6; }
53193 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
53194 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
53195 $as_echo_n "(cached) " >&6
53196 else
53199 ac_ext=cpp
53200 ac_cpp='$CXXCPP $CPPFLAGS'
53201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53206 /* end confdefs.h. */
53207 #include <math.h>
53209 main ()
53211 _sincos(0, 0, 0);
53213 return 0;
53215 _ACEOF
53216 if ac_fn_cxx_try_compile "$LINENO"; then :
53217 glibcxx_cv_func__sincos_use=yes
53218 else
53219 glibcxx_cv_func__sincos_use=no
53221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53222 ac_ext=c
53223 ac_cpp='$CPP $CPPFLAGS'
53224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
53233 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
53235 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
53236 for ac_func in _sincos
53237 do :
53238 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
53239 if test "x$ac_cv_func__sincos" = x""yes; then :
53240 cat >>confdefs.h <<_ACEOF
53241 #define HAVE__SINCOS 1
53242 _ACEOF
53245 done
53254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
53255 $as_echo_n "checking for fpclass declaration... " >&6; }
53256 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
53257 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
53258 $as_echo_n "(cached) " >&6
53259 else
53262 ac_ext=cpp
53263 ac_cpp='$CXXCPP $CPPFLAGS'
53264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53269 /* end confdefs.h. */
53270 #include <math.h>
53271 #ifdef HAVE_IEEEFP_H
53272 #include <ieeefp.h>
53273 #endif
53276 main ()
53278 fpclass(0);
53280 return 0;
53282 _ACEOF
53283 if ac_fn_cxx_try_compile "$LINENO"; then :
53284 glibcxx_cv_func_fpclass_use=yes
53285 else
53286 glibcxx_cv_func_fpclass_use=no
53288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53289 ac_ext=c
53290 ac_cpp='$CPP $CPPFLAGS'
53291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
53300 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
53302 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
53303 for ac_func in fpclass
53304 do :
53305 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
53306 if test "x$ac_cv_func_fpclass" = x""yes; then :
53307 cat >>confdefs.h <<_ACEOF
53308 #define HAVE_FPCLASS 1
53309 _ACEOF
53312 done
53314 else
53316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
53317 $as_echo_n "checking for _fpclass declaration... " >&6; }
53318 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
53319 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
53320 $as_echo_n "(cached) " >&6
53321 else
53324 ac_ext=cpp
53325 ac_cpp='$CXXCPP $CPPFLAGS'
53326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53331 /* end confdefs.h. */
53332 #include <math.h>
53333 #ifdef HAVE_IEEEFP_H
53334 #include <ieeefp.h>
53335 #endif
53338 main ()
53340 _fpclass(0);
53342 return 0;
53344 _ACEOF
53345 if ac_fn_cxx_try_compile "$LINENO"; then :
53346 glibcxx_cv_func__fpclass_use=yes
53347 else
53348 glibcxx_cv_func__fpclass_use=no
53350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53351 ac_ext=c
53352 ac_cpp='$CPP $CPPFLAGS'
53353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
53362 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
53364 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
53365 for ac_func in _fpclass
53366 do :
53367 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
53368 if test "x$ac_cv_func__fpclass" = x""yes; then :
53369 cat >>confdefs.h <<_ACEOF
53370 #define HAVE__FPCLASS 1
53371 _ACEOF
53374 done
53383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
53384 $as_echo_n "checking for qfpclass declaration... " >&6; }
53385 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
53386 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
53387 $as_echo_n "(cached) " >&6
53388 else
53391 ac_ext=cpp
53392 ac_cpp='$CXXCPP $CPPFLAGS'
53393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53398 /* end confdefs.h. */
53399 #include <math.h>
53400 #ifdef HAVE_IEEEFP_H
53401 #include <ieeefp.h>
53402 #endif
53405 main ()
53407 qfpclass(0);
53409 return 0;
53411 _ACEOF
53412 if ac_fn_cxx_try_compile "$LINENO"; then :
53413 glibcxx_cv_func_qfpclass_use=yes
53414 else
53415 glibcxx_cv_func_qfpclass_use=no
53417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53418 ac_ext=c
53419 ac_cpp='$CPP $CPPFLAGS'
53420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
53429 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
53431 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
53432 for ac_func in qfpclass
53433 do :
53434 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
53435 if test "x$ac_cv_func_qfpclass" = x""yes; then :
53436 cat >>confdefs.h <<_ACEOF
53437 #define HAVE_QFPCLASS 1
53438 _ACEOF
53441 done
53443 else
53445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
53446 $as_echo_n "checking for _qfpclass declaration... " >&6; }
53447 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
53448 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
53449 $as_echo_n "(cached) " >&6
53450 else
53453 ac_ext=cpp
53454 ac_cpp='$CXXCPP $CPPFLAGS'
53455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53460 /* end confdefs.h. */
53461 #include <math.h>
53462 #ifdef HAVE_IEEEFP_H
53463 #include <ieeefp.h>
53464 #endif
53467 main ()
53469 _qfpclass(0);
53471 return 0;
53473 _ACEOF
53474 if ac_fn_cxx_try_compile "$LINENO"; then :
53475 glibcxx_cv_func__qfpclass_use=yes
53476 else
53477 glibcxx_cv_func__qfpclass_use=no
53479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53480 ac_ext=c
53481 ac_cpp='$CPP $CPPFLAGS'
53482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
53491 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
53493 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
53494 for ac_func in _qfpclass
53495 do :
53496 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
53497 if test "x$ac_cv_func__qfpclass" = x""yes; then :
53498 cat >>confdefs.h <<_ACEOF
53499 #define HAVE__QFPCLASS 1
53500 _ACEOF
53503 done
53512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
53513 $as_echo_n "checking for hypot declaration... " >&6; }
53514 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
53515 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
53516 $as_echo_n "(cached) " >&6
53517 else
53520 ac_ext=cpp
53521 ac_cpp='$CXXCPP $CPPFLAGS'
53522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53527 /* end confdefs.h. */
53528 #include <math.h>
53530 main ()
53532 hypot(0, 0);
53534 return 0;
53536 _ACEOF
53537 if ac_fn_cxx_try_compile "$LINENO"; then :
53538 glibcxx_cv_func_hypot_use=yes
53539 else
53540 glibcxx_cv_func_hypot_use=no
53542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53543 ac_ext=c
53544 ac_cpp='$CPP $CPPFLAGS'
53545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
53554 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
53556 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
53557 for ac_func in hypot
53558 do :
53559 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
53560 if test "x$ac_cv_func_hypot" = x""yes; then :
53561 cat >>confdefs.h <<_ACEOF
53562 #define HAVE_HYPOT 1
53563 _ACEOF
53566 done
53568 else
53570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
53571 $as_echo_n "checking for _hypot declaration... " >&6; }
53572 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
53573 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
53574 $as_echo_n "(cached) " >&6
53575 else
53578 ac_ext=cpp
53579 ac_cpp='$CXXCPP $CPPFLAGS'
53580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53585 /* end confdefs.h. */
53586 #include <math.h>
53588 main ()
53590 _hypot(0, 0);
53592 return 0;
53594 _ACEOF
53595 if ac_fn_cxx_try_compile "$LINENO"; then :
53596 glibcxx_cv_func__hypot_use=yes
53597 else
53598 glibcxx_cv_func__hypot_use=no
53600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53601 ac_ext=c
53602 ac_cpp='$CPP $CPPFLAGS'
53603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
53612 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
53614 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
53615 for ac_func in _hypot
53616 do :
53617 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
53618 if test "x$ac_cv_func__hypot" = x""yes; then :
53619 cat >>confdefs.h <<_ACEOF
53620 #define HAVE__HYPOT 1
53621 _ACEOF
53624 done
53633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
53634 $as_echo_n "checking for float trig functions... " >&6; }
53635 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
53636 $as_echo_n "(cached) " >&6
53637 else
53640 ac_ext=cpp
53641 ac_cpp='$CXXCPP $CPPFLAGS'
53642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53647 /* end confdefs.h. */
53648 #include <math.h>
53650 main ()
53652 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
53654 return 0;
53656 _ACEOF
53657 if ac_fn_cxx_try_compile "$LINENO"; then :
53658 glibcxx_cv_func_float_trig_use=yes
53659 else
53660 glibcxx_cv_func_float_trig_use=no
53662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53663 ac_ext=c
53664 ac_cpp='$CPP $CPPFLAGS'
53665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
53672 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
53673 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
53674 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
53675 do :
53676 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53677 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53678 eval as_val=\$$as_ac_var
53679 if test "x$as_val" = x""yes; then :
53680 cat >>confdefs.h <<_ACEOF
53681 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53682 _ACEOF
53685 done
53687 else
53688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
53689 $as_echo_n "checking for _float trig functions... " >&6; }
53690 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
53691 $as_echo_n "(cached) " >&6
53692 else
53695 ac_ext=cpp
53696 ac_cpp='$CXXCPP $CPPFLAGS'
53697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53702 /* end confdefs.h. */
53703 #include <math.h>
53705 main ()
53707 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
53709 return 0;
53711 _ACEOF
53712 if ac_fn_cxx_try_compile "$LINENO"; then :
53713 glibcxx_cv_func__float_trig_use=yes
53714 else
53715 glibcxx_cv_func__float_trig_use=no
53717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53718 ac_ext=c
53719 ac_cpp='$CPP $CPPFLAGS'
53720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
53727 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
53728 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
53729 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
53730 do :
53731 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53732 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53733 eval as_val=\$$as_ac_var
53734 if test "x$as_val" = x""yes; then :
53735 cat >>confdefs.h <<_ACEOF
53736 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53737 _ACEOF
53740 done
53749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
53750 $as_echo_n "checking for float round functions... " >&6; }
53751 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
53752 $as_echo_n "(cached) " >&6
53753 else
53756 ac_ext=cpp
53757 ac_cpp='$CXXCPP $CPPFLAGS'
53758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53763 /* end confdefs.h. */
53764 #include <math.h>
53766 main ()
53768 ceilf (0); floorf (0);
53770 return 0;
53772 _ACEOF
53773 if ac_fn_cxx_try_compile "$LINENO"; then :
53774 glibcxx_cv_func_float_round_use=yes
53775 else
53776 glibcxx_cv_func_float_round_use=no
53778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53779 ac_ext=c
53780 ac_cpp='$CPP $CPPFLAGS'
53781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
53788 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
53789 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
53790 for ac_func in ceilf floorf
53791 do :
53792 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53793 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53794 eval as_val=\$$as_ac_var
53795 if test "x$as_val" = x""yes; then :
53796 cat >>confdefs.h <<_ACEOF
53797 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53798 _ACEOF
53801 done
53803 else
53804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
53805 $as_echo_n "checking for _float round functions... " >&6; }
53806 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
53807 $as_echo_n "(cached) " >&6
53808 else
53811 ac_ext=cpp
53812 ac_cpp='$CXXCPP $CPPFLAGS'
53813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53818 /* end confdefs.h. */
53819 #include <math.h>
53821 main ()
53823 _ceilf (0); _floorf (0);
53825 return 0;
53827 _ACEOF
53828 if ac_fn_cxx_try_compile "$LINENO"; then :
53829 glibcxx_cv_func__float_round_use=yes
53830 else
53831 glibcxx_cv_func__float_round_use=no
53833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53834 ac_ext=c
53835 ac_cpp='$CPP $CPPFLAGS'
53836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
53843 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
53844 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
53845 for ac_func in _ceilf _floorf
53846 do :
53847 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53848 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53849 eval as_val=\$$as_ac_var
53850 if test "x$as_val" = x""yes; then :
53851 cat >>confdefs.h <<_ACEOF
53852 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53853 _ACEOF
53856 done
53866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
53867 $as_echo_n "checking for expf declaration... " >&6; }
53868 if test x${glibcxx_cv_func_expf_use+set} != xset; then
53869 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
53870 $as_echo_n "(cached) " >&6
53871 else
53874 ac_ext=cpp
53875 ac_cpp='$CXXCPP $CPPFLAGS'
53876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53881 /* end confdefs.h. */
53882 #include <math.h>
53883 #ifdef HAVE_IEEEFP_H
53884 #include <ieeefp.h>
53885 #endif
53888 main ()
53890 expf(0);
53892 return 0;
53894 _ACEOF
53895 if ac_fn_cxx_try_compile "$LINENO"; then :
53896 glibcxx_cv_func_expf_use=yes
53897 else
53898 glibcxx_cv_func_expf_use=no
53900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53901 ac_ext=c
53902 ac_cpp='$CPP $CPPFLAGS'
53903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
53912 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
53914 if test x$glibcxx_cv_func_expf_use = x"yes"; then
53915 for ac_func in expf
53916 do :
53917 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
53918 if test "x$ac_cv_func_expf" = x""yes; then :
53919 cat >>confdefs.h <<_ACEOF
53920 #define HAVE_EXPF 1
53921 _ACEOF
53924 done
53926 else
53928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
53929 $as_echo_n "checking for _expf declaration... " >&6; }
53930 if test x${glibcxx_cv_func__expf_use+set} != xset; then
53931 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
53932 $as_echo_n "(cached) " >&6
53933 else
53936 ac_ext=cpp
53937 ac_cpp='$CXXCPP $CPPFLAGS'
53938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53943 /* end confdefs.h. */
53944 #include <math.h>
53945 #ifdef HAVE_IEEEFP_H
53946 #include <ieeefp.h>
53947 #endif
53950 main ()
53952 _expf(0);
53954 return 0;
53956 _ACEOF
53957 if ac_fn_cxx_try_compile "$LINENO"; then :
53958 glibcxx_cv_func__expf_use=yes
53959 else
53960 glibcxx_cv_func__expf_use=no
53962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53963 ac_ext=c
53964 ac_cpp='$CPP $CPPFLAGS'
53965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
53974 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
53976 if test x$glibcxx_cv_func__expf_use = x"yes"; then
53977 for ac_func in _expf
53978 do :
53979 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
53980 if test "x$ac_cv_func__expf" = x""yes; then :
53981 cat >>confdefs.h <<_ACEOF
53982 #define HAVE__EXPF 1
53983 _ACEOF
53986 done
53995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
53996 $as_echo_n "checking for isnanf declaration... " >&6; }
53997 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
53998 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
53999 $as_echo_n "(cached) " >&6
54000 else
54003 ac_ext=cpp
54004 ac_cpp='$CXXCPP $CPPFLAGS'
54005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54010 /* end confdefs.h. */
54011 #include <math.h>
54012 #ifdef HAVE_IEEEFP_H
54013 #include <ieeefp.h>
54014 #endif
54017 main ()
54019 isnanf(0);
54021 return 0;
54023 _ACEOF
54024 if ac_fn_cxx_try_compile "$LINENO"; then :
54025 glibcxx_cv_func_isnanf_use=yes
54026 else
54027 glibcxx_cv_func_isnanf_use=no
54029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54030 ac_ext=c
54031 ac_cpp='$CPP $CPPFLAGS'
54032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
54041 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
54043 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
54044 for ac_func in isnanf
54045 do :
54046 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
54047 if test "x$ac_cv_func_isnanf" = x""yes; then :
54048 cat >>confdefs.h <<_ACEOF
54049 #define HAVE_ISNANF 1
54050 _ACEOF
54053 done
54055 else
54057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
54058 $as_echo_n "checking for _isnanf declaration... " >&6; }
54059 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
54060 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
54061 $as_echo_n "(cached) " >&6
54062 else
54065 ac_ext=cpp
54066 ac_cpp='$CXXCPP $CPPFLAGS'
54067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54072 /* end confdefs.h. */
54073 #include <math.h>
54074 #ifdef HAVE_IEEEFP_H
54075 #include <ieeefp.h>
54076 #endif
54079 main ()
54081 _isnanf(0);
54083 return 0;
54085 _ACEOF
54086 if ac_fn_cxx_try_compile "$LINENO"; then :
54087 glibcxx_cv_func__isnanf_use=yes
54088 else
54089 glibcxx_cv_func__isnanf_use=no
54091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54092 ac_ext=c
54093 ac_cpp='$CPP $CPPFLAGS'
54094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
54103 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
54105 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
54106 for ac_func in _isnanf
54107 do :
54108 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
54109 if test "x$ac_cv_func__isnanf" = x""yes; then :
54110 cat >>confdefs.h <<_ACEOF
54111 #define HAVE__ISNANF 1
54112 _ACEOF
54115 done
54124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
54125 $as_echo_n "checking for isinff declaration... " >&6; }
54126 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
54127 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
54128 $as_echo_n "(cached) " >&6
54129 else
54132 ac_ext=cpp
54133 ac_cpp='$CXXCPP $CPPFLAGS'
54134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54139 /* end confdefs.h. */
54140 #include <math.h>
54141 #ifdef HAVE_IEEEFP_H
54142 #include <ieeefp.h>
54143 #endif
54146 main ()
54148 isinff(0);
54150 return 0;
54152 _ACEOF
54153 if ac_fn_cxx_try_compile "$LINENO"; then :
54154 glibcxx_cv_func_isinff_use=yes
54155 else
54156 glibcxx_cv_func_isinff_use=no
54158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54159 ac_ext=c
54160 ac_cpp='$CPP $CPPFLAGS'
54161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
54170 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
54172 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
54173 for ac_func in isinff
54174 do :
54175 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
54176 if test "x$ac_cv_func_isinff" = x""yes; then :
54177 cat >>confdefs.h <<_ACEOF
54178 #define HAVE_ISINFF 1
54179 _ACEOF
54182 done
54184 else
54186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
54187 $as_echo_n "checking for _isinff declaration... " >&6; }
54188 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
54189 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
54190 $as_echo_n "(cached) " >&6
54191 else
54194 ac_ext=cpp
54195 ac_cpp='$CXXCPP $CPPFLAGS'
54196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54201 /* end confdefs.h. */
54202 #include <math.h>
54203 #ifdef HAVE_IEEEFP_H
54204 #include <ieeefp.h>
54205 #endif
54208 main ()
54210 _isinff(0);
54212 return 0;
54214 _ACEOF
54215 if ac_fn_cxx_try_compile "$LINENO"; then :
54216 glibcxx_cv_func__isinff_use=yes
54217 else
54218 glibcxx_cv_func__isinff_use=no
54220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54221 ac_ext=c
54222 ac_cpp='$CPP $CPPFLAGS'
54223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
54232 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
54234 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
54235 for ac_func in _isinff
54236 do :
54237 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
54238 if test "x$ac_cv_func__isinff" = x""yes; then :
54239 cat >>confdefs.h <<_ACEOF
54240 #define HAVE__ISINFF 1
54241 _ACEOF
54244 done
54253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
54254 $as_echo_n "checking for atan2f declaration... " >&6; }
54255 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
54256 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
54257 $as_echo_n "(cached) " >&6
54258 else
54261 ac_ext=cpp
54262 ac_cpp='$CXXCPP $CPPFLAGS'
54263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54268 /* end confdefs.h. */
54269 #include <math.h>
54271 main ()
54273 atan2f(0, 0);
54275 return 0;
54277 _ACEOF
54278 if ac_fn_cxx_try_compile "$LINENO"; then :
54279 glibcxx_cv_func_atan2f_use=yes
54280 else
54281 glibcxx_cv_func_atan2f_use=no
54283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54284 ac_ext=c
54285 ac_cpp='$CPP $CPPFLAGS'
54286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
54295 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
54297 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
54298 for ac_func in atan2f
54299 do :
54300 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
54301 if test "x$ac_cv_func_atan2f" = x""yes; then :
54302 cat >>confdefs.h <<_ACEOF
54303 #define HAVE_ATAN2F 1
54304 _ACEOF
54307 done
54309 else
54311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
54312 $as_echo_n "checking for _atan2f declaration... " >&6; }
54313 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
54314 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
54315 $as_echo_n "(cached) " >&6
54316 else
54319 ac_ext=cpp
54320 ac_cpp='$CXXCPP $CPPFLAGS'
54321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54326 /* end confdefs.h. */
54327 #include <math.h>
54329 main ()
54331 _atan2f(0, 0);
54333 return 0;
54335 _ACEOF
54336 if ac_fn_cxx_try_compile "$LINENO"; then :
54337 glibcxx_cv_func__atan2f_use=yes
54338 else
54339 glibcxx_cv_func__atan2f_use=no
54341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54342 ac_ext=c
54343 ac_cpp='$CPP $CPPFLAGS'
54344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
54353 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
54355 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
54356 for ac_func in _atan2f
54357 do :
54358 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
54359 if test "x$ac_cv_func__atan2f" = x""yes; then :
54360 cat >>confdefs.h <<_ACEOF
54361 #define HAVE__ATAN2F 1
54362 _ACEOF
54365 done
54374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
54375 $as_echo_n "checking for fabsf declaration... " >&6; }
54376 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
54377 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
54378 $as_echo_n "(cached) " >&6
54379 else
54382 ac_ext=cpp
54383 ac_cpp='$CXXCPP $CPPFLAGS'
54384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54389 /* end confdefs.h. */
54390 #include <math.h>
54391 #ifdef HAVE_IEEEFP_H
54392 #include <ieeefp.h>
54393 #endif
54396 main ()
54398 fabsf(0);
54400 return 0;
54402 _ACEOF
54403 if ac_fn_cxx_try_compile "$LINENO"; then :
54404 glibcxx_cv_func_fabsf_use=yes
54405 else
54406 glibcxx_cv_func_fabsf_use=no
54408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54409 ac_ext=c
54410 ac_cpp='$CPP $CPPFLAGS'
54411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
54420 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
54422 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
54423 for ac_func in fabsf
54424 do :
54425 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
54426 if test "x$ac_cv_func_fabsf" = x""yes; then :
54427 cat >>confdefs.h <<_ACEOF
54428 #define HAVE_FABSF 1
54429 _ACEOF
54432 done
54434 else
54436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
54437 $as_echo_n "checking for _fabsf declaration... " >&6; }
54438 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
54439 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
54440 $as_echo_n "(cached) " >&6
54441 else
54444 ac_ext=cpp
54445 ac_cpp='$CXXCPP $CPPFLAGS'
54446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54451 /* end confdefs.h. */
54452 #include <math.h>
54453 #ifdef HAVE_IEEEFP_H
54454 #include <ieeefp.h>
54455 #endif
54458 main ()
54460 _fabsf(0);
54462 return 0;
54464 _ACEOF
54465 if ac_fn_cxx_try_compile "$LINENO"; then :
54466 glibcxx_cv_func__fabsf_use=yes
54467 else
54468 glibcxx_cv_func__fabsf_use=no
54470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54471 ac_ext=c
54472 ac_cpp='$CPP $CPPFLAGS'
54473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
54482 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
54484 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
54485 for ac_func in _fabsf
54486 do :
54487 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
54488 if test "x$ac_cv_func__fabsf" = x""yes; then :
54489 cat >>confdefs.h <<_ACEOF
54490 #define HAVE__FABSF 1
54491 _ACEOF
54494 done
54503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
54504 $as_echo_n "checking for fmodf declaration... " >&6; }
54505 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
54506 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
54507 $as_echo_n "(cached) " >&6
54508 else
54511 ac_ext=cpp
54512 ac_cpp='$CXXCPP $CPPFLAGS'
54513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54518 /* end confdefs.h. */
54519 #include <math.h>
54521 main ()
54523 fmodf(0, 0);
54525 return 0;
54527 _ACEOF
54528 if ac_fn_cxx_try_compile "$LINENO"; then :
54529 glibcxx_cv_func_fmodf_use=yes
54530 else
54531 glibcxx_cv_func_fmodf_use=no
54533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54534 ac_ext=c
54535 ac_cpp='$CPP $CPPFLAGS'
54536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
54545 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
54547 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
54548 for ac_func in fmodf
54549 do :
54550 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
54551 if test "x$ac_cv_func_fmodf" = x""yes; then :
54552 cat >>confdefs.h <<_ACEOF
54553 #define HAVE_FMODF 1
54554 _ACEOF
54557 done
54559 else
54561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
54562 $as_echo_n "checking for _fmodf declaration... " >&6; }
54563 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
54564 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
54565 $as_echo_n "(cached) " >&6
54566 else
54569 ac_ext=cpp
54570 ac_cpp='$CXXCPP $CPPFLAGS'
54571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54576 /* end confdefs.h. */
54577 #include <math.h>
54579 main ()
54581 _fmodf(0, 0);
54583 return 0;
54585 _ACEOF
54586 if ac_fn_cxx_try_compile "$LINENO"; then :
54587 glibcxx_cv_func__fmodf_use=yes
54588 else
54589 glibcxx_cv_func__fmodf_use=no
54591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54592 ac_ext=c
54593 ac_cpp='$CPP $CPPFLAGS'
54594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
54603 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
54605 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
54606 for ac_func in _fmodf
54607 do :
54608 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
54609 if test "x$ac_cv_func__fmodf" = x""yes; then :
54610 cat >>confdefs.h <<_ACEOF
54611 #define HAVE__FMODF 1
54612 _ACEOF
54615 done
54624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
54625 $as_echo_n "checking for frexpf declaration... " >&6; }
54626 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
54627 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
54628 $as_echo_n "(cached) " >&6
54629 else
54632 ac_ext=cpp
54633 ac_cpp='$CXXCPP $CPPFLAGS'
54634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54639 /* end confdefs.h. */
54640 #include <math.h>
54642 main ()
54644 frexpf(0, 0);
54646 return 0;
54648 _ACEOF
54649 if ac_fn_cxx_try_compile "$LINENO"; then :
54650 glibcxx_cv_func_frexpf_use=yes
54651 else
54652 glibcxx_cv_func_frexpf_use=no
54654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54655 ac_ext=c
54656 ac_cpp='$CPP $CPPFLAGS'
54657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
54666 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
54668 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
54669 for ac_func in frexpf
54670 do :
54671 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
54672 if test "x$ac_cv_func_frexpf" = x""yes; then :
54673 cat >>confdefs.h <<_ACEOF
54674 #define HAVE_FREXPF 1
54675 _ACEOF
54678 done
54680 else
54682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
54683 $as_echo_n "checking for _frexpf declaration... " >&6; }
54684 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
54685 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
54686 $as_echo_n "(cached) " >&6
54687 else
54690 ac_ext=cpp
54691 ac_cpp='$CXXCPP $CPPFLAGS'
54692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54697 /* end confdefs.h. */
54698 #include <math.h>
54700 main ()
54702 _frexpf(0, 0);
54704 return 0;
54706 _ACEOF
54707 if ac_fn_cxx_try_compile "$LINENO"; then :
54708 glibcxx_cv_func__frexpf_use=yes
54709 else
54710 glibcxx_cv_func__frexpf_use=no
54712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54713 ac_ext=c
54714 ac_cpp='$CPP $CPPFLAGS'
54715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
54724 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
54726 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
54727 for ac_func in _frexpf
54728 do :
54729 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
54730 if test "x$ac_cv_func__frexpf" = x""yes; then :
54731 cat >>confdefs.h <<_ACEOF
54732 #define HAVE__FREXPF 1
54733 _ACEOF
54736 done
54745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
54746 $as_echo_n "checking for hypotf declaration... " >&6; }
54747 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
54748 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
54749 $as_echo_n "(cached) " >&6
54750 else
54753 ac_ext=cpp
54754 ac_cpp='$CXXCPP $CPPFLAGS'
54755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54760 /* end confdefs.h. */
54761 #include <math.h>
54763 main ()
54765 hypotf(0, 0);
54767 return 0;
54769 _ACEOF
54770 if ac_fn_cxx_try_compile "$LINENO"; then :
54771 glibcxx_cv_func_hypotf_use=yes
54772 else
54773 glibcxx_cv_func_hypotf_use=no
54775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54776 ac_ext=c
54777 ac_cpp='$CPP $CPPFLAGS'
54778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
54787 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
54789 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
54790 for ac_func in hypotf
54791 do :
54792 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
54793 if test "x$ac_cv_func_hypotf" = x""yes; then :
54794 cat >>confdefs.h <<_ACEOF
54795 #define HAVE_HYPOTF 1
54796 _ACEOF
54799 done
54801 else
54803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
54804 $as_echo_n "checking for _hypotf declaration... " >&6; }
54805 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
54806 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
54807 $as_echo_n "(cached) " >&6
54808 else
54811 ac_ext=cpp
54812 ac_cpp='$CXXCPP $CPPFLAGS'
54813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54818 /* end confdefs.h. */
54819 #include <math.h>
54821 main ()
54823 _hypotf(0, 0);
54825 return 0;
54827 _ACEOF
54828 if ac_fn_cxx_try_compile "$LINENO"; then :
54829 glibcxx_cv_func__hypotf_use=yes
54830 else
54831 glibcxx_cv_func__hypotf_use=no
54833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54834 ac_ext=c
54835 ac_cpp='$CPP $CPPFLAGS'
54836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
54845 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
54847 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
54848 for ac_func in _hypotf
54849 do :
54850 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
54851 if test "x$ac_cv_func__hypotf" = x""yes; then :
54852 cat >>confdefs.h <<_ACEOF
54853 #define HAVE__HYPOTF 1
54854 _ACEOF
54857 done
54866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
54867 $as_echo_n "checking for ldexpf declaration... " >&6; }
54868 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
54869 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
54870 $as_echo_n "(cached) " >&6
54871 else
54874 ac_ext=cpp
54875 ac_cpp='$CXXCPP $CPPFLAGS'
54876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54881 /* end confdefs.h. */
54882 #include <math.h>
54884 main ()
54886 ldexpf(0, 0);
54888 return 0;
54890 _ACEOF
54891 if ac_fn_cxx_try_compile "$LINENO"; then :
54892 glibcxx_cv_func_ldexpf_use=yes
54893 else
54894 glibcxx_cv_func_ldexpf_use=no
54896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54897 ac_ext=c
54898 ac_cpp='$CPP $CPPFLAGS'
54899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
54908 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
54910 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
54911 for ac_func in ldexpf
54912 do :
54913 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
54914 if test "x$ac_cv_func_ldexpf" = x""yes; then :
54915 cat >>confdefs.h <<_ACEOF
54916 #define HAVE_LDEXPF 1
54917 _ACEOF
54920 done
54922 else
54924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
54925 $as_echo_n "checking for _ldexpf declaration... " >&6; }
54926 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
54927 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
54928 $as_echo_n "(cached) " >&6
54929 else
54932 ac_ext=cpp
54933 ac_cpp='$CXXCPP $CPPFLAGS'
54934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54939 /* end confdefs.h. */
54940 #include <math.h>
54942 main ()
54944 _ldexpf(0, 0);
54946 return 0;
54948 _ACEOF
54949 if ac_fn_cxx_try_compile "$LINENO"; then :
54950 glibcxx_cv_func__ldexpf_use=yes
54951 else
54952 glibcxx_cv_func__ldexpf_use=no
54954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54955 ac_ext=c
54956 ac_cpp='$CPP $CPPFLAGS'
54957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
54966 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
54968 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
54969 for ac_func in _ldexpf
54970 do :
54971 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
54972 if test "x$ac_cv_func__ldexpf" = x""yes; then :
54973 cat >>confdefs.h <<_ACEOF
54974 #define HAVE__LDEXPF 1
54975 _ACEOF
54978 done
54987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
54988 $as_echo_n "checking for logf declaration... " >&6; }
54989 if test x${glibcxx_cv_func_logf_use+set} != xset; then
54990 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
54991 $as_echo_n "(cached) " >&6
54992 else
54995 ac_ext=cpp
54996 ac_cpp='$CXXCPP $CPPFLAGS'
54997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55002 /* end confdefs.h. */
55003 #include <math.h>
55004 #ifdef HAVE_IEEEFP_H
55005 #include <ieeefp.h>
55006 #endif
55009 main ()
55011 logf(0);
55013 return 0;
55015 _ACEOF
55016 if ac_fn_cxx_try_compile "$LINENO"; then :
55017 glibcxx_cv_func_logf_use=yes
55018 else
55019 glibcxx_cv_func_logf_use=no
55021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55022 ac_ext=c
55023 ac_cpp='$CPP $CPPFLAGS'
55024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
55033 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
55035 if test x$glibcxx_cv_func_logf_use = x"yes"; then
55036 for ac_func in logf
55037 do :
55038 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
55039 if test "x$ac_cv_func_logf" = x""yes; then :
55040 cat >>confdefs.h <<_ACEOF
55041 #define HAVE_LOGF 1
55042 _ACEOF
55045 done
55047 else
55049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
55050 $as_echo_n "checking for _logf declaration... " >&6; }
55051 if test x${glibcxx_cv_func__logf_use+set} != xset; then
55052 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
55053 $as_echo_n "(cached) " >&6
55054 else
55057 ac_ext=cpp
55058 ac_cpp='$CXXCPP $CPPFLAGS'
55059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55064 /* end confdefs.h. */
55065 #include <math.h>
55066 #ifdef HAVE_IEEEFP_H
55067 #include <ieeefp.h>
55068 #endif
55071 main ()
55073 _logf(0);
55075 return 0;
55077 _ACEOF
55078 if ac_fn_cxx_try_compile "$LINENO"; then :
55079 glibcxx_cv_func__logf_use=yes
55080 else
55081 glibcxx_cv_func__logf_use=no
55083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55084 ac_ext=c
55085 ac_cpp='$CPP $CPPFLAGS'
55086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
55095 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
55097 if test x$glibcxx_cv_func__logf_use = x"yes"; then
55098 for ac_func in _logf
55099 do :
55100 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
55101 if test "x$ac_cv_func__logf" = x""yes; then :
55102 cat >>confdefs.h <<_ACEOF
55103 #define HAVE__LOGF 1
55104 _ACEOF
55107 done
55116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
55117 $as_echo_n "checking for log10f declaration... " >&6; }
55118 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
55119 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
55120 $as_echo_n "(cached) " >&6
55121 else
55124 ac_ext=cpp
55125 ac_cpp='$CXXCPP $CPPFLAGS'
55126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55131 /* end confdefs.h. */
55132 #include <math.h>
55133 #ifdef HAVE_IEEEFP_H
55134 #include <ieeefp.h>
55135 #endif
55138 main ()
55140 log10f(0);
55142 return 0;
55144 _ACEOF
55145 if ac_fn_cxx_try_compile "$LINENO"; then :
55146 glibcxx_cv_func_log10f_use=yes
55147 else
55148 glibcxx_cv_func_log10f_use=no
55150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55151 ac_ext=c
55152 ac_cpp='$CPP $CPPFLAGS'
55153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
55162 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
55164 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
55165 for ac_func in log10f
55166 do :
55167 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
55168 if test "x$ac_cv_func_log10f" = x""yes; then :
55169 cat >>confdefs.h <<_ACEOF
55170 #define HAVE_LOG10F 1
55171 _ACEOF
55174 done
55176 else
55178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
55179 $as_echo_n "checking for _log10f declaration... " >&6; }
55180 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
55181 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
55182 $as_echo_n "(cached) " >&6
55183 else
55186 ac_ext=cpp
55187 ac_cpp='$CXXCPP $CPPFLAGS'
55188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55193 /* end confdefs.h. */
55194 #include <math.h>
55195 #ifdef HAVE_IEEEFP_H
55196 #include <ieeefp.h>
55197 #endif
55200 main ()
55202 _log10f(0);
55204 return 0;
55206 _ACEOF
55207 if ac_fn_cxx_try_compile "$LINENO"; then :
55208 glibcxx_cv_func__log10f_use=yes
55209 else
55210 glibcxx_cv_func__log10f_use=no
55212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55213 ac_ext=c
55214 ac_cpp='$CPP $CPPFLAGS'
55215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
55224 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
55226 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
55227 for ac_func in _log10f
55228 do :
55229 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
55230 if test "x$ac_cv_func__log10f" = x""yes; then :
55231 cat >>confdefs.h <<_ACEOF
55232 #define HAVE__LOG10F 1
55233 _ACEOF
55236 done
55245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
55246 $as_echo_n "checking for modff declaration... " >&6; }
55247 if test x${glibcxx_cv_func_modff_use+set} != xset; then
55248 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
55249 $as_echo_n "(cached) " >&6
55250 else
55253 ac_ext=cpp
55254 ac_cpp='$CXXCPP $CPPFLAGS'
55255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55260 /* end confdefs.h. */
55261 #include <math.h>
55263 main ()
55265 modff(0, 0);
55267 return 0;
55269 _ACEOF
55270 if ac_fn_cxx_try_compile "$LINENO"; then :
55271 glibcxx_cv_func_modff_use=yes
55272 else
55273 glibcxx_cv_func_modff_use=no
55275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55276 ac_ext=c
55277 ac_cpp='$CPP $CPPFLAGS'
55278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
55287 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
55289 if test x$glibcxx_cv_func_modff_use = x"yes"; then
55290 for ac_func in modff
55291 do :
55292 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
55293 if test "x$ac_cv_func_modff" = x""yes; then :
55294 cat >>confdefs.h <<_ACEOF
55295 #define HAVE_MODFF 1
55296 _ACEOF
55299 done
55301 else
55303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
55304 $as_echo_n "checking for _modff declaration... " >&6; }
55305 if test x${glibcxx_cv_func__modff_use+set} != xset; then
55306 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
55307 $as_echo_n "(cached) " >&6
55308 else
55311 ac_ext=cpp
55312 ac_cpp='$CXXCPP $CPPFLAGS'
55313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55318 /* end confdefs.h. */
55319 #include <math.h>
55321 main ()
55323 _modff(0, 0);
55325 return 0;
55327 _ACEOF
55328 if ac_fn_cxx_try_compile "$LINENO"; then :
55329 glibcxx_cv_func__modff_use=yes
55330 else
55331 glibcxx_cv_func__modff_use=no
55333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55334 ac_ext=c
55335 ac_cpp='$CPP $CPPFLAGS'
55336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
55345 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
55347 if test x$glibcxx_cv_func__modff_use = x"yes"; then
55348 for ac_func in _modff
55349 do :
55350 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
55351 if test "x$ac_cv_func__modff" = x""yes; then :
55352 cat >>confdefs.h <<_ACEOF
55353 #define HAVE__MODFF 1
55354 _ACEOF
55357 done
55366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
55367 $as_echo_n "checking for modf declaration... " >&6; }
55368 if test x${glibcxx_cv_func_modf_use+set} != xset; then
55369 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
55370 $as_echo_n "(cached) " >&6
55371 else
55374 ac_ext=cpp
55375 ac_cpp='$CXXCPP $CPPFLAGS'
55376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55381 /* end confdefs.h. */
55382 #include <math.h>
55384 main ()
55386 modf(0, 0);
55388 return 0;
55390 _ACEOF
55391 if ac_fn_cxx_try_compile "$LINENO"; then :
55392 glibcxx_cv_func_modf_use=yes
55393 else
55394 glibcxx_cv_func_modf_use=no
55396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55397 ac_ext=c
55398 ac_cpp='$CPP $CPPFLAGS'
55399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
55408 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
55410 if test x$glibcxx_cv_func_modf_use = x"yes"; then
55411 for ac_func in modf
55412 do :
55413 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
55414 if test "x$ac_cv_func_modf" = x""yes; then :
55415 cat >>confdefs.h <<_ACEOF
55416 #define HAVE_MODF 1
55417 _ACEOF
55420 done
55422 else
55424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
55425 $as_echo_n "checking for _modf declaration... " >&6; }
55426 if test x${glibcxx_cv_func__modf_use+set} != xset; then
55427 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
55428 $as_echo_n "(cached) " >&6
55429 else
55432 ac_ext=cpp
55433 ac_cpp='$CXXCPP $CPPFLAGS'
55434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55439 /* end confdefs.h. */
55440 #include <math.h>
55442 main ()
55444 _modf(0, 0);
55446 return 0;
55448 _ACEOF
55449 if ac_fn_cxx_try_compile "$LINENO"; then :
55450 glibcxx_cv_func__modf_use=yes
55451 else
55452 glibcxx_cv_func__modf_use=no
55454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55455 ac_ext=c
55456 ac_cpp='$CPP $CPPFLAGS'
55457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
55466 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
55468 if test x$glibcxx_cv_func__modf_use = x"yes"; then
55469 for ac_func in _modf
55470 do :
55471 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
55472 if test "x$ac_cv_func__modf" = x""yes; then :
55473 cat >>confdefs.h <<_ACEOF
55474 #define HAVE__MODF 1
55475 _ACEOF
55478 done
55487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
55488 $as_echo_n "checking for powf declaration... " >&6; }
55489 if test x${glibcxx_cv_func_powf_use+set} != xset; then
55490 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
55491 $as_echo_n "(cached) " >&6
55492 else
55495 ac_ext=cpp
55496 ac_cpp='$CXXCPP $CPPFLAGS'
55497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55502 /* end confdefs.h. */
55503 #include <math.h>
55505 main ()
55507 powf(0, 0);
55509 return 0;
55511 _ACEOF
55512 if ac_fn_cxx_try_compile "$LINENO"; then :
55513 glibcxx_cv_func_powf_use=yes
55514 else
55515 glibcxx_cv_func_powf_use=no
55517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55518 ac_ext=c
55519 ac_cpp='$CPP $CPPFLAGS'
55520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
55529 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
55531 if test x$glibcxx_cv_func_powf_use = x"yes"; then
55532 for ac_func in powf
55533 do :
55534 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
55535 if test "x$ac_cv_func_powf" = x""yes; then :
55536 cat >>confdefs.h <<_ACEOF
55537 #define HAVE_POWF 1
55538 _ACEOF
55541 done
55543 else
55545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
55546 $as_echo_n "checking for _powf declaration... " >&6; }
55547 if test x${glibcxx_cv_func__powf_use+set} != xset; then
55548 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
55549 $as_echo_n "(cached) " >&6
55550 else
55553 ac_ext=cpp
55554 ac_cpp='$CXXCPP $CPPFLAGS'
55555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55560 /* end confdefs.h. */
55561 #include <math.h>
55563 main ()
55565 _powf(0, 0);
55567 return 0;
55569 _ACEOF
55570 if ac_fn_cxx_try_compile "$LINENO"; then :
55571 glibcxx_cv_func__powf_use=yes
55572 else
55573 glibcxx_cv_func__powf_use=no
55575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55576 ac_ext=c
55577 ac_cpp='$CPP $CPPFLAGS'
55578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
55587 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
55589 if test x$glibcxx_cv_func__powf_use = x"yes"; then
55590 for ac_func in _powf
55591 do :
55592 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
55593 if test "x$ac_cv_func__powf" = x""yes; then :
55594 cat >>confdefs.h <<_ACEOF
55595 #define HAVE__POWF 1
55596 _ACEOF
55599 done
55608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
55609 $as_echo_n "checking for sqrtf declaration... " >&6; }
55610 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
55611 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
55612 $as_echo_n "(cached) " >&6
55613 else
55616 ac_ext=cpp
55617 ac_cpp='$CXXCPP $CPPFLAGS'
55618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55623 /* end confdefs.h. */
55624 #include <math.h>
55625 #ifdef HAVE_IEEEFP_H
55626 #include <ieeefp.h>
55627 #endif
55630 main ()
55632 sqrtf(0);
55634 return 0;
55636 _ACEOF
55637 if ac_fn_cxx_try_compile "$LINENO"; then :
55638 glibcxx_cv_func_sqrtf_use=yes
55639 else
55640 glibcxx_cv_func_sqrtf_use=no
55642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55643 ac_ext=c
55644 ac_cpp='$CPP $CPPFLAGS'
55645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
55654 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
55656 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
55657 for ac_func in sqrtf
55658 do :
55659 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
55660 if test "x$ac_cv_func_sqrtf" = x""yes; then :
55661 cat >>confdefs.h <<_ACEOF
55662 #define HAVE_SQRTF 1
55663 _ACEOF
55666 done
55668 else
55670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
55671 $as_echo_n "checking for _sqrtf declaration... " >&6; }
55672 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
55673 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
55674 $as_echo_n "(cached) " >&6
55675 else
55678 ac_ext=cpp
55679 ac_cpp='$CXXCPP $CPPFLAGS'
55680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55685 /* end confdefs.h. */
55686 #include <math.h>
55687 #ifdef HAVE_IEEEFP_H
55688 #include <ieeefp.h>
55689 #endif
55692 main ()
55694 _sqrtf(0);
55696 return 0;
55698 _ACEOF
55699 if ac_fn_cxx_try_compile "$LINENO"; then :
55700 glibcxx_cv_func__sqrtf_use=yes
55701 else
55702 glibcxx_cv_func__sqrtf_use=no
55704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55705 ac_ext=c
55706 ac_cpp='$CPP $CPPFLAGS'
55707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
55716 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
55718 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
55719 for ac_func in _sqrtf
55720 do :
55721 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
55722 if test "x$ac_cv_func__sqrtf" = x""yes; then :
55723 cat >>confdefs.h <<_ACEOF
55724 #define HAVE__SQRTF 1
55725 _ACEOF
55728 done
55737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
55738 $as_echo_n "checking for sincosf declaration... " >&6; }
55739 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
55740 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
55741 $as_echo_n "(cached) " >&6
55742 else
55745 ac_ext=cpp
55746 ac_cpp='$CXXCPP $CPPFLAGS'
55747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55752 /* end confdefs.h. */
55753 #include <math.h>
55755 main ()
55757 sincosf(0, 0, 0);
55759 return 0;
55761 _ACEOF
55762 if ac_fn_cxx_try_compile "$LINENO"; then :
55763 glibcxx_cv_func_sincosf_use=yes
55764 else
55765 glibcxx_cv_func_sincosf_use=no
55767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55768 ac_ext=c
55769 ac_cpp='$CPP $CPPFLAGS'
55770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
55779 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
55781 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
55782 for ac_func in sincosf
55783 do :
55784 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
55785 if test "x$ac_cv_func_sincosf" = x""yes; then :
55786 cat >>confdefs.h <<_ACEOF
55787 #define HAVE_SINCOSF 1
55788 _ACEOF
55791 done
55793 else
55795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
55796 $as_echo_n "checking for _sincosf declaration... " >&6; }
55797 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
55798 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
55799 $as_echo_n "(cached) " >&6
55800 else
55803 ac_ext=cpp
55804 ac_cpp='$CXXCPP $CPPFLAGS'
55805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55810 /* end confdefs.h. */
55811 #include <math.h>
55813 main ()
55815 _sincosf(0, 0, 0);
55817 return 0;
55819 _ACEOF
55820 if ac_fn_cxx_try_compile "$LINENO"; then :
55821 glibcxx_cv_func__sincosf_use=yes
55822 else
55823 glibcxx_cv_func__sincosf_use=no
55825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55826 ac_ext=c
55827 ac_cpp='$CPP $CPPFLAGS'
55828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
55837 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
55839 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
55840 for ac_func in _sincosf
55841 do :
55842 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
55843 if test "x$ac_cv_func__sincosf" = x""yes; then :
55844 cat >>confdefs.h <<_ACEOF
55845 #define HAVE__SINCOSF 1
55846 _ACEOF
55849 done
55858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
55859 $as_echo_n "checking for finitef declaration... " >&6; }
55860 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
55861 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
55862 $as_echo_n "(cached) " >&6
55863 else
55866 ac_ext=cpp
55867 ac_cpp='$CXXCPP $CPPFLAGS'
55868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55873 /* end confdefs.h. */
55874 #include <math.h>
55875 #ifdef HAVE_IEEEFP_H
55876 #include <ieeefp.h>
55877 #endif
55880 main ()
55882 finitef(0);
55884 return 0;
55886 _ACEOF
55887 if ac_fn_cxx_try_compile "$LINENO"; then :
55888 glibcxx_cv_func_finitef_use=yes
55889 else
55890 glibcxx_cv_func_finitef_use=no
55892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55893 ac_ext=c
55894 ac_cpp='$CPP $CPPFLAGS'
55895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
55904 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
55906 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
55907 for ac_func in finitef
55908 do :
55909 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
55910 if test "x$ac_cv_func_finitef" = x""yes; then :
55911 cat >>confdefs.h <<_ACEOF
55912 #define HAVE_FINITEF 1
55913 _ACEOF
55916 done
55918 else
55920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
55921 $as_echo_n "checking for _finitef declaration... " >&6; }
55922 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
55923 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
55924 $as_echo_n "(cached) " >&6
55925 else
55928 ac_ext=cpp
55929 ac_cpp='$CXXCPP $CPPFLAGS'
55930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55935 /* end confdefs.h. */
55936 #include <math.h>
55937 #ifdef HAVE_IEEEFP_H
55938 #include <ieeefp.h>
55939 #endif
55942 main ()
55944 _finitef(0);
55946 return 0;
55948 _ACEOF
55949 if ac_fn_cxx_try_compile "$LINENO"; then :
55950 glibcxx_cv_func__finitef_use=yes
55951 else
55952 glibcxx_cv_func__finitef_use=no
55954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55955 ac_ext=c
55956 ac_cpp='$CPP $CPPFLAGS'
55957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
55966 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
55968 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
55969 for ac_func in _finitef
55970 do :
55971 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
55972 if test "x$ac_cv_func__finitef" = x""yes; then :
55973 cat >>confdefs.h <<_ACEOF
55974 #define HAVE__FINITEF 1
55975 _ACEOF
55978 done
55987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
55988 $as_echo_n "checking for long double trig functions... " >&6; }
55989 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
55990 $as_echo_n "(cached) " >&6
55991 else
55994 ac_ext=cpp
55995 ac_cpp='$CXXCPP $CPPFLAGS'
55996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56001 /* end confdefs.h. */
56002 #include <math.h>
56004 main ()
56006 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
56008 return 0;
56010 _ACEOF
56011 if ac_fn_cxx_try_compile "$LINENO"; then :
56012 glibcxx_cv_func_long_double_trig_use=yes
56013 else
56014 glibcxx_cv_func_long_double_trig_use=no
56016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56017 ac_ext=c
56018 ac_cpp='$CPP $CPPFLAGS'
56019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
56026 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
56027 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
56028 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
56029 do :
56030 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56031 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56032 eval as_val=\$$as_ac_var
56033 if test "x$as_val" = x""yes; then :
56034 cat >>confdefs.h <<_ACEOF
56035 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56036 _ACEOF
56039 done
56041 else
56042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
56043 $as_echo_n "checking for _long double trig functions... " >&6; }
56044 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
56045 $as_echo_n "(cached) " >&6
56046 else
56049 ac_ext=cpp
56050 ac_cpp='$CXXCPP $CPPFLAGS'
56051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56056 /* end confdefs.h. */
56057 #include <math.h>
56059 main ()
56061 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
56063 return 0;
56065 _ACEOF
56066 if ac_fn_cxx_try_compile "$LINENO"; then :
56067 glibcxx_cv_func__long_double_trig_use=yes
56068 else
56069 glibcxx_cv_func__long_double_trig_use=no
56071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56072 ac_ext=c
56073 ac_cpp='$CPP $CPPFLAGS'
56074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
56081 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
56082 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
56083 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
56084 do :
56085 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56086 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56087 eval as_val=\$$as_ac_var
56088 if test "x$as_val" = x""yes; then :
56089 cat >>confdefs.h <<_ACEOF
56090 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56091 _ACEOF
56094 done
56103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
56104 $as_echo_n "checking for long double round functions... " >&6; }
56105 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
56106 $as_echo_n "(cached) " >&6
56107 else
56110 ac_ext=cpp
56111 ac_cpp='$CXXCPP $CPPFLAGS'
56112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56117 /* end confdefs.h. */
56118 #include <math.h>
56120 main ()
56122 ceill (0); floorl (0);
56124 return 0;
56126 _ACEOF
56127 if ac_fn_cxx_try_compile "$LINENO"; then :
56128 glibcxx_cv_func_long_double_round_use=yes
56129 else
56130 glibcxx_cv_func_long_double_round_use=no
56132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56133 ac_ext=c
56134 ac_cpp='$CPP $CPPFLAGS'
56135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
56142 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
56143 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
56144 for ac_func in ceill floorl
56145 do :
56146 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56147 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56148 eval as_val=\$$as_ac_var
56149 if test "x$as_val" = x""yes; then :
56150 cat >>confdefs.h <<_ACEOF
56151 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56152 _ACEOF
56155 done
56157 else
56158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
56159 $as_echo_n "checking for _long double round functions... " >&6; }
56160 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
56161 $as_echo_n "(cached) " >&6
56162 else
56165 ac_ext=cpp
56166 ac_cpp='$CXXCPP $CPPFLAGS'
56167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56172 /* end confdefs.h. */
56173 #include <math.h>
56175 main ()
56177 _ceill (0); _floorl (0);
56179 return 0;
56181 _ACEOF
56182 if ac_fn_cxx_try_compile "$LINENO"; then :
56183 glibcxx_cv_func__long_double_round_use=yes
56184 else
56185 glibcxx_cv_func__long_double_round_use=no
56187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56188 ac_ext=c
56189 ac_cpp='$CPP $CPPFLAGS'
56190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
56197 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
56198 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
56199 for ac_func in _ceill _floorl
56200 do :
56201 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56202 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56203 eval as_val=\$$as_ac_var
56204 if test "x$as_val" = x""yes; then :
56205 cat >>confdefs.h <<_ACEOF
56206 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56207 _ACEOF
56210 done
56220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
56221 $as_echo_n "checking for isnanl declaration... " >&6; }
56222 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
56223 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
56224 $as_echo_n "(cached) " >&6
56225 else
56228 ac_ext=cpp
56229 ac_cpp='$CXXCPP $CPPFLAGS'
56230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56235 /* end confdefs.h. */
56236 #include <math.h>
56237 #ifdef HAVE_IEEEFP_H
56238 #include <ieeefp.h>
56239 #endif
56242 main ()
56244 isnanl(0);
56246 return 0;
56248 _ACEOF
56249 if ac_fn_cxx_try_compile "$LINENO"; then :
56250 glibcxx_cv_func_isnanl_use=yes
56251 else
56252 glibcxx_cv_func_isnanl_use=no
56254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56255 ac_ext=c
56256 ac_cpp='$CPP $CPPFLAGS'
56257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
56266 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
56268 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
56269 for ac_func in isnanl
56270 do :
56271 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
56272 if test "x$ac_cv_func_isnanl" = x""yes; then :
56273 cat >>confdefs.h <<_ACEOF
56274 #define HAVE_ISNANL 1
56275 _ACEOF
56278 done
56280 else
56282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
56283 $as_echo_n "checking for _isnanl declaration... " >&6; }
56284 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
56285 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
56286 $as_echo_n "(cached) " >&6
56287 else
56290 ac_ext=cpp
56291 ac_cpp='$CXXCPP $CPPFLAGS'
56292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56297 /* end confdefs.h. */
56298 #include <math.h>
56299 #ifdef HAVE_IEEEFP_H
56300 #include <ieeefp.h>
56301 #endif
56304 main ()
56306 _isnanl(0);
56308 return 0;
56310 _ACEOF
56311 if ac_fn_cxx_try_compile "$LINENO"; then :
56312 glibcxx_cv_func__isnanl_use=yes
56313 else
56314 glibcxx_cv_func__isnanl_use=no
56316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56317 ac_ext=c
56318 ac_cpp='$CPP $CPPFLAGS'
56319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
56328 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
56330 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
56331 for ac_func in _isnanl
56332 do :
56333 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
56334 if test "x$ac_cv_func__isnanl" = x""yes; then :
56335 cat >>confdefs.h <<_ACEOF
56336 #define HAVE__ISNANL 1
56337 _ACEOF
56340 done
56349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
56350 $as_echo_n "checking for isinfl declaration... " >&6; }
56351 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
56352 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
56353 $as_echo_n "(cached) " >&6
56354 else
56357 ac_ext=cpp
56358 ac_cpp='$CXXCPP $CPPFLAGS'
56359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56364 /* end confdefs.h. */
56365 #include <math.h>
56366 #ifdef HAVE_IEEEFP_H
56367 #include <ieeefp.h>
56368 #endif
56371 main ()
56373 isinfl(0);
56375 return 0;
56377 _ACEOF
56378 if ac_fn_cxx_try_compile "$LINENO"; then :
56379 glibcxx_cv_func_isinfl_use=yes
56380 else
56381 glibcxx_cv_func_isinfl_use=no
56383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56384 ac_ext=c
56385 ac_cpp='$CPP $CPPFLAGS'
56386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
56395 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
56397 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
56398 for ac_func in isinfl
56399 do :
56400 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
56401 if test "x$ac_cv_func_isinfl" = x""yes; then :
56402 cat >>confdefs.h <<_ACEOF
56403 #define HAVE_ISINFL 1
56404 _ACEOF
56407 done
56409 else
56411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
56412 $as_echo_n "checking for _isinfl declaration... " >&6; }
56413 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
56414 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
56415 $as_echo_n "(cached) " >&6
56416 else
56419 ac_ext=cpp
56420 ac_cpp='$CXXCPP $CPPFLAGS'
56421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56426 /* end confdefs.h. */
56427 #include <math.h>
56428 #ifdef HAVE_IEEEFP_H
56429 #include <ieeefp.h>
56430 #endif
56433 main ()
56435 _isinfl(0);
56437 return 0;
56439 _ACEOF
56440 if ac_fn_cxx_try_compile "$LINENO"; then :
56441 glibcxx_cv_func__isinfl_use=yes
56442 else
56443 glibcxx_cv_func__isinfl_use=no
56445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56446 ac_ext=c
56447 ac_cpp='$CPP $CPPFLAGS'
56448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
56457 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
56459 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
56460 for ac_func in _isinfl
56461 do :
56462 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
56463 if test "x$ac_cv_func__isinfl" = x""yes; then :
56464 cat >>confdefs.h <<_ACEOF
56465 #define HAVE__ISINFL 1
56466 _ACEOF
56469 done
56478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
56479 $as_echo_n "checking for atan2l declaration... " >&6; }
56480 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
56481 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
56482 $as_echo_n "(cached) " >&6
56483 else
56486 ac_ext=cpp
56487 ac_cpp='$CXXCPP $CPPFLAGS'
56488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56493 /* end confdefs.h. */
56494 #include <math.h>
56496 main ()
56498 atan2l(0, 0);
56500 return 0;
56502 _ACEOF
56503 if ac_fn_cxx_try_compile "$LINENO"; then :
56504 glibcxx_cv_func_atan2l_use=yes
56505 else
56506 glibcxx_cv_func_atan2l_use=no
56508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56509 ac_ext=c
56510 ac_cpp='$CPP $CPPFLAGS'
56511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
56520 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
56522 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
56523 for ac_func in atan2l
56524 do :
56525 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
56526 if test "x$ac_cv_func_atan2l" = x""yes; then :
56527 cat >>confdefs.h <<_ACEOF
56528 #define HAVE_ATAN2L 1
56529 _ACEOF
56532 done
56534 else
56536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
56537 $as_echo_n "checking for _atan2l declaration... " >&6; }
56538 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
56539 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
56540 $as_echo_n "(cached) " >&6
56541 else
56544 ac_ext=cpp
56545 ac_cpp='$CXXCPP $CPPFLAGS'
56546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56551 /* end confdefs.h. */
56552 #include <math.h>
56554 main ()
56556 _atan2l(0, 0);
56558 return 0;
56560 _ACEOF
56561 if ac_fn_cxx_try_compile "$LINENO"; then :
56562 glibcxx_cv_func__atan2l_use=yes
56563 else
56564 glibcxx_cv_func__atan2l_use=no
56566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56567 ac_ext=c
56568 ac_cpp='$CPP $CPPFLAGS'
56569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
56578 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
56580 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
56581 for ac_func in _atan2l
56582 do :
56583 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
56584 if test "x$ac_cv_func__atan2l" = x""yes; then :
56585 cat >>confdefs.h <<_ACEOF
56586 #define HAVE__ATAN2L 1
56587 _ACEOF
56590 done
56599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
56600 $as_echo_n "checking for expl declaration... " >&6; }
56601 if test x${glibcxx_cv_func_expl_use+set} != xset; then
56602 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
56603 $as_echo_n "(cached) " >&6
56604 else
56607 ac_ext=cpp
56608 ac_cpp='$CXXCPP $CPPFLAGS'
56609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56614 /* end confdefs.h. */
56615 #include <math.h>
56616 #ifdef HAVE_IEEEFP_H
56617 #include <ieeefp.h>
56618 #endif
56621 main ()
56623 expl(0);
56625 return 0;
56627 _ACEOF
56628 if ac_fn_cxx_try_compile "$LINENO"; then :
56629 glibcxx_cv_func_expl_use=yes
56630 else
56631 glibcxx_cv_func_expl_use=no
56633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56634 ac_ext=c
56635 ac_cpp='$CPP $CPPFLAGS'
56636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
56645 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
56647 if test x$glibcxx_cv_func_expl_use = x"yes"; then
56648 for ac_func in expl
56649 do :
56650 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
56651 if test "x$ac_cv_func_expl" = x""yes; then :
56652 cat >>confdefs.h <<_ACEOF
56653 #define HAVE_EXPL 1
56654 _ACEOF
56657 done
56659 else
56661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
56662 $as_echo_n "checking for _expl declaration... " >&6; }
56663 if test x${glibcxx_cv_func__expl_use+set} != xset; then
56664 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
56665 $as_echo_n "(cached) " >&6
56666 else
56669 ac_ext=cpp
56670 ac_cpp='$CXXCPP $CPPFLAGS'
56671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56676 /* end confdefs.h. */
56677 #include <math.h>
56678 #ifdef HAVE_IEEEFP_H
56679 #include <ieeefp.h>
56680 #endif
56683 main ()
56685 _expl(0);
56687 return 0;
56689 _ACEOF
56690 if ac_fn_cxx_try_compile "$LINENO"; then :
56691 glibcxx_cv_func__expl_use=yes
56692 else
56693 glibcxx_cv_func__expl_use=no
56695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56696 ac_ext=c
56697 ac_cpp='$CPP $CPPFLAGS'
56698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
56707 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
56709 if test x$glibcxx_cv_func__expl_use = x"yes"; then
56710 for ac_func in _expl
56711 do :
56712 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
56713 if test "x$ac_cv_func__expl" = x""yes; then :
56714 cat >>confdefs.h <<_ACEOF
56715 #define HAVE__EXPL 1
56716 _ACEOF
56719 done
56728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
56729 $as_echo_n "checking for fabsl declaration... " >&6; }
56730 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
56731 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
56732 $as_echo_n "(cached) " >&6
56733 else
56736 ac_ext=cpp
56737 ac_cpp='$CXXCPP $CPPFLAGS'
56738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56743 /* end confdefs.h. */
56744 #include <math.h>
56745 #ifdef HAVE_IEEEFP_H
56746 #include <ieeefp.h>
56747 #endif
56750 main ()
56752 fabsl(0);
56754 return 0;
56756 _ACEOF
56757 if ac_fn_cxx_try_compile "$LINENO"; then :
56758 glibcxx_cv_func_fabsl_use=yes
56759 else
56760 glibcxx_cv_func_fabsl_use=no
56762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56763 ac_ext=c
56764 ac_cpp='$CPP $CPPFLAGS'
56765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
56774 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
56776 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
56777 for ac_func in fabsl
56778 do :
56779 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
56780 if test "x$ac_cv_func_fabsl" = x""yes; then :
56781 cat >>confdefs.h <<_ACEOF
56782 #define HAVE_FABSL 1
56783 _ACEOF
56786 done
56788 else
56790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
56791 $as_echo_n "checking for _fabsl declaration... " >&6; }
56792 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
56793 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
56794 $as_echo_n "(cached) " >&6
56795 else
56798 ac_ext=cpp
56799 ac_cpp='$CXXCPP $CPPFLAGS'
56800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56805 /* end confdefs.h. */
56806 #include <math.h>
56807 #ifdef HAVE_IEEEFP_H
56808 #include <ieeefp.h>
56809 #endif
56812 main ()
56814 _fabsl(0);
56816 return 0;
56818 _ACEOF
56819 if ac_fn_cxx_try_compile "$LINENO"; then :
56820 glibcxx_cv_func__fabsl_use=yes
56821 else
56822 glibcxx_cv_func__fabsl_use=no
56824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56825 ac_ext=c
56826 ac_cpp='$CPP $CPPFLAGS'
56827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
56836 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
56838 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
56839 for ac_func in _fabsl
56840 do :
56841 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
56842 if test "x$ac_cv_func__fabsl" = x""yes; then :
56843 cat >>confdefs.h <<_ACEOF
56844 #define HAVE__FABSL 1
56845 _ACEOF
56848 done
56857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
56858 $as_echo_n "checking for fmodl declaration... " >&6; }
56859 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
56860 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
56861 $as_echo_n "(cached) " >&6
56862 else
56865 ac_ext=cpp
56866 ac_cpp='$CXXCPP $CPPFLAGS'
56867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56872 /* end confdefs.h. */
56873 #include <math.h>
56875 main ()
56877 fmodl(0, 0);
56879 return 0;
56881 _ACEOF
56882 if ac_fn_cxx_try_compile "$LINENO"; then :
56883 glibcxx_cv_func_fmodl_use=yes
56884 else
56885 glibcxx_cv_func_fmodl_use=no
56887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56888 ac_ext=c
56889 ac_cpp='$CPP $CPPFLAGS'
56890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
56899 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
56901 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
56902 for ac_func in fmodl
56903 do :
56904 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
56905 if test "x$ac_cv_func_fmodl" = x""yes; then :
56906 cat >>confdefs.h <<_ACEOF
56907 #define HAVE_FMODL 1
56908 _ACEOF
56911 done
56913 else
56915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
56916 $as_echo_n "checking for _fmodl declaration... " >&6; }
56917 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
56918 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
56919 $as_echo_n "(cached) " >&6
56920 else
56923 ac_ext=cpp
56924 ac_cpp='$CXXCPP $CPPFLAGS'
56925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56930 /* end confdefs.h. */
56931 #include <math.h>
56933 main ()
56935 _fmodl(0, 0);
56937 return 0;
56939 _ACEOF
56940 if ac_fn_cxx_try_compile "$LINENO"; then :
56941 glibcxx_cv_func__fmodl_use=yes
56942 else
56943 glibcxx_cv_func__fmodl_use=no
56945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56946 ac_ext=c
56947 ac_cpp='$CPP $CPPFLAGS'
56948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
56957 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
56959 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
56960 for ac_func in _fmodl
56961 do :
56962 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
56963 if test "x$ac_cv_func__fmodl" = x""yes; then :
56964 cat >>confdefs.h <<_ACEOF
56965 #define HAVE__FMODL 1
56966 _ACEOF
56969 done
56978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
56979 $as_echo_n "checking for frexpl declaration... " >&6; }
56980 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
56981 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
56982 $as_echo_n "(cached) " >&6
56983 else
56986 ac_ext=cpp
56987 ac_cpp='$CXXCPP $CPPFLAGS'
56988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56993 /* end confdefs.h. */
56994 #include <math.h>
56996 main ()
56998 frexpl(0, 0);
57000 return 0;
57002 _ACEOF
57003 if ac_fn_cxx_try_compile "$LINENO"; then :
57004 glibcxx_cv_func_frexpl_use=yes
57005 else
57006 glibcxx_cv_func_frexpl_use=no
57008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57009 ac_ext=c
57010 ac_cpp='$CPP $CPPFLAGS'
57011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
57020 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
57022 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
57023 for ac_func in frexpl
57024 do :
57025 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
57026 if test "x$ac_cv_func_frexpl" = x""yes; then :
57027 cat >>confdefs.h <<_ACEOF
57028 #define HAVE_FREXPL 1
57029 _ACEOF
57032 done
57034 else
57036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
57037 $as_echo_n "checking for _frexpl declaration... " >&6; }
57038 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
57039 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
57040 $as_echo_n "(cached) " >&6
57041 else
57044 ac_ext=cpp
57045 ac_cpp='$CXXCPP $CPPFLAGS'
57046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57051 /* end confdefs.h. */
57052 #include <math.h>
57054 main ()
57056 _frexpl(0, 0);
57058 return 0;
57060 _ACEOF
57061 if ac_fn_cxx_try_compile "$LINENO"; then :
57062 glibcxx_cv_func__frexpl_use=yes
57063 else
57064 glibcxx_cv_func__frexpl_use=no
57066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57067 ac_ext=c
57068 ac_cpp='$CPP $CPPFLAGS'
57069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
57078 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
57080 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
57081 for ac_func in _frexpl
57082 do :
57083 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
57084 if test "x$ac_cv_func__frexpl" = x""yes; then :
57085 cat >>confdefs.h <<_ACEOF
57086 #define HAVE__FREXPL 1
57087 _ACEOF
57090 done
57099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
57100 $as_echo_n "checking for hypotl declaration... " >&6; }
57101 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
57102 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
57103 $as_echo_n "(cached) " >&6
57104 else
57107 ac_ext=cpp
57108 ac_cpp='$CXXCPP $CPPFLAGS'
57109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57114 /* end confdefs.h. */
57115 #include <math.h>
57117 main ()
57119 hypotl(0, 0);
57121 return 0;
57123 _ACEOF
57124 if ac_fn_cxx_try_compile "$LINENO"; then :
57125 glibcxx_cv_func_hypotl_use=yes
57126 else
57127 glibcxx_cv_func_hypotl_use=no
57129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57130 ac_ext=c
57131 ac_cpp='$CPP $CPPFLAGS'
57132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
57141 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
57143 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
57144 for ac_func in hypotl
57145 do :
57146 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
57147 if test "x$ac_cv_func_hypotl" = x""yes; then :
57148 cat >>confdefs.h <<_ACEOF
57149 #define HAVE_HYPOTL 1
57150 _ACEOF
57153 done
57155 else
57157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
57158 $as_echo_n "checking for _hypotl declaration... " >&6; }
57159 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
57160 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
57161 $as_echo_n "(cached) " >&6
57162 else
57165 ac_ext=cpp
57166 ac_cpp='$CXXCPP $CPPFLAGS'
57167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57172 /* end confdefs.h. */
57173 #include <math.h>
57175 main ()
57177 _hypotl(0, 0);
57179 return 0;
57181 _ACEOF
57182 if ac_fn_cxx_try_compile "$LINENO"; then :
57183 glibcxx_cv_func__hypotl_use=yes
57184 else
57185 glibcxx_cv_func__hypotl_use=no
57187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57188 ac_ext=c
57189 ac_cpp='$CPP $CPPFLAGS'
57190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
57199 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
57201 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
57202 for ac_func in _hypotl
57203 do :
57204 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
57205 if test "x$ac_cv_func__hypotl" = x""yes; then :
57206 cat >>confdefs.h <<_ACEOF
57207 #define HAVE__HYPOTL 1
57208 _ACEOF
57211 done
57220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
57221 $as_echo_n "checking for ldexpl declaration... " >&6; }
57222 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
57223 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
57224 $as_echo_n "(cached) " >&6
57225 else
57228 ac_ext=cpp
57229 ac_cpp='$CXXCPP $CPPFLAGS'
57230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57235 /* end confdefs.h. */
57236 #include <math.h>
57238 main ()
57240 ldexpl(0, 0);
57242 return 0;
57244 _ACEOF
57245 if ac_fn_cxx_try_compile "$LINENO"; then :
57246 glibcxx_cv_func_ldexpl_use=yes
57247 else
57248 glibcxx_cv_func_ldexpl_use=no
57250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57251 ac_ext=c
57252 ac_cpp='$CPP $CPPFLAGS'
57253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
57262 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
57264 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
57265 for ac_func in ldexpl
57266 do :
57267 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
57268 if test "x$ac_cv_func_ldexpl" = x""yes; then :
57269 cat >>confdefs.h <<_ACEOF
57270 #define HAVE_LDEXPL 1
57271 _ACEOF
57274 done
57276 else
57278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
57279 $as_echo_n "checking for _ldexpl declaration... " >&6; }
57280 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
57281 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
57282 $as_echo_n "(cached) " >&6
57283 else
57286 ac_ext=cpp
57287 ac_cpp='$CXXCPP $CPPFLAGS'
57288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57293 /* end confdefs.h. */
57294 #include <math.h>
57296 main ()
57298 _ldexpl(0, 0);
57300 return 0;
57302 _ACEOF
57303 if ac_fn_cxx_try_compile "$LINENO"; then :
57304 glibcxx_cv_func__ldexpl_use=yes
57305 else
57306 glibcxx_cv_func__ldexpl_use=no
57308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57309 ac_ext=c
57310 ac_cpp='$CPP $CPPFLAGS'
57311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
57320 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
57322 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
57323 for ac_func in _ldexpl
57324 do :
57325 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
57326 if test "x$ac_cv_func__ldexpl" = x""yes; then :
57327 cat >>confdefs.h <<_ACEOF
57328 #define HAVE__LDEXPL 1
57329 _ACEOF
57332 done
57341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
57342 $as_echo_n "checking for logl declaration... " >&6; }
57343 if test x${glibcxx_cv_func_logl_use+set} != xset; then
57344 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
57345 $as_echo_n "(cached) " >&6
57346 else
57349 ac_ext=cpp
57350 ac_cpp='$CXXCPP $CPPFLAGS'
57351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57356 /* end confdefs.h. */
57357 #include <math.h>
57358 #ifdef HAVE_IEEEFP_H
57359 #include <ieeefp.h>
57360 #endif
57363 main ()
57365 logl(0);
57367 return 0;
57369 _ACEOF
57370 if ac_fn_cxx_try_compile "$LINENO"; then :
57371 glibcxx_cv_func_logl_use=yes
57372 else
57373 glibcxx_cv_func_logl_use=no
57375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57376 ac_ext=c
57377 ac_cpp='$CPP $CPPFLAGS'
57378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
57387 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
57389 if test x$glibcxx_cv_func_logl_use = x"yes"; then
57390 for ac_func in logl
57391 do :
57392 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
57393 if test "x$ac_cv_func_logl" = x""yes; then :
57394 cat >>confdefs.h <<_ACEOF
57395 #define HAVE_LOGL 1
57396 _ACEOF
57399 done
57401 else
57403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
57404 $as_echo_n "checking for _logl declaration... " >&6; }
57405 if test x${glibcxx_cv_func__logl_use+set} != xset; then
57406 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
57407 $as_echo_n "(cached) " >&6
57408 else
57411 ac_ext=cpp
57412 ac_cpp='$CXXCPP $CPPFLAGS'
57413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57418 /* end confdefs.h. */
57419 #include <math.h>
57420 #ifdef HAVE_IEEEFP_H
57421 #include <ieeefp.h>
57422 #endif
57425 main ()
57427 _logl(0);
57429 return 0;
57431 _ACEOF
57432 if ac_fn_cxx_try_compile "$LINENO"; then :
57433 glibcxx_cv_func__logl_use=yes
57434 else
57435 glibcxx_cv_func__logl_use=no
57437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57438 ac_ext=c
57439 ac_cpp='$CPP $CPPFLAGS'
57440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
57449 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
57451 if test x$glibcxx_cv_func__logl_use = x"yes"; then
57452 for ac_func in _logl
57453 do :
57454 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
57455 if test "x$ac_cv_func__logl" = x""yes; then :
57456 cat >>confdefs.h <<_ACEOF
57457 #define HAVE__LOGL 1
57458 _ACEOF
57461 done
57470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
57471 $as_echo_n "checking for log10l declaration... " >&6; }
57472 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
57473 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
57474 $as_echo_n "(cached) " >&6
57475 else
57478 ac_ext=cpp
57479 ac_cpp='$CXXCPP $CPPFLAGS'
57480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57485 /* end confdefs.h. */
57486 #include <math.h>
57487 #ifdef HAVE_IEEEFP_H
57488 #include <ieeefp.h>
57489 #endif
57492 main ()
57494 log10l(0);
57496 return 0;
57498 _ACEOF
57499 if ac_fn_cxx_try_compile "$LINENO"; then :
57500 glibcxx_cv_func_log10l_use=yes
57501 else
57502 glibcxx_cv_func_log10l_use=no
57504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57505 ac_ext=c
57506 ac_cpp='$CPP $CPPFLAGS'
57507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
57516 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
57518 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
57519 for ac_func in log10l
57520 do :
57521 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
57522 if test "x$ac_cv_func_log10l" = x""yes; then :
57523 cat >>confdefs.h <<_ACEOF
57524 #define HAVE_LOG10L 1
57525 _ACEOF
57528 done
57530 else
57532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
57533 $as_echo_n "checking for _log10l declaration... " >&6; }
57534 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
57535 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
57536 $as_echo_n "(cached) " >&6
57537 else
57540 ac_ext=cpp
57541 ac_cpp='$CXXCPP $CPPFLAGS'
57542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57547 /* end confdefs.h. */
57548 #include <math.h>
57549 #ifdef HAVE_IEEEFP_H
57550 #include <ieeefp.h>
57551 #endif
57554 main ()
57556 _log10l(0);
57558 return 0;
57560 _ACEOF
57561 if ac_fn_cxx_try_compile "$LINENO"; then :
57562 glibcxx_cv_func__log10l_use=yes
57563 else
57564 glibcxx_cv_func__log10l_use=no
57566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57567 ac_ext=c
57568 ac_cpp='$CPP $CPPFLAGS'
57569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
57578 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
57580 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
57581 for ac_func in _log10l
57582 do :
57583 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
57584 if test "x$ac_cv_func__log10l" = x""yes; then :
57585 cat >>confdefs.h <<_ACEOF
57586 #define HAVE__LOG10L 1
57587 _ACEOF
57590 done
57599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
57600 $as_echo_n "checking for modfl declaration... " >&6; }
57601 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
57602 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
57603 $as_echo_n "(cached) " >&6
57604 else
57607 ac_ext=cpp
57608 ac_cpp='$CXXCPP $CPPFLAGS'
57609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57614 /* end confdefs.h. */
57615 #include <math.h>
57617 main ()
57619 modfl(0, 0);
57621 return 0;
57623 _ACEOF
57624 if ac_fn_cxx_try_compile "$LINENO"; then :
57625 glibcxx_cv_func_modfl_use=yes
57626 else
57627 glibcxx_cv_func_modfl_use=no
57629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57630 ac_ext=c
57631 ac_cpp='$CPP $CPPFLAGS'
57632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
57641 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
57643 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
57644 for ac_func in modfl
57645 do :
57646 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
57647 if test "x$ac_cv_func_modfl" = x""yes; then :
57648 cat >>confdefs.h <<_ACEOF
57649 #define HAVE_MODFL 1
57650 _ACEOF
57653 done
57655 else
57657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
57658 $as_echo_n "checking for _modfl declaration... " >&6; }
57659 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
57660 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
57661 $as_echo_n "(cached) " >&6
57662 else
57665 ac_ext=cpp
57666 ac_cpp='$CXXCPP $CPPFLAGS'
57667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57672 /* end confdefs.h. */
57673 #include <math.h>
57675 main ()
57677 _modfl(0, 0);
57679 return 0;
57681 _ACEOF
57682 if ac_fn_cxx_try_compile "$LINENO"; then :
57683 glibcxx_cv_func__modfl_use=yes
57684 else
57685 glibcxx_cv_func__modfl_use=no
57687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57688 ac_ext=c
57689 ac_cpp='$CPP $CPPFLAGS'
57690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
57699 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
57701 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
57702 for ac_func in _modfl
57703 do :
57704 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
57705 if test "x$ac_cv_func__modfl" = x""yes; then :
57706 cat >>confdefs.h <<_ACEOF
57707 #define HAVE__MODFL 1
57708 _ACEOF
57711 done
57720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
57721 $as_echo_n "checking for powl declaration... " >&6; }
57722 if test x${glibcxx_cv_func_powl_use+set} != xset; then
57723 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
57724 $as_echo_n "(cached) " >&6
57725 else
57728 ac_ext=cpp
57729 ac_cpp='$CXXCPP $CPPFLAGS'
57730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57735 /* end confdefs.h. */
57736 #include <math.h>
57738 main ()
57740 powl(0, 0);
57742 return 0;
57744 _ACEOF
57745 if ac_fn_cxx_try_compile "$LINENO"; then :
57746 glibcxx_cv_func_powl_use=yes
57747 else
57748 glibcxx_cv_func_powl_use=no
57750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57751 ac_ext=c
57752 ac_cpp='$CPP $CPPFLAGS'
57753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
57762 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
57764 if test x$glibcxx_cv_func_powl_use = x"yes"; then
57765 for ac_func in powl
57766 do :
57767 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
57768 if test "x$ac_cv_func_powl" = x""yes; then :
57769 cat >>confdefs.h <<_ACEOF
57770 #define HAVE_POWL 1
57771 _ACEOF
57774 done
57776 else
57778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
57779 $as_echo_n "checking for _powl declaration... " >&6; }
57780 if test x${glibcxx_cv_func__powl_use+set} != xset; then
57781 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
57782 $as_echo_n "(cached) " >&6
57783 else
57786 ac_ext=cpp
57787 ac_cpp='$CXXCPP $CPPFLAGS'
57788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57793 /* end confdefs.h. */
57794 #include <math.h>
57796 main ()
57798 _powl(0, 0);
57800 return 0;
57802 _ACEOF
57803 if ac_fn_cxx_try_compile "$LINENO"; then :
57804 glibcxx_cv_func__powl_use=yes
57805 else
57806 glibcxx_cv_func__powl_use=no
57808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57809 ac_ext=c
57810 ac_cpp='$CPP $CPPFLAGS'
57811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
57820 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
57822 if test x$glibcxx_cv_func__powl_use = x"yes"; then
57823 for ac_func in _powl
57824 do :
57825 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
57826 if test "x$ac_cv_func__powl" = x""yes; then :
57827 cat >>confdefs.h <<_ACEOF
57828 #define HAVE__POWL 1
57829 _ACEOF
57832 done
57841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
57842 $as_echo_n "checking for sqrtl declaration... " >&6; }
57843 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
57844 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
57845 $as_echo_n "(cached) " >&6
57846 else
57849 ac_ext=cpp
57850 ac_cpp='$CXXCPP $CPPFLAGS'
57851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57856 /* end confdefs.h. */
57857 #include <math.h>
57858 #ifdef HAVE_IEEEFP_H
57859 #include <ieeefp.h>
57860 #endif
57863 main ()
57865 sqrtl(0);
57867 return 0;
57869 _ACEOF
57870 if ac_fn_cxx_try_compile "$LINENO"; then :
57871 glibcxx_cv_func_sqrtl_use=yes
57872 else
57873 glibcxx_cv_func_sqrtl_use=no
57875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57876 ac_ext=c
57877 ac_cpp='$CPP $CPPFLAGS'
57878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
57887 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
57889 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
57890 for ac_func in sqrtl
57891 do :
57892 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
57893 if test "x$ac_cv_func_sqrtl" = x""yes; then :
57894 cat >>confdefs.h <<_ACEOF
57895 #define HAVE_SQRTL 1
57896 _ACEOF
57899 done
57901 else
57903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
57904 $as_echo_n "checking for _sqrtl declaration... " >&6; }
57905 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
57906 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
57907 $as_echo_n "(cached) " >&6
57908 else
57911 ac_ext=cpp
57912 ac_cpp='$CXXCPP $CPPFLAGS'
57913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57918 /* end confdefs.h. */
57919 #include <math.h>
57920 #ifdef HAVE_IEEEFP_H
57921 #include <ieeefp.h>
57922 #endif
57925 main ()
57927 _sqrtl(0);
57929 return 0;
57931 _ACEOF
57932 if ac_fn_cxx_try_compile "$LINENO"; then :
57933 glibcxx_cv_func__sqrtl_use=yes
57934 else
57935 glibcxx_cv_func__sqrtl_use=no
57937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57938 ac_ext=c
57939 ac_cpp='$CPP $CPPFLAGS'
57940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
57949 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
57951 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
57952 for ac_func in _sqrtl
57953 do :
57954 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
57955 if test "x$ac_cv_func__sqrtl" = x""yes; then :
57956 cat >>confdefs.h <<_ACEOF
57957 #define HAVE__SQRTL 1
57958 _ACEOF
57961 done
57970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
57971 $as_echo_n "checking for sincosl declaration... " >&6; }
57972 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
57973 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
57974 $as_echo_n "(cached) " >&6
57975 else
57978 ac_ext=cpp
57979 ac_cpp='$CXXCPP $CPPFLAGS'
57980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57985 /* end confdefs.h. */
57986 #include <math.h>
57988 main ()
57990 sincosl(0, 0, 0);
57992 return 0;
57994 _ACEOF
57995 if ac_fn_cxx_try_compile "$LINENO"; then :
57996 glibcxx_cv_func_sincosl_use=yes
57997 else
57998 glibcxx_cv_func_sincosl_use=no
58000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58001 ac_ext=c
58002 ac_cpp='$CPP $CPPFLAGS'
58003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
58012 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
58014 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
58015 for ac_func in sincosl
58016 do :
58017 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
58018 if test "x$ac_cv_func_sincosl" = x""yes; then :
58019 cat >>confdefs.h <<_ACEOF
58020 #define HAVE_SINCOSL 1
58021 _ACEOF
58024 done
58026 else
58028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
58029 $as_echo_n "checking for _sincosl declaration... " >&6; }
58030 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
58031 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
58032 $as_echo_n "(cached) " >&6
58033 else
58036 ac_ext=cpp
58037 ac_cpp='$CXXCPP $CPPFLAGS'
58038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58043 /* end confdefs.h. */
58044 #include <math.h>
58046 main ()
58048 _sincosl(0, 0, 0);
58050 return 0;
58052 _ACEOF
58053 if ac_fn_cxx_try_compile "$LINENO"; then :
58054 glibcxx_cv_func__sincosl_use=yes
58055 else
58056 glibcxx_cv_func__sincosl_use=no
58058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58059 ac_ext=c
58060 ac_cpp='$CPP $CPPFLAGS'
58061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
58070 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
58072 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
58073 for ac_func in _sincosl
58074 do :
58075 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
58076 if test "x$ac_cv_func__sincosl" = x""yes; then :
58077 cat >>confdefs.h <<_ACEOF
58078 #define HAVE__SINCOSL 1
58079 _ACEOF
58082 done
58091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
58092 $as_echo_n "checking for finitel declaration... " >&6; }
58093 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
58094 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
58095 $as_echo_n "(cached) " >&6
58096 else
58099 ac_ext=cpp
58100 ac_cpp='$CXXCPP $CPPFLAGS'
58101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58106 /* end confdefs.h. */
58107 #include <math.h>
58108 #ifdef HAVE_IEEEFP_H
58109 #include <ieeefp.h>
58110 #endif
58113 main ()
58115 finitel(0);
58117 return 0;
58119 _ACEOF
58120 if ac_fn_cxx_try_compile "$LINENO"; then :
58121 glibcxx_cv_func_finitel_use=yes
58122 else
58123 glibcxx_cv_func_finitel_use=no
58125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58126 ac_ext=c
58127 ac_cpp='$CPP $CPPFLAGS'
58128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
58137 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
58139 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
58140 for ac_func in finitel
58141 do :
58142 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
58143 if test "x$ac_cv_func_finitel" = x""yes; then :
58144 cat >>confdefs.h <<_ACEOF
58145 #define HAVE_FINITEL 1
58146 _ACEOF
58149 done
58151 else
58153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
58154 $as_echo_n "checking for _finitel declaration... " >&6; }
58155 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
58156 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
58157 $as_echo_n "(cached) " >&6
58158 else
58161 ac_ext=cpp
58162 ac_cpp='$CXXCPP $CPPFLAGS'
58163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58168 /* end confdefs.h. */
58169 #include <math.h>
58170 #ifdef HAVE_IEEEFP_H
58171 #include <ieeefp.h>
58172 #endif
58175 main ()
58177 _finitel(0);
58179 return 0;
58181 _ACEOF
58182 if ac_fn_cxx_try_compile "$LINENO"; then :
58183 glibcxx_cv_func__finitel_use=yes
58184 else
58185 glibcxx_cv_func__finitel_use=no
58187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58188 ac_ext=c
58189 ac_cpp='$CPP $CPPFLAGS'
58190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
58199 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
58201 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
58202 for ac_func in _finitel
58203 do :
58204 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
58205 if test "x$ac_cv_func__finitel" = x""yes; then :
58206 cat >>confdefs.h <<_ACEOF
58207 #define HAVE__FINITEL 1
58208 _ACEOF
58211 done
58219 LIBS="$ac_save_LIBS"
58220 CXXFLAGS="$ac_save_CXXFLAGS"
58223 ac_test_CXXFLAGS="${CXXFLAGS+set}"
58224 ac_save_CXXFLAGS="$CXXFLAGS"
58225 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
58228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
58229 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
58230 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
58231 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
58232 $as_echo_n "(cached) " >&6
58233 else
58236 ac_ext=cpp
58237 ac_cpp='$CXXCPP $CPPFLAGS'
58238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58243 /* end confdefs.h. */
58244 #include <stdlib.h>
58246 main ()
58248 at_quick_exit(0);
58250 return 0;
58252 _ACEOF
58253 if ac_fn_cxx_try_compile "$LINENO"; then :
58254 glibcxx_cv_func_at_quick_exit_use=yes
58255 else
58256 glibcxx_cv_func_at_quick_exit_use=no
58258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58259 ac_ext=c
58260 ac_cpp='$CPP $CPPFLAGS'
58261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
58270 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
58271 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
58272 for ac_func in at_quick_exit
58273 do :
58274 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
58275 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
58276 cat >>confdefs.h <<_ACEOF
58277 #define HAVE_AT_QUICK_EXIT 1
58278 _ACEOF
58281 done
58286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
58287 $as_echo_n "checking for quick_exit declaration... " >&6; }
58288 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
58289 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
58290 $as_echo_n "(cached) " >&6
58291 else
58294 ac_ext=cpp
58295 ac_cpp='$CXXCPP $CPPFLAGS'
58296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58301 /* end confdefs.h. */
58302 #include <stdlib.h>
58304 main ()
58306 quick_exit(0);
58308 return 0;
58310 _ACEOF
58311 if ac_fn_cxx_try_compile "$LINENO"; then :
58312 glibcxx_cv_func_quick_exit_use=yes
58313 else
58314 glibcxx_cv_func_quick_exit_use=no
58316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58317 ac_ext=c
58318 ac_cpp='$CPP $CPPFLAGS'
58319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
58328 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
58329 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
58330 for ac_func in quick_exit
58331 do :
58332 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
58333 if test "x$ac_cv_func_quick_exit" = x""yes; then :
58334 cat >>confdefs.h <<_ACEOF
58335 #define HAVE_QUICK_EXIT 1
58336 _ACEOF
58339 done
58344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
58345 $as_echo_n "checking for strtold declaration... " >&6; }
58346 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
58347 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
58348 $as_echo_n "(cached) " >&6
58349 else
58352 ac_ext=cpp
58353 ac_cpp='$CXXCPP $CPPFLAGS'
58354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58359 /* end confdefs.h. */
58360 #include <stdlib.h>
58362 main ()
58364 strtold(0, 0);
58366 return 0;
58368 _ACEOF
58369 if ac_fn_cxx_try_compile "$LINENO"; then :
58370 glibcxx_cv_func_strtold_use=yes
58371 else
58372 glibcxx_cv_func_strtold_use=no
58374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58375 ac_ext=c
58376 ac_cpp='$CPP $CPPFLAGS'
58377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
58386 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
58387 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
58388 for ac_func in strtold
58389 do :
58390 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
58391 if test "x$ac_cv_func_strtold" = x""yes; then :
58392 cat >>confdefs.h <<_ACEOF
58393 #define HAVE_STRTOLD 1
58394 _ACEOF
58397 done
58404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
58405 $as_echo_n "checking for strtof declaration... " >&6; }
58406 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
58407 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
58408 $as_echo_n "(cached) " >&6
58409 else
58412 ac_ext=cpp
58413 ac_cpp='$CXXCPP $CPPFLAGS'
58414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58419 /* end confdefs.h. */
58420 #include <stdlib.h>
58422 main ()
58424 strtof(0, 0);
58426 return 0;
58428 _ACEOF
58429 if ac_fn_cxx_try_compile "$LINENO"; then :
58430 glibcxx_cv_func_strtof_use=yes
58431 else
58432 glibcxx_cv_func_strtof_use=no
58434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58435 ac_ext=c
58436 ac_cpp='$CPP $CPPFLAGS'
58437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
58446 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
58447 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
58448 for ac_func in strtof
58449 do :
58450 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
58451 if test "x$ac_cv_func_strtof" = x""yes; then :
58452 cat >>confdefs.h <<_ACEOF
58453 #define HAVE_STRTOF 1
58454 _ACEOF
58457 done
58464 CXXFLAGS="$ac_save_CXXFLAGS"
58466 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
58470 # Check whether --enable-tls was given.
58471 if test "${enable_tls+set}" = set; then :
58472 enableval=$enable_tls;
58473 case "$enableval" in
58474 yes|no) ;;
58475 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
58476 esac
58478 else
58479 enable_tls=yes
58483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
58484 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
58485 if test "${gcc_cv_have_tls+set}" = set; then :
58486 $as_echo_n "(cached) " >&6
58487 else
58489 if test "$cross_compiling" = yes; then :
58490 if test x$gcc_no_link = xyes; then
58491 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58494 /* end confdefs.h. */
58495 __thread int a; int b; int main() { return a = b; }
58496 _ACEOF
58497 if ac_fn_c_try_link "$LINENO"; then :
58498 chktls_save_LDFLAGS="$LDFLAGS"
58499 case $host in
58500 *-*-linux*)
58501 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
58503 esac
58504 chktls_save_CFLAGS="$CFLAGS"
58505 CFLAGS="-fPIC $CFLAGS"
58506 if test x$gcc_no_link = xyes; then
58507 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58510 /* end confdefs.h. */
58511 int f() { return 0; }
58512 _ACEOF
58513 if ac_fn_c_try_link "$LINENO"; then :
58514 if test x$gcc_no_link = xyes; then
58515 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58518 /* end confdefs.h. */
58519 __thread int a; int b; int f() { return a = b; }
58520 _ACEOF
58521 if ac_fn_c_try_link "$LINENO"; then :
58522 gcc_cv_have_tls=yes
58523 else
58524 gcc_cv_have_tls=no
58526 rm -f core conftest.err conftest.$ac_objext \
58527 conftest$ac_exeext conftest.$ac_ext
58528 else
58529 gcc_cv_have_tls=yes
58531 rm -f core conftest.err conftest.$ac_objext \
58532 conftest$ac_exeext conftest.$ac_ext
58533 CFLAGS="$chktls_save_CFLAGS"
58534 LDFLAGS="$chktls_save_LDFLAGS"
58535 else
58536 gcc_cv_have_tls=no
58538 rm -f core conftest.err conftest.$ac_objext \
58539 conftest$ac_exeext conftest.$ac_ext
58542 else
58543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58544 /* end confdefs.h. */
58545 __thread int a; int b; int main() { return a = b; }
58546 _ACEOF
58547 if ac_fn_c_try_run "$LINENO"; then :
58548 chktls_save_LDFLAGS="$LDFLAGS"
58549 LDFLAGS="-static $LDFLAGS"
58550 if test x$gcc_no_link = xyes; then
58551 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58554 /* end confdefs.h. */
58555 int main() { return 0; }
58556 _ACEOF
58557 if ac_fn_c_try_link "$LINENO"; then :
58558 if test "$cross_compiling" = yes; then :
58559 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
58560 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
58561 as_fn_error "cannot run test program while cross compiling
58562 See \`config.log' for more details." "$LINENO" 5; }
58563 else
58564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58565 /* end confdefs.h. */
58566 __thread int a; int b; int main() { return a = b; }
58567 _ACEOF
58568 if ac_fn_c_try_run "$LINENO"; then :
58569 gcc_cv_have_tls=yes
58570 else
58571 gcc_cv_have_tls=no
58573 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
58574 conftest.$ac_objext conftest.beam conftest.$ac_ext
58577 else
58578 gcc_cv_have_tls=yes
58580 rm -f core conftest.err conftest.$ac_objext \
58581 conftest$ac_exeext conftest.$ac_ext
58582 LDFLAGS="$chktls_save_LDFLAGS"
58583 if test $gcc_cv_have_tls = yes; then
58584 chktls_save_CFLAGS="$CFLAGS"
58585 thread_CFLAGS=failed
58586 for flag in '' '-pthread' '-lpthread'; do
58587 CFLAGS="$flag $chktls_save_CFLAGS"
58588 if test x$gcc_no_link = xyes; then
58589 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58592 /* end confdefs.h. */
58593 #include <pthread.h>
58594 void *g(void *d) { return NULL; }
58596 main ()
58598 pthread_t t; pthread_create(&t,NULL,g,NULL);
58600 return 0;
58602 _ACEOF
58603 if ac_fn_c_try_link "$LINENO"; then :
58604 thread_CFLAGS="$flag"
58606 rm -f core conftest.err conftest.$ac_objext \
58607 conftest$ac_exeext conftest.$ac_ext
58608 if test "X$thread_CFLAGS" != Xfailed; then
58609 break
58611 done
58612 CFLAGS="$chktls_save_CFLAGS"
58613 if test "X$thread_CFLAGS" != Xfailed; then
58614 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
58615 if test "$cross_compiling" = yes; then :
58616 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
58617 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
58618 as_fn_error "cannot run test program while cross compiling
58619 See \`config.log' for more details." "$LINENO" 5; }
58620 else
58621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58622 /* end confdefs.h. */
58623 #include <pthread.h>
58624 __thread int a;
58625 static int *volatile a_in_other_thread;
58626 static void *
58627 thread_func (void *arg)
58629 a_in_other_thread = &a;
58630 return (void *)0;
58633 main ()
58635 pthread_t thread;
58636 void *thread_retval;
58637 int *volatile a_in_main_thread;
58638 a_in_main_thread = &a;
58639 if (pthread_create (&thread, (pthread_attr_t *)0,
58640 thread_func, (void *)0))
58641 return 0;
58642 if (pthread_join (thread, &thread_retval))
58643 return 0;
58644 return (a_in_other_thread == a_in_main_thread);
58646 return 0;
58648 _ACEOF
58649 if ac_fn_c_try_run "$LINENO"; then :
58650 gcc_cv_have_tls=yes
58651 else
58652 gcc_cv_have_tls=no
58654 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
58655 conftest.$ac_objext conftest.beam conftest.$ac_ext
58658 CFLAGS="$chktls_save_CFLAGS"
58661 else
58662 gcc_cv_have_tls=no
58664 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
58665 conftest.$ac_objext conftest.beam conftest.$ac_ext
58669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
58670 $as_echo "$gcc_cv_have_tls" >&6; }
58671 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
58673 $as_echo "#define HAVE_TLS 1" >>confdefs.h
58681 am_save_CPPFLAGS="$CPPFLAGS"
58683 for element in $INCICONV; do
58684 haveit=
58685 for x in $CPPFLAGS; do
58687 acl_save_prefix="$prefix"
58688 prefix="$acl_final_prefix"
58689 acl_save_exec_prefix="$exec_prefix"
58690 exec_prefix="$acl_final_exec_prefix"
58691 eval x=\"$x\"
58692 exec_prefix="$acl_save_exec_prefix"
58693 prefix="$acl_save_prefix"
58695 if test "X$x" = "X$element"; then
58696 haveit=yes
58697 break
58699 done
58700 if test -z "$haveit"; then
58701 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
58703 done
58706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
58707 $as_echo_n "checking for iconv... " >&6; }
58708 if test "${am_cv_func_iconv+set}" = set; then :
58709 $as_echo_n "(cached) " >&6
58710 else
58712 am_cv_func_iconv="no, consider installing GNU libiconv"
58713 am_cv_lib_iconv=no
58714 if test x$gcc_no_link = xyes; then
58715 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58718 /* end confdefs.h. */
58719 #include <stdlib.h>
58720 #include <iconv.h>
58722 main ()
58724 iconv_t cd = iconv_open("","");
58725 iconv(cd,NULL,NULL,NULL,NULL);
58726 iconv_close(cd);
58728 return 0;
58730 _ACEOF
58731 if ac_fn_c_try_link "$LINENO"; then :
58732 am_cv_func_iconv=yes
58734 rm -f core conftest.err conftest.$ac_objext \
58735 conftest$ac_exeext conftest.$ac_ext
58736 if test "$am_cv_func_iconv" != yes; then
58737 am_save_LIBS="$LIBS"
58738 LIBS="$LIBS $LIBICONV"
58739 if test x$gcc_no_link = xyes; then
58740 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58743 /* end confdefs.h. */
58744 #include <stdlib.h>
58745 #include <iconv.h>
58747 main ()
58749 iconv_t cd = iconv_open("","");
58750 iconv(cd,NULL,NULL,NULL,NULL);
58751 iconv_close(cd);
58753 return 0;
58755 _ACEOF
58756 if ac_fn_c_try_link "$LINENO"; then :
58757 am_cv_lib_iconv=yes
58758 am_cv_func_iconv=yes
58760 rm -f core conftest.err conftest.$ac_objext \
58761 conftest$ac_exeext conftest.$ac_ext
58762 LIBS="$am_save_LIBS"
58766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
58767 $as_echo "$am_cv_func_iconv" >&6; }
58768 if test "$am_cv_func_iconv" = yes; then
58770 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
58773 if test "$am_cv_lib_iconv" = yes; then
58774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
58775 $as_echo_n "checking how to link with libiconv... " >&6; }
58776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
58777 $as_echo "$LIBICONV" >&6; }
58778 else
58779 CPPFLAGS="$am_save_CPPFLAGS"
58780 LIBICONV=
58781 LTLIBICONV=
58786 if test "$am_cv_func_iconv" = yes; then
58787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
58788 $as_echo_n "checking for iconv declaration... " >&6; }
58789 if test "${am_cv_proto_iconv+set}" = set; then :
58790 $as_echo_n "(cached) " >&6
58791 else
58793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58794 /* end confdefs.h. */
58796 #include <stdlib.h>
58797 #include <iconv.h>
58798 extern
58799 #ifdef __cplusplus
58801 #endif
58802 #if defined(__STDC__) || defined(__cplusplus)
58803 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
58804 #else
58805 size_t iconv();
58806 #endif
58809 main ()
58813 return 0;
58815 _ACEOF
58816 if ac_fn_c_try_compile "$LINENO"; then :
58817 am_cv_proto_iconv_arg1=""
58818 else
58819 am_cv_proto_iconv_arg1="const"
58821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58822 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);"
58825 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
58826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
58827 }$am_cv_proto_iconv" >&5
58828 $as_echo "${ac_t:-
58829 }$am_cv_proto_iconv" >&6; }
58831 cat >>confdefs.h <<_ACEOF
58832 #define ICONV_CONST $am_cv_proto_iconv_arg1
58833 _ACEOF
58838 *-mingw32*)
58840 # If we're not using GNU ld, then there's no point in even trying these
58841 # tests. Check for that first. We should have already tested for gld
58842 # by now (in libtool), but require it now just to be safe...
58843 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
58844 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
58848 # The name set by libtool depends on the version of libtool. Shame on us
58849 # for depending on an impl detail, but c'est la vie. Older versions used
58850 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
58851 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
58852 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
58853 # set (hence we're using an older libtool), then set it.
58854 if test x${with_gnu_ld+set} != xset; then
58855 if test x${ac_cv_prog_gnu_ld+set} != xset; then
58856 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
58857 with_gnu_ld=no
58858 else
58859 with_gnu_ld=$ac_cv_prog_gnu_ld
58863 # Start by getting the version number. I think the libtool test already
58864 # does some of this, but throws away the result.
58865 glibcxx_ld_is_gold=no
58866 if test x"$with_gnu_ld" = x"yes"; then
58867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
58868 $as_echo_n "checking for ld version... " >&6; }
58870 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
58871 glibcxx_ld_is_gold=yes
58873 ldver=`$LD --version 2>/dev/null |
58874 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'`
58876 glibcxx_gnu_ld_version=`echo $ldver | \
58877 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
58878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
58879 $as_echo "$glibcxx_gnu_ld_version" >&6; }
58882 # Set --gc-sections.
58883 glibcxx_have_gc_sections=no
58884 if test "$glibcxx_ld_is_gold" = "yes"; then
58885 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
58886 glibcxx_have_gc_sections=yes
58888 else
58889 glibcxx_gcsections_min_ld=21602
58890 if test x"$with_gnu_ld" = x"yes" &&
58891 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
58892 glibcxx_have_gc_sections=yes
58895 if test "$glibcxx_have_gc_sections" = "yes"; then
58896 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
58897 # NB: This flag only works reliably after 2.16.1. Configure tests
58898 # for this are difficult, so hard wire a value that should work.
58900 ac_test_CFLAGS="${CFLAGS+set}"
58901 ac_save_CFLAGS="$CFLAGS"
58902 CFLAGS='-Wl,--gc-sections'
58904 # Check for -Wl,--gc-sections
58905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
58906 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
58907 if test x$gcc_no_link = xyes; then
58908 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58911 /* end confdefs.h. */
58912 int one(void) { return 1; }
58913 int two(void) { return 2; }
58916 main ()
58918 two();
58920 return 0;
58922 _ACEOF
58923 if ac_fn_c_try_link "$LINENO"; then :
58924 ac_gcsections=yes
58925 else
58926 ac_gcsections=no
58928 rm -f core conftest.err conftest.$ac_objext \
58929 conftest$ac_exeext conftest.$ac_ext
58930 if test "$ac_gcsections" = "yes"; then
58931 rm -f conftest.c
58932 touch conftest.c
58933 if $CC -c conftest.c; then
58934 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
58935 grep "Warning: gc-sections option ignored" > /dev/null; then
58936 ac_gcsections=no
58939 rm -f conftest.c conftest.o conftest
58941 if test "$ac_gcsections" = "yes"; then
58942 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
58944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
58945 $as_echo "$ac_gcsections" >&6; }
58947 if test "$ac_test_CFLAGS" = set; then
58948 CFLAGS="$ac_save_CFLAGS"
58949 else
58950 # this is the suspicious part
58951 CFLAGS=''
58955 # Set -z,relro.
58956 # Note this is only for shared objects.
58957 ac_ld_relro=no
58958 if test x"$with_gnu_ld" = x"yes"; then
58959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
58960 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
58961 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
58962 if test -n "$cxx_z_relo"; then
58963 OPT_LDFLAGS="-Wl,-z,relro"
58964 ac_ld_relro=yes
58966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
58967 $as_echo "$ac_ld_relro" >&6; }
58970 # Set linker optimization flags.
58971 if test x"$with_gnu_ld" = x"yes"; then
58972 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
58979 ac_test_CXXFLAGS="${CXXFLAGS+set}"
58980 ac_save_CXXFLAGS="$CXXFLAGS"
58981 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
58983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
58984 $as_echo_n "checking for sin in -lm... " >&6; }
58985 if test "${ac_cv_lib_m_sin+set}" = set; then :
58986 $as_echo_n "(cached) " >&6
58987 else
58988 ac_check_lib_save_LIBS=$LIBS
58989 LIBS="-lm $LIBS"
58990 if test x$gcc_no_link = xyes; then
58991 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58994 /* end confdefs.h. */
58996 /* Override any GCC internal prototype to avoid an error.
58997 Use char because int might match the return type of a GCC
58998 builtin and then its argument prototype would still apply. */
58999 #ifdef __cplusplus
59000 extern "C"
59001 #endif
59002 char sin ();
59004 main ()
59006 return sin ();
59008 return 0;
59010 _ACEOF
59011 if ac_fn_c_try_link "$LINENO"; then :
59012 ac_cv_lib_m_sin=yes
59013 else
59014 ac_cv_lib_m_sin=no
59016 rm -f core conftest.err conftest.$ac_objext \
59017 conftest$ac_exeext conftest.$ac_ext
59018 LIBS=$ac_check_lib_save_LIBS
59020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
59021 $as_echo "$ac_cv_lib_m_sin" >&6; }
59022 if test "x$ac_cv_lib_m_sin" = x""yes; then :
59023 libm="-lm"
59026 ac_save_LIBS="$LIBS"
59027 LIBS="$LIBS $libm"
59031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
59032 $as_echo_n "checking for isinf declaration... " >&6; }
59033 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
59034 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
59035 $as_echo_n "(cached) " >&6
59036 else
59039 ac_ext=cpp
59040 ac_cpp='$CXXCPP $CPPFLAGS'
59041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59046 /* end confdefs.h. */
59047 #include <math.h>
59048 #ifdef HAVE_IEEEFP_H
59049 #include <ieeefp.h>
59050 #endif
59053 main ()
59055 isinf(0);
59057 return 0;
59059 _ACEOF
59060 if ac_fn_cxx_try_compile "$LINENO"; then :
59061 glibcxx_cv_func_isinf_use=yes
59062 else
59063 glibcxx_cv_func_isinf_use=no
59065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59066 ac_ext=c
59067 ac_cpp='$CPP $CPPFLAGS'
59068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
59077 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
59079 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
59080 for ac_func in isinf
59081 do :
59082 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
59083 if test "x$ac_cv_func_isinf" = x""yes; then :
59084 cat >>confdefs.h <<_ACEOF
59085 #define HAVE_ISINF 1
59086 _ACEOF
59089 done
59091 else
59093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
59094 $as_echo_n "checking for _isinf declaration... " >&6; }
59095 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
59096 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
59097 $as_echo_n "(cached) " >&6
59098 else
59101 ac_ext=cpp
59102 ac_cpp='$CXXCPP $CPPFLAGS'
59103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59108 /* end confdefs.h. */
59109 #include <math.h>
59110 #ifdef HAVE_IEEEFP_H
59111 #include <ieeefp.h>
59112 #endif
59115 main ()
59117 _isinf(0);
59119 return 0;
59121 _ACEOF
59122 if ac_fn_cxx_try_compile "$LINENO"; then :
59123 glibcxx_cv_func__isinf_use=yes
59124 else
59125 glibcxx_cv_func__isinf_use=no
59127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59128 ac_ext=c
59129 ac_cpp='$CPP $CPPFLAGS'
59130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
59139 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
59141 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
59142 for ac_func in _isinf
59143 do :
59144 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
59145 if test "x$ac_cv_func__isinf" = x""yes; then :
59146 cat >>confdefs.h <<_ACEOF
59147 #define HAVE__ISINF 1
59148 _ACEOF
59151 done
59160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
59161 $as_echo_n "checking for isnan declaration... " >&6; }
59162 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
59163 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
59164 $as_echo_n "(cached) " >&6
59165 else
59168 ac_ext=cpp
59169 ac_cpp='$CXXCPP $CPPFLAGS'
59170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59175 /* end confdefs.h. */
59176 #include <math.h>
59177 #ifdef HAVE_IEEEFP_H
59178 #include <ieeefp.h>
59179 #endif
59182 main ()
59184 isnan(0);
59186 return 0;
59188 _ACEOF
59189 if ac_fn_cxx_try_compile "$LINENO"; then :
59190 glibcxx_cv_func_isnan_use=yes
59191 else
59192 glibcxx_cv_func_isnan_use=no
59194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59195 ac_ext=c
59196 ac_cpp='$CPP $CPPFLAGS'
59197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
59206 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
59208 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
59209 for ac_func in isnan
59210 do :
59211 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
59212 if test "x$ac_cv_func_isnan" = x""yes; then :
59213 cat >>confdefs.h <<_ACEOF
59214 #define HAVE_ISNAN 1
59215 _ACEOF
59218 done
59220 else
59222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
59223 $as_echo_n "checking for _isnan declaration... " >&6; }
59224 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
59225 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
59226 $as_echo_n "(cached) " >&6
59227 else
59230 ac_ext=cpp
59231 ac_cpp='$CXXCPP $CPPFLAGS'
59232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59237 /* end confdefs.h. */
59238 #include <math.h>
59239 #ifdef HAVE_IEEEFP_H
59240 #include <ieeefp.h>
59241 #endif
59244 main ()
59246 _isnan(0);
59248 return 0;
59250 _ACEOF
59251 if ac_fn_cxx_try_compile "$LINENO"; then :
59252 glibcxx_cv_func__isnan_use=yes
59253 else
59254 glibcxx_cv_func__isnan_use=no
59256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59257 ac_ext=c
59258 ac_cpp='$CPP $CPPFLAGS'
59259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
59268 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
59270 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
59271 for ac_func in _isnan
59272 do :
59273 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
59274 if test "x$ac_cv_func__isnan" = x""yes; then :
59275 cat >>confdefs.h <<_ACEOF
59276 #define HAVE__ISNAN 1
59277 _ACEOF
59280 done
59289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
59290 $as_echo_n "checking for finite declaration... " >&6; }
59291 if test x${glibcxx_cv_func_finite_use+set} != xset; then
59292 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
59293 $as_echo_n "(cached) " >&6
59294 else
59297 ac_ext=cpp
59298 ac_cpp='$CXXCPP $CPPFLAGS'
59299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59304 /* end confdefs.h. */
59305 #include <math.h>
59306 #ifdef HAVE_IEEEFP_H
59307 #include <ieeefp.h>
59308 #endif
59311 main ()
59313 finite(0);
59315 return 0;
59317 _ACEOF
59318 if ac_fn_cxx_try_compile "$LINENO"; then :
59319 glibcxx_cv_func_finite_use=yes
59320 else
59321 glibcxx_cv_func_finite_use=no
59323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59324 ac_ext=c
59325 ac_cpp='$CPP $CPPFLAGS'
59326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
59335 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
59337 if test x$glibcxx_cv_func_finite_use = x"yes"; then
59338 for ac_func in finite
59339 do :
59340 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
59341 if test "x$ac_cv_func_finite" = x""yes; then :
59342 cat >>confdefs.h <<_ACEOF
59343 #define HAVE_FINITE 1
59344 _ACEOF
59347 done
59349 else
59351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
59352 $as_echo_n "checking for _finite declaration... " >&6; }
59353 if test x${glibcxx_cv_func__finite_use+set} != xset; then
59354 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
59355 $as_echo_n "(cached) " >&6
59356 else
59359 ac_ext=cpp
59360 ac_cpp='$CXXCPP $CPPFLAGS'
59361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59366 /* end confdefs.h. */
59367 #include <math.h>
59368 #ifdef HAVE_IEEEFP_H
59369 #include <ieeefp.h>
59370 #endif
59373 main ()
59375 _finite(0);
59377 return 0;
59379 _ACEOF
59380 if ac_fn_cxx_try_compile "$LINENO"; then :
59381 glibcxx_cv_func__finite_use=yes
59382 else
59383 glibcxx_cv_func__finite_use=no
59385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59386 ac_ext=c
59387 ac_cpp='$CPP $CPPFLAGS'
59388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
59397 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
59399 if test x$glibcxx_cv_func__finite_use = x"yes"; then
59400 for ac_func in _finite
59401 do :
59402 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
59403 if test "x$ac_cv_func__finite" = x""yes; then :
59404 cat >>confdefs.h <<_ACEOF
59405 #define HAVE__FINITE 1
59406 _ACEOF
59409 done
59418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
59419 $as_echo_n "checking for sincos declaration... " >&6; }
59420 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
59421 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
59422 $as_echo_n "(cached) " >&6
59423 else
59426 ac_ext=cpp
59427 ac_cpp='$CXXCPP $CPPFLAGS'
59428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59433 /* end confdefs.h. */
59434 #include <math.h>
59436 main ()
59438 sincos(0, 0, 0);
59440 return 0;
59442 _ACEOF
59443 if ac_fn_cxx_try_compile "$LINENO"; then :
59444 glibcxx_cv_func_sincos_use=yes
59445 else
59446 glibcxx_cv_func_sincos_use=no
59448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59449 ac_ext=c
59450 ac_cpp='$CPP $CPPFLAGS'
59451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
59460 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
59462 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
59463 for ac_func in sincos
59464 do :
59465 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
59466 if test "x$ac_cv_func_sincos" = x""yes; then :
59467 cat >>confdefs.h <<_ACEOF
59468 #define HAVE_SINCOS 1
59469 _ACEOF
59472 done
59474 else
59476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
59477 $as_echo_n "checking for _sincos declaration... " >&6; }
59478 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
59479 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
59480 $as_echo_n "(cached) " >&6
59481 else
59484 ac_ext=cpp
59485 ac_cpp='$CXXCPP $CPPFLAGS'
59486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59491 /* end confdefs.h. */
59492 #include <math.h>
59494 main ()
59496 _sincos(0, 0, 0);
59498 return 0;
59500 _ACEOF
59501 if ac_fn_cxx_try_compile "$LINENO"; then :
59502 glibcxx_cv_func__sincos_use=yes
59503 else
59504 glibcxx_cv_func__sincos_use=no
59506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59507 ac_ext=c
59508 ac_cpp='$CPP $CPPFLAGS'
59509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
59518 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
59520 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
59521 for ac_func in _sincos
59522 do :
59523 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
59524 if test "x$ac_cv_func__sincos" = x""yes; then :
59525 cat >>confdefs.h <<_ACEOF
59526 #define HAVE__SINCOS 1
59527 _ACEOF
59530 done
59539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
59540 $as_echo_n "checking for fpclass declaration... " >&6; }
59541 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
59542 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
59543 $as_echo_n "(cached) " >&6
59544 else
59547 ac_ext=cpp
59548 ac_cpp='$CXXCPP $CPPFLAGS'
59549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59554 /* end confdefs.h. */
59555 #include <math.h>
59556 #ifdef HAVE_IEEEFP_H
59557 #include <ieeefp.h>
59558 #endif
59561 main ()
59563 fpclass(0);
59565 return 0;
59567 _ACEOF
59568 if ac_fn_cxx_try_compile "$LINENO"; then :
59569 glibcxx_cv_func_fpclass_use=yes
59570 else
59571 glibcxx_cv_func_fpclass_use=no
59573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59574 ac_ext=c
59575 ac_cpp='$CPP $CPPFLAGS'
59576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
59585 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
59587 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
59588 for ac_func in fpclass
59589 do :
59590 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
59591 if test "x$ac_cv_func_fpclass" = x""yes; then :
59592 cat >>confdefs.h <<_ACEOF
59593 #define HAVE_FPCLASS 1
59594 _ACEOF
59597 done
59599 else
59601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
59602 $as_echo_n "checking for _fpclass declaration... " >&6; }
59603 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
59604 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
59605 $as_echo_n "(cached) " >&6
59606 else
59609 ac_ext=cpp
59610 ac_cpp='$CXXCPP $CPPFLAGS'
59611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59616 /* end confdefs.h. */
59617 #include <math.h>
59618 #ifdef HAVE_IEEEFP_H
59619 #include <ieeefp.h>
59620 #endif
59623 main ()
59625 _fpclass(0);
59627 return 0;
59629 _ACEOF
59630 if ac_fn_cxx_try_compile "$LINENO"; then :
59631 glibcxx_cv_func__fpclass_use=yes
59632 else
59633 glibcxx_cv_func__fpclass_use=no
59635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59636 ac_ext=c
59637 ac_cpp='$CPP $CPPFLAGS'
59638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
59647 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
59649 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
59650 for ac_func in _fpclass
59651 do :
59652 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
59653 if test "x$ac_cv_func__fpclass" = x""yes; then :
59654 cat >>confdefs.h <<_ACEOF
59655 #define HAVE__FPCLASS 1
59656 _ACEOF
59659 done
59668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
59669 $as_echo_n "checking for qfpclass declaration... " >&6; }
59670 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
59671 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
59672 $as_echo_n "(cached) " >&6
59673 else
59676 ac_ext=cpp
59677 ac_cpp='$CXXCPP $CPPFLAGS'
59678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59683 /* end confdefs.h. */
59684 #include <math.h>
59685 #ifdef HAVE_IEEEFP_H
59686 #include <ieeefp.h>
59687 #endif
59690 main ()
59692 qfpclass(0);
59694 return 0;
59696 _ACEOF
59697 if ac_fn_cxx_try_compile "$LINENO"; then :
59698 glibcxx_cv_func_qfpclass_use=yes
59699 else
59700 glibcxx_cv_func_qfpclass_use=no
59702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59703 ac_ext=c
59704 ac_cpp='$CPP $CPPFLAGS'
59705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
59714 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
59716 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
59717 for ac_func in qfpclass
59718 do :
59719 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
59720 if test "x$ac_cv_func_qfpclass" = x""yes; then :
59721 cat >>confdefs.h <<_ACEOF
59722 #define HAVE_QFPCLASS 1
59723 _ACEOF
59726 done
59728 else
59730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
59731 $as_echo_n "checking for _qfpclass declaration... " >&6; }
59732 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
59733 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
59734 $as_echo_n "(cached) " >&6
59735 else
59738 ac_ext=cpp
59739 ac_cpp='$CXXCPP $CPPFLAGS'
59740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59745 /* end confdefs.h. */
59746 #include <math.h>
59747 #ifdef HAVE_IEEEFP_H
59748 #include <ieeefp.h>
59749 #endif
59752 main ()
59754 _qfpclass(0);
59756 return 0;
59758 _ACEOF
59759 if ac_fn_cxx_try_compile "$LINENO"; then :
59760 glibcxx_cv_func__qfpclass_use=yes
59761 else
59762 glibcxx_cv_func__qfpclass_use=no
59764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59765 ac_ext=c
59766 ac_cpp='$CPP $CPPFLAGS'
59767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
59776 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
59778 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
59779 for ac_func in _qfpclass
59780 do :
59781 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
59782 if test "x$ac_cv_func__qfpclass" = x""yes; then :
59783 cat >>confdefs.h <<_ACEOF
59784 #define HAVE__QFPCLASS 1
59785 _ACEOF
59788 done
59797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
59798 $as_echo_n "checking for hypot declaration... " >&6; }
59799 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
59800 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
59801 $as_echo_n "(cached) " >&6
59802 else
59805 ac_ext=cpp
59806 ac_cpp='$CXXCPP $CPPFLAGS'
59807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59812 /* end confdefs.h. */
59813 #include <math.h>
59815 main ()
59817 hypot(0, 0);
59819 return 0;
59821 _ACEOF
59822 if ac_fn_cxx_try_compile "$LINENO"; then :
59823 glibcxx_cv_func_hypot_use=yes
59824 else
59825 glibcxx_cv_func_hypot_use=no
59827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59828 ac_ext=c
59829 ac_cpp='$CPP $CPPFLAGS'
59830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
59839 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
59841 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
59842 for ac_func in hypot
59843 do :
59844 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
59845 if test "x$ac_cv_func_hypot" = x""yes; then :
59846 cat >>confdefs.h <<_ACEOF
59847 #define HAVE_HYPOT 1
59848 _ACEOF
59851 done
59853 else
59855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
59856 $as_echo_n "checking for _hypot declaration... " >&6; }
59857 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
59858 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
59859 $as_echo_n "(cached) " >&6
59860 else
59863 ac_ext=cpp
59864 ac_cpp='$CXXCPP $CPPFLAGS'
59865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59870 /* end confdefs.h. */
59871 #include <math.h>
59873 main ()
59875 _hypot(0, 0);
59877 return 0;
59879 _ACEOF
59880 if ac_fn_cxx_try_compile "$LINENO"; then :
59881 glibcxx_cv_func__hypot_use=yes
59882 else
59883 glibcxx_cv_func__hypot_use=no
59885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59886 ac_ext=c
59887 ac_cpp='$CPP $CPPFLAGS'
59888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
59897 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
59899 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
59900 for ac_func in _hypot
59901 do :
59902 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
59903 if test "x$ac_cv_func__hypot" = x""yes; then :
59904 cat >>confdefs.h <<_ACEOF
59905 #define HAVE__HYPOT 1
59906 _ACEOF
59909 done
59918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
59919 $as_echo_n "checking for float trig functions... " >&6; }
59920 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
59921 $as_echo_n "(cached) " >&6
59922 else
59925 ac_ext=cpp
59926 ac_cpp='$CXXCPP $CPPFLAGS'
59927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59932 /* end confdefs.h. */
59933 #include <math.h>
59935 main ()
59937 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
59939 return 0;
59941 _ACEOF
59942 if ac_fn_cxx_try_compile "$LINENO"; then :
59943 glibcxx_cv_func_float_trig_use=yes
59944 else
59945 glibcxx_cv_func_float_trig_use=no
59947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59948 ac_ext=c
59949 ac_cpp='$CPP $CPPFLAGS'
59950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
59957 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
59958 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
59959 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
59960 do :
59961 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59962 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59963 eval as_val=\$$as_ac_var
59964 if test "x$as_val" = x""yes; then :
59965 cat >>confdefs.h <<_ACEOF
59966 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59967 _ACEOF
59970 done
59972 else
59973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
59974 $as_echo_n "checking for _float trig functions... " >&6; }
59975 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
59976 $as_echo_n "(cached) " >&6
59977 else
59980 ac_ext=cpp
59981 ac_cpp='$CXXCPP $CPPFLAGS'
59982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59987 /* end confdefs.h. */
59988 #include <math.h>
59990 main ()
59992 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
59994 return 0;
59996 _ACEOF
59997 if ac_fn_cxx_try_compile "$LINENO"; then :
59998 glibcxx_cv_func__float_trig_use=yes
59999 else
60000 glibcxx_cv_func__float_trig_use=no
60002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60003 ac_ext=c
60004 ac_cpp='$CPP $CPPFLAGS'
60005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
60012 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
60013 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
60014 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
60015 do :
60016 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60017 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60018 eval as_val=\$$as_ac_var
60019 if test "x$as_val" = x""yes; then :
60020 cat >>confdefs.h <<_ACEOF
60021 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60022 _ACEOF
60025 done
60034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
60035 $as_echo_n "checking for float round functions... " >&6; }
60036 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
60037 $as_echo_n "(cached) " >&6
60038 else
60041 ac_ext=cpp
60042 ac_cpp='$CXXCPP $CPPFLAGS'
60043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60048 /* end confdefs.h. */
60049 #include <math.h>
60051 main ()
60053 ceilf (0); floorf (0);
60055 return 0;
60057 _ACEOF
60058 if ac_fn_cxx_try_compile "$LINENO"; then :
60059 glibcxx_cv_func_float_round_use=yes
60060 else
60061 glibcxx_cv_func_float_round_use=no
60063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60064 ac_ext=c
60065 ac_cpp='$CPP $CPPFLAGS'
60066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
60073 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
60074 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
60075 for ac_func in ceilf floorf
60076 do :
60077 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60078 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60079 eval as_val=\$$as_ac_var
60080 if test "x$as_val" = x""yes; then :
60081 cat >>confdefs.h <<_ACEOF
60082 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60083 _ACEOF
60086 done
60088 else
60089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
60090 $as_echo_n "checking for _float round functions... " >&6; }
60091 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
60092 $as_echo_n "(cached) " >&6
60093 else
60096 ac_ext=cpp
60097 ac_cpp='$CXXCPP $CPPFLAGS'
60098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60103 /* end confdefs.h. */
60104 #include <math.h>
60106 main ()
60108 _ceilf (0); _floorf (0);
60110 return 0;
60112 _ACEOF
60113 if ac_fn_cxx_try_compile "$LINENO"; then :
60114 glibcxx_cv_func__float_round_use=yes
60115 else
60116 glibcxx_cv_func__float_round_use=no
60118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60119 ac_ext=c
60120 ac_cpp='$CPP $CPPFLAGS'
60121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
60128 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
60129 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
60130 for ac_func in _ceilf _floorf
60131 do :
60132 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60133 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60134 eval as_val=\$$as_ac_var
60135 if test "x$as_val" = x""yes; then :
60136 cat >>confdefs.h <<_ACEOF
60137 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60138 _ACEOF
60141 done
60151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
60152 $as_echo_n "checking for expf declaration... " >&6; }
60153 if test x${glibcxx_cv_func_expf_use+set} != xset; then
60154 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
60155 $as_echo_n "(cached) " >&6
60156 else
60159 ac_ext=cpp
60160 ac_cpp='$CXXCPP $CPPFLAGS'
60161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60166 /* end confdefs.h. */
60167 #include <math.h>
60168 #ifdef HAVE_IEEEFP_H
60169 #include <ieeefp.h>
60170 #endif
60173 main ()
60175 expf(0);
60177 return 0;
60179 _ACEOF
60180 if ac_fn_cxx_try_compile "$LINENO"; then :
60181 glibcxx_cv_func_expf_use=yes
60182 else
60183 glibcxx_cv_func_expf_use=no
60185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60186 ac_ext=c
60187 ac_cpp='$CPP $CPPFLAGS'
60188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
60197 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
60199 if test x$glibcxx_cv_func_expf_use = x"yes"; then
60200 for ac_func in expf
60201 do :
60202 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
60203 if test "x$ac_cv_func_expf" = x""yes; then :
60204 cat >>confdefs.h <<_ACEOF
60205 #define HAVE_EXPF 1
60206 _ACEOF
60209 done
60211 else
60213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
60214 $as_echo_n "checking for _expf declaration... " >&6; }
60215 if test x${glibcxx_cv_func__expf_use+set} != xset; then
60216 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
60217 $as_echo_n "(cached) " >&6
60218 else
60221 ac_ext=cpp
60222 ac_cpp='$CXXCPP $CPPFLAGS'
60223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60228 /* end confdefs.h. */
60229 #include <math.h>
60230 #ifdef HAVE_IEEEFP_H
60231 #include <ieeefp.h>
60232 #endif
60235 main ()
60237 _expf(0);
60239 return 0;
60241 _ACEOF
60242 if ac_fn_cxx_try_compile "$LINENO"; then :
60243 glibcxx_cv_func__expf_use=yes
60244 else
60245 glibcxx_cv_func__expf_use=no
60247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60248 ac_ext=c
60249 ac_cpp='$CPP $CPPFLAGS'
60250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
60259 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
60261 if test x$glibcxx_cv_func__expf_use = x"yes"; then
60262 for ac_func in _expf
60263 do :
60264 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
60265 if test "x$ac_cv_func__expf" = x""yes; then :
60266 cat >>confdefs.h <<_ACEOF
60267 #define HAVE__EXPF 1
60268 _ACEOF
60271 done
60280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
60281 $as_echo_n "checking for isnanf declaration... " >&6; }
60282 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
60283 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
60284 $as_echo_n "(cached) " >&6
60285 else
60288 ac_ext=cpp
60289 ac_cpp='$CXXCPP $CPPFLAGS'
60290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60295 /* end confdefs.h. */
60296 #include <math.h>
60297 #ifdef HAVE_IEEEFP_H
60298 #include <ieeefp.h>
60299 #endif
60302 main ()
60304 isnanf(0);
60306 return 0;
60308 _ACEOF
60309 if ac_fn_cxx_try_compile "$LINENO"; then :
60310 glibcxx_cv_func_isnanf_use=yes
60311 else
60312 glibcxx_cv_func_isnanf_use=no
60314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60315 ac_ext=c
60316 ac_cpp='$CPP $CPPFLAGS'
60317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
60326 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
60328 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
60329 for ac_func in isnanf
60330 do :
60331 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
60332 if test "x$ac_cv_func_isnanf" = x""yes; then :
60333 cat >>confdefs.h <<_ACEOF
60334 #define HAVE_ISNANF 1
60335 _ACEOF
60338 done
60340 else
60342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
60343 $as_echo_n "checking for _isnanf declaration... " >&6; }
60344 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
60345 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
60346 $as_echo_n "(cached) " >&6
60347 else
60350 ac_ext=cpp
60351 ac_cpp='$CXXCPP $CPPFLAGS'
60352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60357 /* end confdefs.h. */
60358 #include <math.h>
60359 #ifdef HAVE_IEEEFP_H
60360 #include <ieeefp.h>
60361 #endif
60364 main ()
60366 _isnanf(0);
60368 return 0;
60370 _ACEOF
60371 if ac_fn_cxx_try_compile "$LINENO"; then :
60372 glibcxx_cv_func__isnanf_use=yes
60373 else
60374 glibcxx_cv_func__isnanf_use=no
60376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60377 ac_ext=c
60378 ac_cpp='$CPP $CPPFLAGS'
60379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
60388 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
60390 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
60391 for ac_func in _isnanf
60392 do :
60393 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
60394 if test "x$ac_cv_func__isnanf" = x""yes; then :
60395 cat >>confdefs.h <<_ACEOF
60396 #define HAVE__ISNANF 1
60397 _ACEOF
60400 done
60409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
60410 $as_echo_n "checking for isinff declaration... " >&6; }
60411 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
60412 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
60413 $as_echo_n "(cached) " >&6
60414 else
60417 ac_ext=cpp
60418 ac_cpp='$CXXCPP $CPPFLAGS'
60419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60424 /* end confdefs.h. */
60425 #include <math.h>
60426 #ifdef HAVE_IEEEFP_H
60427 #include <ieeefp.h>
60428 #endif
60431 main ()
60433 isinff(0);
60435 return 0;
60437 _ACEOF
60438 if ac_fn_cxx_try_compile "$LINENO"; then :
60439 glibcxx_cv_func_isinff_use=yes
60440 else
60441 glibcxx_cv_func_isinff_use=no
60443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60444 ac_ext=c
60445 ac_cpp='$CPP $CPPFLAGS'
60446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
60455 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
60457 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
60458 for ac_func in isinff
60459 do :
60460 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
60461 if test "x$ac_cv_func_isinff" = x""yes; then :
60462 cat >>confdefs.h <<_ACEOF
60463 #define HAVE_ISINFF 1
60464 _ACEOF
60467 done
60469 else
60471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
60472 $as_echo_n "checking for _isinff declaration... " >&6; }
60473 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
60474 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
60475 $as_echo_n "(cached) " >&6
60476 else
60479 ac_ext=cpp
60480 ac_cpp='$CXXCPP $CPPFLAGS'
60481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60486 /* end confdefs.h. */
60487 #include <math.h>
60488 #ifdef HAVE_IEEEFP_H
60489 #include <ieeefp.h>
60490 #endif
60493 main ()
60495 _isinff(0);
60497 return 0;
60499 _ACEOF
60500 if ac_fn_cxx_try_compile "$LINENO"; then :
60501 glibcxx_cv_func__isinff_use=yes
60502 else
60503 glibcxx_cv_func__isinff_use=no
60505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60506 ac_ext=c
60507 ac_cpp='$CPP $CPPFLAGS'
60508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
60517 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
60519 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
60520 for ac_func in _isinff
60521 do :
60522 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
60523 if test "x$ac_cv_func__isinff" = x""yes; then :
60524 cat >>confdefs.h <<_ACEOF
60525 #define HAVE__ISINFF 1
60526 _ACEOF
60529 done
60538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
60539 $as_echo_n "checking for atan2f declaration... " >&6; }
60540 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
60541 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
60542 $as_echo_n "(cached) " >&6
60543 else
60546 ac_ext=cpp
60547 ac_cpp='$CXXCPP $CPPFLAGS'
60548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60553 /* end confdefs.h. */
60554 #include <math.h>
60556 main ()
60558 atan2f(0, 0);
60560 return 0;
60562 _ACEOF
60563 if ac_fn_cxx_try_compile "$LINENO"; then :
60564 glibcxx_cv_func_atan2f_use=yes
60565 else
60566 glibcxx_cv_func_atan2f_use=no
60568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60569 ac_ext=c
60570 ac_cpp='$CPP $CPPFLAGS'
60571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
60580 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
60582 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
60583 for ac_func in atan2f
60584 do :
60585 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
60586 if test "x$ac_cv_func_atan2f" = x""yes; then :
60587 cat >>confdefs.h <<_ACEOF
60588 #define HAVE_ATAN2F 1
60589 _ACEOF
60592 done
60594 else
60596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
60597 $as_echo_n "checking for _atan2f declaration... " >&6; }
60598 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
60599 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
60600 $as_echo_n "(cached) " >&6
60601 else
60604 ac_ext=cpp
60605 ac_cpp='$CXXCPP $CPPFLAGS'
60606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60611 /* end confdefs.h. */
60612 #include <math.h>
60614 main ()
60616 _atan2f(0, 0);
60618 return 0;
60620 _ACEOF
60621 if ac_fn_cxx_try_compile "$LINENO"; then :
60622 glibcxx_cv_func__atan2f_use=yes
60623 else
60624 glibcxx_cv_func__atan2f_use=no
60626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60627 ac_ext=c
60628 ac_cpp='$CPP $CPPFLAGS'
60629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
60638 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
60640 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
60641 for ac_func in _atan2f
60642 do :
60643 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
60644 if test "x$ac_cv_func__atan2f" = x""yes; then :
60645 cat >>confdefs.h <<_ACEOF
60646 #define HAVE__ATAN2F 1
60647 _ACEOF
60650 done
60659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
60660 $as_echo_n "checking for fabsf declaration... " >&6; }
60661 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
60662 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
60663 $as_echo_n "(cached) " >&6
60664 else
60667 ac_ext=cpp
60668 ac_cpp='$CXXCPP $CPPFLAGS'
60669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60674 /* end confdefs.h. */
60675 #include <math.h>
60676 #ifdef HAVE_IEEEFP_H
60677 #include <ieeefp.h>
60678 #endif
60681 main ()
60683 fabsf(0);
60685 return 0;
60687 _ACEOF
60688 if ac_fn_cxx_try_compile "$LINENO"; then :
60689 glibcxx_cv_func_fabsf_use=yes
60690 else
60691 glibcxx_cv_func_fabsf_use=no
60693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60694 ac_ext=c
60695 ac_cpp='$CPP $CPPFLAGS'
60696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
60705 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
60707 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
60708 for ac_func in fabsf
60709 do :
60710 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
60711 if test "x$ac_cv_func_fabsf" = x""yes; then :
60712 cat >>confdefs.h <<_ACEOF
60713 #define HAVE_FABSF 1
60714 _ACEOF
60717 done
60719 else
60721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
60722 $as_echo_n "checking for _fabsf declaration... " >&6; }
60723 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
60724 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
60725 $as_echo_n "(cached) " >&6
60726 else
60729 ac_ext=cpp
60730 ac_cpp='$CXXCPP $CPPFLAGS'
60731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60736 /* end confdefs.h. */
60737 #include <math.h>
60738 #ifdef HAVE_IEEEFP_H
60739 #include <ieeefp.h>
60740 #endif
60743 main ()
60745 _fabsf(0);
60747 return 0;
60749 _ACEOF
60750 if ac_fn_cxx_try_compile "$LINENO"; then :
60751 glibcxx_cv_func__fabsf_use=yes
60752 else
60753 glibcxx_cv_func__fabsf_use=no
60755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60756 ac_ext=c
60757 ac_cpp='$CPP $CPPFLAGS'
60758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
60767 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
60769 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
60770 for ac_func in _fabsf
60771 do :
60772 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
60773 if test "x$ac_cv_func__fabsf" = x""yes; then :
60774 cat >>confdefs.h <<_ACEOF
60775 #define HAVE__FABSF 1
60776 _ACEOF
60779 done
60788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
60789 $as_echo_n "checking for fmodf declaration... " >&6; }
60790 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
60791 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
60792 $as_echo_n "(cached) " >&6
60793 else
60796 ac_ext=cpp
60797 ac_cpp='$CXXCPP $CPPFLAGS'
60798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60803 /* end confdefs.h. */
60804 #include <math.h>
60806 main ()
60808 fmodf(0, 0);
60810 return 0;
60812 _ACEOF
60813 if ac_fn_cxx_try_compile "$LINENO"; then :
60814 glibcxx_cv_func_fmodf_use=yes
60815 else
60816 glibcxx_cv_func_fmodf_use=no
60818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60819 ac_ext=c
60820 ac_cpp='$CPP $CPPFLAGS'
60821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
60830 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
60832 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
60833 for ac_func in fmodf
60834 do :
60835 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
60836 if test "x$ac_cv_func_fmodf" = x""yes; then :
60837 cat >>confdefs.h <<_ACEOF
60838 #define HAVE_FMODF 1
60839 _ACEOF
60842 done
60844 else
60846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
60847 $as_echo_n "checking for _fmodf declaration... " >&6; }
60848 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
60849 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
60850 $as_echo_n "(cached) " >&6
60851 else
60854 ac_ext=cpp
60855 ac_cpp='$CXXCPP $CPPFLAGS'
60856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60861 /* end confdefs.h. */
60862 #include <math.h>
60864 main ()
60866 _fmodf(0, 0);
60868 return 0;
60870 _ACEOF
60871 if ac_fn_cxx_try_compile "$LINENO"; then :
60872 glibcxx_cv_func__fmodf_use=yes
60873 else
60874 glibcxx_cv_func__fmodf_use=no
60876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60877 ac_ext=c
60878 ac_cpp='$CPP $CPPFLAGS'
60879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
60888 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
60890 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
60891 for ac_func in _fmodf
60892 do :
60893 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
60894 if test "x$ac_cv_func__fmodf" = x""yes; then :
60895 cat >>confdefs.h <<_ACEOF
60896 #define HAVE__FMODF 1
60897 _ACEOF
60900 done
60909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
60910 $as_echo_n "checking for frexpf declaration... " >&6; }
60911 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
60912 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
60913 $as_echo_n "(cached) " >&6
60914 else
60917 ac_ext=cpp
60918 ac_cpp='$CXXCPP $CPPFLAGS'
60919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60924 /* end confdefs.h. */
60925 #include <math.h>
60927 main ()
60929 frexpf(0, 0);
60931 return 0;
60933 _ACEOF
60934 if ac_fn_cxx_try_compile "$LINENO"; then :
60935 glibcxx_cv_func_frexpf_use=yes
60936 else
60937 glibcxx_cv_func_frexpf_use=no
60939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60940 ac_ext=c
60941 ac_cpp='$CPP $CPPFLAGS'
60942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
60951 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
60953 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
60954 for ac_func in frexpf
60955 do :
60956 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
60957 if test "x$ac_cv_func_frexpf" = x""yes; then :
60958 cat >>confdefs.h <<_ACEOF
60959 #define HAVE_FREXPF 1
60960 _ACEOF
60963 done
60965 else
60967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
60968 $as_echo_n "checking for _frexpf declaration... " >&6; }
60969 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
60970 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
60971 $as_echo_n "(cached) " >&6
60972 else
60975 ac_ext=cpp
60976 ac_cpp='$CXXCPP $CPPFLAGS'
60977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60982 /* end confdefs.h. */
60983 #include <math.h>
60985 main ()
60987 _frexpf(0, 0);
60989 return 0;
60991 _ACEOF
60992 if ac_fn_cxx_try_compile "$LINENO"; then :
60993 glibcxx_cv_func__frexpf_use=yes
60994 else
60995 glibcxx_cv_func__frexpf_use=no
60997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60998 ac_ext=c
60999 ac_cpp='$CPP $CPPFLAGS'
61000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
61009 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
61011 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
61012 for ac_func in _frexpf
61013 do :
61014 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
61015 if test "x$ac_cv_func__frexpf" = x""yes; then :
61016 cat >>confdefs.h <<_ACEOF
61017 #define HAVE__FREXPF 1
61018 _ACEOF
61021 done
61030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
61031 $as_echo_n "checking for hypotf declaration... " >&6; }
61032 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
61033 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
61034 $as_echo_n "(cached) " >&6
61035 else
61038 ac_ext=cpp
61039 ac_cpp='$CXXCPP $CPPFLAGS'
61040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61045 /* end confdefs.h. */
61046 #include <math.h>
61048 main ()
61050 hypotf(0, 0);
61052 return 0;
61054 _ACEOF
61055 if ac_fn_cxx_try_compile "$LINENO"; then :
61056 glibcxx_cv_func_hypotf_use=yes
61057 else
61058 glibcxx_cv_func_hypotf_use=no
61060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61061 ac_ext=c
61062 ac_cpp='$CPP $CPPFLAGS'
61063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
61072 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
61074 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
61075 for ac_func in hypotf
61076 do :
61077 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
61078 if test "x$ac_cv_func_hypotf" = x""yes; then :
61079 cat >>confdefs.h <<_ACEOF
61080 #define HAVE_HYPOTF 1
61081 _ACEOF
61084 done
61086 else
61088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
61089 $as_echo_n "checking for _hypotf declaration... " >&6; }
61090 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
61091 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
61092 $as_echo_n "(cached) " >&6
61093 else
61096 ac_ext=cpp
61097 ac_cpp='$CXXCPP $CPPFLAGS'
61098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61103 /* end confdefs.h. */
61104 #include <math.h>
61106 main ()
61108 _hypotf(0, 0);
61110 return 0;
61112 _ACEOF
61113 if ac_fn_cxx_try_compile "$LINENO"; then :
61114 glibcxx_cv_func__hypotf_use=yes
61115 else
61116 glibcxx_cv_func__hypotf_use=no
61118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61119 ac_ext=c
61120 ac_cpp='$CPP $CPPFLAGS'
61121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
61130 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
61132 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
61133 for ac_func in _hypotf
61134 do :
61135 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
61136 if test "x$ac_cv_func__hypotf" = x""yes; then :
61137 cat >>confdefs.h <<_ACEOF
61138 #define HAVE__HYPOTF 1
61139 _ACEOF
61142 done
61151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
61152 $as_echo_n "checking for ldexpf declaration... " >&6; }
61153 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
61154 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
61155 $as_echo_n "(cached) " >&6
61156 else
61159 ac_ext=cpp
61160 ac_cpp='$CXXCPP $CPPFLAGS'
61161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61166 /* end confdefs.h. */
61167 #include <math.h>
61169 main ()
61171 ldexpf(0, 0);
61173 return 0;
61175 _ACEOF
61176 if ac_fn_cxx_try_compile "$LINENO"; then :
61177 glibcxx_cv_func_ldexpf_use=yes
61178 else
61179 glibcxx_cv_func_ldexpf_use=no
61181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61182 ac_ext=c
61183 ac_cpp='$CPP $CPPFLAGS'
61184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
61193 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
61195 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
61196 for ac_func in ldexpf
61197 do :
61198 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
61199 if test "x$ac_cv_func_ldexpf" = x""yes; then :
61200 cat >>confdefs.h <<_ACEOF
61201 #define HAVE_LDEXPF 1
61202 _ACEOF
61205 done
61207 else
61209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
61210 $as_echo_n "checking for _ldexpf declaration... " >&6; }
61211 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
61212 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
61213 $as_echo_n "(cached) " >&6
61214 else
61217 ac_ext=cpp
61218 ac_cpp='$CXXCPP $CPPFLAGS'
61219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61224 /* end confdefs.h. */
61225 #include <math.h>
61227 main ()
61229 _ldexpf(0, 0);
61231 return 0;
61233 _ACEOF
61234 if ac_fn_cxx_try_compile "$LINENO"; then :
61235 glibcxx_cv_func__ldexpf_use=yes
61236 else
61237 glibcxx_cv_func__ldexpf_use=no
61239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61240 ac_ext=c
61241 ac_cpp='$CPP $CPPFLAGS'
61242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
61251 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
61253 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
61254 for ac_func in _ldexpf
61255 do :
61256 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
61257 if test "x$ac_cv_func__ldexpf" = x""yes; then :
61258 cat >>confdefs.h <<_ACEOF
61259 #define HAVE__LDEXPF 1
61260 _ACEOF
61263 done
61272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
61273 $as_echo_n "checking for logf declaration... " >&6; }
61274 if test x${glibcxx_cv_func_logf_use+set} != xset; then
61275 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
61276 $as_echo_n "(cached) " >&6
61277 else
61280 ac_ext=cpp
61281 ac_cpp='$CXXCPP $CPPFLAGS'
61282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61287 /* end confdefs.h. */
61288 #include <math.h>
61289 #ifdef HAVE_IEEEFP_H
61290 #include <ieeefp.h>
61291 #endif
61294 main ()
61296 logf(0);
61298 return 0;
61300 _ACEOF
61301 if ac_fn_cxx_try_compile "$LINENO"; then :
61302 glibcxx_cv_func_logf_use=yes
61303 else
61304 glibcxx_cv_func_logf_use=no
61306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61307 ac_ext=c
61308 ac_cpp='$CPP $CPPFLAGS'
61309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
61318 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
61320 if test x$glibcxx_cv_func_logf_use = x"yes"; then
61321 for ac_func in logf
61322 do :
61323 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
61324 if test "x$ac_cv_func_logf" = x""yes; then :
61325 cat >>confdefs.h <<_ACEOF
61326 #define HAVE_LOGF 1
61327 _ACEOF
61330 done
61332 else
61334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
61335 $as_echo_n "checking for _logf declaration... " >&6; }
61336 if test x${glibcxx_cv_func__logf_use+set} != xset; then
61337 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
61338 $as_echo_n "(cached) " >&6
61339 else
61342 ac_ext=cpp
61343 ac_cpp='$CXXCPP $CPPFLAGS'
61344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61349 /* end confdefs.h. */
61350 #include <math.h>
61351 #ifdef HAVE_IEEEFP_H
61352 #include <ieeefp.h>
61353 #endif
61356 main ()
61358 _logf(0);
61360 return 0;
61362 _ACEOF
61363 if ac_fn_cxx_try_compile "$LINENO"; then :
61364 glibcxx_cv_func__logf_use=yes
61365 else
61366 glibcxx_cv_func__logf_use=no
61368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61369 ac_ext=c
61370 ac_cpp='$CPP $CPPFLAGS'
61371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
61380 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
61382 if test x$glibcxx_cv_func__logf_use = x"yes"; then
61383 for ac_func in _logf
61384 do :
61385 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
61386 if test "x$ac_cv_func__logf" = x""yes; then :
61387 cat >>confdefs.h <<_ACEOF
61388 #define HAVE__LOGF 1
61389 _ACEOF
61392 done
61401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
61402 $as_echo_n "checking for log10f declaration... " >&6; }
61403 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
61404 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
61405 $as_echo_n "(cached) " >&6
61406 else
61409 ac_ext=cpp
61410 ac_cpp='$CXXCPP $CPPFLAGS'
61411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61416 /* end confdefs.h. */
61417 #include <math.h>
61418 #ifdef HAVE_IEEEFP_H
61419 #include <ieeefp.h>
61420 #endif
61423 main ()
61425 log10f(0);
61427 return 0;
61429 _ACEOF
61430 if ac_fn_cxx_try_compile "$LINENO"; then :
61431 glibcxx_cv_func_log10f_use=yes
61432 else
61433 glibcxx_cv_func_log10f_use=no
61435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61436 ac_ext=c
61437 ac_cpp='$CPP $CPPFLAGS'
61438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
61447 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
61449 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
61450 for ac_func in log10f
61451 do :
61452 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
61453 if test "x$ac_cv_func_log10f" = x""yes; then :
61454 cat >>confdefs.h <<_ACEOF
61455 #define HAVE_LOG10F 1
61456 _ACEOF
61459 done
61461 else
61463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
61464 $as_echo_n "checking for _log10f declaration... " >&6; }
61465 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
61466 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
61467 $as_echo_n "(cached) " >&6
61468 else
61471 ac_ext=cpp
61472 ac_cpp='$CXXCPP $CPPFLAGS'
61473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61478 /* end confdefs.h. */
61479 #include <math.h>
61480 #ifdef HAVE_IEEEFP_H
61481 #include <ieeefp.h>
61482 #endif
61485 main ()
61487 _log10f(0);
61489 return 0;
61491 _ACEOF
61492 if ac_fn_cxx_try_compile "$LINENO"; then :
61493 glibcxx_cv_func__log10f_use=yes
61494 else
61495 glibcxx_cv_func__log10f_use=no
61497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61498 ac_ext=c
61499 ac_cpp='$CPP $CPPFLAGS'
61500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
61509 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
61511 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
61512 for ac_func in _log10f
61513 do :
61514 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
61515 if test "x$ac_cv_func__log10f" = x""yes; then :
61516 cat >>confdefs.h <<_ACEOF
61517 #define HAVE__LOG10F 1
61518 _ACEOF
61521 done
61530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
61531 $as_echo_n "checking for modff declaration... " >&6; }
61532 if test x${glibcxx_cv_func_modff_use+set} != xset; then
61533 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
61534 $as_echo_n "(cached) " >&6
61535 else
61538 ac_ext=cpp
61539 ac_cpp='$CXXCPP $CPPFLAGS'
61540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61545 /* end confdefs.h. */
61546 #include <math.h>
61548 main ()
61550 modff(0, 0);
61552 return 0;
61554 _ACEOF
61555 if ac_fn_cxx_try_compile "$LINENO"; then :
61556 glibcxx_cv_func_modff_use=yes
61557 else
61558 glibcxx_cv_func_modff_use=no
61560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61561 ac_ext=c
61562 ac_cpp='$CPP $CPPFLAGS'
61563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
61572 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
61574 if test x$glibcxx_cv_func_modff_use = x"yes"; then
61575 for ac_func in modff
61576 do :
61577 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
61578 if test "x$ac_cv_func_modff" = x""yes; then :
61579 cat >>confdefs.h <<_ACEOF
61580 #define HAVE_MODFF 1
61581 _ACEOF
61584 done
61586 else
61588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
61589 $as_echo_n "checking for _modff declaration... " >&6; }
61590 if test x${glibcxx_cv_func__modff_use+set} != xset; then
61591 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
61592 $as_echo_n "(cached) " >&6
61593 else
61596 ac_ext=cpp
61597 ac_cpp='$CXXCPP $CPPFLAGS'
61598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61603 /* end confdefs.h. */
61604 #include <math.h>
61606 main ()
61608 _modff(0, 0);
61610 return 0;
61612 _ACEOF
61613 if ac_fn_cxx_try_compile "$LINENO"; then :
61614 glibcxx_cv_func__modff_use=yes
61615 else
61616 glibcxx_cv_func__modff_use=no
61618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61619 ac_ext=c
61620 ac_cpp='$CPP $CPPFLAGS'
61621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
61630 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
61632 if test x$glibcxx_cv_func__modff_use = x"yes"; then
61633 for ac_func in _modff
61634 do :
61635 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
61636 if test "x$ac_cv_func__modff" = x""yes; then :
61637 cat >>confdefs.h <<_ACEOF
61638 #define HAVE__MODFF 1
61639 _ACEOF
61642 done
61651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
61652 $as_echo_n "checking for modf declaration... " >&6; }
61653 if test x${glibcxx_cv_func_modf_use+set} != xset; then
61654 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
61655 $as_echo_n "(cached) " >&6
61656 else
61659 ac_ext=cpp
61660 ac_cpp='$CXXCPP $CPPFLAGS'
61661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61666 /* end confdefs.h. */
61667 #include <math.h>
61669 main ()
61671 modf(0, 0);
61673 return 0;
61675 _ACEOF
61676 if ac_fn_cxx_try_compile "$LINENO"; then :
61677 glibcxx_cv_func_modf_use=yes
61678 else
61679 glibcxx_cv_func_modf_use=no
61681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61682 ac_ext=c
61683 ac_cpp='$CPP $CPPFLAGS'
61684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
61693 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
61695 if test x$glibcxx_cv_func_modf_use = x"yes"; then
61696 for ac_func in modf
61697 do :
61698 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
61699 if test "x$ac_cv_func_modf" = x""yes; then :
61700 cat >>confdefs.h <<_ACEOF
61701 #define HAVE_MODF 1
61702 _ACEOF
61705 done
61707 else
61709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
61710 $as_echo_n "checking for _modf declaration... " >&6; }
61711 if test x${glibcxx_cv_func__modf_use+set} != xset; then
61712 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
61713 $as_echo_n "(cached) " >&6
61714 else
61717 ac_ext=cpp
61718 ac_cpp='$CXXCPP $CPPFLAGS'
61719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61724 /* end confdefs.h. */
61725 #include <math.h>
61727 main ()
61729 _modf(0, 0);
61731 return 0;
61733 _ACEOF
61734 if ac_fn_cxx_try_compile "$LINENO"; then :
61735 glibcxx_cv_func__modf_use=yes
61736 else
61737 glibcxx_cv_func__modf_use=no
61739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61740 ac_ext=c
61741 ac_cpp='$CPP $CPPFLAGS'
61742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
61751 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
61753 if test x$glibcxx_cv_func__modf_use = x"yes"; then
61754 for ac_func in _modf
61755 do :
61756 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
61757 if test "x$ac_cv_func__modf" = x""yes; then :
61758 cat >>confdefs.h <<_ACEOF
61759 #define HAVE__MODF 1
61760 _ACEOF
61763 done
61772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
61773 $as_echo_n "checking for powf declaration... " >&6; }
61774 if test x${glibcxx_cv_func_powf_use+set} != xset; then
61775 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
61776 $as_echo_n "(cached) " >&6
61777 else
61780 ac_ext=cpp
61781 ac_cpp='$CXXCPP $CPPFLAGS'
61782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61787 /* end confdefs.h. */
61788 #include <math.h>
61790 main ()
61792 powf(0, 0);
61794 return 0;
61796 _ACEOF
61797 if ac_fn_cxx_try_compile "$LINENO"; then :
61798 glibcxx_cv_func_powf_use=yes
61799 else
61800 glibcxx_cv_func_powf_use=no
61802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61803 ac_ext=c
61804 ac_cpp='$CPP $CPPFLAGS'
61805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
61814 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
61816 if test x$glibcxx_cv_func_powf_use = x"yes"; then
61817 for ac_func in powf
61818 do :
61819 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
61820 if test "x$ac_cv_func_powf" = x""yes; then :
61821 cat >>confdefs.h <<_ACEOF
61822 #define HAVE_POWF 1
61823 _ACEOF
61826 done
61828 else
61830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
61831 $as_echo_n "checking for _powf declaration... " >&6; }
61832 if test x${glibcxx_cv_func__powf_use+set} != xset; then
61833 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
61834 $as_echo_n "(cached) " >&6
61835 else
61838 ac_ext=cpp
61839 ac_cpp='$CXXCPP $CPPFLAGS'
61840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61845 /* end confdefs.h. */
61846 #include <math.h>
61848 main ()
61850 _powf(0, 0);
61852 return 0;
61854 _ACEOF
61855 if ac_fn_cxx_try_compile "$LINENO"; then :
61856 glibcxx_cv_func__powf_use=yes
61857 else
61858 glibcxx_cv_func__powf_use=no
61860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61861 ac_ext=c
61862 ac_cpp='$CPP $CPPFLAGS'
61863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
61872 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
61874 if test x$glibcxx_cv_func__powf_use = x"yes"; then
61875 for ac_func in _powf
61876 do :
61877 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
61878 if test "x$ac_cv_func__powf" = x""yes; then :
61879 cat >>confdefs.h <<_ACEOF
61880 #define HAVE__POWF 1
61881 _ACEOF
61884 done
61893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
61894 $as_echo_n "checking for sqrtf declaration... " >&6; }
61895 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
61896 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
61897 $as_echo_n "(cached) " >&6
61898 else
61901 ac_ext=cpp
61902 ac_cpp='$CXXCPP $CPPFLAGS'
61903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61908 /* end confdefs.h. */
61909 #include <math.h>
61910 #ifdef HAVE_IEEEFP_H
61911 #include <ieeefp.h>
61912 #endif
61915 main ()
61917 sqrtf(0);
61919 return 0;
61921 _ACEOF
61922 if ac_fn_cxx_try_compile "$LINENO"; then :
61923 glibcxx_cv_func_sqrtf_use=yes
61924 else
61925 glibcxx_cv_func_sqrtf_use=no
61927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61928 ac_ext=c
61929 ac_cpp='$CPP $CPPFLAGS'
61930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
61939 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
61941 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
61942 for ac_func in sqrtf
61943 do :
61944 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
61945 if test "x$ac_cv_func_sqrtf" = x""yes; then :
61946 cat >>confdefs.h <<_ACEOF
61947 #define HAVE_SQRTF 1
61948 _ACEOF
61951 done
61953 else
61955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
61956 $as_echo_n "checking for _sqrtf declaration... " >&6; }
61957 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
61958 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
61959 $as_echo_n "(cached) " >&6
61960 else
61963 ac_ext=cpp
61964 ac_cpp='$CXXCPP $CPPFLAGS'
61965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61970 /* end confdefs.h. */
61971 #include <math.h>
61972 #ifdef HAVE_IEEEFP_H
61973 #include <ieeefp.h>
61974 #endif
61977 main ()
61979 _sqrtf(0);
61981 return 0;
61983 _ACEOF
61984 if ac_fn_cxx_try_compile "$LINENO"; then :
61985 glibcxx_cv_func__sqrtf_use=yes
61986 else
61987 glibcxx_cv_func__sqrtf_use=no
61989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61990 ac_ext=c
61991 ac_cpp='$CPP $CPPFLAGS'
61992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
62001 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
62003 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
62004 for ac_func in _sqrtf
62005 do :
62006 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
62007 if test "x$ac_cv_func__sqrtf" = x""yes; then :
62008 cat >>confdefs.h <<_ACEOF
62009 #define HAVE__SQRTF 1
62010 _ACEOF
62013 done
62022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
62023 $as_echo_n "checking for sincosf declaration... " >&6; }
62024 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
62025 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
62026 $as_echo_n "(cached) " >&6
62027 else
62030 ac_ext=cpp
62031 ac_cpp='$CXXCPP $CPPFLAGS'
62032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62037 /* end confdefs.h. */
62038 #include <math.h>
62040 main ()
62042 sincosf(0, 0, 0);
62044 return 0;
62046 _ACEOF
62047 if ac_fn_cxx_try_compile "$LINENO"; then :
62048 glibcxx_cv_func_sincosf_use=yes
62049 else
62050 glibcxx_cv_func_sincosf_use=no
62052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62053 ac_ext=c
62054 ac_cpp='$CPP $CPPFLAGS'
62055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
62064 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
62066 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
62067 for ac_func in sincosf
62068 do :
62069 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
62070 if test "x$ac_cv_func_sincosf" = x""yes; then :
62071 cat >>confdefs.h <<_ACEOF
62072 #define HAVE_SINCOSF 1
62073 _ACEOF
62076 done
62078 else
62080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
62081 $as_echo_n "checking for _sincosf declaration... " >&6; }
62082 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
62083 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
62084 $as_echo_n "(cached) " >&6
62085 else
62088 ac_ext=cpp
62089 ac_cpp='$CXXCPP $CPPFLAGS'
62090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62095 /* end confdefs.h. */
62096 #include <math.h>
62098 main ()
62100 _sincosf(0, 0, 0);
62102 return 0;
62104 _ACEOF
62105 if ac_fn_cxx_try_compile "$LINENO"; then :
62106 glibcxx_cv_func__sincosf_use=yes
62107 else
62108 glibcxx_cv_func__sincosf_use=no
62110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62111 ac_ext=c
62112 ac_cpp='$CPP $CPPFLAGS'
62113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
62122 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
62124 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
62125 for ac_func in _sincosf
62126 do :
62127 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
62128 if test "x$ac_cv_func__sincosf" = x""yes; then :
62129 cat >>confdefs.h <<_ACEOF
62130 #define HAVE__SINCOSF 1
62131 _ACEOF
62134 done
62143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
62144 $as_echo_n "checking for finitef declaration... " >&6; }
62145 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
62146 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
62147 $as_echo_n "(cached) " >&6
62148 else
62151 ac_ext=cpp
62152 ac_cpp='$CXXCPP $CPPFLAGS'
62153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62158 /* end confdefs.h. */
62159 #include <math.h>
62160 #ifdef HAVE_IEEEFP_H
62161 #include <ieeefp.h>
62162 #endif
62165 main ()
62167 finitef(0);
62169 return 0;
62171 _ACEOF
62172 if ac_fn_cxx_try_compile "$LINENO"; then :
62173 glibcxx_cv_func_finitef_use=yes
62174 else
62175 glibcxx_cv_func_finitef_use=no
62177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62178 ac_ext=c
62179 ac_cpp='$CPP $CPPFLAGS'
62180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
62189 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
62191 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
62192 for ac_func in finitef
62193 do :
62194 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
62195 if test "x$ac_cv_func_finitef" = x""yes; then :
62196 cat >>confdefs.h <<_ACEOF
62197 #define HAVE_FINITEF 1
62198 _ACEOF
62201 done
62203 else
62205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
62206 $as_echo_n "checking for _finitef declaration... " >&6; }
62207 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
62208 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
62209 $as_echo_n "(cached) " >&6
62210 else
62213 ac_ext=cpp
62214 ac_cpp='$CXXCPP $CPPFLAGS'
62215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62220 /* end confdefs.h. */
62221 #include <math.h>
62222 #ifdef HAVE_IEEEFP_H
62223 #include <ieeefp.h>
62224 #endif
62227 main ()
62229 _finitef(0);
62231 return 0;
62233 _ACEOF
62234 if ac_fn_cxx_try_compile "$LINENO"; then :
62235 glibcxx_cv_func__finitef_use=yes
62236 else
62237 glibcxx_cv_func__finitef_use=no
62239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62240 ac_ext=c
62241 ac_cpp='$CPP $CPPFLAGS'
62242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
62251 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
62253 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
62254 for ac_func in _finitef
62255 do :
62256 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
62257 if test "x$ac_cv_func__finitef" = x""yes; then :
62258 cat >>confdefs.h <<_ACEOF
62259 #define HAVE__FINITEF 1
62260 _ACEOF
62263 done
62272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
62273 $as_echo_n "checking for long double trig functions... " >&6; }
62274 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
62275 $as_echo_n "(cached) " >&6
62276 else
62279 ac_ext=cpp
62280 ac_cpp='$CXXCPP $CPPFLAGS'
62281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62286 /* end confdefs.h. */
62287 #include <math.h>
62289 main ()
62291 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
62293 return 0;
62295 _ACEOF
62296 if ac_fn_cxx_try_compile "$LINENO"; then :
62297 glibcxx_cv_func_long_double_trig_use=yes
62298 else
62299 glibcxx_cv_func_long_double_trig_use=no
62301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62302 ac_ext=c
62303 ac_cpp='$CPP $CPPFLAGS'
62304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
62311 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
62312 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
62313 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
62314 do :
62315 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62316 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62317 eval as_val=\$$as_ac_var
62318 if test "x$as_val" = x""yes; then :
62319 cat >>confdefs.h <<_ACEOF
62320 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62321 _ACEOF
62324 done
62326 else
62327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
62328 $as_echo_n "checking for _long double trig functions... " >&6; }
62329 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
62330 $as_echo_n "(cached) " >&6
62331 else
62334 ac_ext=cpp
62335 ac_cpp='$CXXCPP $CPPFLAGS'
62336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62341 /* end confdefs.h. */
62342 #include <math.h>
62344 main ()
62346 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
62348 return 0;
62350 _ACEOF
62351 if ac_fn_cxx_try_compile "$LINENO"; then :
62352 glibcxx_cv_func__long_double_trig_use=yes
62353 else
62354 glibcxx_cv_func__long_double_trig_use=no
62356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62357 ac_ext=c
62358 ac_cpp='$CPP $CPPFLAGS'
62359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
62366 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
62367 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
62368 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
62369 do :
62370 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62371 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62372 eval as_val=\$$as_ac_var
62373 if test "x$as_val" = x""yes; then :
62374 cat >>confdefs.h <<_ACEOF
62375 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62376 _ACEOF
62379 done
62388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
62389 $as_echo_n "checking for long double round functions... " >&6; }
62390 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
62391 $as_echo_n "(cached) " >&6
62392 else
62395 ac_ext=cpp
62396 ac_cpp='$CXXCPP $CPPFLAGS'
62397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62402 /* end confdefs.h. */
62403 #include <math.h>
62405 main ()
62407 ceill (0); floorl (0);
62409 return 0;
62411 _ACEOF
62412 if ac_fn_cxx_try_compile "$LINENO"; then :
62413 glibcxx_cv_func_long_double_round_use=yes
62414 else
62415 glibcxx_cv_func_long_double_round_use=no
62417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62418 ac_ext=c
62419 ac_cpp='$CPP $CPPFLAGS'
62420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
62427 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
62428 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
62429 for ac_func in ceill floorl
62430 do :
62431 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62432 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62433 eval as_val=\$$as_ac_var
62434 if test "x$as_val" = x""yes; then :
62435 cat >>confdefs.h <<_ACEOF
62436 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62437 _ACEOF
62440 done
62442 else
62443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
62444 $as_echo_n "checking for _long double round functions... " >&6; }
62445 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
62446 $as_echo_n "(cached) " >&6
62447 else
62450 ac_ext=cpp
62451 ac_cpp='$CXXCPP $CPPFLAGS'
62452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62457 /* end confdefs.h. */
62458 #include <math.h>
62460 main ()
62462 _ceill (0); _floorl (0);
62464 return 0;
62466 _ACEOF
62467 if ac_fn_cxx_try_compile "$LINENO"; then :
62468 glibcxx_cv_func__long_double_round_use=yes
62469 else
62470 glibcxx_cv_func__long_double_round_use=no
62472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62473 ac_ext=c
62474 ac_cpp='$CPP $CPPFLAGS'
62475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
62482 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
62483 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
62484 for ac_func in _ceill _floorl
62485 do :
62486 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62487 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62488 eval as_val=\$$as_ac_var
62489 if test "x$as_val" = x""yes; then :
62490 cat >>confdefs.h <<_ACEOF
62491 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62492 _ACEOF
62495 done
62505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
62506 $as_echo_n "checking for isnanl declaration... " >&6; }
62507 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
62508 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
62509 $as_echo_n "(cached) " >&6
62510 else
62513 ac_ext=cpp
62514 ac_cpp='$CXXCPP $CPPFLAGS'
62515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62520 /* end confdefs.h. */
62521 #include <math.h>
62522 #ifdef HAVE_IEEEFP_H
62523 #include <ieeefp.h>
62524 #endif
62527 main ()
62529 isnanl(0);
62531 return 0;
62533 _ACEOF
62534 if ac_fn_cxx_try_compile "$LINENO"; then :
62535 glibcxx_cv_func_isnanl_use=yes
62536 else
62537 glibcxx_cv_func_isnanl_use=no
62539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62540 ac_ext=c
62541 ac_cpp='$CPP $CPPFLAGS'
62542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
62551 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
62553 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
62554 for ac_func in isnanl
62555 do :
62556 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
62557 if test "x$ac_cv_func_isnanl" = x""yes; then :
62558 cat >>confdefs.h <<_ACEOF
62559 #define HAVE_ISNANL 1
62560 _ACEOF
62563 done
62565 else
62567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
62568 $as_echo_n "checking for _isnanl declaration... " >&6; }
62569 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
62570 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
62571 $as_echo_n "(cached) " >&6
62572 else
62575 ac_ext=cpp
62576 ac_cpp='$CXXCPP $CPPFLAGS'
62577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62582 /* end confdefs.h. */
62583 #include <math.h>
62584 #ifdef HAVE_IEEEFP_H
62585 #include <ieeefp.h>
62586 #endif
62589 main ()
62591 _isnanl(0);
62593 return 0;
62595 _ACEOF
62596 if ac_fn_cxx_try_compile "$LINENO"; then :
62597 glibcxx_cv_func__isnanl_use=yes
62598 else
62599 glibcxx_cv_func__isnanl_use=no
62601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62602 ac_ext=c
62603 ac_cpp='$CPP $CPPFLAGS'
62604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
62613 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
62615 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
62616 for ac_func in _isnanl
62617 do :
62618 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
62619 if test "x$ac_cv_func__isnanl" = x""yes; then :
62620 cat >>confdefs.h <<_ACEOF
62621 #define HAVE__ISNANL 1
62622 _ACEOF
62625 done
62634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
62635 $as_echo_n "checking for isinfl declaration... " >&6; }
62636 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
62637 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
62638 $as_echo_n "(cached) " >&6
62639 else
62642 ac_ext=cpp
62643 ac_cpp='$CXXCPP $CPPFLAGS'
62644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62649 /* end confdefs.h. */
62650 #include <math.h>
62651 #ifdef HAVE_IEEEFP_H
62652 #include <ieeefp.h>
62653 #endif
62656 main ()
62658 isinfl(0);
62660 return 0;
62662 _ACEOF
62663 if ac_fn_cxx_try_compile "$LINENO"; then :
62664 glibcxx_cv_func_isinfl_use=yes
62665 else
62666 glibcxx_cv_func_isinfl_use=no
62668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62669 ac_ext=c
62670 ac_cpp='$CPP $CPPFLAGS'
62671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
62680 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
62682 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
62683 for ac_func in isinfl
62684 do :
62685 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
62686 if test "x$ac_cv_func_isinfl" = x""yes; then :
62687 cat >>confdefs.h <<_ACEOF
62688 #define HAVE_ISINFL 1
62689 _ACEOF
62692 done
62694 else
62696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
62697 $as_echo_n "checking for _isinfl declaration... " >&6; }
62698 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
62699 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
62700 $as_echo_n "(cached) " >&6
62701 else
62704 ac_ext=cpp
62705 ac_cpp='$CXXCPP $CPPFLAGS'
62706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62711 /* end confdefs.h. */
62712 #include <math.h>
62713 #ifdef HAVE_IEEEFP_H
62714 #include <ieeefp.h>
62715 #endif
62718 main ()
62720 _isinfl(0);
62722 return 0;
62724 _ACEOF
62725 if ac_fn_cxx_try_compile "$LINENO"; then :
62726 glibcxx_cv_func__isinfl_use=yes
62727 else
62728 glibcxx_cv_func__isinfl_use=no
62730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62731 ac_ext=c
62732 ac_cpp='$CPP $CPPFLAGS'
62733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
62742 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
62744 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
62745 for ac_func in _isinfl
62746 do :
62747 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
62748 if test "x$ac_cv_func__isinfl" = x""yes; then :
62749 cat >>confdefs.h <<_ACEOF
62750 #define HAVE__ISINFL 1
62751 _ACEOF
62754 done
62763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
62764 $as_echo_n "checking for atan2l declaration... " >&6; }
62765 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
62766 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
62767 $as_echo_n "(cached) " >&6
62768 else
62771 ac_ext=cpp
62772 ac_cpp='$CXXCPP $CPPFLAGS'
62773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62778 /* end confdefs.h. */
62779 #include <math.h>
62781 main ()
62783 atan2l(0, 0);
62785 return 0;
62787 _ACEOF
62788 if ac_fn_cxx_try_compile "$LINENO"; then :
62789 glibcxx_cv_func_atan2l_use=yes
62790 else
62791 glibcxx_cv_func_atan2l_use=no
62793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62794 ac_ext=c
62795 ac_cpp='$CPP $CPPFLAGS'
62796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
62805 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
62807 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
62808 for ac_func in atan2l
62809 do :
62810 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
62811 if test "x$ac_cv_func_atan2l" = x""yes; then :
62812 cat >>confdefs.h <<_ACEOF
62813 #define HAVE_ATAN2L 1
62814 _ACEOF
62817 done
62819 else
62821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
62822 $as_echo_n "checking for _atan2l declaration... " >&6; }
62823 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
62824 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
62825 $as_echo_n "(cached) " >&6
62826 else
62829 ac_ext=cpp
62830 ac_cpp='$CXXCPP $CPPFLAGS'
62831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62836 /* end confdefs.h. */
62837 #include <math.h>
62839 main ()
62841 _atan2l(0, 0);
62843 return 0;
62845 _ACEOF
62846 if ac_fn_cxx_try_compile "$LINENO"; then :
62847 glibcxx_cv_func__atan2l_use=yes
62848 else
62849 glibcxx_cv_func__atan2l_use=no
62851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62852 ac_ext=c
62853 ac_cpp='$CPP $CPPFLAGS'
62854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
62863 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
62865 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
62866 for ac_func in _atan2l
62867 do :
62868 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
62869 if test "x$ac_cv_func__atan2l" = x""yes; then :
62870 cat >>confdefs.h <<_ACEOF
62871 #define HAVE__ATAN2L 1
62872 _ACEOF
62875 done
62884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
62885 $as_echo_n "checking for expl declaration... " >&6; }
62886 if test x${glibcxx_cv_func_expl_use+set} != xset; then
62887 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
62888 $as_echo_n "(cached) " >&6
62889 else
62892 ac_ext=cpp
62893 ac_cpp='$CXXCPP $CPPFLAGS'
62894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62899 /* end confdefs.h. */
62900 #include <math.h>
62901 #ifdef HAVE_IEEEFP_H
62902 #include <ieeefp.h>
62903 #endif
62906 main ()
62908 expl(0);
62910 return 0;
62912 _ACEOF
62913 if ac_fn_cxx_try_compile "$LINENO"; then :
62914 glibcxx_cv_func_expl_use=yes
62915 else
62916 glibcxx_cv_func_expl_use=no
62918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62919 ac_ext=c
62920 ac_cpp='$CPP $CPPFLAGS'
62921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
62930 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
62932 if test x$glibcxx_cv_func_expl_use = x"yes"; then
62933 for ac_func in expl
62934 do :
62935 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
62936 if test "x$ac_cv_func_expl" = x""yes; then :
62937 cat >>confdefs.h <<_ACEOF
62938 #define HAVE_EXPL 1
62939 _ACEOF
62942 done
62944 else
62946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
62947 $as_echo_n "checking for _expl declaration... " >&6; }
62948 if test x${glibcxx_cv_func__expl_use+set} != xset; then
62949 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
62950 $as_echo_n "(cached) " >&6
62951 else
62954 ac_ext=cpp
62955 ac_cpp='$CXXCPP $CPPFLAGS'
62956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62961 /* end confdefs.h. */
62962 #include <math.h>
62963 #ifdef HAVE_IEEEFP_H
62964 #include <ieeefp.h>
62965 #endif
62968 main ()
62970 _expl(0);
62972 return 0;
62974 _ACEOF
62975 if ac_fn_cxx_try_compile "$LINENO"; then :
62976 glibcxx_cv_func__expl_use=yes
62977 else
62978 glibcxx_cv_func__expl_use=no
62980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62981 ac_ext=c
62982 ac_cpp='$CPP $CPPFLAGS'
62983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
62992 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
62994 if test x$glibcxx_cv_func__expl_use = x"yes"; then
62995 for ac_func in _expl
62996 do :
62997 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
62998 if test "x$ac_cv_func__expl" = x""yes; then :
62999 cat >>confdefs.h <<_ACEOF
63000 #define HAVE__EXPL 1
63001 _ACEOF
63004 done
63013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
63014 $as_echo_n "checking for fabsl declaration... " >&6; }
63015 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
63016 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
63017 $as_echo_n "(cached) " >&6
63018 else
63021 ac_ext=cpp
63022 ac_cpp='$CXXCPP $CPPFLAGS'
63023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63028 /* end confdefs.h. */
63029 #include <math.h>
63030 #ifdef HAVE_IEEEFP_H
63031 #include <ieeefp.h>
63032 #endif
63035 main ()
63037 fabsl(0);
63039 return 0;
63041 _ACEOF
63042 if ac_fn_cxx_try_compile "$LINENO"; then :
63043 glibcxx_cv_func_fabsl_use=yes
63044 else
63045 glibcxx_cv_func_fabsl_use=no
63047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63048 ac_ext=c
63049 ac_cpp='$CPP $CPPFLAGS'
63050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
63059 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
63061 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
63062 for ac_func in fabsl
63063 do :
63064 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
63065 if test "x$ac_cv_func_fabsl" = x""yes; then :
63066 cat >>confdefs.h <<_ACEOF
63067 #define HAVE_FABSL 1
63068 _ACEOF
63071 done
63073 else
63075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
63076 $as_echo_n "checking for _fabsl declaration... " >&6; }
63077 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
63078 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
63079 $as_echo_n "(cached) " >&6
63080 else
63083 ac_ext=cpp
63084 ac_cpp='$CXXCPP $CPPFLAGS'
63085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63090 /* end confdefs.h. */
63091 #include <math.h>
63092 #ifdef HAVE_IEEEFP_H
63093 #include <ieeefp.h>
63094 #endif
63097 main ()
63099 _fabsl(0);
63101 return 0;
63103 _ACEOF
63104 if ac_fn_cxx_try_compile "$LINENO"; then :
63105 glibcxx_cv_func__fabsl_use=yes
63106 else
63107 glibcxx_cv_func__fabsl_use=no
63109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63110 ac_ext=c
63111 ac_cpp='$CPP $CPPFLAGS'
63112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
63121 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
63123 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
63124 for ac_func in _fabsl
63125 do :
63126 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
63127 if test "x$ac_cv_func__fabsl" = x""yes; then :
63128 cat >>confdefs.h <<_ACEOF
63129 #define HAVE__FABSL 1
63130 _ACEOF
63133 done
63142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
63143 $as_echo_n "checking for fmodl declaration... " >&6; }
63144 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
63145 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
63146 $as_echo_n "(cached) " >&6
63147 else
63150 ac_ext=cpp
63151 ac_cpp='$CXXCPP $CPPFLAGS'
63152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63157 /* end confdefs.h. */
63158 #include <math.h>
63160 main ()
63162 fmodl(0, 0);
63164 return 0;
63166 _ACEOF
63167 if ac_fn_cxx_try_compile "$LINENO"; then :
63168 glibcxx_cv_func_fmodl_use=yes
63169 else
63170 glibcxx_cv_func_fmodl_use=no
63172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63173 ac_ext=c
63174 ac_cpp='$CPP $CPPFLAGS'
63175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
63184 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
63186 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
63187 for ac_func in fmodl
63188 do :
63189 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
63190 if test "x$ac_cv_func_fmodl" = x""yes; then :
63191 cat >>confdefs.h <<_ACEOF
63192 #define HAVE_FMODL 1
63193 _ACEOF
63196 done
63198 else
63200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
63201 $as_echo_n "checking for _fmodl declaration... " >&6; }
63202 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
63203 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
63204 $as_echo_n "(cached) " >&6
63205 else
63208 ac_ext=cpp
63209 ac_cpp='$CXXCPP $CPPFLAGS'
63210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63215 /* end confdefs.h. */
63216 #include <math.h>
63218 main ()
63220 _fmodl(0, 0);
63222 return 0;
63224 _ACEOF
63225 if ac_fn_cxx_try_compile "$LINENO"; then :
63226 glibcxx_cv_func__fmodl_use=yes
63227 else
63228 glibcxx_cv_func__fmodl_use=no
63230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63231 ac_ext=c
63232 ac_cpp='$CPP $CPPFLAGS'
63233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
63242 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
63244 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
63245 for ac_func in _fmodl
63246 do :
63247 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
63248 if test "x$ac_cv_func__fmodl" = x""yes; then :
63249 cat >>confdefs.h <<_ACEOF
63250 #define HAVE__FMODL 1
63251 _ACEOF
63254 done
63263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
63264 $as_echo_n "checking for frexpl declaration... " >&6; }
63265 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
63266 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
63267 $as_echo_n "(cached) " >&6
63268 else
63271 ac_ext=cpp
63272 ac_cpp='$CXXCPP $CPPFLAGS'
63273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63278 /* end confdefs.h. */
63279 #include <math.h>
63281 main ()
63283 frexpl(0, 0);
63285 return 0;
63287 _ACEOF
63288 if ac_fn_cxx_try_compile "$LINENO"; then :
63289 glibcxx_cv_func_frexpl_use=yes
63290 else
63291 glibcxx_cv_func_frexpl_use=no
63293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63294 ac_ext=c
63295 ac_cpp='$CPP $CPPFLAGS'
63296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
63305 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
63307 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
63308 for ac_func in frexpl
63309 do :
63310 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
63311 if test "x$ac_cv_func_frexpl" = x""yes; then :
63312 cat >>confdefs.h <<_ACEOF
63313 #define HAVE_FREXPL 1
63314 _ACEOF
63317 done
63319 else
63321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
63322 $as_echo_n "checking for _frexpl declaration... " >&6; }
63323 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
63324 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
63325 $as_echo_n "(cached) " >&6
63326 else
63329 ac_ext=cpp
63330 ac_cpp='$CXXCPP $CPPFLAGS'
63331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63336 /* end confdefs.h. */
63337 #include <math.h>
63339 main ()
63341 _frexpl(0, 0);
63343 return 0;
63345 _ACEOF
63346 if ac_fn_cxx_try_compile "$LINENO"; then :
63347 glibcxx_cv_func__frexpl_use=yes
63348 else
63349 glibcxx_cv_func__frexpl_use=no
63351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63352 ac_ext=c
63353 ac_cpp='$CPP $CPPFLAGS'
63354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
63363 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
63365 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
63366 for ac_func in _frexpl
63367 do :
63368 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
63369 if test "x$ac_cv_func__frexpl" = x""yes; then :
63370 cat >>confdefs.h <<_ACEOF
63371 #define HAVE__FREXPL 1
63372 _ACEOF
63375 done
63384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
63385 $as_echo_n "checking for hypotl declaration... " >&6; }
63386 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
63387 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
63388 $as_echo_n "(cached) " >&6
63389 else
63392 ac_ext=cpp
63393 ac_cpp='$CXXCPP $CPPFLAGS'
63394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63399 /* end confdefs.h. */
63400 #include <math.h>
63402 main ()
63404 hypotl(0, 0);
63406 return 0;
63408 _ACEOF
63409 if ac_fn_cxx_try_compile "$LINENO"; then :
63410 glibcxx_cv_func_hypotl_use=yes
63411 else
63412 glibcxx_cv_func_hypotl_use=no
63414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63415 ac_ext=c
63416 ac_cpp='$CPP $CPPFLAGS'
63417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
63426 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
63428 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
63429 for ac_func in hypotl
63430 do :
63431 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
63432 if test "x$ac_cv_func_hypotl" = x""yes; then :
63433 cat >>confdefs.h <<_ACEOF
63434 #define HAVE_HYPOTL 1
63435 _ACEOF
63438 done
63440 else
63442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
63443 $as_echo_n "checking for _hypotl declaration... " >&6; }
63444 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
63445 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
63446 $as_echo_n "(cached) " >&6
63447 else
63450 ac_ext=cpp
63451 ac_cpp='$CXXCPP $CPPFLAGS'
63452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63457 /* end confdefs.h. */
63458 #include <math.h>
63460 main ()
63462 _hypotl(0, 0);
63464 return 0;
63466 _ACEOF
63467 if ac_fn_cxx_try_compile "$LINENO"; then :
63468 glibcxx_cv_func__hypotl_use=yes
63469 else
63470 glibcxx_cv_func__hypotl_use=no
63472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63473 ac_ext=c
63474 ac_cpp='$CPP $CPPFLAGS'
63475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
63484 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
63486 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
63487 for ac_func in _hypotl
63488 do :
63489 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
63490 if test "x$ac_cv_func__hypotl" = x""yes; then :
63491 cat >>confdefs.h <<_ACEOF
63492 #define HAVE__HYPOTL 1
63493 _ACEOF
63496 done
63505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
63506 $as_echo_n "checking for ldexpl declaration... " >&6; }
63507 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
63508 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
63509 $as_echo_n "(cached) " >&6
63510 else
63513 ac_ext=cpp
63514 ac_cpp='$CXXCPP $CPPFLAGS'
63515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63520 /* end confdefs.h. */
63521 #include <math.h>
63523 main ()
63525 ldexpl(0, 0);
63527 return 0;
63529 _ACEOF
63530 if ac_fn_cxx_try_compile "$LINENO"; then :
63531 glibcxx_cv_func_ldexpl_use=yes
63532 else
63533 glibcxx_cv_func_ldexpl_use=no
63535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63536 ac_ext=c
63537 ac_cpp='$CPP $CPPFLAGS'
63538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
63547 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
63549 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
63550 for ac_func in ldexpl
63551 do :
63552 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
63553 if test "x$ac_cv_func_ldexpl" = x""yes; then :
63554 cat >>confdefs.h <<_ACEOF
63555 #define HAVE_LDEXPL 1
63556 _ACEOF
63559 done
63561 else
63563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
63564 $as_echo_n "checking for _ldexpl declaration... " >&6; }
63565 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
63566 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
63567 $as_echo_n "(cached) " >&6
63568 else
63571 ac_ext=cpp
63572 ac_cpp='$CXXCPP $CPPFLAGS'
63573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63578 /* end confdefs.h. */
63579 #include <math.h>
63581 main ()
63583 _ldexpl(0, 0);
63585 return 0;
63587 _ACEOF
63588 if ac_fn_cxx_try_compile "$LINENO"; then :
63589 glibcxx_cv_func__ldexpl_use=yes
63590 else
63591 glibcxx_cv_func__ldexpl_use=no
63593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63594 ac_ext=c
63595 ac_cpp='$CPP $CPPFLAGS'
63596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
63605 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
63607 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
63608 for ac_func in _ldexpl
63609 do :
63610 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
63611 if test "x$ac_cv_func__ldexpl" = x""yes; then :
63612 cat >>confdefs.h <<_ACEOF
63613 #define HAVE__LDEXPL 1
63614 _ACEOF
63617 done
63626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
63627 $as_echo_n "checking for logl declaration... " >&6; }
63628 if test x${glibcxx_cv_func_logl_use+set} != xset; then
63629 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
63630 $as_echo_n "(cached) " >&6
63631 else
63634 ac_ext=cpp
63635 ac_cpp='$CXXCPP $CPPFLAGS'
63636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63641 /* end confdefs.h. */
63642 #include <math.h>
63643 #ifdef HAVE_IEEEFP_H
63644 #include <ieeefp.h>
63645 #endif
63648 main ()
63650 logl(0);
63652 return 0;
63654 _ACEOF
63655 if ac_fn_cxx_try_compile "$LINENO"; then :
63656 glibcxx_cv_func_logl_use=yes
63657 else
63658 glibcxx_cv_func_logl_use=no
63660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63661 ac_ext=c
63662 ac_cpp='$CPP $CPPFLAGS'
63663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
63672 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
63674 if test x$glibcxx_cv_func_logl_use = x"yes"; then
63675 for ac_func in logl
63676 do :
63677 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
63678 if test "x$ac_cv_func_logl" = x""yes; then :
63679 cat >>confdefs.h <<_ACEOF
63680 #define HAVE_LOGL 1
63681 _ACEOF
63684 done
63686 else
63688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
63689 $as_echo_n "checking for _logl declaration... " >&6; }
63690 if test x${glibcxx_cv_func__logl_use+set} != xset; then
63691 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
63692 $as_echo_n "(cached) " >&6
63693 else
63696 ac_ext=cpp
63697 ac_cpp='$CXXCPP $CPPFLAGS'
63698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63703 /* end confdefs.h. */
63704 #include <math.h>
63705 #ifdef HAVE_IEEEFP_H
63706 #include <ieeefp.h>
63707 #endif
63710 main ()
63712 _logl(0);
63714 return 0;
63716 _ACEOF
63717 if ac_fn_cxx_try_compile "$LINENO"; then :
63718 glibcxx_cv_func__logl_use=yes
63719 else
63720 glibcxx_cv_func__logl_use=no
63722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63723 ac_ext=c
63724 ac_cpp='$CPP $CPPFLAGS'
63725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
63734 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
63736 if test x$glibcxx_cv_func__logl_use = x"yes"; then
63737 for ac_func in _logl
63738 do :
63739 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
63740 if test "x$ac_cv_func__logl" = x""yes; then :
63741 cat >>confdefs.h <<_ACEOF
63742 #define HAVE__LOGL 1
63743 _ACEOF
63746 done
63755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
63756 $as_echo_n "checking for log10l declaration... " >&6; }
63757 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
63758 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
63759 $as_echo_n "(cached) " >&6
63760 else
63763 ac_ext=cpp
63764 ac_cpp='$CXXCPP $CPPFLAGS'
63765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63770 /* end confdefs.h. */
63771 #include <math.h>
63772 #ifdef HAVE_IEEEFP_H
63773 #include <ieeefp.h>
63774 #endif
63777 main ()
63779 log10l(0);
63781 return 0;
63783 _ACEOF
63784 if ac_fn_cxx_try_compile "$LINENO"; then :
63785 glibcxx_cv_func_log10l_use=yes
63786 else
63787 glibcxx_cv_func_log10l_use=no
63789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63790 ac_ext=c
63791 ac_cpp='$CPP $CPPFLAGS'
63792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
63801 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
63803 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
63804 for ac_func in log10l
63805 do :
63806 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
63807 if test "x$ac_cv_func_log10l" = x""yes; then :
63808 cat >>confdefs.h <<_ACEOF
63809 #define HAVE_LOG10L 1
63810 _ACEOF
63813 done
63815 else
63817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
63818 $as_echo_n "checking for _log10l declaration... " >&6; }
63819 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
63820 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
63821 $as_echo_n "(cached) " >&6
63822 else
63825 ac_ext=cpp
63826 ac_cpp='$CXXCPP $CPPFLAGS'
63827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63832 /* end confdefs.h. */
63833 #include <math.h>
63834 #ifdef HAVE_IEEEFP_H
63835 #include <ieeefp.h>
63836 #endif
63839 main ()
63841 _log10l(0);
63843 return 0;
63845 _ACEOF
63846 if ac_fn_cxx_try_compile "$LINENO"; then :
63847 glibcxx_cv_func__log10l_use=yes
63848 else
63849 glibcxx_cv_func__log10l_use=no
63851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63852 ac_ext=c
63853 ac_cpp='$CPP $CPPFLAGS'
63854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
63863 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
63865 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
63866 for ac_func in _log10l
63867 do :
63868 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
63869 if test "x$ac_cv_func__log10l" = x""yes; then :
63870 cat >>confdefs.h <<_ACEOF
63871 #define HAVE__LOG10L 1
63872 _ACEOF
63875 done
63884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
63885 $as_echo_n "checking for modfl declaration... " >&6; }
63886 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
63887 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
63888 $as_echo_n "(cached) " >&6
63889 else
63892 ac_ext=cpp
63893 ac_cpp='$CXXCPP $CPPFLAGS'
63894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63899 /* end confdefs.h. */
63900 #include <math.h>
63902 main ()
63904 modfl(0, 0);
63906 return 0;
63908 _ACEOF
63909 if ac_fn_cxx_try_compile "$LINENO"; then :
63910 glibcxx_cv_func_modfl_use=yes
63911 else
63912 glibcxx_cv_func_modfl_use=no
63914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63915 ac_ext=c
63916 ac_cpp='$CPP $CPPFLAGS'
63917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
63926 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
63928 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
63929 for ac_func in modfl
63930 do :
63931 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
63932 if test "x$ac_cv_func_modfl" = x""yes; then :
63933 cat >>confdefs.h <<_ACEOF
63934 #define HAVE_MODFL 1
63935 _ACEOF
63938 done
63940 else
63942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
63943 $as_echo_n "checking for _modfl declaration... " >&6; }
63944 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
63945 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
63946 $as_echo_n "(cached) " >&6
63947 else
63950 ac_ext=cpp
63951 ac_cpp='$CXXCPP $CPPFLAGS'
63952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63957 /* end confdefs.h. */
63958 #include <math.h>
63960 main ()
63962 _modfl(0, 0);
63964 return 0;
63966 _ACEOF
63967 if ac_fn_cxx_try_compile "$LINENO"; then :
63968 glibcxx_cv_func__modfl_use=yes
63969 else
63970 glibcxx_cv_func__modfl_use=no
63972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63973 ac_ext=c
63974 ac_cpp='$CPP $CPPFLAGS'
63975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
63984 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
63986 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
63987 for ac_func in _modfl
63988 do :
63989 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
63990 if test "x$ac_cv_func__modfl" = x""yes; then :
63991 cat >>confdefs.h <<_ACEOF
63992 #define HAVE__MODFL 1
63993 _ACEOF
63996 done
64005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
64006 $as_echo_n "checking for powl declaration... " >&6; }
64007 if test x${glibcxx_cv_func_powl_use+set} != xset; then
64008 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
64009 $as_echo_n "(cached) " >&6
64010 else
64013 ac_ext=cpp
64014 ac_cpp='$CXXCPP $CPPFLAGS'
64015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64020 /* end confdefs.h. */
64021 #include <math.h>
64023 main ()
64025 powl(0, 0);
64027 return 0;
64029 _ACEOF
64030 if ac_fn_cxx_try_compile "$LINENO"; then :
64031 glibcxx_cv_func_powl_use=yes
64032 else
64033 glibcxx_cv_func_powl_use=no
64035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64036 ac_ext=c
64037 ac_cpp='$CPP $CPPFLAGS'
64038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
64047 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
64049 if test x$glibcxx_cv_func_powl_use = x"yes"; then
64050 for ac_func in powl
64051 do :
64052 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
64053 if test "x$ac_cv_func_powl" = x""yes; then :
64054 cat >>confdefs.h <<_ACEOF
64055 #define HAVE_POWL 1
64056 _ACEOF
64059 done
64061 else
64063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
64064 $as_echo_n "checking for _powl declaration... " >&6; }
64065 if test x${glibcxx_cv_func__powl_use+set} != xset; then
64066 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
64067 $as_echo_n "(cached) " >&6
64068 else
64071 ac_ext=cpp
64072 ac_cpp='$CXXCPP $CPPFLAGS'
64073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64078 /* end confdefs.h. */
64079 #include <math.h>
64081 main ()
64083 _powl(0, 0);
64085 return 0;
64087 _ACEOF
64088 if ac_fn_cxx_try_compile "$LINENO"; then :
64089 glibcxx_cv_func__powl_use=yes
64090 else
64091 glibcxx_cv_func__powl_use=no
64093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64094 ac_ext=c
64095 ac_cpp='$CPP $CPPFLAGS'
64096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
64105 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
64107 if test x$glibcxx_cv_func__powl_use = x"yes"; then
64108 for ac_func in _powl
64109 do :
64110 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
64111 if test "x$ac_cv_func__powl" = x""yes; then :
64112 cat >>confdefs.h <<_ACEOF
64113 #define HAVE__POWL 1
64114 _ACEOF
64117 done
64126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
64127 $as_echo_n "checking for sqrtl declaration... " >&6; }
64128 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
64129 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
64130 $as_echo_n "(cached) " >&6
64131 else
64134 ac_ext=cpp
64135 ac_cpp='$CXXCPP $CPPFLAGS'
64136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64141 /* end confdefs.h. */
64142 #include <math.h>
64143 #ifdef HAVE_IEEEFP_H
64144 #include <ieeefp.h>
64145 #endif
64148 main ()
64150 sqrtl(0);
64152 return 0;
64154 _ACEOF
64155 if ac_fn_cxx_try_compile "$LINENO"; then :
64156 glibcxx_cv_func_sqrtl_use=yes
64157 else
64158 glibcxx_cv_func_sqrtl_use=no
64160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64161 ac_ext=c
64162 ac_cpp='$CPP $CPPFLAGS'
64163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
64172 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
64174 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
64175 for ac_func in sqrtl
64176 do :
64177 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
64178 if test "x$ac_cv_func_sqrtl" = x""yes; then :
64179 cat >>confdefs.h <<_ACEOF
64180 #define HAVE_SQRTL 1
64181 _ACEOF
64184 done
64186 else
64188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
64189 $as_echo_n "checking for _sqrtl declaration... " >&6; }
64190 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
64191 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
64192 $as_echo_n "(cached) " >&6
64193 else
64196 ac_ext=cpp
64197 ac_cpp='$CXXCPP $CPPFLAGS'
64198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64203 /* end confdefs.h. */
64204 #include <math.h>
64205 #ifdef HAVE_IEEEFP_H
64206 #include <ieeefp.h>
64207 #endif
64210 main ()
64212 _sqrtl(0);
64214 return 0;
64216 _ACEOF
64217 if ac_fn_cxx_try_compile "$LINENO"; then :
64218 glibcxx_cv_func__sqrtl_use=yes
64219 else
64220 glibcxx_cv_func__sqrtl_use=no
64222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64223 ac_ext=c
64224 ac_cpp='$CPP $CPPFLAGS'
64225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
64234 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
64236 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
64237 for ac_func in _sqrtl
64238 do :
64239 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
64240 if test "x$ac_cv_func__sqrtl" = x""yes; then :
64241 cat >>confdefs.h <<_ACEOF
64242 #define HAVE__SQRTL 1
64243 _ACEOF
64246 done
64255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
64256 $as_echo_n "checking for sincosl declaration... " >&6; }
64257 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
64258 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
64259 $as_echo_n "(cached) " >&6
64260 else
64263 ac_ext=cpp
64264 ac_cpp='$CXXCPP $CPPFLAGS'
64265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64270 /* end confdefs.h. */
64271 #include <math.h>
64273 main ()
64275 sincosl(0, 0, 0);
64277 return 0;
64279 _ACEOF
64280 if ac_fn_cxx_try_compile "$LINENO"; then :
64281 glibcxx_cv_func_sincosl_use=yes
64282 else
64283 glibcxx_cv_func_sincosl_use=no
64285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64286 ac_ext=c
64287 ac_cpp='$CPP $CPPFLAGS'
64288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
64297 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
64299 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
64300 for ac_func in sincosl
64301 do :
64302 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
64303 if test "x$ac_cv_func_sincosl" = x""yes; then :
64304 cat >>confdefs.h <<_ACEOF
64305 #define HAVE_SINCOSL 1
64306 _ACEOF
64309 done
64311 else
64313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
64314 $as_echo_n "checking for _sincosl declaration... " >&6; }
64315 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
64316 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
64317 $as_echo_n "(cached) " >&6
64318 else
64321 ac_ext=cpp
64322 ac_cpp='$CXXCPP $CPPFLAGS'
64323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64328 /* end confdefs.h. */
64329 #include <math.h>
64331 main ()
64333 _sincosl(0, 0, 0);
64335 return 0;
64337 _ACEOF
64338 if ac_fn_cxx_try_compile "$LINENO"; then :
64339 glibcxx_cv_func__sincosl_use=yes
64340 else
64341 glibcxx_cv_func__sincosl_use=no
64343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64344 ac_ext=c
64345 ac_cpp='$CPP $CPPFLAGS'
64346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
64355 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
64357 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
64358 for ac_func in _sincosl
64359 do :
64360 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
64361 if test "x$ac_cv_func__sincosl" = x""yes; then :
64362 cat >>confdefs.h <<_ACEOF
64363 #define HAVE__SINCOSL 1
64364 _ACEOF
64367 done
64376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
64377 $as_echo_n "checking for finitel declaration... " >&6; }
64378 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
64379 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
64380 $as_echo_n "(cached) " >&6
64381 else
64384 ac_ext=cpp
64385 ac_cpp='$CXXCPP $CPPFLAGS'
64386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64391 /* end confdefs.h. */
64392 #include <math.h>
64393 #ifdef HAVE_IEEEFP_H
64394 #include <ieeefp.h>
64395 #endif
64398 main ()
64400 finitel(0);
64402 return 0;
64404 _ACEOF
64405 if ac_fn_cxx_try_compile "$LINENO"; then :
64406 glibcxx_cv_func_finitel_use=yes
64407 else
64408 glibcxx_cv_func_finitel_use=no
64410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64411 ac_ext=c
64412 ac_cpp='$CPP $CPPFLAGS'
64413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
64422 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
64424 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
64425 for ac_func in finitel
64426 do :
64427 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
64428 if test "x$ac_cv_func_finitel" = x""yes; then :
64429 cat >>confdefs.h <<_ACEOF
64430 #define HAVE_FINITEL 1
64431 _ACEOF
64434 done
64436 else
64438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
64439 $as_echo_n "checking for _finitel declaration... " >&6; }
64440 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
64441 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
64442 $as_echo_n "(cached) " >&6
64443 else
64446 ac_ext=cpp
64447 ac_cpp='$CXXCPP $CPPFLAGS'
64448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64453 /* end confdefs.h. */
64454 #include <math.h>
64455 #ifdef HAVE_IEEEFP_H
64456 #include <ieeefp.h>
64457 #endif
64460 main ()
64462 _finitel(0);
64464 return 0;
64466 _ACEOF
64467 if ac_fn_cxx_try_compile "$LINENO"; then :
64468 glibcxx_cv_func__finitel_use=yes
64469 else
64470 glibcxx_cv_func__finitel_use=no
64472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64473 ac_ext=c
64474 ac_cpp='$CPP $CPPFLAGS'
64475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
64484 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
64486 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
64487 for ac_func in _finitel
64488 do :
64489 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
64490 if test "x$ac_cv_func__finitel" = x""yes; then :
64491 cat >>confdefs.h <<_ACEOF
64492 #define HAVE__FINITEL 1
64493 _ACEOF
64496 done
64504 LIBS="$ac_save_LIBS"
64505 CXXFLAGS="$ac_save_CXXFLAGS"
64508 ac_test_CXXFLAGS="${CXXFLAGS+set}"
64509 ac_save_CXXFLAGS="$CXXFLAGS"
64510 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
64513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
64514 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
64515 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
64516 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
64517 $as_echo_n "(cached) " >&6
64518 else
64521 ac_ext=cpp
64522 ac_cpp='$CXXCPP $CPPFLAGS'
64523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64528 /* end confdefs.h. */
64529 #include <stdlib.h>
64531 main ()
64533 at_quick_exit(0);
64535 return 0;
64537 _ACEOF
64538 if ac_fn_cxx_try_compile "$LINENO"; then :
64539 glibcxx_cv_func_at_quick_exit_use=yes
64540 else
64541 glibcxx_cv_func_at_quick_exit_use=no
64543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64544 ac_ext=c
64545 ac_cpp='$CPP $CPPFLAGS'
64546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
64555 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
64556 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
64557 for ac_func in at_quick_exit
64558 do :
64559 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
64560 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
64561 cat >>confdefs.h <<_ACEOF
64562 #define HAVE_AT_QUICK_EXIT 1
64563 _ACEOF
64566 done
64571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
64572 $as_echo_n "checking for quick_exit declaration... " >&6; }
64573 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
64574 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
64575 $as_echo_n "(cached) " >&6
64576 else
64579 ac_ext=cpp
64580 ac_cpp='$CXXCPP $CPPFLAGS'
64581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64586 /* end confdefs.h. */
64587 #include <stdlib.h>
64589 main ()
64591 quick_exit(0);
64593 return 0;
64595 _ACEOF
64596 if ac_fn_cxx_try_compile "$LINENO"; then :
64597 glibcxx_cv_func_quick_exit_use=yes
64598 else
64599 glibcxx_cv_func_quick_exit_use=no
64601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64602 ac_ext=c
64603 ac_cpp='$CPP $CPPFLAGS'
64604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
64613 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
64614 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
64615 for ac_func in quick_exit
64616 do :
64617 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
64618 if test "x$ac_cv_func_quick_exit" = x""yes; then :
64619 cat >>confdefs.h <<_ACEOF
64620 #define HAVE_QUICK_EXIT 1
64621 _ACEOF
64624 done
64629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
64630 $as_echo_n "checking for strtold declaration... " >&6; }
64631 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
64632 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
64633 $as_echo_n "(cached) " >&6
64634 else
64637 ac_ext=cpp
64638 ac_cpp='$CXXCPP $CPPFLAGS'
64639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64644 /* end confdefs.h. */
64645 #include <stdlib.h>
64647 main ()
64649 strtold(0, 0);
64651 return 0;
64653 _ACEOF
64654 if ac_fn_cxx_try_compile "$LINENO"; then :
64655 glibcxx_cv_func_strtold_use=yes
64656 else
64657 glibcxx_cv_func_strtold_use=no
64659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64660 ac_ext=c
64661 ac_cpp='$CPP $CPPFLAGS'
64662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
64671 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
64672 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
64673 for ac_func in strtold
64674 do :
64675 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
64676 if test "x$ac_cv_func_strtold" = x""yes; then :
64677 cat >>confdefs.h <<_ACEOF
64678 #define HAVE_STRTOLD 1
64679 _ACEOF
64682 done
64689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
64690 $as_echo_n "checking for strtof declaration... " >&6; }
64691 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
64692 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
64693 $as_echo_n "(cached) " >&6
64694 else
64697 ac_ext=cpp
64698 ac_cpp='$CXXCPP $CPPFLAGS'
64699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64704 /* end confdefs.h. */
64705 #include <stdlib.h>
64707 main ()
64709 strtof(0, 0);
64711 return 0;
64713 _ACEOF
64714 if ac_fn_cxx_try_compile "$LINENO"; then :
64715 glibcxx_cv_func_strtof_use=yes
64716 else
64717 glibcxx_cv_func_strtof_use=no
64719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64720 ac_ext=c
64721 ac_cpp='$CPP $CPPFLAGS'
64722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
64731 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
64732 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
64733 for ac_func in strtof
64734 do :
64735 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
64736 if test "x$ac_cv_func_strtof" = x""yes; then :
64737 cat >>confdefs.h <<_ACEOF
64738 #define HAVE_STRTOF 1
64739 _ACEOF
64742 done
64749 CXXFLAGS="$ac_save_CXXFLAGS"
64752 *-netbsd*)
64753 SECTION_FLAGS='-ffunction-sections -fdata-sections'
64756 # If we're not using GNU ld, then there's no point in even trying these
64757 # tests. Check for that first. We should have already tested for gld
64758 # by now (in libtool), but require it now just to be safe...
64759 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
64760 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
64764 # The name set by libtool depends on the version of libtool. Shame on us
64765 # for depending on an impl detail, but c'est la vie. Older versions used
64766 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
64767 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
64768 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
64769 # set (hence we're using an older libtool), then set it.
64770 if test x${with_gnu_ld+set} != xset; then
64771 if test x${ac_cv_prog_gnu_ld+set} != xset; then
64772 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
64773 with_gnu_ld=no
64774 else
64775 with_gnu_ld=$ac_cv_prog_gnu_ld
64779 # Start by getting the version number. I think the libtool test already
64780 # does some of this, but throws away the result.
64781 glibcxx_ld_is_gold=no
64782 if test x"$with_gnu_ld" = x"yes"; then
64783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
64784 $as_echo_n "checking for ld version... " >&6; }
64786 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
64787 glibcxx_ld_is_gold=yes
64789 ldver=`$LD --version 2>/dev/null |
64790 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'`
64792 glibcxx_gnu_ld_version=`echo $ldver | \
64793 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
64794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
64795 $as_echo "$glibcxx_gnu_ld_version" >&6; }
64798 # Set --gc-sections.
64799 glibcxx_have_gc_sections=no
64800 if test "$glibcxx_ld_is_gold" = "yes"; then
64801 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
64802 glibcxx_have_gc_sections=yes
64804 else
64805 glibcxx_gcsections_min_ld=21602
64806 if test x"$with_gnu_ld" = x"yes" &&
64807 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
64808 glibcxx_have_gc_sections=yes
64811 if test "$glibcxx_have_gc_sections" = "yes"; then
64812 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
64813 # NB: This flag only works reliably after 2.16.1. Configure tests
64814 # for this are difficult, so hard wire a value that should work.
64816 ac_test_CFLAGS="${CFLAGS+set}"
64817 ac_save_CFLAGS="$CFLAGS"
64818 CFLAGS='-Wl,--gc-sections'
64820 # Check for -Wl,--gc-sections
64821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
64822 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
64823 if test x$gcc_no_link = xyes; then
64824 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64827 /* end confdefs.h. */
64828 int one(void) { return 1; }
64829 int two(void) { return 2; }
64832 main ()
64834 two();
64836 return 0;
64838 _ACEOF
64839 if ac_fn_c_try_link "$LINENO"; then :
64840 ac_gcsections=yes
64841 else
64842 ac_gcsections=no
64844 rm -f core conftest.err conftest.$ac_objext \
64845 conftest$ac_exeext conftest.$ac_ext
64846 if test "$ac_gcsections" = "yes"; then
64847 rm -f conftest.c
64848 touch conftest.c
64849 if $CC -c conftest.c; then
64850 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
64851 grep "Warning: gc-sections option ignored" > /dev/null; then
64852 ac_gcsections=no
64855 rm -f conftest.c conftest.o conftest
64857 if test "$ac_gcsections" = "yes"; then
64858 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
64860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
64861 $as_echo "$ac_gcsections" >&6; }
64863 if test "$ac_test_CFLAGS" = set; then
64864 CFLAGS="$ac_save_CFLAGS"
64865 else
64866 # this is the suspicious part
64867 CFLAGS=''
64871 # Set -z,relro.
64872 # Note this is only for shared objects.
64873 ac_ld_relro=no
64874 if test x"$with_gnu_ld" = x"yes"; then
64875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
64876 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
64877 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
64878 if test -n "$cxx_z_relo"; then
64879 OPT_LDFLAGS="-Wl,-z,relro"
64880 ac_ld_relro=yes
64882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
64883 $as_echo "$ac_ld_relro" >&6; }
64886 # Set linker optimization flags.
64887 if test x"$with_gnu_ld" = x"yes"; then
64888 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
64894 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
64896 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
64898 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
64900 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
64902 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
64904 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
64906 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
64908 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
64910 if test x"long_double_math_on_this_cpu" = x"yes"; then
64911 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
64913 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
64915 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
64919 *-qnx6.1* | *-qnx6.2*)
64920 SECTION_FLAGS='-ffunction-sections -fdata-sections'
64923 # If we're not using GNU ld, then there's no point in even trying these
64924 # tests. Check for that first. We should have already tested for gld
64925 # by now (in libtool), but require it now just to be safe...
64926 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
64927 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
64931 # The name set by libtool depends on the version of libtool. Shame on us
64932 # for depending on an impl detail, but c'est la vie. Older versions used
64933 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
64934 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
64935 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
64936 # set (hence we're using an older libtool), then set it.
64937 if test x${with_gnu_ld+set} != xset; then
64938 if test x${ac_cv_prog_gnu_ld+set} != xset; then
64939 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
64940 with_gnu_ld=no
64941 else
64942 with_gnu_ld=$ac_cv_prog_gnu_ld
64946 # Start by getting the version number. I think the libtool test already
64947 # does some of this, but throws away the result.
64948 glibcxx_ld_is_gold=no
64949 if test x"$with_gnu_ld" = x"yes"; then
64950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
64951 $as_echo_n "checking for ld version... " >&6; }
64953 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
64954 glibcxx_ld_is_gold=yes
64956 ldver=`$LD --version 2>/dev/null |
64957 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'`
64959 glibcxx_gnu_ld_version=`echo $ldver | \
64960 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
64961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
64962 $as_echo "$glibcxx_gnu_ld_version" >&6; }
64965 # Set --gc-sections.
64966 glibcxx_have_gc_sections=no
64967 if test "$glibcxx_ld_is_gold" = "yes"; then
64968 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
64969 glibcxx_have_gc_sections=yes
64971 else
64972 glibcxx_gcsections_min_ld=21602
64973 if test x"$with_gnu_ld" = x"yes" &&
64974 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
64975 glibcxx_have_gc_sections=yes
64978 if test "$glibcxx_have_gc_sections" = "yes"; then
64979 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
64980 # NB: This flag only works reliably after 2.16.1. Configure tests
64981 # for this are difficult, so hard wire a value that should work.
64983 ac_test_CFLAGS="${CFLAGS+set}"
64984 ac_save_CFLAGS="$CFLAGS"
64985 CFLAGS='-Wl,--gc-sections'
64987 # Check for -Wl,--gc-sections
64988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
64989 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
64990 if test x$gcc_no_link = xyes; then
64991 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64994 /* end confdefs.h. */
64995 int one(void) { return 1; }
64996 int two(void) { return 2; }
64999 main ()
65001 two();
65003 return 0;
65005 _ACEOF
65006 if ac_fn_c_try_link "$LINENO"; then :
65007 ac_gcsections=yes
65008 else
65009 ac_gcsections=no
65011 rm -f core conftest.err conftest.$ac_objext \
65012 conftest$ac_exeext conftest.$ac_ext
65013 if test "$ac_gcsections" = "yes"; then
65014 rm -f conftest.c
65015 touch conftest.c
65016 if $CC -c conftest.c; then
65017 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
65018 grep "Warning: gc-sections option ignored" > /dev/null; then
65019 ac_gcsections=no
65022 rm -f conftest.c conftest.o conftest
65024 if test "$ac_gcsections" = "yes"; then
65025 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
65027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
65028 $as_echo "$ac_gcsections" >&6; }
65030 if test "$ac_test_CFLAGS" = set; then
65031 CFLAGS="$ac_save_CFLAGS"
65032 else
65033 # this is the suspicious part
65034 CFLAGS=''
65038 # Set -z,relro.
65039 # Note this is only for shared objects.
65040 ac_ld_relro=no
65041 if test x"$with_gnu_ld" = x"yes"; then
65042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
65043 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
65044 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
65045 if test -n "$cxx_z_relo"; then
65046 OPT_LDFLAGS="-Wl,-z,relro"
65047 ac_ld_relro=yes
65049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
65050 $as_echo "$ac_ld_relro" >&6; }
65053 # Set linker optimization flags.
65054 if test x"$with_gnu_ld" = x"yes"; then
65055 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
65061 $as_echo "#define HAVE_COSF 1" >>confdefs.h
65063 $as_echo "#define HAVE_COSL 1" >>confdefs.h
65065 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
65067 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
65069 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
65071 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
65073 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
65075 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
65077 $as_echo "#define HAVE_SINF 1" >>confdefs.h
65079 $as_echo "#define HAVE_SINL 1" >>confdefs.h
65081 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
65083 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
65086 *-rtems*)
65088 # All these tests are for C++; save the language and the compiler flags.
65089 # The CXXFLAGS thing is suspicious, but based on similar bits previously
65090 # found in GLIBCXX_CONFIGURE.
65092 ac_ext=cpp
65093 ac_cpp='$CXXCPP $CPPFLAGS'
65094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65098 ac_test_CXXFLAGS="${CXXFLAGS+set}"
65099 ac_save_CXXFLAGS="$CXXFLAGS"
65101 # Check for maintainer-mode bits.
65102 if test x"$USE_MAINTAINER_MODE" = xno; then
65103 WERROR=''
65104 else
65105 WERROR='-Werror'
65108 # Check for -ffunction-sections -fdata-sections
65109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
65110 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
65111 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
65112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65113 /* end confdefs.h. */
65114 int foo; void bar() { };
65116 main ()
65120 return 0;
65122 _ACEOF
65123 if ac_fn_cxx_try_compile "$LINENO"; then :
65124 ac_fdsections=yes
65125 else
65126 ac_fdsections=no
65128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65129 if test "$ac_test_CXXFLAGS" = set; then
65130 CXXFLAGS="$ac_save_CXXFLAGS"
65131 else
65132 # this is the suspicious part
65133 CXXFLAGS=''
65135 if test x"$ac_fdsections" = x"yes"; then
65136 SECTION_FLAGS='-ffunction-sections -fdata-sections'
65138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
65139 $as_echo "$ac_fdsections" >&6; }
65141 ac_ext=c
65142 ac_cpp='$CPP $CPPFLAGS'
65143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65151 # If we're not using GNU ld, then there's no point in even trying these
65152 # tests. Check for that first. We should have already tested for gld
65153 # by now (in libtool), but require it now just to be safe...
65154 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
65155 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
65159 # The name set by libtool depends on the version of libtool. Shame on us
65160 # for depending on an impl detail, but c'est la vie. Older versions used
65161 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
65162 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
65163 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
65164 # set (hence we're using an older libtool), then set it.
65165 if test x${with_gnu_ld+set} != xset; then
65166 if test x${ac_cv_prog_gnu_ld+set} != xset; then
65167 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
65168 with_gnu_ld=no
65169 else
65170 with_gnu_ld=$ac_cv_prog_gnu_ld
65174 # Start by getting the version number. I think the libtool test already
65175 # does some of this, but throws away the result.
65176 glibcxx_ld_is_gold=no
65177 if test x"$with_gnu_ld" = x"yes"; then
65178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
65179 $as_echo_n "checking for ld version... " >&6; }
65181 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
65182 glibcxx_ld_is_gold=yes
65184 ldver=`$LD --version 2>/dev/null |
65185 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'`
65187 glibcxx_gnu_ld_version=`echo $ldver | \
65188 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
65189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
65190 $as_echo "$glibcxx_gnu_ld_version" >&6; }
65193 # Set --gc-sections.
65194 glibcxx_have_gc_sections=no
65195 if test "$glibcxx_ld_is_gold" = "yes"; then
65196 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
65197 glibcxx_have_gc_sections=yes
65199 else
65200 glibcxx_gcsections_min_ld=21602
65201 if test x"$with_gnu_ld" = x"yes" &&
65202 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
65203 glibcxx_have_gc_sections=yes
65206 if test "$glibcxx_have_gc_sections" = "yes"; then
65207 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
65208 # NB: This flag only works reliably after 2.16.1. Configure tests
65209 # for this are difficult, so hard wire a value that should work.
65211 ac_test_CFLAGS="${CFLAGS+set}"
65212 ac_save_CFLAGS="$CFLAGS"
65213 CFLAGS='-Wl,--gc-sections'
65215 # Check for -Wl,--gc-sections
65216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
65217 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
65218 if test x$gcc_no_link = xyes; then
65219 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
65221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65222 /* end confdefs.h. */
65223 int one(void) { return 1; }
65224 int two(void) { return 2; }
65227 main ()
65229 two();
65231 return 0;
65233 _ACEOF
65234 if ac_fn_c_try_link "$LINENO"; then :
65235 ac_gcsections=yes
65236 else
65237 ac_gcsections=no
65239 rm -f core conftest.err conftest.$ac_objext \
65240 conftest$ac_exeext conftest.$ac_ext
65241 if test "$ac_gcsections" = "yes"; then
65242 rm -f conftest.c
65243 touch conftest.c
65244 if $CC -c conftest.c; then
65245 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
65246 grep "Warning: gc-sections option ignored" > /dev/null; then
65247 ac_gcsections=no
65250 rm -f conftest.c conftest.o conftest
65252 if test "$ac_gcsections" = "yes"; then
65253 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
65255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
65256 $as_echo "$ac_gcsections" >&6; }
65258 if test "$ac_test_CFLAGS" = set; then
65259 CFLAGS="$ac_save_CFLAGS"
65260 else
65261 # this is the suspicious part
65262 CFLAGS=''
65266 # Set -z,relro.
65267 # Note this is only for shared objects.
65268 ac_ld_relro=no
65269 if test x"$with_gnu_ld" = x"yes"; then
65270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
65271 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
65272 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
65273 if test -n "$cxx_z_relo"; then
65274 OPT_LDFLAGS="-Wl,-z,relro"
65275 ac_ld_relro=yes
65277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
65278 $as_echo "$ac_ld_relro" >&6; }
65281 # Set linker optimization flags.
65282 if test x"$with_gnu_ld" = x"yes"; then
65283 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
65290 ac_test_CXXFLAGS="${CXXFLAGS+set}"
65291 ac_save_CXXFLAGS="$CXXFLAGS"
65292 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
65294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
65295 $as_echo_n "checking for sin in -lm... " >&6; }
65296 if test "${ac_cv_lib_m_sin+set}" = set; then :
65297 $as_echo_n "(cached) " >&6
65298 else
65299 ac_check_lib_save_LIBS=$LIBS
65300 LIBS="-lm $LIBS"
65301 if test x$gcc_no_link = xyes; then
65302 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
65304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65305 /* end confdefs.h. */
65307 /* Override any GCC internal prototype to avoid an error.
65308 Use char because int might match the return type of a GCC
65309 builtin and then its argument prototype would still apply. */
65310 #ifdef __cplusplus
65311 extern "C"
65312 #endif
65313 char sin ();
65315 main ()
65317 return sin ();
65319 return 0;
65321 _ACEOF
65322 if ac_fn_c_try_link "$LINENO"; then :
65323 ac_cv_lib_m_sin=yes
65324 else
65325 ac_cv_lib_m_sin=no
65327 rm -f core conftest.err conftest.$ac_objext \
65328 conftest$ac_exeext conftest.$ac_ext
65329 LIBS=$ac_check_lib_save_LIBS
65331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
65332 $as_echo "$ac_cv_lib_m_sin" >&6; }
65333 if test "x$ac_cv_lib_m_sin" = x""yes; then :
65334 libm="-lm"
65337 ac_save_LIBS="$LIBS"
65338 LIBS="$LIBS $libm"
65342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
65343 $as_echo_n "checking for isinf declaration... " >&6; }
65344 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
65345 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
65346 $as_echo_n "(cached) " >&6
65347 else
65350 ac_ext=cpp
65351 ac_cpp='$CXXCPP $CPPFLAGS'
65352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65357 /* end confdefs.h. */
65358 #include <math.h>
65359 #ifdef HAVE_IEEEFP_H
65360 #include <ieeefp.h>
65361 #endif
65364 main ()
65366 isinf(0);
65368 return 0;
65370 _ACEOF
65371 if ac_fn_cxx_try_compile "$LINENO"; then :
65372 glibcxx_cv_func_isinf_use=yes
65373 else
65374 glibcxx_cv_func_isinf_use=no
65376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65377 ac_ext=c
65378 ac_cpp='$CPP $CPPFLAGS'
65379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
65388 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
65390 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
65391 for ac_func in isinf
65392 do :
65393 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
65394 if test "x$ac_cv_func_isinf" = x""yes; then :
65395 cat >>confdefs.h <<_ACEOF
65396 #define HAVE_ISINF 1
65397 _ACEOF
65400 done
65402 else
65404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
65405 $as_echo_n "checking for _isinf declaration... " >&6; }
65406 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
65407 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
65408 $as_echo_n "(cached) " >&6
65409 else
65412 ac_ext=cpp
65413 ac_cpp='$CXXCPP $CPPFLAGS'
65414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65419 /* end confdefs.h. */
65420 #include <math.h>
65421 #ifdef HAVE_IEEEFP_H
65422 #include <ieeefp.h>
65423 #endif
65426 main ()
65428 _isinf(0);
65430 return 0;
65432 _ACEOF
65433 if ac_fn_cxx_try_compile "$LINENO"; then :
65434 glibcxx_cv_func__isinf_use=yes
65435 else
65436 glibcxx_cv_func__isinf_use=no
65438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65439 ac_ext=c
65440 ac_cpp='$CPP $CPPFLAGS'
65441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
65450 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
65452 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
65453 for ac_func in _isinf
65454 do :
65455 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
65456 if test "x$ac_cv_func__isinf" = x""yes; then :
65457 cat >>confdefs.h <<_ACEOF
65458 #define HAVE__ISINF 1
65459 _ACEOF
65462 done
65471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
65472 $as_echo_n "checking for isnan declaration... " >&6; }
65473 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
65474 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
65475 $as_echo_n "(cached) " >&6
65476 else
65479 ac_ext=cpp
65480 ac_cpp='$CXXCPP $CPPFLAGS'
65481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65486 /* end confdefs.h. */
65487 #include <math.h>
65488 #ifdef HAVE_IEEEFP_H
65489 #include <ieeefp.h>
65490 #endif
65493 main ()
65495 isnan(0);
65497 return 0;
65499 _ACEOF
65500 if ac_fn_cxx_try_compile "$LINENO"; then :
65501 glibcxx_cv_func_isnan_use=yes
65502 else
65503 glibcxx_cv_func_isnan_use=no
65505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65506 ac_ext=c
65507 ac_cpp='$CPP $CPPFLAGS'
65508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
65517 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
65519 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
65520 for ac_func in isnan
65521 do :
65522 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
65523 if test "x$ac_cv_func_isnan" = x""yes; then :
65524 cat >>confdefs.h <<_ACEOF
65525 #define HAVE_ISNAN 1
65526 _ACEOF
65529 done
65531 else
65533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
65534 $as_echo_n "checking for _isnan declaration... " >&6; }
65535 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
65536 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
65537 $as_echo_n "(cached) " >&6
65538 else
65541 ac_ext=cpp
65542 ac_cpp='$CXXCPP $CPPFLAGS'
65543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65548 /* end confdefs.h. */
65549 #include <math.h>
65550 #ifdef HAVE_IEEEFP_H
65551 #include <ieeefp.h>
65552 #endif
65555 main ()
65557 _isnan(0);
65559 return 0;
65561 _ACEOF
65562 if ac_fn_cxx_try_compile "$LINENO"; then :
65563 glibcxx_cv_func__isnan_use=yes
65564 else
65565 glibcxx_cv_func__isnan_use=no
65567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65568 ac_ext=c
65569 ac_cpp='$CPP $CPPFLAGS'
65570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
65579 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
65581 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
65582 for ac_func in _isnan
65583 do :
65584 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
65585 if test "x$ac_cv_func__isnan" = x""yes; then :
65586 cat >>confdefs.h <<_ACEOF
65587 #define HAVE__ISNAN 1
65588 _ACEOF
65591 done
65600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
65601 $as_echo_n "checking for finite declaration... " >&6; }
65602 if test x${glibcxx_cv_func_finite_use+set} != xset; then
65603 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
65604 $as_echo_n "(cached) " >&6
65605 else
65608 ac_ext=cpp
65609 ac_cpp='$CXXCPP $CPPFLAGS'
65610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65615 /* end confdefs.h. */
65616 #include <math.h>
65617 #ifdef HAVE_IEEEFP_H
65618 #include <ieeefp.h>
65619 #endif
65622 main ()
65624 finite(0);
65626 return 0;
65628 _ACEOF
65629 if ac_fn_cxx_try_compile "$LINENO"; then :
65630 glibcxx_cv_func_finite_use=yes
65631 else
65632 glibcxx_cv_func_finite_use=no
65634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65635 ac_ext=c
65636 ac_cpp='$CPP $CPPFLAGS'
65637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
65646 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
65648 if test x$glibcxx_cv_func_finite_use = x"yes"; then
65649 for ac_func in finite
65650 do :
65651 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
65652 if test "x$ac_cv_func_finite" = x""yes; then :
65653 cat >>confdefs.h <<_ACEOF
65654 #define HAVE_FINITE 1
65655 _ACEOF
65658 done
65660 else
65662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
65663 $as_echo_n "checking for _finite declaration... " >&6; }
65664 if test x${glibcxx_cv_func__finite_use+set} != xset; then
65665 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
65666 $as_echo_n "(cached) " >&6
65667 else
65670 ac_ext=cpp
65671 ac_cpp='$CXXCPP $CPPFLAGS'
65672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65677 /* end confdefs.h. */
65678 #include <math.h>
65679 #ifdef HAVE_IEEEFP_H
65680 #include <ieeefp.h>
65681 #endif
65684 main ()
65686 _finite(0);
65688 return 0;
65690 _ACEOF
65691 if ac_fn_cxx_try_compile "$LINENO"; then :
65692 glibcxx_cv_func__finite_use=yes
65693 else
65694 glibcxx_cv_func__finite_use=no
65696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65697 ac_ext=c
65698 ac_cpp='$CPP $CPPFLAGS'
65699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
65708 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
65710 if test x$glibcxx_cv_func__finite_use = x"yes"; then
65711 for ac_func in _finite
65712 do :
65713 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
65714 if test "x$ac_cv_func__finite" = x""yes; then :
65715 cat >>confdefs.h <<_ACEOF
65716 #define HAVE__FINITE 1
65717 _ACEOF
65720 done
65729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
65730 $as_echo_n "checking for sincos declaration... " >&6; }
65731 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
65732 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
65733 $as_echo_n "(cached) " >&6
65734 else
65737 ac_ext=cpp
65738 ac_cpp='$CXXCPP $CPPFLAGS'
65739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65744 /* end confdefs.h. */
65745 #include <math.h>
65747 main ()
65749 sincos(0, 0, 0);
65751 return 0;
65753 _ACEOF
65754 if ac_fn_cxx_try_compile "$LINENO"; then :
65755 glibcxx_cv_func_sincos_use=yes
65756 else
65757 glibcxx_cv_func_sincos_use=no
65759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65760 ac_ext=c
65761 ac_cpp='$CPP $CPPFLAGS'
65762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
65771 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
65773 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
65774 for ac_func in sincos
65775 do :
65776 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
65777 if test "x$ac_cv_func_sincos" = x""yes; then :
65778 cat >>confdefs.h <<_ACEOF
65779 #define HAVE_SINCOS 1
65780 _ACEOF
65783 done
65785 else
65787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
65788 $as_echo_n "checking for _sincos declaration... " >&6; }
65789 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
65790 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
65791 $as_echo_n "(cached) " >&6
65792 else
65795 ac_ext=cpp
65796 ac_cpp='$CXXCPP $CPPFLAGS'
65797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65802 /* end confdefs.h. */
65803 #include <math.h>
65805 main ()
65807 _sincos(0, 0, 0);
65809 return 0;
65811 _ACEOF
65812 if ac_fn_cxx_try_compile "$LINENO"; then :
65813 glibcxx_cv_func__sincos_use=yes
65814 else
65815 glibcxx_cv_func__sincos_use=no
65817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65818 ac_ext=c
65819 ac_cpp='$CPP $CPPFLAGS'
65820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
65829 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
65831 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
65832 for ac_func in _sincos
65833 do :
65834 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
65835 if test "x$ac_cv_func__sincos" = x""yes; then :
65836 cat >>confdefs.h <<_ACEOF
65837 #define HAVE__SINCOS 1
65838 _ACEOF
65841 done
65850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
65851 $as_echo_n "checking for fpclass declaration... " >&6; }
65852 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
65853 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
65854 $as_echo_n "(cached) " >&6
65855 else
65858 ac_ext=cpp
65859 ac_cpp='$CXXCPP $CPPFLAGS'
65860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65865 /* end confdefs.h. */
65866 #include <math.h>
65867 #ifdef HAVE_IEEEFP_H
65868 #include <ieeefp.h>
65869 #endif
65872 main ()
65874 fpclass(0);
65876 return 0;
65878 _ACEOF
65879 if ac_fn_cxx_try_compile "$LINENO"; then :
65880 glibcxx_cv_func_fpclass_use=yes
65881 else
65882 glibcxx_cv_func_fpclass_use=no
65884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65885 ac_ext=c
65886 ac_cpp='$CPP $CPPFLAGS'
65887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
65896 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
65898 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
65899 for ac_func in fpclass
65900 do :
65901 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
65902 if test "x$ac_cv_func_fpclass" = x""yes; then :
65903 cat >>confdefs.h <<_ACEOF
65904 #define HAVE_FPCLASS 1
65905 _ACEOF
65908 done
65910 else
65912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
65913 $as_echo_n "checking for _fpclass declaration... " >&6; }
65914 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
65915 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
65916 $as_echo_n "(cached) " >&6
65917 else
65920 ac_ext=cpp
65921 ac_cpp='$CXXCPP $CPPFLAGS'
65922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65927 /* end confdefs.h. */
65928 #include <math.h>
65929 #ifdef HAVE_IEEEFP_H
65930 #include <ieeefp.h>
65931 #endif
65934 main ()
65936 _fpclass(0);
65938 return 0;
65940 _ACEOF
65941 if ac_fn_cxx_try_compile "$LINENO"; then :
65942 glibcxx_cv_func__fpclass_use=yes
65943 else
65944 glibcxx_cv_func__fpclass_use=no
65946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65947 ac_ext=c
65948 ac_cpp='$CPP $CPPFLAGS'
65949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
65958 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
65960 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
65961 for ac_func in _fpclass
65962 do :
65963 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
65964 if test "x$ac_cv_func__fpclass" = x""yes; then :
65965 cat >>confdefs.h <<_ACEOF
65966 #define HAVE__FPCLASS 1
65967 _ACEOF
65970 done
65979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
65980 $as_echo_n "checking for qfpclass declaration... " >&6; }
65981 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
65982 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
65983 $as_echo_n "(cached) " >&6
65984 else
65987 ac_ext=cpp
65988 ac_cpp='$CXXCPP $CPPFLAGS'
65989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65994 /* end confdefs.h. */
65995 #include <math.h>
65996 #ifdef HAVE_IEEEFP_H
65997 #include <ieeefp.h>
65998 #endif
66001 main ()
66003 qfpclass(0);
66005 return 0;
66007 _ACEOF
66008 if ac_fn_cxx_try_compile "$LINENO"; then :
66009 glibcxx_cv_func_qfpclass_use=yes
66010 else
66011 glibcxx_cv_func_qfpclass_use=no
66013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66014 ac_ext=c
66015 ac_cpp='$CPP $CPPFLAGS'
66016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
66025 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
66027 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
66028 for ac_func in qfpclass
66029 do :
66030 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
66031 if test "x$ac_cv_func_qfpclass" = x""yes; then :
66032 cat >>confdefs.h <<_ACEOF
66033 #define HAVE_QFPCLASS 1
66034 _ACEOF
66037 done
66039 else
66041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
66042 $as_echo_n "checking for _qfpclass declaration... " >&6; }
66043 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
66044 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
66045 $as_echo_n "(cached) " >&6
66046 else
66049 ac_ext=cpp
66050 ac_cpp='$CXXCPP $CPPFLAGS'
66051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66056 /* end confdefs.h. */
66057 #include <math.h>
66058 #ifdef HAVE_IEEEFP_H
66059 #include <ieeefp.h>
66060 #endif
66063 main ()
66065 _qfpclass(0);
66067 return 0;
66069 _ACEOF
66070 if ac_fn_cxx_try_compile "$LINENO"; then :
66071 glibcxx_cv_func__qfpclass_use=yes
66072 else
66073 glibcxx_cv_func__qfpclass_use=no
66075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66076 ac_ext=c
66077 ac_cpp='$CPP $CPPFLAGS'
66078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
66087 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
66089 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
66090 for ac_func in _qfpclass
66091 do :
66092 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
66093 if test "x$ac_cv_func__qfpclass" = x""yes; then :
66094 cat >>confdefs.h <<_ACEOF
66095 #define HAVE__QFPCLASS 1
66096 _ACEOF
66099 done
66108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
66109 $as_echo_n "checking for hypot declaration... " >&6; }
66110 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
66111 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
66112 $as_echo_n "(cached) " >&6
66113 else
66116 ac_ext=cpp
66117 ac_cpp='$CXXCPP $CPPFLAGS'
66118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66123 /* end confdefs.h. */
66124 #include <math.h>
66126 main ()
66128 hypot(0, 0);
66130 return 0;
66132 _ACEOF
66133 if ac_fn_cxx_try_compile "$LINENO"; then :
66134 glibcxx_cv_func_hypot_use=yes
66135 else
66136 glibcxx_cv_func_hypot_use=no
66138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66139 ac_ext=c
66140 ac_cpp='$CPP $CPPFLAGS'
66141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
66150 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
66152 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
66153 for ac_func in hypot
66154 do :
66155 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
66156 if test "x$ac_cv_func_hypot" = x""yes; then :
66157 cat >>confdefs.h <<_ACEOF
66158 #define HAVE_HYPOT 1
66159 _ACEOF
66162 done
66164 else
66166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
66167 $as_echo_n "checking for _hypot declaration... " >&6; }
66168 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
66169 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
66170 $as_echo_n "(cached) " >&6
66171 else
66174 ac_ext=cpp
66175 ac_cpp='$CXXCPP $CPPFLAGS'
66176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66181 /* end confdefs.h. */
66182 #include <math.h>
66184 main ()
66186 _hypot(0, 0);
66188 return 0;
66190 _ACEOF
66191 if ac_fn_cxx_try_compile "$LINENO"; then :
66192 glibcxx_cv_func__hypot_use=yes
66193 else
66194 glibcxx_cv_func__hypot_use=no
66196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66197 ac_ext=c
66198 ac_cpp='$CPP $CPPFLAGS'
66199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
66208 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
66210 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
66211 for ac_func in _hypot
66212 do :
66213 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
66214 if test "x$ac_cv_func__hypot" = x""yes; then :
66215 cat >>confdefs.h <<_ACEOF
66216 #define HAVE__HYPOT 1
66217 _ACEOF
66220 done
66229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
66230 $as_echo_n "checking for float trig functions... " >&6; }
66231 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
66232 $as_echo_n "(cached) " >&6
66233 else
66236 ac_ext=cpp
66237 ac_cpp='$CXXCPP $CPPFLAGS'
66238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66243 /* end confdefs.h. */
66244 #include <math.h>
66246 main ()
66248 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
66250 return 0;
66252 _ACEOF
66253 if ac_fn_cxx_try_compile "$LINENO"; then :
66254 glibcxx_cv_func_float_trig_use=yes
66255 else
66256 glibcxx_cv_func_float_trig_use=no
66258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66259 ac_ext=c
66260 ac_cpp='$CPP $CPPFLAGS'
66261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
66268 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
66269 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
66270 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
66271 do :
66272 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66273 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66274 eval as_val=\$$as_ac_var
66275 if test "x$as_val" = x""yes; then :
66276 cat >>confdefs.h <<_ACEOF
66277 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66278 _ACEOF
66281 done
66283 else
66284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
66285 $as_echo_n "checking for _float trig functions... " >&6; }
66286 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
66287 $as_echo_n "(cached) " >&6
66288 else
66291 ac_ext=cpp
66292 ac_cpp='$CXXCPP $CPPFLAGS'
66293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66298 /* end confdefs.h. */
66299 #include <math.h>
66301 main ()
66303 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
66305 return 0;
66307 _ACEOF
66308 if ac_fn_cxx_try_compile "$LINENO"; then :
66309 glibcxx_cv_func__float_trig_use=yes
66310 else
66311 glibcxx_cv_func__float_trig_use=no
66313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66314 ac_ext=c
66315 ac_cpp='$CPP $CPPFLAGS'
66316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
66323 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
66324 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
66325 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
66326 do :
66327 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66328 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66329 eval as_val=\$$as_ac_var
66330 if test "x$as_val" = x""yes; then :
66331 cat >>confdefs.h <<_ACEOF
66332 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66333 _ACEOF
66336 done
66345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
66346 $as_echo_n "checking for float round functions... " >&6; }
66347 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
66348 $as_echo_n "(cached) " >&6
66349 else
66352 ac_ext=cpp
66353 ac_cpp='$CXXCPP $CPPFLAGS'
66354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66359 /* end confdefs.h. */
66360 #include <math.h>
66362 main ()
66364 ceilf (0); floorf (0);
66366 return 0;
66368 _ACEOF
66369 if ac_fn_cxx_try_compile "$LINENO"; then :
66370 glibcxx_cv_func_float_round_use=yes
66371 else
66372 glibcxx_cv_func_float_round_use=no
66374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66375 ac_ext=c
66376 ac_cpp='$CPP $CPPFLAGS'
66377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
66384 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
66385 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
66386 for ac_func in ceilf floorf
66387 do :
66388 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66389 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66390 eval as_val=\$$as_ac_var
66391 if test "x$as_val" = x""yes; then :
66392 cat >>confdefs.h <<_ACEOF
66393 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66394 _ACEOF
66397 done
66399 else
66400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
66401 $as_echo_n "checking for _float round functions... " >&6; }
66402 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
66403 $as_echo_n "(cached) " >&6
66404 else
66407 ac_ext=cpp
66408 ac_cpp='$CXXCPP $CPPFLAGS'
66409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66414 /* end confdefs.h. */
66415 #include <math.h>
66417 main ()
66419 _ceilf (0); _floorf (0);
66421 return 0;
66423 _ACEOF
66424 if ac_fn_cxx_try_compile "$LINENO"; then :
66425 glibcxx_cv_func__float_round_use=yes
66426 else
66427 glibcxx_cv_func__float_round_use=no
66429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66430 ac_ext=c
66431 ac_cpp='$CPP $CPPFLAGS'
66432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
66439 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
66440 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
66441 for ac_func in _ceilf _floorf
66442 do :
66443 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66444 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66445 eval as_val=\$$as_ac_var
66446 if test "x$as_val" = x""yes; then :
66447 cat >>confdefs.h <<_ACEOF
66448 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66449 _ACEOF
66452 done
66462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
66463 $as_echo_n "checking for expf declaration... " >&6; }
66464 if test x${glibcxx_cv_func_expf_use+set} != xset; then
66465 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
66466 $as_echo_n "(cached) " >&6
66467 else
66470 ac_ext=cpp
66471 ac_cpp='$CXXCPP $CPPFLAGS'
66472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66477 /* end confdefs.h. */
66478 #include <math.h>
66479 #ifdef HAVE_IEEEFP_H
66480 #include <ieeefp.h>
66481 #endif
66484 main ()
66486 expf(0);
66488 return 0;
66490 _ACEOF
66491 if ac_fn_cxx_try_compile "$LINENO"; then :
66492 glibcxx_cv_func_expf_use=yes
66493 else
66494 glibcxx_cv_func_expf_use=no
66496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66497 ac_ext=c
66498 ac_cpp='$CPP $CPPFLAGS'
66499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
66508 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
66510 if test x$glibcxx_cv_func_expf_use = x"yes"; then
66511 for ac_func in expf
66512 do :
66513 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
66514 if test "x$ac_cv_func_expf" = x""yes; then :
66515 cat >>confdefs.h <<_ACEOF
66516 #define HAVE_EXPF 1
66517 _ACEOF
66520 done
66522 else
66524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
66525 $as_echo_n "checking for _expf declaration... " >&6; }
66526 if test x${glibcxx_cv_func__expf_use+set} != xset; then
66527 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
66528 $as_echo_n "(cached) " >&6
66529 else
66532 ac_ext=cpp
66533 ac_cpp='$CXXCPP $CPPFLAGS'
66534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66539 /* end confdefs.h. */
66540 #include <math.h>
66541 #ifdef HAVE_IEEEFP_H
66542 #include <ieeefp.h>
66543 #endif
66546 main ()
66548 _expf(0);
66550 return 0;
66552 _ACEOF
66553 if ac_fn_cxx_try_compile "$LINENO"; then :
66554 glibcxx_cv_func__expf_use=yes
66555 else
66556 glibcxx_cv_func__expf_use=no
66558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66559 ac_ext=c
66560 ac_cpp='$CPP $CPPFLAGS'
66561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
66570 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
66572 if test x$glibcxx_cv_func__expf_use = x"yes"; then
66573 for ac_func in _expf
66574 do :
66575 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
66576 if test "x$ac_cv_func__expf" = x""yes; then :
66577 cat >>confdefs.h <<_ACEOF
66578 #define HAVE__EXPF 1
66579 _ACEOF
66582 done
66591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
66592 $as_echo_n "checking for isnanf declaration... " >&6; }
66593 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
66594 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
66595 $as_echo_n "(cached) " >&6
66596 else
66599 ac_ext=cpp
66600 ac_cpp='$CXXCPP $CPPFLAGS'
66601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66606 /* end confdefs.h. */
66607 #include <math.h>
66608 #ifdef HAVE_IEEEFP_H
66609 #include <ieeefp.h>
66610 #endif
66613 main ()
66615 isnanf(0);
66617 return 0;
66619 _ACEOF
66620 if ac_fn_cxx_try_compile "$LINENO"; then :
66621 glibcxx_cv_func_isnanf_use=yes
66622 else
66623 glibcxx_cv_func_isnanf_use=no
66625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66626 ac_ext=c
66627 ac_cpp='$CPP $CPPFLAGS'
66628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
66637 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
66639 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
66640 for ac_func in isnanf
66641 do :
66642 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
66643 if test "x$ac_cv_func_isnanf" = x""yes; then :
66644 cat >>confdefs.h <<_ACEOF
66645 #define HAVE_ISNANF 1
66646 _ACEOF
66649 done
66651 else
66653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
66654 $as_echo_n "checking for _isnanf declaration... " >&6; }
66655 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
66656 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
66657 $as_echo_n "(cached) " >&6
66658 else
66661 ac_ext=cpp
66662 ac_cpp='$CXXCPP $CPPFLAGS'
66663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66668 /* end confdefs.h. */
66669 #include <math.h>
66670 #ifdef HAVE_IEEEFP_H
66671 #include <ieeefp.h>
66672 #endif
66675 main ()
66677 _isnanf(0);
66679 return 0;
66681 _ACEOF
66682 if ac_fn_cxx_try_compile "$LINENO"; then :
66683 glibcxx_cv_func__isnanf_use=yes
66684 else
66685 glibcxx_cv_func__isnanf_use=no
66687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66688 ac_ext=c
66689 ac_cpp='$CPP $CPPFLAGS'
66690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
66699 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
66701 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
66702 for ac_func in _isnanf
66703 do :
66704 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
66705 if test "x$ac_cv_func__isnanf" = x""yes; then :
66706 cat >>confdefs.h <<_ACEOF
66707 #define HAVE__ISNANF 1
66708 _ACEOF
66711 done
66720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
66721 $as_echo_n "checking for isinff declaration... " >&6; }
66722 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
66723 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
66724 $as_echo_n "(cached) " >&6
66725 else
66728 ac_ext=cpp
66729 ac_cpp='$CXXCPP $CPPFLAGS'
66730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66735 /* end confdefs.h. */
66736 #include <math.h>
66737 #ifdef HAVE_IEEEFP_H
66738 #include <ieeefp.h>
66739 #endif
66742 main ()
66744 isinff(0);
66746 return 0;
66748 _ACEOF
66749 if ac_fn_cxx_try_compile "$LINENO"; then :
66750 glibcxx_cv_func_isinff_use=yes
66751 else
66752 glibcxx_cv_func_isinff_use=no
66754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66755 ac_ext=c
66756 ac_cpp='$CPP $CPPFLAGS'
66757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
66766 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
66768 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
66769 for ac_func in isinff
66770 do :
66771 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
66772 if test "x$ac_cv_func_isinff" = x""yes; then :
66773 cat >>confdefs.h <<_ACEOF
66774 #define HAVE_ISINFF 1
66775 _ACEOF
66778 done
66780 else
66782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
66783 $as_echo_n "checking for _isinff declaration... " >&6; }
66784 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
66785 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
66786 $as_echo_n "(cached) " >&6
66787 else
66790 ac_ext=cpp
66791 ac_cpp='$CXXCPP $CPPFLAGS'
66792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66797 /* end confdefs.h. */
66798 #include <math.h>
66799 #ifdef HAVE_IEEEFP_H
66800 #include <ieeefp.h>
66801 #endif
66804 main ()
66806 _isinff(0);
66808 return 0;
66810 _ACEOF
66811 if ac_fn_cxx_try_compile "$LINENO"; then :
66812 glibcxx_cv_func__isinff_use=yes
66813 else
66814 glibcxx_cv_func__isinff_use=no
66816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66817 ac_ext=c
66818 ac_cpp='$CPP $CPPFLAGS'
66819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
66828 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
66830 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
66831 for ac_func in _isinff
66832 do :
66833 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
66834 if test "x$ac_cv_func__isinff" = x""yes; then :
66835 cat >>confdefs.h <<_ACEOF
66836 #define HAVE__ISINFF 1
66837 _ACEOF
66840 done
66849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
66850 $as_echo_n "checking for atan2f declaration... " >&6; }
66851 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
66852 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
66853 $as_echo_n "(cached) " >&6
66854 else
66857 ac_ext=cpp
66858 ac_cpp='$CXXCPP $CPPFLAGS'
66859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66864 /* end confdefs.h. */
66865 #include <math.h>
66867 main ()
66869 atan2f(0, 0);
66871 return 0;
66873 _ACEOF
66874 if ac_fn_cxx_try_compile "$LINENO"; then :
66875 glibcxx_cv_func_atan2f_use=yes
66876 else
66877 glibcxx_cv_func_atan2f_use=no
66879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66880 ac_ext=c
66881 ac_cpp='$CPP $CPPFLAGS'
66882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
66891 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
66893 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
66894 for ac_func in atan2f
66895 do :
66896 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
66897 if test "x$ac_cv_func_atan2f" = x""yes; then :
66898 cat >>confdefs.h <<_ACEOF
66899 #define HAVE_ATAN2F 1
66900 _ACEOF
66903 done
66905 else
66907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
66908 $as_echo_n "checking for _atan2f declaration... " >&6; }
66909 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
66910 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
66911 $as_echo_n "(cached) " >&6
66912 else
66915 ac_ext=cpp
66916 ac_cpp='$CXXCPP $CPPFLAGS'
66917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66922 /* end confdefs.h. */
66923 #include <math.h>
66925 main ()
66927 _atan2f(0, 0);
66929 return 0;
66931 _ACEOF
66932 if ac_fn_cxx_try_compile "$LINENO"; then :
66933 glibcxx_cv_func__atan2f_use=yes
66934 else
66935 glibcxx_cv_func__atan2f_use=no
66937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66938 ac_ext=c
66939 ac_cpp='$CPP $CPPFLAGS'
66940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
66949 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
66951 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
66952 for ac_func in _atan2f
66953 do :
66954 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
66955 if test "x$ac_cv_func__atan2f" = x""yes; then :
66956 cat >>confdefs.h <<_ACEOF
66957 #define HAVE__ATAN2F 1
66958 _ACEOF
66961 done
66970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
66971 $as_echo_n "checking for fabsf declaration... " >&6; }
66972 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
66973 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
66974 $as_echo_n "(cached) " >&6
66975 else
66978 ac_ext=cpp
66979 ac_cpp='$CXXCPP $CPPFLAGS'
66980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66985 /* end confdefs.h. */
66986 #include <math.h>
66987 #ifdef HAVE_IEEEFP_H
66988 #include <ieeefp.h>
66989 #endif
66992 main ()
66994 fabsf(0);
66996 return 0;
66998 _ACEOF
66999 if ac_fn_cxx_try_compile "$LINENO"; then :
67000 glibcxx_cv_func_fabsf_use=yes
67001 else
67002 glibcxx_cv_func_fabsf_use=no
67004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67005 ac_ext=c
67006 ac_cpp='$CPP $CPPFLAGS'
67007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
67016 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
67018 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
67019 for ac_func in fabsf
67020 do :
67021 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
67022 if test "x$ac_cv_func_fabsf" = x""yes; then :
67023 cat >>confdefs.h <<_ACEOF
67024 #define HAVE_FABSF 1
67025 _ACEOF
67028 done
67030 else
67032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
67033 $as_echo_n "checking for _fabsf declaration... " >&6; }
67034 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
67035 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
67036 $as_echo_n "(cached) " >&6
67037 else
67040 ac_ext=cpp
67041 ac_cpp='$CXXCPP $CPPFLAGS'
67042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67047 /* end confdefs.h. */
67048 #include <math.h>
67049 #ifdef HAVE_IEEEFP_H
67050 #include <ieeefp.h>
67051 #endif
67054 main ()
67056 _fabsf(0);
67058 return 0;
67060 _ACEOF
67061 if ac_fn_cxx_try_compile "$LINENO"; then :
67062 glibcxx_cv_func__fabsf_use=yes
67063 else
67064 glibcxx_cv_func__fabsf_use=no
67066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67067 ac_ext=c
67068 ac_cpp='$CPP $CPPFLAGS'
67069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
67078 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
67080 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
67081 for ac_func in _fabsf
67082 do :
67083 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
67084 if test "x$ac_cv_func__fabsf" = x""yes; then :
67085 cat >>confdefs.h <<_ACEOF
67086 #define HAVE__FABSF 1
67087 _ACEOF
67090 done
67099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
67100 $as_echo_n "checking for fmodf declaration... " >&6; }
67101 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
67102 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
67103 $as_echo_n "(cached) " >&6
67104 else
67107 ac_ext=cpp
67108 ac_cpp='$CXXCPP $CPPFLAGS'
67109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67114 /* end confdefs.h. */
67115 #include <math.h>
67117 main ()
67119 fmodf(0, 0);
67121 return 0;
67123 _ACEOF
67124 if ac_fn_cxx_try_compile "$LINENO"; then :
67125 glibcxx_cv_func_fmodf_use=yes
67126 else
67127 glibcxx_cv_func_fmodf_use=no
67129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67130 ac_ext=c
67131 ac_cpp='$CPP $CPPFLAGS'
67132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
67141 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
67143 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
67144 for ac_func in fmodf
67145 do :
67146 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
67147 if test "x$ac_cv_func_fmodf" = x""yes; then :
67148 cat >>confdefs.h <<_ACEOF
67149 #define HAVE_FMODF 1
67150 _ACEOF
67153 done
67155 else
67157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
67158 $as_echo_n "checking for _fmodf declaration... " >&6; }
67159 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
67160 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
67161 $as_echo_n "(cached) " >&6
67162 else
67165 ac_ext=cpp
67166 ac_cpp='$CXXCPP $CPPFLAGS'
67167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67172 /* end confdefs.h. */
67173 #include <math.h>
67175 main ()
67177 _fmodf(0, 0);
67179 return 0;
67181 _ACEOF
67182 if ac_fn_cxx_try_compile "$LINENO"; then :
67183 glibcxx_cv_func__fmodf_use=yes
67184 else
67185 glibcxx_cv_func__fmodf_use=no
67187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67188 ac_ext=c
67189 ac_cpp='$CPP $CPPFLAGS'
67190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
67199 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
67201 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
67202 for ac_func in _fmodf
67203 do :
67204 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
67205 if test "x$ac_cv_func__fmodf" = x""yes; then :
67206 cat >>confdefs.h <<_ACEOF
67207 #define HAVE__FMODF 1
67208 _ACEOF
67211 done
67220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
67221 $as_echo_n "checking for frexpf declaration... " >&6; }
67222 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
67223 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
67224 $as_echo_n "(cached) " >&6
67225 else
67228 ac_ext=cpp
67229 ac_cpp='$CXXCPP $CPPFLAGS'
67230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67235 /* end confdefs.h. */
67236 #include <math.h>
67238 main ()
67240 frexpf(0, 0);
67242 return 0;
67244 _ACEOF
67245 if ac_fn_cxx_try_compile "$LINENO"; then :
67246 glibcxx_cv_func_frexpf_use=yes
67247 else
67248 glibcxx_cv_func_frexpf_use=no
67250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67251 ac_ext=c
67252 ac_cpp='$CPP $CPPFLAGS'
67253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
67262 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
67264 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
67265 for ac_func in frexpf
67266 do :
67267 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
67268 if test "x$ac_cv_func_frexpf" = x""yes; then :
67269 cat >>confdefs.h <<_ACEOF
67270 #define HAVE_FREXPF 1
67271 _ACEOF
67274 done
67276 else
67278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
67279 $as_echo_n "checking for _frexpf declaration... " >&6; }
67280 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
67281 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
67282 $as_echo_n "(cached) " >&6
67283 else
67286 ac_ext=cpp
67287 ac_cpp='$CXXCPP $CPPFLAGS'
67288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67293 /* end confdefs.h. */
67294 #include <math.h>
67296 main ()
67298 _frexpf(0, 0);
67300 return 0;
67302 _ACEOF
67303 if ac_fn_cxx_try_compile "$LINENO"; then :
67304 glibcxx_cv_func__frexpf_use=yes
67305 else
67306 glibcxx_cv_func__frexpf_use=no
67308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67309 ac_ext=c
67310 ac_cpp='$CPP $CPPFLAGS'
67311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
67320 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
67322 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
67323 for ac_func in _frexpf
67324 do :
67325 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
67326 if test "x$ac_cv_func__frexpf" = x""yes; then :
67327 cat >>confdefs.h <<_ACEOF
67328 #define HAVE__FREXPF 1
67329 _ACEOF
67332 done
67341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
67342 $as_echo_n "checking for hypotf declaration... " >&6; }
67343 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
67344 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
67345 $as_echo_n "(cached) " >&6
67346 else
67349 ac_ext=cpp
67350 ac_cpp='$CXXCPP $CPPFLAGS'
67351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67356 /* end confdefs.h. */
67357 #include <math.h>
67359 main ()
67361 hypotf(0, 0);
67363 return 0;
67365 _ACEOF
67366 if ac_fn_cxx_try_compile "$LINENO"; then :
67367 glibcxx_cv_func_hypotf_use=yes
67368 else
67369 glibcxx_cv_func_hypotf_use=no
67371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67372 ac_ext=c
67373 ac_cpp='$CPP $CPPFLAGS'
67374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
67383 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
67385 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
67386 for ac_func in hypotf
67387 do :
67388 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
67389 if test "x$ac_cv_func_hypotf" = x""yes; then :
67390 cat >>confdefs.h <<_ACEOF
67391 #define HAVE_HYPOTF 1
67392 _ACEOF
67395 done
67397 else
67399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
67400 $as_echo_n "checking for _hypotf declaration... " >&6; }
67401 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
67402 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
67403 $as_echo_n "(cached) " >&6
67404 else
67407 ac_ext=cpp
67408 ac_cpp='$CXXCPP $CPPFLAGS'
67409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67414 /* end confdefs.h. */
67415 #include <math.h>
67417 main ()
67419 _hypotf(0, 0);
67421 return 0;
67423 _ACEOF
67424 if ac_fn_cxx_try_compile "$LINENO"; then :
67425 glibcxx_cv_func__hypotf_use=yes
67426 else
67427 glibcxx_cv_func__hypotf_use=no
67429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67430 ac_ext=c
67431 ac_cpp='$CPP $CPPFLAGS'
67432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
67441 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
67443 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
67444 for ac_func in _hypotf
67445 do :
67446 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
67447 if test "x$ac_cv_func__hypotf" = x""yes; then :
67448 cat >>confdefs.h <<_ACEOF
67449 #define HAVE__HYPOTF 1
67450 _ACEOF
67453 done
67462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
67463 $as_echo_n "checking for ldexpf declaration... " >&6; }
67464 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
67465 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
67466 $as_echo_n "(cached) " >&6
67467 else
67470 ac_ext=cpp
67471 ac_cpp='$CXXCPP $CPPFLAGS'
67472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67477 /* end confdefs.h. */
67478 #include <math.h>
67480 main ()
67482 ldexpf(0, 0);
67484 return 0;
67486 _ACEOF
67487 if ac_fn_cxx_try_compile "$LINENO"; then :
67488 glibcxx_cv_func_ldexpf_use=yes
67489 else
67490 glibcxx_cv_func_ldexpf_use=no
67492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67493 ac_ext=c
67494 ac_cpp='$CPP $CPPFLAGS'
67495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
67504 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
67506 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
67507 for ac_func in ldexpf
67508 do :
67509 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
67510 if test "x$ac_cv_func_ldexpf" = x""yes; then :
67511 cat >>confdefs.h <<_ACEOF
67512 #define HAVE_LDEXPF 1
67513 _ACEOF
67516 done
67518 else
67520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
67521 $as_echo_n "checking for _ldexpf declaration... " >&6; }
67522 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
67523 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
67524 $as_echo_n "(cached) " >&6
67525 else
67528 ac_ext=cpp
67529 ac_cpp='$CXXCPP $CPPFLAGS'
67530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67535 /* end confdefs.h. */
67536 #include <math.h>
67538 main ()
67540 _ldexpf(0, 0);
67542 return 0;
67544 _ACEOF
67545 if ac_fn_cxx_try_compile "$LINENO"; then :
67546 glibcxx_cv_func__ldexpf_use=yes
67547 else
67548 glibcxx_cv_func__ldexpf_use=no
67550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67551 ac_ext=c
67552 ac_cpp='$CPP $CPPFLAGS'
67553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
67562 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
67564 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
67565 for ac_func in _ldexpf
67566 do :
67567 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
67568 if test "x$ac_cv_func__ldexpf" = x""yes; then :
67569 cat >>confdefs.h <<_ACEOF
67570 #define HAVE__LDEXPF 1
67571 _ACEOF
67574 done
67583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
67584 $as_echo_n "checking for logf declaration... " >&6; }
67585 if test x${glibcxx_cv_func_logf_use+set} != xset; then
67586 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
67587 $as_echo_n "(cached) " >&6
67588 else
67591 ac_ext=cpp
67592 ac_cpp='$CXXCPP $CPPFLAGS'
67593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67598 /* end confdefs.h. */
67599 #include <math.h>
67600 #ifdef HAVE_IEEEFP_H
67601 #include <ieeefp.h>
67602 #endif
67605 main ()
67607 logf(0);
67609 return 0;
67611 _ACEOF
67612 if ac_fn_cxx_try_compile "$LINENO"; then :
67613 glibcxx_cv_func_logf_use=yes
67614 else
67615 glibcxx_cv_func_logf_use=no
67617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67618 ac_ext=c
67619 ac_cpp='$CPP $CPPFLAGS'
67620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
67629 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
67631 if test x$glibcxx_cv_func_logf_use = x"yes"; then
67632 for ac_func in logf
67633 do :
67634 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
67635 if test "x$ac_cv_func_logf" = x""yes; then :
67636 cat >>confdefs.h <<_ACEOF
67637 #define HAVE_LOGF 1
67638 _ACEOF
67641 done
67643 else
67645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
67646 $as_echo_n "checking for _logf declaration... " >&6; }
67647 if test x${glibcxx_cv_func__logf_use+set} != xset; then
67648 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
67649 $as_echo_n "(cached) " >&6
67650 else
67653 ac_ext=cpp
67654 ac_cpp='$CXXCPP $CPPFLAGS'
67655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67660 /* end confdefs.h. */
67661 #include <math.h>
67662 #ifdef HAVE_IEEEFP_H
67663 #include <ieeefp.h>
67664 #endif
67667 main ()
67669 _logf(0);
67671 return 0;
67673 _ACEOF
67674 if ac_fn_cxx_try_compile "$LINENO"; then :
67675 glibcxx_cv_func__logf_use=yes
67676 else
67677 glibcxx_cv_func__logf_use=no
67679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67680 ac_ext=c
67681 ac_cpp='$CPP $CPPFLAGS'
67682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
67691 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
67693 if test x$glibcxx_cv_func__logf_use = x"yes"; then
67694 for ac_func in _logf
67695 do :
67696 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
67697 if test "x$ac_cv_func__logf" = x""yes; then :
67698 cat >>confdefs.h <<_ACEOF
67699 #define HAVE__LOGF 1
67700 _ACEOF
67703 done
67712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
67713 $as_echo_n "checking for log10f declaration... " >&6; }
67714 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
67715 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
67716 $as_echo_n "(cached) " >&6
67717 else
67720 ac_ext=cpp
67721 ac_cpp='$CXXCPP $CPPFLAGS'
67722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67727 /* end confdefs.h. */
67728 #include <math.h>
67729 #ifdef HAVE_IEEEFP_H
67730 #include <ieeefp.h>
67731 #endif
67734 main ()
67736 log10f(0);
67738 return 0;
67740 _ACEOF
67741 if ac_fn_cxx_try_compile "$LINENO"; then :
67742 glibcxx_cv_func_log10f_use=yes
67743 else
67744 glibcxx_cv_func_log10f_use=no
67746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67747 ac_ext=c
67748 ac_cpp='$CPP $CPPFLAGS'
67749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
67758 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
67760 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
67761 for ac_func in log10f
67762 do :
67763 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
67764 if test "x$ac_cv_func_log10f" = x""yes; then :
67765 cat >>confdefs.h <<_ACEOF
67766 #define HAVE_LOG10F 1
67767 _ACEOF
67770 done
67772 else
67774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
67775 $as_echo_n "checking for _log10f declaration... " >&6; }
67776 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
67777 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
67778 $as_echo_n "(cached) " >&6
67779 else
67782 ac_ext=cpp
67783 ac_cpp='$CXXCPP $CPPFLAGS'
67784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67789 /* end confdefs.h. */
67790 #include <math.h>
67791 #ifdef HAVE_IEEEFP_H
67792 #include <ieeefp.h>
67793 #endif
67796 main ()
67798 _log10f(0);
67800 return 0;
67802 _ACEOF
67803 if ac_fn_cxx_try_compile "$LINENO"; then :
67804 glibcxx_cv_func__log10f_use=yes
67805 else
67806 glibcxx_cv_func__log10f_use=no
67808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67809 ac_ext=c
67810 ac_cpp='$CPP $CPPFLAGS'
67811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
67820 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
67822 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
67823 for ac_func in _log10f
67824 do :
67825 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
67826 if test "x$ac_cv_func__log10f" = x""yes; then :
67827 cat >>confdefs.h <<_ACEOF
67828 #define HAVE__LOG10F 1
67829 _ACEOF
67832 done
67841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
67842 $as_echo_n "checking for modff declaration... " >&6; }
67843 if test x${glibcxx_cv_func_modff_use+set} != xset; then
67844 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
67845 $as_echo_n "(cached) " >&6
67846 else
67849 ac_ext=cpp
67850 ac_cpp='$CXXCPP $CPPFLAGS'
67851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67856 /* end confdefs.h. */
67857 #include <math.h>
67859 main ()
67861 modff(0, 0);
67863 return 0;
67865 _ACEOF
67866 if ac_fn_cxx_try_compile "$LINENO"; then :
67867 glibcxx_cv_func_modff_use=yes
67868 else
67869 glibcxx_cv_func_modff_use=no
67871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67872 ac_ext=c
67873 ac_cpp='$CPP $CPPFLAGS'
67874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
67883 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
67885 if test x$glibcxx_cv_func_modff_use = x"yes"; then
67886 for ac_func in modff
67887 do :
67888 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
67889 if test "x$ac_cv_func_modff" = x""yes; then :
67890 cat >>confdefs.h <<_ACEOF
67891 #define HAVE_MODFF 1
67892 _ACEOF
67895 done
67897 else
67899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
67900 $as_echo_n "checking for _modff declaration... " >&6; }
67901 if test x${glibcxx_cv_func__modff_use+set} != xset; then
67902 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
67903 $as_echo_n "(cached) " >&6
67904 else
67907 ac_ext=cpp
67908 ac_cpp='$CXXCPP $CPPFLAGS'
67909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67914 /* end confdefs.h. */
67915 #include <math.h>
67917 main ()
67919 _modff(0, 0);
67921 return 0;
67923 _ACEOF
67924 if ac_fn_cxx_try_compile "$LINENO"; then :
67925 glibcxx_cv_func__modff_use=yes
67926 else
67927 glibcxx_cv_func__modff_use=no
67929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67930 ac_ext=c
67931 ac_cpp='$CPP $CPPFLAGS'
67932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
67941 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
67943 if test x$glibcxx_cv_func__modff_use = x"yes"; then
67944 for ac_func in _modff
67945 do :
67946 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
67947 if test "x$ac_cv_func__modff" = x""yes; then :
67948 cat >>confdefs.h <<_ACEOF
67949 #define HAVE__MODFF 1
67950 _ACEOF
67953 done
67962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
67963 $as_echo_n "checking for modf declaration... " >&6; }
67964 if test x${glibcxx_cv_func_modf_use+set} != xset; then
67965 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
67966 $as_echo_n "(cached) " >&6
67967 else
67970 ac_ext=cpp
67971 ac_cpp='$CXXCPP $CPPFLAGS'
67972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67977 /* end confdefs.h. */
67978 #include <math.h>
67980 main ()
67982 modf(0, 0);
67984 return 0;
67986 _ACEOF
67987 if ac_fn_cxx_try_compile "$LINENO"; then :
67988 glibcxx_cv_func_modf_use=yes
67989 else
67990 glibcxx_cv_func_modf_use=no
67992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67993 ac_ext=c
67994 ac_cpp='$CPP $CPPFLAGS'
67995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
68004 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
68006 if test x$glibcxx_cv_func_modf_use = x"yes"; then
68007 for ac_func in modf
68008 do :
68009 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
68010 if test "x$ac_cv_func_modf" = x""yes; then :
68011 cat >>confdefs.h <<_ACEOF
68012 #define HAVE_MODF 1
68013 _ACEOF
68016 done
68018 else
68020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
68021 $as_echo_n "checking for _modf declaration... " >&6; }
68022 if test x${glibcxx_cv_func__modf_use+set} != xset; then
68023 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
68024 $as_echo_n "(cached) " >&6
68025 else
68028 ac_ext=cpp
68029 ac_cpp='$CXXCPP $CPPFLAGS'
68030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68035 /* end confdefs.h. */
68036 #include <math.h>
68038 main ()
68040 _modf(0, 0);
68042 return 0;
68044 _ACEOF
68045 if ac_fn_cxx_try_compile "$LINENO"; then :
68046 glibcxx_cv_func__modf_use=yes
68047 else
68048 glibcxx_cv_func__modf_use=no
68050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68051 ac_ext=c
68052 ac_cpp='$CPP $CPPFLAGS'
68053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
68062 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
68064 if test x$glibcxx_cv_func__modf_use = x"yes"; then
68065 for ac_func in _modf
68066 do :
68067 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
68068 if test "x$ac_cv_func__modf" = x""yes; then :
68069 cat >>confdefs.h <<_ACEOF
68070 #define HAVE__MODF 1
68071 _ACEOF
68074 done
68083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
68084 $as_echo_n "checking for powf declaration... " >&6; }
68085 if test x${glibcxx_cv_func_powf_use+set} != xset; then
68086 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
68087 $as_echo_n "(cached) " >&6
68088 else
68091 ac_ext=cpp
68092 ac_cpp='$CXXCPP $CPPFLAGS'
68093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68098 /* end confdefs.h. */
68099 #include <math.h>
68101 main ()
68103 powf(0, 0);
68105 return 0;
68107 _ACEOF
68108 if ac_fn_cxx_try_compile "$LINENO"; then :
68109 glibcxx_cv_func_powf_use=yes
68110 else
68111 glibcxx_cv_func_powf_use=no
68113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68114 ac_ext=c
68115 ac_cpp='$CPP $CPPFLAGS'
68116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
68125 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
68127 if test x$glibcxx_cv_func_powf_use = x"yes"; then
68128 for ac_func in powf
68129 do :
68130 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
68131 if test "x$ac_cv_func_powf" = x""yes; then :
68132 cat >>confdefs.h <<_ACEOF
68133 #define HAVE_POWF 1
68134 _ACEOF
68137 done
68139 else
68141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
68142 $as_echo_n "checking for _powf declaration... " >&6; }
68143 if test x${glibcxx_cv_func__powf_use+set} != xset; then
68144 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
68145 $as_echo_n "(cached) " >&6
68146 else
68149 ac_ext=cpp
68150 ac_cpp='$CXXCPP $CPPFLAGS'
68151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68156 /* end confdefs.h. */
68157 #include <math.h>
68159 main ()
68161 _powf(0, 0);
68163 return 0;
68165 _ACEOF
68166 if ac_fn_cxx_try_compile "$LINENO"; then :
68167 glibcxx_cv_func__powf_use=yes
68168 else
68169 glibcxx_cv_func__powf_use=no
68171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68172 ac_ext=c
68173 ac_cpp='$CPP $CPPFLAGS'
68174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
68183 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
68185 if test x$glibcxx_cv_func__powf_use = x"yes"; then
68186 for ac_func in _powf
68187 do :
68188 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
68189 if test "x$ac_cv_func__powf" = x""yes; then :
68190 cat >>confdefs.h <<_ACEOF
68191 #define HAVE__POWF 1
68192 _ACEOF
68195 done
68204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
68205 $as_echo_n "checking for sqrtf declaration... " >&6; }
68206 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
68207 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
68208 $as_echo_n "(cached) " >&6
68209 else
68212 ac_ext=cpp
68213 ac_cpp='$CXXCPP $CPPFLAGS'
68214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68219 /* end confdefs.h. */
68220 #include <math.h>
68221 #ifdef HAVE_IEEEFP_H
68222 #include <ieeefp.h>
68223 #endif
68226 main ()
68228 sqrtf(0);
68230 return 0;
68232 _ACEOF
68233 if ac_fn_cxx_try_compile "$LINENO"; then :
68234 glibcxx_cv_func_sqrtf_use=yes
68235 else
68236 glibcxx_cv_func_sqrtf_use=no
68238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68239 ac_ext=c
68240 ac_cpp='$CPP $CPPFLAGS'
68241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
68250 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
68252 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
68253 for ac_func in sqrtf
68254 do :
68255 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
68256 if test "x$ac_cv_func_sqrtf" = x""yes; then :
68257 cat >>confdefs.h <<_ACEOF
68258 #define HAVE_SQRTF 1
68259 _ACEOF
68262 done
68264 else
68266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
68267 $as_echo_n "checking for _sqrtf declaration... " >&6; }
68268 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
68269 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
68270 $as_echo_n "(cached) " >&6
68271 else
68274 ac_ext=cpp
68275 ac_cpp='$CXXCPP $CPPFLAGS'
68276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68281 /* end confdefs.h. */
68282 #include <math.h>
68283 #ifdef HAVE_IEEEFP_H
68284 #include <ieeefp.h>
68285 #endif
68288 main ()
68290 _sqrtf(0);
68292 return 0;
68294 _ACEOF
68295 if ac_fn_cxx_try_compile "$LINENO"; then :
68296 glibcxx_cv_func__sqrtf_use=yes
68297 else
68298 glibcxx_cv_func__sqrtf_use=no
68300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68301 ac_ext=c
68302 ac_cpp='$CPP $CPPFLAGS'
68303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
68312 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
68314 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
68315 for ac_func in _sqrtf
68316 do :
68317 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
68318 if test "x$ac_cv_func__sqrtf" = x""yes; then :
68319 cat >>confdefs.h <<_ACEOF
68320 #define HAVE__SQRTF 1
68321 _ACEOF
68324 done
68333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
68334 $as_echo_n "checking for sincosf declaration... " >&6; }
68335 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
68336 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
68337 $as_echo_n "(cached) " >&6
68338 else
68341 ac_ext=cpp
68342 ac_cpp='$CXXCPP $CPPFLAGS'
68343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68348 /* end confdefs.h. */
68349 #include <math.h>
68351 main ()
68353 sincosf(0, 0, 0);
68355 return 0;
68357 _ACEOF
68358 if ac_fn_cxx_try_compile "$LINENO"; then :
68359 glibcxx_cv_func_sincosf_use=yes
68360 else
68361 glibcxx_cv_func_sincosf_use=no
68363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68364 ac_ext=c
68365 ac_cpp='$CPP $CPPFLAGS'
68366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
68375 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
68377 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
68378 for ac_func in sincosf
68379 do :
68380 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
68381 if test "x$ac_cv_func_sincosf" = x""yes; then :
68382 cat >>confdefs.h <<_ACEOF
68383 #define HAVE_SINCOSF 1
68384 _ACEOF
68387 done
68389 else
68391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
68392 $as_echo_n "checking for _sincosf declaration... " >&6; }
68393 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
68394 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
68395 $as_echo_n "(cached) " >&6
68396 else
68399 ac_ext=cpp
68400 ac_cpp='$CXXCPP $CPPFLAGS'
68401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68406 /* end confdefs.h. */
68407 #include <math.h>
68409 main ()
68411 _sincosf(0, 0, 0);
68413 return 0;
68415 _ACEOF
68416 if ac_fn_cxx_try_compile "$LINENO"; then :
68417 glibcxx_cv_func__sincosf_use=yes
68418 else
68419 glibcxx_cv_func__sincosf_use=no
68421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68422 ac_ext=c
68423 ac_cpp='$CPP $CPPFLAGS'
68424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
68433 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
68435 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
68436 for ac_func in _sincosf
68437 do :
68438 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
68439 if test "x$ac_cv_func__sincosf" = x""yes; then :
68440 cat >>confdefs.h <<_ACEOF
68441 #define HAVE__SINCOSF 1
68442 _ACEOF
68445 done
68454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
68455 $as_echo_n "checking for finitef declaration... " >&6; }
68456 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
68457 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
68458 $as_echo_n "(cached) " >&6
68459 else
68462 ac_ext=cpp
68463 ac_cpp='$CXXCPP $CPPFLAGS'
68464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68469 /* end confdefs.h. */
68470 #include <math.h>
68471 #ifdef HAVE_IEEEFP_H
68472 #include <ieeefp.h>
68473 #endif
68476 main ()
68478 finitef(0);
68480 return 0;
68482 _ACEOF
68483 if ac_fn_cxx_try_compile "$LINENO"; then :
68484 glibcxx_cv_func_finitef_use=yes
68485 else
68486 glibcxx_cv_func_finitef_use=no
68488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68489 ac_ext=c
68490 ac_cpp='$CPP $CPPFLAGS'
68491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
68500 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
68502 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
68503 for ac_func in finitef
68504 do :
68505 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
68506 if test "x$ac_cv_func_finitef" = x""yes; then :
68507 cat >>confdefs.h <<_ACEOF
68508 #define HAVE_FINITEF 1
68509 _ACEOF
68512 done
68514 else
68516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
68517 $as_echo_n "checking for _finitef declaration... " >&6; }
68518 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
68519 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
68520 $as_echo_n "(cached) " >&6
68521 else
68524 ac_ext=cpp
68525 ac_cpp='$CXXCPP $CPPFLAGS'
68526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68531 /* end confdefs.h. */
68532 #include <math.h>
68533 #ifdef HAVE_IEEEFP_H
68534 #include <ieeefp.h>
68535 #endif
68538 main ()
68540 _finitef(0);
68542 return 0;
68544 _ACEOF
68545 if ac_fn_cxx_try_compile "$LINENO"; then :
68546 glibcxx_cv_func__finitef_use=yes
68547 else
68548 glibcxx_cv_func__finitef_use=no
68550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68551 ac_ext=c
68552 ac_cpp='$CPP $CPPFLAGS'
68553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
68562 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
68564 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
68565 for ac_func in _finitef
68566 do :
68567 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
68568 if test "x$ac_cv_func__finitef" = x""yes; then :
68569 cat >>confdefs.h <<_ACEOF
68570 #define HAVE__FINITEF 1
68571 _ACEOF
68574 done
68583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
68584 $as_echo_n "checking for long double trig functions... " >&6; }
68585 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
68586 $as_echo_n "(cached) " >&6
68587 else
68590 ac_ext=cpp
68591 ac_cpp='$CXXCPP $CPPFLAGS'
68592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68597 /* end confdefs.h. */
68598 #include <math.h>
68600 main ()
68602 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
68604 return 0;
68606 _ACEOF
68607 if ac_fn_cxx_try_compile "$LINENO"; then :
68608 glibcxx_cv_func_long_double_trig_use=yes
68609 else
68610 glibcxx_cv_func_long_double_trig_use=no
68612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68613 ac_ext=c
68614 ac_cpp='$CPP $CPPFLAGS'
68615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
68622 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
68623 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
68624 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
68625 do :
68626 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68627 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68628 eval as_val=\$$as_ac_var
68629 if test "x$as_val" = x""yes; then :
68630 cat >>confdefs.h <<_ACEOF
68631 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68632 _ACEOF
68635 done
68637 else
68638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
68639 $as_echo_n "checking for _long double trig functions... " >&6; }
68640 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
68641 $as_echo_n "(cached) " >&6
68642 else
68645 ac_ext=cpp
68646 ac_cpp='$CXXCPP $CPPFLAGS'
68647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68652 /* end confdefs.h. */
68653 #include <math.h>
68655 main ()
68657 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
68659 return 0;
68661 _ACEOF
68662 if ac_fn_cxx_try_compile "$LINENO"; then :
68663 glibcxx_cv_func__long_double_trig_use=yes
68664 else
68665 glibcxx_cv_func__long_double_trig_use=no
68667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68668 ac_ext=c
68669 ac_cpp='$CPP $CPPFLAGS'
68670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
68677 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
68678 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
68679 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
68680 do :
68681 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68682 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68683 eval as_val=\$$as_ac_var
68684 if test "x$as_val" = x""yes; then :
68685 cat >>confdefs.h <<_ACEOF
68686 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68687 _ACEOF
68690 done
68699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
68700 $as_echo_n "checking for long double round functions... " >&6; }
68701 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
68702 $as_echo_n "(cached) " >&6
68703 else
68706 ac_ext=cpp
68707 ac_cpp='$CXXCPP $CPPFLAGS'
68708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68713 /* end confdefs.h. */
68714 #include <math.h>
68716 main ()
68718 ceill (0); floorl (0);
68720 return 0;
68722 _ACEOF
68723 if ac_fn_cxx_try_compile "$LINENO"; then :
68724 glibcxx_cv_func_long_double_round_use=yes
68725 else
68726 glibcxx_cv_func_long_double_round_use=no
68728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68729 ac_ext=c
68730 ac_cpp='$CPP $CPPFLAGS'
68731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
68738 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
68739 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
68740 for ac_func in ceill floorl
68741 do :
68742 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68743 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68744 eval as_val=\$$as_ac_var
68745 if test "x$as_val" = x""yes; then :
68746 cat >>confdefs.h <<_ACEOF
68747 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68748 _ACEOF
68751 done
68753 else
68754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
68755 $as_echo_n "checking for _long double round functions... " >&6; }
68756 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
68757 $as_echo_n "(cached) " >&6
68758 else
68761 ac_ext=cpp
68762 ac_cpp='$CXXCPP $CPPFLAGS'
68763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68768 /* end confdefs.h. */
68769 #include <math.h>
68771 main ()
68773 _ceill (0); _floorl (0);
68775 return 0;
68777 _ACEOF
68778 if ac_fn_cxx_try_compile "$LINENO"; then :
68779 glibcxx_cv_func__long_double_round_use=yes
68780 else
68781 glibcxx_cv_func__long_double_round_use=no
68783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68784 ac_ext=c
68785 ac_cpp='$CPP $CPPFLAGS'
68786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
68793 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
68794 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
68795 for ac_func in _ceill _floorl
68796 do :
68797 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68798 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68799 eval as_val=\$$as_ac_var
68800 if test "x$as_val" = x""yes; then :
68801 cat >>confdefs.h <<_ACEOF
68802 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68803 _ACEOF
68806 done
68816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
68817 $as_echo_n "checking for isnanl declaration... " >&6; }
68818 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
68819 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
68820 $as_echo_n "(cached) " >&6
68821 else
68824 ac_ext=cpp
68825 ac_cpp='$CXXCPP $CPPFLAGS'
68826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68831 /* end confdefs.h. */
68832 #include <math.h>
68833 #ifdef HAVE_IEEEFP_H
68834 #include <ieeefp.h>
68835 #endif
68838 main ()
68840 isnanl(0);
68842 return 0;
68844 _ACEOF
68845 if ac_fn_cxx_try_compile "$LINENO"; then :
68846 glibcxx_cv_func_isnanl_use=yes
68847 else
68848 glibcxx_cv_func_isnanl_use=no
68850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68851 ac_ext=c
68852 ac_cpp='$CPP $CPPFLAGS'
68853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
68862 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
68864 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
68865 for ac_func in isnanl
68866 do :
68867 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
68868 if test "x$ac_cv_func_isnanl" = x""yes; then :
68869 cat >>confdefs.h <<_ACEOF
68870 #define HAVE_ISNANL 1
68871 _ACEOF
68874 done
68876 else
68878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
68879 $as_echo_n "checking for _isnanl declaration... " >&6; }
68880 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
68881 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
68882 $as_echo_n "(cached) " >&6
68883 else
68886 ac_ext=cpp
68887 ac_cpp='$CXXCPP $CPPFLAGS'
68888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68893 /* end confdefs.h. */
68894 #include <math.h>
68895 #ifdef HAVE_IEEEFP_H
68896 #include <ieeefp.h>
68897 #endif
68900 main ()
68902 _isnanl(0);
68904 return 0;
68906 _ACEOF
68907 if ac_fn_cxx_try_compile "$LINENO"; then :
68908 glibcxx_cv_func__isnanl_use=yes
68909 else
68910 glibcxx_cv_func__isnanl_use=no
68912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68913 ac_ext=c
68914 ac_cpp='$CPP $CPPFLAGS'
68915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
68924 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
68926 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
68927 for ac_func in _isnanl
68928 do :
68929 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
68930 if test "x$ac_cv_func__isnanl" = x""yes; then :
68931 cat >>confdefs.h <<_ACEOF
68932 #define HAVE__ISNANL 1
68933 _ACEOF
68936 done
68945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
68946 $as_echo_n "checking for isinfl declaration... " >&6; }
68947 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
68948 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
68949 $as_echo_n "(cached) " >&6
68950 else
68953 ac_ext=cpp
68954 ac_cpp='$CXXCPP $CPPFLAGS'
68955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68960 /* end confdefs.h. */
68961 #include <math.h>
68962 #ifdef HAVE_IEEEFP_H
68963 #include <ieeefp.h>
68964 #endif
68967 main ()
68969 isinfl(0);
68971 return 0;
68973 _ACEOF
68974 if ac_fn_cxx_try_compile "$LINENO"; then :
68975 glibcxx_cv_func_isinfl_use=yes
68976 else
68977 glibcxx_cv_func_isinfl_use=no
68979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68980 ac_ext=c
68981 ac_cpp='$CPP $CPPFLAGS'
68982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
68991 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
68993 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
68994 for ac_func in isinfl
68995 do :
68996 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
68997 if test "x$ac_cv_func_isinfl" = x""yes; then :
68998 cat >>confdefs.h <<_ACEOF
68999 #define HAVE_ISINFL 1
69000 _ACEOF
69003 done
69005 else
69007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
69008 $as_echo_n "checking for _isinfl declaration... " >&6; }
69009 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
69010 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
69011 $as_echo_n "(cached) " >&6
69012 else
69015 ac_ext=cpp
69016 ac_cpp='$CXXCPP $CPPFLAGS'
69017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69022 /* end confdefs.h. */
69023 #include <math.h>
69024 #ifdef HAVE_IEEEFP_H
69025 #include <ieeefp.h>
69026 #endif
69029 main ()
69031 _isinfl(0);
69033 return 0;
69035 _ACEOF
69036 if ac_fn_cxx_try_compile "$LINENO"; then :
69037 glibcxx_cv_func__isinfl_use=yes
69038 else
69039 glibcxx_cv_func__isinfl_use=no
69041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69042 ac_ext=c
69043 ac_cpp='$CPP $CPPFLAGS'
69044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
69053 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
69055 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
69056 for ac_func in _isinfl
69057 do :
69058 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
69059 if test "x$ac_cv_func__isinfl" = x""yes; then :
69060 cat >>confdefs.h <<_ACEOF
69061 #define HAVE__ISINFL 1
69062 _ACEOF
69065 done
69074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
69075 $as_echo_n "checking for atan2l declaration... " >&6; }
69076 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
69077 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
69078 $as_echo_n "(cached) " >&6
69079 else
69082 ac_ext=cpp
69083 ac_cpp='$CXXCPP $CPPFLAGS'
69084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69089 /* end confdefs.h. */
69090 #include <math.h>
69092 main ()
69094 atan2l(0, 0);
69096 return 0;
69098 _ACEOF
69099 if ac_fn_cxx_try_compile "$LINENO"; then :
69100 glibcxx_cv_func_atan2l_use=yes
69101 else
69102 glibcxx_cv_func_atan2l_use=no
69104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69105 ac_ext=c
69106 ac_cpp='$CPP $CPPFLAGS'
69107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
69116 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
69118 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
69119 for ac_func in atan2l
69120 do :
69121 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
69122 if test "x$ac_cv_func_atan2l" = x""yes; then :
69123 cat >>confdefs.h <<_ACEOF
69124 #define HAVE_ATAN2L 1
69125 _ACEOF
69128 done
69130 else
69132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
69133 $as_echo_n "checking for _atan2l declaration... " >&6; }
69134 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
69135 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
69136 $as_echo_n "(cached) " >&6
69137 else
69140 ac_ext=cpp
69141 ac_cpp='$CXXCPP $CPPFLAGS'
69142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69147 /* end confdefs.h. */
69148 #include <math.h>
69150 main ()
69152 _atan2l(0, 0);
69154 return 0;
69156 _ACEOF
69157 if ac_fn_cxx_try_compile "$LINENO"; then :
69158 glibcxx_cv_func__atan2l_use=yes
69159 else
69160 glibcxx_cv_func__atan2l_use=no
69162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69163 ac_ext=c
69164 ac_cpp='$CPP $CPPFLAGS'
69165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
69174 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
69176 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
69177 for ac_func in _atan2l
69178 do :
69179 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
69180 if test "x$ac_cv_func__atan2l" = x""yes; then :
69181 cat >>confdefs.h <<_ACEOF
69182 #define HAVE__ATAN2L 1
69183 _ACEOF
69186 done
69195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
69196 $as_echo_n "checking for expl declaration... " >&6; }
69197 if test x${glibcxx_cv_func_expl_use+set} != xset; then
69198 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
69199 $as_echo_n "(cached) " >&6
69200 else
69203 ac_ext=cpp
69204 ac_cpp='$CXXCPP $CPPFLAGS'
69205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69210 /* end confdefs.h. */
69211 #include <math.h>
69212 #ifdef HAVE_IEEEFP_H
69213 #include <ieeefp.h>
69214 #endif
69217 main ()
69219 expl(0);
69221 return 0;
69223 _ACEOF
69224 if ac_fn_cxx_try_compile "$LINENO"; then :
69225 glibcxx_cv_func_expl_use=yes
69226 else
69227 glibcxx_cv_func_expl_use=no
69229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69230 ac_ext=c
69231 ac_cpp='$CPP $CPPFLAGS'
69232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
69241 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
69243 if test x$glibcxx_cv_func_expl_use = x"yes"; then
69244 for ac_func in expl
69245 do :
69246 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
69247 if test "x$ac_cv_func_expl" = x""yes; then :
69248 cat >>confdefs.h <<_ACEOF
69249 #define HAVE_EXPL 1
69250 _ACEOF
69253 done
69255 else
69257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
69258 $as_echo_n "checking for _expl declaration... " >&6; }
69259 if test x${glibcxx_cv_func__expl_use+set} != xset; then
69260 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
69261 $as_echo_n "(cached) " >&6
69262 else
69265 ac_ext=cpp
69266 ac_cpp='$CXXCPP $CPPFLAGS'
69267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69272 /* end confdefs.h. */
69273 #include <math.h>
69274 #ifdef HAVE_IEEEFP_H
69275 #include <ieeefp.h>
69276 #endif
69279 main ()
69281 _expl(0);
69283 return 0;
69285 _ACEOF
69286 if ac_fn_cxx_try_compile "$LINENO"; then :
69287 glibcxx_cv_func__expl_use=yes
69288 else
69289 glibcxx_cv_func__expl_use=no
69291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69292 ac_ext=c
69293 ac_cpp='$CPP $CPPFLAGS'
69294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
69303 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
69305 if test x$glibcxx_cv_func__expl_use = x"yes"; then
69306 for ac_func in _expl
69307 do :
69308 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
69309 if test "x$ac_cv_func__expl" = x""yes; then :
69310 cat >>confdefs.h <<_ACEOF
69311 #define HAVE__EXPL 1
69312 _ACEOF
69315 done
69324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
69325 $as_echo_n "checking for fabsl declaration... " >&6; }
69326 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
69327 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
69328 $as_echo_n "(cached) " >&6
69329 else
69332 ac_ext=cpp
69333 ac_cpp='$CXXCPP $CPPFLAGS'
69334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69339 /* end confdefs.h. */
69340 #include <math.h>
69341 #ifdef HAVE_IEEEFP_H
69342 #include <ieeefp.h>
69343 #endif
69346 main ()
69348 fabsl(0);
69350 return 0;
69352 _ACEOF
69353 if ac_fn_cxx_try_compile "$LINENO"; then :
69354 glibcxx_cv_func_fabsl_use=yes
69355 else
69356 glibcxx_cv_func_fabsl_use=no
69358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69359 ac_ext=c
69360 ac_cpp='$CPP $CPPFLAGS'
69361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
69370 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
69372 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
69373 for ac_func in fabsl
69374 do :
69375 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
69376 if test "x$ac_cv_func_fabsl" = x""yes; then :
69377 cat >>confdefs.h <<_ACEOF
69378 #define HAVE_FABSL 1
69379 _ACEOF
69382 done
69384 else
69386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
69387 $as_echo_n "checking for _fabsl declaration... " >&6; }
69388 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
69389 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
69390 $as_echo_n "(cached) " >&6
69391 else
69394 ac_ext=cpp
69395 ac_cpp='$CXXCPP $CPPFLAGS'
69396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69401 /* end confdefs.h. */
69402 #include <math.h>
69403 #ifdef HAVE_IEEEFP_H
69404 #include <ieeefp.h>
69405 #endif
69408 main ()
69410 _fabsl(0);
69412 return 0;
69414 _ACEOF
69415 if ac_fn_cxx_try_compile "$LINENO"; then :
69416 glibcxx_cv_func__fabsl_use=yes
69417 else
69418 glibcxx_cv_func__fabsl_use=no
69420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69421 ac_ext=c
69422 ac_cpp='$CPP $CPPFLAGS'
69423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
69432 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
69434 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
69435 for ac_func in _fabsl
69436 do :
69437 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
69438 if test "x$ac_cv_func__fabsl" = x""yes; then :
69439 cat >>confdefs.h <<_ACEOF
69440 #define HAVE__FABSL 1
69441 _ACEOF
69444 done
69453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
69454 $as_echo_n "checking for fmodl declaration... " >&6; }
69455 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
69456 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
69457 $as_echo_n "(cached) " >&6
69458 else
69461 ac_ext=cpp
69462 ac_cpp='$CXXCPP $CPPFLAGS'
69463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69468 /* end confdefs.h. */
69469 #include <math.h>
69471 main ()
69473 fmodl(0, 0);
69475 return 0;
69477 _ACEOF
69478 if ac_fn_cxx_try_compile "$LINENO"; then :
69479 glibcxx_cv_func_fmodl_use=yes
69480 else
69481 glibcxx_cv_func_fmodl_use=no
69483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69484 ac_ext=c
69485 ac_cpp='$CPP $CPPFLAGS'
69486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
69495 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
69497 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
69498 for ac_func in fmodl
69499 do :
69500 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
69501 if test "x$ac_cv_func_fmodl" = x""yes; then :
69502 cat >>confdefs.h <<_ACEOF
69503 #define HAVE_FMODL 1
69504 _ACEOF
69507 done
69509 else
69511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
69512 $as_echo_n "checking for _fmodl declaration... " >&6; }
69513 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
69514 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
69515 $as_echo_n "(cached) " >&6
69516 else
69519 ac_ext=cpp
69520 ac_cpp='$CXXCPP $CPPFLAGS'
69521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69526 /* end confdefs.h. */
69527 #include <math.h>
69529 main ()
69531 _fmodl(0, 0);
69533 return 0;
69535 _ACEOF
69536 if ac_fn_cxx_try_compile "$LINENO"; then :
69537 glibcxx_cv_func__fmodl_use=yes
69538 else
69539 glibcxx_cv_func__fmodl_use=no
69541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69542 ac_ext=c
69543 ac_cpp='$CPP $CPPFLAGS'
69544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
69553 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
69555 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
69556 for ac_func in _fmodl
69557 do :
69558 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
69559 if test "x$ac_cv_func__fmodl" = x""yes; then :
69560 cat >>confdefs.h <<_ACEOF
69561 #define HAVE__FMODL 1
69562 _ACEOF
69565 done
69574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
69575 $as_echo_n "checking for frexpl declaration... " >&6; }
69576 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
69577 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
69578 $as_echo_n "(cached) " >&6
69579 else
69582 ac_ext=cpp
69583 ac_cpp='$CXXCPP $CPPFLAGS'
69584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69589 /* end confdefs.h. */
69590 #include <math.h>
69592 main ()
69594 frexpl(0, 0);
69596 return 0;
69598 _ACEOF
69599 if ac_fn_cxx_try_compile "$LINENO"; then :
69600 glibcxx_cv_func_frexpl_use=yes
69601 else
69602 glibcxx_cv_func_frexpl_use=no
69604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69605 ac_ext=c
69606 ac_cpp='$CPP $CPPFLAGS'
69607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
69616 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
69618 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
69619 for ac_func in frexpl
69620 do :
69621 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
69622 if test "x$ac_cv_func_frexpl" = x""yes; then :
69623 cat >>confdefs.h <<_ACEOF
69624 #define HAVE_FREXPL 1
69625 _ACEOF
69628 done
69630 else
69632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
69633 $as_echo_n "checking for _frexpl declaration... " >&6; }
69634 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
69635 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
69636 $as_echo_n "(cached) " >&6
69637 else
69640 ac_ext=cpp
69641 ac_cpp='$CXXCPP $CPPFLAGS'
69642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69647 /* end confdefs.h. */
69648 #include <math.h>
69650 main ()
69652 _frexpl(0, 0);
69654 return 0;
69656 _ACEOF
69657 if ac_fn_cxx_try_compile "$LINENO"; then :
69658 glibcxx_cv_func__frexpl_use=yes
69659 else
69660 glibcxx_cv_func__frexpl_use=no
69662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69663 ac_ext=c
69664 ac_cpp='$CPP $CPPFLAGS'
69665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
69674 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
69676 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
69677 for ac_func in _frexpl
69678 do :
69679 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
69680 if test "x$ac_cv_func__frexpl" = x""yes; then :
69681 cat >>confdefs.h <<_ACEOF
69682 #define HAVE__FREXPL 1
69683 _ACEOF
69686 done
69695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
69696 $as_echo_n "checking for hypotl declaration... " >&6; }
69697 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
69698 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
69699 $as_echo_n "(cached) " >&6
69700 else
69703 ac_ext=cpp
69704 ac_cpp='$CXXCPP $CPPFLAGS'
69705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69710 /* end confdefs.h. */
69711 #include <math.h>
69713 main ()
69715 hypotl(0, 0);
69717 return 0;
69719 _ACEOF
69720 if ac_fn_cxx_try_compile "$LINENO"; then :
69721 glibcxx_cv_func_hypotl_use=yes
69722 else
69723 glibcxx_cv_func_hypotl_use=no
69725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69726 ac_ext=c
69727 ac_cpp='$CPP $CPPFLAGS'
69728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
69737 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
69739 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
69740 for ac_func in hypotl
69741 do :
69742 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
69743 if test "x$ac_cv_func_hypotl" = x""yes; then :
69744 cat >>confdefs.h <<_ACEOF
69745 #define HAVE_HYPOTL 1
69746 _ACEOF
69749 done
69751 else
69753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
69754 $as_echo_n "checking for _hypotl declaration... " >&6; }
69755 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
69756 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
69757 $as_echo_n "(cached) " >&6
69758 else
69761 ac_ext=cpp
69762 ac_cpp='$CXXCPP $CPPFLAGS'
69763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69768 /* end confdefs.h. */
69769 #include <math.h>
69771 main ()
69773 _hypotl(0, 0);
69775 return 0;
69777 _ACEOF
69778 if ac_fn_cxx_try_compile "$LINENO"; then :
69779 glibcxx_cv_func__hypotl_use=yes
69780 else
69781 glibcxx_cv_func__hypotl_use=no
69783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69784 ac_ext=c
69785 ac_cpp='$CPP $CPPFLAGS'
69786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
69795 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
69797 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
69798 for ac_func in _hypotl
69799 do :
69800 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
69801 if test "x$ac_cv_func__hypotl" = x""yes; then :
69802 cat >>confdefs.h <<_ACEOF
69803 #define HAVE__HYPOTL 1
69804 _ACEOF
69807 done
69816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
69817 $as_echo_n "checking for ldexpl declaration... " >&6; }
69818 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
69819 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
69820 $as_echo_n "(cached) " >&6
69821 else
69824 ac_ext=cpp
69825 ac_cpp='$CXXCPP $CPPFLAGS'
69826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69831 /* end confdefs.h. */
69832 #include <math.h>
69834 main ()
69836 ldexpl(0, 0);
69838 return 0;
69840 _ACEOF
69841 if ac_fn_cxx_try_compile "$LINENO"; then :
69842 glibcxx_cv_func_ldexpl_use=yes
69843 else
69844 glibcxx_cv_func_ldexpl_use=no
69846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69847 ac_ext=c
69848 ac_cpp='$CPP $CPPFLAGS'
69849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
69858 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
69860 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
69861 for ac_func in ldexpl
69862 do :
69863 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
69864 if test "x$ac_cv_func_ldexpl" = x""yes; then :
69865 cat >>confdefs.h <<_ACEOF
69866 #define HAVE_LDEXPL 1
69867 _ACEOF
69870 done
69872 else
69874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
69875 $as_echo_n "checking for _ldexpl declaration... " >&6; }
69876 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
69877 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
69878 $as_echo_n "(cached) " >&6
69879 else
69882 ac_ext=cpp
69883 ac_cpp='$CXXCPP $CPPFLAGS'
69884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69889 /* end confdefs.h. */
69890 #include <math.h>
69892 main ()
69894 _ldexpl(0, 0);
69896 return 0;
69898 _ACEOF
69899 if ac_fn_cxx_try_compile "$LINENO"; then :
69900 glibcxx_cv_func__ldexpl_use=yes
69901 else
69902 glibcxx_cv_func__ldexpl_use=no
69904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69905 ac_ext=c
69906 ac_cpp='$CPP $CPPFLAGS'
69907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
69916 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
69918 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
69919 for ac_func in _ldexpl
69920 do :
69921 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
69922 if test "x$ac_cv_func__ldexpl" = x""yes; then :
69923 cat >>confdefs.h <<_ACEOF
69924 #define HAVE__LDEXPL 1
69925 _ACEOF
69928 done
69937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
69938 $as_echo_n "checking for logl declaration... " >&6; }
69939 if test x${glibcxx_cv_func_logl_use+set} != xset; then
69940 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
69941 $as_echo_n "(cached) " >&6
69942 else
69945 ac_ext=cpp
69946 ac_cpp='$CXXCPP $CPPFLAGS'
69947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69952 /* end confdefs.h. */
69953 #include <math.h>
69954 #ifdef HAVE_IEEEFP_H
69955 #include <ieeefp.h>
69956 #endif
69959 main ()
69961 logl(0);
69963 return 0;
69965 _ACEOF
69966 if ac_fn_cxx_try_compile "$LINENO"; then :
69967 glibcxx_cv_func_logl_use=yes
69968 else
69969 glibcxx_cv_func_logl_use=no
69971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69972 ac_ext=c
69973 ac_cpp='$CPP $CPPFLAGS'
69974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
69983 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
69985 if test x$glibcxx_cv_func_logl_use = x"yes"; then
69986 for ac_func in logl
69987 do :
69988 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
69989 if test "x$ac_cv_func_logl" = x""yes; then :
69990 cat >>confdefs.h <<_ACEOF
69991 #define HAVE_LOGL 1
69992 _ACEOF
69995 done
69997 else
69999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
70000 $as_echo_n "checking for _logl declaration... " >&6; }
70001 if test x${glibcxx_cv_func__logl_use+set} != xset; then
70002 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
70003 $as_echo_n "(cached) " >&6
70004 else
70007 ac_ext=cpp
70008 ac_cpp='$CXXCPP $CPPFLAGS'
70009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70014 /* end confdefs.h. */
70015 #include <math.h>
70016 #ifdef HAVE_IEEEFP_H
70017 #include <ieeefp.h>
70018 #endif
70021 main ()
70023 _logl(0);
70025 return 0;
70027 _ACEOF
70028 if ac_fn_cxx_try_compile "$LINENO"; then :
70029 glibcxx_cv_func__logl_use=yes
70030 else
70031 glibcxx_cv_func__logl_use=no
70033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70034 ac_ext=c
70035 ac_cpp='$CPP $CPPFLAGS'
70036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
70045 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
70047 if test x$glibcxx_cv_func__logl_use = x"yes"; then
70048 for ac_func in _logl
70049 do :
70050 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
70051 if test "x$ac_cv_func__logl" = x""yes; then :
70052 cat >>confdefs.h <<_ACEOF
70053 #define HAVE__LOGL 1
70054 _ACEOF
70057 done
70066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
70067 $as_echo_n "checking for log10l declaration... " >&6; }
70068 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
70069 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
70070 $as_echo_n "(cached) " >&6
70071 else
70074 ac_ext=cpp
70075 ac_cpp='$CXXCPP $CPPFLAGS'
70076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70081 /* end confdefs.h. */
70082 #include <math.h>
70083 #ifdef HAVE_IEEEFP_H
70084 #include <ieeefp.h>
70085 #endif
70088 main ()
70090 log10l(0);
70092 return 0;
70094 _ACEOF
70095 if ac_fn_cxx_try_compile "$LINENO"; then :
70096 glibcxx_cv_func_log10l_use=yes
70097 else
70098 glibcxx_cv_func_log10l_use=no
70100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70101 ac_ext=c
70102 ac_cpp='$CPP $CPPFLAGS'
70103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
70112 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
70114 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
70115 for ac_func in log10l
70116 do :
70117 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
70118 if test "x$ac_cv_func_log10l" = x""yes; then :
70119 cat >>confdefs.h <<_ACEOF
70120 #define HAVE_LOG10L 1
70121 _ACEOF
70124 done
70126 else
70128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
70129 $as_echo_n "checking for _log10l declaration... " >&6; }
70130 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
70131 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
70132 $as_echo_n "(cached) " >&6
70133 else
70136 ac_ext=cpp
70137 ac_cpp='$CXXCPP $CPPFLAGS'
70138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70143 /* end confdefs.h. */
70144 #include <math.h>
70145 #ifdef HAVE_IEEEFP_H
70146 #include <ieeefp.h>
70147 #endif
70150 main ()
70152 _log10l(0);
70154 return 0;
70156 _ACEOF
70157 if ac_fn_cxx_try_compile "$LINENO"; then :
70158 glibcxx_cv_func__log10l_use=yes
70159 else
70160 glibcxx_cv_func__log10l_use=no
70162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70163 ac_ext=c
70164 ac_cpp='$CPP $CPPFLAGS'
70165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
70174 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
70176 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
70177 for ac_func in _log10l
70178 do :
70179 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
70180 if test "x$ac_cv_func__log10l" = x""yes; then :
70181 cat >>confdefs.h <<_ACEOF
70182 #define HAVE__LOG10L 1
70183 _ACEOF
70186 done
70195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
70196 $as_echo_n "checking for modfl declaration... " >&6; }
70197 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
70198 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
70199 $as_echo_n "(cached) " >&6
70200 else
70203 ac_ext=cpp
70204 ac_cpp='$CXXCPP $CPPFLAGS'
70205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70210 /* end confdefs.h. */
70211 #include <math.h>
70213 main ()
70215 modfl(0, 0);
70217 return 0;
70219 _ACEOF
70220 if ac_fn_cxx_try_compile "$LINENO"; then :
70221 glibcxx_cv_func_modfl_use=yes
70222 else
70223 glibcxx_cv_func_modfl_use=no
70225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70226 ac_ext=c
70227 ac_cpp='$CPP $CPPFLAGS'
70228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
70237 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
70239 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
70240 for ac_func in modfl
70241 do :
70242 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
70243 if test "x$ac_cv_func_modfl" = x""yes; then :
70244 cat >>confdefs.h <<_ACEOF
70245 #define HAVE_MODFL 1
70246 _ACEOF
70249 done
70251 else
70253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
70254 $as_echo_n "checking for _modfl declaration... " >&6; }
70255 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
70256 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
70257 $as_echo_n "(cached) " >&6
70258 else
70261 ac_ext=cpp
70262 ac_cpp='$CXXCPP $CPPFLAGS'
70263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70268 /* end confdefs.h. */
70269 #include <math.h>
70271 main ()
70273 _modfl(0, 0);
70275 return 0;
70277 _ACEOF
70278 if ac_fn_cxx_try_compile "$LINENO"; then :
70279 glibcxx_cv_func__modfl_use=yes
70280 else
70281 glibcxx_cv_func__modfl_use=no
70283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70284 ac_ext=c
70285 ac_cpp='$CPP $CPPFLAGS'
70286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
70295 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
70297 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
70298 for ac_func in _modfl
70299 do :
70300 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
70301 if test "x$ac_cv_func__modfl" = x""yes; then :
70302 cat >>confdefs.h <<_ACEOF
70303 #define HAVE__MODFL 1
70304 _ACEOF
70307 done
70316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
70317 $as_echo_n "checking for powl declaration... " >&6; }
70318 if test x${glibcxx_cv_func_powl_use+set} != xset; then
70319 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
70320 $as_echo_n "(cached) " >&6
70321 else
70324 ac_ext=cpp
70325 ac_cpp='$CXXCPP $CPPFLAGS'
70326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70331 /* end confdefs.h. */
70332 #include <math.h>
70334 main ()
70336 powl(0, 0);
70338 return 0;
70340 _ACEOF
70341 if ac_fn_cxx_try_compile "$LINENO"; then :
70342 glibcxx_cv_func_powl_use=yes
70343 else
70344 glibcxx_cv_func_powl_use=no
70346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70347 ac_ext=c
70348 ac_cpp='$CPP $CPPFLAGS'
70349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
70358 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
70360 if test x$glibcxx_cv_func_powl_use = x"yes"; then
70361 for ac_func in powl
70362 do :
70363 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
70364 if test "x$ac_cv_func_powl" = x""yes; then :
70365 cat >>confdefs.h <<_ACEOF
70366 #define HAVE_POWL 1
70367 _ACEOF
70370 done
70372 else
70374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
70375 $as_echo_n "checking for _powl declaration... " >&6; }
70376 if test x${glibcxx_cv_func__powl_use+set} != xset; then
70377 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
70378 $as_echo_n "(cached) " >&6
70379 else
70382 ac_ext=cpp
70383 ac_cpp='$CXXCPP $CPPFLAGS'
70384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70389 /* end confdefs.h. */
70390 #include <math.h>
70392 main ()
70394 _powl(0, 0);
70396 return 0;
70398 _ACEOF
70399 if ac_fn_cxx_try_compile "$LINENO"; then :
70400 glibcxx_cv_func__powl_use=yes
70401 else
70402 glibcxx_cv_func__powl_use=no
70404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70405 ac_ext=c
70406 ac_cpp='$CPP $CPPFLAGS'
70407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
70416 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
70418 if test x$glibcxx_cv_func__powl_use = x"yes"; then
70419 for ac_func in _powl
70420 do :
70421 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
70422 if test "x$ac_cv_func__powl" = x""yes; then :
70423 cat >>confdefs.h <<_ACEOF
70424 #define HAVE__POWL 1
70425 _ACEOF
70428 done
70437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
70438 $as_echo_n "checking for sqrtl declaration... " >&6; }
70439 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
70440 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
70441 $as_echo_n "(cached) " >&6
70442 else
70445 ac_ext=cpp
70446 ac_cpp='$CXXCPP $CPPFLAGS'
70447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70452 /* end confdefs.h. */
70453 #include <math.h>
70454 #ifdef HAVE_IEEEFP_H
70455 #include <ieeefp.h>
70456 #endif
70459 main ()
70461 sqrtl(0);
70463 return 0;
70465 _ACEOF
70466 if ac_fn_cxx_try_compile "$LINENO"; then :
70467 glibcxx_cv_func_sqrtl_use=yes
70468 else
70469 glibcxx_cv_func_sqrtl_use=no
70471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70472 ac_ext=c
70473 ac_cpp='$CPP $CPPFLAGS'
70474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
70483 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
70485 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
70486 for ac_func in sqrtl
70487 do :
70488 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
70489 if test "x$ac_cv_func_sqrtl" = x""yes; then :
70490 cat >>confdefs.h <<_ACEOF
70491 #define HAVE_SQRTL 1
70492 _ACEOF
70495 done
70497 else
70499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
70500 $as_echo_n "checking for _sqrtl declaration... " >&6; }
70501 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
70502 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
70503 $as_echo_n "(cached) " >&6
70504 else
70507 ac_ext=cpp
70508 ac_cpp='$CXXCPP $CPPFLAGS'
70509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70514 /* end confdefs.h. */
70515 #include <math.h>
70516 #ifdef HAVE_IEEEFP_H
70517 #include <ieeefp.h>
70518 #endif
70521 main ()
70523 _sqrtl(0);
70525 return 0;
70527 _ACEOF
70528 if ac_fn_cxx_try_compile "$LINENO"; then :
70529 glibcxx_cv_func__sqrtl_use=yes
70530 else
70531 glibcxx_cv_func__sqrtl_use=no
70533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70534 ac_ext=c
70535 ac_cpp='$CPP $CPPFLAGS'
70536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
70545 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
70547 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
70548 for ac_func in _sqrtl
70549 do :
70550 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
70551 if test "x$ac_cv_func__sqrtl" = x""yes; then :
70552 cat >>confdefs.h <<_ACEOF
70553 #define HAVE__SQRTL 1
70554 _ACEOF
70557 done
70566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
70567 $as_echo_n "checking for sincosl declaration... " >&6; }
70568 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
70569 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
70570 $as_echo_n "(cached) " >&6
70571 else
70574 ac_ext=cpp
70575 ac_cpp='$CXXCPP $CPPFLAGS'
70576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70581 /* end confdefs.h. */
70582 #include <math.h>
70584 main ()
70586 sincosl(0, 0, 0);
70588 return 0;
70590 _ACEOF
70591 if ac_fn_cxx_try_compile "$LINENO"; then :
70592 glibcxx_cv_func_sincosl_use=yes
70593 else
70594 glibcxx_cv_func_sincosl_use=no
70596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70597 ac_ext=c
70598 ac_cpp='$CPP $CPPFLAGS'
70599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
70608 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
70610 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
70611 for ac_func in sincosl
70612 do :
70613 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
70614 if test "x$ac_cv_func_sincosl" = x""yes; then :
70615 cat >>confdefs.h <<_ACEOF
70616 #define HAVE_SINCOSL 1
70617 _ACEOF
70620 done
70622 else
70624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
70625 $as_echo_n "checking for _sincosl declaration... " >&6; }
70626 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
70627 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
70628 $as_echo_n "(cached) " >&6
70629 else
70632 ac_ext=cpp
70633 ac_cpp='$CXXCPP $CPPFLAGS'
70634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70639 /* end confdefs.h. */
70640 #include <math.h>
70642 main ()
70644 _sincosl(0, 0, 0);
70646 return 0;
70648 _ACEOF
70649 if ac_fn_cxx_try_compile "$LINENO"; then :
70650 glibcxx_cv_func__sincosl_use=yes
70651 else
70652 glibcxx_cv_func__sincosl_use=no
70654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70655 ac_ext=c
70656 ac_cpp='$CPP $CPPFLAGS'
70657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
70666 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
70668 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
70669 for ac_func in _sincosl
70670 do :
70671 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
70672 if test "x$ac_cv_func__sincosl" = x""yes; then :
70673 cat >>confdefs.h <<_ACEOF
70674 #define HAVE__SINCOSL 1
70675 _ACEOF
70678 done
70687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
70688 $as_echo_n "checking for finitel declaration... " >&6; }
70689 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
70690 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
70691 $as_echo_n "(cached) " >&6
70692 else
70695 ac_ext=cpp
70696 ac_cpp='$CXXCPP $CPPFLAGS'
70697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70702 /* end confdefs.h. */
70703 #include <math.h>
70704 #ifdef HAVE_IEEEFP_H
70705 #include <ieeefp.h>
70706 #endif
70709 main ()
70711 finitel(0);
70713 return 0;
70715 _ACEOF
70716 if ac_fn_cxx_try_compile "$LINENO"; then :
70717 glibcxx_cv_func_finitel_use=yes
70718 else
70719 glibcxx_cv_func_finitel_use=no
70721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70722 ac_ext=c
70723 ac_cpp='$CPP $CPPFLAGS'
70724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
70733 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
70735 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
70736 for ac_func in finitel
70737 do :
70738 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
70739 if test "x$ac_cv_func_finitel" = x""yes; then :
70740 cat >>confdefs.h <<_ACEOF
70741 #define HAVE_FINITEL 1
70742 _ACEOF
70745 done
70747 else
70749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
70750 $as_echo_n "checking for _finitel declaration... " >&6; }
70751 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
70752 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
70753 $as_echo_n "(cached) " >&6
70754 else
70757 ac_ext=cpp
70758 ac_cpp='$CXXCPP $CPPFLAGS'
70759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70764 /* end confdefs.h. */
70765 #include <math.h>
70766 #ifdef HAVE_IEEEFP_H
70767 #include <ieeefp.h>
70768 #endif
70771 main ()
70773 _finitel(0);
70775 return 0;
70777 _ACEOF
70778 if ac_fn_cxx_try_compile "$LINENO"; then :
70779 glibcxx_cv_func__finitel_use=yes
70780 else
70781 glibcxx_cv_func__finitel_use=no
70783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70784 ac_ext=c
70785 ac_cpp='$CPP $CPPFLAGS'
70786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
70795 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
70797 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
70798 for ac_func in _finitel
70799 do :
70800 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
70801 if test "x$ac_cv_func__finitel" = x""yes; then :
70802 cat >>confdefs.h <<_ACEOF
70803 #define HAVE__FINITEL 1
70804 _ACEOF
70807 done
70815 LIBS="$ac_save_LIBS"
70816 CXXFLAGS="$ac_save_CXXFLAGS"
70819 ac_test_CXXFLAGS="${CXXFLAGS+set}"
70820 ac_save_CXXFLAGS="$CXXFLAGS"
70821 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
70824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
70825 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
70826 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
70827 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
70828 $as_echo_n "(cached) " >&6
70829 else
70832 ac_ext=cpp
70833 ac_cpp='$CXXCPP $CPPFLAGS'
70834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70839 /* end confdefs.h. */
70840 #include <stdlib.h>
70842 main ()
70844 at_quick_exit(0);
70846 return 0;
70848 _ACEOF
70849 if ac_fn_cxx_try_compile "$LINENO"; then :
70850 glibcxx_cv_func_at_quick_exit_use=yes
70851 else
70852 glibcxx_cv_func_at_quick_exit_use=no
70854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70855 ac_ext=c
70856 ac_cpp='$CPP $CPPFLAGS'
70857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
70866 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
70867 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
70868 for ac_func in at_quick_exit
70869 do :
70870 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
70871 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
70872 cat >>confdefs.h <<_ACEOF
70873 #define HAVE_AT_QUICK_EXIT 1
70874 _ACEOF
70877 done
70882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
70883 $as_echo_n "checking for quick_exit declaration... " >&6; }
70884 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
70885 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
70886 $as_echo_n "(cached) " >&6
70887 else
70890 ac_ext=cpp
70891 ac_cpp='$CXXCPP $CPPFLAGS'
70892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70897 /* end confdefs.h. */
70898 #include <stdlib.h>
70900 main ()
70902 quick_exit(0);
70904 return 0;
70906 _ACEOF
70907 if ac_fn_cxx_try_compile "$LINENO"; then :
70908 glibcxx_cv_func_quick_exit_use=yes
70909 else
70910 glibcxx_cv_func_quick_exit_use=no
70912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70913 ac_ext=c
70914 ac_cpp='$CPP $CPPFLAGS'
70915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
70924 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
70925 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
70926 for ac_func in quick_exit
70927 do :
70928 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
70929 if test "x$ac_cv_func_quick_exit" = x""yes; then :
70930 cat >>confdefs.h <<_ACEOF
70931 #define HAVE_QUICK_EXIT 1
70932 _ACEOF
70935 done
70940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
70941 $as_echo_n "checking for strtold declaration... " >&6; }
70942 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
70943 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
70944 $as_echo_n "(cached) " >&6
70945 else
70948 ac_ext=cpp
70949 ac_cpp='$CXXCPP $CPPFLAGS'
70950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70955 /* end confdefs.h. */
70956 #include <stdlib.h>
70958 main ()
70960 strtold(0, 0);
70962 return 0;
70964 _ACEOF
70965 if ac_fn_cxx_try_compile "$LINENO"; then :
70966 glibcxx_cv_func_strtold_use=yes
70967 else
70968 glibcxx_cv_func_strtold_use=no
70970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70971 ac_ext=c
70972 ac_cpp='$CPP $CPPFLAGS'
70973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
70982 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
70983 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
70984 for ac_func in strtold
70985 do :
70986 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
70987 if test "x$ac_cv_func_strtold" = x""yes; then :
70988 cat >>confdefs.h <<_ACEOF
70989 #define HAVE_STRTOLD 1
70990 _ACEOF
70993 done
71000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
71001 $as_echo_n "checking for strtof declaration... " >&6; }
71002 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
71003 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
71004 $as_echo_n "(cached) " >&6
71005 else
71008 ac_ext=cpp
71009 ac_cpp='$CXXCPP $CPPFLAGS'
71010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71015 /* end confdefs.h. */
71016 #include <stdlib.h>
71018 main ()
71020 strtof(0, 0);
71022 return 0;
71024 _ACEOF
71025 if ac_fn_cxx_try_compile "$LINENO"; then :
71026 glibcxx_cv_func_strtof_use=yes
71027 else
71028 glibcxx_cv_func_strtof_use=no
71030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71031 ac_ext=c
71032 ac_cpp='$CPP $CPPFLAGS'
71033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
71042 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
71043 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
71044 for ac_func in strtof
71045 do :
71046 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
71047 if test "x$ac_cv_func_strtof" = x""yes; then :
71048 cat >>confdefs.h <<_ACEOF
71049 #define HAVE_STRTOF 1
71050 _ACEOF
71053 done
71060 CXXFLAGS="$ac_save_CXXFLAGS"
71063 *-solaris*)
71065 # If we're not using GNU ld, then there's no point in even trying these
71066 # tests. Check for that first. We should have already tested for gld
71067 # by now (in libtool), but require it now just to be safe...
71068 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
71069 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
71073 # The name set by libtool depends on the version of libtool. Shame on us
71074 # for depending on an impl detail, but c'est la vie. Older versions used
71075 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
71076 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
71077 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
71078 # set (hence we're using an older libtool), then set it.
71079 if test x${with_gnu_ld+set} != xset; then
71080 if test x${ac_cv_prog_gnu_ld+set} != xset; then
71081 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
71082 with_gnu_ld=no
71083 else
71084 with_gnu_ld=$ac_cv_prog_gnu_ld
71088 # Start by getting the version number. I think the libtool test already
71089 # does some of this, but throws away the result.
71090 glibcxx_ld_is_gold=no
71091 if test x"$with_gnu_ld" = x"yes"; then
71092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
71093 $as_echo_n "checking for ld version... " >&6; }
71095 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
71096 glibcxx_ld_is_gold=yes
71098 ldver=`$LD --version 2>/dev/null |
71099 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'`
71101 glibcxx_gnu_ld_version=`echo $ldver | \
71102 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
71103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
71104 $as_echo "$glibcxx_gnu_ld_version" >&6; }
71107 # Set --gc-sections.
71108 glibcxx_have_gc_sections=no
71109 if test "$glibcxx_ld_is_gold" = "yes"; then
71110 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
71111 glibcxx_have_gc_sections=yes
71113 else
71114 glibcxx_gcsections_min_ld=21602
71115 if test x"$with_gnu_ld" = x"yes" &&
71116 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
71117 glibcxx_have_gc_sections=yes
71120 if test "$glibcxx_have_gc_sections" = "yes"; then
71121 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
71122 # NB: This flag only works reliably after 2.16.1. Configure tests
71123 # for this are difficult, so hard wire a value that should work.
71125 ac_test_CFLAGS="${CFLAGS+set}"
71126 ac_save_CFLAGS="$CFLAGS"
71127 CFLAGS='-Wl,--gc-sections'
71129 # Check for -Wl,--gc-sections
71130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
71131 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
71132 if test x$gcc_no_link = xyes; then
71133 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71136 /* end confdefs.h. */
71137 int one(void) { return 1; }
71138 int two(void) { return 2; }
71141 main ()
71143 two();
71145 return 0;
71147 _ACEOF
71148 if ac_fn_c_try_link "$LINENO"; then :
71149 ac_gcsections=yes
71150 else
71151 ac_gcsections=no
71153 rm -f core conftest.err conftest.$ac_objext \
71154 conftest$ac_exeext conftest.$ac_ext
71155 if test "$ac_gcsections" = "yes"; then
71156 rm -f conftest.c
71157 touch conftest.c
71158 if $CC -c conftest.c; then
71159 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
71160 grep "Warning: gc-sections option ignored" > /dev/null; then
71161 ac_gcsections=no
71164 rm -f conftest.c conftest.o conftest
71166 if test "$ac_gcsections" = "yes"; then
71167 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
71169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
71170 $as_echo "$ac_gcsections" >&6; }
71172 if test "$ac_test_CFLAGS" = set; then
71173 CFLAGS="$ac_save_CFLAGS"
71174 else
71175 # this is the suspicious part
71176 CFLAGS=''
71180 # Set -z,relro.
71181 # Note this is only for shared objects.
71182 ac_ld_relro=no
71183 if test x"$with_gnu_ld" = x"yes"; then
71184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
71185 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
71186 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
71187 if test -n "$cxx_z_relo"; then
71188 OPT_LDFLAGS="-Wl,-z,relro"
71189 ac_ld_relro=yes
71191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
71192 $as_echo "$ac_ld_relro" >&6; }
71195 # Set linker optimization flags.
71196 if test x"$with_gnu_ld" = x"yes"; then
71197 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
71203 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
71205 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
71207 $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
71209 # All of the dependencies for wide character support are here, so
71210 # turn it on.
71211 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
71213 # These two C99 functions are present only in Solaris >= 10
71214 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
71216 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
71218 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
71220 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
71222 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
71224 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
71227 *-tpf)
71228 SECTION_FLAGS='-ffunction-sections -fdata-sections'
71229 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
71231 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
71233 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
71235 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
71237 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
71239 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
71241 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
71243 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
71245 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
71247 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
71249 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
71251 if test x"long_double_math_on_this_cpu" = x"yes"; then
71252 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
71254 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
71256 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
71258 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
71262 *-*vms*)
71263 # Check for available headers.
71264 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
71266 ac_test_CXXFLAGS="${CXXFLAGS+set}"
71267 ac_save_CXXFLAGS="$CXXFLAGS"
71268 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
71270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
71271 $as_echo_n "checking for sin in -lm... " >&6; }
71272 if test "${ac_cv_lib_m_sin+set}" = set; then :
71273 $as_echo_n "(cached) " >&6
71274 else
71275 ac_check_lib_save_LIBS=$LIBS
71276 LIBS="-lm $LIBS"
71277 if test x$gcc_no_link = xyes; then
71278 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71281 /* end confdefs.h. */
71283 /* Override any GCC internal prototype to avoid an error.
71284 Use char because int might match the return type of a GCC
71285 builtin and then its argument prototype would still apply. */
71286 #ifdef __cplusplus
71287 extern "C"
71288 #endif
71289 char sin ();
71291 main ()
71293 return sin ();
71295 return 0;
71297 _ACEOF
71298 if ac_fn_c_try_link "$LINENO"; then :
71299 ac_cv_lib_m_sin=yes
71300 else
71301 ac_cv_lib_m_sin=no
71303 rm -f core conftest.err conftest.$ac_objext \
71304 conftest$ac_exeext conftest.$ac_ext
71305 LIBS=$ac_check_lib_save_LIBS
71307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
71308 $as_echo "$ac_cv_lib_m_sin" >&6; }
71309 if test "x$ac_cv_lib_m_sin" = x""yes; then :
71310 libm="-lm"
71313 ac_save_LIBS="$LIBS"
71314 LIBS="$LIBS $libm"
71318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
71319 $as_echo_n "checking for isinf declaration... " >&6; }
71320 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
71321 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
71322 $as_echo_n "(cached) " >&6
71323 else
71326 ac_ext=cpp
71327 ac_cpp='$CXXCPP $CPPFLAGS'
71328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71333 /* end confdefs.h. */
71334 #include <math.h>
71335 #ifdef HAVE_IEEEFP_H
71336 #include <ieeefp.h>
71337 #endif
71340 main ()
71342 isinf(0);
71344 return 0;
71346 _ACEOF
71347 if ac_fn_cxx_try_compile "$LINENO"; then :
71348 glibcxx_cv_func_isinf_use=yes
71349 else
71350 glibcxx_cv_func_isinf_use=no
71352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71353 ac_ext=c
71354 ac_cpp='$CPP $CPPFLAGS'
71355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
71364 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
71366 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
71367 for ac_func in isinf
71368 do :
71369 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
71370 if test "x$ac_cv_func_isinf" = x""yes; then :
71371 cat >>confdefs.h <<_ACEOF
71372 #define HAVE_ISINF 1
71373 _ACEOF
71376 done
71378 else
71380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
71381 $as_echo_n "checking for _isinf declaration... " >&6; }
71382 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
71383 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
71384 $as_echo_n "(cached) " >&6
71385 else
71388 ac_ext=cpp
71389 ac_cpp='$CXXCPP $CPPFLAGS'
71390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71395 /* end confdefs.h. */
71396 #include <math.h>
71397 #ifdef HAVE_IEEEFP_H
71398 #include <ieeefp.h>
71399 #endif
71402 main ()
71404 _isinf(0);
71406 return 0;
71408 _ACEOF
71409 if ac_fn_cxx_try_compile "$LINENO"; then :
71410 glibcxx_cv_func__isinf_use=yes
71411 else
71412 glibcxx_cv_func__isinf_use=no
71414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71415 ac_ext=c
71416 ac_cpp='$CPP $CPPFLAGS'
71417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
71426 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
71428 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
71429 for ac_func in _isinf
71430 do :
71431 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
71432 if test "x$ac_cv_func__isinf" = x""yes; then :
71433 cat >>confdefs.h <<_ACEOF
71434 #define HAVE__ISINF 1
71435 _ACEOF
71438 done
71447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
71448 $as_echo_n "checking for isnan declaration... " >&6; }
71449 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
71450 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
71451 $as_echo_n "(cached) " >&6
71452 else
71455 ac_ext=cpp
71456 ac_cpp='$CXXCPP $CPPFLAGS'
71457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71462 /* end confdefs.h. */
71463 #include <math.h>
71464 #ifdef HAVE_IEEEFP_H
71465 #include <ieeefp.h>
71466 #endif
71469 main ()
71471 isnan(0);
71473 return 0;
71475 _ACEOF
71476 if ac_fn_cxx_try_compile "$LINENO"; then :
71477 glibcxx_cv_func_isnan_use=yes
71478 else
71479 glibcxx_cv_func_isnan_use=no
71481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71482 ac_ext=c
71483 ac_cpp='$CPP $CPPFLAGS'
71484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
71493 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
71495 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
71496 for ac_func in isnan
71497 do :
71498 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
71499 if test "x$ac_cv_func_isnan" = x""yes; then :
71500 cat >>confdefs.h <<_ACEOF
71501 #define HAVE_ISNAN 1
71502 _ACEOF
71505 done
71507 else
71509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
71510 $as_echo_n "checking for _isnan declaration... " >&6; }
71511 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
71512 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
71513 $as_echo_n "(cached) " >&6
71514 else
71517 ac_ext=cpp
71518 ac_cpp='$CXXCPP $CPPFLAGS'
71519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71524 /* end confdefs.h. */
71525 #include <math.h>
71526 #ifdef HAVE_IEEEFP_H
71527 #include <ieeefp.h>
71528 #endif
71531 main ()
71533 _isnan(0);
71535 return 0;
71537 _ACEOF
71538 if ac_fn_cxx_try_compile "$LINENO"; then :
71539 glibcxx_cv_func__isnan_use=yes
71540 else
71541 glibcxx_cv_func__isnan_use=no
71543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71544 ac_ext=c
71545 ac_cpp='$CPP $CPPFLAGS'
71546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
71555 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
71557 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
71558 for ac_func in _isnan
71559 do :
71560 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
71561 if test "x$ac_cv_func__isnan" = x""yes; then :
71562 cat >>confdefs.h <<_ACEOF
71563 #define HAVE__ISNAN 1
71564 _ACEOF
71567 done
71576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
71577 $as_echo_n "checking for finite declaration... " >&6; }
71578 if test x${glibcxx_cv_func_finite_use+set} != xset; then
71579 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
71580 $as_echo_n "(cached) " >&6
71581 else
71584 ac_ext=cpp
71585 ac_cpp='$CXXCPP $CPPFLAGS'
71586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71591 /* end confdefs.h. */
71592 #include <math.h>
71593 #ifdef HAVE_IEEEFP_H
71594 #include <ieeefp.h>
71595 #endif
71598 main ()
71600 finite(0);
71602 return 0;
71604 _ACEOF
71605 if ac_fn_cxx_try_compile "$LINENO"; then :
71606 glibcxx_cv_func_finite_use=yes
71607 else
71608 glibcxx_cv_func_finite_use=no
71610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71611 ac_ext=c
71612 ac_cpp='$CPP $CPPFLAGS'
71613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
71622 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
71624 if test x$glibcxx_cv_func_finite_use = x"yes"; then
71625 for ac_func in finite
71626 do :
71627 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
71628 if test "x$ac_cv_func_finite" = x""yes; then :
71629 cat >>confdefs.h <<_ACEOF
71630 #define HAVE_FINITE 1
71631 _ACEOF
71634 done
71636 else
71638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
71639 $as_echo_n "checking for _finite declaration... " >&6; }
71640 if test x${glibcxx_cv_func__finite_use+set} != xset; then
71641 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
71642 $as_echo_n "(cached) " >&6
71643 else
71646 ac_ext=cpp
71647 ac_cpp='$CXXCPP $CPPFLAGS'
71648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71653 /* end confdefs.h. */
71654 #include <math.h>
71655 #ifdef HAVE_IEEEFP_H
71656 #include <ieeefp.h>
71657 #endif
71660 main ()
71662 _finite(0);
71664 return 0;
71666 _ACEOF
71667 if ac_fn_cxx_try_compile "$LINENO"; then :
71668 glibcxx_cv_func__finite_use=yes
71669 else
71670 glibcxx_cv_func__finite_use=no
71672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71673 ac_ext=c
71674 ac_cpp='$CPP $CPPFLAGS'
71675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
71684 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
71686 if test x$glibcxx_cv_func__finite_use = x"yes"; then
71687 for ac_func in _finite
71688 do :
71689 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
71690 if test "x$ac_cv_func__finite" = x""yes; then :
71691 cat >>confdefs.h <<_ACEOF
71692 #define HAVE__FINITE 1
71693 _ACEOF
71696 done
71705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
71706 $as_echo_n "checking for sincos declaration... " >&6; }
71707 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
71708 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
71709 $as_echo_n "(cached) " >&6
71710 else
71713 ac_ext=cpp
71714 ac_cpp='$CXXCPP $CPPFLAGS'
71715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71720 /* end confdefs.h. */
71721 #include <math.h>
71723 main ()
71725 sincos(0, 0, 0);
71727 return 0;
71729 _ACEOF
71730 if ac_fn_cxx_try_compile "$LINENO"; then :
71731 glibcxx_cv_func_sincos_use=yes
71732 else
71733 glibcxx_cv_func_sincos_use=no
71735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71736 ac_ext=c
71737 ac_cpp='$CPP $CPPFLAGS'
71738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
71747 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
71749 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
71750 for ac_func in sincos
71751 do :
71752 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
71753 if test "x$ac_cv_func_sincos" = x""yes; then :
71754 cat >>confdefs.h <<_ACEOF
71755 #define HAVE_SINCOS 1
71756 _ACEOF
71759 done
71761 else
71763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
71764 $as_echo_n "checking for _sincos declaration... " >&6; }
71765 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
71766 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
71767 $as_echo_n "(cached) " >&6
71768 else
71771 ac_ext=cpp
71772 ac_cpp='$CXXCPP $CPPFLAGS'
71773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71778 /* end confdefs.h. */
71779 #include <math.h>
71781 main ()
71783 _sincos(0, 0, 0);
71785 return 0;
71787 _ACEOF
71788 if ac_fn_cxx_try_compile "$LINENO"; then :
71789 glibcxx_cv_func__sincos_use=yes
71790 else
71791 glibcxx_cv_func__sincos_use=no
71793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71794 ac_ext=c
71795 ac_cpp='$CPP $CPPFLAGS'
71796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
71805 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
71807 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
71808 for ac_func in _sincos
71809 do :
71810 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
71811 if test "x$ac_cv_func__sincos" = x""yes; then :
71812 cat >>confdefs.h <<_ACEOF
71813 #define HAVE__SINCOS 1
71814 _ACEOF
71817 done
71826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
71827 $as_echo_n "checking for fpclass declaration... " >&6; }
71828 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
71829 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
71830 $as_echo_n "(cached) " >&6
71831 else
71834 ac_ext=cpp
71835 ac_cpp='$CXXCPP $CPPFLAGS'
71836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71841 /* end confdefs.h. */
71842 #include <math.h>
71843 #ifdef HAVE_IEEEFP_H
71844 #include <ieeefp.h>
71845 #endif
71848 main ()
71850 fpclass(0);
71852 return 0;
71854 _ACEOF
71855 if ac_fn_cxx_try_compile "$LINENO"; then :
71856 glibcxx_cv_func_fpclass_use=yes
71857 else
71858 glibcxx_cv_func_fpclass_use=no
71860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71861 ac_ext=c
71862 ac_cpp='$CPP $CPPFLAGS'
71863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
71872 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
71874 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
71875 for ac_func in fpclass
71876 do :
71877 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
71878 if test "x$ac_cv_func_fpclass" = x""yes; then :
71879 cat >>confdefs.h <<_ACEOF
71880 #define HAVE_FPCLASS 1
71881 _ACEOF
71884 done
71886 else
71888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
71889 $as_echo_n "checking for _fpclass declaration... " >&6; }
71890 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
71891 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
71892 $as_echo_n "(cached) " >&6
71893 else
71896 ac_ext=cpp
71897 ac_cpp='$CXXCPP $CPPFLAGS'
71898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71903 /* end confdefs.h. */
71904 #include <math.h>
71905 #ifdef HAVE_IEEEFP_H
71906 #include <ieeefp.h>
71907 #endif
71910 main ()
71912 _fpclass(0);
71914 return 0;
71916 _ACEOF
71917 if ac_fn_cxx_try_compile "$LINENO"; then :
71918 glibcxx_cv_func__fpclass_use=yes
71919 else
71920 glibcxx_cv_func__fpclass_use=no
71922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71923 ac_ext=c
71924 ac_cpp='$CPP $CPPFLAGS'
71925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
71934 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
71936 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
71937 for ac_func in _fpclass
71938 do :
71939 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
71940 if test "x$ac_cv_func__fpclass" = x""yes; then :
71941 cat >>confdefs.h <<_ACEOF
71942 #define HAVE__FPCLASS 1
71943 _ACEOF
71946 done
71955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
71956 $as_echo_n "checking for qfpclass declaration... " >&6; }
71957 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
71958 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
71959 $as_echo_n "(cached) " >&6
71960 else
71963 ac_ext=cpp
71964 ac_cpp='$CXXCPP $CPPFLAGS'
71965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71970 /* end confdefs.h. */
71971 #include <math.h>
71972 #ifdef HAVE_IEEEFP_H
71973 #include <ieeefp.h>
71974 #endif
71977 main ()
71979 qfpclass(0);
71981 return 0;
71983 _ACEOF
71984 if ac_fn_cxx_try_compile "$LINENO"; then :
71985 glibcxx_cv_func_qfpclass_use=yes
71986 else
71987 glibcxx_cv_func_qfpclass_use=no
71989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71990 ac_ext=c
71991 ac_cpp='$CPP $CPPFLAGS'
71992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
72001 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
72003 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
72004 for ac_func in qfpclass
72005 do :
72006 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
72007 if test "x$ac_cv_func_qfpclass" = x""yes; then :
72008 cat >>confdefs.h <<_ACEOF
72009 #define HAVE_QFPCLASS 1
72010 _ACEOF
72013 done
72015 else
72017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
72018 $as_echo_n "checking for _qfpclass declaration... " >&6; }
72019 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
72020 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
72021 $as_echo_n "(cached) " >&6
72022 else
72025 ac_ext=cpp
72026 ac_cpp='$CXXCPP $CPPFLAGS'
72027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72032 /* end confdefs.h. */
72033 #include <math.h>
72034 #ifdef HAVE_IEEEFP_H
72035 #include <ieeefp.h>
72036 #endif
72039 main ()
72041 _qfpclass(0);
72043 return 0;
72045 _ACEOF
72046 if ac_fn_cxx_try_compile "$LINENO"; then :
72047 glibcxx_cv_func__qfpclass_use=yes
72048 else
72049 glibcxx_cv_func__qfpclass_use=no
72051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72052 ac_ext=c
72053 ac_cpp='$CPP $CPPFLAGS'
72054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
72063 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
72065 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
72066 for ac_func in _qfpclass
72067 do :
72068 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
72069 if test "x$ac_cv_func__qfpclass" = x""yes; then :
72070 cat >>confdefs.h <<_ACEOF
72071 #define HAVE__QFPCLASS 1
72072 _ACEOF
72075 done
72084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
72085 $as_echo_n "checking for hypot declaration... " >&6; }
72086 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
72087 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
72088 $as_echo_n "(cached) " >&6
72089 else
72092 ac_ext=cpp
72093 ac_cpp='$CXXCPP $CPPFLAGS'
72094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72099 /* end confdefs.h. */
72100 #include <math.h>
72102 main ()
72104 hypot(0, 0);
72106 return 0;
72108 _ACEOF
72109 if ac_fn_cxx_try_compile "$LINENO"; then :
72110 glibcxx_cv_func_hypot_use=yes
72111 else
72112 glibcxx_cv_func_hypot_use=no
72114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72115 ac_ext=c
72116 ac_cpp='$CPP $CPPFLAGS'
72117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
72126 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
72128 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
72129 for ac_func in hypot
72130 do :
72131 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
72132 if test "x$ac_cv_func_hypot" = x""yes; then :
72133 cat >>confdefs.h <<_ACEOF
72134 #define HAVE_HYPOT 1
72135 _ACEOF
72138 done
72140 else
72142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
72143 $as_echo_n "checking for _hypot declaration... " >&6; }
72144 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
72145 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
72146 $as_echo_n "(cached) " >&6
72147 else
72150 ac_ext=cpp
72151 ac_cpp='$CXXCPP $CPPFLAGS'
72152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72157 /* end confdefs.h. */
72158 #include <math.h>
72160 main ()
72162 _hypot(0, 0);
72164 return 0;
72166 _ACEOF
72167 if ac_fn_cxx_try_compile "$LINENO"; then :
72168 glibcxx_cv_func__hypot_use=yes
72169 else
72170 glibcxx_cv_func__hypot_use=no
72172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72173 ac_ext=c
72174 ac_cpp='$CPP $CPPFLAGS'
72175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
72184 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
72186 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
72187 for ac_func in _hypot
72188 do :
72189 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
72190 if test "x$ac_cv_func__hypot" = x""yes; then :
72191 cat >>confdefs.h <<_ACEOF
72192 #define HAVE__HYPOT 1
72193 _ACEOF
72196 done
72205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
72206 $as_echo_n "checking for float trig functions... " >&6; }
72207 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
72208 $as_echo_n "(cached) " >&6
72209 else
72212 ac_ext=cpp
72213 ac_cpp='$CXXCPP $CPPFLAGS'
72214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72219 /* end confdefs.h. */
72220 #include <math.h>
72222 main ()
72224 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
72226 return 0;
72228 _ACEOF
72229 if ac_fn_cxx_try_compile "$LINENO"; then :
72230 glibcxx_cv_func_float_trig_use=yes
72231 else
72232 glibcxx_cv_func_float_trig_use=no
72234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72235 ac_ext=c
72236 ac_cpp='$CPP $CPPFLAGS'
72237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
72244 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
72245 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
72246 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
72247 do :
72248 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
72249 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
72250 eval as_val=\$$as_ac_var
72251 if test "x$as_val" = x""yes; then :
72252 cat >>confdefs.h <<_ACEOF
72253 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
72254 _ACEOF
72257 done
72259 else
72260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
72261 $as_echo_n "checking for _float trig functions... " >&6; }
72262 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
72263 $as_echo_n "(cached) " >&6
72264 else
72267 ac_ext=cpp
72268 ac_cpp='$CXXCPP $CPPFLAGS'
72269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72274 /* end confdefs.h. */
72275 #include <math.h>
72277 main ()
72279 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
72281 return 0;
72283 _ACEOF
72284 if ac_fn_cxx_try_compile "$LINENO"; then :
72285 glibcxx_cv_func__float_trig_use=yes
72286 else
72287 glibcxx_cv_func__float_trig_use=no
72289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72290 ac_ext=c
72291 ac_cpp='$CPP $CPPFLAGS'
72292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
72299 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
72300 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
72301 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
72302 do :
72303 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
72304 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
72305 eval as_val=\$$as_ac_var
72306 if test "x$as_val" = x""yes; then :
72307 cat >>confdefs.h <<_ACEOF
72308 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
72309 _ACEOF
72312 done
72321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
72322 $as_echo_n "checking for float round functions... " >&6; }
72323 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
72324 $as_echo_n "(cached) " >&6
72325 else
72328 ac_ext=cpp
72329 ac_cpp='$CXXCPP $CPPFLAGS'
72330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72335 /* end confdefs.h. */
72336 #include <math.h>
72338 main ()
72340 ceilf (0); floorf (0);
72342 return 0;
72344 _ACEOF
72345 if ac_fn_cxx_try_compile "$LINENO"; then :
72346 glibcxx_cv_func_float_round_use=yes
72347 else
72348 glibcxx_cv_func_float_round_use=no
72350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72351 ac_ext=c
72352 ac_cpp='$CPP $CPPFLAGS'
72353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
72360 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
72361 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
72362 for ac_func in ceilf floorf
72363 do :
72364 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
72365 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
72366 eval as_val=\$$as_ac_var
72367 if test "x$as_val" = x""yes; then :
72368 cat >>confdefs.h <<_ACEOF
72369 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
72370 _ACEOF
72373 done
72375 else
72376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
72377 $as_echo_n "checking for _float round functions... " >&6; }
72378 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
72379 $as_echo_n "(cached) " >&6
72380 else
72383 ac_ext=cpp
72384 ac_cpp='$CXXCPP $CPPFLAGS'
72385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72390 /* end confdefs.h. */
72391 #include <math.h>
72393 main ()
72395 _ceilf (0); _floorf (0);
72397 return 0;
72399 _ACEOF
72400 if ac_fn_cxx_try_compile "$LINENO"; then :
72401 glibcxx_cv_func__float_round_use=yes
72402 else
72403 glibcxx_cv_func__float_round_use=no
72405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72406 ac_ext=c
72407 ac_cpp='$CPP $CPPFLAGS'
72408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
72415 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
72416 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
72417 for ac_func in _ceilf _floorf
72418 do :
72419 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
72420 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
72421 eval as_val=\$$as_ac_var
72422 if test "x$as_val" = x""yes; then :
72423 cat >>confdefs.h <<_ACEOF
72424 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
72425 _ACEOF
72428 done
72438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
72439 $as_echo_n "checking for expf declaration... " >&6; }
72440 if test x${glibcxx_cv_func_expf_use+set} != xset; then
72441 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
72442 $as_echo_n "(cached) " >&6
72443 else
72446 ac_ext=cpp
72447 ac_cpp='$CXXCPP $CPPFLAGS'
72448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72453 /* end confdefs.h. */
72454 #include <math.h>
72455 #ifdef HAVE_IEEEFP_H
72456 #include <ieeefp.h>
72457 #endif
72460 main ()
72462 expf(0);
72464 return 0;
72466 _ACEOF
72467 if ac_fn_cxx_try_compile "$LINENO"; then :
72468 glibcxx_cv_func_expf_use=yes
72469 else
72470 glibcxx_cv_func_expf_use=no
72472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72473 ac_ext=c
72474 ac_cpp='$CPP $CPPFLAGS'
72475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
72484 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
72486 if test x$glibcxx_cv_func_expf_use = x"yes"; then
72487 for ac_func in expf
72488 do :
72489 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
72490 if test "x$ac_cv_func_expf" = x""yes; then :
72491 cat >>confdefs.h <<_ACEOF
72492 #define HAVE_EXPF 1
72493 _ACEOF
72496 done
72498 else
72500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
72501 $as_echo_n "checking for _expf declaration... " >&6; }
72502 if test x${glibcxx_cv_func__expf_use+set} != xset; then
72503 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
72504 $as_echo_n "(cached) " >&6
72505 else
72508 ac_ext=cpp
72509 ac_cpp='$CXXCPP $CPPFLAGS'
72510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72515 /* end confdefs.h. */
72516 #include <math.h>
72517 #ifdef HAVE_IEEEFP_H
72518 #include <ieeefp.h>
72519 #endif
72522 main ()
72524 _expf(0);
72526 return 0;
72528 _ACEOF
72529 if ac_fn_cxx_try_compile "$LINENO"; then :
72530 glibcxx_cv_func__expf_use=yes
72531 else
72532 glibcxx_cv_func__expf_use=no
72534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72535 ac_ext=c
72536 ac_cpp='$CPP $CPPFLAGS'
72537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
72546 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
72548 if test x$glibcxx_cv_func__expf_use = x"yes"; then
72549 for ac_func in _expf
72550 do :
72551 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
72552 if test "x$ac_cv_func__expf" = x""yes; then :
72553 cat >>confdefs.h <<_ACEOF
72554 #define HAVE__EXPF 1
72555 _ACEOF
72558 done
72567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
72568 $as_echo_n "checking for isnanf declaration... " >&6; }
72569 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
72570 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
72571 $as_echo_n "(cached) " >&6
72572 else
72575 ac_ext=cpp
72576 ac_cpp='$CXXCPP $CPPFLAGS'
72577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72582 /* end confdefs.h. */
72583 #include <math.h>
72584 #ifdef HAVE_IEEEFP_H
72585 #include <ieeefp.h>
72586 #endif
72589 main ()
72591 isnanf(0);
72593 return 0;
72595 _ACEOF
72596 if ac_fn_cxx_try_compile "$LINENO"; then :
72597 glibcxx_cv_func_isnanf_use=yes
72598 else
72599 glibcxx_cv_func_isnanf_use=no
72601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72602 ac_ext=c
72603 ac_cpp='$CPP $CPPFLAGS'
72604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
72613 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
72615 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
72616 for ac_func in isnanf
72617 do :
72618 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
72619 if test "x$ac_cv_func_isnanf" = x""yes; then :
72620 cat >>confdefs.h <<_ACEOF
72621 #define HAVE_ISNANF 1
72622 _ACEOF
72625 done
72627 else
72629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
72630 $as_echo_n "checking for _isnanf declaration... " >&6; }
72631 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
72632 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
72633 $as_echo_n "(cached) " >&6
72634 else
72637 ac_ext=cpp
72638 ac_cpp='$CXXCPP $CPPFLAGS'
72639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72644 /* end confdefs.h. */
72645 #include <math.h>
72646 #ifdef HAVE_IEEEFP_H
72647 #include <ieeefp.h>
72648 #endif
72651 main ()
72653 _isnanf(0);
72655 return 0;
72657 _ACEOF
72658 if ac_fn_cxx_try_compile "$LINENO"; then :
72659 glibcxx_cv_func__isnanf_use=yes
72660 else
72661 glibcxx_cv_func__isnanf_use=no
72663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72664 ac_ext=c
72665 ac_cpp='$CPP $CPPFLAGS'
72666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
72675 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
72677 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
72678 for ac_func in _isnanf
72679 do :
72680 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
72681 if test "x$ac_cv_func__isnanf" = x""yes; then :
72682 cat >>confdefs.h <<_ACEOF
72683 #define HAVE__ISNANF 1
72684 _ACEOF
72687 done
72696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
72697 $as_echo_n "checking for isinff declaration... " >&6; }
72698 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
72699 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
72700 $as_echo_n "(cached) " >&6
72701 else
72704 ac_ext=cpp
72705 ac_cpp='$CXXCPP $CPPFLAGS'
72706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72711 /* end confdefs.h. */
72712 #include <math.h>
72713 #ifdef HAVE_IEEEFP_H
72714 #include <ieeefp.h>
72715 #endif
72718 main ()
72720 isinff(0);
72722 return 0;
72724 _ACEOF
72725 if ac_fn_cxx_try_compile "$LINENO"; then :
72726 glibcxx_cv_func_isinff_use=yes
72727 else
72728 glibcxx_cv_func_isinff_use=no
72730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72731 ac_ext=c
72732 ac_cpp='$CPP $CPPFLAGS'
72733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
72742 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
72744 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
72745 for ac_func in isinff
72746 do :
72747 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
72748 if test "x$ac_cv_func_isinff" = x""yes; then :
72749 cat >>confdefs.h <<_ACEOF
72750 #define HAVE_ISINFF 1
72751 _ACEOF
72754 done
72756 else
72758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
72759 $as_echo_n "checking for _isinff declaration... " >&6; }
72760 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
72761 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
72762 $as_echo_n "(cached) " >&6
72763 else
72766 ac_ext=cpp
72767 ac_cpp='$CXXCPP $CPPFLAGS'
72768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72773 /* end confdefs.h. */
72774 #include <math.h>
72775 #ifdef HAVE_IEEEFP_H
72776 #include <ieeefp.h>
72777 #endif
72780 main ()
72782 _isinff(0);
72784 return 0;
72786 _ACEOF
72787 if ac_fn_cxx_try_compile "$LINENO"; then :
72788 glibcxx_cv_func__isinff_use=yes
72789 else
72790 glibcxx_cv_func__isinff_use=no
72792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72793 ac_ext=c
72794 ac_cpp='$CPP $CPPFLAGS'
72795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
72804 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
72806 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
72807 for ac_func in _isinff
72808 do :
72809 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
72810 if test "x$ac_cv_func__isinff" = x""yes; then :
72811 cat >>confdefs.h <<_ACEOF
72812 #define HAVE__ISINFF 1
72813 _ACEOF
72816 done
72825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
72826 $as_echo_n "checking for atan2f declaration... " >&6; }
72827 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
72828 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
72829 $as_echo_n "(cached) " >&6
72830 else
72833 ac_ext=cpp
72834 ac_cpp='$CXXCPP $CPPFLAGS'
72835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72840 /* end confdefs.h. */
72841 #include <math.h>
72843 main ()
72845 atan2f(0, 0);
72847 return 0;
72849 _ACEOF
72850 if ac_fn_cxx_try_compile "$LINENO"; then :
72851 glibcxx_cv_func_atan2f_use=yes
72852 else
72853 glibcxx_cv_func_atan2f_use=no
72855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72856 ac_ext=c
72857 ac_cpp='$CPP $CPPFLAGS'
72858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
72867 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
72869 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
72870 for ac_func in atan2f
72871 do :
72872 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
72873 if test "x$ac_cv_func_atan2f" = x""yes; then :
72874 cat >>confdefs.h <<_ACEOF
72875 #define HAVE_ATAN2F 1
72876 _ACEOF
72879 done
72881 else
72883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
72884 $as_echo_n "checking for _atan2f declaration... " >&6; }
72885 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
72886 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
72887 $as_echo_n "(cached) " >&6
72888 else
72891 ac_ext=cpp
72892 ac_cpp='$CXXCPP $CPPFLAGS'
72893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72898 /* end confdefs.h. */
72899 #include <math.h>
72901 main ()
72903 _atan2f(0, 0);
72905 return 0;
72907 _ACEOF
72908 if ac_fn_cxx_try_compile "$LINENO"; then :
72909 glibcxx_cv_func__atan2f_use=yes
72910 else
72911 glibcxx_cv_func__atan2f_use=no
72913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72914 ac_ext=c
72915 ac_cpp='$CPP $CPPFLAGS'
72916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
72925 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
72927 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
72928 for ac_func in _atan2f
72929 do :
72930 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
72931 if test "x$ac_cv_func__atan2f" = x""yes; then :
72932 cat >>confdefs.h <<_ACEOF
72933 #define HAVE__ATAN2F 1
72934 _ACEOF
72937 done
72946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
72947 $as_echo_n "checking for fabsf declaration... " >&6; }
72948 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
72949 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
72950 $as_echo_n "(cached) " >&6
72951 else
72954 ac_ext=cpp
72955 ac_cpp='$CXXCPP $CPPFLAGS'
72956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72961 /* end confdefs.h. */
72962 #include <math.h>
72963 #ifdef HAVE_IEEEFP_H
72964 #include <ieeefp.h>
72965 #endif
72968 main ()
72970 fabsf(0);
72972 return 0;
72974 _ACEOF
72975 if ac_fn_cxx_try_compile "$LINENO"; then :
72976 glibcxx_cv_func_fabsf_use=yes
72977 else
72978 glibcxx_cv_func_fabsf_use=no
72980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72981 ac_ext=c
72982 ac_cpp='$CPP $CPPFLAGS'
72983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
72992 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
72994 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
72995 for ac_func in fabsf
72996 do :
72997 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
72998 if test "x$ac_cv_func_fabsf" = x""yes; then :
72999 cat >>confdefs.h <<_ACEOF
73000 #define HAVE_FABSF 1
73001 _ACEOF
73004 done
73006 else
73008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
73009 $as_echo_n "checking for _fabsf declaration... " >&6; }
73010 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
73011 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
73012 $as_echo_n "(cached) " >&6
73013 else
73016 ac_ext=cpp
73017 ac_cpp='$CXXCPP $CPPFLAGS'
73018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73023 /* end confdefs.h. */
73024 #include <math.h>
73025 #ifdef HAVE_IEEEFP_H
73026 #include <ieeefp.h>
73027 #endif
73030 main ()
73032 _fabsf(0);
73034 return 0;
73036 _ACEOF
73037 if ac_fn_cxx_try_compile "$LINENO"; then :
73038 glibcxx_cv_func__fabsf_use=yes
73039 else
73040 glibcxx_cv_func__fabsf_use=no
73042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73043 ac_ext=c
73044 ac_cpp='$CPP $CPPFLAGS'
73045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
73054 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
73056 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
73057 for ac_func in _fabsf
73058 do :
73059 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
73060 if test "x$ac_cv_func__fabsf" = x""yes; then :
73061 cat >>confdefs.h <<_ACEOF
73062 #define HAVE__FABSF 1
73063 _ACEOF
73066 done
73075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
73076 $as_echo_n "checking for fmodf declaration... " >&6; }
73077 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
73078 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
73079 $as_echo_n "(cached) " >&6
73080 else
73083 ac_ext=cpp
73084 ac_cpp='$CXXCPP $CPPFLAGS'
73085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73090 /* end confdefs.h. */
73091 #include <math.h>
73093 main ()
73095 fmodf(0, 0);
73097 return 0;
73099 _ACEOF
73100 if ac_fn_cxx_try_compile "$LINENO"; then :
73101 glibcxx_cv_func_fmodf_use=yes
73102 else
73103 glibcxx_cv_func_fmodf_use=no
73105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73106 ac_ext=c
73107 ac_cpp='$CPP $CPPFLAGS'
73108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
73117 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
73119 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
73120 for ac_func in fmodf
73121 do :
73122 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
73123 if test "x$ac_cv_func_fmodf" = x""yes; then :
73124 cat >>confdefs.h <<_ACEOF
73125 #define HAVE_FMODF 1
73126 _ACEOF
73129 done
73131 else
73133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
73134 $as_echo_n "checking for _fmodf declaration... " >&6; }
73135 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
73136 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
73137 $as_echo_n "(cached) " >&6
73138 else
73141 ac_ext=cpp
73142 ac_cpp='$CXXCPP $CPPFLAGS'
73143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73148 /* end confdefs.h. */
73149 #include <math.h>
73151 main ()
73153 _fmodf(0, 0);
73155 return 0;
73157 _ACEOF
73158 if ac_fn_cxx_try_compile "$LINENO"; then :
73159 glibcxx_cv_func__fmodf_use=yes
73160 else
73161 glibcxx_cv_func__fmodf_use=no
73163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73164 ac_ext=c
73165 ac_cpp='$CPP $CPPFLAGS'
73166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
73175 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
73177 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
73178 for ac_func in _fmodf
73179 do :
73180 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
73181 if test "x$ac_cv_func__fmodf" = x""yes; then :
73182 cat >>confdefs.h <<_ACEOF
73183 #define HAVE__FMODF 1
73184 _ACEOF
73187 done
73196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
73197 $as_echo_n "checking for frexpf declaration... " >&6; }
73198 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
73199 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
73200 $as_echo_n "(cached) " >&6
73201 else
73204 ac_ext=cpp
73205 ac_cpp='$CXXCPP $CPPFLAGS'
73206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73211 /* end confdefs.h. */
73212 #include <math.h>
73214 main ()
73216 frexpf(0, 0);
73218 return 0;
73220 _ACEOF
73221 if ac_fn_cxx_try_compile "$LINENO"; then :
73222 glibcxx_cv_func_frexpf_use=yes
73223 else
73224 glibcxx_cv_func_frexpf_use=no
73226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73227 ac_ext=c
73228 ac_cpp='$CPP $CPPFLAGS'
73229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
73238 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
73240 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
73241 for ac_func in frexpf
73242 do :
73243 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
73244 if test "x$ac_cv_func_frexpf" = x""yes; then :
73245 cat >>confdefs.h <<_ACEOF
73246 #define HAVE_FREXPF 1
73247 _ACEOF
73250 done
73252 else
73254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
73255 $as_echo_n "checking for _frexpf declaration... " >&6; }
73256 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
73257 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
73258 $as_echo_n "(cached) " >&6
73259 else
73262 ac_ext=cpp
73263 ac_cpp='$CXXCPP $CPPFLAGS'
73264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73269 /* end confdefs.h. */
73270 #include <math.h>
73272 main ()
73274 _frexpf(0, 0);
73276 return 0;
73278 _ACEOF
73279 if ac_fn_cxx_try_compile "$LINENO"; then :
73280 glibcxx_cv_func__frexpf_use=yes
73281 else
73282 glibcxx_cv_func__frexpf_use=no
73284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73285 ac_ext=c
73286 ac_cpp='$CPP $CPPFLAGS'
73287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
73296 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
73298 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
73299 for ac_func in _frexpf
73300 do :
73301 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
73302 if test "x$ac_cv_func__frexpf" = x""yes; then :
73303 cat >>confdefs.h <<_ACEOF
73304 #define HAVE__FREXPF 1
73305 _ACEOF
73308 done
73317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
73318 $as_echo_n "checking for hypotf declaration... " >&6; }
73319 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
73320 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
73321 $as_echo_n "(cached) " >&6
73322 else
73325 ac_ext=cpp
73326 ac_cpp='$CXXCPP $CPPFLAGS'
73327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73332 /* end confdefs.h. */
73333 #include <math.h>
73335 main ()
73337 hypotf(0, 0);
73339 return 0;
73341 _ACEOF
73342 if ac_fn_cxx_try_compile "$LINENO"; then :
73343 glibcxx_cv_func_hypotf_use=yes
73344 else
73345 glibcxx_cv_func_hypotf_use=no
73347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73348 ac_ext=c
73349 ac_cpp='$CPP $CPPFLAGS'
73350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
73359 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
73361 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
73362 for ac_func in hypotf
73363 do :
73364 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
73365 if test "x$ac_cv_func_hypotf" = x""yes; then :
73366 cat >>confdefs.h <<_ACEOF
73367 #define HAVE_HYPOTF 1
73368 _ACEOF
73371 done
73373 else
73375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
73376 $as_echo_n "checking for _hypotf declaration... " >&6; }
73377 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
73378 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
73379 $as_echo_n "(cached) " >&6
73380 else
73383 ac_ext=cpp
73384 ac_cpp='$CXXCPP $CPPFLAGS'
73385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73390 /* end confdefs.h. */
73391 #include <math.h>
73393 main ()
73395 _hypotf(0, 0);
73397 return 0;
73399 _ACEOF
73400 if ac_fn_cxx_try_compile "$LINENO"; then :
73401 glibcxx_cv_func__hypotf_use=yes
73402 else
73403 glibcxx_cv_func__hypotf_use=no
73405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73406 ac_ext=c
73407 ac_cpp='$CPP $CPPFLAGS'
73408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
73417 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
73419 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
73420 for ac_func in _hypotf
73421 do :
73422 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
73423 if test "x$ac_cv_func__hypotf" = x""yes; then :
73424 cat >>confdefs.h <<_ACEOF
73425 #define HAVE__HYPOTF 1
73426 _ACEOF
73429 done
73438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
73439 $as_echo_n "checking for ldexpf declaration... " >&6; }
73440 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
73441 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
73442 $as_echo_n "(cached) " >&6
73443 else
73446 ac_ext=cpp
73447 ac_cpp='$CXXCPP $CPPFLAGS'
73448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73453 /* end confdefs.h. */
73454 #include <math.h>
73456 main ()
73458 ldexpf(0, 0);
73460 return 0;
73462 _ACEOF
73463 if ac_fn_cxx_try_compile "$LINENO"; then :
73464 glibcxx_cv_func_ldexpf_use=yes
73465 else
73466 glibcxx_cv_func_ldexpf_use=no
73468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73469 ac_ext=c
73470 ac_cpp='$CPP $CPPFLAGS'
73471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
73480 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
73482 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
73483 for ac_func in ldexpf
73484 do :
73485 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
73486 if test "x$ac_cv_func_ldexpf" = x""yes; then :
73487 cat >>confdefs.h <<_ACEOF
73488 #define HAVE_LDEXPF 1
73489 _ACEOF
73492 done
73494 else
73496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
73497 $as_echo_n "checking for _ldexpf declaration... " >&6; }
73498 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
73499 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
73500 $as_echo_n "(cached) " >&6
73501 else
73504 ac_ext=cpp
73505 ac_cpp='$CXXCPP $CPPFLAGS'
73506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73511 /* end confdefs.h. */
73512 #include <math.h>
73514 main ()
73516 _ldexpf(0, 0);
73518 return 0;
73520 _ACEOF
73521 if ac_fn_cxx_try_compile "$LINENO"; then :
73522 glibcxx_cv_func__ldexpf_use=yes
73523 else
73524 glibcxx_cv_func__ldexpf_use=no
73526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73527 ac_ext=c
73528 ac_cpp='$CPP $CPPFLAGS'
73529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
73538 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
73540 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
73541 for ac_func in _ldexpf
73542 do :
73543 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
73544 if test "x$ac_cv_func__ldexpf" = x""yes; then :
73545 cat >>confdefs.h <<_ACEOF
73546 #define HAVE__LDEXPF 1
73547 _ACEOF
73550 done
73559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
73560 $as_echo_n "checking for logf declaration... " >&6; }
73561 if test x${glibcxx_cv_func_logf_use+set} != xset; then
73562 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
73563 $as_echo_n "(cached) " >&6
73564 else
73567 ac_ext=cpp
73568 ac_cpp='$CXXCPP $CPPFLAGS'
73569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73574 /* end confdefs.h. */
73575 #include <math.h>
73576 #ifdef HAVE_IEEEFP_H
73577 #include <ieeefp.h>
73578 #endif
73581 main ()
73583 logf(0);
73585 return 0;
73587 _ACEOF
73588 if ac_fn_cxx_try_compile "$LINENO"; then :
73589 glibcxx_cv_func_logf_use=yes
73590 else
73591 glibcxx_cv_func_logf_use=no
73593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73594 ac_ext=c
73595 ac_cpp='$CPP $CPPFLAGS'
73596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
73605 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
73607 if test x$glibcxx_cv_func_logf_use = x"yes"; then
73608 for ac_func in logf
73609 do :
73610 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
73611 if test "x$ac_cv_func_logf" = x""yes; then :
73612 cat >>confdefs.h <<_ACEOF
73613 #define HAVE_LOGF 1
73614 _ACEOF
73617 done
73619 else
73621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
73622 $as_echo_n "checking for _logf declaration... " >&6; }
73623 if test x${glibcxx_cv_func__logf_use+set} != xset; then
73624 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
73625 $as_echo_n "(cached) " >&6
73626 else
73629 ac_ext=cpp
73630 ac_cpp='$CXXCPP $CPPFLAGS'
73631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73636 /* end confdefs.h. */
73637 #include <math.h>
73638 #ifdef HAVE_IEEEFP_H
73639 #include <ieeefp.h>
73640 #endif
73643 main ()
73645 _logf(0);
73647 return 0;
73649 _ACEOF
73650 if ac_fn_cxx_try_compile "$LINENO"; then :
73651 glibcxx_cv_func__logf_use=yes
73652 else
73653 glibcxx_cv_func__logf_use=no
73655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73656 ac_ext=c
73657 ac_cpp='$CPP $CPPFLAGS'
73658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
73667 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
73669 if test x$glibcxx_cv_func__logf_use = x"yes"; then
73670 for ac_func in _logf
73671 do :
73672 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
73673 if test "x$ac_cv_func__logf" = x""yes; then :
73674 cat >>confdefs.h <<_ACEOF
73675 #define HAVE__LOGF 1
73676 _ACEOF
73679 done
73688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
73689 $as_echo_n "checking for log10f declaration... " >&6; }
73690 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
73691 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
73692 $as_echo_n "(cached) " >&6
73693 else
73696 ac_ext=cpp
73697 ac_cpp='$CXXCPP $CPPFLAGS'
73698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73703 /* end confdefs.h. */
73704 #include <math.h>
73705 #ifdef HAVE_IEEEFP_H
73706 #include <ieeefp.h>
73707 #endif
73710 main ()
73712 log10f(0);
73714 return 0;
73716 _ACEOF
73717 if ac_fn_cxx_try_compile "$LINENO"; then :
73718 glibcxx_cv_func_log10f_use=yes
73719 else
73720 glibcxx_cv_func_log10f_use=no
73722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73723 ac_ext=c
73724 ac_cpp='$CPP $CPPFLAGS'
73725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
73734 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
73736 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
73737 for ac_func in log10f
73738 do :
73739 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
73740 if test "x$ac_cv_func_log10f" = x""yes; then :
73741 cat >>confdefs.h <<_ACEOF
73742 #define HAVE_LOG10F 1
73743 _ACEOF
73746 done
73748 else
73750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
73751 $as_echo_n "checking for _log10f declaration... " >&6; }
73752 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
73753 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
73754 $as_echo_n "(cached) " >&6
73755 else
73758 ac_ext=cpp
73759 ac_cpp='$CXXCPP $CPPFLAGS'
73760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73765 /* end confdefs.h. */
73766 #include <math.h>
73767 #ifdef HAVE_IEEEFP_H
73768 #include <ieeefp.h>
73769 #endif
73772 main ()
73774 _log10f(0);
73776 return 0;
73778 _ACEOF
73779 if ac_fn_cxx_try_compile "$LINENO"; then :
73780 glibcxx_cv_func__log10f_use=yes
73781 else
73782 glibcxx_cv_func__log10f_use=no
73784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73785 ac_ext=c
73786 ac_cpp='$CPP $CPPFLAGS'
73787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
73796 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
73798 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
73799 for ac_func in _log10f
73800 do :
73801 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
73802 if test "x$ac_cv_func__log10f" = x""yes; then :
73803 cat >>confdefs.h <<_ACEOF
73804 #define HAVE__LOG10F 1
73805 _ACEOF
73808 done
73817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
73818 $as_echo_n "checking for modff declaration... " >&6; }
73819 if test x${glibcxx_cv_func_modff_use+set} != xset; then
73820 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
73821 $as_echo_n "(cached) " >&6
73822 else
73825 ac_ext=cpp
73826 ac_cpp='$CXXCPP $CPPFLAGS'
73827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73832 /* end confdefs.h. */
73833 #include <math.h>
73835 main ()
73837 modff(0, 0);
73839 return 0;
73841 _ACEOF
73842 if ac_fn_cxx_try_compile "$LINENO"; then :
73843 glibcxx_cv_func_modff_use=yes
73844 else
73845 glibcxx_cv_func_modff_use=no
73847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73848 ac_ext=c
73849 ac_cpp='$CPP $CPPFLAGS'
73850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
73859 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
73861 if test x$glibcxx_cv_func_modff_use = x"yes"; then
73862 for ac_func in modff
73863 do :
73864 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
73865 if test "x$ac_cv_func_modff" = x""yes; then :
73866 cat >>confdefs.h <<_ACEOF
73867 #define HAVE_MODFF 1
73868 _ACEOF
73871 done
73873 else
73875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
73876 $as_echo_n "checking for _modff declaration... " >&6; }
73877 if test x${glibcxx_cv_func__modff_use+set} != xset; then
73878 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
73879 $as_echo_n "(cached) " >&6
73880 else
73883 ac_ext=cpp
73884 ac_cpp='$CXXCPP $CPPFLAGS'
73885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73890 /* end confdefs.h. */
73891 #include <math.h>
73893 main ()
73895 _modff(0, 0);
73897 return 0;
73899 _ACEOF
73900 if ac_fn_cxx_try_compile "$LINENO"; then :
73901 glibcxx_cv_func__modff_use=yes
73902 else
73903 glibcxx_cv_func__modff_use=no
73905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73906 ac_ext=c
73907 ac_cpp='$CPP $CPPFLAGS'
73908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
73917 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
73919 if test x$glibcxx_cv_func__modff_use = x"yes"; then
73920 for ac_func in _modff
73921 do :
73922 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
73923 if test "x$ac_cv_func__modff" = x""yes; then :
73924 cat >>confdefs.h <<_ACEOF
73925 #define HAVE__MODFF 1
73926 _ACEOF
73929 done
73938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
73939 $as_echo_n "checking for modf declaration... " >&6; }
73940 if test x${glibcxx_cv_func_modf_use+set} != xset; then
73941 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
73942 $as_echo_n "(cached) " >&6
73943 else
73946 ac_ext=cpp
73947 ac_cpp='$CXXCPP $CPPFLAGS'
73948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73953 /* end confdefs.h. */
73954 #include <math.h>
73956 main ()
73958 modf(0, 0);
73960 return 0;
73962 _ACEOF
73963 if ac_fn_cxx_try_compile "$LINENO"; then :
73964 glibcxx_cv_func_modf_use=yes
73965 else
73966 glibcxx_cv_func_modf_use=no
73968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73969 ac_ext=c
73970 ac_cpp='$CPP $CPPFLAGS'
73971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
73980 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
73982 if test x$glibcxx_cv_func_modf_use = x"yes"; then
73983 for ac_func in modf
73984 do :
73985 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
73986 if test "x$ac_cv_func_modf" = x""yes; then :
73987 cat >>confdefs.h <<_ACEOF
73988 #define HAVE_MODF 1
73989 _ACEOF
73992 done
73994 else
73996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
73997 $as_echo_n "checking for _modf declaration... " >&6; }
73998 if test x${glibcxx_cv_func__modf_use+set} != xset; then
73999 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
74000 $as_echo_n "(cached) " >&6
74001 else
74004 ac_ext=cpp
74005 ac_cpp='$CXXCPP $CPPFLAGS'
74006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74011 /* end confdefs.h. */
74012 #include <math.h>
74014 main ()
74016 _modf(0, 0);
74018 return 0;
74020 _ACEOF
74021 if ac_fn_cxx_try_compile "$LINENO"; then :
74022 glibcxx_cv_func__modf_use=yes
74023 else
74024 glibcxx_cv_func__modf_use=no
74026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74027 ac_ext=c
74028 ac_cpp='$CPP $CPPFLAGS'
74029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
74038 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
74040 if test x$glibcxx_cv_func__modf_use = x"yes"; then
74041 for ac_func in _modf
74042 do :
74043 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
74044 if test "x$ac_cv_func__modf" = x""yes; then :
74045 cat >>confdefs.h <<_ACEOF
74046 #define HAVE__MODF 1
74047 _ACEOF
74050 done
74059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
74060 $as_echo_n "checking for powf declaration... " >&6; }
74061 if test x${glibcxx_cv_func_powf_use+set} != xset; then
74062 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
74063 $as_echo_n "(cached) " >&6
74064 else
74067 ac_ext=cpp
74068 ac_cpp='$CXXCPP $CPPFLAGS'
74069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74074 /* end confdefs.h. */
74075 #include <math.h>
74077 main ()
74079 powf(0, 0);
74081 return 0;
74083 _ACEOF
74084 if ac_fn_cxx_try_compile "$LINENO"; then :
74085 glibcxx_cv_func_powf_use=yes
74086 else
74087 glibcxx_cv_func_powf_use=no
74089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74090 ac_ext=c
74091 ac_cpp='$CPP $CPPFLAGS'
74092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
74101 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
74103 if test x$glibcxx_cv_func_powf_use = x"yes"; then
74104 for ac_func in powf
74105 do :
74106 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
74107 if test "x$ac_cv_func_powf" = x""yes; then :
74108 cat >>confdefs.h <<_ACEOF
74109 #define HAVE_POWF 1
74110 _ACEOF
74113 done
74115 else
74117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
74118 $as_echo_n "checking for _powf declaration... " >&6; }
74119 if test x${glibcxx_cv_func__powf_use+set} != xset; then
74120 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
74121 $as_echo_n "(cached) " >&6
74122 else
74125 ac_ext=cpp
74126 ac_cpp='$CXXCPP $CPPFLAGS'
74127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74132 /* end confdefs.h. */
74133 #include <math.h>
74135 main ()
74137 _powf(0, 0);
74139 return 0;
74141 _ACEOF
74142 if ac_fn_cxx_try_compile "$LINENO"; then :
74143 glibcxx_cv_func__powf_use=yes
74144 else
74145 glibcxx_cv_func__powf_use=no
74147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74148 ac_ext=c
74149 ac_cpp='$CPP $CPPFLAGS'
74150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
74159 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
74161 if test x$glibcxx_cv_func__powf_use = x"yes"; then
74162 for ac_func in _powf
74163 do :
74164 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
74165 if test "x$ac_cv_func__powf" = x""yes; then :
74166 cat >>confdefs.h <<_ACEOF
74167 #define HAVE__POWF 1
74168 _ACEOF
74171 done
74180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
74181 $as_echo_n "checking for sqrtf declaration... " >&6; }
74182 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
74183 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
74184 $as_echo_n "(cached) " >&6
74185 else
74188 ac_ext=cpp
74189 ac_cpp='$CXXCPP $CPPFLAGS'
74190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74195 /* end confdefs.h. */
74196 #include <math.h>
74197 #ifdef HAVE_IEEEFP_H
74198 #include <ieeefp.h>
74199 #endif
74202 main ()
74204 sqrtf(0);
74206 return 0;
74208 _ACEOF
74209 if ac_fn_cxx_try_compile "$LINENO"; then :
74210 glibcxx_cv_func_sqrtf_use=yes
74211 else
74212 glibcxx_cv_func_sqrtf_use=no
74214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74215 ac_ext=c
74216 ac_cpp='$CPP $CPPFLAGS'
74217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
74226 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
74228 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
74229 for ac_func in sqrtf
74230 do :
74231 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
74232 if test "x$ac_cv_func_sqrtf" = x""yes; then :
74233 cat >>confdefs.h <<_ACEOF
74234 #define HAVE_SQRTF 1
74235 _ACEOF
74238 done
74240 else
74242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
74243 $as_echo_n "checking for _sqrtf declaration... " >&6; }
74244 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
74245 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
74246 $as_echo_n "(cached) " >&6
74247 else
74250 ac_ext=cpp
74251 ac_cpp='$CXXCPP $CPPFLAGS'
74252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74257 /* end confdefs.h. */
74258 #include <math.h>
74259 #ifdef HAVE_IEEEFP_H
74260 #include <ieeefp.h>
74261 #endif
74264 main ()
74266 _sqrtf(0);
74268 return 0;
74270 _ACEOF
74271 if ac_fn_cxx_try_compile "$LINENO"; then :
74272 glibcxx_cv_func__sqrtf_use=yes
74273 else
74274 glibcxx_cv_func__sqrtf_use=no
74276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74277 ac_ext=c
74278 ac_cpp='$CPP $CPPFLAGS'
74279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
74288 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
74290 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
74291 for ac_func in _sqrtf
74292 do :
74293 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
74294 if test "x$ac_cv_func__sqrtf" = x""yes; then :
74295 cat >>confdefs.h <<_ACEOF
74296 #define HAVE__SQRTF 1
74297 _ACEOF
74300 done
74309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
74310 $as_echo_n "checking for sincosf declaration... " >&6; }
74311 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
74312 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
74313 $as_echo_n "(cached) " >&6
74314 else
74317 ac_ext=cpp
74318 ac_cpp='$CXXCPP $CPPFLAGS'
74319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74324 /* end confdefs.h. */
74325 #include <math.h>
74327 main ()
74329 sincosf(0, 0, 0);
74331 return 0;
74333 _ACEOF
74334 if ac_fn_cxx_try_compile "$LINENO"; then :
74335 glibcxx_cv_func_sincosf_use=yes
74336 else
74337 glibcxx_cv_func_sincosf_use=no
74339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74340 ac_ext=c
74341 ac_cpp='$CPP $CPPFLAGS'
74342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
74351 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
74353 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
74354 for ac_func in sincosf
74355 do :
74356 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
74357 if test "x$ac_cv_func_sincosf" = x""yes; then :
74358 cat >>confdefs.h <<_ACEOF
74359 #define HAVE_SINCOSF 1
74360 _ACEOF
74363 done
74365 else
74367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
74368 $as_echo_n "checking for _sincosf declaration... " >&6; }
74369 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
74370 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
74371 $as_echo_n "(cached) " >&6
74372 else
74375 ac_ext=cpp
74376 ac_cpp='$CXXCPP $CPPFLAGS'
74377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74382 /* end confdefs.h. */
74383 #include <math.h>
74385 main ()
74387 _sincosf(0, 0, 0);
74389 return 0;
74391 _ACEOF
74392 if ac_fn_cxx_try_compile "$LINENO"; then :
74393 glibcxx_cv_func__sincosf_use=yes
74394 else
74395 glibcxx_cv_func__sincosf_use=no
74397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74398 ac_ext=c
74399 ac_cpp='$CPP $CPPFLAGS'
74400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
74409 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
74411 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
74412 for ac_func in _sincosf
74413 do :
74414 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
74415 if test "x$ac_cv_func__sincosf" = x""yes; then :
74416 cat >>confdefs.h <<_ACEOF
74417 #define HAVE__SINCOSF 1
74418 _ACEOF
74421 done
74430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
74431 $as_echo_n "checking for finitef declaration... " >&6; }
74432 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
74433 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
74434 $as_echo_n "(cached) " >&6
74435 else
74438 ac_ext=cpp
74439 ac_cpp='$CXXCPP $CPPFLAGS'
74440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74445 /* end confdefs.h. */
74446 #include <math.h>
74447 #ifdef HAVE_IEEEFP_H
74448 #include <ieeefp.h>
74449 #endif
74452 main ()
74454 finitef(0);
74456 return 0;
74458 _ACEOF
74459 if ac_fn_cxx_try_compile "$LINENO"; then :
74460 glibcxx_cv_func_finitef_use=yes
74461 else
74462 glibcxx_cv_func_finitef_use=no
74464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74465 ac_ext=c
74466 ac_cpp='$CPP $CPPFLAGS'
74467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
74476 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
74478 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
74479 for ac_func in finitef
74480 do :
74481 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
74482 if test "x$ac_cv_func_finitef" = x""yes; then :
74483 cat >>confdefs.h <<_ACEOF
74484 #define HAVE_FINITEF 1
74485 _ACEOF
74488 done
74490 else
74492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
74493 $as_echo_n "checking for _finitef declaration... " >&6; }
74494 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
74495 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
74496 $as_echo_n "(cached) " >&6
74497 else
74500 ac_ext=cpp
74501 ac_cpp='$CXXCPP $CPPFLAGS'
74502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74507 /* end confdefs.h. */
74508 #include <math.h>
74509 #ifdef HAVE_IEEEFP_H
74510 #include <ieeefp.h>
74511 #endif
74514 main ()
74516 _finitef(0);
74518 return 0;
74520 _ACEOF
74521 if ac_fn_cxx_try_compile "$LINENO"; then :
74522 glibcxx_cv_func__finitef_use=yes
74523 else
74524 glibcxx_cv_func__finitef_use=no
74526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74527 ac_ext=c
74528 ac_cpp='$CPP $CPPFLAGS'
74529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
74538 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
74540 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
74541 for ac_func in _finitef
74542 do :
74543 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
74544 if test "x$ac_cv_func__finitef" = x""yes; then :
74545 cat >>confdefs.h <<_ACEOF
74546 #define HAVE__FINITEF 1
74547 _ACEOF
74550 done
74559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
74560 $as_echo_n "checking for long double trig functions... " >&6; }
74561 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
74562 $as_echo_n "(cached) " >&6
74563 else
74566 ac_ext=cpp
74567 ac_cpp='$CXXCPP $CPPFLAGS'
74568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74573 /* end confdefs.h. */
74574 #include <math.h>
74576 main ()
74578 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
74580 return 0;
74582 _ACEOF
74583 if ac_fn_cxx_try_compile "$LINENO"; then :
74584 glibcxx_cv_func_long_double_trig_use=yes
74585 else
74586 glibcxx_cv_func_long_double_trig_use=no
74588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74589 ac_ext=c
74590 ac_cpp='$CPP $CPPFLAGS'
74591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
74598 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
74599 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
74600 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
74601 do :
74602 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
74603 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
74604 eval as_val=\$$as_ac_var
74605 if test "x$as_val" = x""yes; then :
74606 cat >>confdefs.h <<_ACEOF
74607 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
74608 _ACEOF
74611 done
74613 else
74614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
74615 $as_echo_n "checking for _long double trig functions... " >&6; }
74616 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
74617 $as_echo_n "(cached) " >&6
74618 else
74621 ac_ext=cpp
74622 ac_cpp='$CXXCPP $CPPFLAGS'
74623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74628 /* end confdefs.h. */
74629 #include <math.h>
74631 main ()
74633 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
74635 return 0;
74637 _ACEOF
74638 if ac_fn_cxx_try_compile "$LINENO"; then :
74639 glibcxx_cv_func__long_double_trig_use=yes
74640 else
74641 glibcxx_cv_func__long_double_trig_use=no
74643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74644 ac_ext=c
74645 ac_cpp='$CPP $CPPFLAGS'
74646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
74653 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
74654 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
74655 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
74656 do :
74657 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
74658 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
74659 eval as_val=\$$as_ac_var
74660 if test "x$as_val" = x""yes; then :
74661 cat >>confdefs.h <<_ACEOF
74662 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
74663 _ACEOF
74666 done
74675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
74676 $as_echo_n "checking for long double round functions... " >&6; }
74677 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
74678 $as_echo_n "(cached) " >&6
74679 else
74682 ac_ext=cpp
74683 ac_cpp='$CXXCPP $CPPFLAGS'
74684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74689 /* end confdefs.h. */
74690 #include <math.h>
74692 main ()
74694 ceill (0); floorl (0);
74696 return 0;
74698 _ACEOF
74699 if ac_fn_cxx_try_compile "$LINENO"; then :
74700 glibcxx_cv_func_long_double_round_use=yes
74701 else
74702 glibcxx_cv_func_long_double_round_use=no
74704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74705 ac_ext=c
74706 ac_cpp='$CPP $CPPFLAGS'
74707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
74714 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
74715 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
74716 for ac_func in ceill floorl
74717 do :
74718 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
74719 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
74720 eval as_val=\$$as_ac_var
74721 if test "x$as_val" = x""yes; then :
74722 cat >>confdefs.h <<_ACEOF
74723 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
74724 _ACEOF
74727 done
74729 else
74730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
74731 $as_echo_n "checking for _long double round functions... " >&6; }
74732 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
74733 $as_echo_n "(cached) " >&6
74734 else
74737 ac_ext=cpp
74738 ac_cpp='$CXXCPP $CPPFLAGS'
74739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74744 /* end confdefs.h. */
74745 #include <math.h>
74747 main ()
74749 _ceill (0); _floorl (0);
74751 return 0;
74753 _ACEOF
74754 if ac_fn_cxx_try_compile "$LINENO"; then :
74755 glibcxx_cv_func__long_double_round_use=yes
74756 else
74757 glibcxx_cv_func__long_double_round_use=no
74759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74760 ac_ext=c
74761 ac_cpp='$CPP $CPPFLAGS'
74762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
74769 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
74770 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
74771 for ac_func in _ceill _floorl
74772 do :
74773 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
74774 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
74775 eval as_val=\$$as_ac_var
74776 if test "x$as_val" = x""yes; then :
74777 cat >>confdefs.h <<_ACEOF
74778 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
74779 _ACEOF
74782 done
74792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
74793 $as_echo_n "checking for isnanl declaration... " >&6; }
74794 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
74795 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
74796 $as_echo_n "(cached) " >&6
74797 else
74800 ac_ext=cpp
74801 ac_cpp='$CXXCPP $CPPFLAGS'
74802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74807 /* end confdefs.h. */
74808 #include <math.h>
74809 #ifdef HAVE_IEEEFP_H
74810 #include <ieeefp.h>
74811 #endif
74814 main ()
74816 isnanl(0);
74818 return 0;
74820 _ACEOF
74821 if ac_fn_cxx_try_compile "$LINENO"; then :
74822 glibcxx_cv_func_isnanl_use=yes
74823 else
74824 glibcxx_cv_func_isnanl_use=no
74826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74827 ac_ext=c
74828 ac_cpp='$CPP $CPPFLAGS'
74829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
74838 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
74840 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
74841 for ac_func in isnanl
74842 do :
74843 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
74844 if test "x$ac_cv_func_isnanl" = x""yes; then :
74845 cat >>confdefs.h <<_ACEOF
74846 #define HAVE_ISNANL 1
74847 _ACEOF
74850 done
74852 else
74854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
74855 $as_echo_n "checking for _isnanl declaration... " >&6; }
74856 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
74857 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
74858 $as_echo_n "(cached) " >&6
74859 else
74862 ac_ext=cpp
74863 ac_cpp='$CXXCPP $CPPFLAGS'
74864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74869 /* end confdefs.h. */
74870 #include <math.h>
74871 #ifdef HAVE_IEEEFP_H
74872 #include <ieeefp.h>
74873 #endif
74876 main ()
74878 _isnanl(0);
74880 return 0;
74882 _ACEOF
74883 if ac_fn_cxx_try_compile "$LINENO"; then :
74884 glibcxx_cv_func__isnanl_use=yes
74885 else
74886 glibcxx_cv_func__isnanl_use=no
74888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74889 ac_ext=c
74890 ac_cpp='$CPP $CPPFLAGS'
74891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
74900 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
74902 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
74903 for ac_func in _isnanl
74904 do :
74905 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
74906 if test "x$ac_cv_func__isnanl" = x""yes; then :
74907 cat >>confdefs.h <<_ACEOF
74908 #define HAVE__ISNANL 1
74909 _ACEOF
74912 done
74921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
74922 $as_echo_n "checking for isinfl declaration... " >&6; }
74923 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
74924 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
74925 $as_echo_n "(cached) " >&6
74926 else
74929 ac_ext=cpp
74930 ac_cpp='$CXXCPP $CPPFLAGS'
74931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74936 /* end confdefs.h. */
74937 #include <math.h>
74938 #ifdef HAVE_IEEEFP_H
74939 #include <ieeefp.h>
74940 #endif
74943 main ()
74945 isinfl(0);
74947 return 0;
74949 _ACEOF
74950 if ac_fn_cxx_try_compile "$LINENO"; then :
74951 glibcxx_cv_func_isinfl_use=yes
74952 else
74953 glibcxx_cv_func_isinfl_use=no
74955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74956 ac_ext=c
74957 ac_cpp='$CPP $CPPFLAGS'
74958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
74967 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
74969 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
74970 for ac_func in isinfl
74971 do :
74972 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
74973 if test "x$ac_cv_func_isinfl" = x""yes; then :
74974 cat >>confdefs.h <<_ACEOF
74975 #define HAVE_ISINFL 1
74976 _ACEOF
74979 done
74981 else
74983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
74984 $as_echo_n "checking for _isinfl declaration... " >&6; }
74985 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
74986 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
74987 $as_echo_n "(cached) " >&6
74988 else
74991 ac_ext=cpp
74992 ac_cpp='$CXXCPP $CPPFLAGS'
74993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74998 /* end confdefs.h. */
74999 #include <math.h>
75000 #ifdef HAVE_IEEEFP_H
75001 #include <ieeefp.h>
75002 #endif
75005 main ()
75007 _isinfl(0);
75009 return 0;
75011 _ACEOF
75012 if ac_fn_cxx_try_compile "$LINENO"; then :
75013 glibcxx_cv_func__isinfl_use=yes
75014 else
75015 glibcxx_cv_func__isinfl_use=no
75017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75018 ac_ext=c
75019 ac_cpp='$CPP $CPPFLAGS'
75020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
75029 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
75031 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
75032 for ac_func in _isinfl
75033 do :
75034 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
75035 if test "x$ac_cv_func__isinfl" = x""yes; then :
75036 cat >>confdefs.h <<_ACEOF
75037 #define HAVE__ISINFL 1
75038 _ACEOF
75041 done
75050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
75051 $as_echo_n "checking for atan2l declaration... " >&6; }
75052 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
75053 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
75054 $as_echo_n "(cached) " >&6
75055 else
75058 ac_ext=cpp
75059 ac_cpp='$CXXCPP $CPPFLAGS'
75060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75065 /* end confdefs.h. */
75066 #include <math.h>
75068 main ()
75070 atan2l(0, 0);
75072 return 0;
75074 _ACEOF
75075 if ac_fn_cxx_try_compile "$LINENO"; then :
75076 glibcxx_cv_func_atan2l_use=yes
75077 else
75078 glibcxx_cv_func_atan2l_use=no
75080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75081 ac_ext=c
75082 ac_cpp='$CPP $CPPFLAGS'
75083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
75092 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
75094 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
75095 for ac_func in atan2l
75096 do :
75097 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
75098 if test "x$ac_cv_func_atan2l" = x""yes; then :
75099 cat >>confdefs.h <<_ACEOF
75100 #define HAVE_ATAN2L 1
75101 _ACEOF
75104 done
75106 else
75108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
75109 $as_echo_n "checking for _atan2l declaration... " >&6; }
75110 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
75111 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
75112 $as_echo_n "(cached) " >&6
75113 else
75116 ac_ext=cpp
75117 ac_cpp='$CXXCPP $CPPFLAGS'
75118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75123 /* end confdefs.h. */
75124 #include <math.h>
75126 main ()
75128 _atan2l(0, 0);
75130 return 0;
75132 _ACEOF
75133 if ac_fn_cxx_try_compile "$LINENO"; then :
75134 glibcxx_cv_func__atan2l_use=yes
75135 else
75136 glibcxx_cv_func__atan2l_use=no
75138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75139 ac_ext=c
75140 ac_cpp='$CPP $CPPFLAGS'
75141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
75150 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
75152 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
75153 for ac_func in _atan2l
75154 do :
75155 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
75156 if test "x$ac_cv_func__atan2l" = x""yes; then :
75157 cat >>confdefs.h <<_ACEOF
75158 #define HAVE__ATAN2L 1
75159 _ACEOF
75162 done
75171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
75172 $as_echo_n "checking for expl declaration... " >&6; }
75173 if test x${glibcxx_cv_func_expl_use+set} != xset; then
75174 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
75175 $as_echo_n "(cached) " >&6
75176 else
75179 ac_ext=cpp
75180 ac_cpp='$CXXCPP $CPPFLAGS'
75181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75186 /* end confdefs.h. */
75187 #include <math.h>
75188 #ifdef HAVE_IEEEFP_H
75189 #include <ieeefp.h>
75190 #endif
75193 main ()
75195 expl(0);
75197 return 0;
75199 _ACEOF
75200 if ac_fn_cxx_try_compile "$LINENO"; then :
75201 glibcxx_cv_func_expl_use=yes
75202 else
75203 glibcxx_cv_func_expl_use=no
75205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75206 ac_ext=c
75207 ac_cpp='$CPP $CPPFLAGS'
75208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
75217 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
75219 if test x$glibcxx_cv_func_expl_use = x"yes"; then
75220 for ac_func in expl
75221 do :
75222 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
75223 if test "x$ac_cv_func_expl" = x""yes; then :
75224 cat >>confdefs.h <<_ACEOF
75225 #define HAVE_EXPL 1
75226 _ACEOF
75229 done
75231 else
75233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
75234 $as_echo_n "checking for _expl declaration... " >&6; }
75235 if test x${glibcxx_cv_func__expl_use+set} != xset; then
75236 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
75237 $as_echo_n "(cached) " >&6
75238 else
75241 ac_ext=cpp
75242 ac_cpp='$CXXCPP $CPPFLAGS'
75243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75248 /* end confdefs.h. */
75249 #include <math.h>
75250 #ifdef HAVE_IEEEFP_H
75251 #include <ieeefp.h>
75252 #endif
75255 main ()
75257 _expl(0);
75259 return 0;
75261 _ACEOF
75262 if ac_fn_cxx_try_compile "$LINENO"; then :
75263 glibcxx_cv_func__expl_use=yes
75264 else
75265 glibcxx_cv_func__expl_use=no
75267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75268 ac_ext=c
75269 ac_cpp='$CPP $CPPFLAGS'
75270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
75279 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
75281 if test x$glibcxx_cv_func__expl_use = x"yes"; then
75282 for ac_func in _expl
75283 do :
75284 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
75285 if test "x$ac_cv_func__expl" = x""yes; then :
75286 cat >>confdefs.h <<_ACEOF
75287 #define HAVE__EXPL 1
75288 _ACEOF
75291 done
75300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
75301 $as_echo_n "checking for fabsl declaration... " >&6; }
75302 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
75303 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
75304 $as_echo_n "(cached) " >&6
75305 else
75308 ac_ext=cpp
75309 ac_cpp='$CXXCPP $CPPFLAGS'
75310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75315 /* end confdefs.h. */
75316 #include <math.h>
75317 #ifdef HAVE_IEEEFP_H
75318 #include <ieeefp.h>
75319 #endif
75322 main ()
75324 fabsl(0);
75326 return 0;
75328 _ACEOF
75329 if ac_fn_cxx_try_compile "$LINENO"; then :
75330 glibcxx_cv_func_fabsl_use=yes
75331 else
75332 glibcxx_cv_func_fabsl_use=no
75334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75335 ac_ext=c
75336 ac_cpp='$CPP $CPPFLAGS'
75337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
75346 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
75348 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
75349 for ac_func in fabsl
75350 do :
75351 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
75352 if test "x$ac_cv_func_fabsl" = x""yes; then :
75353 cat >>confdefs.h <<_ACEOF
75354 #define HAVE_FABSL 1
75355 _ACEOF
75358 done
75360 else
75362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
75363 $as_echo_n "checking for _fabsl declaration... " >&6; }
75364 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
75365 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
75366 $as_echo_n "(cached) " >&6
75367 else
75370 ac_ext=cpp
75371 ac_cpp='$CXXCPP $CPPFLAGS'
75372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75377 /* end confdefs.h. */
75378 #include <math.h>
75379 #ifdef HAVE_IEEEFP_H
75380 #include <ieeefp.h>
75381 #endif
75384 main ()
75386 _fabsl(0);
75388 return 0;
75390 _ACEOF
75391 if ac_fn_cxx_try_compile "$LINENO"; then :
75392 glibcxx_cv_func__fabsl_use=yes
75393 else
75394 glibcxx_cv_func__fabsl_use=no
75396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75397 ac_ext=c
75398 ac_cpp='$CPP $CPPFLAGS'
75399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
75408 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
75410 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
75411 for ac_func in _fabsl
75412 do :
75413 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
75414 if test "x$ac_cv_func__fabsl" = x""yes; then :
75415 cat >>confdefs.h <<_ACEOF
75416 #define HAVE__FABSL 1
75417 _ACEOF
75420 done
75429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
75430 $as_echo_n "checking for fmodl declaration... " >&6; }
75431 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
75432 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
75433 $as_echo_n "(cached) " >&6
75434 else
75437 ac_ext=cpp
75438 ac_cpp='$CXXCPP $CPPFLAGS'
75439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75444 /* end confdefs.h. */
75445 #include <math.h>
75447 main ()
75449 fmodl(0, 0);
75451 return 0;
75453 _ACEOF
75454 if ac_fn_cxx_try_compile "$LINENO"; then :
75455 glibcxx_cv_func_fmodl_use=yes
75456 else
75457 glibcxx_cv_func_fmodl_use=no
75459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75460 ac_ext=c
75461 ac_cpp='$CPP $CPPFLAGS'
75462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
75471 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
75473 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
75474 for ac_func in fmodl
75475 do :
75476 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
75477 if test "x$ac_cv_func_fmodl" = x""yes; then :
75478 cat >>confdefs.h <<_ACEOF
75479 #define HAVE_FMODL 1
75480 _ACEOF
75483 done
75485 else
75487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
75488 $as_echo_n "checking for _fmodl declaration... " >&6; }
75489 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
75490 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
75491 $as_echo_n "(cached) " >&6
75492 else
75495 ac_ext=cpp
75496 ac_cpp='$CXXCPP $CPPFLAGS'
75497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75502 /* end confdefs.h. */
75503 #include <math.h>
75505 main ()
75507 _fmodl(0, 0);
75509 return 0;
75511 _ACEOF
75512 if ac_fn_cxx_try_compile "$LINENO"; then :
75513 glibcxx_cv_func__fmodl_use=yes
75514 else
75515 glibcxx_cv_func__fmodl_use=no
75517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75518 ac_ext=c
75519 ac_cpp='$CPP $CPPFLAGS'
75520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
75529 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
75531 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
75532 for ac_func in _fmodl
75533 do :
75534 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
75535 if test "x$ac_cv_func__fmodl" = x""yes; then :
75536 cat >>confdefs.h <<_ACEOF
75537 #define HAVE__FMODL 1
75538 _ACEOF
75541 done
75550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
75551 $as_echo_n "checking for frexpl declaration... " >&6; }
75552 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
75553 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
75554 $as_echo_n "(cached) " >&6
75555 else
75558 ac_ext=cpp
75559 ac_cpp='$CXXCPP $CPPFLAGS'
75560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75565 /* end confdefs.h. */
75566 #include <math.h>
75568 main ()
75570 frexpl(0, 0);
75572 return 0;
75574 _ACEOF
75575 if ac_fn_cxx_try_compile "$LINENO"; then :
75576 glibcxx_cv_func_frexpl_use=yes
75577 else
75578 glibcxx_cv_func_frexpl_use=no
75580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75581 ac_ext=c
75582 ac_cpp='$CPP $CPPFLAGS'
75583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
75592 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
75594 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
75595 for ac_func in frexpl
75596 do :
75597 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
75598 if test "x$ac_cv_func_frexpl" = x""yes; then :
75599 cat >>confdefs.h <<_ACEOF
75600 #define HAVE_FREXPL 1
75601 _ACEOF
75604 done
75606 else
75608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
75609 $as_echo_n "checking for _frexpl declaration... " >&6; }
75610 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
75611 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
75612 $as_echo_n "(cached) " >&6
75613 else
75616 ac_ext=cpp
75617 ac_cpp='$CXXCPP $CPPFLAGS'
75618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75623 /* end confdefs.h. */
75624 #include <math.h>
75626 main ()
75628 _frexpl(0, 0);
75630 return 0;
75632 _ACEOF
75633 if ac_fn_cxx_try_compile "$LINENO"; then :
75634 glibcxx_cv_func__frexpl_use=yes
75635 else
75636 glibcxx_cv_func__frexpl_use=no
75638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75639 ac_ext=c
75640 ac_cpp='$CPP $CPPFLAGS'
75641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
75650 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
75652 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
75653 for ac_func in _frexpl
75654 do :
75655 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
75656 if test "x$ac_cv_func__frexpl" = x""yes; then :
75657 cat >>confdefs.h <<_ACEOF
75658 #define HAVE__FREXPL 1
75659 _ACEOF
75662 done
75671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
75672 $as_echo_n "checking for hypotl declaration... " >&6; }
75673 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
75674 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
75675 $as_echo_n "(cached) " >&6
75676 else
75679 ac_ext=cpp
75680 ac_cpp='$CXXCPP $CPPFLAGS'
75681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75686 /* end confdefs.h. */
75687 #include <math.h>
75689 main ()
75691 hypotl(0, 0);
75693 return 0;
75695 _ACEOF
75696 if ac_fn_cxx_try_compile "$LINENO"; then :
75697 glibcxx_cv_func_hypotl_use=yes
75698 else
75699 glibcxx_cv_func_hypotl_use=no
75701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75702 ac_ext=c
75703 ac_cpp='$CPP $CPPFLAGS'
75704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
75713 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
75715 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
75716 for ac_func in hypotl
75717 do :
75718 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
75719 if test "x$ac_cv_func_hypotl" = x""yes; then :
75720 cat >>confdefs.h <<_ACEOF
75721 #define HAVE_HYPOTL 1
75722 _ACEOF
75725 done
75727 else
75729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
75730 $as_echo_n "checking for _hypotl declaration... " >&6; }
75731 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
75732 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
75733 $as_echo_n "(cached) " >&6
75734 else
75737 ac_ext=cpp
75738 ac_cpp='$CXXCPP $CPPFLAGS'
75739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75744 /* end confdefs.h. */
75745 #include <math.h>
75747 main ()
75749 _hypotl(0, 0);
75751 return 0;
75753 _ACEOF
75754 if ac_fn_cxx_try_compile "$LINENO"; then :
75755 glibcxx_cv_func__hypotl_use=yes
75756 else
75757 glibcxx_cv_func__hypotl_use=no
75759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75760 ac_ext=c
75761 ac_cpp='$CPP $CPPFLAGS'
75762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
75771 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
75773 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
75774 for ac_func in _hypotl
75775 do :
75776 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
75777 if test "x$ac_cv_func__hypotl" = x""yes; then :
75778 cat >>confdefs.h <<_ACEOF
75779 #define HAVE__HYPOTL 1
75780 _ACEOF
75783 done
75792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
75793 $as_echo_n "checking for ldexpl declaration... " >&6; }
75794 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
75795 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
75796 $as_echo_n "(cached) " >&6
75797 else
75800 ac_ext=cpp
75801 ac_cpp='$CXXCPP $CPPFLAGS'
75802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75807 /* end confdefs.h. */
75808 #include <math.h>
75810 main ()
75812 ldexpl(0, 0);
75814 return 0;
75816 _ACEOF
75817 if ac_fn_cxx_try_compile "$LINENO"; then :
75818 glibcxx_cv_func_ldexpl_use=yes
75819 else
75820 glibcxx_cv_func_ldexpl_use=no
75822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75823 ac_ext=c
75824 ac_cpp='$CPP $CPPFLAGS'
75825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
75834 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
75836 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
75837 for ac_func in ldexpl
75838 do :
75839 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
75840 if test "x$ac_cv_func_ldexpl" = x""yes; then :
75841 cat >>confdefs.h <<_ACEOF
75842 #define HAVE_LDEXPL 1
75843 _ACEOF
75846 done
75848 else
75850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
75851 $as_echo_n "checking for _ldexpl declaration... " >&6; }
75852 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
75853 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
75854 $as_echo_n "(cached) " >&6
75855 else
75858 ac_ext=cpp
75859 ac_cpp='$CXXCPP $CPPFLAGS'
75860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75865 /* end confdefs.h. */
75866 #include <math.h>
75868 main ()
75870 _ldexpl(0, 0);
75872 return 0;
75874 _ACEOF
75875 if ac_fn_cxx_try_compile "$LINENO"; then :
75876 glibcxx_cv_func__ldexpl_use=yes
75877 else
75878 glibcxx_cv_func__ldexpl_use=no
75880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75881 ac_ext=c
75882 ac_cpp='$CPP $CPPFLAGS'
75883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
75892 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
75894 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
75895 for ac_func in _ldexpl
75896 do :
75897 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
75898 if test "x$ac_cv_func__ldexpl" = x""yes; then :
75899 cat >>confdefs.h <<_ACEOF
75900 #define HAVE__LDEXPL 1
75901 _ACEOF
75904 done
75913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
75914 $as_echo_n "checking for logl declaration... " >&6; }
75915 if test x${glibcxx_cv_func_logl_use+set} != xset; then
75916 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
75917 $as_echo_n "(cached) " >&6
75918 else
75921 ac_ext=cpp
75922 ac_cpp='$CXXCPP $CPPFLAGS'
75923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75928 /* end confdefs.h. */
75929 #include <math.h>
75930 #ifdef HAVE_IEEEFP_H
75931 #include <ieeefp.h>
75932 #endif
75935 main ()
75937 logl(0);
75939 return 0;
75941 _ACEOF
75942 if ac_fn_cxx_try_compile "$LINENO"; then :
75943 glibcxx_cv_func_logl_use=yes
75944 else
75945 glibcxx_cv_func_logl_use=no
75947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75948 ac_ext=c
75949 ac_cpp='$CPP $CPPFLAGS'
75950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
75959 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
75961 if test x$glibcxx_cv_func_logl_use = x"yes"; then
75962 for ac_func in logl
75963 do :
75964 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
75965 if test "x$ac_cv_func_logl" = x""yes; then :
75966 cat >>confdefs.h <<_ACEOF
75967 #define HAVE_LOGL 1
75968 _ACEOF
75971 done
75973 else
75975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
75976 $as_echo_n "checking for _logl declaration... " >&6; }
75977 if test x${glibcxx_cv_func__logl_use+set} != xset; then
75978 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
75979 $as_echo_n "(cached) " >&6
75980 else
75983 ac_ext=cpp
75984 ac_cpp='$CXXCPP $CPPFLAGS'
75985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75990 /* end confdefs.h. */
75991 #include <math.h>
75992 #ifdef HAVE_IEEEFP_H
75993 #include <ieeefp.h>
75994 #endif
75997 main ()
75999 _logl(0);
76001 return 0;
76003 _ACEOF
76004 if ac_fn_cxx_try_compile "$LINENO"; then :
76005 glibcxx_cv_func__logl_use=yes
76006 else
76007 glibcxx_cv_func__logl_use=no
76009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76010 ac_ext=c
76011 ac_cpp='$CPP $CPPFLAGS'
76012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
76021 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
76023 if test x$glibcxx_cv_func__logl_use = x"yes"; then
76024 for ac_func in _logl
76025 do :
76026 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
76027 if test "x$ac_cv_func__logl" = x""yes; then :
76028 cat >>confdefs.h <<_ACEOF
76029 #define HAVE__LOGL 1
76030 _ACEOF
76033 done
76042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
76043 $as_echo_n "checking for log10l declaration... " >&6; }
76044 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
76045 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
76046 $as_echo_n "(cached) " >&6
76047 else
76050 ac_ext=cpp
76051 ac_cpp='$CXXCPP $CPPFLAGS'
76052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76057 /* end confdefs.h. */
76058 #include <math.h>
76059 #ifdef HAVE_IEEEFP_H
76060 #include <ieeefp.h>
76061 #endif
76064 main ()
76066 log10l(0);
76068 return 0;
76070 _ACEOF
76071 if ac_fn_cxx_try_compile "$LINENO"; then :
76072 glibcxx_cv_func_log10l_use=yes
76073 else
76074 glibcxx_cv_func_log10l_use=no
76076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76077 ac_ext=c
76078 ac_cpp='$CPP $CPPFLAGS'
76079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
76088 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
76090 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
76091 for ac_func in log10l
76092 do :
76093 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
76094 if test "x$ac_cv_func_log10l" = x""yes; then :
76095 cat >>confdefs.h <<_ACEOF
76096 #define HAVE_LOG10L 1
76097 _ACEOF
76100 done
76102 else
76104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
76105 $as_echo_n "checking for _log10l declaration... " >&6; }
76106 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
76107 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
76108 $as_echo_n "(cached) " >&6
76109 else
76112 ac_ext=cpp
76113 ac_cpp='$CXXCPP $CPPFLAGS'
76114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76119 /* end confdefs.h. */
76120 #include <math.h>
76121 #ifdef HAVE_IEEEFP_H
76122 #include <ieeefp.h>
76123 #endif
76126 main ()
76128 _log10l(0);
76130 return 0;
76132 _ACEOF
76133 if ac_fn_cxx_try_compile "$LINENO"; then :
76134 glibcxx_cv_func__log10l_use=yes
76135 else
76136 glibcxx_cv_func__log10l_use=no
76138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76139 ac_ext=c
76140 ac_cpp='$CPP $CPPFLAGS'
76141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
76150 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
76152 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
76153 for ac_func in _log10l
76154 do :
76155 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
76156 if test "x$ac_cv_func__log10l" = x""yes; then :
76157 cat >>confdefs.h <<_ACEOF
76158 #define HAVE__LOG10L 1
76159 _ACEOF
76162 done
76171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
76172 $as_echo_n "checking for modfl declaration... " >&6; }
76173 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
76174 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
76175 $as_echo_n "(cached) " >&6
76176 else
76179 ac_ext=cpp
76180 ac_cpp='$CXXCPP $CPPFLAGS'
76181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76186 /* end confdefs.h. */
76187 #include <math.h>
76189 main ()
76191 modfl(0, 0);
76193 return 0;
76195 _ACEOF
76196 if ac_fn_cxx_try_compile "$LINENO"; then :
76197 glibcxx_cv_func_modfl_use=yes
76198 else
76199 glibcxx_cv_func_modfl_use=no
76201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76202 ac_ext=c
76203 ac_cpp='$CPP $CPPFLAGS'
76204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
76213 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
76215 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
76216 for ac_func in modfl
76217 do :
76218 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
76219 if test "x$ac_cv_func_modfl" = x""yes; then :
76220 cat >>confdefs.h <<_ACEOF
76221 #define HAVE_MODFL 1
76222 _ACEOF
76225 done
76227 else
76229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
76230 $as_echo_n "checking for _modfl declaration... " >&6; }
76231 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
76232 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
76233 $as_echo_n "(cached) " >&6
76234 else
76237 ac_ext=cpp
76238 ac_cpp='$CXXCPP $CPPFLAGS'
76239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76244 /* end confdefs.h. */
76245 #include <math.h>
76247 main ()
76249 _modfl(0, 0);
76251 return 0;
76253 _ACEOF
76254 if ac_fn_cxx_try_compile "$LINENO"; then :
76255 glibcxx_cv_func__modfl_use=yes
76256 else
76257 glibcxx_cv_func__modfl_use=no
76259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76260 ac_ext=c
76261 ac_cpp='$CPP $CPPFLAGS'
76262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
76271 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
76273 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
76274 for ac_func in _modfl
76275 do :
76276 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
76277 if test "x$ac_cv_func__modfl" = x""yes; then :
76278 cat >>confdefs.h <<_ACEOF
76279 #define HAVE__MODFL 1
76280 _ACEOF
76283 done
76292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
76293 $as_echo_n "checking for powl declaration... " >&6; }
76294 if test x${glibcxx_cv_func_powl_use+set} != xset; then
76295 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
76296 $as_echo_n "(cached) " >&6
76297 else
76300 ac_ext=cpp
76301 ac_cpp='$CXXCPP $CPPFLAGS'
76302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76307 /* end confdefs.h. */
76308 #include <math.h>
76310 main ()
76312 powl(0, 0);
76314 return 0;
76316 _ACEOF
76317 if ac_fn_cxx_try_compile "$LINENO"; then :
76318 glibcxx_cv_func_powl_use=yes
76319 else
76320 glibcxx_cv_func_powl_use=no
76322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76323 ac_ext=c
76324 ac_cpp='$CPP $CPPFLAGS'
76325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
76334 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
76336 if test x$glibcxx_cv_func_powl_use = x"yes"; then
76337 for ac_func in powl
76338 do :
76339 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
76340 if test "x$ac_cv_func_powl" = x""yes; then :
76341 cat >>confdefs.h <<_ACEOF
76342 #define HAVE_POWL 1
76343 _ACEOF
76346 done
76348 else
76350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
76351 $as_echo_n "checking for _powl declaration... " >&6; }
76352 if test x${glibcxx_cv_func__powl_use+set} != xset; then
76353 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
76354 $as_echo_n "(cached) " >&6
76355 else
76358 ac_ext=cpp
76359 ac_cpp='$CXXCPP $CPPFLAGS'
76360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76365 /* end confdefs.h. */
76366 #include <math.h>
76368 main ()
76370 _powl(0, 0);
76372 return 0;
76374 _ACEOF
76375 if ac_fn_cxx_try_compile "$LINENO"; then :
76376 glibcxx_cv_func__powl_use=yes
76377 else
76378 glibcxx_cv_func__powl_use=no
76380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76381 ac_ext=c
76382 ac_cpp='$CPP $CPPFLAGS'
76383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
76392 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
76394 if test x$glibcxx_cv_func__powl_use = x"yes"; then
76395 for ac_func in _powl
76396 do :
76397 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
76398 if test "x$ac_cv_func__powl" = x""yes; then :
76399 cat >>confdefs.h <<_ACEOF
76400 #define HAVE__POWL 1
76401 _ACEOF
76404 done
76413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
76414 $as_echo_n "checking for sqrtl declaration... " >&6; }
76415 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
76416 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
76417 $as_echo_n "(cached) " >&6
76418 else
76421 ac_ext=cpp
76422 ac_cpp='$CXXCPP $CPPFLAGS'
76423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76428 /* end confdefs.h. */
76429 #include <math.h>
76430 #ifdef HAVE_IEEEFP_H
76431 #include <ieeefp.h>
76432 #endif
76435 main ()
76437 sqrtl(0);
76439 return 0;
76441 _ACEOF
76442 if ac_fn_cxx_try_compile "$LINENO"; then :
76443 glibcxx_cv_func_sqrtl_use=yes
76444 else
76445 glibcxx_cv_func_sqrtl_use=no
76447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76448 ac_ext=c
76449 ac_cpp='$CPP $CPPFLAGS'
76450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
76459 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
76461 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
76462 for ac_func in sqrtl
76463 do :
76464 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
76465 if test "x$ac_cv_func_sqrtl" = x""yes; then :
76466 cat >>confdefs.h <<_ACEOF
76467 #define HAVE_SQRTL 1
76468 _ACEOF
76471 done
76473 else
76475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
76476 $as_echo_n "checking for _sqrtl declaration... " >&6; }
76477 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
76478 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
76479 $as_echo_n "(cached) " >&6
76480 else
76483 ac_ext=cpp
76484 ac_cpp='$CXXCPP $CPPFLAGS'
76485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76490 /* end confdefs.h. */
76491 #include <math.h>
76492 #ifdef HAVE_IEEEFP_H
76493 #include <ieeefp.h>
76494 #endif
76497 main ()
76499 _sqrtl(0);
76501 return 0;
76503 _ACEOF
76504 if ac_fn_cxx_try_compile "$LINENO"; then :
76505 glibcxx_cv_func__sqrtl_use=yes
76506 else
76507 glibcxx_cv_func__sqrtl_use=no
76509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76510 ac_ext=c
76511 ac_cpp='$CPP $CPPFLAGS'
76512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
76521 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
76523 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
76524 for ac_func in _sqrtl
76525 do :
76526 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
76527 if test "x$ac_cv_func__sqrtl" = x""yes; then :
76528 cat >>confdefs.h <<_ACEOF
76529 #define HAVE__SQRTL 1
76530 _ACEOF
76533 done
76542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
76543 $as_echo_n "checking for sincosl declaration... " >&6; }
76544 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
76545 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
76546 $as_echo_n "(cached) " >&6
76547 else
76550 ac_ext=cpp
76551 ac_cpp='$CXXCPP $CPPFLAGS'
76552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76557 /* end confdefs.h. */
76558 #include <math.h>
76560 main ()
76562 sincosl(0, 0, 0);
76564 return 0;
76566 _ACEOF
76567 if ac_fn_cxx_try_compile "$LINENO"; then :
76568 glibcxx_cv_func_sincosl_use=yes
76569 else
76570 glibcxx_cv_func_sincosl_use=no
76572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76573 ac_ext=c
76574 ac_cpp='$CPP $CPPFLAGS'
76575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
76584 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
76586 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
76587 for ac_func in sincosl
76588 do :
76589 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
76590 if test "x$ac_cv_func_sincosl" = x""yes; then :
76591 cat >>confdefs.h <<_ACEOF
76592 #define HAVE_SINCOSL 1
76593 _ACEOF
76596 done
76598 else
76600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
76601 $as_echo_n "checking for _sincosl declaration... " >&6; }
76602 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
76603 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
76604 $as_echo_n "(cached) " >&6
76605 else
76608 ac_ext=cpp
76609 ac_cpp='$CXXCPP $CPPFLAGS'
76610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76615 /* end confdefs.h. */
76616 #include <math.h>
76618 main ()
76620 _sincosl(0, 0, 0);
76622 return 0;
76624 _ACEOF
76625 if ac_fn_cxx_try_compile "$LINENO"; then :
76626 glibcxx_cv_func__sincosl_use=yes
76627 else
76628 glibcxx_cv_func__sincosl_use=no
76630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76631 ac_ext=c
76632 ac_cpp='$CPP $CPPFLAGS'
76633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
76642 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
76644 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
76645 for ac_func in _sincosl
76646 do :
76647 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
76648 if test "x$ac_cv_func__sincosl" = x""yes; then :
76649 cat >>confdefs.h <<_ACEOF
76650 #define HAVE__SINCOSL 1
76651 _ACEOF
76654 done
76663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
76664 $as_echo_n "checking for finitel declaration... " >&6; }
76665 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
76666 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
76667 $as_echo_n "(cached) " >&6
76668 else
76671 ac_ext=cpp
76672 ac_cpp='$CXXCPP $CPPFLAGS'
76673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76678 /* end confdefs.h. */
76679 #include <math.h>
76680 #ifdef HAVE_IEEEFP_H
76681 #include <ieeefp.h>
76682 #endif
76685 main ()
76687 finitel(0);
76689 return 0;
76691 _ACEOF
76692 if ac_fn_cxx_try_compile "$LINENO"; then :
76693 glibcxx_cv_func_finitel_use=yes
76694 else
76695 glibcxx_cv_func_finitel_use=no
76697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76698 ac_ext=c
76699 ac_cpp='$CPP $CPPFLAGS'
76700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
76709 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
76711 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
76712 for ac_func in finitel
76713 do :
76714 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
76715 if test "x$ac_cv_func_finitel" = x""yes; then :
76716 cat >>confdefs.h <<_ACEOF
76717 #define HAVE_FINITEL 1
76718 _ACEOF
76721 done
76723 else
76725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
76726 $as_echo_n "checking for _finitel declaration... " >&6; }
76727 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
76728 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
76729 $as_echo_n "(cached) " >&6
76730 else
76733 ac_ext=cpp
76734 ac_cpp='$CXXCPP $CPPFLAGS'
76735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76740 /* end confdefs.h. */
76741 #include <math.h>
76742 #ifdef HAVE_IEEEFP_H
76743 #include <ieeefp.h>
76744 #endif
76747 main ()
76749 _finitel(0);
76751 return 0;
76753 _ACEOF
76754 if ac_fn_cxx_try_compile "$LINENO"; then :
76755 glibcxx_cv_func__finitel_use=yes
76756 else
76757 glibcxx_cv_func__finitel_use=no
76759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76760 ac_ext=c
76761 ac_cpp='$CPP $CPPFLAGS'
76762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
76771 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
76773 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
76774 for ac_func in _finitel
76775 do :
76776 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
76777 if test "x$ac_cv_func__finitel" = x""yes; then :
76778 cat >>confdefs.h <<_ACEOF
76779 #define HAVE__FINITEL 1
76780 _ACEOF
76783 done
76791 LIBS="$ac_save_LIBS"
76792 CXXFLAGS="$ac_save_CXXFLAGS"
76795 ac_test_CXXFLAGS="${CXXFLAGS+set}"
76796 ac_save_CXXFLAGS="$CXXFLAGS"
76797 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
76800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
76801 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
76802 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
76803 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
76804 $as_echo_n "(cached) " >&6
76805 else
76808 ac_ext=cpp
76809 ac_cpp='$CXXCPP $CPPFLAGS'
76810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76815 /* end confdefs.h. */
76816 #include <stdlib.h>
76818 main ()
76820 at_quick_exit(0);
76822 return 0;
76824 _ACEOF
76825 if ac_fn_cxx_try_compile "$LINENO"; then :
76826 glibcxx_cv_func_at_quick_exit_use=yes
76827 else
76828 glibcxx_cv_func_at_quick_exit_use=no
76830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76831 ac_ext=c
76832 ac_cpp='$CPP $CPPFLAGS'
76833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
76842 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
76843 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
76844 for ac_func in at_quick_exit
76845 do :
76846 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
76847 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
76848 cat >>confdefs.h <<_ACEOF
76849 #define HAVE_AT_QUICK_EXIT 1
76850 _ACEOF
76853 done
76858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
76859 $as_echo_n "checking for quick_exit declaration... " >&6; }
76860 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
76861 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
76862 $as_echo_n "(cached) " >&6
76863 else
76866 ac_ext=cpp
76867 ac_cpp='$CXXCPP $CPPFLAGS'
76868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76873 /* end confdefs.h. */
76874 #include <stdlib.h>
76876 main ()
76878 quick_exit(0);
76880 return 0;
76882 _ACEOF
76883 if ac_fn_cxx_try_compile "$LINENO"; then :
76884 glibcxx_cv_func_quick_exit_use=yes
76885 else
76886 glibcxx_cv_func_quick_exit_use=no
76888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76889 ac_ext=c
76890 ac_cpp='$CPP $CPPFLAGS'
76891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
76900 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
76901 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
76902 for ac_func in quick_exit
76903 do :
76904 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
76905 if test "x$ac_cv_func_quick_exit" = x""yes; then :
76906 cat >>confdefs.h <<_ACEOF
76907 #define HAVE_QUICK_EXIT 1
76908 _ACEOF
76911 done
76916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
76917 $as_echo_n "checking for strtold declaration... " >&6; }
76918 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
76919 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
76920 $as_echo_n "(cached) " >&6
76921 else
76924 ac_ext=cpp
76925 ac_cpp='$CXXCPP $CPPFLAGS'
76926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76931 /* end confdefs.h. */
76932 #include <stdlib.h>
76934 main ()
76936 strtold(0, 0);
76938 return 0;
76940 _ACEOF
76941 if ac_fn_cxx_try_compile "$LINENO"; then :
76942 glibcxx_cv_func_strtold_use=yes
76943 else
76944 glibcxx_cv_func_strtold_use=no
76946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76947 ac_ext=c
76948 ac_cpp='$CPP $CPPFLAGS'
76949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
76958 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
76959 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
76960 for ac_func in strtold
76961 do :
76962 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
76963 if test "x$ac_cv_func_strtold" = x""yes; then :
76964 cat >>confdefs.h <<_ACEOF
76965 #define HAVE_STRTOLD 1
76966 _ACEOF
76969 done
76976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
76977 $as_echo_n "checking for strtof declaration... " >&6; }
76978 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
76979 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
76980 $as_echo_n "(cached) " >&6
76981 else
76984 ac_ext=cpp
76985 ac_cpp='$CXXCPP $CPPFLAGS'
76986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76991 /* end confdefs.h. */
76992 #include <stdlib.h>
76994 main ()
76996 strtof(0, 0);
76998 return 0;
77000 _ACEOF
77001 if ac_fn_cxx_try_compile "$LINENO"; then :
77002 glibcxx_cv_func_strtof_use=yes
77003 else
77004 glibcxx_cv_func_strtof_use=no
77006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77007 ac_ext=c
77008 ac_cpp='$CPP $CPPFLAGS'
77009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
77018 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
77019 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
77020 for ac_func in strtof
77021 do :
77022 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
77023 if test "x$ac_cv_func_strtof" = x""yes; then :
77024 cat >>confdefs.h <<_ACEOF
77025 #define HAVE_STRTOF 1
77026 _ACEOF
77029 done
77036 CXXFLAGS="$ac_save_CXXFLAGS"
77039 *-vxworks)
77040 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
77042 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
77044 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
77046 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
77048 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
77050 $as_echo "#define HAVE_COSF 1" >>confdefs.h
77052 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
77054 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
77056 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
77058 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
77060 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
77062 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
77064 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
77066 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
77068 $as_echo "#define HAVE_POWF 1" >>confdefs.h
77070 $as_echo "#define HAVE_SINF 1" >>confdefs.h
77072 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
77074 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
77076 $as_echo "#define HAVE_TANF 1" >>confdefs.h
77078 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
77082 as_fn_error "No support for this host/target combination." "$LINENO" 5
77084 esac
77088 # At some point, we should differentiate between architectures
77089 # like x86, which have long double versions, and alpha/powerpc/etc.,
77090 # which don't. For the time being, punt.
77091 if test x"long_double_math_on_this_cpu" = x"yes"; then
77092 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
77094 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
77096 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
77098 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
77100 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
77102 $as_echo "#define HAVE_COSL 1" >>confdefs.h
77104 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
77106 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
77108 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
77110 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
77112 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
77114 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
77116 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
77118 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
77120 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
77122 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
77124 $as_echo "#define HAVE_POWL 1" >>confdefs.h
77126 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
77128 $as_echo "#define HAVE_SINL 1" >>confdefs.h
77130 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
77132 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
77134 $as_echo "#define HAVE_TANL 1" >>confdefs.h
77136 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
77141 # Check for _Unwind_GetIPInfo.
77144 # Check whether --with-system-libunwind was given.
77145 if test "${with_system_libunwind+set}" = set; then :
77146 withval=$with_system_libunwind;
77149 # If system-libunwind was not specifically set, pick a default setting.
77150 if test x$with_system_libunwind = x; then
77151 case ${target} in
77152 ia64-*-hpux*) with_system_libunwind=yes ;;
77153 *) with_system_libunwind=no ;;
77154 esac
77156 # Based on system-libunwind and target, do we have ipinfo?
77157 if test x$with_system_libunwind = xyes; then
77158 case ${target} in
77159 ia64-*-*) have_unwind_getipinfo=no ;;
77160 *) have_unwind_getipinfo=yes ;;
77161 esac
77162 else
77163 # Darwin before version 9 does not have _Unwind_GetIPInfo.
77165 case ${target} in
77166 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
77167 *) have_unwind_getipinfo=yes ;;
77168 esac
77172 if test x$have_unwind_getipinfo = xyes; then
77174 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
77179 # Check whether --enable-linux-futex was given.
77180 if test "${enable_linux_futex+set}" = set; then :
77181 enableval=$enable_linux_futex;
77182 case "$enableval" in
77183 yes|no|default) ;;
77184 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
77185 esac
77187 else
77188 enable_linux_futex=default
77192 case "$target" in
77193 *-linux*)
77194 case "$enable_linux_futex" in
77195 default)
77196 # If headers don't have gettid/futex syscalls definition, then
77197 # default to no, otherwise there will be compile time failures.
77198 # Otherwise, default to yes. If we don't detect we are
77199 # compiled/linked against NPTL and not cross-compiling, check
77200 # if programs are run by default against NPTL and if not, issue
77201 # a warning.
77202 enable_linux_futex=no
77203 if test x$gcc_no_link = xyes; then
77204 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77207 /* end confdefs.h. */
77208 #include <sys/syscall.h>
77209 int lk;
77211 main ()
77213 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
77215 return 0;
77217 _ACEOF
77218 if ac_fn_c_try_link "$LINENO"; then :
77219 save_LIBS="$LIBS"
77220 LIBS="-lpthread $LIBS"
77221 if test x$gcc_no_link = xyes; then
77222 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77225 /* end confdefs.h. */
77226 #ifndef _GNU_SOURCE
77227 #define _GNU_SOURCE 1
77228 #endif
77229 #include <pthread.h>
77230 pthread_t th; void *status;
77232 main ()
77234 pthread_tryjoin_np (th, &status);
77236 return 0;
77238 _ACEOF
77239 if ac_fn_c_try_link "$LINENO"; then :
77240 enable_linux_futex=yes
77241 else
77242 if test x$cross_compiling = xno; then
77243 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
77244 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
77245 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
77246 If so, please configure with --disable-linux-futex" >&5
77247 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
77248 If so, please configure with --disable-linux-futex" >&2;}
77251 enable_linux_futex=yes
77253 rm -f core conftest.err conftest.$ac_objext \
77254 conftest$ac_exeext conftest.$ac_ext
77255 LIBS="$save_LIBS"
77257 rm -f core conftest.err conftest.$ac_objext \
77258 conftest$ac_exeext conftest.$ac_ext
77260 yes)
77261 if test x$gcc_no_link = xyes; then
77262 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77265 /* end confdefs.h. */
77266 #include <sys/syscall.h>
77267 int lk;
77269 main ()
77271 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
77273 return 0;
77275 _ACEOF
77276 if ac_fn_c_try_link "$LINENO"; then :
77278 else
77279 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
77281 rm -f core conftest.err conftest.$ac_objext \
77282 conftest$ac_exeext conftest.$ac_ext
77284 esac
77287 enable_linux_futex=no
77289 esac
77290 if test x$enable_linux_futex = xyes; then
77292 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
77299 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
77301 acx_cv_header_stdint=stddef.h
77302 acx_cv_header_stdint_kind="(already complete)"
77303 for i in stdint.h $inttype_headers; do
77304 unset ac_cv_type_uintptr_t
77305 unset ac_cv_type_uintmax_t
77306 unset ac_cv_type_int_least32_t
77307 unset ac_cv_type_int_fast32_t
77308 unset ac_cv_type_uint64_t
77309 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
77310 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
77311 #include <$i>
77313 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
77314 acx_cv_header_stdint=$i
77315 else
77316 continue
77319 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
77320 #include <$i>
77322 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
77324 else
77325 acx_cv_header_stdint_kind="(mostly complete)"
77328 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
77329 #include <$i>
77331 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
77333 else
77334 acx_cv_header_stdint_kind="(mostly complete)"
77337 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
77338 #include <$i>
77340 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
77342 else
77343 acx_cv_header_stdint_kind="(mostly complete)"
77346 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
77347 #include <$i>
77349 if test "x$ac_cv_type_uint64_t" = x""yes; then :
77351 else
77352 acx_cv_header_stdint_kind="(lacks uint64_t)"
77355 break
77356 done
77357 if test "$acx_cv_header_stdint" = stddef.h; then
77358 acx_cv_header_stdint_kind="(lacks uintmax_t)"
77359 for i in stdint.h $inttype_headers; do
77360 unset ac_cv_type_uintptr_t
77361 unset ac_cv_type_uint32_t
77362 unset ac_cv_type_uint64_t
77363 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
77364 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
77365 #include <$i>
77367 if test "x$ac_cv_type_uint32_t" = x""yes; then :
77368 acx_cv_header_stdint=$i
77369 else
77370 continue
77373 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
77374 #include <$i>
77376 if test "x$ac_cv_type_uint64_t" = x""yes; then :
77380 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
77381 #include <$i>
77383 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
77387 break
77388 done
77390 if test "$acx_cv_header_stdint" = stddef.h; then
77391 acx_cv_header_stdint_kind="(u_intXX_t style)"
77392 for i in sys/types.h $inttype_headers; do
77393 unset ac_cv_type_u_int32_t
77394 unset ac_cv_type_u_int64_t
77395 $as_echo_n "looking for u_intXX_t types in $i, " >&6
77396 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
77397 #include <$i>
77399 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
77400 acx_cv_header_stdint=$i
77401 else
77402 continue
77405 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
77406 #include <$i>
77408 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
77412 break
77413 done
77415 if test "$acx_cv_header_stdint" = stddef.h; then
77416 acx_cv_header_stdint_kind="(using manual detection)"
77419 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
77420 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
77421 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
77422 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
77423 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
77425 # ----------------- Summarize what we found so far
77427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
77428 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
77430 case `$as_basename -- include/gstdint.h ||
77431 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
77432 Xinclude/gstdint.h : 'X\(//\)$' \| \
77433 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
77434 $as_echo X/include/gstdint.h |
77435 sed '/^.*\/\([^/][^/]*\)\/*$/{
77436 s//\1/
77439 /^X\/\(\/\/\)$/{
77440 s//\1/
77443 /^X\/\(\/\).*/{
77444 s//\1/
77447 s/.*/./; q'` in
77448 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
77449 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
77450 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
77451 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
77452 *) ;;
77453 esac
77455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
77456 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
77458 # ----------------- done included file, check C basic types --------
77460 # Lacking an uintptr_t? Test size of void *
77461 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
77462 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
77463 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77464 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77465 # This bug is HP SR number 8606223364.
77466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
77467 $as_echo_n "checking size of void *... " >&6; }
77468 if test "${ac_cv_sizeof_void_p+set}" = set; then :
77469 $as_echo_n "(cached) " >&6
77470 else
77471 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
77473 else
77474 if test "$ac_cv_type_void_p" = yes; then
77475 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77476 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77477 { as_fn_set_status 77
77478 as_fn_error "cannot compute sizeof (void *)
77479 See \`config.log' for more details." "$LINENO" 5; }; }
77480 else
77481 ac_cv_sizeof_void_p=0
77486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
77487 $as_echo "$ac_cv_sizeof_void_p" >&6; }
77491 cat >>confdefs.h <<_ACEOF
77492 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
77493 _ACEOF
77496 esac
77498 # Lacking an uint64_t? Test size of long
77499 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
77500 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
77501 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77502 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77503 # This bug is HP SR number 8606223364.
77504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
77505 $as_echo_n "checking size of long... " >&6; }
77506 if test "${ac_cv_sizeof_long+set}" = set; then :
77507 $as_echo_n "(cached) " >&6
77508 else
77509 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
77511 else
77512 if test "$ac_cv_type_long" = yes; then
77513 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77514 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77515 { as_fn_set_status 77
77516 as_fn_error "cannot compute sizeof (long)
77517 See \`config.log' for more details." "$LINENO" 5; }; }
77518 else
77519 ac_cv_sizeof_long=0
77524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
77525 $as_echo "$ac_cv_sizeof_long" >&6; }
77529 cat >>confdefs.h <<_ACEOF
77530 #define SIZEOF_LONG $ac_cv_sizeof_long
77531 _ACEOF
77534 esac
77536 if test $acx_cv_header_stdint = stddef.h; then
77537 # Lacking a good header? Test size of everything and deduce all types.
77538 # The cast to long int works around a bug in the HP C Compiler
77539 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77540 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77541 # This bug is HP SR number 8606223364.
77542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
77543 $as_echo_n "checking size of int... " >&6; }
77544 if test "${ac_cv_sizeof_int+set}" = set; then :
77545 $as_echo_n "(cached) " >&6
77546 else
77547 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
77549 else
77550 if test "$ac_cv_type_int" = yes; then
77551 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77552 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77553 { as_fn_set_status 77
77554 as_fn_error "cannot compute sizeof (int)
77555 See \`config.log' for more details." "$LINENO" 5; }; }
77556 else
77557 ac_cv_sizeof_int=0
77562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
77563 $as_echo "$ac_cv_sizeof_int" >&6; }
77567 cat >>confdefs.h <<_ACEOF
77568 #define SIZEOF_INT $ac_cv_sizeof_int
77569 _ACEOF
77572 # The cast to long int works around a bug in the HP C Compiler
77573 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77574 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77575 # This bug is HP SR number 8606223364.
77576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
77577 $as_echo_n "checking size of short... " >&6; }
77578 if test "${ac_cv_sizeof_short+set}" = set; then :
77579 $as_echo_n "(cached) " >&6
77580 else
77581 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
77583 else
77584 if test "$ac_cv_type_short" = yes; then
77585 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77586 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77587 { as_fn_set_status 77
77588 as_fn_error "cannot compute sizeof (short)
77589 See \`config.log' for more details." "$LINENO" 5; }; }
77590 else
77591 ac_cv_sizeof_short=0
77596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
77597 $as_echo "$ac_cv_sizeof_short" >&6; }
77601 cat >>confdefs.h <<_ACEOF
77602 #define SIZEOF_SHORT $ac_cv_sizeof_short
77603 _ACEOF
77606 # The cast to long int works around a bug in the HP C Compiler
77607 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77608 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77609 # This bug is HP SR number 8606223364.
77610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
77611 $as_echo_n "checking size of char... " >&6; }
77612 if test "${ac_cv_sizeof_char+set}" = set; then :
77613 $as_echo_n "(cached) " >&6
77614 else
77615 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
77617 else
77618 if test "$ac_cv_type_char" = yes; then
77619 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77620 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77621 { as_fn_set_status 77
77622 as_fn_error "cannot compute sizeof (char)
77623 See \`config.log' for more details." "$LINENO" 5; }; }
77624 else
77625 ac_cv_sizeof_char=0
77630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
77631 $as_echo "$ac_cv_sizeof_char" >&6; }
77635 cat >>confdefs.h <<_ACEOF
77636 #define SIZEOF_CHAR $ac_cv_sizeof_char
77637 _ACEOF
77641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
77642 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
77643 case "$ac_cv_sizeof_char" in
77644 1) acx_cv_type_int8_t=char ;;
77645 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
77646 esac
77647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
77648 $as_echo "$acx_cv_type_int8_t" >&6; }
77650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
77651 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
77652 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
77653 2:*) acx_cv_type_int16_t=int ;;
77654 *:2) acx_cv_type_int16_t=short ;;
77655 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
77656 esac
77657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
77658 $as_echo "$acx_cv_type_int16_t" >&6; }
77660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
77661 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
77662 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
77663 4:*) acx_cv_type_int32_t=int ;;
77664 *:4) acx_cv_type_int32_t=long ;;
77665 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
77666 esac
77667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
77668 $as_echo "$acx_cv_type_int32_t" >&6; }
77671 # These tests are here to make the output prettier
77673 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
77674 case "$ac_cv_sizeof_long" in
77675 8) acx_cv_type_int64_t=long ;;
77676 esac
77677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
77678 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
77679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
77680 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
77683 # Now we can use the above types
77685 if test "$ac_cv_type_uintptr_t" != yes; then
77686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
77687 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
77688 case $ac_cv_sizeof_void_p in
77689 2) acx_cv_type_intptr_t=int16_t ;;
77690 4) acx_cv_type_intptr_t=int32_t ;;
77691 8) acx_cv_type_intptr_t=int64_t ;;
77692 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
77693 esac
77694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
77695 $as_echo "$acx_cv_type_intptr_t" >&6; }
77698 # ----------------- done all checks, emit header -------------
77699 ac_config_commands="$ac_config_commands include/gstdint.h"
77705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
77706 $as_echo_n "checking for GNU c++filt... " >&6; }
77707 if test "${ac_cv_path_CXXFILT+set}" = set; then :
77708 $as_echo_n "(cached) " >&6
77709 else
77710 if test -z "$CXXFILT"; then
77711 ac_path_CXXFILT_found=false
77712 # Loop through the user's path and test for each of PROGNAME-LIST
77713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77714 for as_dir in $PATH
77716 IFS=$as_save_IFS
77717 test -z "$as_dir" && as_dir=.
77718 for ac_prog in c++filt gc++filt; do
77719 for ac_exec_ext in '' $ac_executable_extensions; do
77720 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
77721 { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
77722 # Check for GNU $ac_path_CXXFILT
77723 case `"$ac_path_CXXFILT" --version 2>&1` in
77724 *GNU*)
77725 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
77726 esac
77728 $ac_path_CXXFILT_found && break 3
77729 done
77730 done
77731 done
77732 IFS=$as_save_IFS
77733 if test -z "$ac_cv_path_CXXFILT"; then
77736 else
77737 ac_cv_path_CXXFILT=$CXXFILT
77741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
77742 $as_echo "$ac_cv_path_CXXFILT" >&6; }
77743 CXXFILT=$ac_cv_path_CXXFILT
77747 # Check whether --enable-symvers was given.
77748 if test "${enable_symvers+set}" = set; then :
77749 enableval=$enable_symvers;
77750 case "$enableval" in
77751 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
77752 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
77753 esac
77755 else
77756 enable_symvers=yes
77761 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
77762 # don't know enough about $LD to do tricks...
77764 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
77765 # with extern "C++" in version scripts.
77768 # Turn a 'yes' into a suitable default.
77769 if test x$enable_symvers = xyes ; then
77770 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
77771 enable_symvers=no
77772 else
77773 if test $with_gnu_ld = yes ; then
77774 case ${target_os} in
77775 hpux*)
77776 enable_symvers=no ;;
77778 enable_symvers=gnu ;;
77779 esac
77780 else
77781 case ${target_os} in
77782 darwin*)
77783 enable_symvers=darwin ;;
77784 # Sun symbol versioning exists since Solaris 2.5.
77785 solaris2.[5-9]* | solaris2.1[0-9]*)
77786 # make_sunver.pl needs GNU c++filt to support extern "C++" in
77787 # version scripts, so disable symbol versioning if none can be
77788 # found.
77789 if test -z "$ac_cv_path_CXXFILT"; then
77790 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
77791 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
77792 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
77793 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
77794 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
77795 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
77796 enable_symvers=no
77797 else
77798 enable_symvers=sun
77802 enable_symvers=no ;;
77803 esac
77808 # Check to see if 'darwin' or 'darwin-export' can win.
77809 if test x$enable_symvers = xdarwin-export ; then
77810 enable_symvers=darwin
77813 # Check if 'sun' was requested on non-Solaris 2 platforms.
77814 if test x$enable_symvers = xsun ; then
77815 case ${target_os} in
77816 solaris2*)
77817 # All fine.
77820 # Unlikely to work.
77821 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
77822 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
77823 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
77824 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
77825 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
77826 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
77827 enable_symvers=no
77829 esac
77832 # Check to see if 'gnu' can win.
77833 if test $enable_symvers = gnu ||
77834 test $enable_symvers = gnu-versioned-namespace ||
77835 test $enable_symvers = sun; then
77836 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
77837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
77838 $as_echo_n "checking for shared libgcc... " >&6; }
77839 ac_save_CFLAGS="$CFLAGS"
77840 CFLAGS=' -lgcc_s'
77841 if test x$gcc_no_link = xyes; then
77842 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77845 /* end confdefs.h. */
77848 main ()
77850 return 0;
77852 return 0;
77854 _ACEOF
77855 if ac_fn_c_try_link "$LINENO"; then :
77856 glibcxx_shared_libgcc=yes
77857 else
77858 glibcxx_shared_libgcc=no
77860 rm -f core conftest.err conftest.$ac_objext \
77861 conftest$ac_exeext conftest.$ac_ext
77862 CFLAGS="$ac_save_CFLAGS"
77863 if test $glibcxx_shared_libgcc = no; then
77864 cat > conftest.c <<EOF
77865 int main (void) { return 0; }
77867 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
77868 -shared -shared-libgcc -o conftest.so \
77869 conftest.c -v 2>&1 >/dev/null \
77870 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
77871 rm -f conftest.c conftest.so
77872 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
77873 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
77874 if test x$gcc_no_link = xyes; then
77875 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77878 /* end confdefs.h. */
77881 main ()
77883 return 0;
77885 return 0;
77887 _ACEOF
77888 if ac_fn_c_try_link "$LINENO"; then :
77889 glibcxx_shared_libgcc=yes
77891 rm -f core conftest.err conftest.$ac_objext \
77892 conftest$ac_exeext conftest.$ac_ext
77893 CFLAGS="$ac_save_CFLAGS"
77896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
77897 $as_echo "$glibcxx_shared_libgcc" >&6; }
77899 # For GNU ld, we need at least this version. The format is described in
77900 # GLIBCXX_CHECK_LINKER_FEATURES above.
77901 glibcxx_min_gnu_ld_version=21400
77903 # If no shared libgcc, can't win.
77904 if test $glibcxx_shared_libgcc != yes; then
77905 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
77906 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
77907 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
77908 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
77909 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
77910 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
77911 enable_symvers=no
77912 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
77913 : All interesting versions of Sun ld support sun style symbol versioning.
77914 elif test $with_gnu_ld != yes ; then
77915 # just fail for now
77916 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
77917 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
77918 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
77919 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&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
77923 elif test $glibcxx_ld_is_gold = yes ; then
77924 : All versions of gold support symbol versioning.
77925 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
77926 # The right tools, the right setup, but too old. Fallbacks?
77927 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
77928 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
77929 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
77930 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
77931 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
77932 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
77933 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
77934 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
77935 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
77936 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
77937 enable_symvers=no
77941 # For libtool versioning info, format is CURRENT:REVISION:AGE
77942 libtool_VERSION=6:21:0
77944 # Everything parsed; figure out what files and settings to use.
77945 case $enable_symvers in
77947 SYMVER_FILE=config/abi/pre/none.ver
77949 gnu)
77950 SYMVER_FILE=config/abi/pre/gnu.ver
77952 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
77955 gnu-versioned-namespace)
77956 libtool_VERSION=7:0:0
77957 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
77959 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
77962 darwin)
77963 SYMVER_FILE=config/abi/pre/gnu.ver
77965 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
77968 sun)
77969 SYMVER_FILE=config/abi/pre/gnu.ver
77971 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
77974 esac
77976 if test x$enable_symvers != xno ; then
77978 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
77982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
77983 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
77984 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
77985 $as_echo_n "(cached) " >&6
77986 else
77988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77989 /* end confdefs.h. */
77990 void foo (void); __asm (".symver foo, bar@SYMVER");
77992 main ()
77996 return 0;
77998 _ACEOF
77999 if ac_fn_c_try_compile "$LINENO"; then :
78000 glibcxx_cv_have_as_symver_directive=yes
78001 else
78002 glibcxx_cv_have_as_symver_directive=no
78004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
78007 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
78008 if test $glibcxx_cv_have_as_symver_directive = yes; then
78010 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
78021 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
78022 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
78024 if test $enable_symvers != no ; then
78025 case ${target_os} in
78026 # The Solaris 2 runtime linker doesn't support the GNU extension of
78027 # binding the same symbol to different versions
78028 solaris2*)
78030 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
78033 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
78036 esac
78039 # Now, set up compatibility support, if any.
78040 # In addition, need this to deal with std::size_t mangling in
78041 # src/compatibility.cc. In a perfect world, could use
78042 # typeid(std::size_t).name()[0] to do direct substitution.
78043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
78044 $as_echo_n "checking for size_t as unsigned int... " >&6; }
78045 ac_save_CFLAGS="$CFLAGS"
78046 CFLAGS="-Werror"
78047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78048 /* end confdefs.h. */
78051 main ()
78053 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
78055 return 0;
78057 _ACEOF
78058 if ac_fn_c_try_compile "$LINENO"; then :
78059 glibcxx_size_t_is_i=yes
78060 else
78061 glibcxx_size_t_is_i=no
78063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78064 CFLAGS=$ac_save_CFLAGS
78065 if test "$glibcxx_size_t_is_i" = yes; then
78067 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
78070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
78071 $as_echo "$glibcxx_size_t_is_i" >&6; }
78073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
78074 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
78075 ac_save_CFLAGS="$CFLAGS"
78076 CFLAGS="-Werror"
78077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78078 /* end confdefs.h. */
78081 main ()
78083 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
78085 return 0;
78087 _ACEOF
78088 if ac_fn_c_try_compile "$LINENO"; then :
78089 glibcxx_ptrdiff_t_is_i=yes
78090 else
78091 glibcxx_ptrdiff_t_is_i=no
78093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78094 CFLAGS=$ac_save_CFLAGS
78095 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
78097 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
78100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
78101 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
78106 # Check whether --enable-libstdcxx-visibility was given.
78107 if test "${enable_libstdcxx_visibility+set}" = set; then :
78108 enableval=$enable_libstdcxx_visibility;
78109 case "$enableval" in
78110 yes|no) ;;
78111 *) as_fn_error "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
78112 esac
78114 else
78115 enable_libstdcxx_visibility=yes
78120 if test x$enable_libstdcxx_visibility = xyes ; then
78121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
78122 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
78123 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
78124 $as_echo_n "(cached) " >&6
78125 else
78127 save_CFLAGS="$CFLAGS"
78128 CFLAGS="$CFLAGS -Werror"
78129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78130 /* end confdefs.h. */
78131 void __attribute__((visibility("hidden"))) foo(void) { }
78133 main ()
78137 return 0;
78139 _ACEOF
78140 if ac_fn_c_try_compile "$LINENO"; then :
78141 glibcxx_cv_have_attribute_visibility=yes
78142 else
78143 glibcxx_cv_have_attribute_visibility=no
78145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78146 CFLAGS="$save_CFLAGS"
78148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
78149 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
78150 if test $glibcxx_cv_have_attribute_visibility = no; then
78151 enable_libstdcxx_visibility=no
78156 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
78157 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
78160 ac_ldbl_compat=no
78161 case "$target" in
78162 powerpc*-*-linux* | \
78163 sparc*-*-linux* | \
78164 s390*-*-linux* | \
78165 alpha*-*-linux*)
78166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78167 /* end confdefs.h. */
78170 main ()
78173 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
78174 #error no need for long double compatibility
78175 #endif
78178 return 0;
78180 _ACEOF
78181 if ac_fn_c_try_compile "$LINENO"; then :
78182 ac_ldbl_compat=yes
78183 else
78184 ac_ldbl_compat=no
78186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78187 if test "$ac_ldbl_compat" = yes; then
78189 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
78191 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
78193 esac
78196 # Check if assembler supports disabling hardware capability support.
78198 test -z "$HWCAP_FLAGS" && HWCAP_FLAGS=''
78200 # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
78201 # with a different meaning.
78202 case ${target_os} in
78203 solaris2*)
78204 ac_save_CFLAGS="$CFLAGS"
78205 CFLAGS="$CFLAGS -Wa,-nH"
78207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
78208 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
78209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78210 /* end confdefs.h. */
78213 main ()
78215 return 0;
78217 return 0;
78219 _ACEOF
78220 if ac_fn_c_try_compile "$LINENO"; then :
78221 ac_hwcap_flags=yes
78222 else
78223 ac_hwcap_flags=no
78225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78226 if test "$ac_hwcap_flags" = "yes"; then
78227 HWCAP_FLAGS="-Wa,-nH $HWCAP_FLAGS"
78229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
78230 $as_echo "$ac_hwcap_flags" >&6; }
78232 CFLAGS="$ac_save_CFLAGS"
78234 esac
78239 # Check if assembler supports rdrand opcode.
78241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
78242 $as_echo_n "checking for rdrand support in assembler... " >&6; }
78243 if test "${ac_cv_x86_rdrand+set}" = set; then :
78244 $as_echo_n "(cached) " >&6
78245 else
78247 ac_cv_x86_rdrand=no
78248 case "$target" in
78249 i?86-*-* | \
78250 x86_64-*-*)
78251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78252 /* end confdefs.h. */
78255 main ()
78257 asm("rdrand %eax");
78259 return 0;
78261 _ACEOF
78262 if ac_fn_c_try_compile "$LINENO"; then :
78263 ac_cv_x86_rdrand=yes
78264 else
78265 ac_cv_x86_rdrand=no
78267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78268 esac
78272 if test $ac_cv_x86_rdrand = yes; then
78274 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
78277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
78278 $as_echo "$ac_cv_x86_rdrand" >&6; }
78281 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
78283 if $GLIBCXX_IS_NATIVE ; then
78284 # Do checks for resource limit functions.
78286 setrlimit_have_headers=yes
78287 for ac_header in unistd.h sys/time.h sys/resource.h
78288 do :
78289 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
78290 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
78291 eval as_val=\$$as_ac_Header
78292 if test "x$as_val" = x""yes; then :
78293 cat >>confdefs.h <<_ACEOF
78294 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
78295 _ACEOF
78297 else
78298 setrlimit_have_headers=no
78301 done
78303 # If don't have the headers, then we can't run the tests now, and we
78304 # won't be seeing any of these during testsuite compilation.
78305 if test $setrlimit_have_headers = yes; then
78306 # Can't do these in a loop, else the resulting syntax is wrong.
78308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
78309 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
78310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78311 /* end confdefs.h. */
78312 #include <unistd.h>
78313 #include <sys/time.h>
78314 #include <sys/resource.h>
78317 main ()
78319 int f = RLIMIT_DATA ;
78321 return 0;
78323 _ACEOF
78324 if ac_fn_c_try_compile "$LINENO"; then :
78325 glibcxx_mresult=1
78326 else
78327 glibcxx_mresult=0
78329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78331 cat >>confdefs.h <<_ACEOF
78332 #define HAVE_LIMIT_DATA $glibcxx_mresult
78333 _ACEOF
78335 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78337 $as_echo "$res" >&6; }
78340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
78341 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
78342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78343 /* end confdefs.h. */
78344 #include <unistd.h>
78345 #include <sys/time.h>
78346 #include <sys/resource.h>
78349 main ()
78351 int f = RLIMIT_RSS ;
78353 return 0;
78355 _ACEOF
78356 if ac_fn_c_try_compile "$LINENO"; then :
78357 glibcxx_mresult=1
78358 else
78359 glibcxx_mresult=0
78361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78363 cat >>confdefs.h <<_ACEOF
78364 #define HAVE_LIMIT_RSS $glibcxx_mresult
78365 _ACEOF
78367 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78369 $as_echo "$res" >&6; }
78372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
78373 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
78374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78375 /* end confdefs.h. */
78376 #include <unistd.h>
78377 #include <sys/time.h>
78378 #include <sys/resource.h>
78381 main ()
78383 int f = RLIMIT_VMEM ;
78385 return 0;
78387 _ACEOF
78388 if ac_fn_c_try_compile "$LINENO"; then :
78389 glibcxx_mresult=1
78390 else
78391 glibcxx_mresult=0
78393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78395 cat >>confdefs.h <<_ACEOF
78396 #define HAVE_LIMIT_VMEM $glibcxx_mresult
78397 _ACEOF
78399 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78401 $as_echo "$res" >&6; }
78404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
78405 $as_echo_n "checking for RLIMIT_AS... " >&6; }
78406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78407 /* end confdefs.h. */
78408 #include <unistd.h>
78409 #include <sys/time.h>
78410 #include <sys/resource.h>
78413 main ()
78415 int f = RLIMIT_AS ;
78417 return 0;
78419 _ACEOF
78420 if ac_fn_c_try_compile "$LINENO"; then :
78421 glibcxx_mresult=1
78422 else
78423 glibcxx_mresult=0
78425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78427 cat >>confdefs.h <<_ACEOF
78428 #define HAVE_LIMIT_AS $glibcxx_mresult
78429 _ACEOF
78431 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78433 $as_echo "$res" >&6; }
78436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
78437 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
78438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78439 /* end confdefs.h. */
78440 #include <unistd.h>
78441 #include <sys/time.h>
78442 #include <sys/resource.h>
78445 main ()
78447 int f = RLIMIT_FSIZE ;
78449 return 0;
78451 _ACEOF
78452 if ac_fn_c_try_compile "$LINENO"; then :
78453 glibcxx_mresult=1
78454 else
78455 glibcxx_mresult=0
78457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78459 cat >>confdefs.h <<_ACEOF
78460 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
78461 _ACEOF
78463 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78465 $as_echo "$res" >&6; }
78468 # Check for rlimit, setrlimit.
78469 if test "${glibcxx_cv_setrlimit+set}" = set; then :
78470 $as_echo_n "(cached) " >&6
78471 else
78473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78474 /* end confdefs.h. */
78475 #include <unistd.h>
78476 #include <sys/time.h>
78477 #include <sys/resource.h>
78480 main ()
78482 struct rlimit r;
78483 setrlimit(0, &r);
78485 return 0;
78487 _ACEOF
78488 if ac_fn_c_try_compile "$LINENO"; then :
78489 glibcxx_cv_setrlimit=yes
78490 else
78491 glibcxx_cv_setrlimit=no
78493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
78500 $as_echo_n "checking for testsuite resource limits support... " >&6; }
78501 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
78502 ac_res_limits=yes
78504 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
78506 else
78507 ac_res_limits=no
78509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
78510 $as_echo "$ac_res_limits" >&6; }
78513 # Look for setenv, so that extended locale tests can be performed.
78515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
78516 $as_echo_n "checking for setenv declaration... " >&6; }
78517 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
78518 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
78519 $as_echo_n "(cached) " >&6
78520 else
78523 ac_ext=cpp
78524 ac_cpp='$CXXCPP $CPPFLAGS'
78525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78530 /* end confdefs.h. */
78531 #include <stdlib.h>
78533 main ()
78535 setenv(0, 0, 0);
78537 return 0;
78539 _ACEOF
78540 if ac_fn_cxx_try_compile "$LINENO"; then :
78541 glibcxx_cv_func_setenv_use=yes
78542 else
78543 glibcxx_cv_func_setenv_use=no
78545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78546 ac_ext=c
78547 ac_cpp='$CPP $CPPFLAGS'
78548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
78557 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
78558 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
78559 for ac_func in setenv
78560 do :
78561 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
78562 if test "x$ac_cv_func_setenv" = x""yes; then :
78563 cat >>confdefs.h <<_ACEOF
78564 #define HAVE_SETENV 1
78565 _ACEOF
78568 done
78574 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
78575 test $enable_symvers != no; then
78576 case "$host" in
78577 *-*-cygwin*)
78578 enable_abi_check=no ;;
78580 enable_abi_check=yes ;;
78581 esac
78582 else
78583 # Only build this as native, since automake does not understand
78584 # CXX_FOR_BUILD.
78585 enable_abi_check=no
78588 # Export file names for ABI checking.
78589 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
78591 baseline_subdir_switch="$abi_baseline_subdir_switch"
78595 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
78597 # Check whether --enable-libstdcxx-threads was given.
78598 if test "${enable_libstdcxx_threads+set}" = set; then :
78599 enableval=$enable_libstdcxx_threads;
78600 case "$enableval" in
78601 yes|no) ;;
78602 *) as_fn_error "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
78603 esac
78605 else
78606 enable_libstdcxx_threads=auto
78611 if test x$enable_libstdcxx_threads = xauto ||
78612 test x$enable_libstdcxx_threads = xyes; then
78615 ac_ext=cpp
78616 ac_cpp='$CXXCPP $CPPFLAGS'
78617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78622 ac_save_CXXFLAGS="$CXXFLAGS"
78623 CXXFLAGS="$CXXFLAGS -fno-exceptions \
78624 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
78626 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
78627 case $target_thread_file in
78628 posix)
78629 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
78630 esac
78632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
78633 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
78635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78636 /* end confdefs.h. */
78637 #include <unistd.h>
78639 main ()
78642 // In case of POSIX threads check _POSIX_TIMEOUTS.
78643 #if (defined(_PTHREADS) \
78644 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
78645 #error
78646 #endif
78649 return 0;
78651 _ACEOF
78652 if ac_fn_cxx_try_compile "$LINENO"; then :
78653 ac_gthread_use_mutex_timedlock=1
78654 else
78655 ac_gthread_use_mutex_timedlock=0
78657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78660 cat >>confdefs.h <<_ACEOF
78661 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
78662 _ACEOF
78665 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
78666 else res_mutex_timedlock=no ; fi
78667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
78668 $as_echo "$res_mutex_timedlock" >&6; }
78670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
78671 $as_echo_n "checking for gthreads library... " >&6; }
78673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78674 /* end confdefs.h. */
78675 #include "gthr.h"
78677 main ()
78680 #ifndef __GTHREADS_CXX0X
78681 #error
78682 #endif
78685 return 0;
78687 _ACEOF
78688 if ac_fn_cxx_try_compile "$LINENO"; then :
78689 ac_has_gthreads=yes
78690 else
78691 ac_has_gthreads=no
78693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78694 else
78695 ac_has_gthreads=no
78698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
78699 $as_echo "$ac_has_gthreads" >&6; }
78701 if test x"$ac_has_gthreads" = x"yes"; then
78703 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
78707 CXXFLAGS="$ac_save_CXXFLAGS"
78708 ac_ext=c
78709 ac_cpp='$CPP $CPPFLAGS'
78710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78716 # Define documentation rules conditionally.
78718 # See if makeinfo has been installed and is modern enough
78719 # that we can use it.
78721 # Extract the first word of "makeinfo", so it can be a program name with args.
78722 set dummy makeinfo; ac_word=$2
78723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
78724 $as_echo_n "checking for $ac_word... " >&6; }
78725 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
78726 $as_echo_n "(cached) " >&6
78727 else
78728 if test -n "$MAKEINFO"; then
78729 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
78730 else
78731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78732 for as_dir in $PATH
78734 IFS=$as_save_IFS
78735 test -z "$as_dir" && as_dir=.
78736 for ac_exec_ext in '' $ac_executable_extensions; do
78737 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
78738 ac_cv_prog_MAKEINFO="makeinfo"
78739 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
78740 break 2
78742 done
78743 done
78744 IFS=$as_save_IFS
78748 MAKEINFO=$ac_cv_prog_MAKEINFO
78749 if test -n "$MAKEINFO"; then
78750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
78751 $as_echo "$MAKEINFO" >&6; }
78752 else
78753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
78754 $as_echo "no" >&6; }
78758 if test -n "$MAKEINFO"; then
78759 # Found it, now check the version.
78760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
78761 $as_echo_n "checking for modern makeinfo... " >&6; }
78762 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
78763 $as_echo_n "(cached) " >&6
78764 else
78765 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
78766 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
78768 case $ac_prog_version in
78769 '') gcc_cv_prog_makeinfo_modern=no;;
78770 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
78771 *) gcc_cv_prog_makeinfo_modern=no;;
78772 esac
78775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
78776 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
78777 else
78778 gcc_cv_prog_makeinfo_modern=no
78780 if test $gcc_cv_prog_makeinfo_modern = no; then
78781 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
78784 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
78785 BUILD_INFO_TRUE=
78786 BUILD_INFO_FALSE='#'
78787 else
78788 BUILD_INFO_TRUE='#'
78789 BUILD_INFO_FALSE=
78793 # Check for doxygen
78794 # Extract the first word of "doxygen", so it can be a program name with args.
78795 set dummy doxygen; ac_word=$2
78796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
78797 $as_echo_n "checking for $ac_word... " >&6; }
78798 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
78799 $as_echo_n "(cached) " >&6
78800 else
78801 if test -n "$DOXYGEN"; then
78802 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
78803 else
78804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78805 for as_dir in $PATH
78807 IFS=$as_save_IFS
78808 test -z "$as_dir" && as_dir=.
78809 for ac_exec_ext in '' $ac_executable_extensions; do
78810 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
78811 ac_cv_prog_DOXYGEN="yes"
78812 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
78813 break 2
78815 done
78816 done
78817 IFS=$as_save_IFS
78819 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
78822 DOXYGEN=$ac_cv_prog_DOXYGEN
78823 if test -n "$DOXYGEN"; then
78824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
78825 $as_echo "$DOXYGEN" >&6; }
78826 else
78827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
78828 $as_echo "no" >&6; }
78832 # Extract the first word of "dot", so it can be a program name with args.
78833 set dummy dot; ac_word=$2
78834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
78835 $as_echo_n "checking for $ac_word... " >&6; }
78836 if test "${ac_cv_prog_DOT+set}" = set; then :
78837 $as_echo_n "(cached) " >&6
78838 else
78839 if test -n "$DOT"; then
78840 ac_cv_prog_DOT="$DOT" # Let the user override the test.
78841 else
78842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78843 for as_dir in $PATH
78845 IFS=$as_save_IFS
78846 test -z "$as_dir" && as_dir=.
78847 for ac_exec_ext in '' $ac_executable_extensions; do
78848 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
78849 ac_cv_prog_DOT="yes"
78850 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
78851 break 2
78853 done
78854 done
78855 IFS=$as_save_IFS
78857 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
78860 DOT=$ac_cv_prog_DOT
78861 if test -n "$DOT"; then
78862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
78863 $as_echo "$DOT" >&6; }
78864 else
78865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
78866 $as_echo "no" >&6; }
78871 # Check for docbook
78872 # Extract the first word of "xsltproc", so it can be a program name with args.
78873 set dummy xsltproc; ac_word=$2
78874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
78875 $as_echo_n "checking for $ac_word... " >&6; }
78876 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
78877 $as_echo_n "(cached) " >&6
78878 else
78879 if test -n "$XSLTPROC"; then
78880 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
78881 else
78882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78883 for as_dir in $PATH
78885 IFS=$as_save_IFS
78886 test -z "$as_dir" && as_dir=.
78887 for ac_exec_ext in '' $ac_executable_extensions; do
78888 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
78889 ac_cv_prog_XSLTPROC="yes"
78890 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
78891 break 2
78893 done
78894 done
78895 IFS=$as_save_IFS
78897 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
78900 XSLTPROC=$ac_cv_prog_XSLTPROC
78901 if test -n "$XSLTPROC"; then
78902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
78903 $as_echo "$XSLTPROC" >&6; }
78904 else
78905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
78906 $as_echo "no" >&6; }
78910 # Extract the first word of "xmllint", so it can be a program name with args.
78911 set dummy xmllint; ac_word=$2
78912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
78913 $as_echo_n "checking for $ac_word... " >&6; }
78914 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
78915 $as_echo_n "(cached) " >&6
78916 else
78917 if test -n "$XMLLINT"; then
78918 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
78919 else
78920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78921 for as_dir in $PATH
78923 IFS=$as_save_IFS
78924 test -z "$as_dir" && as_dir=.
78925 for ac_exec_ext in '' $ac_executable_extensions; do
78926 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
78927 ac_cv_prog_XMLLINT="yes"
78928 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
78929 break 2
78931 done
78932 done
78933 IFS=$as_save_IFS
78935 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
78938 XMLLINT=$ac_cv_prog_XMLLINT
78939 if test -n "$XMLLINT"; then
78940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
78941 $as_echo "$XMLLINT" >&6; }
78942 else
78943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
78944 $as_echo "no" >&6; }
78950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
78951 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
78952 glibcxx_stylesheets=no
78953 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
78954 glibcxx_stylesheets=yes
78956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
78957 $as_echo "$glibcxx_stylesheets" >&6; }
78959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
78960 $as_echo_n "checking for local stylesheet directory... " >&6; }
78961 glibcxx_local_stylesheets=no
78962 if test x"$glibcxx_stylesheets" = x"yes"; then
78963 if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
78964 glibcxx_local_stylesheets=yes
78965 XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
78967 if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
78968 glibcxx_local_stylesheets=yes
78969 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
78971 if test -d /usr/share/xml/docbook/stylesheet/nwalsh5/current; then
78972 glibcxx_local_stylesheets=yes
78973 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/nwalsh5/current
78976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
78977 $as_echo "$glibcxx_local_stylesheets" >&6; }
78979 if test x"$glibcxx_local_stylesheets" = x"yes"; then
78981 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
78982 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
78983 else
78984 glibcxx_stylesheets=no
78987 # Check for epub3 dependencies.
78988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
78989 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
78990 glibcxx_epub_stylesheets=no
78991 if test x"$glibcxx_local_stylesheets" = x"yes"; then
78992 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
78993 glibcxx_epub_stylesheets=yes
78996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
78997 $as_echo "$glibcxx_epub_stylesheets" >&6; }
78998 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
78999 BUILD_EPUB_TRUE=
79000 BUILD_EPUB_FALSE='#'
79001 else
79002 BUILD_EPUB_TRUE='#'
79003 BUILD_EPUB_FALSE=
79009 # Check for xml/html dependencies.
79010 if test $ac_cv_prog_DOXYGEN = "yes" &&
79011 test $ac_cv_prog_DOT = "yes" &&
79012 test $ac_cv_prog_XSLTPROC = "yes" &&
79013 test $ac_cv_prog_XMLLINT = "yes" &&
79014 test $glibcxx_stylesheets = "yes"; then
79015 BUILD_XML_TRUE=
79016 BUILD_XML_FALSE='#'
79017 else
79018 BUILD_XML_TRUE='#'
79019 BUILD_XML_FALSE=
79023 if test $ac_cv_prog_DOXYGEN = "yes" &&
79024 test $ac_cv_prog_DOT = "yes" &&
79025 test $ac_cv_prog_XSLTPROC = "yes" &&
79026 test $ac_cv_prog_XMLLINT = "yes" &&
79027 test $glibcxx_stylesheets = "yes"; then
79028 BUILD_HTML_TRUE=
79029 BUILD_HTML_FALSE='#'
79030 else
79031 BUILD_HTML_TRUE='#'
79032 BUILD_HTML_FALSE=
79036 # Check for man dependencies.
79037 if test $ac_cv_prog_DOXYGEN = "yes" &&
79038 test $ac_cv_prog_DOT = "yes"; then
79039 BUILD_MAN_TRUE=
79040 BUILD_MAN_FALSE='#'
79041 else
79042 BUILD_MAN_TRUE='#'
79043 BUILD_MAN_FALSE=
79047 # Check for pdf dependencies.
79048 # Extract the first word of "dblatex", so it can be a program name with args.
79049 set dummy dblatex; ac_word=$2
79050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
79051 $as_echo_n "checking for $ac_word... " >&6; }
79052 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
79053 $as_echo_n "(cached) " >&6
79054 else
79055 if test -n "$DBLATEX"; then
79056 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
79057 else
79058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79059 for as_dir in $PATH
79061 IFS=$as_save_IFS
79062 test -z "$as_dir" && as_dir=.
79063 for ac_exec_ext in '' $ac_executable_extensions; do
79064 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
79065 ac_cv_prog_DBLATEX="yes"
79066 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
79067 break 2
79069 done
79070 done
79071 IFS=$as_save_IFS
79073 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
79076 DBLATEX=$ac_cv_prog_DBLATEX
79077 if test -n "$DBLATEX"; then
79078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
79079 $as_echo "$DBLATEX" >&6; }
79080 else
79081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
79082 $as_echo "no" >&6; }
79086 # Extract the first word of "pdflatex", so it can be a program name with args.
79087 set dummy pdflatex; ac_word=$2
79088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
79089 $as_echo_n "checking for $ac_word... " >&6; }
79090 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
79091 $as_echo_n "(cached) " >&6
79092 else
79093 if test -n "$PDFLATEX"; then
79094 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
79095 else
79096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79097 for as_dir in $PATH
79099 IFS=$as_save_IFS
79100 test -z "$as_dir" && as_dir=.
79101 for ac_exec_ext in '' $ac_executable_extensions; do
79102 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
79103 ac_cv_prog_PDFLATEX="yes"
79104 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
79105 break 2
79107 done
79108 done
79109 IFS=$as_save_IFS
79111 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
79114 PDFLATEX=$ac_cv_prog_PDFLATEX
79115 if test -n "$PDFLATEX"; then
79116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
79117 $as_echo "$PDFLATEX" >&6; }
79118 else
79119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
79120 $as_echo "no" >&6; }
79124 if test $ac_cv_prog_DBLATEX = "yes" &&
79125 test $ac_cv_prog_PDFLATEX = "yes"; then
79126 BUILD_PDF_TRUE=
79127 BUILD_PDF_FALSE='#'
79128 else
79129 BUILD_PDF_TRUE='#'
79130 BUILD_PDF_FALSE=
79135 # Propagate the target-specific source directories through the build chain.
79136 ATOMICITY_SRCDIR=config/${atomicity_dir}
79137 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
79138 ATOMIC_FLAGS=${atomic_flags}
79139 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
79140 OS_INC_SRCDIR=config/${os_include_dir}
79141 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
79142 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
79143 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
79144 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
79156 # Determine cross-compile flags and AM_CONDITIONALs.
79157 #AC_SUBST(GLIBCXX_IS_NATIVE)
79158 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
79159 if test $is_hosted = yes; then
79160 GLIBCXX_HOSTED_TRUE=
79161 GLIBCXX_HOSTED_FALSE='#'
79162 else
79163 GLIBCXX_HOSTED_TRUE='#'
79164 GLIBCXX_HOSTED_FALSE=
79168 if test $enable_libstdcxx_pch = yes; then
79169 GLIBCXX_BUILD_PCH_TRUE=
79170 GLIBCXX_BUILD_PCH_FALSE='#'
79171 else
79172 GLIBCXX_BUILD_PCH_TRUE='#'
79173 GLIBCXX_BUILD_PCH_FALSE=
79177 if test $enable_cheaders = c; then
79178 GLIBCXX_C_HEADERS_C_TRUE=
79179 GLIBCXX_C_HEADERS_C_FALSE='#'
79180 else
79181 GLIBCXX_C_HEADERS_C_TRUE='#'
79182 GLIBCXX_C_HEADERS_C_FALSE=
79186 if test $enable_cheaders = c_std; then
79187 GLIBCXX_C_HEADERS_C_STD_TRUE=
79188 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
79189 else
79190 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
79191 GLIBCXX_C_HEADERS_C_STD_FALSE=
79195 if test $enable_cheaders = c_global; then
79196 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
79197 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
79198 else
79199 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
79200 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
79204 if test $c_compatibility = yes; then
79205 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
79206 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
79207 else
79208 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
79209 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
79213 if test $enable_libstdcxx_debug = yes; then
79214 GLIBCXX_BUILD_DEBUG_TRUE=
79215 GLIBCXX_BUILD_DEBUG_FALSE='#'
79216 else
79217 GLIBCXX_BUILD_DEBUG_TRUE='#'
79218 GLIBCXX_BUILD_DEBUG_FALSE=
79222 if test $enable_extern_template = yes; then
79223 ENABLE_EXTERN_TEMPLATE_TRUE=
79224 ENABLE_EXTERN_TEMPLATE_FALSE='#'
79225 else
79226 ENABLE_EXTERN_TEMPLATE_TRUE='#'
79227 ENABLE_EXTERN_TEMPLATE_FALSE=
79231 if test $python_mod_dir != no; then
79232 ENABLE_PYTHONDIR_TRUE=
79233 ENABLE_PYTHONDIR_FALSE='#'
79234 else
79235 ENABLE_PYTHONDIR_TRUE='#'
79236 ENABLE_PYTHONDIR_FALSE=
79240 if test $enable_werror = yes; then
79241 ENABLE_WERROR_TRUE=
79242 ENABLE_WERROR_FALSE='#'
79243 else
79244 ENABLE_WERROR_TRUE='#'
79245 ENABLE_WERROR_FALSE=
79249 if test $enable_vtable_verify = yes; then
79250 ENABLE_VTABLE_VERIFY_TRUE=
79251 ENABLE_VTABLE_VERIFY_FALSE='#'
79252 else
79253 ENABLE_VTABLE_VERIFY_TRUE='#'
79254 ENABLE_VTABLE_VERIFY_FALSE=
79258 if test $enable_symvers != no; then
79259 ENABLE_SYMVERS_TRUE=
79260 ENABLE_SYMVERS_FALSE='#'
79261 else
79262 ENABLE_SYMVERS_TRUE='#'
79263 ENABLE_SYMVERS_FALSE=
79267 if test $enable_symvers = gnu; then
79268 ENABLE_SYMVERS_GNU_TRUE=
79269 ENABLE_SYMVERS_GNU_FALSE='#'
79270 else
79271 ENABLE_SYMVERS_GNU_TRUE='#'
79272 ENABLE_SYMVERS_GNU_FALSE=
79276 if test $enable_symvers = gnu-versioned-namespace; then
79277 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
79278 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
79279 else
79280 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
79281 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
79285 if test $enable_symvers = darwin; then
79286 ENABLE_SYMVERS_DARWIN_TRUE=
79287 ENABLE_SYMVERS_DARWIN_FALSE='#'
79288 else
79289 ENABLE_SYMVERS_DARWIN_TRUE='#'
79290 ENABLE_SYMVERS_DARWIN_FALSE=
79294 if test $enable_symvers = sun; then
79295 ENABLE_SYMVERS_SUN_TRUE=
79296 ENABLE_SYMVERS_SUN_FALSE='#'
79297 else
79298 ENABLE_SYMVERS_SUN_TRUE='#'
79299 ENABLE_SYMVERS_SUN_FALSE=
79303 if test $enable_libstdcxx_visibility = yes; then
79304 ENABLE_VISIBILITY_TRUE=
79305 ENABLE_VISIBILITY_FALSE='#'
79306 else
79307 ENABLE_VISIBILITY_TRUE='#'
79308 ENABLE_VISIBILITY_FALSE=
79312 if test $ac_ldbl_compat = yes; then
79313 GLIBCXX_LDBL_COMPAT_TRUE=
79314 GLIBCXX_LDBL_COMPAT_FALSE='#'
79315 else
79316 GLIBCXX_LDBL_COMPAT_TRUE='#'
79317 GLIBCXX_LDBL_COMPAT_FALSE=
79323 cat >confcache <<\_ACEOF
79324 # This file is a shell script that caches the results of configure
79325 # tests run on this system so they can be shared between configure
79326 # scripts and configure runs, see configure's option --config-cache.
79327 # It is not useful on other systems. If it contains results you don't
79328 # want to keep, you may remove or edit it.
79330 # config.status only pays attention to the cache file if you give it
79331 # the --recheck option to rerun configure.
79333 # `ac_cv_env_foo' variables (set or unset) will be overridden when
79334 # loading this file, other *unset* `ac_cv_foo' will be assigned the
79335 # following values.
79337 _ACEOF
79339 # The following way of writing the cache mishandles newlines in values,
79340 # but we know of no workaround that is simple, portable, and efficient.
79341 # So, we kill variables containing newlines.
79342 # Ultrix sh set writes to stderr and can't be redirected directly,
79343 # and sets the high bit in the cache file unless we assign to the vars.
79345 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
79346 eval ac_val=\$$ac_var
79347 case $ac_val in #(
79348 *${as_nl}*)
79349 case $ac_var in #(
79350 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
79351 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
79352 esac
79353 case $ac_var in #(
79354 _ | IFS | as_nl) ;; #(
79355 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
79356 *) { eval $ac_var=; unset $ac_var;} ;;
79357 esac ;;
79358 esac
79359 done
79361 (set) 2>&1 |
79362 case $as_nl`(ac_space=' '; set) 2>&1` in #(
79363 *${as_nl}ac_space=\ *)
79364 # `set' does not quote correctly, so add quotes: double-quote
79365 # substitution turns \\\\ into \\, and sed turns \\ into \.
79366 sed -n \
79367 "s/'/'\\\\''/g;
79368 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
79369 ;; #(
79371 # `set' quotes correctly as required by POSIX, so do not add quotes.
79372 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
79374 esac |
79375 sort
79377 sed '
79378 /^ac_cv_env_/b end
79379 t clear
79380 :clear
79381 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
79382 t end
79383 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
79384 :end' >>confcache
79385 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
79386 if test -w "$cache_file"; then
79387 test "x$cache_file" != "x/dev/null" &&
79388 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
79389 $as_echo "$as_me: updating cache $cache_file" >&6;}
79390 cat confcache >$cache_file
79391 else
79392 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
79393 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
79396 rm -f confcache
79398 if test ${multilib} = yes; then
79399 multilib_arg="--enable-multilib"
79400 else
79401 multilib_arg=
79404 # Export all the install information.
79406 glibcxx_toolexecdir=no
79407 glibcxx_toolexeclibdir=no
79408 glibcxx_prefixdir=$prefix
79410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
79411 $as_echo_n "checking for gxx-include-dir... " >&6; }
79413 # Check whether --with-gxx-include-dir was given.
79414 if test "${with_gxx_include_dir+set}" = set; then :
79415 withval=$with_gxx_include_dir; case "$withval" in
79416 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
79417 no) gxx_include_dir=no ;;
79418 *) gxx_include_dir=$withval ;;
79419 esac
79420 else
79421 gxx_include_dir=no
79424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
79425 $as_echo "$gxx_include_dir" >&6; }
79427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
79428 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
79429 # Check whether --enable-version-specific-runtime-libs was given.
79430 if test "${enable_version_specific_runtime_libs+set}" = set; then :
79431 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
79432 yes) version_specific_libs=yes ;;
79433 no) version_specific_libs=no ;;
79434 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
79435 esac
79436 else
79437 version_specific_libs=no
79440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
79441 $as_echo "$version_specific_libs" >&6; }
79443 # Default case for install directory for include files.
79444 if test $version_specific_libs = no && test $gxx_include_dir = no; then
79445 gxx_include_dir='include/c++/${gcc_version}'
79446 if test -n "$with_cross_host" &&
79447 test x"$with_cross_host" != x"no"; then
79448 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
79449 else
79450 gxx_include_dir='${prefix}/'"$gxx_include_dir"
79454 # Version-specific runtime libs processing.
79455 if test $version_specific_libs = yes; then
79456 # Need the gcc compiler version to know where to install libraries
79457 # and header files if --enable-version-specific-runtime-libs option
79458 # is selected. FIXME: these variables are misnamed, there are
79459 # no executables installed in _toolexecdir or _toolexeclibdir.
79460 if test x"$gxx_include_dir" = x"no"; then
79461 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
79463 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
79464 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
79467 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
79468 # Install a library built with a cross compiler in tooldir, not libdir.
79469 if test x"$glibcxx_toolexecdir" = x"no"; then
79470 if test -n "$with_cross_host" &&
79471 test x"$with_cross_host" != x"no"; then
79472 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
79473 glibcxx_toolexeclibdir='${toolexecdir}/lib'
79474 else
79475 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
79476 glibcxx_toolexeclibdir='${libdir}'
79478 multi_os_directory=`$CXX -print-multi-os-directory`
79479 case $multi_os_directory in
79480 .) ;; # Avoid trailing /.
79481 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
79482 esac
79485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
79486 $as_echo_n "checking for install location... " >&6; }
79487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
79488 $as_echo "$gxx_include_dir" >&6; }
79496 # Export all the include and flag information to Makefiles.
79498 # Used for every C++ compile we perform.
79499 GLIBCXX_INCLUDES="\
79500 -I$glibcxx_builddir/include/$host_alias \
79501 -I$glibcxx_builddir/include \
79502 -I$glibcxx_srcdir/libsupc++"
79504 # For Canadian crosses, pick this up too.
79505 if test $CANADIAN = yes; then
79506 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
79509 # Stuff in the actual top level. Currently only used by libsupc++ to
79510 # get unwind* headers from the libgcc dir.
79511 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
79512 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
79514 # Now, export this to all the little Makefiles....
79519 # Optimization flags that are probably a good idea for thrill-seekers. Just
79520 # uncomment the lines below and make, everything else is ready to go...
79521 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
79522 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
79525 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi'
79529 ac_config_files="$ac_config_files Makefile"
79531 ac_config_files="$ac_config_files scripts/testsuite_flags"
79533 ac_config_files="$ac_config_files scripts/extract_symvers"
79535 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
79538 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
79539 # that multilib installs will end up installed in the correct place.
79540 # The testsuite needs it for multilib-aware ABI baseline files.
79541 # To work around this not being passed down from config-ml.in ->
79542 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
79543 # append it here. Only modify Makefiles that have just been created.
79545 # Also, get rid of this simulated-VPATH thing that automake does.
79546 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"
79549 ac_config_commands="$ac_config_commands generate-headers"
79552 cat >confcache <<\_ACEOF
79553 # This file is a shell script that caches the results of configure
79554 # tests run on this system so they can be shared between configure
79555 # scripts and configure runs, see configure's option --config-cache.
79556 # It is not useful on other systems. If it contains results you don't
79557 # want to keep, you may remove or edit it.
79559 # config.status only pays attention to the cache file if you give it
79560 # the --recheck option to rerun configure.
79562 # `ac_cv_env_foo' variables (set or unset) will be overridden when
79563 # loading this file, other *unset* `ac_cv_foo' will be assigned the
79564 # following values.
79566 _ACEOF
79568 # The following way of writing the cache mishandles newlines in values,
79569 # but we know of no workaround that is simple, portable, and efficient.
79570 # So, we kill variables containing newlines.
79571 # Ultrix sh set writes to stderr and can't be redirected directly,
79572 # and sets the high bit in the cache file unless we assign to the vars.
79574 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
79575 eval ac_val=\$$ac_var
79576 case $ac_val in #(
79577 *${as_nl}*)
79578 case $ac_var in #(
79579 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
79580 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
79581 esac
79582 case $ac_var in #(
79583 _ | IFS | as_nl) ;; #(
79584 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
79585 *) { eval $ac_var=; unset $ac_var;} ;;
79586 esac ;;
79587 esac
79588 done
79590 (set) 2>&1 |
79591 case $as_nl`(ac_space=' '; set) 2>&1` in #(
79592 *${as_nl}ac_space=\ *)
79593 # `set' does not quote correctly, so add quotes: double-quote
79594 # substitution turns \\\\ into \\, and sed turns \\ into \.
79595 sed -n \
79596 "s/'/'\\\\''/g;
79597 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
79598 ;; #(
79600 # `set' quotes correctly as required by POSIX, so do not add quotes.
79601 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
79603 esac |
79604 sort
79606 sed '
79607 /^ac_cv_env_/b end
79608 t clear
79609 :clear
79610 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
79611 t end
79612 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
79613 :end' >>confcache
79614 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
79615 if test -w "$cache_file"; then
79616 test "x$cache_file" != "x/dev/null" &&
79617 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
79618 $as_echo "$as_me: updating cache $cache_file" >&6;}
79619 cat confcache >$cache_file
79620 else
79621 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
79622 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
79625 rm -f confcache
79627 test "x$prefix" = xNONE && prefix=$ac_default_prefix
79628 # Let make expand exec_prefix.
79629 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
79631 DEFS=-DHAVE_CONFIG_H
79633 ac_libobjs=
79634 ac_ltlibobjs=
79635 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
79636 # 1. Remove the extension, and $U if already installed.
79637 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
79638 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
79639 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
79640 # will be set to the directory where LIBOBJS objects are built.
79641 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
79642 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
79643 done
79644 LIBOBJS=$ac_libobjs
79646 LTLIBOBJS=$ac_ltlibobjs
79649 if test -n "$EXEEXT"; then
79650 am__EXEEXT_TRUE=
79651 am__EXEEXT_FALSE='#'
79652 else
79653 am__EXEEXT_TRUE='#'
79654 am__EXEEXT_FALSE=
79657 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
79658 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
79659 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79661 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
79662 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
79663 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79665 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
79666 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
79667 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79669 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
79670 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
79671 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79673 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
79674 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
79675 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79677 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
79678 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
79679 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79681 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
79682 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
79683 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79685 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
79686 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
79687 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79689 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
79690 as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
79691 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79693 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
79694 as_fn_error "conditional \"ENABLE_PYTHONDIR\" was never defined.
79695 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79697 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
79698 as_fn_error "conditional \"ENABLE_WERROR\" was never defined.
79699 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79701 if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
79702 as_fn_error "conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
79703 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79705 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
79706 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
79707 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79709 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
79710 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
79711 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79713 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
79714 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
79715 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79717 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
79718 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
79719 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79721 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
79722 as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
79723 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79725 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
79726 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
79727 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79729 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
79730 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
79731 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79733 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
79734 as_fn_error "conditional \"BUILD_INFO\" was never defined.
79735 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79737 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
79738 as_fn_error "conditional \"BUILD_EPUB\" was never defined.
79739 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79741 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
79742 as_fn_error "conditional \"BUILD_XML\" was never defined.
79743 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79745 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
79746 as_fn_error "conditional \"BUILD_HTML\" was never defined.
79747 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79749 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
79750 as_fn_error "conditional \"BUILD_MAN\" was never defined.
79751 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79753 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
79754 as_fn_error "conditional \"BUILD_PDF\" was never defined.
79755 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79758 : ${CONFIG_STATUS=./config.status}
79759 ac_write_fail=0
79760 ac_clean_files_save=$ac_clean_files
79761 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
79762 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
79763 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
79764 as_write_fail=0
79765 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
79766 #! $SHELL
79767 # Generated by $as_me.
79768 # Run this file to recreate the current configuration.
79769 # Compiler output produced by configure, useful for debugging
79770 # configure, is in config.log if it exists.
79772 debug=false
79773 ac_cs_recheck=false
79774 ac_cs_silent=false
79776 SHELL=\${CONFIG_SHELL-$SHELL}
79777 export SHELL
79778 _ASEOF
79779 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
79780 ## -------------------- ##
79781 ## M4sh Initialization. ##
79782 ## -------------------- ##
79784 # Be more Bourne compatible
79785 DUALCASE=1; export DUALCASE # for MKS sh
79786 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
79787 emulate sh
79788 NULLCMD=:
79789 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
79790 # is contrary to our usage. Disable this feature.
79791 alias -g '${1+"$@"}'='"$@"'
79792 setopt NO_GLOB_SUBST
79793 else
79794 case `(set -o) 2>/dev/null` in #(
79795 *posix*) :
79796 set -o posix ;; #(
79797 *) :
79799 esac
79803 as_nl='
79805 export as_nl
79806 # Printing a long string crashes Solaris 7 /usr/bin/printf.
79807 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
79808 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
79809 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
79810 # Prefer a ksh shell builtin over an external printf program on Solaris,
79811 # but without wasting forks for bash or zsh.
79812 if test -z "$BASH_VERSION$ZSH_VERSION" \
79813 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
79814 as_echo='print -r --'
79815 as_echo_n='print -rn --'
79816 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
79817 as_echo='printf %s\n'
79818 as_echo_n='printf %s'
79819 else
79820 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
79821 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
79822 as_echo_n='/usr/ucb/echo -n'
79823 else
79824 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
79825 as_echo_n_body='eval
79826 arg=$1;
79827 case $arg in #(
79828 *"$as_nl"*)
79829 expr "X$arg" : "X\\(.*\\)$as_nl";
79830 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
79831 esac;
79832 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
79834 export as_echo_n_body
79835 as_echo_n='sh -c $as_echo_n_body as_echo'
79837 export as_echo_body
79838 as_echo='sh -c $as_echo_body as_echo'
79841 # The user is always right.
79842 if test "${PATH_SEPARATOR+set}" != set; then
79843 PATH_SEPARATOR=:
79844 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
79845 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79846 PATH_SEPARATOR=';'
79851 # IFS
79852 # We need space, tab and new line, in precisely that order. Quoting is
79853 # there to prevent editors from complaining about space-tab.
79854 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
79855 # splitting by setting IFS to empty value.)
79856 IFS=" "" $as_nl"
79858 # Find who we are. Look in the path if we contain no directory separator.
79859 case $0 in #((
79860 *[\\/]* ) as_myself=$0 ;;
79861 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79862 for as_dir in $PATH
79864 IFS=$as_save_IFS
79865 test -z "$as_dir" && as_dir=.
79866 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
79867 done
79868 IFS=$as_save_IFS
79871 esac
79872 # We did not find ourselves, most probably we were run as `sh COMMAND'
79873 # in which case we are not to be found in the path.
79874 if test "x$as_myself" = x; then
79875 as_myself=$0
79877 if test ! -f "$as_myself"; then
79878 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
79879 exit 1
79882 # Unset variables that we do not need and which cause bugs (e.g. in
79883 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
79884 # suppresses any "Segmentation fault" message there. '((' could
79885 # trigger a bug in pdksh 5.2.14.
79886 for as_var in BASH_ENV ENV MAIL MAILPATH
79887 do eval test x\${$as_var+set} = xset \
79888 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
79889 done
79890 PS1='$ '
79891 PS2='> '
79892 PS4='+ '
79894 # NLS nuisances.
79895 LC_ALL=C
79896 export LC_ALL
79897 LANGUAGE=C
79898 export LANGUAGE
79900 # CDPATH.
79901 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
79904 # as_fn_error ERROR [LINENO LOG_FD]
79905 # ---------------------------------
79906 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
79907 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
79908 # script with status $?, using 1 if that was 0.
79909 as_fn_error ()
79911 as_status=$?; test $as_status -eq 0 && as_status=1
79912 if test "$3"; then
79913 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
79914 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
79916 $as_echo "$as_me: error: $1" >&2
79917 as_fn_exit $as_status
79918 } # as_fn_error
79921 # as_fn_set_status STATUS
79922 # -----------------------
79923 # Set $? to STATUS, without forking.
79924 as_fn_set_status ()
79926 return $1
79927 } # as_fn_set_status
79929 # as_fn_exit STATUS
79930 # -----------------
79931 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
79932 as_fn_exit ()
79934 set +e
79935 as_fn_set_status $1
79936 exit $1
79937 } # as_fn_exit
79939 # as_fn_unset VAR
79940 # ---------------
79941 # Portably unset VAR.
79942 as_fn_unset ()
79944 { eval $1=; unset $1;}
79946 as_unset=as_fn_unset
79947 # as_fn_append VAR VALUE
79948 # ----------------------
79949 # Append the text in VALUE to the end of the definition contained in VAR. Take
79950 # advantage of any shell optimizations that allow amortized linear growth over
79951 # repeated appends, instead of the typical quadratic growth present in naive
79952 # implementations.
79953 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
79954 eval 'as_fn_append ()
79956 eval $1+=\$2
79958 else
79959 as_fn_append ()
79961 eval $1=\$$1\$2
79963 fi # as_fn_append
79965 # as_fn_arith ARG...
79966 # ------------------
79967 # Perform arithmetic evaluation on the ARGs, and store the result in the
79968 # global $as_val. Take advantage of shells that can avoid forks. The arguments
79969 # must be portable across $(()) and expr.
79970 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
79971 eval 'as_fn_arith ()
79973 as_val=$(( $* ))
79975 else
79976 as_fn_arith ()
79978 as_val=`expr "$@" || test $? -eq 1`
79980 fi # as_fn_arith
79983 if expr a : '\(a\)' >/dev/null 2>&1 &&
79984 test "X`expr 00001 : '.*\(...\)'`" = X001; then
79985 as_expr=expr
79986 else
79987 as_expr=false
79990 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
79991 as_basename=basename
79992 else
79993 as_basename=false
79996 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
79997 as_dirname=dirname
79998 else
79999 as_dirname=false
80002 as_me=`$as_basename -- "$0" ||
80003 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
80004 X"$0" : 'X\(//\)$' \| \
80005 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
80006 $as_echo X/"$0" |
80007 sed '/^.*\/\([^/][^/]*\)\/*$/{
80008 s//\1/
80011 /^X\/\(\/\/\)$/{
80012 s//\1/
80015 /^X\/\(\/\).*/{
80016 s//\1/
80019 s/.*/./; q'`
80021 # Avoid depending upon Character Ranges.
80022 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
80023 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
80024 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
80025 as_cr_digits='0123456789'
80026 as_cr_alnum=$as_cr_Letters$as_cr_digits
80028 ECHO_C= ECHO_N= ECHO_T=
80029 case `echo -n x` in #(((((
80030 -n*)
80031 case `echo 'xy\c'` in
80032 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
80033 xy) ECHO_C='\c';;
80034 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
80035 ECHO_T=' ';;
80036 esac;;
80038 ECHO_N='-n';;
80039 esac
80041 rm -f conf$$ conf$$.exe conf$$.file
80042 if test -d conf$$.dir; then
80043 rm -f conf$$.dir/conf$$.file
80044 else
80045 rm -f conf$$.dir
80046 mkdir conf$$.dir 2>/dev/null
80048 if (echo >conf$$.file) 2>/dev/null; then
80049 if ln -s conf$$.file conf$$ 2>/dev/null; then
80050 as_ln_s='ln -s'
80051 # ... but there are two gotchas:
80052 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
80053 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
80054 # In both cases, we have to default to `cp -p'.
80055 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
80056 as_ln_s='cp -p'
80057 elif ln conf$$.file conf$$ 2>/dev/null; then
80058 as_ln_s=ln
80059 else
80060 as_ln_s='cp -p'
80062 else
80063 as_ln_s='cp -p'
80065 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
80066 rmdir conf$$.dir 2>/dev/null
80069 # as_fn_mkdir_p
80070 # -------------
80071 # Create "$as_dir" as a directory, including parents if necessary.
80072 as_fn_mkdir_p ()
80075 case $as_dir in #(
80076 -*) as_dir=./$as_dir;;
80077 esac
80078 test -d "$as_dir" || eval $as_mkdir_p || {
80079 as_dirs=
80080 while :; do
80081 case $as_dir in #(
80082 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
80083 *) as_qdir=$as_dir;;
80084 esac
80085 as_dirs="'$as_qdir' $as_dirs"
80086 as_dir=`$as_dirname -- "$as_dir" ||
80087 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
80088 X"$as_dir" : 'X\(//\)[^/]' \| \
80089 X"$as_dir" : 'X\(//\)$' \| \
80090 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
80091 $as_echo X"$as_dir" |
80092 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
80093 s//\1/
80096 /^X\(\/\/\)[^/].*/{
80097 s//\1/
80100 /^X\(\/\/\)$/{
80101 s//\1/
80104 /^X\(\/\).*/{
80105 s//\1/
80108 s/.*/./; q'`
80109 test -d "$as_dir" && break
80110 done
80111 test -z "$as_dirs" || eval "mkdir $as_dirs"
80112 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
80115 } # as_fn_mkdir_p
80116 if mkdir -p . 2>/dev/null; then
80117 as_mkdir_p='mkdir -p "$as_dir"'
80118 else
80119 test -d ./-p && rmdir ./-p
80120 as_mkdir_p=false
80123 if test -x / >/dev/null 2>&1; then
80124 as_test_x='test -x'
80125 else
80126 if ls -dL / >/dev/null 2>&1; then
80127 as_ls_L_option=L
80128 else
80129 as_ls_L_option=
80131 as_test_x='
80132 eval sh -c '\''
80133 if test -d "$1"; then
80134 test -d "$1/.";
80135 else
80136 case $1 in #(
80137 -*)set "./$1";;
80138 esac;
80139 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
80140 ???[sx]*):;;*)false;;esac;fi
80141 '\'' sh
80144 as_executable_p=$as_test_x
80146 # Sed expression to map a string onto a valid CPP name.
80147 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
80149 # Sed expression to map a string onto a valid variable name.
80150 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
80153 exec 6>&1
80154 ## ----------------------------------- ##
80155 ## Main body of $CONFIG_STATUS script. ##
80156 ## ----------------------------------- ##
80157 _ASEOF
80158 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
80160 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80161 # Save the log message, to keep $0 and so on meaningful, and to
80162 # report actual input values of CONFIG_FILES etc. instead of their
80163 # values after options handling.
80164 ac_log="
80165 This file was extended by package-unused $as_me version-unused, which was
80166 generated by GNU Autoconf 2.64. Invocation command line was
80168 CONFIG_FILES = $CONFIG_FILES
80169 CONFIG_HEADERS = $CONFIG_HEADERS
80170 CONFIG_LINKS = $CONFIG_LINKS
80171 CONFIG_COMMANDS = $CONFIG_COMMANDS
80172 $ $0 $@
80174 on `(hostname || uname -n) 2>/dev/null | sed 1q`
80177 _ACEOF
80179 case $ac_config_files in *"
80180 "*) set x $ac_config_files; shift; ac_config_files=$*;;
80181 esac
80183 case $ac_config_headers in *"
80184 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
80185 esac
80188 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80189 # Files that config.status was made for.
80190 config_files="$ac_config_files"
80191 config_headers="$ac_config_headers"
80192 config_commands="$ac_config_commands"
80194 _ACEOF
80196 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80197 ac_cs_usage="\
80198 \`$as_me' instantiates files and other configuration actions
80199 from templates according to the current configuration. Unless the files
80200 and actions are specified as TAGs, all are instantiated by default.
80202 Usage: $0 [OPTION]... [TAG]...
80204 -h, --help print this help, then exit
80205 -V, --version print version number and configuration settings, then exit
80206 -q, --quiet, --silent
80207 do not print progress messages
80208 -d, --debug don't remove temporary files
80209 --recheck update $as_me by reconfiguring in the same conditions
80210 --file=FILE[:TEMPLATE]
80211 instantiate the configuration file FILE
80212 --header=FILE[:TEMPLATE]
80213 instantiate the configuration header FILE
80215 Configuration files:
80216 $config_files
80218 Configuration headers:
80219 $config_headers
80221 Configuration commands:
80222 $config_commands
80224 Report bugs to the package provider."
80226 _ACEOF
80227 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80228 ac_cs_version="\\
80229 package-unused config.status version-unused
80230 configured by $0, generated by GNU Autoconf 2.64,
80231 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
80233 Copyright (C) 2009 Free Software Foundation, Inc.
80234 This config.status script is free software; the Free Software Foundation
80235 gives unlimited permission to copy, distribute and modify it."
80237 ac_pwd='$ac_pwd'
80238 srcdir='$srcdir'
80239 INSTALL='$INSTALL'
80240 MKDIR_P='$MKDIR_P'
80241 AWK='$AWK'
80242 test -n "\$AWK" || AWK=awk
80243 _ACEOF
80245 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80246 # The default lists apply if the user does not specify any file.
80247 ac_need_defaults=:
80248 while test $# != 0
80250 case $1 in
80251 --*=*)
80252 ac_option=`expr "X$1" : 'X\([^=]*\)='`
80253 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
80254 ac_shift=:
80257 ac_option=$1
80258 ac_optarg=$2
80259 ac_shift=shift
80261 esac
80263 case $ac_option in
80264 # Handling of the options.
80265 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
80266 ac_cs_recheck=: ;;
80267 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
80268 $as_echo "$ac_cs_version"; exit ;;
80269 --debug | --debu | --deb | --de | --d | -d )
80270 debug=: ;;
80271 --file | --fil | --fi | --f )
80272 $ac_shift
80273 case $ac_optarg in
80274 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
80275 esac
80276 as_fn_append CONFIG_FILES " '$ac_optarg'"
80277 ac_need_defaults=false;;
80278 --header | --heade | --head | --hea )
80279 $ac_shift
80280 case $ac_optarg in
80281 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
80282 esac
80283 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
80284 ac_need_defaults=false;;
80285 --he | --h)
80286 # Conflict between --help and --header
80287 as_fn_error "ambiguous option: \`$1'
80288 Try \`$0 --help' for more information.";;
80289 --help | --hel | -h )
80290 $as_echo "$ac_cs_usage"; exit ;;
80291 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
80292 | -silent | --silent | --silen | --sile | --sil | --si | --s)
80293 ac_cs_silent=: ;;
80295 # This is an error.
80296 -*) as_fn_error "unrecognized option: \`$1'
80297 Try \`$0 --help' for more information." ;;
80299 *) as_fn_append ac_config_targets " $1"
80300 ac_need_defaults=false ;;
80302 esac
80303 shift
80304 done
80306 ac_configure_extra_args=
80308 if $ac_cs_silent; then
80309 exec 6>/dev/null
80310 ac_configure_extra_args="$ac_configure_extra_args --silent"
80313 _ACEOF
80314 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80315 if \$ac_cs_recheck; then
80316 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
80317 shift
80318 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
80319 CONFIG_SHELL='$SHELL'
80320 export CONFIG_SHELL
80321 exec "\$@"
80324 _ACEOF
80325 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80326 exec 5>>config.log
80328 echo
80329 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
80330 ## Running $as_me. ##
80331 _ASBOX
80332 $as_echo "$ac_log"
80333 } >&5
80335 _ACEOF
80336 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80338 # INIT-COMMANDS
80341 srcdir="$srcdir"
80342 host="$host"
80343 target="$target"
80344 with_multisubdir="$with_multisubdir"
80345 with_multisrctop="$with_multisrctop"
80346 with_target_subdir="$with_target_subdir"
80347 ac_configure_args="${multilib_arg} ${ac_configure_args}"
80348 multi_basedir="$multi_basedir"
80349 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
80350 CC="$CC"
80351 CXX="$CXX"
80352 GFORTRAN="$GFORTRAN"
80353 GCJ="$GCJ"
80356 # The HP-UX ksh and POSIX shell print the target directory to stdout
80357 # if CDPATH is set.
80358 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
80360 sed_quote_subst='$sed_quote_subst'
80361 double_quote_subst='$double_quote_subst'
80362 delay_variable_subst='$delay_variable_subst'
80363 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
80364 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
80365 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
80366 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
80367 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
80368 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
80369 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
80370 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
80371 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
80372 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
80373 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
80374 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
80375 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
80376 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
80377 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
80378 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
80379 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
80380 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
80381 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
80382 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
80383 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
80384 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
80385 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
80386 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
80387 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
80388 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
80389 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
80390 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
80391 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
80392 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
80393 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
80394 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
80395 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
80396 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
80397 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
80398 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
80399 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
80400 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
80401 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
80402 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
80403 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
80404 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
80405 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
80406 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
80407 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
80408 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
80409 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
80410 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
80411 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"`'
80412 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
80413 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
80414 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
80415 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
80416 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
80417 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
80418 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
80419 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
80420 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
80421 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
80422 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
80423 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
80424 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
80425 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
80426 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
80427 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
80428 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
80429 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
80430 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
80431 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
80432 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
80433 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
80434 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
80435 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
80436 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
80437 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
80438 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
80439 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
80440 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
80441 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
80442 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
80443 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
80444 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
80445 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
80446 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
80447 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
80448 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
80449 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
80450 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
80451 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
80452 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
80453 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
80454 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
80455 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
80456 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
80457 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
80458 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
80459 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
80460 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
80461 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
80462 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
80463 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
80464 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
80465 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
80466 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
80467 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
80468 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
80469 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
80470 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
80471 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
80472 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
80473 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
80474 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
80475 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
80476 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
80477 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
80478 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
80479 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
80480 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
80481 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
80482 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
80483 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
80484 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
80485 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
80486 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
80487 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
80488 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
80489 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
80490 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
80491 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80492 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80493 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
80494 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
80495 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
80496 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
80497 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
80498 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
80499 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
80500 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
80501 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
80502 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
80503 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
80504 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
80505 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80506 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80507 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80508 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80509 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80510 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80511 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
80512 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
80513 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
80514 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
80515 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
80516 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
80517 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
80518 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
80519 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
80520 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
80521 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
80522 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
80523 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
80524 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
80525 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
80526 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80527 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
80528 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
80529 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80530 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
80531 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
80532 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
80533 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
80534 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
80535 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
80536 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
80537 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
80539 LTCC='$LTCC'
80540 LTCFLAGS='$LTCFLAGS'
80541 compiler='$compiler_DEFAULT'
80543 # A function that is used when there is no print builtin or printf.
80544 func_fallback_echo ()
80546 eval 'cat <<_LTECHO_EOF
80548 _LTECHO_EOF'
80551 # Quote evaled strings.
80552 for var in SHELL \
80553 ECHO \
80554 SED \
80555 GREP \
80556 EGREP \
80557 FGREP \
80558 LD \
80559 NM \
80560 LN_S \
80561 lt_SP2NL \
80562 lt_NL2SP \
80563 reload_flag \
80564 OBJDUMP \
80565 deplibs_check_method \
80566 file_magic_cmd \
80567 AR \
80568 AR_FLAGS \
80569 STRIP \
80570 RANLIB \
80571 CC \
80572 CFLAGS \
80573 compiler \
80574 lt_cv_sys_global_symbol_pipe \
80575 lt_cv_sys_global_symbol_to_cdecl \
80576 lt_cv_sys_global_symbol_to_c_name_address \
80577 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
80578 lt_prog_compiler_no_builtin_flag \
80579 lt_prog_compiler_wl \
80580 lt_prog_compiler_pic \
80581 lt_prog_compiler_static \
80582 lt_cv_prog_compiler_c_o \
80583 need_locks \
80584 DSYMUTIL \
80585 NMEDIT \
80586 LIPO \
80587 OTOOL \
80588 OTOOL64 \
80589 shrext_cmds \
80590 export_dynamic_flag_spec \
80591 whole_archive_flag_spec \
80592 compiler_needs_object \
80593 with_gnu_ld \
80594 allow_undefined_flag \
80595 no_undefined_flag \
80596 hardcode_libdir_flag_spec \
80597 hardcode_libdir_flag_spec_ld \
80598 hardcode_libdir_separator \
80599 fix_srcfile_path \
80600 exclude_expsyms \
80601 include_expsyms \
80602 file_list_spec \
80603 variables_saved_for_relink \
80604 libname_spec \
80605 library_names_spec \
80606 soname_spec \
80607 install_override_mode \
80608 finish_eval \
80609 old_striplib \
80610 striplib \
80611 compiler_lib_search_dirs \
80612 predep_objects \
80613 postdep_objects \
80614 predeps \
80615 postdeps \
80616 compiler_lib_search_path \
80617 LD_CXX \
80618 reload_flag_CXX \
80619 compiler_CXX \
80620 lt_prog_compiler_no_builtin_flag_CXX \
80621 lt_prog_compiler_wl_CXX \
80622 lt_prog_compiler_pic_CXX \
80623 lt_prog_compiler_static_CXX \
80624 lt_cv_prog_compiler_c_o_CXX \
80625 export_dynamic_flag_spec_CXX \
80626 whole_archive_flag_spec_CXX \
80627 compiler_needs_object_CXX \
80628 with_gnu_ld_CXX \
80629 allow_undefined_flag_CXX \
80630 no_undefined_flag_CXX \
80631 hardcode_libdir_flag_spec_CXX \
80632 hardcode_libdir_flag_spec_ld_CXX \
80633 hardcode_libdir_separator_CXX \
80634 fix_srcfile_path_CXX \
80635 exclude_expsyms_CXX \
80636 include_expsyms_CXX \
80637 file_list_spec_CXX \
80638 compiler_lib_search_dirs_CXX \
80639 predep_objects_CXX \
80640 postdep_objects_CXX \
80641 predeps_CXX \
80642 postdeps_CXX \
80643 compiler_lib_search_path_CXX; do
80644 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
80645 *[\\\\\\\`\\"\\\$]*)
80646 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
80649 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
80651 esac
80652 done
80654 # Double-quote double-evaled strings.
80655 for var in reload_cmds \
80656 old_postinstall_cmds \
80657 old_postuninstall_cmds \
80658 old_archive_cmds \
80659 extract_expsyms_cmds \
80660 old_archive_from_new_cmds \
80661 old_archive_from_expsyms_cmds \
80662 archive_cmds \
80663 archive_expsym_cmds \
80664 module_cmds \
80665 module_expsym_cmds \
80666 export_symbols_cmds \
80667 prelink_cmds \
80668 postinstall_cmds \
80669 postuninstall_cmds \
80670 finish_cmds \
80671 sys_lib_search_path_spec \
80672 sys_lib_dlsearch_path_spec \
80673 reload_cmds_CXX \
80674 old_archive_cmds_CXX \
80675 old_archive_from_new_cmds_CXX \
80676 old_archive_from_expsyms_cmds_CXX \
80677 archive_cmds_CXX \
80678 archive_expsym_cmds_CXX \
80679 module_cmds_CXX \
80680 module_expsym_cmds_CXX \
80681 export_symbols_cmds_CXX \
80682 prelink_cmds_CXX; do
80683 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
80684 *[\\\\\\\`\\"\\\$]*)
80685 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
80688 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
80690 esac
80691 done
80693 ac_aux_dir='$ac_aux_dir'
80694 xsi_shell='$xsi_shell'
80695 lt_shell_append='$lt_shell_append'
80697 # See if we are running on zsh, and set the options which allow our
80698 # commands through without removal of \ escapes INIT.
80699 if test -n "\${ZSH_VERSION+set}" ; then
80700 setopt NO_GLOB_SUBST
80704 PACKAGE='$PACKAGE'
80705 VERSION='$VERSION'
80706 TIMESTAMP='$TIMESTAMP'
80707 RM='$RM'
80708 ofile='$ofile'
80715 GCC="$GCC"
80716 CC="$CC"
80717 acx_cv_header_stdint="$acx_cv_header_stdint"
80718 acx_cv_type_int8_t="$acx_cv_type_int8_t"
80719 acx_cv_type_int16_t="$acx_cv_type_int16_t"
80720 acx_cv_type_int32_t="$acx_cv_type_int32_t"
80721 acx_cv_type_int64_t="$acx_cv_type_int64_t"
80722 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
80723 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
80724 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
80725 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
80726 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
80727 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
80728 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
80729 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
80730 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
80733 _ACEOF
80735 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80737 # Handling of arguments.
80738 for ac_config_target in $ac_config_targets
80740 case $ac_config_target in
80741 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
80742 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
80743 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
80744 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
80745 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
80746 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
80747 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
80748 "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
80749 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
80750 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
80751 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
80752 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
80753 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
80754 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
80755 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
80756 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
80757 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
80758 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
80760 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
80761 esac
80762 done
80765 # If the user did not use the arguments to specify the items to instantiate,
80766 # then the envvar interface is used. Set only those that are not.
80767 # We use the long form for the default assignment because of an extremely
80768 # bizarre bug on SunOS 4.1.3.
80769 if $ac_need_defaults; then
80770 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
80771 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
80772 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
80775 # Have a temporary directory for convenience. Make it in the build tree
80776 # simply because there is no reason against having it here, and in addition,
80777 # creating and moving files from /tmp can sometimes cause problems.
80778 # Hook for its removal unless debugging.
80779 # Note that there is a small window in which the directory will not be cleaned:
80780 # after its creation but before its name has been assigned to `$tmp'.
80781 $debug ||
80783 tmp=
80784 trap 'exit_status=$?
80785 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
80787 trap 'as_fn_exit 1' 1 2 13 15
80789 # Create a (secure) tmp directory for tmp files.
80792 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
80793 test -n "$tmp" && test -d "$tmp"
80794 } ||
80796 tmp=./conf$$-$RANDOM
80797 (umask 077 && mkdir "$tmp")
80798 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
80800 # Set up the scripts for CONFIG_FILES section.
80801 # No need to generate them if there are no CONFIG_FILES.
80802 # This happens for instance with `./config.status config.h'.
80803 if test -n "$CONFIG_FILES"; then
80806 ac_cr=`echo X | tr X '\015'`
80807 # On cygwin, bash can eat \r inside `` if the user requested igncr.
80808 # But we know of no other shell where ac_cr would be empty at this
80809 # point, so we can use a bashism as a fallback.
80810 if test "x$ac_cr" = x; then
80811 eval ac_cr=\$\'\\r\'
80813 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
80814 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
80815 ac_cs_awk_cr='\r'
80816 else
80817 ac_cs_awk_cr=$ac_cr
80820 echo 'BEGIN {' >"$tmp/subs1.awk" &&
80821 _ACEOF
80825 echo "cat >conf$$subs.awk <<_ACEOF" &&
80826 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
80827 echo "_ACEOF"
80828 } >conf$$subs.sh ||
80829 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
80830 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
80831 ac_delim='%!_!# '
80832 for ac_last_try in false false false false false :; do
80833 . ./conf$$subs.sh ||
80834 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
80836 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
80837 if test $ac_delim_n = $ac_delim_num; then
80838 break
80839 elif $ac_last_try; then
80840 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
80841 else
80842 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
80844 done
80845 rm -f conf$$subs.sh
80847 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80848 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
80849 _ACEOF
80850 sed -n '
80852 s/^/S["/; s/!.*/"]=/
80855 s/^[^!]*!//
80856 :repl
80857 t repl
80858 s/'"$ac_delim"'$//
80859 t delim
80862 s/\(.\{148\}\).*/\1/
80863 t more1
80864 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
80867 b repl
80868 :more1
80869 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
80872 s/.\{148\}//
80873 t nl
80874 :delim
80876 s/\(.\{148\}\).*/\1/
80877 t more2
80878 s/["\\]/\\&/g; s/^/"/; s/$/"/
80881 :more2
80882 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
80885 s/.\{148\}//
80886 t delim
80887 ' <conf$$subs.awk | sed '
80888 /^[^""]/{
80890 s/\n//
80892 ' >>$CONFIG_STATUS || ac_write_fail=1
80893 rm -f conf$$subs.awk
80894 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80895 _ACAWK
80896 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
80897 for (key in S) S_is_set[key] = 1
80898 FS = "\a"
80902 line = $ 0
80903 nfields = split(line, field, "@")
80904 substed = 0
80905 len = length(field[1])
80906 for (i = 2; i < nfields; i++) {
80907 key = field[i]
80908 keylen = length(key)
80909 if (S_is_set[key]) {
80910 value = S[key]
80911 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
80912 len += length(value) + length(field[++i])
80913 substed = 1
80914 } else
80915 len += 1 + keylen
80918 print line
80921 _ACAWK
80922 _ACEOF
80923 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80924 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
80925 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
80926 else
80928 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
80929 || as_fn_error "could not setup config files machinery" "$LINENO" 5
80930 _ACEOF
80932 # VPATH may cause trouble with some makes, so we remove $(srcdir),
80933 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
80934 # trailing colons and then remove the whole line if VPATH becomes empty
80935 # (actually we leave an empty line to preserve line numbers).
80936 if test "x$srcdir" = x.; then
80937 ac_vpsub='/^[ ]*VPATH[ ]*=/{
80938 s/:*\$(srcdir):*/:/
80939 s/:*\${srcdir}:*/:/
80940 s/:*@srcdir@:*/:/
80941 s/^\([^=]*=[ ]*\):*/\1/
80942 s/:*$//
80943 s/^[^=]*=[ ]*$//
80947 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80948 fi # test -n "$CONFIG_FILES"
80950 # Set up the scripts for CONFIG_HEADERS section.
80951 # No need to generate them if there are no CONFIG_HEADERS.
80952 # This happens for instance with `./config.status Makefile'.
80953 if test -n "$CONFIG_HEADERS"; then
80954 cat >"$tmp/defines.awk" <<\_ACAWK ||
80955 BEGIN {
80956 _ACEOF
80958 # Transform confdefs.h into an awk script `defines.awk', embedded as
80959 # here-document in config.status, that substitutes the proper values into
80960 # config.h.in to produce config.h.
80962 # Create a delimiter string that does not exist in confdefs.h, to ease
80963 # handling of long lines.
80964 ac_delim='%!_!# '
80965 for ac_last_try in false false :; do
80966 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
80967 if test -z "$ac_t"; then
80968 break
80969 elif $ac_last_try; then
80970 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
80971 else
80972 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
80974 done
80976 # For the awk script, D is an array of macro values keyed by name,
80977 # likewise P contains macro parameters if any. Preserve backslash
80978 # newline sequences.
80980 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
80981 sed -n '
80982 s/.\{148\}/&'"$ac_delim"'/g
80983 t rset
80984 :rset
80985 s/^[ ]*#[ ]*define[ ][ ]*/ /
80986 t def
80988 :def
80989 s/\\$//
80990 t bsnl
80991 s/["\\]/\\&/g
80992 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
80993 D["\1"]=" \3"/p
80994 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
80996 :bsnl
80997 s/["\\]/\\&/g
80998 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
80999 D["\1"]=" \3\\\\\\n"\\/p
81000 t cont
81001 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
81002 t cont
81004 :cont
81006 s/.\{148\}/&'"$ac_delim"'/g
81007 t clear
81008 :clear
81009 s/\\$//
81010 t bsnlc
81011 s/["\\]/\\&/g; s/^/"/; s/$/"/p
81013 :bsnlc
81014 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
81015 b cont
81016 ' <confdefs.h | sed '
81017 s/'"$ac_delim"'/"\\\
81018 "/g' >>$CONFIG_STATUS || ac_write_fail=1
81020 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81021 for (key in D) D_is_set[key] = 1
81022 FS = "\a"
81024 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
81025 line = \$ 0
81026 split(line, arg, " ")
81027 if (arg[1] == "#") {
81028 defundef = arg[2]
81029 mac1 = arg[3]
81030 } else {
81031 defundef = substr(arg[1], 2)
81032 mac1 = arg[2]
81034 split(mac1, mac2, "(") #)
81035 macro = mac2[1]
81036 prefix = substr(line, 1, index(line, defundef) - 1)
81037 if (D_is_set[macro]) {
81038 # Preserve the white space surrounding the "#".
81039 print prefix "define", macro P[macro] D[macro]
81040 next
81041 } else {
81042 # Replace #undef with comments. This is necessary, for example,
81043 # in the case of _POSIX_SOURCE, which is predefined and required
81044 # on some systems where configure will not decide to define it.
81045 if (defundef == "undef") {
81046 print "/*", prefix defundef, macro, "*/"
81047 next
81051 { print }
81052 _ACAWK
81053 _ACEOF
81054 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81055 as_fn_error "could not setup config headers machinery" "$LINENO" 5
81056 fi # test -n "$CONFIG_HEADERS"
81059 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
81060 shift
81061 for ac_tag
81063 case $ac_tag in
81064 :[FHLC]) ac_mode=$ac_tag; continue;;
81065 esac
81066 case $ac_mode$ac_tag in
81067 :[FHL]*:*);;
81068 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
81069 :[FH]-) ac_tag=-:-;;
81070 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
81071 esac
81072 ac_save_IFS=$IFS
81073 IFS=:
81074 set x $ac_tag
81075 IFS=$ac_save_IFS
81076 shift
81077 ac_file=$1
81078 shift
81080 case $ac_mode in
81081 :L) ac_source=$1;;
81082 :[FH])
81083 ac_file_inputs=
81084 for ac_f
81086 case $ac_f in
81087 -) ac_f="$tmp/stdin";;
81088 *) # Look for the file first in the build tree, then in the source tree
81089 # (if the path is not absolute). The absolute path cannot be DOS-style,
81090 # because $ac_f cannot contain `:'.
81091 test -f "$ac_f" ||
81092 case $ac_f in
81093 [\\/$]*) false;;
81094 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
81095 esac ||
81096 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
81097 esac
81098 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
81099 as_fn_append ac_file_inputs " '$ac_f'"
81100 done
81102 # Let's still pretend it is `configure' which instantiates (i.e., don't
81103 # use $as_me), people would be surprised to read:
81104 # /* config.h. Generated by config.status. */
81105 configure_input='Generated from '`
81106 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
81107 `' by configure.'
81108 if test x"$ac_file" != x-; then
81109 configure_input="$ac_file. $configure_input"
81110 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
81111 $as_echo "$as_me: creating $ac_file" >&6;}
81113 # Neutralize special characters interpreted by sed in replacement strings.
81114 case $configure_input in #(
81115 *\&* | *\|* | *\\* )
81116 ac_sed_conf_input=`$as_echo "$configure_input" |
81117 sed 's/[\\\\&|]/\\\\&/g'`;; #(
81118 *) ac_sed_conf_input=$configure_input;;
81119 esac
81121 case $ac_tag in
81122 *:-:* | *:-) cat >"$tmp/stdin" \
81123 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
81124 esac
81126 esac
81128 ac_dir=`$as_dirname -- "$ac_file" ||
81129 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
81130 X"$ac_file" : 'X\(//\)[^/]' \| \
81131 X"$ac_file" : 'X\(//\)$' \| \
81132 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
81133 $as_echo X"$ac_file" |
81134 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
81135 s//\1/
81138 /^X\(\/\/\)[^/].*/{
81139 s//\1/
81142 /^X\(\/\/\)$/{
81143 s//\1/
81146 /^X\(\/\).*/{
81147 s//\1/
81150 s/.*/./; q'`
81151 as_dir="$ac_dir"; as_fn_mkdir_p
81152 ac_builddir=.
81154 case "$ac_dir" in
81155 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
81157 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
81158 # A ".." for each directory in $ac_dir_suffix.
81159 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
81160 case $ac_top_builddir_sub in
81161 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
81162 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
81163 esac ;;
81164 esac
81165 ac_abs_top_builddir=$ac_pwd
81166 ac_abs_builddir=$ac_pwd$ac_dir_suffix
81167 # for backward compatibility:
81168 ac_top_builddir=$ac_top_build_prefix
81170 case $srcdir in
81171 .) # We are building in place.
81172 ac_srcdir=.
81173 ac_top_srcdir=$ac_top_builddir_sub
81174 ac_abs_top_srcdir=$ac_pwd ;;
81175 [\\/]* | ?:[\\/]* ) # Absolute name.
81176 ac_srcdir=$srcdir$ac_dir_suffix;
81177 ac_top_srcdir=$srcdir
81178 ac_abs_top_srcdir=$srcdir ;;
81179 *) # Relative name.
81180 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
81181 ac_top_srcdir=$ac_top_build_prefix$srcdir
81182 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
81183 esac
81184 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
81187 case $ac_mode in
81190 # CONFIG_FILE
81193 case $INSTALL in
81194 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
81195 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
81196 esac
81197 ac_MKDIR_P=$MKDIR_P
81198 case $MKDIR_P in
81199 [\\/$]* | ?:[\\/]* ) ;;
81200 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
81201 esac
81202 _ACEOF
81204 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81205 # If the template does not know about datarootdir, expand it.
81206 # FIXME: This hack should be removed a few years after 2.60.
81207 ac_datarootdir_hack=; ac_datarootdir_seen=
81208 ac_sed_dataroot='
81209 /datarootdir/ {
81213 /@datadir@/p
81214 /@docdir@/p
81215 /@infodir@/p
81216 /@localedir@/p
81217 /@mandir@/p'
81218 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
81219 *datarootdir*) ac_datarootdir_seen=yes;;
81220 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
81221 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
81222 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
81223 _ACEOF
81224 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81225 ac_datarootdir_hack='
81226 s&@datadir@&$datadir&g
81227 s&@docdir@&$docdir&g
81228 s&@infodir@&$infodir&g
81229 s&@localedir@&$localedir&g
81230 s&@mandir@&$mandir&g
81231 s&\\\${datarootdir}&$datarootdir&g' ;;
81232 esac
81233 _ACEOF
81235 # Neutralize VPATH when `$srcdir' = `.'.
81236 # Shell code in configure.ac might set extrasub.
81237 # FIXME: do we really want to maintain this feature?
81238 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81239 ac_sed_extra="$ac_vpsub
81240 $extrasub
81241 _ACEOF
81242 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81244 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
81245 s|@configure_input@|$ac_sed_conf_input|;t t
81246 s&@top_builddir@&$ac_top_builddir_sub&;t t
81247 s&@top_build_prefix@&$ac_top_build_prefix&;t t
81248 s&@srcdir@&$ac_srcdir&;t t
81249 s&@abs_srcdir@&$ac_abs_srcdir&;t t
81250 s&@top_srcdir@&$ac_top_srcdir&;t t
81251 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
81252 s&@builddir@&$ac_builddir&;t t
81253 s&@abs_builddir@&$ac_abs_builddir&;t t
81254 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
81255 s&@INSTALL@&$ac_INSTALL&;t t
81256 s&@MKDIR_P@&$ac_MKDIR_P&;t t
81257 $ac_datarootdir_hack
81259 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
81260 || as_fn_error "could not create $ac_file" "$LINENO" 5
81262 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
81263 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
81264 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
81265 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
81266 which seems to be undefined. Please make sure it is defined." >&5
81267 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
81268 which seems to be undefined. Please make sure it is defined." >&2;}
81270 rm -f "$tmp/stdin"
81271 case $ac_file in
81272 -) cat "$tmp/out" && rm -f "$tmp/out";;
81273 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
81274 esac \
81275 || as_fn_error "could not create $ac_file" "$LINENO" 5
81279 # CONFIG_HEADER
81281 if test x"$ac_file" != x-; then
81283 $as_echo "/* $configure_input */" \
81284 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
81285 } >"$tmp/config.h" \
81286 || as_fn_error "could not create $ac_file" "$LINENO" 5
81287 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
81288 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
81289 $as_echo "$as_me: $ac_file is unchanged" >&6;}
81290 else
81291 rm -f "$ac_file"
81292 mv "$tmp/config.h" "$ac_file" \
81293 || as_fn_error "could not create $ac_file" "$LINENO" 5
81295 else
81296 $as_echo "/* $configure_input */" \
81297 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
81298 || as_fn_error "could not create -" "$LINENO" 5
81300 # Compute "$ac_file"'s index in $config_headers.
81301 _am_arg="$ac_file"
81302 _am_stamp_count=1
81303 for _am_header in $config_headers :; do
81304 case $_am_header in
81305 $_am_arg | $_am_arg:* )
81306 break ;;
81308 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
81309 esac
81310 done
81311 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
81312 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
81313 X"$_am_arg" : 'X\(//\)[^/]' \| \
81314 X"$_am_arg" : 'X\(//\)$' \| \
81315 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
81316 $as_echo X"$_am_arg" |
81317 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
81318 s//\1/
81321 /^X\(\/\/\)[^/].*/{
81322 s//\1/
81325 /^X\(\/\/\)$/{
81326 s//\1/
81329 /^X\(\/\).*/{
81330 s//\1/
81333 s/.*/./; q'`/stamp-h$_am_stamp_count
81336 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
81337 $as_echo "$as_me: executing $ac_file commands" >&6;}
81339 esac
81342 case $ac_file$ac_mode in
81343 "default-1":C)
81344 # Only add multilib support code if we just rebuilt the top-level
81345 # Makefile.
81346 case " $CONFIG_FILES " in
81347 *" Makefile "*)
81348 ac_file=Makefile . ${multi_basedir}/config-ml.in
81350 esac ;;
81351 "libtool":C)
81353 # See if we are running on zsh, and set the options which allow our
81354 # commands through without removal of \ escapes.
81355 if test -n "${ZSH_VERSION+set}" ; then
81356 setopt NO_GLOB_SUBST
81359 cfgfile="${ofile}T"
81360 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
81361 $RM "$cfgfile"
81363 cat <<_LT_EOF >> "$cfgfile"
81364 #! $SHELL
81366 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
81367 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
81368 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
81369 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
81371 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
81372 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
81373 # Written by Gordon Matzigkeit, 1996
81375 # This file is part of GNU Libtool.
81377 # GNU Libtool is free software; you can redistribute it and/or
81378 # modify it under the terms of the GNU General Public License as
81379 # published by the Free Software Foundation; either version 2 of
81380 # the License, or (at your option) any later version.
81382 # As a special exception to the GNU General Public License,
81383 # if you distribute this file as part of a program or library that
81384 # is built using GNU Libtool, you may include this file under the
81385 # same distribution terms that you use for the rest of that program.
81387 # GNU Libtool is distributed in the hope that it will be useful,
81388 # but WITHOUT ANY WARRANTY; without even the implied warranty of
81389 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
81390 # GNU General Public License for more details.
81392 # You should have received a copy of the GNU General Public License
81393 # along with GNU Libtool; see the file COPYING. If not, a copy
81394 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
81395 # obtained by writing to the Free Software Foundation, Inc.,
81396 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
81399 # The names of the tagged configurations supported by this script.
81400 available_tags="CXX "
81402 # ### BEGIN LIBTOOL CONFIG
81404 # Which release of libtool.m4 was used?
81405 macro_version=$macro_version
81406 macro_revision=$macro_revision
81408 # Whether or not to build shared libraries.
81409 build_libtool_libs=$enable_shared
81411 # Whether or not to build static libraries.
81412 build_old_libs=$enable_static
81414 # What type of objects to build.
81415 pic_mode=$pic_mode
81417 # Whether or not to optimize for fast installation.
81418 fast_install=$enable_fast_install
81420 # Shell to use when invoking shell scripts.
81421 SHELL=$lt_SHELL
81423 # An echo program that protects backslashes.
81424 ECHO=$lt_ECHO
81426 # The host system.
81427 host_alias=$host_alias
81428 host=$host
81429 host_os=$host_os
81431 # The build system.
81432 build_alias=$build_alias
81433 build=$build
81434 build_os=$build_os
81436 # A sed program that does not truncate output.
81437 SED=$lt_SED
81439 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
81440 Xsed="\$SED -e 1s/^X//"
81442 # A grep program that handles long lines.
81443 GREP=$lt_GREP
81445 # An ERE matcher.
81446 EGREP=$lt_EGREP
81448 # A literal string matcher.
81449 FGREP=$lt_FGREP
81451 # A BSD- or MS-compatible name lister.
81452 NM=$lt_NM
81454 # Whether we need soft or hard links.
81455 LN_S=$lt_LN_S
81457 # What is the maximum length of a command?
81458 max_cmd_len=$max_cmd_len
81460 # Object file suffix (normally "o").
81461 objext=$ac_objext
81463 # Executable file suffix (normally "").
81464 exeext=$exeext
81466 # whether the shell understands "unset".
81467 lt_unset=$lt_unset
81469 # turn spaces into newlines.
81470 SP2NL=$lt_lt_SP2NL
81472 # turn newlines into spaces.
81473 NL2SP=$lt_lt_NL2SP
81475 # An object symbol dumper.
81476 OBJDUMP=$lt_OBJDUMP
81478 # Method to check whether dependent libraries are shared objects.
81479 deplibs_check_method=$lt_deplibs_check_method
81481 # Command to use when deplibs_check_method == "file_magic".
81482 file_magic_cmd=$lt_file_magic_cmd
81484 # The archiver.
81485 AR=$lt_AR
81486 AR_FLAGS=$lt_AR_FLAGS
81488 # A symbol stripping program.
81489 STRIP=$lt_STRIP
81491 # Commands used to install an old-style archive.
81492 RANLIB=$lt_RANLIB
81493 old_postinstall_cmds=$lt_old_postinstall_cmds
81494 old_postuninstall_cmds=$lt_old_postuninstall_cmds
81496 # Whether to use a lock for old archive extraction.
81497 lock_old_archive_extraction=$lock_old_archive_extraction
81499 # A C compiler.
81500 LTCC=$lt_CC
81502 # LTCC compiler flags.
81503 LTCFLAGS=$lt_CFLAGS
81505 # Take the output of nm and produce a listing of raw symbols and C names.
81506 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
81508 # Transform the output of nm in a proper C declaration.
81509 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
81511 # Transform the output of nm in a C name address pair.
81512 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
81514 # Transform the output of nm in a C name address pair when lib prefix is needed.
81515 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
81517 # The name of the directory that contains temporary libtool files.
81518 objdir=$objdir
81520 # Used to examine libraries when file_magic_cmd begins with "file".
81521 MAGIC_CMD=$MAGIC_CMD
81523 # Must we lock files when doing compilation?
81524 need_locks=$lt_need_locks
81526 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
81527 DSYMUTIL=$lt_DSYMUTIL
81529 # Tool to change global to local symbols on Mac OS X.
81530 NMEDIT=$lt_NMEDIT
81532 # Tool to manipulate fat objects and archives on Mac OS X.
81533 LIPO=$lt_LIPO
81535 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
81536 OTOOL=$lt_OTOOL
81538 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
81539 OTOOL64=$lt_OTOOL64
81541 # Old archive suffix (normally "a").
81542 libext=$libext
81544 # Shared library suffix (normally ".so").
81545 shrext_cmds=$lt_shrext_cmds
81547 # The commands to extract the exported symbol list from a shared archive.
81548 extract_expsyms_cmds=$lt_extract_expsyms_cmds
81550 # Variables whose values should be saved in libtool wrapper scripts and
81551 # restored at link time.
81552 variables_saved_for_relink=$lt_variables_saved_for_relink
81554 # Do we need the "lib" prefix for modules?
81555 need_lib_prefix=$need_lib_prefix
81557 # Do we need a version for libraries?
81558 need_version=$need_version
81560 # Library versioning type.
81561 version_type=$version_type
81563 # Shared library runtime path variable.
81564 runpath_var=$runpath_var
81566 # Shared library path variable.
81567 shlibpath_var=$shlibpath_var
81569 # Is shlibpath searched before the hard-coded library search path?
81570 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
81572 # Format of library name prefix.
81573 libname_spec=$lt_libname_spec
81575 # List of archive names. First name is the real one, the rest are links.
81576 # The last name is the one that the linker finds with -lNAME
81577 library_names_spec=$lt_library_names_spec
81579 # The coded name of the library, if different from the real name.
81580 soname_spec=$lt_soname_spec
81582 # Permission mode override for installation of shared libraries.
81583 install_override_mode=$lt_install_override_mode
81585 # Command to use after installation of a shared archive.
81586 postinstall_cmds=$lt_postinstall_cmds
81588 # Command to use after uninstallation of a shared archive.
81589 postuninstall_cmds=$lt_postuninstall_cmds
81591 # Commands used to finish a libtool library installation in a directory.
81592 finish_cmds=$lt_finish_cmds
81594 # As "finish_cmds", except a single script fragment to be evaled but
81595 # not shown.
81596 finish_eval=$lt_finish_eval
81598 # Whether we should hardcode library paths into libraries.
81599 hardcode_into_libs=$hardcode_into_libs
81601 # Compile-time system search path for libraries.
81602 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
81604 # Run-time system search path for libraries.
81605 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
81607 # Whether dlopen is supported.
81608 dlopen_support=$enable_dlopen
81610 # Whether dlopen of programs is supported.
81611 dlopen_self=$enable_dlopen_self
81613 # Whether dlopen of statically linked programs is supported.
81614 dlopen_self_static=$enable_dlopen_self_static
81616 # Commands to strip libraries.
81617 old_striplib=$lt_old_striplib
81618 striplib=$lt_striplib
81621 # The linker used to build libraries.
81622 LD=$lt_LD
81624 # How to create reloadable object files.
81625 reload_flag=$lt_reload_flag
81626 reload_cmds=$lt_reload_cmds
81628 # Commands used to build an old-style archive.
81629 old_archive_cmds=$lt_old_archive_cmds
81631 # A language specific compiler.
81632 CC=$lt_compiler
81634 # Is the compiler the GNU compiler?
81635 with_gcc=$GCC
81637 # Compiler flag to turn off builtin functions.
81638 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
81640 # How to pass a linker flag through the compiler.
81641 wl=$lt_lt_prog_compiler_wl
81643 # Additional compiler flags for building library objects.
81644 pic_flag=$lt_lt_prog_compiler_pic
81646 # Compiler flag to prevent dynamic linking.
81647 link_static_flag=$lt_lt_prog_compiler_static
81649 # Does compiler simultaneously support -c and -o options?
81650 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
81652 # Whether or not to add -lc for building shared libraries.
81653 build_libtool_need_lc=$archive_cmds_need_lc
81655 # Whether or not to disallow shared libs when runtime libs are static.
81656 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
81658 # Compiler flag to allow reflexive dlopens.
81659 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
81661 # Compiler flag to generate shared objects directly from archives.
81662 whole_archive_flag_spec=$lt_whole_archive_flag_spec
81664 # Whether the compiler copes with passing no objects directly.
81665 compiler_needs_object=$lt_compiler_needs_object
81667 # Create an old-style archive from a shared archive.
81668 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
81670 # Create a temporary old-style archive to link instead of a shared archive.
81671 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
81673 # Commands used to build a shared archive.
81674 archive_cmds=$lt_archive_cmds
81675 archive_expsym_cmds=$lt_archive_expsym_cmds
81677 # Commands used to build a loadable module if different from building
81678 # a shared archive.
81679 module_cmds=$lt_module_cmds
81680 module_expsym_cmds=$lt_module_expsym_cmds
81682 # Whether we are building with GNU ld or not.
81683 with_gnu_ld=$lt_with_gnu_ld
81685 # Flag that allows shared libraries with undefined symbols to be built.
81686 allow_undefined_flag=$lt_allow_undefined_flag
81688 # Flag that enforces no undefined symbols.
81689 no_undefined_flag=$lt_no_undefined_flag
81691 # Flag to hardcode \$libdir into a binary during linking.
81692 # This must work even if \$libdir does not exist
81693 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
81695 # If ld is used when linking, flag to hardcode \$libdir into a binary
81696 # during linking. This must work even if \$libdir does not exist.
81697 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
81699 # Whether we need a single "-rpath" flag with a separated argument.
81700 hardcode_libdir_separator=$lt_hardcode_libdir_separator
81702 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
81703 # DIR into the resulting binary.
81704 hardcode_direct=$hardcode_direct
81706 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
81707 # DIR into the resulting binary and the resulting library dependency is
81708 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
81709 # library is relocated.
81710 hardcode_direct_absolute=$hardcode_direct_absolute
81712 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
81713 # into the resulting binary.
81714 hardcode_minus_L=$hardcode_minus_L
81716 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
81717 # into the resulting binary.
81718 hardcode_shlibpath_var=$hardcode_shlibpath_var
81720 # Set to "yes" if building a shared library automatically hardcodes DIR
81721 # into the library and all subsequent libraries and executables linked
81722 # against it.
81723 hardcode_automatic=$hardcode_automatic
81725 # Set to yes if linker adds runtime paths of dependent libraries
81726 # to runtime path list.
81727 inherit_rpath=$inherit_rpath
81729 # Whether libtool must link a program against all its dependency libraries.
81730 link_all_deplibs=$link_all_deplibs
81732 # Fix the shell variable \$srcfile for the compiler.
81733 fix_srcfile_path=$lt_fix_srcfile_path
81735 # Set to "yes" if exported symbols are required.
81736 always_export_symbols=$always_export_symbols
81738 # The commands to list exported symbols.
81739 export_symbols_cmds=$lt_export_symbols_cmds
81741 # Symbols that should not be listed in the preloaded symbols.
81742 exclude_expsyms=$lt_exclude_expsyms
81744 # Symbols that must always be exported.
81745 include_expsyms=$lt_include_expsyms
81747 # Commands necessary for linking programs (against libraries) with templates.
81748 prelink_cmds=$lt_prelink_cmds
81750 # Specify filename containing input files.
81751 file_list_spec=$lt_file_list_spec
81753 # How to hardcode a shared library path into an executable.
81754 hardcode_action=$hardcode_action
81756 # The directories searched by this compiler when creating a shared library.
81757 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
81759 # Dependencies to place before and after the objects being linked to
81760 # create a shared library.
81761 predep_objects=$lt_predep_objects
81762 postdep_objects=$lt_postdep_objects
81763 predeps=$lt_predeps
81764 postdeps=$lt_postdeps
81766 # The library search path used internally by the compiler when linking
81767 # a shared library.
81768 compiler_lib_search_path=$lt_compiler_lib_search_path
81770 # ### END LIBTOOL CONFIG
81772 _LT_EOF
81774 case $host_os in
81775 aix3*)
81776 cat <<\_LT_EOF >> "$cfgfile"
81777 # AIX sometimes has problems with the GCC collect2 program. For some
81778 # reason, if we set the COLLECT_NAMES environment variable, the problems
81779 # vanish in a puff of smoke.
81780 if test "X${COLLECT_NAMES+set}" != Xset; then
81781 COLLECT_NAMES=
81782 export COLLECT_NAMES
81784 _LT_EOF
81786 esac
81789 ltmain="$ac_aux_dir/ltmain.sh"
81792 # We use sed instead of cat because bash on DJGPP gets confused if
81793 # if finds mixed CR/LF and LF-only lines. Since sed operates in
81794 # text mode, it properly converts lines to CR/LF. This bash problem
81795 # is reportedly fixed, but why not run on old versions too?
81796 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
81797 || (rm -f "$cfgfile"; exit 1)
81799 case $xsi_shell in
81800 yes)
81801 cat << \_LT_EOF >> "$cfgfile"
81803 # func_dirname file append nondir_replacement
81804 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
81805 # otherwise set result to NONDIR_REPLACEMENT.
81806 func_dirname ()
81808 case ${1} in
81809 */*) func_dirname_result="${1%/*}${2}" ;;
81810 * ) func_dirname_result="${3}" ;;
81811 esac
81814 # func_basename file
81815 func_basename ()
81817 func_basename_result="${1##*/}"
81820 # func_dirname_and_basename file append nondir_replacement
81821 # perform func_basename and func_dirname in a single function
81822 # call:
81823 # dirname: Compute the dirname of FILE. If nonempty,
81824 # add APPEND to the result, otherwise set result
81825 # to NONDIR_REPLACEMENT.
81826 # value returned in "$func_dirname_result"
81827 # basename: Compute filename of FILE.
81828 # value retuned in "$func_basename_result"
81829 # Implementation must be kept synchronized with func_dirname
81830 # and func_basename. For efficiency, we do not delegate to
81831 # those functions but instead duplicate the functionality here.
81832 func_dirname_and_basename ()
81834 case ${1} in
81835 */*) func_dirname_result="${1%/*}${2}" ;;
81836 * ) func_dirname_result="${3}" ;;
81837 esac
81838 func_basename_result="${1##*/}"
81841 # func_stripname prefix suffix name
81842 # strip PREFIX and SUFFIX off of NAME.
81843 # PREFIX and SUFFIX must not contain globbing or regex special
81844 # characters, hashes, percent signs, but SUFFIX may contain a leading
81845 # dot (in which case that matches only a dot).
81846 func_stripname ()
81848 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
81849 # positional parameters, so assign one to ordinary parameter first.
81850 func_stripname_result=${3}
81851 func_stripname_result=${func_stripname_result#"${1}"}
81852 func_stripname_result=${func_stripname_result%"${2}"}
81855 # func_opt_split
81856 func_opt_split ()
81858 func_opt_split_opt=${1%%=*}
81859 func_opt_split_arg=${1#*=}
81862 # func_lo2o object
81863 func_lo2o ()
81865 case ${1} in
81866 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
81867 *) func_lo2o_result=${1} ;;
81868 esac
81871 # func_xform libobj-or-source
81872 func_xform ()
81874 func_xform_result=${1%.*}.lo
81877 # func_arith arithmetic-term...
81878 func_arith ()
81880 func_arith_result=$(( $* ))
81883 # func_len string
81884 # STRING may not start with a hyphen.
81885 func_len ()
81887 func_len_result=${#1}
81890 _LT_EOF
81892 *) # Bourne compatible functions.
81893 cat << \_LT_EOF >> "$cfgfile"
81895 # func_dirname file append nondir_replacement
81896 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
81897 # otherwise set result to NONDIR_REPLACEMENT.
81898 func_dirname ()
81900 # Extract subdirectory from the argument.
81901 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
81902 if test "X$func_dirname_result" = "X${1}"; then
81903 func_dirname_result="${3}"
81904 else
81905 func_dirname_result="$func_dirname_result${2}"
81909 # func_basename file
81910 func_basename ()
81912 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
81916 # func_stripname prefix suffix name
81917 # strip PREFIX and SUFFIX off of NAME.
81918 # PREFIX and SUFFIX must not contain globbing or regex special
81919 # characters, hashes, percent signs, but SUFFIX may contain a leading
81920 # dot (in which case that matches only a dot).
81921 # func_strip_suffix prefix name
81922 func_stripname ()
81924 case ${2} in
81925 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
81926 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
81927 esac
81930 # sed scripts:
81931 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
81932 my_sed_long_arg='1s/^-[^=]*=//'
81934 # func_opt_split
81935 func_opt_split ()
81937 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
81938 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
81941 # func_lo2o object
81942 func_lo2o ()
81944 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
81947 # func_xform libobj-or-source
81948 func_xform ()
81950 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
81953 # func_arith arithmetic-term...
81954 func_arith ()
81956 func_arith_result=`expr "$@"`
81959 # func_len string
81960 # STRING may not start with a hyphen.
81961 func_len ()
81963 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
81966 _LT_EOF
81967 esac
81969 case $lt_shell_append in
81970 yes)
81971 cat << \_LT_EOF >> "$cfgfile"
81973 # func_append var value
81974 # Append VALUE to the end of shell variable VAR.
81975 func_append ()
81977 eval "$1+=\$2"
81979 _LT_EOF
81982 cat << \_LT_EOF >> "$cfgfile"
81984 # func_append var value
81985 # Append VALUE to the end of shell variable VAR.
81986 func_append ()
81988 eval "$1=\$$1\$2"
81991 _LT_EOF
81993 esac
81996 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
81997 || (rm -f "$cfgfile"; exit 1)
81999 mv -f "$cfgfile" "$ofile" ||
82000 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
82001 chmod +x "$ofile"
82004 cat <<_LT_EOF >> "$ofile"
82006 # ### BEGIN LIBTOOL TAG CONFIG: CXX
82008 # The linker used to build libraries.
82009 LD=$lt_LD_CXX
82011 # How to create reloadable object files.
82012 reload_flag=$lt_reload_flag_CXX
82013 reload_cmds=$lt_reload_cmds_CXX
82015 # Commands used to build an old-style archive.
82016 old_archive_cmds=$lt_old_archive_cmds_CXX
82018 # A language specific compiler.
82019 CC=$lt_compiler_CXX
82021 # Is the compiler the GNU compiler?
82022 with_gcc=$GCC_CXX
82024 # Compiler flag to turn off builtin functions.
82025 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
82027 # How to pass a linker flag through the compiler.
82028 wl=$lt_lt_prog_compiler_wl_CXX
82030 # Additional compiler flags for building library objects.
82031 pic_flag=$lt_lt_prog_compiler_pic_CXX
82033 # Compiler flag to prevent dynamic linking.
82034 link_static_flag=$lt_lt_prog_compiler_static_CXX
82036 # Does compiler simultaneously support -c and -o options?
82037 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
82039 # Whether or not to add -lc for building shared libraries.
82040 build_libtool_need_lc=$archive_cmds_need_lc_CXX
82042 # Whether or not to disallow shared libs when runtime libs are static.
82043 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
82045 # Compiler flag to allow reflexive dlopens.
82046 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
82048 # Compiler flag to generate shared objects directly from archives.
82049 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
82051 # Whether the compiler copes with passing no objects directly.
82052 compiler_needs_object=$lt_compiler_needs_object_CXX
82054 # Create an old-style archive from a shared archive.
82055 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
82057 # Create a temporary old-style archive to link instead of a shared archive.
82058 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
82060 # Commands used to build a shared archive.
82061 archive_cmds=$lt_archive_cmds_CXX
82062 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
82064 # Commands used to build a loadable module if different from building
82065 # a shared archive.
82066 module_cmds=$lt_module_cmds_CXX
82067 module_expsym_cmds=$lt_module_expsym_cmds_CXX
82069 # Whether we are building with GNU ld or not.
82070 with_gnu_ld=$lt_with_gnu_ld_CXX
82072 # Flag that allows shared libraries with undefined symbols to be built.
82073 allow_undefined_flag=$lt_allow_undefined_flag_CXX
82075 # Flag that enforces no undefined symbols.
82076 no_undefined_flag=$lt_no_undefined_flag_CXX
82078 # Flag to hardcode \$libdir into a binary during linking.
82079 # This must work even if \$libdir does not exist
82080 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
82082 # If ld is used when linking, flag to hardcode \$libdir into a binary
82083 # during linking. This must work even if \$libdir does not exist.
82084 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
82086 # Whether we need a single "-rpath" flag with a separated argument.
82087 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
82089 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
82090 # DIR into the resulting binary.
82091 hardcode_direct=$hardcode_direct_CXX
82093 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
82094 # DIR into the resulting binary and the resulting library dependency is
82095 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
82096 # library is relocated.
82097 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
82099 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
82100 # into the resulting binary.
82101 hardcode_minus_L=$hardcode_minus_L_CXX
82103 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
82104 # into the resulting binary.
82105 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
82107 # Set to "yes" if building a shared library automatically hardcodes DIR
82108 # into the library and all subsequent libraries and executables linked
82109 # against it.
82110 hardcode_automatic=$hardcode_automatic_CXX
82112 # Set to yes if linker adds runtime paths of dependent libraries
82113 # to runtime path list.
82114 inherit_rpath=$inherit_rpath_CXX
82116 # Whether libtool must link a program against all its dependency libraries.
82117 link_all_deplibs=$link_all_deplibs_CXX
82119 # Fix the shell variable \$srcfile for the compiler.
82120 fix_srcfile_path=$lt_fix_srcfile_path_CXX
82122 # Set to "yes" if exported symbols are required.
82123 always_export_symbols=$always_export_symbols_CXX
82125 # The commands to list exported symbols.
82126 export_symbols_cmds=$lt_export_symbols_cmds_CXX
82128 # Symbols that should not be listed in the preloaded symbols.
82129 exclude_expsyms=$lt_exclude_expsyms_CXX
82131 # Symbols that must always be exported.
82132 include_expsyms=$lt_include_expsyms_CXX
82134 # Commands necessary for linking programs (against libraries) with templates.
82135 prelink_cmds=$lt_prelink_cmds_CXX
82137 # Specify filename containing input files.
82138 file_list_spec=$lt_file_list_spec_CXX
82140 # How to hardcode a shared library path into an executable.
82141 hardcode_action=$hardcode_action_CXX
82143 # The directories searched by this compiler when creating a shared library.
82144 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
82146 # Dependencies to place before and after the objects being linked to
82147 # create a shared library.
82148 predep_objects=$lt_predep_objects_CXX
82149 postdep_objects=$lt_postdep_objects_CXX
82150 predeps=$lt_predeps_CXX
82151 postdeps=$lt_postdeps_CXX
82153 # The library search path used internally by the compiler when linking
82154 # a shared library.
82155 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
82157 # ### END LIBTOOL TAG CONFIG: CXX
82158 _LT_EOF
82161 "include/gstdint.h":C)
82162 if test "$GCC" = yes; then
82163 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
82164 else
82165 echo "/* generated for $CC */" > tmp-stdint.h
82168 sed 's/^ *//' >> tmp-stdint.h <<EOF
82170 #ifndef GCC_GENERATED_STDINT_H
82171 #define GCC_GENERATED_STDINT_H 1
82173 #include <sys/types.h>
82176 if test "$acx_cv_header_stdint" != stdint.h; then
82177 echo "#include <stddef.h>" >> tmp-stdint.h
82179 if test "$acx_cv_header_stdint" != stddef.h; then
82180 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
82183 sed 's/^ *//' >> tmp-stdint.h <<EOF
82184 /* glibc uses these symbols as guards to prevent redefinitions. */
82185 #ifdef __int8_t_defined
82186 #define _INT8_T
82187 #define _INT16_T
82188 #define _INT32_T
82189 #endif
82190 #ifdef __uint32_t_defined
82191 #define _UINT32_T
82192 #endif
82196 # ----------------- done header, emit basic int types -------------
82197 if test "$acx_cv_header_stdint" = stddef.h; then
82198 sed 's/^ *//' >> tmp-stdint.h <<EOF
82200 #ifndef _UINT8_T
82201 #define _UINT8_T
82202 #ifndef __uint8_t_defined
82203 #define __uint8_t_defined
82204 #ifndef uint8_t
82205 typedef unsigned $acx_cv_type_int8_t uint8_t;
82206 #endif
82207 #endif
82208 #endif
82210 #ifndef _UINT16_T
82211 #define _UINT16_T
82212 #ifndef __uint16_t_defined
82213 #define __uint16_t_defined
82214 #ifndef uint16_t
82215 typedef unsigned $acx_cv_type_int16_t uint16_t;
82216 #endif
82217 #endif
82218 #endif
82220 #ifndef _UINT32_T
82221 #define _UINT32_T
82222 #ifndef __uint32_t_defined
82223 #define __uint32_t_defined
82224 #ifndef uint32_t
82225 typedef unsigned $acx_cv_type_int32_t uint32_t;
82226 #endif
82227 #endif
82228 #endif
82230 #ifndef _INT8_T
82231 #define _INT8_T
82232 #ifndef __int8_t_defined
82233 #define __int8_t_defined
82234 #ifndef int8_t
82235 typedef $acx_cv_type_int8_t int8_t;
82236 #endif
82237 #endif
82238 #endif
82240 #ifndef _INT16_T
82241 #define _INT16_T
82242 #ifndef __int16_t_defined
82243 #define __int16_t_defined
82244 #ifndef int16_t
82245 typedef $acx_cv_type_int16_t int16_t;
82246 #endif
82247 #endif
82248 #endif
82250 #ifndef _INT32_T
82251 #define _INT32_T
82252 #ifndef __int32_t_defined
82253 #define __int32_t_defined
82254 #ifndef int32_t
82255 typedef $acx_cv_type_int32_t int32_t;
82256 #endif
82257 #endif
82258 #endif
82260 elif test "$ac_cv_type_u_int32_t" = yes; then
82261 sed 's/^ *//' >> tmp-stdint.h <<EOF
82263 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
82264 #ifndef _INT8_T
82265 #define _INT8_T
82266 #endif
82267 #ifndef _INT16_T
82268 #define _INT16_T
82269 #endif
82270 #ifndef _INT32_T
82271 #define _INT32_T
82272 #endif
82274 #ifndef _UINT8_T
82275 #define _UINT8_T
82276 #ifndef __uint8_t_defined
82277 #define __uint8_t_defined
82278 #ifndef uint8_t
82279 typedef u_int8_t uint8_t;
82280 #endif
82281 #endif
82282 #endif
82284 #ifndef _UINT16_T
82285 #define _UINT16_T
82286 #ifndef __uint16_t_defined
82287 #define __uint16_t_defined
82288 #ifndef uint16_t
82289 typedef u_int16_t uint16_t;
82290 #endif
82291 #endif
82292 #endif
82294 #ifndef _UINT32_T
82295 #define _UINT32_T
82296 #ifndef __uint32_t_defined
82297 #define __uint32_t_defined
82298 #ifndef uint32_t
82299 typedef u_int32_t uint32_t;
82300 #endif
82301 #endif
82302 #endif
82304 else
82305 sed 's/^ *//' >> tmp-stdint.h <<EOF
82307 /* Some systems have guard macros to prevent redefinitions, define them. */
82308 #ifndef _INT8_T
82309 #define _INT8_T
82310 #endif
82311 #ifndef _INT16_T
82312 #define _INT16_T
82313 #endif
82314 #ifndef _INT32_T
82315 #define _INT32_T
82316 #endif
82317 #ifndef _UINT8_T
82318 #define _UINT8_T
82319 #endif
82320 #ifndef _UINT16_T
82321 #define _UINT16_T
82322 #endif
82323 #ifndef _UINT32_T
82324 #define _UINT32_T
82325 #endif
82329 # ------------- done basic int types, emit int64_t types ------------
82330 if test "$ac_cv_type_uint64_t" = yes; then
82331 sed 's/^ *//' >> tmp-stdint.h <<EOF
82333 /* system headers have good uint64_t and int64_t */
82334 #ifndef _INT64_T
82335 #define _INT64_T
82336 #endif
82337 #ifndef _UINT64_T
82338 #define _UINT64_T
82339 #endif
82341 elif test "$ac_cv_type_u_int64_t" = yes; then
82342 sed 's/^ *//' >> tmp-stdint.h <<EOF
82344 /* system headers have an u_int64_t (and int64_t) */
82345 #ifndef _INT64_T
82346 #define _INT64_T
82347 #endif
82348 #ifndef _UINT64_T
82349 #define _UINT64_T
82350 #ifndef __uint64_t_defined
82351 #define __uint64_t_defined
82352 #ifndef uint64_t
82353 typedef u_int64_t uint64_t;
82354 #endif
82355 #endif
82356 #endif
82358 elif test -n "$acx_cv_type_int64_t"; then
82359 sed 's/^ *//' >> tmp-stdint.h <<EOF
82361 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
82362 #ifndef _INT64_T
82363 #define _INT64_T
82364 #ifndef int64_t
82365 typedef $acx_cv_type_int64_t int64_t;
82366 #endif
82367 #endif
82368 #ifndef _UINT64_T
82369 #define _UINT64_T
82370 #ifndef __uint64_t_defined
82371 #define __uint64_t_defined
82372 #ifndef uint64_t
82373 typedef unsigned $acx_cv_type_int64_t uint64_t;
82374 #endif
82375 #endif
82376 #endif
82378 else
82379 sed 's/^ *//' >> tmp-stdint.h <<EOF
82381 /* some common heuristics for int64_t, using compiler-specific tests */
82382 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
82383 #ifndef _INT64_T
82384 #define _INT64_T
82385 #ifndef __int64_t_defined
82386 #ifndef int64_t
82387 typedef long long int64_t;
82388 #endif
82389 #endif
82390 #endif
82391 #ifndef _UINT64_T
82392 #define _UINT64_T
82393 #ifndef uint64_t
82394 typedef unsigned long long uint64_t;
82395 #endif
82396 #endif
82398 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
82399 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
82400 does not implement __extension__. But that compiler doesn't define
82401 __GNUC_MINOR__. */
82402 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
82403 # define __extension__
82404 # endif
82406 # ifndef _INT64_T
82407 # define _INT64_T
82408 # ifndef int64_t
82409 __extension__ typedef long long int64_t;
82410 # endif
82411 # endif
82412 # ifndef _UINT64_T
82413 # define _UINT64_T
82414 # ifndef uint64_t
82415 __extension__ typedef unsigned long long uint64_t;
82416 # endif
82417 # endif
82419 #elif !defined __STRICT_ANSI__
82420 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
82422 # ifndef _INT64_T
82423 # define _INT64_T
82424 # ifndef int64_t
82425 typedef __int64 int64_t;
82426 # endif
82427 # endif
82428 # ifndef _UINT64_T
82429 # define _UINT64_T
82430 # ifndef uint64_t
82431 typedef unsigned __int64 uint64_t;
82432 # endif
82433 # endif
82434 # endif /* compiler */
82436 #endif /* ANSI version */
82440 # ------------- done int64_t types, emit intptr types ------------
82441 if test "$ac_cv_type_uintptr_t" != yes; then
82442 sed 's/^ *//' >> tmp-stdint.h <<EOF
82444 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
82445 #ifndef __uintptr_t_defined
82446 #ifndef uintptr_t
82447 typedef u$acx_cv_type_intptr_t uintptr_t;
82448 #endif
82449 #endif
82450 #ifndef __intptr_t_defined
82451 #ifndef intptr_t
82452 typedef $acx_cv_type_intptr_t intptr_t;
82453 #endif
82454 #endif
82458 # ------------- done intptr types, emit int_least types ------------
82459 if test "$ac_cv_type_int_least32_t" != yes; then
82460 sed 's/^ *//' >> tmp-stdint.h <<EOF
82462 /* Define int_least types */
82463 typedef int8_t int_least8_t;
82464 typedef int16_t int_least16_t;
82465 typedef int32_t int_least32_t;
82466 #ifdef _INT64_T
82467 typedef int64_t int_least64_t;
82468 #endif
82470 typedef uint8_t uint_least8_t;
82471 typedef uint16_t uint_least16_t;
82472 typedef uint32_t uint_least32_t;
82473 #ifdef _UINT64_T
82474 typedef uint64_t uint_least64_t;
82475 #endif
82479 # ------------- done intptr types, emit int_fast types ------------
82480 if test "$ac_cv_type_int_fast32_t" != yes; then
82481 sed 's/^ *//' >> tmp-stdint.h <<EOF
82483 /* Define int_fast types. short is often slow */
82484 typedef int8_t int_fast8_t;
82485 typedef int int_fast16_t;
82486 typedef int32_t int_fast32_t;
82487 #ifdef _INT64_T
82488 typedef int64_t int_fast64_t;
82489 #endif
82491 typedef uint8_t uint_fast8_t;
82492 typedef unsigned int uint_fast16_t;
82493 typedef uint32_t uint_fast32_t;
82494 #ifdef _UINT64_T
82495 typedef uint64_t uint_fast64_t;
82496 #endif
82500 if test "$ac_cv_type_uintmax_t" != yes; then
82501 sed 's/^ *//' >> tmp-stdint.h <<EOF
82503 /* Define intmax based on what we found */
82504 #ifndef intmax_t
82505 #ifdef _INT64_T
82506 typedef int64_t intmax_t;
82507 #else
82508 typedef long intmax_t;
82509 #endif
82510 #endif
82511 #ifndef uintmax_t
82512 #ifdef _UINT64_T
82513 typedef uint64_t uintmax_t;
82514 #else
82515 typedef unsigned long uintmax_t;
82516 #endif
82517 #endif
82521 sed 's/^ *//' >> tmp-stdint.h <<EOF
82523 #endif /* GCC_GENERATED_STDINT_H */
82526 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
82527 rm -f tmp-stdint.h
82528 else
82529 mv -f tmp-stdint.h include/gstdint.h
82533 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
82534 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
82535 "include/Makefile":F) cat > vpsed$$ << \_EOF
82536 s!`test -f '$<' || echo '$(srcdir)/'`!!
82537 _EOF
82538 sed -f vpsed$$ $ac_file > tmp$$
82539 mv tmp$$ $ac_file
82540 rm vpsed$$
82541 echo 'MULTISUBDIR =' >> $ac_file
82542 ml_norecursion=yes
82543 . ${multi_basedir}/config-ml.in
82544 { ml_norecursion=; unset ml_norecursion;}
82546 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
82547 s!`test -f '$<' || echo '$(srcdir)/'`!!
82548 _EOF
82549 sed -f vpsed$$ $ac_file > tmp$$
82550 mv tmp$$ $ac_file
82551 rm vpsed$$
82552 echo 'MULTISUBDIR =' >> $ac_file
82553 ml_norecursion=yes
82554 . ${multi_basedir}/config-ml.in
82555 { ml_norecursion=; unset ml_norecursion;}
82557 "python/Makefile":F) cat > vpsed$$ << \_EOF
82558 s!`test -f '$<' || echo '$(srcdir)/'`!!
82559 _EOF
82560 sed -f vpsed$$ $ac_file > tmp$$
82561 mv tmp$$ $ac_file
82562 rm vpsed$$
82563 echo 'MULTISUBDIR =' >> $ac_file
82564 ml_norecursion=yes
82565 . ${multi_basedir}/config-ml.in
82566 { ml_norecursion=; unset ml_norecursion;}
82568 "src/Makefile":F) cat > vpsed$$ << \_EOF
82569 s!`test -f '$<' || echo '$(srcdir)/'`!!
82570 _EOF
82571 sed -f vpsed$$ $ac_file > tmp$$
82572 mv tmp$$ $ac_file
82573 rm vpsed$$
82574 echo 'MULTISUBDIR =' >> $ac_file
82575 ml_norecursion=yes
82576 . ${multi_basedir}/config-ml.in
82577 { ml_norecursion=; unset ml_norecursion;}
82579 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
82580 s!`test -f '$<' || echo '$(srcdir)/'`!!
82581 _EOF
82582 sed -f vpsed$$ $ac_file > tmp$$
82583 mv tmp$$ $ac_file
82584 rm vpsed$$
82585 echo 'MULTISUBDIR =' >> $ac_file
82586 ml_norecursion=yes
82587 . ${multi_basedir}/config-ml.in
82588 { ml_norecursion=; unset ml_norecursion;}
82590 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
82591 s!`test -f '$<' || echo '$(srcdir)/'`!!
82592 _EOF
82593 sed -f vpsed$$ $ac_file > tmp$$
82594 mv tmp$$ $ac_file
82595 rm vpsed$$
82596 echo 'MULTISUBDIR =' >> $ac_file
82597 ml_norecursion=yes
82598 . ${multi_basedir}/config-ml.in
82599 { ml_norecursion=; unset ml_norecursion;}
82601 "doc/Makefile":F) cat > vpsed$$ << \_EOF
82602 s!`test -f '$<' || echo '$(srcdir)/'`!!
82603 _EOF
82604 sed -f vpsed$$ $ac_file > tmp$$
82605 mv tmp$$ $ac_file
82606 rm vpsed$$
82607 echo 'MULTISUBDIR =' >> $ac_file
82608 ml_norecursion=yes
82609 . ${multi_basedir}/config-ml.in
82610 { ml_norecursion=; unset ml_norecursion;}
82612 "po/Makefile":F) cat > vpsed$$ << \_EOF
82613 s!`test -f '$<' || echo '$(srcdir)/'`!!
82614 _EOF
82615 sed -f vpsed$$ $ac_file > tmp$$
82616 mv tmp$$ $ac_file
82617 rm vpsed$$
82618 echo 'MULTISUBDIR =' >> $ac_file
82619 ml_norecursion=yes
82620 . ${multi_basedir}/config-ml.in
82621 { ml_norecursion=; unset ml_norecursion;}
82623 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
82624 s!`test -f '$<' || echo '$(srcdir)/'`!!
82625 _EOF
82626 sed -f vpsed$$ $ac_file > tmp$$
82627 mv tmp$$ $ac_file
82628 rm vpsed$$
82629 echo 'MULTISUBDIR =' >> $ac_file
82630 ml_norecursion=yes
82631 . ${multi_basedir}/config-ml.in
82632 { ml_norecursion=; unset ml_norecursion;}
82634 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
82636 esac
82637 done # for ac_tag
82640 as_fn_exit 0
82641 _ACEOF
82642 ac_clean_files=$ac_clean_files_save
82644 test $ac_write_fail = 0 ||
82645 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
82648 # configure is writing to config.log, and then calls config.status.
82649 # config.status does its own redirection, appending to config.log.
82650 # Unfortunately, on DOS this fails, as config.log is still kept open
82651 # by configure, so config.status won't be able to write to it; its
82652 # output is simply discarded. So we exec the FD to /dev/null,
82653 # effectively closing config.log, so it can be properly (re)opened and
82654 # appended to by config.status. When coming back to configure, we
82655 # need to make the FD available again.
82656 if test "$no_create" != yes; then
82657 ac_cs_success=:
82658 ac_config_status_args=
82659 test "$silent" = yes &&
82660 ac_config_status_args="$ac_config_status_args --quiet"
82661 exec 5>/dev/null
82662 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
82663 exec 5>>config.log
82664 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
82665 # would make configure fail if this is the last instruction.
82666 $ac_cs_success || as_fn_exit $?
82668 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
82669 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
82670 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}