PR c/67432
[official-gcc.git] / libstdc++-v3 / configure
blob8646465fbbee75f0b870c631e1da64f3d834bfd9
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for package-unused version-unused.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
7 # Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in #(
26 *posix*) :
27 set -o posix ;; #(
28 *) :
30 esac
34 as_nl='
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45 as_echo='print -r --'
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50 else
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in #(
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74 PATH_SEPARATOR=:
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77 PATH_SEPARATOR=';'
82 # IFS
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" "" $as_nl"
89 # Find who we are. Look in the path if we contain no directory separator.
90 case $0 in #((
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
93 for as_dir in $PATH
95 IFS=$as_save_IFS
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
98 done
99 IFS=$as_save_IFS
102 esac
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x; then
106 as_myself=$0
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
110 exit 1
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\${$as_var+set} = xset \
119 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
120 done
121 PS1='$ '
122 PS2='> '
123 PS4='+ '
125 # NLS nuisances.
126 LC_ALL=C
127 export LC_ALL
128 LANGUAGE=C
129 export LANGUAGE
131 # CDPATH.
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x; then
135 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
136 emulate sh
137 NULLCMD=:
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
141 setopt NO_GLOB_SUBST
142 else
143 case \`(set -o) 2>/dev/null\` in #(
144 *posix*) :
145 set -o posix ;; #(
146 *) :
148 esac
151 as_required="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
157 exitcode=0
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
164 else
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1
174 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
175 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
176 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
178 PATH=/empty FPATH=/empty; export PATH FPATH
179 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
180 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
181 if (eval "$as_required") 2>/dev/null; then :
182 as_have_required=yes
183 else
184 as_have_required=no
186 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
188 else
189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
190 as_found=false
191 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
193 IFS=$as_save_IFS
194 test -z "$as_dir" && as_dir=.
195 as_found=:
196 case $as_dir in #(
198 for as_base in sh bash ksh sh5; do
199 # Try only shells that exist, to save several forks.
200 as_shell=$as_dir/$as_base
201 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
202 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
203 CONFIG_SHELL=$as_shell as_have_required=yes
204 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
205 break 2
208 done;;
209 esac
210 as_found=false
211 done
212 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
213 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
214 CONFIG_SHELL=$SHELL as_have_required=yes
215 fi; }
216 IFS=$as_save_IFS
219 if test "x$CONFIG_SHELL" != x; then :
220 # We cannot yet assume a decent shell, so we have to provide a
221 # neutralization value for shells without unset; and this also
222 # works around shells that cannot unset nonexistent variables.
223 BASH_ENV=/dev/null
224 ENV=/dev/null
225 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
226 export CONFIG_SHELL
227 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
230 if test x$as_have_required = xno; then :
231 $as_echo "$0: This script requires a shell more modern than all"
232 $as_echo "$0: the shells that I found on your system."
233 if test x${ZSH_VERSION+set} = xset ; then
234 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
235 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
236 else
237 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
238 $0: including any error possibly output before this
239 $0: message. Then install a modern shell, or manually run
240 $0: the script under such a shell if you do have one."
242 exit 1
246 SHELL=${CONFIG_SHELL-/bin/sh}
247 export SHELL
248 # Unset more variables known to interfere with behavior of common tools.
249 CLICOLOR_FORCE= GREP_OPTIONS=
250 unset CLICOLOR_FORCE GREP_OPTIONS
252 ## --------------------- ##
253 ## M4sh Shell Functions. ##
254 ## --------------------- ##
255 # as_fn_unset VAR
256 # ---------------
257 # Portably unset VAR.
258 as_fn_unset ()
260 { eval $1=; unset $1;}
262 as_unset=as_fn_unset
264 # as_fn_set_status STATUS
265 # -----------------------
266 # Set $? to STATUS, without forking.
267 as_fn_set_status ()
269 return $1
270 } # as_fn_set_status
272 # as_fn_exit STATUS
273 # -----------------
274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
275 as_fn_exit ()
277 set +e
278 as_fn_set_status $1
279 exit $1
280 } # as_fn_exit
282 # as_fn_mkdir_p
283 # -------------
284 # Create "$as_dir" as a directory, including parents if necessary.
285 as_fn_mkdir_p ()
288 case $as_dir in #(
289 -*) as_dir=./$as_dir;;
290 esac
291 test -d "$as_dir" || eval $as_mkdir_p || {
292 as_dirs=
293 while :; do
294 case $as_dir in #(
295 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
296 *) as_qdir=$as_dir;;
297 esac
298 as_dirs="'$as_qdir' $as_dirs"
299 as_dir=`$as_dirname -- "$as_dir" ||
300 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
301 X"$as_dir" : 'X\(//\)[^/]' \| \
302 X"$as_dir" : 'X\(//\)$' \| \
303 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
304 $as_echo X"$as_dir" |
305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
306 s//\1/
309 /^X\(\/\/\)[^/].*/{
310 s//\1/
313 /^X\(\/\/\)$/{
314 s//\1/
317 /^X\(\/\).*/{
318 s//\1/
321 s/.*/./; q'`
322 test -d "$as_dir" && break
323 done
324 test -z "$as_dirs" || eval "mkdir $as_dirs"
325 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
328 } # as_fn_mkdir_p
329 # as_fn_append VAR VALUE
330 # ----------------------
331 # Append the text in VALUE to the end of the definition contained in VAR. Take
332 # advantage of any shell optimizations that allow amortized linear growth over
333 # repeated appends, instead of the typical quadratic growth present in naive
334 # implementations.
335 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
336 eval 'as_fn_append ()
338 eval $1+=\$2
340 else
341 as_fn_append ()
343 eval $1=\$$1\$2
345 fi # as_fn_append
347 # as_fn_arith ARG...
348 # ------------------
349 # Perform arithmetic evaluation on the ARGs, and store the result in the
350 # global $as_val. Take advantage of shells that can avoid forks. The arguments
351 # must be portable across $(()) and expr.
352 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
353 eval 'as_fn_arith ()
355 as_val=$(( $* ))
357 else
358 as_fn_arith ()
360 as_val=`expr "$@" || test $? -eq 1`
362 fi # as_fn_arith
365 # as_fn_error ERROR [LINENO LOG_FD]
366 # ---------------------------------
367 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369 # script with status $?, using 1 if that was 0.
370 as_fn_error ()
372 as_status=$?; test $as_status -eq 0 && as_status=1
373 if test "$3"; then
374 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
375 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
377 $as_echo "$as_me: error: $1" >&2
378 as_fn_exit $as_status
379 } # as_fn_error
381 if expr a : '\(a\)' >/dev/null 2>&1 &&
382 test "X`expr 00001 : '.*\(...\)'`" = X001; then
383 as_expr=expr
384 else
385 as_expr=false
388 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
389 as_basename=basename
390 else
391 as_basename=false
394 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
395 as_dirname=dirname
396 else
397 as_dirname=false
400 as_me=`$as_basename -- "$0" ||
401 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
402 X"$0" : 'X\(//\)$' \| \
403 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
404 $as_echo X/"$0" |
405 sed '/^.*\/\([^/][^/]*\)\/*$/{
406 s//\1/
409 /^X\/\(\/\/\)$/{
410 s//\1/
413 /^X\/\(\/\).*/{
414 s//\1/
417 s/.*/./; q'`
419 # Avoid depending upon Character Ranges.
420 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
421 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
422 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
423 as_cr_digits='0123456789'
424 as_cr_alnum=$as_cr_Letters$as_cr_digits
427 as_lineno_1=$LINENO as_lineno_1a=$LINENO
428 as_lineno_2=$LINENO as_lineno_2a=$LINENO
429 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
430 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
431 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
432 sed -n '
434 /[$]LINENO/=
435 ' <$as_myself |
436 sed '
437 s/[$]LINENO.*/&-/
438 t lineno
440 :lineno
442 :loop
443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444 t loop
445 s/-\n.*//
446 ' >$as_me.lineno &&
447 chmod +x "$as_me.lineno" ||
448 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
450 # Don't try to exec as it changes $[0], causing all sort of problems
451 # (the dirname of $[0] is not the place where we might find the
452 # original and so on. Autoconf is especially sensitive to this).
453 . "./$as_me.lineno"
454 # Exit status is that of the last command.
455 exit
458 ECHO_C= ECHO_N= ECHO_T=
459 case `echo -n x` in #(((((
460 -n*)
461 case `echo 'xy\c'` in
462 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
463 xy) ECHO_C='\c';;
464 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
465 ECHO_T=' ';;
466 esac;;
468 ECHO_N='-n';;
469 esac
471 rm -f conf$$ conf$$.exe conf$$.file
472 if test -d conf$$.dir; then
473 rm -f conf$$.dir/conf$$.file
474 else
475 rm -f conf$$.dir
476 mkdir conf$$.dir 2>/dev/null
478 if (echo >conf$$.file) 2>/dev/null; then
479 if ln -s conf$$.file conf$$ 2>/dev/null; then
480 as_ln_s='ln -s'
481 # ... but there are two gotchas:
482 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484 # In both cases, we have to default to `cp -p'.
485 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
486 as_ln_s='cp -p'
487 elif ln conf$$.file conf$$ 2>/dev/null; then
488 as_ln_s=ln
489 else
490 as_ln_s='cp -p'
492 else
493 as_ln_s='cp -p'
495 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
496 rmdir conf$$.dir 2>/dev/null
498 if mkdir -p . 2>/dev/null; then
499 as_mkdir_p='mkdir -p "$as_dir"'
500 else
501 test -d ./-p && rmdir ./-p
502 as_mkdir_p=false
505 if test -x / >/dev/null 2>&1; then
506 as_test_x='test -x'
507 else
508 if ls -dL / >/dev/null 2>&1; then
509 as_ls_L_option=L
510 else
511 as_ls_L_option=
513 as_test_x='
514 eval sh -c '\''
515 if test -d "$1"; then
516 test -d "$1/.";
517 else
518 case $1 in #(
519 -*)set "./$1";;
520 esac;
521 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522 ???[sx]*):;;*)false;;esac;fi
523 '\'' sh
526 as_executable_p=$as_test_x
528 # Sed expression to map a string onto a valid CPP name.
529 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
531 # Sed expression to map a string onto a valid variable name.
532 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
534 SHELL=${CONFIG_SHELL-/bin/sh}
537 exec 7<&0 </dev/null 6>&1
539 # Name of the host.
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
545 # Initializations.
547 ac_default_prefix=/usr/local
548 ac_clean_files=
549 ac_config_libobj_dir=.
550 LIBOBJS=
551 cross_compiling=no
552 subdirs=
553 MFLAGS=
554 MAKEFLAGS=
556 # Identity of this package.
557 PACKAGE_NAME='package-unused'
558 PACKAGE_TARNAME='libstdc++'
559 PACKAGE_VERSION='version-unused'
560 PACKAGE_STRING='package-unused version-unused'
561 PACKAGE_BUGREPORT=''
562 PACKAGE_URL=''
564 ac_unique_file="src/shared/hashtable-aux.cc"
565 # Factoring default headers for most tests.
566 ac_includes_default="\
567 #include <stdio.h>
568 #ifdef HAVE_SYS_TYPES_H
569 # include <sys/types.h>
570 #endif
571 #ifdef HAVE_SYS_STAT_H
572 # include <sys/stat.h>
573 #endif
574 #ifdef STDC_HEADERS
575 # include <stdlib.h>
576 # include <stddef.h>
577 #else
578 # ifdef HAVE_STDLIB_H
579 # include <stdlib.h>
580 # endif
581 #endif
582 #ifdef HAVE_STRING_H
583 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
584 # include <memory.h>
585 # endif
586 # include <string.h>
587 #endif
588 #ifdef HAVE_STRINGS_H
589 # include <strings.h>
590 #endif
591 #ifdef HAVE_INTTYPES_H
592 # include <inttypes.h>
593 #endif
594 #ifdef HAVE_STDINT_H
595 # include <stdint.h>
596 #endif
597 #ifdef HAVE_UNISTD_H
598 # include <unistd.h>
599 #endif"
601 ac_subst_vars='am__EXEEXT_FALSE
602 am__EXEEXT_TRUE
603 LTLIBOBJS
604 LIBOBJS
605 WARN_FLAGS
606 OPTIMIZE_CXXFLAGS
607 TOPLEVEL_INCLUDES
608 GLIBCXX_INCLUDES
609 glibcxx_toolexeclibdir
610 glibcxx_toolexecdir
611 gxx_include_dir
612 glibcxx_prefixdir
613 CPU_OPT_BITS_RANDOM
614 CPU_OPT_EXT_RANDOM
615 ERROR_CONSTANTS_SRCDIR
616 OS_INC_SRCDIR
617 ABI_TWEAKS_SRCDIR
618 CPU_DEFINES_SRCDIR
619 ATOMIC_FLAGS
620 ATOMIC_WORD_SRCDIR
621 ATOMICITY_SRCDIR
622 BUILD_PDF_FALSE
623 BUILD_PDF_TRUE
624 PDFLATEX
625 DBLATEX
626 BUILD_MAN_FALSE
627 BUILD_MAN_TRUE
628 BUILD_HTML_FALSE
629 BUILD_HTML_TRUE
630 BUILD_XML_FALSE
631 BUILD_XML_TRUE
632 BUILD_EPUB_FALSE
633 BUILD_EPUB_TRUE
634 XSL_STYLE_DIR
635 XMLLINT
636 XSLTPROC
638 DOXYGEN
639 BUILD_INFO_FALSE
640 BUILD_INFO_TRUE
641 ENABLE_FILESYSTEM_TS_FALSE
642 ENABLE_FILESYSTEM_TS_TRUE
643 baseline_subdir_switch
644 baseline_dir
645 HWCAP_FLAGS
646 GLIBCXX_LDBL_COMPAT_FALSE
647 GLIBCXX_LDBL_COMPAT_TRUE
648 ENABLE_CXX11_ABI_FALSE
649 ENABLE_CXX11_ABI_TRUE
650 glibcxx_cxx98_abi
651 ENABLE_DUAL_ABI_FALSE
652 ENABLE_DUAL_ABI_TRUE
653 ENABLE_VISIBILITY_FALSE
654 ENABLE_VISIBILITY_TRUE
655 libtool_VERSION
656 ENABLE_SYMVERS_SUN_FALSE
657 ENABLE_SYMVERS_SUN_TRUE
658 ENABLE_SYMVERS_DARWIN_FALSE
659 ENABLE_SYMVERS_DARWIN_TRUE
660 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
661 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
662 ENABLE_SYMVERS_GNU_FALSE
663 ENABLE_SYMVERS_GNU_TRUE
664 ENABLE_SYMVERS_FALSE
665 ENABLE_SYMVERS_TRUE
666 port_specific_symbol_files
667 SYMVER_FILE
668 CXXFILT
669 LTLIBICONV
670 LIBICONV
671 OPT_LDFLAGS
672 SECTION_LDFLAGS
673 GLIBCXX_LIBS
674 ENABLE_VTABLE_VERIFY_FALSE
675 ENABLE_VTABLE_VERIFY_TRUE
676 VTV_CYGMIN_FALSE
677 VTV_CYGMIN_TRUE
678 VTV_CXXLINKFLAGS
679 VTV_PCH_CXXFLAGS
680 VTV_CXXFLAGS
681 ENABLE_WERROR_FALSE
682 ENABLE_WERROR_TRUE
683 ENABLE_PYTHONDIR_FALSE
684 ENABLE_PYTHONDIR_TRUE
685 python_mod_dir
686 ENABLE_EXTERN_TEMPLATE_FALSE
687 ENABLE_EXTERN_TEMPLATE_TRUE
688 EXTRA_CXX_FLAGS
689 GLIBCXX_BUILD_DEBUG_FALSE
690 GLIBCXX_BUILD_DEBUG_TRUE
691 DEBUG_FLAGS
692 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
693 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
694 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
695 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
696 GLIBCXX_C_HEADERS_C_STD_FALSE
697 GLIBCXX_C_HEADERS_C_STD_TRUE
698 GLIBCXX_C_HEADERS_C_FALSE
699 GLIBCXX_C_HEADERS_C_TRUE
700 C_INCLUDE_DIR
701 ALLOCATOR_NAME
702 ALLOCATOR_H
703 CLOCALE_INTERNAL_H
704 CLOCALE_CC
705 CTIME_CC
706 CTIME_H
707 CNUMERIC_CC
708 CMONEY_CC
709 CMESSAGES_CC
710 CCTYPE_CC
711 CCOLLATE_CC
712 CCODECVT_CC
713 CMESSAGES_H
714 CLOCALE_H
715 USE_NLS
716 glibcxx_localedir
717 glibcxx_POFILES
718 glibcxx_MOFILES
719 check_msgfmt
720 BASIC_FILE_CC
721 BASIC_FILE_H
722 CSTDIO_H
723 SECTION_FLAGS
724 WERROR
725 thread_header
726 glibcxx_PCHFLAGS
727 GLIBCXX_BUILD_PCH_FALSE
728 GLIBCXX_BUILD_PCH_TRUE
729 GLIBCXX_HOSTED_FALSE
730 GLIBCXX_HOSTED_TRUE
731 glibcxx_compiler_shared_flag
732 glibcxx_compiler_pic_flag
733 glibcxx_lt_pic_flag
734 enable_static
735 enable_shared
736 lt_host_flags
737 CXXCPP
738 OTOOL64
739 OTOOL
740 LIPO
741 NMEDIT
742 DSYMUTIL
743 OBJDUMP
745 ac_ct_DUMPBIN
746 DUMPBIN
748 FGREP
750 LIBTOOL
751 EGREP
752 GREP
754 MAINT
755 MAINTAINER_MODE_FALSE
756 MAINTAINER_MODE_TRUE
757 RANLIB
760 LN_S
761 toplevel_srcdir
762 toplevel_builddir
763 glibcxx_srcdir
764 glibcxx_builddir
765 ac_ct_CXX
766 CXXFLAGS
768 OBJEXT
769 EXEEXT
770 ac_ct_CC
771 CPPFLAGS
772 LDFLAGS
773 CFLAGS
775 am__untar
776 am__tar
777 AMTAR
778 am__leading_dot
779 SET_MAKE
781 mkdir_p
782 MKDIR_P
783 INSTALL_STRIP_PROGRAM
784 STRIP
785 install_sh
786 MAKEINFO
787 AUTOHEADER
788 AUTOMAKE
789 AUTOCONF
790 ACLOCAL
791 VERSION
792 PACKAGE
793 CYGPATH_W
794 am__isrc
795 INSTALL_DATA
796 INSTALL_SCRIPT
797 INSTALL_PROGRAM
798 target_os
799 target_vendor
800 target_cpu
801 target
802 host_os
803 host_vendor
804 host_cpu
805 host
806 build_os
807 build_vendor
808 build_cpu
809 build
810 multi_basedir
811 target_alias
812 host_alias
813 build_alias
814 LIBS
815 ECHO_T
816 ECHO_N
817 ECHO_C
818 DEFS
819 mandir
820 localedir
821 libdir
822 psdir
823 pdfdir
824 dvidir
825 htmldir
826 infodir
827 docdir
828 oldincludedir
829 includedir
830 localstatedir
831 sharedstatedir
832 sysconfdir
833 datadir
834 datarootdir
835 libexecdir
836 sbindir
837 bindir
838 program_transform_name
839 prefix
840 exec_prefix
841 PACKAGE_URL
842 PACKAGE_BUGREPORT
843 PACKAGE_STRING
844 PACKAGE_VERSION
845 PACKAGE_TARNAME
846 PACKAGE_NAME
847 PATH_SEPARATOR
848 SHELL'
849 ac_subst_files=''
850 ac_user_opts='
851 enable_option_checking
852 enable_multilib
853 with_target_subdir
854 with_cross_host
855 with_newlib
856 enable_maintainer_mode
857 enable_shared
858 enable_static
859 with_pic
860 enable_fast_install
861 with_gnu_ld
862 enable_libtool_lock
863 enable_hosted_libstdcxx
864 enable_libstdcxx_verbose
865 enable_libstdcxx_pch
866 enable_cstdio
867 enable_clocale
868 enable_nls
869 enable_libstdcxx_allocator
870 enable_cheaders
871 enable_long_long
872 enable_wchar_t
873 enable_c99
874 enable_concept_checks
875 enable_libstdcxx_debug_flags
876 enable_libstdcxx_debug
877 enable_cxx_flags
878 enable_fully_dynamic_string
879 enable_extern_template
880 with_python_dir
881 enable_werror
882 enable_vtable_verify
883 enable_libstdcxx_time
884 enable_tls
885 enable_rpath
886 with_libiconv_prefix
887 with_system_libunwind
888 enable_linux_futex
889 enable_symvers
890 enable_libstdcxx_visibility
891 enable_libstdcxx_dual_abi
892 with_default_libstdcxx_abi
893 enable_libstdcxx_threads
894 enable_libstdcxx_filesystem_ts
895 with_gxx_include_dir
896 enable_version_specific_runtime_libs
898 ac_precious_vars='build_alias
899 host_alias
900 target_alias
902 CFLAGS
903 LDFLAGS
904 LIBS
905 CPPFLAGS
907 CXXFLAGS
910 CXXCPP
911 CXXFILT'
914 # Initialize some variables set by options.
915 ac_init_help=
916 ac_init_version=false
917 ac_unrecognized_opts=
918 ac_unrecognized_sep=
919 # The variables have the same names as the options, with
920 # dashes changed to underlines.
921 cache_file=/dev/null
922 exec_prefix=NONE
923 no_create=
924 no_recursion=
925 prefix=NONE
926 program_prefix=NONE
927 program_suffix=NONE
928 program_transform_name=s,x,x,
929 silent=
930 site=
931 srcdir=
932 verbose=
933 x_includes=NONE
934 x_libraries=NONE
936 # Installation directory options.
937 # These are left unexpanded so users can "make install exec_prefix=/foo"
938 # and all the variables that are supposed to be based on exec_prefix
939 # by default will actually change.
940 # Use braces instead of parens because sh, perl, etc. also accept them.
941 # (The list follows the same order as the GNU Coding Standards.)
942 bindir='${exec_prefix}/bin'
943 sbindir='${exec_prefix}/sbin'
944 libexecdir='${exec_prefix}/libexec'
945 datarootdir='${prefix}/share'
946 datadir='${datarootdir}'
947 sysconfdir='${prefix}/etc'
948 sharedstatedir='${prefix}/com'
949 localstatedir='${prefix}/var'
950 includedir='${prefix}/include'
951 oldincludedir='/usr/include'
952 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
953 infodir='${datarootdir}/info'
954 htmldir='${docdir}'
955 dvidir='${docdir}'
956 pdfdir='${docdir}'
957 psdir='${docdir}'
958 libdir='${exec_prefix}/lib'
959 localedir='${datarootdir}/locale'
960 mandir='${datarootdir}/man'
962 ac_prev=
963 ac_dashdash=
964 for ac_option
966 # If the previous option needs an argument, assign it.
967 if test -n "$ac_prev"; then
968 eval $ac_prev=\$ac_option
969 ac_prev=
970 continue
973 case $ac_option in
974 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
975 *) ac_optarg=yes ;;
976 esac
978 # Accept the important Cygnus configure options, so we can diagnose typos.
980 case $ac_dashdash$ac_option in
982 ac_dashdash=yes ;;
984 -bindir | --bindir | --bindi | --bind | --bin | --bi)
985 ac_prev=bindir ;;
986 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
987 bindir=$ac_optarg ;;
989 -build | --build | --buil | --bui | --bu)
990 ac_prev=build_alias ;;
991 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
992 build_alias=$ac_optarg ;;
994 -cache-file | --cache-file | --cache-fil | --cache-fi \
995 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
996 ac_prev=cache_file ;;
997 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
998 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
999 cache_file=$ac_optarg ;;
1001 --config-cache | -C)
1002 cache_file=config.cache ;;
1004 -datadir | --datadir | --datadi | --datad)
1005 ac_prev=datadir ;;
1006 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1007 datadir=$ac_optarg ;;
1009 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1010 | --dataroo | --dataro | --datar)
1011 ac_prev=datarootdir ;;
1012 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1013 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1014 datarootdir=$ac_optarg ;;
1016 -disable-* | --disable-*)
1017 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1018 # Reject names that are not valid shell variable names.
1019 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1020 as_fn_error "invalid feature name: $ac_useropt"
1021 ac_useropt_orig=$ac_useropt
1022 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1023 case $ac_user_opts in
1025 "enable_$ac_useropt"
1026 "*) ;;
1027 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1028 ac_unrecognized_sep=', ';;
1029 esac
1030 eval enable_$ac_useropt=no ;;
1032 -docdir | --docdir | --docdi | --doc | --do)
1033 ac_prev=docdir ;;
1034 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1035 docdir=$ac_optarg ;;
1037 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1038 ac_prev=dvidir ;;
1039 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1040 dvidir=$ac_optarg ;;
1042 -enable-* | --enable-*)
1043 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1044 # Reject names that are not valid shell variable names.
1045 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1046 as_fn_error "invalid feature name: $ac_useropt"
1047 ac_useropt_orig=$ac_useropt
1048 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1049 case $ac_user_opts in
1051 "enable_$ac_useropt"
1052 "*) ;;
1053 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1054 ac_unrecognized_sep=', ';;
1055 esac
1056 eval enable_$ac_useropt=\$ac_optarg ;;
1058 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1059 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1060 | --exec | --exe | --ex)
1061 ac_prev=exec_prefix ;;
1062 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1063 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1064 | --exec=* | --exe=* | --ex=*)
1065 exec_prefix=$ac_optarg ;;
1067 -gas | --gas | --ga | --g)
1068 # Obsolete; use --with-gas.
1069 with_gas=yes ;;
1071 -help | --help | --hel | --he | -h)
1072 ac_init_help=long ;;
1073 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1074 ac_init_help=recursive ;;
1075 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1076 ac_init_help=short ;;
1078 -host | --host | --hos | --ho)
1079 ac_prev=host_alias ;;
1080 -host=* | --host=* | --hos=* | --ho=*)
1081 host_alias=$ac_optarg ;;
1083 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1084 ac_prev=htmldir ;;
1085 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1086 | --ht=*)
1087 htmldir=$ac_optarg ;;
1089 -includedir | --includedir | --includedi | --included | --include \
1090 | --includ | --inclu | --incl | --inc)
1091 ac_prev=includedir ;;
1092 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1093 | --includ=* | --inclu=* | --incl=* | --inc=*)
1094 includedir=$ac_optarg ;;
1096 -infodir | --infodir | --infodi | --infod | --info | --inf)
1097 ac_prev=infodir ;;
1098 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1099 infodir=$ac_optarg ;;
1101 -libdir | --libdir | --libdi | --libd)
1102 ac_prev=libdir ;;
1103 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1104 libdir=$ac_optarg ;;
1106 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1107 | --libexe | --libex | --libe)
1108 ac_prev=libexecdir ;;
1109 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1110 | --libexe=* | --libex=* | --libe=*)
1111 libexecdir=$ac_optarg ;;
1113 -localedir | --localedir | --localedi | --localed | --locale)
1114 ac_prev=localedir ;;
1115 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1116 localedir=$ac_optarg ;;
1118 -localstatedir | --localstatedir | --localstatedi | --localstated \
1119 | --localstate | --localstat | --localsta | --localst | --locals)
1120 ac_prev=localstatedir ;;
1121 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1122 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1123 localstatedir=$ac_optarg ;;
1125 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1126 ac_prev=mandir ;;
1127 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1128 mandir=$ac_optarg ;;
1130 -nfp | --nfp | --nf)
1131 # Obsolete; use --without-fp.
1132 with_fp=no ;;
1134 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1135 | --no-cr | --no-c | -n)
1136 no_create=yes ;;
1138 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1139 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1140 no_recursion=yes ;;
1142 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1143 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1144 | --oldin | --oldi | --old | --ol | --o)
1145 ac_prev=oldincludedir ;;
1146 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1147 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1148 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1149 oldincludedir=$ac_optarg ;;
1151 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1152 ac_prev=prefix ;;
1153 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1154 prefix=$ac_optarg ;;
1156 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1157 | --program-pre | --program-pr | --program-p)
1158 ac_prev=program_prefix ;;
1159 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1160 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1161 program_prefix=$ac_optarg ;;
1163 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1164 | --program-suf | --program-su | --program-s)
1165 ac_prev=program_suffix ;;
1166 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1167 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1168 program_suffix=$ac_optarg ;;
1170 -program-transform-name | --program-transform-name \
1171 | --program-transform-nam | --program-transform-na \
1172 | --program-transform-n | --program-transform- \
1173 | --program-transform | --program-transfor \
1174 | --program-transfo | --program-transf \
1175 | --program-trans | --program-tran \
1176 | --progr-tra | --program-tr | --program-t)
1177 ac_prev=program_transform_name ;;
1178 -program-transform-name=* | --program-transform-name=* \
1179 | --program-transform-nam=* | --program-transform-na=* \
1180 | --program-transform-n=* | --program-transform-=* \
1181 | --program-transform=* | --program-transfor=* \
1182 | --program-transfo=* | --program-transf=* \
1183 | --program-trans=* | --program-tran=* \
1184 | --progr-tra=* | --program-tr=* | --program-t=*)
1185 program_transform_name=$ac_optarg ;;
1187 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1188 ac_prev=pdfdir ;;
1189 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1190 pdfdir=$ac_optarg ;;
1192 -psdir | --psdir | --psdi | --psd | --ps)
1193 ac_prev=psdir ;;
1194 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1195 psdir=$ac_optarg ;;
1197 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1198 | -silent | --silent | --silen | --sile | --sil)
1199 silent=yes ;;
1201 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1202 ac_prev=sbindir ;;
1203 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1204 | --sbi=* | --sb=*)
1205 sbindir=$ac_optarg ;;
1207 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1208 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1209 | --sharedst | --shareds | --shared | --share | --shar \
1210 | --sha | --sh)
1211 ac_prev=sharedstatedir ;;
1212 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1213 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1214 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1215 | --sha=* | --sh=*)
1216 sharedstatedir=$ac_optarg ;;
1218 -site | --site | --sit)
1219 ac_prev=site ;;
1220 -site=* | --site=* | --sit=*)
1221 site=$ac_optarg ;;
1223 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1224 ac_prev=srcdir ;;
1225 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1226 srcdir=$ac_optarg ;;
1228 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1229 | --syscon | --sysco | --sysc | --sys | --sy)
1230 ac_prev=sysconfdir ;;
1231 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1232 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1233 sysconfdir=$ac_optarg ;;
1235 -target | --target | --targe | --targ | --tar | --ta | --t)
1236 ac_prev=target_alias ;;
1237 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1238 target_alias=$ac_optarg ;;
1240 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1241 verbose=yes ;;
1243 -version | --version | --versio | --versi | --vers | -V)
1244 ac_init_version=: ;;
1246 -with-* | --with-*)
1247 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1248 # Reject names that are not valid shell variable names.
1249 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1250 as_fn_error "invalid package name: $ac_useropt"
1251 ac_useropt_orig=$ac_useropt
1252 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1253 case $ac_user_opts in
1255 "with_$ac_useropt"
1256 "*) ;;
1257 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1258 ac_unrecognized_sep=', ';;
1259 esac
1260 eval with_$ac_useropt=\$ac_optarg ;;
1262 -without-* | --without-*)
1263 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1264 # Reject names that are not valid shell variable names.
1265 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1266 as_fn_error "invalid package name: $ac_useropt"
1267 ac_useropt_orig=$ac_useropt
1268 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1269 case $ac_user_opts in
1271 "with_$ac_useropt"
1272 "*) ;;
1273 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1274 ac_unrecognized_sep=', ';;
1275 esac
1276 eval with_$ac_useropt=no ;;
1278 --x)
1279 # Obsolete; use --with-x.
1280 with_x=yes ;;
1282 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1283 | --x-incl | --x-inc | --x-in | --x-i)
1284 ac_prev=x_includes ;;
1285 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1286 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1287 x_includes=$ac_optarg ;;
1289 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1290 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1291 ac_prev=x_libraries ;;
1292 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1293 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1294 x_libraries=$ac_optarg ;;
1296 -*) as_fn_error "unrecognized option: \`$ac_option'
1297 Try \`$0 --help' for more information."
1300 *=*)
1301 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1302 # Reject names that are not valid shell variable names.
1303 case $ac_envvar in #(
1304 '' | [0-9]* | *[!_$as_cr_alnum]* )
1305 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1306 esac
1307 eval $ac_envvar=\$ac_optarg
1308 export $ac_envvar ;;
1311 # FIXME: should be removed in autoconf 3.0.
1312 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1313 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1314 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1315 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1318 esac
1319 done
1321 if test -n "$ac_prev"; then
1322 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1323 as_fn_error "missing argument to $ac_option"
1326 if test -n "$ac_unrecognized_opts"; then
1327 case $enable_option_checking in
1328 no) ;;
1329 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1330 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1331 esac
1334 # Check all directory arguments for consistency.
1335 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1336 datadir sysconfdir sharedstatedir localstatedir includedir \
1337 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1338 libdir localedir mandir
1340 eval ac_val=\$$ac_var
1341 # Remove trailing slashes.
1342 case $ac_val in
1343 */ )
1344 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1345 eval $ac_var=\$ac_val;;
1346 esac
1347 # Be sure to have absolute directory names.
1348 case $ac_val in
1349 [\\/$]* | ?:[\\/]* ) continue;;
1350 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1351 esac
1352 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1353 done
1355 # There might be people who depend on the old broken behavior: `$host'
1356 # used to hold the argument of --host etc.
1357 # FIXME: To remove some day.
1358 build=$build_alias
1359 host=$host_alias
1360 target=$target_alias
1362 # FIXME: To remove some day.
1363 if test "x$host_alias" != x; then
1364 if test "x$build_alias" = x; then
1365 cross_compiling=maybe
1366 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1367 If a cross compiler is detected then cross compile mode will be used." >&2
1368 elif test "x$build_alias" != "x$host_alias"; then
1369 cross_compiling=yes
1373 ac_tool_prefix=
1374 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1376 test "$silent" = yes && exec 6>/dev/null
1379 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1380 ac_ls_di=`ls -di .` &&
1381 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1382 as_fn_error "working directory cannot be determined"
1383 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1384 as_fn_error "pwd does not report name of working directory"
1387 # Find the source files, if location was not specified.
1388 if test -z "$srcdir"; then
1389 ac_srcdir_defaulted=yes
1390 # Try the directory containing this script, then the parent directory.
1391 ac_confdir=`$as_dirname -- "$as_myself" ||
1392 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1393 X"$as_myself" : 'X\(//\)[^/]' \| \
1394 X"$as_myself" : 'X\(//\)$' \| \
1395 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1396 $as_echo X"$as_myself" |
1397 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1398 s//\1/
1401 /^X\(\/\/\)[^/].*/{
1402 s//\1/
1405 /^X\(\/\/\)$/{
1406 s//\1/
1409 /^X\(\/\).*/{
1410 s//\1/
1413 s/.*/./; q'`
1414 srcdir=$ac_confdir
1415 if test ! -r "$srcdir/$ac_unique_file"; then
1416 srcdir=..
1418 else
1419 ac_srcdir_defaulted=no
1421 if test ! -r "$srcdir/$ac_unique_file"; then
1422 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1423 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1425 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1426 ac_abs_confdir=`(
1427 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1428 pwd)`
1429 # When building in place, set srcdir=.
1430 if test "$ac_abs_confdir" = "$ac_pwd"; then
1431 srcdir=.
1433 # Remove unnecessary trailing slashes from srcdir.
1434 # Double slashes in file names in object file debugging info
1435 # mess up M-x gdb in Emacs.
1436 case $srcdir in
1437 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1438 esac
1439 for ac_var in $ac_precious_vars; do
1440 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1441 eval ac_env_${ac_var}_value=\$${ac_var}
1442 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1443 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1444 done
1447 # Report the --help message.
1449 if test "$ac_init_help" = "long"; then
1450 # Omit some internal or obsolete options to make the list less imposing.
1451 # This message is too long to be a string in the A/UX 3.1 sh.
1452 cat <<_ACEOF
1453 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1455 Usage: $0 [OPTION]... [VAR=VALUE]...
1457 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1458 VAR=VALUE. See below for descriptions of some of the useful variables.
1460 Defaults for the options are specified in brackets.
1462 Configuration:
1463 -h, --help display this help and exit
1464 --help=short display options specific to this package
1465 --help=recursive display the short help of all the included packages
1466 -V, --version display version information and exit
1467 -q, --quiet, --silent do not print \`checking...' messages
1468 --cache-file=FILE cache test results in FILE [disabled]
1469 -C, --config-cache alias for \`--cache-file=config.cache'
1470 -n, --no-create do not create output files
1471 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1473 Installation directories:
1474 --prefix=PREFIX install architecture-independent files in PREFIX
1475 [$ac_default_prefix]
1476 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1477 [PREFIX]
1479 By default, \`make install' will install all the files in
1480 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1481 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1482 for instance \`--prefix=\$HOME'.
1484 For better control, use the options below.
1486 Fine tuning of the installation directories:
1487 --bindir=DIR user executables [EPREFIX/bin]
1488 --sbindir=DIR system admin executables [EPREFIX/sbin]
1489 --libexecdir=DIR program executables [EPREFIX/libexec]
1490 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1491 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1492 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1493 --libdir=DIR object code libraries [EPREFIX/lib]
1494 --includedir=DIR C header files [PREFIX/include]
1495 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1496 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1497 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1498 --infodir=DIR info documentation [DATAROOTDIR/info]
1499 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1500 --mandir=DIR man documentation [DATAROOTDIR/man]
1501 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1502 --htmldir=DIR html documentation [DOCDIR]
1503 --dvidir=DIR dvi documentation [DOCDIR]
1504 --pdfdir=DIR pdf documentation [DOCDIR]
1505 --psdir=DIR ps documentation [DOCDIR]
1506 _ACEOF
1508 cat <<\_ACEOF
1510 Program names:
1511 --program-prefix=PREFIX prepend PREFIX to installed program names
1512 --program-suffix=SUFFIX append SUFFIX to installed program names
1513 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1515 System types:
1516 --build=BUILD configure for building on BUILD [guessed]
1517 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1518 --target=TARGET configure for building compilers for TARGET [HOST]
1519 _ACEOF
1522 if test -n "$ac_init_help"; then
1523 case $ac_init_help in
1524 short | recursive ) echo "Configuration of package-unused version-unused:";;
1525 esac
1526 cat <<\_ACEOF
1528 Optional Features:
1529 --disable-option-checking ignore unrecognized --enable/--with options
1530 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1531 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1532 --enable-multilib build many library versions (default)
1533 --enable-maintainer-mode enable make rules and dependencies not useful
1534 (and sometimes confusing) to the casual installer
1535 --enable-shared[=PKGS] build shared libraries [default=yes]
1536 --enable-static[=PKGS] build static libraries [default=yes]
1537 --enable-fast-install[=PKGS]
1538 optimize for fast installation [default=yes]
1539 --disable-libtool-lock avoid locking (might break parallel builds)
1540 --disable-hosted-libstdcxx
1541 only build freestanding C++ runtime support
1542 --disable-libstdcxx-verbose
1543 disable termination messages to standard error
1544 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1545 [default=$is_hosted]
1546 --enable-cstdio[=PACKAGE]
1547 use target-specific I/O package [default=stdio]
1548 --enable-clocale[=MODEL]
1549 use MODEL for target locale package [default=auto]
1550 --enable-nls use Native Language Support (default)
1551 --enable-libstdcxx-allocator[=KIND]
1552 use KIND for target std::allocator base
1553 [default=auto]
1554 --enable-cheaders[=KIND]
1555 construct "C" headers for g++ [default=$c_model]
1556 --enable-long-long enable template specializations for 'long long'
1557 [default=yes]
1558 --enable-wchar_t enable template specializations for 'wchar_t'
1559 [default=yes]
1560 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1561 --enable-concept-checks use Boost-derived template checks [default=no]
1562 --enable-libstdcxx-debug-flags=FLAGS
1563 pass compiler FLAGS when building debug library
1564 [default="-gdwarf-4 -g3 -O0"]
1565 --enable-libstdcxx-debug
1566 build extra debug library [default=no]
1567 --enable-cxx-flags=FLAGS
1568 pass compiler FLAGS when building library [default=]
1569 --enable-fully-dynamic-string
1570 do not put empty strings in per-process static
1571 memory [default=no]
1572 --enable-extern-template
1573 enable extern template [default=yes]
1574 --enable-werror turns on -Werror [default=yes]
1575 --enable-vtable-verify enable vtable verify [default=no]
1576 --enable-libstdcxx-time[=KIND]
1577 use KIND for check type [default=auto]
1578 --enable-tls Use thread-local storage [default=yes]
1579 --disable-rpath do not hardcode runtime library paths
1580 --enable-linux-futex use the Linux futex system call [default=default]
1581 --enable-symvers[=STYLE]
1582 enables symbol versioning of the shared library
1583 [default=yes]
1584 --enable-libstdcxx-visibility
1585 enables visibility safe usage [default=yes]
1586 --enable-libstdcxx-dual-abi
1587 support two versions of std::string [default=yes]
1588 --enable-libstdcxx-threads
1589 enable C++11 threads support [default=auto]
1590 --enable-libstdcxx-filesystem-ts
1591 turns on ISO/IEC TS 18822 support [default=auto]
1592 --enable-version-specific-runtime-libs
1593 Specify that runtime libraries should be installed
1594 in a compiler-specific directory
1596 Optional Packages:
1597 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1598 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1599 --with-target-subdir=SUBDIR
1600 configuring in a subdirectory
1601 --with-cross-host=HOST configuring with a cross compiler
1602 --with-newlib assume newlib as a system C library
1603 --with-pic try to use only PIC/non-PIC objects [default=use
1604 both]
1605 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1606 --with-python-dir the location to install Python modules. This path is
1607 relative starting from the prefix.
1608 --with-gnu-ld assume the C compiler uses GNU ld default=no
1609 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1610 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1611 --with-system-libunwind use installed libunwind
1612 --with-default-libstdcxx-abi
1613 set the std::string ABI to use by default
1614 --with-gxx-include-dir=DIR
1615 installation directory for include files
1617 Some influential environment variables:
1618 CC C compiler command
1619 CFLAGS C compiler flags
1620 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1621 nonstandard directory <lib dir>
1622 LIBS libraries to pass to the linker, e.g. -l<library>
1623 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1624 you have headers in a nonstandard directory <include dir>
1625 CXX C++ compiler command
1626 CXXFLAGS C++ compiler flags
1627 CPP C preprocessor
1628 CXXCPP C++ preprocessor
1629 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1630 `c++filt', `gc++filt' on PATH.
1632 Use these variables to override the choices made by `configure' or to help
1633 it to find libraries and programs with nonstandard names/locations.
1635 Report bugs to the package provider.
1636 _ACEOF
1637 ac_status=$?
1640 if test "$ac_init_help" = "recursive"; then
1641 # If there are subdirs, report their specific --help.
1642 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1643 test -d "$ac_dir" ||
1644 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1645 continue
1646 ac_builddir=.
1648 case "$ac_dir" in
1649 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1651 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1652 # A ".." for each directory in $ac_dir_suffix.
1653 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1654 case $ac_top_builddir_sub in
1655 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1656 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1657 esac ;;
1658 esac
1659 ac_abs_top_builddir=$ac_pwd
1660 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1661 # for backward compatibility:
1662 ac_top_builddir=$ac_top_build_prefix
1664 case $srcdir in
1665 .) # We are building in place.
1666 ac_srcdir=.
1667 ac_top_srcdir=$ac_top_builddir_sub
1668 ac_abs_top_srcdir=$ac_pwd ;;
1669 [\\/]* | ?:[\\/]* ) # Absolute name.
1670 ac_srcdir=$srcdir$ac_dir_suffix;
1671 ac_top_srcdir=$srcdir
1672 ac_abs_top_srcdir=$srcdir ;;
1673 *) # Relative name.
1674 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1675 ac_top_srcdir=$ac_top_build_prefix$srcdir
1676 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1677 esac
1678 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1680 cd "$ac_dir" || { ac_status=$?; continue; }
1681 # Check for guested configure.
1682 if test -f "$ac_srcdir/configure.gnu"; then
1683 echo &&
1684 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1685 elif test -f "$ac_srcdir/configure"; then
1686 echo &&
1687 $SHELL "$ac_srcdir/configure" --help=recursive
1688 else
1689 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1690 fi || ac_status=$?
1691 cd "$ac_pwd" || { ac_status=$?; break; }
1692 done
1695 test -n "$ac_init_help" && exit $ac_status
1696 if $ac_init_version; then
1697 cat <<\_ACEOF
1698 package-unused configure version-unused
1699 generated by GNU Autoconf 2.64
1701 Copyright (C) 2009 Free Software Foundation, Inc.
1702 This configure script is free software; the Free Software Foundation
1703 gives unlimited permission to copy, distribute and modify it.
1704 _ACEOF
1705 exit
1708 ## ------------------------ ##
1709 ## Autoconf initialization. ##
1710 ## ------------------------ ##
1712 # ac_fn_c_try_compile LINENO
1713 # --------------------------
1714 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1715 ac_fn_c_try_compile ()
1717 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1718 rm -f conftest.$ac_objext
1719 if { { ac_try="$ac_compile"
1720 case "(($ac_try" in
1721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1722 *) ac_try_echo=$ac_try;;
1723 esac
1724 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1725 $as_echo "$ac_try_echo"; } >&5
1726 (eval "$ac_compile") 2>conftest.err
1727 ac_status=$?
1728 if test -s conftest.err; then
1729 grep -v '^ *+' conftest.err >conftest.er1
1730 cat conftest.er1 >&5
1731 mv -f conftest.er1 conftest.err
1733 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1734 test $ac_status = 0; } && {
1735 test -z "$ac_c_werror_flag" ||
1736 test ! -s conftest.err
1737 } && test -s conftest.$ac_objext; then :
1738 ac_retval=0
1739 else
1740 $as_echo "$as_me: failed program was:" >&5
1741 sed 's/^/| /' conftest.$ac_ext >&5
1743 ac_retval=1
1745 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1746 return $ac_retval
1748 } # ac_fn_c_try_compile
1750 # ac_fn_cxx_try_compile LINENO
1751 # ----------------------------
1752 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1753 ac_fn_cxx_try_compile ()
1755 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1756 rm -f conftest.$ac_objext
1757 if { { ac_try="$ac_compile"
1758 case "(($ac_try" in
1759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1760 *) ac_try_echo=$ac_try;;
1761 esac
1762 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1763 $as_echo "$ac_try_echo"; } >&5
1764 (eval "$ac_compile") 2>conftest.err
1765 ac_status=$?
1766 if test -s conftest.err; then
1767 grep -v '^ *+' conftest.err >conftest.er1
1768 cat conftest.er1 >&5
1769 mv -f conftest.er1 conftest.err
1771 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1772 test $ac_status = 0; } && {
1773 test -z "$ac_cxx_werror_flag" ||
1774 test ! -s conftest.err
1775 } && test -s conftest.$ac_objext; then :
1776 ac_retval=0
1777 else
1778 $as_echo "$as_me: failed program was:" >&5
1779 sed 's/^/| /' conftest.$ac_ext >&5
1781 ac_retval=1
1783 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1784 return $ac_retval
1786 } # ac_fn_cxx_try_compile
1788 # ac_fn_c_try_cpp LINENO
1789 # ----------------------
1790 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1791 ac_fn_c_try_cpp ()
1793 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1794 if { { ac_try="$ac_cpp conftest.$ac_ext"
1795 case "(($ac_try" in
1796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1797 *) ac_try_echo=$ac_try;;
1798 esac
1799 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1800 $as_echo "$ac_try_echo"; } >&5
1801 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1802 ac_status=$?
1803 if test -s conftest.err; then
1804 grep -v '^ *+' conftest.err >conftest.er1
1805 cat conftest.er1 >&5
1806 mv -f conftest.er1 conftest.err
1808 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1809 test $ac_status = 0; } >/dev/null && {
1810 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1811 test ! -s conftest.err
1812 }; then :
1813 ac_retval=0
1814 else
1815 $as_echo "$as_me: failed program was:" >&5
1816 sed 's/^/| /' conftest.$ac_ext >&5
1818 ac_retval=1
1820 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1821 return $ac_retval
1823 } # ac_fn_c_try_cpp
1825 # ac_fn_c_try_link LINENO
1826 # -----------------------
1827 # Try to link conftest.$ac_ext, and return whether this succeeded.
1828 ac_fn_c_try_link ()
1830 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1831 rm -f conftest.$ac_objext conftest$ac_exeext
1832 if { { ac_try="$ac_link"
1833 case "(($ac_try" in
1834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1835 *) ac_try_echo=$ac_try;;
1836 esac
1837 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1838 $as_echo "$ac_try_echo"; } >&5
1839 (eval "$ac_link") 2>conftest.err
1840 ac_status=$?
1841 if test -s conftest.err; then
1842 grep -v '^ *+' conftest.err >conftest.er1
1843 cat conftest.er1 >&5
1844 mv -f conftest.er1 conftest.err
1846 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1847 test $ac_status = 0; } && {
1848 test -z "$ac_c_werror_flag" ||
1849 test ! -s conftest.err
1850 } && test -s conftest$ac_exeext && {
1851 test "$cross_compiling" = yes ||
1852 $as_test_x conftest$ac_exeext
1853 }; then :
1854 ac_retval=0
1855 else
1856 $as_echo "$as_me: failed program was:" >&5
1857 sed 's/^/| /' conftest.$ac_ext >&5
1859 ac_retval=1
1861 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1862 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1863 # interfere with the next link command; also delete a directory that is
1864 # left behind by Apple's compiler. We do this before executing the actions.
1865 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1866 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1867 return $ac_retval
1869 } # ac_fn_c_try_link
1871 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1872 # -------------------------------------------------------
1873 # Tests whether HEADER exists and can be compiled using the include files in
1874 # INCLUDES, setting the cache variable VAR accordingly.
1875 ac_fn_c_check_header_compile ()
1877 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1879 $as_echo_n "checking for $2... " >&6; }
1880 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1881 $as_echo_n "(cached) " >&6
1882 else
1883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1884 /* end confdefs.h. */
1886 #include <$2>
1887 _ACEOF
1888 if ac_fn_c_try_compile "$LINENO"; then :
1889 eval "$3=yes"
1890 else
1891 eval "$3=no"
1893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1895 eval ac_res=\$$3
1896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1897 $as_echo "$ac_res" >&6; }
1898 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1900 } # ac_fn_c_check_header_compile
1902 # ac_fn_c_try_run LINENO
1903 # ----------------------
1904 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1905 # that executables *can* be run.
1906 ac_fn_c_try_run ()
1908 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1909 if { { ac_try="$ac_link"
1910 case "(($ac_try" in
1911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1912 *) ac_try_echo=$ac_try;;
1913 esac
1914 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1915 $as_echo "$ac_try_echo"; } >&5
1916 (eval "$ac_link") 2>&5
1917 ac_status=$?
1918 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1919 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1920 { { case "(($ac_try" in
1921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1922 *) ac_try_echo=$ac_try;;
1923 esac
1924 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1925 $as_echo "$ac_try_echo"; } >&5
1926 (eval "$ac_try") 2>&5
1927 ac_status=$?
1928 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1929 test $ac_status = 0; }; }; then :
1930 ac_retval=0
1931 else
1932 $as_echo "$as_me: program exited with status $ac_status" >&5
1933 $as_echo "$as_me: failed program was:" >&5
1934 sed 's/^/| /' conftest.$ac_ext >&5
1936 ac_retval=$ac_status
1938 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1939 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1940 return $ac_retval
1942 } # ac_fn_c_try_run
1944 # ac_fn_c_check_func LINENO FUNC VAR
1945 # ----------------------------------
1946 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1947 ac_fn_c_check_func ()
1949 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1951 $as_echo_n "checking for $2... " >&6; }
1952 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1953 $as_echo_n "(cached) " >&6
1954 else
1955 if test x$gcc_no_link = xyes; then
1956 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1959 /* end confdefs.h. */
1960 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1961 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1962 #define $2 innocuous_$2
1964 /* System header to define __stub macros and hopefully few prototypes,
1965 which can conflict with char $2 (); below.
1966 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1967 <limits.h> exists even on freestanding compilers. */
1969 #ifdef __STDC__
1970 # include <limits.h>
1971 #else
1972 # include <assert.h>
1973 #endif
1975 #undef $2
1977 /* Override any GCC internal prototype to avoid an error.
1978 Use char because int might match the return type of a GCC
1979 builtin and then its argument prototype would still apply. */
1980 #ifdef __cplusplus
1981 extern "C"
1982 #endif
1983 char $2 ();
1984 /* The GNU C library defines this for functions which it implements
1985 to always fail with ENOSYS. Some functions are actually named
1986 something starting with __ and the normal name is an alias. */
1987 #if defined __stub_$2 || defined __stub___$2
1988 choke me
1989 #endif
1992 main ()
1994 return $2 ();
1996 return 0;
1998 _ACEOF
1999 if ac_fn_c_try_link "$LINENO"; then :
2000 eval "$3=yes"
2001 else
2002 eval "$3=no"
2004 rm -f core conftest.err conftest.$ac_objext \
2005 conftest$ac_exeext conftest.$ac_ext
2007 eval ac_res=\$$3
2008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2009 $as_echo "$ac_res" >&6; }
2010 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2012 } # ac_fn_c_check_func
2014 # ac_fn_cxx_try_cpp LINENO
2015 # ------------------------
2016 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2017 ac_fn_cxx_try_cpp ()
2019 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2020 if { { ac_try="$ac_cpp conftest.$ac_ext"
2021 case "(($ac_try" in
2022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2023 *) ac_try_echo=$ac_try;;
2024 esac
2025 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2026 $as_echo "$ac_try_echo"; } >&5
2027 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2028 ac_status=$?
2029 if test -s conftest.err; then
2030 grep -v '^ *+' conftest.err >conftest.er1
2031 cat conftest.er1 >&5
2032 mv -f conftest.er1 conftest.err
2034 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2035 test $ac_status = 0; } >/dev/null && {
2036 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2037 test ! -s conftest.err
2038 }; then :
2039 ac_retval=0
2040 else
2041 $as_echo "$as_me: failed program was:" >&5
2042 sed 's/^/| /' conftest.$ac_ext >&5
2044 ac_retval=1
2046 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2047 return $ac_retval
2049 } # ac_fn_cxx_try_cpp
2051 # ac_fn_cxx_try_link LINENO
2052 # -------------------------
2053 # Try to link conftest.$ac_ext, and return whether this succeeded.
2054 ac_fn_cxx_try_link ()
2056 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2057 rm -f conftest.$ac_objext conftest$ac_exeext
2058 if { { ac_try="$ac_link"
2059 case "(($ac_try" in
2060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2061 *) ac_try_echo=$ac_try;;
2062 esac
2063 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2064 $as_echo "$ac_try_echo"; } >&5
2065 (eval "$ac_link") 2>conftest.err
2066 ac_status=$?
2067 if test -s conftest.err; then
2068 grep -v '^ *+' conftest.err >conftest.er1
2069 cat conftest.er1 >&5
2070 mv -f conftest.er1 conftest.err
2072 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2073 test $ac_status = 0; } && {
2074 test -z "$ac_cxx_werror_flag" ||
2075 test ! -s conftest.err
2076 } && test -s conftest$ac_exeext && {
2077 test "$cross_compiling" = yes ||
2078 $as_test_x conftest$ac_exeext
2079 }; then :
2080 ac_retval=0
2081 else
2082 $as_echo "$as_me: failed program was:" >&5
2083 sed 's/^/| /' conftest.$ac_ext >&5
2085 ac_retval=1
2087 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2088 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2089 # interfere with the next link command; also delete a directory that is
2090 # left behind by Apple's compiler. We do this before executing the actions.
2091 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2092 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2093 return $ac_retval
2095 } # ac_fn_cxx_try_link
2097 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2098 # -------------------------------------------------------
2099 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2100 # the include files in INCLUDES and setting the cache variable VAR
2101 # accordingly.
2102 ac_fn_c_check_header_mongrel ()
2104 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2105 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2107 $as_echo_n "checking for $2... " >&6; }
2108 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2109 $as_echo_n "(cached) " >&6
2111 eval ac_res=\$$3
2112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2113 $as_echo "$ac_res" >&6; }
2114 else
2115 # Is the header compilable?
2116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2117 $as_echo_n "checking $2 usability... " >&6; }
2118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2119 /* end confdefs.h. */
2121 #include <$2>
2122 _ACEOF
2123 if ac_fn_c_try_compile "$LINENO"; then :
2124 ac_header_compiler=yes
2125 else
2126 ac_header_compiler=no
2128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2130 $as_echo "$ac_header_compiler" >&6; }
2132 # Is the header present?
2133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2134 $as_echo_n "checking $2 presence... " >&6; }
2135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2136 /* end confdefs.h. */
2137 #include <$2>
2138 _ACEOF
2139 if ac_fn_c_try_cpp "$LINENO"; then :
2140 ac_header_preproc=yes
2141 else
2142 ac_header_preproc=no
2144 rm -f conftest.err conftest.$ac_ext
2145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2146 $as_echo "$ac_header_preproc" >&6; }
2148 # So? What about this header?
2149 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2150 yes:no: )
2151 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2152 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2153 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2154 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2156 no:yes:* )
2157 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2158 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2159 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2160 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2161 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2162 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2163 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2164 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2165 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2166 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2168 esac
2169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2170 $as_echo_n "checking for $2... " >&6; }
2171 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2172 $as_echo_n "(cached) " >&6
2173 else
2174 eval "$3=\$ac_header_compiler"
2176 eval ac_res=\$$3
2177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2178 $as_echo "$ac_res" >&6; }
2180 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2182 } # ac_fn_c_check_header_mongrel
2184 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2185 # ---------------------------------------------------------
2186 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2187 # the include files in INCLUDES and setting the cache variable VAR
2188 # accordingly.
2189 ac_fn_cxx_check_header_mongrel ()
2191 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2192 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2194 $as_echo_n "checking for $2... " >&6; }
2195 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2196 $as_echo_n "(cached) " >&6
2198 eval ac_res=\$$3
2199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2200 $as_echo "$ac_res" >&6; }
2201 else
2202 # Is the header compilable?
2203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2204 $as_echo_n "checking $2 usability... " >&6; }
2205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2206 /* end confdefs.h. */
2208 #include <$2>
2209 _ACEOF
2210 if ac_fn_cxx_try_compile "$LINENO"; then :
2211 ac_header_compiler=yes
2212 else
2213 ac_header_compiler=no
2215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2217 $as_echo "$ac_header_compiler" >&6; }
2219 # Is the header present?
2220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2221 $as_echo_n "checking $2 presence... " >&6; }
2222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2223 /* end confdefs.h. */
2224 #include <$2>
2225 _ACEOF
2226 if ac_fn_cxx_try_cpp "$LINENO"; then :
2227 ac_header_preproc=yes
2228 else
2229 ac_header_preproc=no
2231 rm -f conftest.err conftest.$ac_ext
2232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2233 $as_echo "$ac_header_preproc" >&6; }
2235 # So? What about this header?
2236 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2237 yes:no: )
2238 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2239 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2240 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2241 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2243 no:yes:* )
2244 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2245 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2246 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2247 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2248 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2249 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2250 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2251 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2252 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2253 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2255 esac
2256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2257 $as_echo_n "checking for $2... " >&6; }
2258 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2259 $as_echo_n "(cached) " >&6
2260 else
2261 eval "$3=\$ac_header_compiler"
2263 eval ac_res=\$$3
2264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2265 $as_echo "$ac_res" >&6; }
2267 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2269 } # ac_fn_cxx_check_header_mongrel
2271 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2272 # --------------------------------------------
2273 # Tries to find the compile-time value of EXPR in a program that includes
2274 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2275 # computed
2276 ac_fn_c_compute_int ()
2278 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2279 if test "$cross_compiling" = yes; then
2280 # Depending upon the size, compute the lo and hi bounds.
2281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2282 /* end confdefs.h. */
2285 main ()
2287 static int test_array [1 - 2 * !(($2) >= 0)];
2288 test_array [0] = 0
2291 return 0;
2293 _ACEOF
2294 if ac_fn_c_try_compile "$LINENO"; then :
2295 ac_lo=0 ac_mid=0
2296 while :; do
2297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2298 /* end confdefs.h. */
2301 main ()
2303 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2304 test_array [0] = 0
2307 return 0;
2309 _ACEOF
2310 if ac_fn_c_try_compile "$LINENO"; then :
2311 ac_hi=$ac_mid; break
2312 else
2313 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2314 if test $ac_lo -le $ac_mid; then
2315 ac_lo= ac_hi=
2316 break
2318 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2321 done
2322 else
2323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2324 /* end confdefs.h. */
2327 main ()
2329 static int test_array [1 - 2 * !(($2) < 0)];
2330 test_array [0] = 0
2333 return 0;
2335 _ACEOF
2336 if ac_fn_c_try_compile "$LINENO"; then :
2337 ac_hi=-1 ac_mid=-1
2338 while :; do
2339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2340 /* end confdefs.h. */
2343 main ()
2345 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2346 test_array [0] = 0
2349 return 0;
2351 _ACEOF
2352 if ac_fn_c_try_compile "$LINENO"; then :
2353 ac_lo=$ac_mid; break
2354 else
2355 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2356 if test $ac_mid -le $ac_hi; then
2357 ac_lo= ac_hi=
2358 break
2360 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2363 done
2364 else
2365 ac_lo= ac_hi=
2367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2370 # Binary search between lo and hi bounds.
2371 while test "x$ac_lo" != "x$ac_hi"; do
2372 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2374 /* end confdefs.h. */
2377 main ()
2379 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2380 test_array [0] = 0
2383 return 0;
2385 _ACEOF
2386 if ac_fn_c_try_compile "$LINENO"; then :
2387 ac_hi=$ac_mid
2388 else
2389 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2392 done
2393 case $ac_lo in #((
2394 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2395 '') ac_retval=1 ;;
2396 esac
2397 else
2398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2399 /* end confdefs.h. */
2401 static long int longval () { return $2; }
2402 static unsigned long int ulongval () { return $2; }
2403 #include <stdio.h>
2404 #include <stdlib.h>
2406 main ()
2409 FILE *f = fopen ("conftest.val", "w");
2410 if (! f)
2411 return 1;
2412 if (($2) < 0)
2414 long int i = longval ();
2415 if (i != ($2))
2416 return 1;
2417 fprintf (f, "%ld", i);
2419 else
2421 unsigned long int i = ulongval ();
2422 if (i != ($2))
2423 return 1;
2424 fprintf (f, "%lu", i);
2426 /* Do not output a trailing newline, as this causes \r\n confusion
2427 on some platforms. */
2428 return ferror (f) || fclose (f) != 0;
2431 return 0;
2433 _ACEOF
2434 if ac_fn_c_try_run "$LINENO"; then :
2435 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2436 else
2437 ac_retval=1
2439 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2440 conftest.$ac_objext conftest.beam conftest.$ac_ext
2441 rm -f conftest.val
2444 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2445 return $ac_retval
2447 } # ac_fn_c_compute_int
2449 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2450 # -------------------------------------------
2451 # Tests whether TYPE exists after having included INCLUDES, setting cache
2452 # variable VAR accordingly.
2453 ac_fn_c_check_type ()
2455 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2457 $as_echo_n "checking for $2... " >&6; }
2458 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2459 $as_echo_n "(cached) " >&6
2460 else
2461 eval "$3=no"
2462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2463 /* end confdefs.h. */
2466 main ()
2468 if (sizeof ($2))
2469 return 0;
2471 return 0;
2473 _ACEOF
2474 if ac_fn_c_try_compile "$LINENO"; then :
2475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2476 /* end confdefs.h. */
2479 main ()
2481 if (sizeof (($2)))
2482 return 0;
2484 return 0;
2486 _ACEOF
2487 if ac_fn_c_try_compile "$LINENO"; then :
2489 else
2490 eval "$3=yes"
2492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2496 eval ac_res=\$$3
2497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2498 $as_echo "$ac_res" >&6; }
2499 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2501 } # ac_fn_c_check_type
2503 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2504 # ---------------------------------------------
2505 # Tests whether TYPE exists after having included INCLUDES, setting cache
2506 # variable VAR accordingly.
2507 ac_fn_cxx_check_type ()
2509 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2511 $as_echo_n "checking for $2... " >&6; }
2512 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2513 $as_echo_n "(cached) " >&6
2514 else
2515 eval "$3=no"
2516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2517 /* end confdefs.h. */
2520 main ()
2522 if (sizeof ($2))
2523 return 0;
2525 return 0;
2527 _ACEOF
2528 if ac_fn_cxx_try_compile "$LINENO"; then :
2529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2530 /* end confdefs.h. */
2533 main ()
2535 if (sizeof (($2)))
2536 return 0;
2538 return 0;
2540 _ACEOF
2541 if ac_fn_cxx_try_compile "$LINENO"; then :
2543 else
2544 eval "$3=yes"
2546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2550 eval ac_res=\$$3
2551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2552 $as_echo "$ac_res" >&6; }
2553 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2555 } # ac_fn_cxx_check_type
2556 cat >config.log <<_ACEOF
2557 This file contains any messages produced by compilers while
2558 running configure, to aid debugging if configure makes a mistake.
2560 It was created by package-unused $as_me version-unused, which was
2561 generated by GNU Autoconf 2.64. Invocation command line was
2563 $ $0 $@
2565 _ACEOF
2566 exec 5>>config.log
2568 cat <<_ASUNAME
2569 ## --------- ##
2570 ## Platform. ##
2571 ## --------- ##
2573 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2574 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2575 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2576 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2577 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2579 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2580 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2582 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2583 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2584 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2585 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2586 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2587 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2588 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2590 _ASUNAME
2592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2593 for as_dir in $PATH
2595 IFS=$as_save_IFS
2596 test -z "$as_dir" && as_dir=.
2597 $as_echo "PATH: $as_dir"
2598 done
2599 IFS=$as_save_IFS
2601 } >&5
2603 cat >&5 <<_ACEOF
2606 ## ----------- ##
2607 ## Core tests. ##
2608 ## ----------- ##
2610 _ACEOF
2613 # Keep a trace of the command line.
2614 # Strip out --no-create and --no-recursion so they do not pile up.
2615 # Strip out --silent because we don't want to record it for future runs.
2616 # Also quote any args containing shell meta-characters.
2617 # Make two passes to allow for proper duplicate-argument suppression.
2618 ac_configure_args=
2619 ac_configure_args0=
2620 ac_configure_args1=
2621 ac_must_keep_next=false
2622 for ac_pass in 1 2
2624 for ac_arg
2626 case $ac_arg in
2627 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2628 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2629 | -silent | --silent | --silen | --sile | --sil)
2630 continue ;;
2631 *\'*)
2632 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2633 esac
2634 case $ac_pass in
2635 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2637 as_fn_append ac_configure_args1 " '$ac_arg'"
2638 if test $ac_must_keep_next = true; then
2639 ac_must_keep_next=false # Got value, back to normal.
2640 else
2641 case $ac_arg in
2642 *=* | --config-cache | -C | -disable-* | --disable-* \
2643 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2644 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2645 | -with-* | --with-* | -without-* | --without-* | --x)
2646 case "$ac_configure_args0 " in
2647 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2648 esac
2650 -* ) ac_must_keep_next=true ;;
2651 esac
2653 as_fn_append ac_configure_args " '$ac_arg'"
2655 esac
2656 done
2657 done
2658 { ac_configure_args0=; unset ac_configure_args0;}
2659 { ac_configure_args1=; unset ac_configure_args1;}
2661 # When interrupted or exit'd, cleanup temporary files, and complete
2662 # config.log. We remove comments because anyway the quotes in there
2663 # would cause problems or look ugly.
2664 # WARNING: Use '\'' to represent an apostrophe within the trap.
2665 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2666 trap 'exit_status=$?
2667 # Save into config.log some information that might help in debugging.
2669 echo
2671 cat <<\_ASBOX
2672 ## ---------------- ##
2673 ## Cache variables. ##
2674 ## ---------------- ##
2675 _ASBOX
2676 echo
2677 # The following way of writing the cache mishandles newlines in values,
2679 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2680 eval ac_val=\$$ac_var
2681 case $ac_val in #(
2682 *${as_nl}*)
2683 case $ac_var in #(
2684 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2685 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2686 esac
2687 case $ac_var in #(
2688 _ | IFS | as_nl) ;; #(
2689 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2690 *) { eval $ac_var=; unset $ac_var;} ;;
2691 esac ;;
2692 esac
2693 done
2694 (set) 2>&1 |
2695 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2696 *${as_nl}ac_space=\ *)
2697 sed -n \
2698 "s/'\''/'\''\\\\'\'''\''/g;
2699 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2700 ;; #(
2702 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2704 esac |
2705 sort
2707 echo
2709 cat <<\_ASBOX
2710 ## ----------------- ##
2711 ## Output variables. ##
2712 ## ----------------- ##
2713 _ASBOX
2714 echo
2715 for ac_var in $ac_subst_vars
2717 eval ac_val=\$$ac_var
2718 case $ac_val in
2719 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2720 esac
2721 $as_echo "$ac_var='\''$ac_val'\''"
2722 done | sort
2723 echo
2725 if test -n "$ac_subst_files"; then
2726 cat <<\_ASBOX
2727 ## ------------------- ##
2728 ## File substitutions. ##
2729 ## ------------------- ##
2730 _ASBOX
2731 echo
2732 for ac_var in $ac_subst_files
2734 eval ac_val=\$$ac_var
2735 case $ac_val in
2736 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2737 esac
2738 $as_echo "$ac_var='\''$ac_val'\''"
2739 done | sort
2740 echo
2743 if test -s confdefs.h; then
2744 cat <<\_ASBOX
2745 ## ----------- ##
2746 ## confdefs.h. ##
2747 ## ----------- ##
2748 _ASBOX
2749 echo
2750 cat confdefs.h
2751 echo
2753 test "$ac_signal" != 0 &&
2754 $as_echo "$as_me: caught signal $ac_signal"
2755 $as_echo "$as_me: exit $exit_status"
2756 } >&5
2757 rm -f core *.core core.conftest.* &&
2758 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2759 exit $exit_status
2761 for ac_signal in 1 2 13 15; do
2762 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2763 done
2764 ac_signal=0
2766 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2767 rm -f -r conftest* confdefs.h
2769 $as_echo "/* confdefs.h */" > confdefs.h
2771 # Predefined preprocessor variables.
2773 cat >>confdefs.h <<_ACEOF
2774 #define PACKAGE_NAME "$PACKAGE_NAME"
2775 _ACEOF
2777 cat >>confdefs.h <<_ACEOF
2778 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2779 _ACEOF
2781 cat >>confdefs.h <<_ACEOF
2782 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2783 _ACEOF
2785 cat >>confdefs.h <<_ACEOF
2786 #define PACKAGE_STRING "$PACKAGE_STRING"
2787 _ACEOF
2789 cat >>confdefs.h <<_ACEOF
2790 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2791 _ACEOF
2793 cat >>confdefs.h <<_ACEOF
2794 #define PACKAGE_URL "$PACKAGE_URL"
2795 _ACEOF
2798 # Let the site file select an alternate cache file if it wants to.
2799 # Prefer an explicitly selected file to automatically selected ones.
2800 ac_site_file1=NONE
2801 ac_site_file2=NONE
2802 if test -n "$CONFIG_SITE"; then
2803 ac_site_file1=$CONFIG_SITE
2804 elif test "x$prefix" != xNONE; then
2805 ac_site_file1=$prefix/share/config.site
2806 ac_site_file2=$prefix/etc/config.site
2807 else
2808 ac_site_file1=$ac_default_prefix/share/config.site
2809 ac_site_file2=$ac_default_prefix/etc/config.site
2811 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2813 test "x$ac_site_file" = xNONE && continue
2814 if test -r "$ac_site_file"; then
2815 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2816 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2817 sed 's/^/| /' "$ac_site_file" >&5
2818 . "$ac_site_file"
2820 done
2822 if test -r "$cache_file"; then
2823 # Some versions of bash will fail to source /dev/null (special
2824 # files actually), so we avoid doing that.
2825 if test -f "$cache_file"; then
2826 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2827 $as_echo "$as_me: loading cache $cache_file" >&6;}
2828 case $cache_file in
2829 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2830 *) . "./$cache_file";;
2831 esac
2833 else
2834 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2835 $as_echo "$as_me: creating cache $cache_file" >&6;}
2836 >$cache_file
2839 # Check that the precious variables saved in the cache have kept the same
2840 # value.
2841 ac_cache_corrupted=false
2842 for ac_var in $ac_precious_vars; do
2843 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2844 eval ac_new_set=\$ac_env_${ac_var}_set
2845 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2846 eval ac_new_val=\$ac_env_${ac_var}_value
2847 case $ac_old_set,$ac_new_set in
2848 set,)
2849 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2850 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2851 ac_cache_corrupted=: ;;
2852 ,set)
2853 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2854 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2855 ac_cache_corrupted=: ;;
2856 ,);;
2858 if test "x$ac_old_val" != "x$ac_new_val"; then
2859 # differences in whitespace do not lead to failure.
2860 ac_old_val_w=`echo x $ac_old_val`
2861 ac_new_val_w=`echo x $ac_new_val`
2862 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2863 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2864 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2865 ac_cache_corrupted=:
2866 else
2867 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2868 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2869 eval $ac_var=\$ac_old_val
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2872 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2873 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2874 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2875 fi;;
2876 esac
2877 # Pass precious variables to config.status.
2878 if test "$ac_new_set" = set; then
2879 case $ac_new_val in
2880 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2881 *) ac_arg=$ac_var=$ac_new_val ;;
2882 esac
2883 case " $ac_configure_args " in
2884 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2885 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2886 esac
2888 done
2889 if $ac_cache_corrupted; then
2890 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2891 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2892 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2893 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2894 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2896 ## -------------------- ##
2897 ## Main body of script. ##
2898 ## -------------------- ##
2900 ac_ext=c
2901 ac_cpp='$CPP $CPPFLAGS'
2902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2911 ac_config_headers="$ac_config_headers config.h"
2914 # This works around the fact that libtool configuration may change LD
2915 # for this particular configuration, but some shells, instead of
2916 # keeping the changes in LD private, export them just because LD is
2917 # exported. Only used at the end of this file.
2918 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2920 # Find the rest of the source tree framework.
2921 # Default to --enable-multilib
2922 # Check whether --enable-multilib was given.
2923 if test "${enable_multilib+set}" = set; then :
2924 enableval=$enable_multilib; case "$enableval" in
2925 yes) multilib=yes ;;
2926 no) multilib=no ;;
2927 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2928 esac
2929 else
2930 multilib=yes
2934 # We may get other options which we leave undocumented:
2935 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2936 # See config-ml.in if you want the gory details.
2938 if test "$srcdir" = "."; then
2939 if test "$with_target_subdir" != "."; then
2940 multi_basedir="$srcdir/$with_multisrctop../.."
2941 else
2942 multi_basedir="$srcdir/$with_multisrctop.."
2944 else
2945 multi_basedir="$srcdir/.."
2949 # Even if the default multilib is not a cross compilation,
2950 # it may be that some of the other multilibs are.
2951 if test $cross_compiling = no && test $multilib = yes \
2952 && test "x${with_multisubdir}" != x ; then
2953 cross_compiling=maybe
2956 ac_config_commands="$ac_config_commands default-1"
2959 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2961 # You will slowly go insane if you do not grok the following fact: when
2962 # building v3 as part of the compiler, the top-level /target/ becomes the
2963 # library's /host/. configure then causes --target to default to --host,
2964 # exactly like any other package using autoconf. Therefore, 'target' and
2965 # 'host' will always be the same. This makes sense both for native and
2966 # cross compilers, just think about it for a little while. :-)
2968 # Also, if v3 is being configured as part of a cross compiler, the top-level
2969 # configure script will pass the "real" host as $with_cross_host.
2971 # Do not delete or change the following two lines. For why, see
2972 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2973 ac_aux_dir=
2974 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2975 for ac_t in install-sh install.sh shtool; do
2976 if test -f "$ac_dir/$ac_t"; then
2977 ac_aux_dir=$ac_dir
2978 ac_install_sh="$ac_aux_dir/$ac_t -c"
2979 break 2
2981 done
2982 done
2983 if test -z "$ac_aux_dir"; then
2984 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2987 # These three variables are undocumented and unsupported,
2988 # and are intended to be withdrawn in a future Autoconf release.
2989 # They can cause serious problems if a builder's source tree is in a directory
2990 # whose full name contains unusual characters.
2991 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2992 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2993 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2996 # Make sure we can run config.sub.
2997 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2998 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3001 $as_echo_n "checking build system type... " >&6; }
3002 if test "${ac_cv_build+set}" = set; then :
3003 $as_echo_n "(cached) " >&6
3004 else
3005 ac_build_alias=$build_alias
3006 test "x$ac_build_alias" = x &&
3007 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3008 test "x$ac_build_alias" = x &&
3009 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
3010 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3011 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3015 $as_echo "$ac_cv_build" >&6; }
3016 case $ac_cv_build in
3017 *-*-*) ;;
3018 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
3019 esac
3020 build=$ac_cv_build
3021 ac_save_IFS=$IFS; IFS='-'
3022 set x $ac_cv_build
3023 shift
3024 build_cpu=$1
3025 build_vendor=$2
3026 shift; shift
3027 # Remember, the first character of IFS is used to create $*,
3028 # except with old shells:
3029 build_os=$*
3030 IFS=$ac_save_IFS
3031 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3035 $as_echo_n "checking host system type... " >&6; }
3036 if test "${ac_cv_host+set}" = set; then :
3037 $as_echo_n "(cached) " >&6
3038 else
3039 if test "x$host_alias" = x; then
3040 ac_cv_host=$ac_cv_build
3041 else
3042 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3043 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3048 $as_echo "$ac_cv_host" >&6; }
3049 case $ac_cv_host in
3050 *-*-*) ;;
3051 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
3052 esac
3053 host=$ac_cv_host
3054 ac_save_IFS=$IFS; IFS='-'
3055 set x $ac_cv_host
3056 shift
3057 host_cpu=$1
3058 host_vendor=$2
3059 shift; shift
3060 # Remember, the first character of IFS is used to create $*,
3061 # except with old shells:
3062 host_os=$*
3063 IFS=$ac_save_IFS
3064 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3068 $as_echo_n "checking target system type... " >&6; }
3069 if test "${ac_cv_target+set}" = set; then :
3070 $as_echo_n "(cached) " >&6
3071 else
3072 if test "x$target_alias" = x; then
3073 ac_cv_target=$ac_cv_host
3074 else
3075 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3076 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3081 $as_echo "$ac_cv_target" >&6; }
3082 case $ac_cv_target in
3083 *-*-*) ;;
3084 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
3085 esac
3086 target=$ac_cv_target
3087 ac_save_IFS=$IFS; IFS='-'
3088 set x $ac_cv_target
3089 shift
3090 target_cpu=$1
3091 target_vendor=$2
3092 shift; shift
3093 # Remember, the first character of IFS is used to create $*,
3094 # except with old shells:
3095 target_os=$*
3096 IFS=$ac_save_IFS
3097 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3100 # The aliases save the names the user supplied, while $host etc.
3101 # will get canonicalized.
3102 test -n "$target_alias" &&
3103 test "$program_prefix$program_suffix$program_transform_name" = \
3104 NONENONEs,x,x, &&
3105 program_prefix=${target_alias}-
3107 target_alias=${target_alias-$host_alias}
3109 # Handy for debugging:
3110 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3112 if test "$build" != "$host"; then
3113 # We are being configured with some form of cross compiler.
3114 GLIBCXX_IS_NATIVE=false
3115 case "$host","$target" in
3116 # Darwin crosses can use the host system's libraries and headers,
3117 # because of the fat library support. Of course, it must be the
3118 # same version of Darwin on both sides. Allow the user to
3119 # just say --target=foo-darwin without a version number to mean
3120 # "the version on this system".
3121 *-*-darwin*,*-*-darwin*)
3122 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3123 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3124 if test $hostos = $targetos -o $targetos = darwin ; then
3125 GLIBCXX_IS_NATIVE=true
3132 esac
3133 else
3134 GLIBCXX_IS_NATIVE=true
3137 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3138 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3139 # 1.x: minimum required version
3140 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3141 # of other PACKAGE_* variables will, however, and there's nothing
3142 # we can do about that; they come from AC_INIT).
3143 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3144 # file in the top srcdir, etc, etc), so stop complaining.
3145 # no-dependencies: turns off auto dependency generation (just for now)
3146 # no-dist: we don't want 'dist' and related rules.
3147 # -Wall: turns on all automake warnings...
3148 # -Wno-portability: ...except this one, since GNU make is now required.
3149 am__api_version='1.11'
3151 # Find a good install program. We prefer a C program (faster),
3152 # so one script is as good as another. But avoid the broken or
3153 # incompatible versions:
3154 # SysV /etc/install, /usr/sbin/install
3155 # SunOS /usr/etc/install
3156 # IRIX /sbin/install
3157 # AIX /bin/install
3158 # AmigaOS /C/install, which installs bootblocks on floppy discs
3159 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3160 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3161 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3162 # OS/2's system install, which has a completely different semantic
3163 # ./install, which can be erroneously created by make from ./install.sh.
3164 # Reject install programs that cannot install multiple files.
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3166 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3167 if test -z "$INSTALL"; then
3168 if test "${ac_cv_path_install+set}" = set; then :
3169 $as_echo_n "(cached) " >&6
3170 else
3171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3172 for as_dir in $PATH
3174 IFS=$as_save_IFS
3175 test -z "$as_dir" && as_dir=.
3176 # Account for people who put trailing slashes in PATH elements.
3177 case $as_dir/ in #((
3178 ./ | .// | /[cC]/* | \
3179 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3180 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3181 /usr/ucb/* ) ;;
3183 # OSF1 and SCO ODT 3.0 have their own names for install.
3184 # Don't use installbsd from OSF since it installs stuff as root
3185 # by default.
3186 for ac_prog in ginstall scoinst install; do
3187 for ac_exec_ext in '' $ac_executable_extensions; do
3188 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3189 if test $ac_prog = install &&
3190 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3191 # AIX install. It has an incompatible calling convention.
3193 elif test $ac_prog = install &&
3194 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3195 # program-specific install script used by HP pwplus--don't use.
3197 else
3198 rm -rf conftest.one conftest.two conftest.dir
3199 echo one > conftest.one
3200 echo two > conftest.two
3201 mkdir conftest.dir
3202 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3203 test -s conftest.one && test -s conftest.two &&
3204 test -s conftest.dir/conftest.one &&
3205 test -s conftest.dir/conftest.two
3206 then
3207 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3208 break 3
3212 done
3213 done
3215 esac
3217 done
3218 IFS=$as_save_IFS
3220 rm -rf conftest.one conftest.two conftest.dir
3223 if test "${ac_cv_path_install+set}" = set; then
3224 INSTALL=$ac_cv_path_install
3225 else
3226 # As a last resort, use the slow shell script. Don't cache a
3227 # value for INSTALL within a source directory, because that will
3228 # break other packages using the cache if that directory is
3229 # removed, or if the value is a relative name.
3230 INSTALL=$ac_install_sh
3233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3234 $as_echo "$INSTALL" >&6; }
3236 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3237 # It thinks the first close brace ends the variable substitution.
3238 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3240 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3242 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3245 $as_echo_n "checking whether build environment is sane... " >&6; }
3246 # Just in case
3247 sleep 1
3248 echo timestamp > conftest.file
3249 # Reject unsafe characters in $srcdir or the absolute working directory
3250 # name. Accept space and tab only in the latter.
3251 am_lf='
3253 case `pwd` in
3254 *[\\\"\#\$\&\'\`$am_lf]*)
3255 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3256 esac
3257 case $srcdir in
3258 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3259 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3260 esac
3262 # Do `set' in a subshell so we don't clobber the current shell's
3263 # arguments. Must try -L first in case configure is actually a
3264 # symlink; some systems play weird games with the mod time of symlinks
3265 # (eg FreeBSD returns the mod time of the symlink's containing
3266 # directory).
3267 if (
3268 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3269 if test "$*" = "X"; then
3270 # -L didn't work.
3271 set X `ls -t "$srcdir/configure" conftest.file`
3273 rm -f conftest.file
3274 if test "$*" != "X $srcdir/configure conftest.file" \
3275 && test "$*" != "X conftest.file $srcdir/configure"; then
3277 # If neither matched, then we have a broken ls. This can happen
3278 # if, for instance, CONFIG_SHELL is bash and it inherits a
3279 # broken ls alias from the environment. This has actually
3280 # happened. Such a system could not be considered "sane".
3281 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3282 alias in your environment" "$LINENO" 5
3285 test "$2" = conftest.file
3287 then
3288 # Ok.
3290 else
3291 as_fn_error "newly created file is older than distributed files!
3292 Check your system clock" "$LINENO" 5
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3295 $as_echo "yes" >&6; }
3296 test "$program_prefix" != NONE &&
3297 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3298 # Use a double $ so make ignores it.
3299 test "$program_suffix" != NONE &&
3300 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3301 # Double any \ or $.
3302 # By default was `s,x,x', remove it if useless.
3303 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3304 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3306 # expand $ac_aux_dir to an absolute path
3307 am_aux_dir=`cd $ac_aux_dir && pwd`
3309 if test x"${MISSING+set}" != xset; then
3310 case $am_aux_dir in
3311 *\ * | *\ *)
3312 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3314 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3315 esac
3317 # Use eval to expand $SHELL
3318 if eval "$MISSING --run true"; then
3319 am_missing_run="$MISSING --run "
3320 else
3321 am_missing_run=
3322 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3323 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3326 if test x"${install_sh}" != xset; then
3327 case $am_aux_dir in
3328 *\ * | *\ *)
3329 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3331 install_sh="\${SHELL} $am_aux_dir/install-sh"
3332 esac
3335 # Installed binaries are usually stripped using `strip' when the user
3336 # run `make install-strip'. However `strip' might not be the right
3337 # tool to use in cross-compilation environments, therefore Automake
3338 # will honor the `STRIP' environment variable to overrule this program.
3339 if test "$cross_compiling" != no; then
3340 if test -n "$ac_tool_prefix"; then
3341 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3342 set dummy ${ac_tool_prefix}strip; ac_word=$2
3343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3344 $as_echo_n "checking for $ac_word... " >&6; }
3345 if test "${ac_cv_prog_STRIP+set}" = set; then :
3346 $as_echo_n "(cached) " >&6
3347 else
3348 if test -n "$STRIP"; then
3349 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3350 else
3351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3352 for as_dir in $PATH
3354 IFS=$as_save_IFS
3355 test -z "$as_dir" && as_dir=.
3356 for ac_exec_ext in '' $ac_executable_extensions; do
3357 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3358 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3359 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3360 break 2
3362 done
3363 done
3364 IFS=$as_save_IFS
3368 STRIP=$ac_cv_prog_STRIP
3369 if test -n "$STRIP"; then
3370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3371 $as_echo "$STRIP" >&6; }
3372 else
3373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3374 $as_echo "no" >&6; }
3379 if test -z "$ac_cv_prog_STRIP"; then
3380 ac_ct_STRIP=$STRIP
3381 # Extract the first word of "strip", so it can be a program name with args.
3382 set dummy strip; ac_word=$2
3383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3384 $as_echo_n "checking for $ac_word... " >&6; }
3385 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3386 $as_echo_n "(cached) " >&6
3387 else
3388 if test -n "$ac_ct_STRIP"; then
3389 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3390 else
3391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3392 for as_dir in $PATH
3394 IFS=$as_save_IFS
3395 test -z "$as_dir" && as_dir=.
3396 for ac_exec_ext in '' $ac_executable_extensions; do
3397 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3398 ac_cv_prog_ac_ct_STRIP="strip"
3399 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3400 break 2
3402 done
3403 done
3404 IFS=$as_save_IFS
3408 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3409 if test -n "$ac_ct_STRIP"; then
3410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3411 $as_echo "$ac_ct_STRIP" >&6; }
3412 else
3413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3414 $as_echo "no" >&6; }
3417 if test "x$ac_ct_STRIP" = x; then
3418 STRIP=":"
3419 else
3420 case $cross_compiling:$ac_tool_warned in
3421 yes:)
3422 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3423 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3424 ac_tool_warned=yes ;;
3425 esac
3426 STRIP=$ac_ct_STRIP
3428 else
3429 STRIP="$ac_cv_prog_STRIP"
3433 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3436 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3437 if test -z "$MKDIR_P"; then
3438 if test "${ac_cv_path_mkdir+set}" = set; then :
3439 $as_echo_n "(cached) " >&6
3440 else
3441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3442 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3444 IFS=$as_save_IFS
3445 test -z "$as_dir" && as_dir=.
3446 for ac_prog in mkdir gmkdir; do
3447 for ac_exec_ext in '' $ac_executable_extensions; do
3448 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3449 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3450 'mkdir (GNU coreutils) '* | \
3451 'mkdir (coreutils) '* | \
3452 'mkdir (fileutils) '4.1*)
3453 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3454 break 3;;
3455 esac
3456 done
3457 done
3458 done
3459 IFS=$as_save_IFS
3463 if test "${ac_cv_path_mkdir+set}" = set; then
3464 MKDIR_P="$ac_cv_path_mkdir -p"
3465 else
3466 # As a last resort, use the slow shell script. Don't cache a
3467 # value for MKDIR_P within a source directory, because that will
3468 # break other packages using the cache if that directory is
3469 # removed, or if the value is a relative name.
3470 test -d ./--version && rmdir ./--version
3471 MKDIR_P="$ac_install_sh -d"
3474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3475 $as_echo "$MKDIR_P" >&6; }
3477 mkdir_p="$MKDIR_P"
3478 case $mkdir_p in
3479 [\\/$]* | ?:[\\/]*) ;;
3480 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3481 esac
3483 for ac_prog in gawk mawk nawk awk
3485 # Extract the first word of "$ac_prog", so it can be a program name with args.
3486 set dummy $ac_prog; ac_word=$2
3487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3488 $as_echo_n "checking for $ac_word... " >&6; }
3489 if test "${ac_cv_prog_AWK+set}" = set; then :
3490 $as_echo_n "(cached) " >&6
3491 else
3492 if test -n "$AWK"; then
3493 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3494 else
3495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3496 for as_dir in $PATH
3498 IFS=$as_save_IFS
3499 test -z "$as_dir" && as_dir=.
3500 for ac_exec_ext in '' $ac_executable_extensions; do
3501 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3502 ac_cv_prog_AWK="$ac_prog"
3503 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3504 break 2
3506 done
3507 done
3508 IFS=$as_save_IFS
3512 AWK=$ac_cv_prog_AWK
3513 if test -n "$AWK"; then
3514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3515 $as_echo "$AWK" >&6; }
3516 else
3517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3518 $as_echo "no" >&6; }
3522 test -n "$AWK" && break
3523 done
3525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3526 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3527 set x ${MAKE-make}
3528 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3529 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3530 $as_echo_n "(cached) " >&6
3531 else
3532 cat >conftest.make <<\_ACEOF
3533 SHELL = /bin/sh
3534 all:
3535 @echo '@@@%%%=$(MAKE)=@@@%%%'
3536 _ACEOF
3537 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3538 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3539 *@@@%%%=?*=@@@%%%*)
3540 eval ac_cv_prog_make_${ac_make}_set=yes;;
3542 eval ac_cv_prog_make_${ac_make}_set=no;;
3543 esac
3544 rm -f conftest.make
3546 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3548 $as_echo "yes" >&6; }
3549 SET_MAKE=
3550 else
3551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3552 $as_echo "no" >&6; }
3553 SET_MAKE="MAKE=${MAKE-make}"
3556 rm -rf .tst 2>/dev/null
3557 mkdir .tst 2>/dev/null
3558 if test -d .tst; then
3559 am__leading_dot=.
3560 else
3561 am__leading_dot=_
3563 rmdir .tst 2>/dev/null
3565 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3566 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3567 # is not polluted with repeated "-I."
3568 am__isrc=' -I$(srcdir)'
3569 # test to see if srcdir already configured
3570 if test -f $srcdir/config.status; then
3571 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3575 # test whether we have cygpath
3576 if test -z "$CYGPATH_W"; then
3577 if (cygpath --version) >/dev/null 2>/dev/null; then
3578 CYGPATH_W='cygpath -w'
3579 else
3580 CYGPATH_W=echo
3585 # Define the identity of the package.
3586 PACKAGE='libstdc++'
3587 VERSION='version-unused'
3590 # Some tools Automake needs.
3592 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3595 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3598 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3601 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3604 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3606 # We need awk for the "check" target. The system "awk" is bad on
3607 # some platforms.
3608 # Always define AMTAR for backward compatibility. Yes, it's still used
3609 # in the wild :-( We should find a proper way to deprecate it ...
3610 AMTAR='$${TAR-tar}'
3612 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3621 # -fno-builtin must be present here so that a non-conflicting form of
3622 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3624 save_CXXFLAGS="$CXXFLAGS"
3625 CXXFLAGS="$CXXFLAGS -fno-builtin"
3626 ac_ext=c
3627 ac_cpp='$CPP $CPPFLAGS'
3628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3631 if test -n "$ac_tool_prefix"; then
3632 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3633 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3635 $as_echo_n "checking for $ac_word... " >&6; }
3636 if test "${ac_cv_prog_CC+set}" = set; then :
3637 $as_echo_n "(cached) " >&6
3638 else
3639 if test -n "$CC"; then
3640 ac_cv_prog_CC="$CC" # Let the user override the test.
3641 else
3642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3643 for as_dir in $PATH
3645 IFS=$as_save_IFS
3646 test -z "$as_dir" && as_dir=.
3647 for ac_exec_ext in '' $ac_executable_extensions; do
3648 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3649 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3650 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3651 break 2
3653 done
3654 done
3655 IFS=$as_save_IFS
3659 CC=$ac_cv_prog_CC
3660 if test -n "$CC"; then
3661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3662 $as_echo "$CC" >&6; }
3663 else
3664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3665 $as_echo "no" >&6; }
3670 if test -z "$ac_cv_prog_CC"; then
3671 ac_ct_CC=$CC
3672 # Extract the first word of "gcc", so it can be a program name with args.
3673 set dummy gcc; ac_word=$2
3674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3675 $as_echo_n "checking for $ac_word... " >&6; }
3676 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3677 $as_echo_n "(cached) " >&6
3678 else
3679 if test -n "$ac_ct_CC"; then
3680 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3681 else
3682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3683 for as_dir in $PATH
3685 IFS=$as_save_IFS
3686 test -z "$as_dir" && as_dir=.
3687 for ac_exec_ext in '' $ac_executable_extensions; do
3688 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3689 ac_cv_prog_ac_ct_CC="gcc"
3690 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3691 break 2
3693 done
3694 done
3695 IFS=$as_save_IFS
3699 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3700 if test -n "$ac_ct_CC"; then
3701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3702 $as_echo "$ac_ct_CC" >&6; }
3703 else
3704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3705 $as_echo "no" >&6; }
3708 if test "x$ac_ct_CC" = x; then
3709 CC=""
3710 else
3711 case $cross_compiling:$ac_tool_warned in
3712 yes:)
3713 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3714 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3715 ac_tool_warned=yes ;;
3716 esac
3717 CC=$ac_ct_CC
3719 else
3720 CC="$ac_cv_prog_CC"
3723 if test -z "$CC"; then
3724 if test -n "$ac_tool_prefix"; then
3725 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3726 set dummy ${ac_tool_prefix}cc; ac_word=$2
3727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3728 $as_echo_n "checking for $ac_word... " >&6; }
3729 if test "${ac_cv_prog_CC+set}" = set; then :
3730 $as_echo_n "(cached) " >&6
3731 else
3732 if test -n "$CC"; then
3733 ac_cv_prog_CC="$CC" # Let the user override the test.
3734 else
3735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3736 for as_dir in $PATH
3738 IFS=$as_save_IFS
3739 test -z "$as_dir" && as_dir=.
3740 for ac_exec_ext in '' $ac_executable_extensions; do
3741 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3742 ac_cv_prog_CC="${ac_tool_prefix}cc"
3743 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3744 break 2
3746 done
3747 done
3748 IFS=$as_save_IFS
3752 CC=$ac_cv_prog_CC
3753 if test -n "$CC"; then
3754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3755 $as_echo "$CC" >&6; }
3756 else
3757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3758 $as_echo "no" >&6; }
3764 if test -z "$CC"; then
3765 # Extract the first word of "cc", so it can be a program name with args.
3766 set dummy cc; ac_word=$2
3767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3768 $as_echo_n "checking for $ac_word... " >&6; }
3769 if test "${ac_cv_prog_CC+set}" = set; then :
3770 $as_echo_n "(cached) " >&6
3771 else
3772 if test -n "$CC"; then
3773 ac_cv_prog_CC="$CC" # Let the user override the test.
3774 else
3775 ac_prog_rejected=no
3776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3777 for as_dir in $PATH
3779 IFS=$as_save_IFS
3780 test -z "$as_dir" && as_dir=.
3781 for ac_exec_ext in '' $ac_executable_extensions; do
3782 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3783 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3784 ac_prog_rejected=yes
3785 continue
3787 ac_cv_prog_CC="cc"
3788 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3789 break 2
3791 done
3792 done
3793 IFS=$as_save_IFS
3795 if test $ac_prog_rejected = yes; then
3796 # We found a bogon in the path, so make sure we never use it.
3797 set dummy $ac_cv_prog_CC
3798 shift
3799 if test $# != 0; then
3800 # We chose a different compiler from the bogus one.
3801 # However, it has the same basename, so the bogon will be chosen
3802 # first if we set CC to just the basename; use the full file name.
3803 shift
3804 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3809 CC=$ac_cv_prog_CC
3810 if test -n "$CC"; then
3811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3812 $as_echo "$CC" >&6; }
3813 else
3814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3815 $as_echo "no" >&6; }
3820 if test -z "$CC"; then
3821 if test -n "$ac_tool_prefix"; then
3822 for ac_prog in cl.exe
3824 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3825 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3827 $as_echo_n "checking for $ac_word... " >&6; }
3828 if test "${ac_cv_prog_CC+set}" = set; then :
3829 $as_echo_n "(cached) " >&6
3830 else
3831 if test -n "$CC"; then
3832 ac_cv_prog_CC="$CC" # Let the user override the test.
3833 else
3834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3835 for as_dir in $PATH
3837 IFS=$as_save_IFS
3838 test -z "$as_dir" && as_dir=.
3839 for ac_exec_ext in '' $ac_executable_extensions; do
3840 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3841 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3842 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3843 break 2
3845 done
3846 done
3847 IFS=$as_save_IFS
3851 CC=$ac_cv_prog_CC
3852 if test -n "$CC"; then
3853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3854 $as_echo "$CC" >&6; }
3855 else
3856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3857 $as_echo "no" >&6; }
3861 test -n "$CC" && break
3862 done
3864 if test -z "$CC"; then
3865 ac_ct_CC=$CC
3866 for ac_prog in cl.exe
3868 # Extract the first word of "$ac_prog", so it can be a program name with args.
3869 set dummy $ac_prog; ac_word=$2
3870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3871 $as_echo_n "checking for $ac_word... " >&6; }
3872 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3873 $as_echo_n "(cached) " >&6
3874 else
3875 if test -n "$ac_ct_CC"; then
3876 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3877 else
3878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3879 for as_dir in $PATH
3881 IFS=$as_save_IFS
3882 test -z "$as_dir" && as_dir=.
3883 for ac_exec_ext in '' $ac_executable_extensions; do
3884 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3885 ac_cv_prog_ac_ct_CC="$ac_prog"
3886 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3887 break 2
3889 done
3890 done
3891 IFS=$as_save_IFS
3895 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3896 if test -n "$ac_ct_CC"; then
3897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3898 $as_echo "$ac_ct_CC" >&6; }
3899 else
3900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3901 $as_echo "no" >&6; }
3905 test -n "$ac_ct_CC" && break
3906 done
3908 if test "x$ac_ct_CC" = x; then
3909 CC=""
3910 else
3911 case $cross_compiling:$ac_tool_warned in
3912 yes:)
3913 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3914 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3915 ac_tool_warned=yes ;;
3916 esac
3917 CC=$ac_ct_CC
3924 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3925 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3926 as_fn_error "no acceptable C compiler found in \$PATH
3927 See \`config.log' for more details." "$LINENO" 5; }
3929 # Provide some information about the compiler.
3930 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3931 set X $ac_compile
3932 ac_compiler=$2
3933 for ac_option in --version -v -V -qversion; do
3934 { { ac_try="$ac_compiler $ac_option >&5"
3935 case "(($ac_try" in
3936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3937 *) ac_try_echo=$ac_try;;
3938 esac
3939 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3940 $as_echo "$ac_try_echo"; } >&5
3941 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3942 ac_status=$?
3943 if test -s conftest.err; then
3944 sed '10a\
3945 ... rest of stderr output deleted ...
3946 10q' conftest.err >conftest.er1
3947 cat conftest.er1 >&5
3948 rm -f conftest.er1 conftest.err
3950 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3951 test $ac_status = 0; }
3952 done
3954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3955 /* end confdefs.h. */
3958 main ()
3962 return 0;
3964 _ACEOF
3965 # FIXME: Cleanup?
3966 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3967 (eval $ac_link) 2>&5
3968 ac_status=$?
3969 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3970 test $ac_status = 0; }; then :
3971 gcc_no_link=no
3972 else
3973 gcc_no_link=yes
3975 if test x$gcc_no_link = xyes; then
3976 # Setting cross_compile will disable run tests; it will
3977 # also disable AC_CHECK_FILE but that's generally
3978 # correct if we can't link.
3979 cross_compiling=yes
3980 EXEEXT=
3981 else
3982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3983 /* end confdefs.h. */
3986 main ()
3990 return 0;
3992 _ACEOF
3993 ac_clean_files_save=$ac_clean_files
3994 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3995 # Try to create an executable without -o first, disregard a.out.
3996 # It will help us diagnose broken compilers, and finding out an intuition
3997 # of exeext.
3998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3999 $as_echo_n "checking for C compiler default output file name... " >&6; }
4000 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4002 # The possible output files:
4003 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4005 ac_rmfiles=
4006 for ac_file in $ac_files
4008 case $ac_file in
4009 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4010 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4011 esac
4012 done
4013 rm -f $ac_rmfiles
4015 if { { ac_try="$ac_link_default"
4016 case "(($ac_try" in
4017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4018 *) ac_try_echo=$ac_try;;
4019 esac
4020 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4021 $as_echo "$ac_try_echo"; } >&5
4022 (eval "$ac_link_default") 2>&5
4023 ac_status=$?
4024 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4025 test $ac_status = 0; }; then :
4026 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4027 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4028 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4029 # so that the user can short-circuit this test for compilers unknown to
4030 # Autoconf.
4031 for ac_file in $ac_files ''
4033 test -f "$ac_file" || continue
4034 case $ac_file in
4035 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4037 [ab].out )
4038 # We found the default executable, but exeext='' is most
4039 # certainly right.
4040 break;;
4041 *.* )
4042 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4043 then :; else
4044 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4046 # We set ac_cv_exeext here because the later test for it is not
4047 # safe: cross compilers may not add the suffix if given an `-o'
4048 # argument, so we may need to know it at that point already.
4049 # Even if this section looks crufty: it has the advantage of
4050 # actually working.
4051 break;;
4053 break;;
4054 esac
4055 done
4056 test "$ac_cv_exeext" = no && ac_cv_exeext=
4058 else
4059 ac_file=''
4061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4062 $as_echo "$ac_file" >&6; }
4063 if test -z "$ac_file"; then :
4064 $as_echo "$as_me: failed program was:" >&5
4065 sed 's/^/| /' conftest.$ac_ext >&5
4067 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4068 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4069 { as_fn_set_status 77
4070 as_fn_error "C compiler cannot create executables
4071 See \`config.log' for more details." "$LINENO" 5; }; }
4073 ac_exeext=$ac_cv_exeext
4075 # Check that the compiler produces executables we can run. If not, either
4076 # the compiler is broken, or we cross compile.
4077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4078 $as_echo_n "checking whether the C compiler works... " >&6; }
4079 # If not cross compiling, check that we can run a simple program.
4080 if test "$cross_compiling" != yes; then
4081 if { ac_try='./$ac_file'
4082 { { case "(($ac_try" in
4083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4084 *) ac_try_echo=$ac_try;;
4085 esac
4086 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4087 $as_echo "$ac_try_echo"; } >&5
4088 (eval "$ac_try") 2>&5
4089 ac_status=$?
4090 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4091 test $ac_status = 0; }; }; then
4092 cross_compiling=no
4093 else
4094 if test "$cross_compiling" = maybe; then
4095 cross_compiling=yes
4096 else
4097 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4098 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4099 as_fn_error "cannot run C compiled programs.
4100 If you meant to cross compile, use \`--host'.
4101 See \`config.log' for more details." "$LINENO" 5; }
4105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4106 $as_echo "yes" >&6; }
4108 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4109 ac_clean_files=$ac_clean_files_save
4110 # Check that the compiler produces executables we can run. If not, either
4111 # the compiler is broken, or we cross compile.
4112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4113 $as_echo_n "checking whether we are cross compiling... " >&6; }
4114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4115 $as_echo "$cross_compiling" >&6; }
4117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4118 $as_echo_n "checking for suffix of executables... " >&6; }
4119 if { { ac_try="$ac_link"
4120 case "(($ac_try" in
4121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4122 *) ac_try_echo=$ac_try;;
4123 esac
4124 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4125 $as_echo "$ac_try_echo"; } >&5
4126 (eval "$ac_link") 2>&5
4127 ac_status=$?
4128 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4129 test $ac_status = 0; }; then :
4130 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4131 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4132 # work properly (i.e., refer to `conftest.exe'), while it won't with
4133 # `rm'.
4134 for ac_file in conftest.exe conftest conftest.*; do
4135 test -f "$ac_file" || continue
4136 case $ac_file in
4137 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4138 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4139 break;;
4140 * ) break;;
4141 esac
4142 done
4143 else
4144 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4145 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4146 as_fn_error "cannot compute suffix of executables: cannot compile and link
4147 See \`config.log' for more details." "$LINENO" 5; }
4149 rm -f conftest$ac_cv_exeext
4150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4151 $as_echo "$ac_cv_exeext" >&6; }
4153 rm -f conftest.$ac_ext
4154 EXEEXT=$ac_cv_exeext
4155 ac_exeext=$EXEEXT
4157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4158 $as_echo_n "checking for suffix of object files... " >&6; }
4159 if test "${ac_cv_objext+set}" = set; then :
4160 $as_echo_n "(cached) " >&6
4161 else
4162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4163 /* end confdefs.h. */
4166 main ()
4170 return 0;
4172 _ACEOF
4173 rm -f conftest.o conftest.obj
4174 if { { ac_try="$ac_compile"
4175 case "(($ac_try" in
4176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4177 *) ac_try_echo=$ac_try;;
4178 esac
4179 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4180 $as_echo "$ac_try_echo"; } >&5
4181 (eval "$ac_compile") 2>&5
4182 ac_status=$?
4183 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4184 test $ac_status = 0; }; then :
4185 for ac_file in conftest.o conftest.obj conftest.*; do
4186 test -f "$ac_file" || continue;
4187 case $ac_file in
4188 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4189 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4190 break;;
4191 esac
4192 done
4193 else
4194 $as_echo "$as_me: failed program was:" >&5
4195 sed 's/^/| /' conftest.$ac_ext >&5
4197 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4198 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4199 as_fn_error "cannot compute suffix of object files: cannot compile
4200 See \`config.log' for more details." "$LINENO" 5; }
4202 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4205 $as_echo "$ac_cv_objext" >&6; }
4206 OBJEXT=$ac_cv_objext
4207 ac_objext=$OBJEXT
4208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4209 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4210 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4211 $as_echo_n "(cached) " >&6
4212 else
4213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4214 /* end confdefs.h. */
4217 main ()
4219 #ifndef __GNUC__
4220 choke me
4221 #endif
4224 return 0;
4226 _ACEOF
4227 if ac_fn_c_try_compile "$LINENO"; then :
4228 ac_compiler_gnu=yes
4229 else
4230 ac_compiler_gnu=no
4232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4233 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4237 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4238 if test $ac_compiler_gnu = yes; then
4239 GCC=yes
4240 else
4241 GCC=
4243 ac_test_CFLAGS=${CFLAGS+set}
4244 ac_save_CFLAGS=$CFLAGS
4245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4246 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4247 if test "${ac_cv_prog_cc_g+set}" = set; then :
4248 $as_echo_n "(cached) " >&6
4249 else
4250 ac_save_c_werror_flag=$ac_c_werror_flag
4251 ac_c_werror_flag=yes
4252 ac_cv_prog_cc_g=no
4253 CFLAGS="-g"
4254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4255 /* end confdefs.h. */
4258 main ()
4262 return 0;
4264 _ACEOF
4265 if ac_fn_c_try_compile "$LINENO"; then :
4266 ac_cv_prog_cc_g=yes
4267 else
4268 CFLAGS=""
4269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4270 /* end confdefs.h. */
4273 main ()
4277 return 0;
4279 _ACEOF
4280 if ac_fn_c_try_compile "$LINENO"; then :
4282 else
4283 ac_c_werror_flag=$ac_save_c_werror_flag
4284 CFLAGS="-g"
4285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4286 /* end confdefs.h. */
4289 main ()
4293 return 0;
4295 _ACEOF
4296 if ac_fn_c_try_compile "$LINENO"; then :
4297 ac_cv_prog_cc_g=yes
4299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4304 ac_c_werror_flag=$ac_save_c_werror_flag
4306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4307 $as_echo "$ac_cv_prog_cc_g" >&6; }
4308 if test "$ac_test_CFLAGS" = set; then
4309 CFLAGS=$ac_save_CFLAGS
4310 elif test $ac_cv_prog_cc_g = yes; then
4311 if test "$GCC" = yes; then
4312 CFLAGS="-g -O2"
4313 else
4314 CFLAGS="-g"
4316 else
4317 if test "$GCC" = yes; then
4318 CFLAGS="-O2"
4319 else
4320 CFLAGS=
4323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4324 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4325 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4326 $as_echo_n "(cached) " >&6
4327 else
4328 ac_cv_prog_cc_c89=no
4329 ac_save_CC=$CC
4330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4331 /* end confdefs.h. */
4332 #include <stdarg.h>
4333 #include <stdio.h>
4334 #include <sys/types.h>
4335 #include <sys/stat.h>
4336 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4337 struct buf { int x; };
4338 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4339 static char *e (p, i)
4340 char **p;
4341 int i;
4343 return p[i];
4345 static char *f (char * (*g) (char **, int), char **p, ...)
4347 char *s;
4348 va_list v;
4349 va_start (v,p);
4350 s = g (p, va_arg (v,int));
4351 va_end (v);
4352 return s;
4355 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4356 function prototypes and stuff, but not '\xHH' hex character constants.
4357 These don't provoke an error unfortunately, instead are silently treated
4358 as 'x'. The following induces an error, until -std is added to get
4359 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4360 array size at least. It's necessary to write '\x00'==0 to get something
4361 that's true only with -std. */
4362 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4364 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4365 inside strings and character constants. */
4366 #define FOO(x) 'x'
4367 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4369 int test (int i, double x);
4370 struct s1 {int (*f) (int a);};
4371 struct s2 {int (*f) (double a);};
4372 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4373 int argc;
4374 char **argv;
4376 main ()
4378 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4380 return 0;
4382 _ACEOF
4383 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4384 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4386 CC="$ac_save_CC $ac_arg"
4387 if ac_fn_c_try_compile "$LINENO"; then :
4388 ac_cv_prog_cc_c89=$ac_arg
4390 rm -f core conftest.err conftest.$ac_objext
4391 test "x$ac_cv_prog_cc_c89" != "xno" && break
4392 done
4393 rm -f conftest.$ac_ext
4394 CC=$ac_save_CC
4397 # AC_CACHE_VAL
4398 case "x$ac_cv_prog_cc_c89" in
4400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4401 $as_echo "none needed" >&6; } ;;
4402 xno)
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4404 $as_echo "unsupported" >&6; } ;;
4406 CC="$CC $ac_cv_prog_cc_c89"
4407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4408 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4409 esac
4410 if test "x$ac_cv_prog_cc_c89" != xno; then :
4414 ac_ext=c
4415 ac_cpp='$CPP $CPPFLAGS'
4416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4420 ac_ext=cpp
4421 ac_cpp='$CXXCPP $CPPFLAGS'
4422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4425 if test -z "$CXX"; then
4426 if test -n "$CCC"; then
4427 CXX=$CCC
4428 else
4429 if test -n "$ac_tool_prefix"; then
4430 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4432 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4433 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4435 $as_echo_n "checking for $ac_word... " >&6; }
4436 if test "${ac_cv_prog_CXX+set}" = set; then :
4437 $as_echo_n "(cached) " >&6
4438 else
4439 if test -n "$CXX"; then
4440 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4441 else
4442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4443 for as_dir in $PATH
4445 IFS=$as_save_IFS
4446 test -z "$as_dir" && as_dir=.
4447 for ac_exec_ext in '' $ac_executable_extensions; do
4448 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4449 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4450 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4451 break 2
4453 done
4454 done
4455 IFS=$as_save_IFS
4459 CXX=$ac_cv_prog_CXX
4460 if test -n "$CXX"; then
4461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4462 $as_echo "$CXX" >&6; }
4463 else
4464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4465 $as_echo "no" >&6; }
4469 test -n "$CXX" && break
4470 done
4472 if test -z "$CXX"; then
4473 ac_ct_CXX=$CXX
4474 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4476 # Extract the first word of "$ac_prog", so it can be a program name with args.
4477 set dummy $ac_prog; ac_word=$2
4478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4479 $as_echo_n "checking for $ac_word... " >&6; }
4480 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4481 $as_echo_n "(cached) " >&6
4482 else
4483 if test -n "$ac_ct_CXX"; then
4484 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4485 else
4486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4487 for as_dir in $PATH
4489 IFS=$as_save_IFS
4490 test -z "$as_dir" && as_dir=.
4491 for ac_exec_ext in '' $ac_executable_extensions; do
4492 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4493 ac_cv_prog_ac_ct_CXX="$ac_prog"
4494 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4495 break 2
4497 done
4498 done
4499 IFS=$as_save_IFS
4503 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4504 if test -n "$ac_ct_CXX"; then
4505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4506 $as_echo "$ac_ct_CXX" >&6; }
4507 else
4508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4509 $as_echo "no" >&6; }
4513 test -n "$ac_ct_CXX" && break
4514 done
4516 if test "x$ac_ct_CXX" = x; then
4517 CXX="g++"
4518 else
4519 case $cross_compiling:$ac_tool_warned in
4520 yes:)
4521 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4522 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4523 ac_tool_warned=yes ;;
4524 esac
4525 CXX=$ac_ct_CXX
4531 # Provide some information about the compiler.
4532 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4533 set X $ac_compile
4534 ac_compiler=$2
4535 for ac_option in --version -v -V -qversion; do
4536 { { ac_try="$ac_compiler $ac_option >&5"
4537 case "(($ac_try" in
4538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4539 *) ac_try_echo=$ac_try;;
4540 esac
4541 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4542 $as_echo "$ac_try_echo"; } >&5
4543 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4544 ac_status=$?
4545 if test -s conftest.err; then
4546 sed '10a\
4547 ... rest of stderr output deleted ...
4548 10q' conftest.err >conftest.er1
4549 cat conftest.er1 >&5
4550 rm -f conftest.er1 conftest.err
4552 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4553 test $ac_status = 0; }
4554 done
4556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4557 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4558 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4559 $as_echo_n "(cached) " >&6
4560 else
4561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4562 /* end confdefs.h. */
4565 main ()
4567 #ifndef __GNUC__
4568 choke me
4569 #endif
4572 return 0;
4574 _ACEOF
4575 if ac_fn_cxx_try_compile "$LINENO"; then :
4576 ac_compiler_gnu=yes
4577 else
4578 ac_compiler_gnu=no
4580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4581 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4585 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4586 if test $ac_compiler_gnu = yes; then
4587 GXX=yes
4588 else
4589 GXX=
4591 ac_test_CXXFLAGS=${CXXFLAGS+set}
4592 ac_save_CXXFLAGS=$CXXFLAGS
4593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4594 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4595 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4596 $as_echo_n "(cached) " >&6
4597 else
4598 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4599 ac_cxx_werror_flag=yes
4600 ac_cv_prog_cxx_g=no
4601 CXXFLAGS="-g"
4602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4603 /* end confdefs.h. */
4606 main ()
4610 return 0;
4612 _ACEOF
4613 if ac_fn_cxx_try_compile "$LINENO"; then :
4614 ac_cv_prog_cxx_g=yes
4615 else
4616 CXXFLAGS=""
4617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4618 /* end confdefs.h. */
4621 main ()
4625 return 0;
4627 _ACEOF
4628 if ac_fn_cxx_try_compile "$LINENO"; then :
4630 else
4631 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4632 CXXFLAGS="-g"
4633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4634 /* end confdefs.h. */
4637 main ()
4641 return 0;
4643 _ACEOF
4644 if ac_fn_cxx_try_compile "$LINENO"; then :
4645 ac_cv_prog_cxx_g=yes
4647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4652 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4655 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4656 if test "$ac_test_CXXFLAGS" = set; then
4657 CXXFLAGS=$ac_save_CXXFLAGS
4658 elif test $ac_cv_prog_cxx_g = yes; then
4659 if test "$GXX" = yes; then
4660 CXXFLAGS="-g -O2"
4661 else
4662 CXXFLAGS="-g"
4664 else
4665 if test "$GXX" = yes; then
4666 CXXFLAGS="-O2"
4667 else
4668 CXXFLAGS=
4671 ac_ext=c
4672 ac_cpp='$CPP $CPPFLAGS'
4673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4677 CXXFLAGS="$save_CXXFLAGS"
4679 # Runs configure.host, and assorted other critical bits. Sets
4680 # up critical shell variables.
4682 ac_ext=c
4683 ac_cpp='$CPP $CPPFLAGS'
4684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4688 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4689 # On Suns, sometimes $CPP names a directory.
4690 if test -n "$CPP" && test -d "$CPP"; then
4691 CPP=
4693 if test -z "$CPP"; then
4694 if test "${ac_cv_prog_CPP+set}" = set; then :
4695 $as_echo_n "(cached) " >&6
4696 else
4697 # Double quotes because CPP needs to be expanded
4698 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4700 ac_preproc_ok=false
4701 for ac_c_preproc_warn_flag in '' yes
4703 # Use a header file that comes with gcc, so configuring glibc
4704 # with a fresh cross-compiler works.
4705 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4706 # <limits.h> exists even on freestanding compilers.
4707 # On the NeXT, cc -E runs the code through the compiler's parser,
4708 # not just through cpp. "Syntax error" is here to catch this case.
4709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4710 /* end confdefs.h. */
4711 #ifdef __STDC__
4712 # include <limits.h>
4713 #else
4714 # include <assert.h>
4715 #endif
4716 Syntax error
4717 _ACEOF
4718 if ac_fn_c_try_cpp "$LINENO"; then :
4720 else
4721 # Broken: fails on valid input.
4722 continue
4724 rm -f conftest.err conftest.$ac_ext
4726 # OK, works on sane cases. Now check whether nonexistent headers
4727 # can be detected and how.
4728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4729 /* end confdefs.h. */
4730 #include <ac_nonexistent.h>
4731 _ACEOF
4732 if ac_fn_c_try_cpp "$LINENO"; then :
4733 # Broken: success on invalid input.
4734 continue
4735 else
4736 # Passes both tests.
4737 ac_preproc_ok=:
4738 break
4740 rm -f conftest.err conftest.$ac_ext
4742 done
4743 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4744 rm -f conftest.err conftest.$ac_ext
4745 if $ac_preproc_ok; then :
4746 break
4749 done
4750 ac_cv_prog_CPP=$CPP
4753 CPP=$ac_cv_prog_CPP
4754 else
4755 ac_cv_prog_CPP=$CPP
4757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4758 $as_echo "$CPP" >&6; }
4759 ac_preproc_ok=false
4760 for ac_c_preproc_warn_flag in '' yes
4762 # Use a header file that comes with gcc, so configuring glibc
4763 # with a fresh cross-compiler works.
4764 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4765 # <limits.h> exists even on freestanding compilers.
4766 # On the NeXT, cc -E runs the code through the compiler's parser,
4767 # not just through cpp. "Syntax error" is here to catch this case.
4768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4769 /* end confdefs.h. */
4770 #ifdef __STDC__
4771 # include <limits.h>
4772 #else
4773 # include <assert.h>
4774 #endif
4775 Syntax error
4776 _ACEOF
4777 if ac_fn_c_try_cpp "$LINENO"; then :
4779 else
4780 # Broken: fails on valid input.
4781 continue
4783 rm -f conftest.err conftest.$ac_ext
4785 # OK, works on sane cases. Now check whether nonexistent headers
4786 # can be detected and how.
4787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4788 /* end confdefs.h. */
4789 #include <ac_nonexistent.h>
4790 _ACEOF
4791 if ac_fn_c_try_cpp "$LINENO"; then :
4792 # Broken: success on invalid input.
4793 continue
4794 else
4795 # Passes both tests.
4796 ac_preproc_ok=:
4797 break
4799 rm -f conftest.err conftest.$ac_ext
4801 done
4802 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4803 rm -f conftest.err conftest.$ac_ext
4804 if $ac_preproc_ok; then :
4806 else
4807 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4808 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4809 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4810 See \`config.log' for more details." "$LINENO" 5; }
4813 ac_ext=c
4814 ac_cpp='$CPP $CPPFLAGS'
4815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4821 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4822 if test "${ac_cv_path_GREP+set}" = set; then :
4823 $as_echo_n "(cached) " >&6
4824 else
4825 if test -z "$GREP"; then
4826 ac_path_GREP_found=false
4827 # Loop through the user's path and test for each of PROGNAME-LIST
4828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4829 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4831 IFS=$as_save_IFS
4832 test -z "$as_dir" && as_dir=.
4833 for ac_prog in grep ggrep; do
4834 for ac_exec_ext in '' $ac_executable_extensions; do
4835 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4836 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4837 # Check for GNU ac_path_GREP and select it if it is found.
4838 # Check for GNU $ac_path_GREP
4839 case `"$ac_path_GREP" --version 2>&1` in
4840 *GNU*)
4841 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4843 ac_count=0
4844 $as_echo_n 0123456789 >"conftest.in"
4845 while :
4847 cat "conftest.in" "conftest.in" >"conftest.tmp"
4848 mv "conftest.tmp" "conftest.in"
4849 cp "conftest.in" "conftest.nl"
4850 $as_echo 'GREP' >> "conftest.nl"
4851 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4852 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4853 as_fn_arith $ac_count + 1 && ac_count=$as_val
4854 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4855 # Best one so far, save it but keep looking for a better one
4856 ac_cv_path_GREP="$ac_path_GREP"
4857 ac_path_GREP_max=$ac_count
4859 # 10*(2^10) chars as input seems more than enough
4860 test $ac_count -gt 10 && break
4861 done
4862 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4863 esac
4865 $ac_path_GREP_found && break 3
4866 done
4867 done
4868 done
4869 IFS=$as_save_IFS
4870 if test -z "$ac_cv_path_GREP"; then
4871 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4873 else
4874 ac_cv_path_GREP=$GREP
4878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4879 $as_echo "$ac_cv_path_GREP" >&6; }
4880 GREP="$ac_cv_path_GREP"
4883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4884 $as_echo_n "checking for egrep... " >&6; }
4885 if test "${ac_cv_path_EGREP+set}" = set; then :
4886 $as_echo_n "(cached) " >&6
4887 else
4888 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4889 then ac_cv_path_EGREP="$GREP -E"
4890 else
4891 if test -z "$EGREP"; then
4892 ac_path_EGREP_found=false
4893 # Loop through the user's path and test for each of PROGNAME-LIST
4894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4895 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4897 IFS=$as_save_IFS
4898 test -z "$as_dir" && as_dir=.
4899 for ac_prog in egrep; do
4900 for ac_exec_ext in '' $ac_executable_extensions; do
4901 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4902 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4903 # Check for GNU ac_path_EGREP and select it if it is found.
4904 # Check for GNU $ac_path_EGREP
4905 case `"$ac_path_EGREP" --version 2>&1` in
4906 *GNU*)
4907 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4909 ac_count=0
4910 $as_echo_n 0123456789 >"conftest.in"
4911 while :
4913 cat "conftest.in" "conftest.in" >"conftest.tmp"
4914 mv "conftest.tmp" "conftest.in"
4915 cp "conftest.in" "conftest.nl"
4916 $as_echo 'EGREP' >> "conftest.nl"
4917 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4918 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4919 as_fn_arith $ac_count + 1 && ac_count=$as_val
4920 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4921 # Best one so far, save it but keep looking for a better one
4922 ac_cv_path_EGREP="$ac_path_EGREP"
4923 ac_path_EGREP_max=$ac_count
4925 # 10*(2^10) chars as input seems more than enough
4926 test $ac_count -gt 10 && break
4927 done
4928 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4929 esac
4931 $ac_path_EGREP_found && break 3
4932 done
4933 done
4934 done
4935 IFS=$as_save_IFS
4936 if test -z "$ac_cv_path_EGREP"; then
4937 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4939 else
4940 ac_cv_path_EGREP=$EGREP
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4946 $as_echo "$ac_cv_path_EGREP" >&6; }
4947 EGREP="$ac_cv_path_EGREP"
4951 # Keep these sync'd with the list in Makefile.am. The first provides an
4952 # expandable list at autoconf time; the second provides an expandable list
4953 # (i.e., shell variable) at configure time.
4955 SUBDIRS='include libsupc++ src src/c++98 src/c++11 src/filesystem doc po testsuite python'
4957 # These need to be absolute paths, yet at the same time need to
4958 # canonicalize only relative paths, because then amd will not unmount
4959 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4960 glibcxx_builddir=`${PWDCMD-pwd}`
4961 case $srcdir in
4962 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4963 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4964 esac
4965 toplevel_builddir=${glibcxx_builddir}/..
4966 toplevel_srcdir=${glibcxx_srcdir}/..
4972 # We use these options to decide which functions to include. They are
4973 # set from the top level.
4975 # Check whether --with-target-subdir was given.
4976 if test "${with_target_subdir+set}" = set; then :
4977 withval=$with_target_subdir;
4982 # Check whether --with-cross-host was given.
4983 if test "${with_cross_host+set}" = set; then :
4984 withval=$with_cross_host;
4989 # Check whether --with-newlib was given.
4990 if test "${with_newlib+set}" = set; then :
4991 withval=$with_newlib;
4995 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
4996 # available). Uncomment the next line to force a particular method.
4997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4998 $as_echo_n "checking whether ln -s works... " >&6; }
4999 LN_S=$as_ln_s
5000 if test "$LN_S" = "ln -s"; then
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5002 $as_echo "yes" >&6; }
5003 else
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5005 $as_echo "no, using $LN_S" >&6; }
5008 #LN_S='cp -p'
5010 if test -n "$ac_tool_prefix"; then
5011 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5012 set dummy ${ac_tool_prefix}as; ac_word=$2
5013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5014 $as_echo_n "checking for $ac_word... " >&6; }
5015 if test "${ac_cv_prog_AS+set}" = set; then :
5016 $as_echo_n "(cached) " >&6
5017 else
5018 if test -n "$AS"; then
5019 ac_cv_prog_AS="$AS" # Let the user override the test.
5020 else
5021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5022 for as_dir in $PATH
5024 IFS=$as_save_IFS
5025 test -z "$as_dir" && as_dir=.
5026 for ac_exec_ext in '' $ac_executable_extensions; do
5027 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5028 ac_cv_prog_AS="${ac_tool_prefix}as"
5029 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5030 break 2
5032 done
5033 done
5034 IFS=$as_save_IFS
5038 AS=$ac_cv_prog_AS
5039 if test -n "$AS"; then
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5041 $as_echo "$AS" >&6; }
5042 else
5043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5044 $as_echo "no" >&6; }
5049 if test -z "$ac_cv_prog_AS"; then
5050 ac_ct_AS=$AS
5051 # Extract the first word of "as", so it can be a program name with args.
5052 set dummy as; ac_word=$2
5053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5054 $as_echo_n "checking for $ac_word... " >&6; }
5055 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
5056 $as_echo_n "(cached) " >&6
5057 else
5058 if test -n "$ac_ct_AS"; then
5059 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5060 else
5061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5062 for as_dir in $PATH
5064 IFS=$as_save_IFS
5065 test -z "$as_dir" && as_dir=.
5066 for ac_exec_ext in '' $ac_executable_extensions; do
5067 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5068 ac_cv_prog_ac_ct_AS="as"
5069 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5070 break 2
5072 done
5073 done
5074 IFS=$as_save_IFS
5078 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5079 if test -n "$ac_ct_AS"; then
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5081 $as_echo "$ac_ct_AS" >&6; }
5082 else
5083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5084 $as_echo "no" >&6; }
5087 if test "x$ac_ct_AS" = x; then
5088 AS=""
5089 else
5090 case $cross_compiling:$ac_tool_warned in
5091 yes:)
5092 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5093 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5094 ac_tool_warned=yes ;;
5095 esac
5096 AS=$ac_ct_AS
5098 else
5099 AS="$ac_cv_prog_AS"
5102 if test -n "$ac_tool_prefix"; then
5103 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5104 set dummy ${ac_tool_prefix}ar; ac_word=$2
5105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5106 $as_echo_n "checking for $ac_word... " >&6; }
5107 if test "${ac_cv_prog_AR+set}" = set; then :
5108 $as_echo_n "(cached) " >&6
5109 else
5110 if test -n "$AR"; then
5111 ac_cv_prog_AR="$AR" # Let the user override the test.
5112 else
5113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5114 for as_dir in $PATH
5116 IFS=$as_save_IFS
5117 test -z "$as_dir" && as_dir=.
5118 for ac_exec_ext in '' $ac_executable_extensions; do
5119 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5120 ac_cv_prog_AR="${ac_tool_prefix}ar"
5121 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5122 break 2
5124 done
5125 done
5126 IFS=$as_save_IFS
5130 AR=$ac_cv_prog_AR
5131 if test -n "$AR"; then
5132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5133 $as_echo "$AR" >&6; }
5134 else
5135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5136 $as_echo "no" >&6; }
5141 if test -z "$ac_cv_prog_AR"; then
5142 ac_ct_AR=$AR
5143 # Extract the first word of "ar", so it can be a program name with args.
5144 set dummy ar; ac_word=$2
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5146 $as_echo_n "checking for $ac_word... " >&6; }
5147 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5148 $as_echo_n "(cached) " >&6
5149 else
5150 if test -n "$ac_ct_AR"; then
5151 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5152 else
5153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5154 for as_dir in $PATH
5156 IFS=$as_save_IFS
5157 test -z "$as_dir" && as_dir=.
5158 for ac_exec_ext in '' $ac_executable_extensions; do
5159 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5160 ac_cv_prog_ac_ct_AR="ar"
5161 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5162 break 2
5164 done
5165 done
5166 IFS=$as_save_IFS
5170 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5171 if test -n "$ac_ct_AR"; then
5172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5173 $as_echo "$ac_ct_AR" >&6; }
5174 else
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5176 $as_echo "no" >&6; }
5179 if test "x$ac_ct_AR" = x; then
5180 AR=""
5181 else
5182 case $cross_compiling:$ac_tool_warned in
5183 yes:)
5184 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5185 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5186 ac_tool_warned=yes ;;
5187 esac
5188 AR=$ac_ct_AR
5190 else
5191 AR="$ac_cv_prog_AR"
5194 if test -n "$ac_tool_prefix"; then
5195 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5196 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5198 $as_echo_n "checking for $ac_word... " >&6; }
5199 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5200 $as_echo_n "(cached) " >&6
5201 else
5202 if test -n "$RANLIB"; then
5203 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5204 else
5205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5206 for as_dir in $PATH
5208 IFS=$as_save_IFS
5209 test -z "$as_dir" && as_dir=.
5210 for ac_exec_ext in '' $ac_executable_extensions; do
5211 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5212 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5213 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5214 break 2
5216 done
5217 done
5218 IFS=$as_save_IFS
5222 RANLIB=$ac_cv_prog_RANLIB
5223 if test -n "$RANLIB"; then
5224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5225 $as_echo "$RANLIB" >&6; }
5226 else
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5228 $as_echo "no" >&6; }
5233 if test -z "$ac_cv_prog_RANLIB"; then
5234 ac_ct_RANLIB=$RANLIB
5235 # Extract the first word of "ranlib", so it can be a program name with args.
5236 set dummy ranlib; ac_word=$2
5237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5238 $as_echo_n "checking for $ac_word... " >&6; }
5239 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5240 $as_echo_n "(cached) " >&6
5241 else
5242 if test -n "$ac_ct_RANLIB"; then
5243 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5244 else
5245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5246 for as_dir in $PATH
5248 IFS=$as_save_IFS
5249 test -z "$as_dir" && as_dir=.
5250 for ac_exec_ext in '' $ac_executable_extensions; do
5251 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5252 ac_cv_prog_ac_ct_RANLIB="ranlib"
5253 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5254 break 2
5256 done
5257 done
5258 IFS=$as_save_IFS
5262 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5263 if test -n "$ac_ct_RANLIB"; then
5264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5265 $as_echo "$ac_ct_RANLIB" >&6; }
5266 else
5267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5268 $as_echo "no" >&6; }
5271 if test "x$ac_ct_RANLIB" = x; then
5272 RANLIB="ranlib-not-found-in-path-error"
5273 else
5274 case $cross_compiling:$ac_tool_warned in
5275 yes:)
5276 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5277 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5278 ac_tool_warned=yes ;;
5279 esac
5280 RANLIB=$ac_ct_RANLIB
5282 else
5283 RANLIB="$ac_cv_prog_RANLIB"
5288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5289 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5290 # Check whether --enable-maintainer-mode was given.
5291 if test "${enable_maintainer_mode+set}" = set; then :
5292 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5293 else
5294 USE_MAINTAINER_MODE=no
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5298 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5299 if test $USE_MAINTAINER_MODE = yes; then
5300 MAINTAINER_MODE_TRUE=
5301 MAINTAINER_MODE_FALSE='#'
5302 else
5303 MAINTAINER_MODE_TRUE='#'
5304 MAINTAINER_MODE_FALSE=
5307 MAINT=$MAINTAINER_MODE_TRUE
5311 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5312 # which are themselves conditionally expanded.
5313 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5314 ## other macros from doing the same. This should be automated.) -pme
5316 # Check for C library flavor since GNU/Linux platforms use different
5317 # configuration directories depending on the C library in use.
5318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5319 /* end confdefs.h. */
5321 #include <stdio.h>
5322 #if __UCLIBC__
5323 _using_uclibc
5324 #endif
5326 _ACEOF
5327 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5328 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5329 uclibc=yes
5330 else
5331 uclibc=no
5333 rm -f conftest*
5336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5337 /* end confdefs.h. */
5339 #include <stdio.h>
5340 #if __BIONIC__
5341 _using_bionic
5342 #endif
5344 _ACEOF
5345 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5346 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5347 bionic=yes
5348 else
5349 bionic=no
5351 rm -f conftest*
5354 # Find platform-specific directories containing configuration info.
5355 # Also possibly modify flags used elsewhere, as needed by the platform.
5357 . $glibcxx_srcdir/configure.host
5358 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5359 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5361 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5365 # Libtool setup.
5366 if test "x${with_newlib}" != "xyes"; then
5367 enable_dlopen=yes
5372 case `pwd` in
5373 *\ * | *\ *)
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5375 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5376 esac
5380 macro_version='2.2.7a'
5381 macro_revision='1.3134'
5395 ltmain="$ac_aux_dir/ltmain.sh"
5397 # Backslashify metacharacters that are still active within
5398 # double-quoted strings.
5399 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5401 # Same as above, but do not quote variable references.
5402 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5404 # Sed substitution to delay expansion of an escaped shell variable in a
5405 # double_quote_subst'ed string.
5406 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5408 # Sed substitution to delay expansion of an escaped single quote.
5409 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5411 # Sed substitution to avoid accidental globbing in evaled expressions
5412 no_glob_subst='s/\*/\\\*/g'
5414 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5415 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5416 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5419 $as_echo_n "checking how to print strings... " >&6; }
5420 # Test print first, because it will be a builtin if present.
5421 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5422 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5423 ECHO='print -r --'
5424 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5425 ECHO='printf %s\n'
5426 else
5427 # Use this function as a fallback that always works.
5428 func_fallback_echo ()
5430 eval 'cat <<_LTECHO_EOF
5432 _LTECHO_EOF'
5434 ECHO='func_fallback_echo'
5437 # func_echo_all arg...
5438 # Invoke $ECHO with all args, space-separated.
5439 func_echo_all ()
5441 $ECHO ""
5444 case "$ECHO" in
5445 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5446 $as_echo "printf" >&6; } ;;
5447 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5448 $as_echo "print -r" >&6; } ;;
5449 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5450 $as_echo "cat" >&6; } ;;
5451 esac
5466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5467 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5468 if test "${ac_cv_path_SED+set}" = set; then :
5469 $as_echo_n "(cached) " >&6
5470 else
5471 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5472 for ac_i in 1 2 3 4 5 6 7; do
5473 ac_script="$ac_script$as_nl$ac_script"
5474 done
5475 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5476 { ac_script=; unset ac_script;}
5477 if test -z "$SED"; then
5478 ac_path_SED_found=false
5479 # Loop through the user's path and test for each of PROGNAME-LIST
5480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5481 for as_dir in $PATH
5483 IFS=$as_save_IFS
5484 test -z "$as_dir" && as_dir=.
5485 for ac_prog in sed gsed; do
5486 for ac_exec_ext in '' $ac_executable_extensions; do
5487 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5488 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5489 # Check for GNU ac_path_SED and select it if it is found.
5490 # Check for GNU $ac_path_SED
5491 case `"$ac_path_SED" --version 2>&1` in
5492 *GNU*)
5493 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5495 ac_count=0
5496 $as_echo_n 0123456789 >"conftest.in"
5497 while :
5499 cat "conftest.in" "conftest.in" >"conftest.tmp"
5500 mv "conftest.tmp" "conftest.in"
5501 cp "conftest.in" "conftest.nl"
5502 $as_echo '' >> "conftest.nl"
5503 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5504 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5505 as_fn_arith $ac_count + 1 && ac_count=$as_val
5506 if test $ac_count -gt ${ac_path_SED_max-0}; then
5507 # Best one so far, save it but keep looking for a better one
5508 ac_cv_path_SED="$ac_path_SED"
5509 ac_path_SED_max=$ac_count
5511 # 10*(2^10) chars as input seems more than enough
5512 test $ac_count -gt 10 && break
5513 done
5514 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5515 esac
5517 $ac_path_SED_found && break 3
5518 done
5519 done
5520 done
5521 IFS=$as_save_IFS
5522 if test -z "$ac_cv_path_SED"; then
5523 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5525 else
5526 ac_cv_path_SED=$SED
5530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5531 $as_echo "$ac_cv_path_SED" >&6; }
5532 SED="$ac_cv_path_SED"
5533 rm -f conftest.sed
5535 test -z "$SED" && SED=sed
5536 Xsed="$SED -e 1s/^X//"
5548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5549 $as_echo_n "checking for fgrep... " >&6; }
5550 if test "${ac_cv_path_FGREP+set}" = set; then :
5551 $as_echo_n "(cached) " >&6
5552 else
5553 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5554 then ac_cv_path_FGREP="$GREP -F"
5555 else
5556 if test -z "$FGREP"; then
5557 ac_path_FGREP_found=false
5558 # Loop through the user's path and test for each of PROGNAME-LIST
5559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5560 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5562 IFS=$as_save_IFS
5563 test -z "$as_dir" && as_dir=.
5564 for ac_prog in fgrep; do
5565 for ac_exec_ext in '' $ac_executable_extensions; do
5566 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5567 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5568 # Check for GNU ac_path_FGREP and select it if it is found.
5569 # Check for GNU $ac_path_FGREP
5570 case `"$ac_path_FGREP" --version 2>&1` in
5571 *GNU*)
5572 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5574 ac_count=0
5575 $as_echo_n 0123456789 >"conftest.in"
5576 while :
5578 cat "conftest.in" "conftest.in" >"conftest.tmp"
5579 mv "conftest.tmp" "conftest.in"
5580 cp "conftest.in" "conftest.nl"
5581 $as_echo 'FGREP' >> "conftest.nl"
5582 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5583 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5584 as_fn_arith $ac_count + 1 && ac_count=$as_val
5585 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5586 # Best one so far, save it but keep looking for a better one
5587 ac_cv_path_FGREP="$ac_path_FGREP"
5588 ac_path_FGREP_max=$ac_count
5590 # 10*(2^10) chars as input seems more than enough
5591 test $ac_count -gt 10 && break
5592 done
5593 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5594 esac
5596 $ac_path_FGREP_found && break 3
5597 done
5598 done
5599 done
5600 IFS=$as_save_IFS
5601 if test -z "$ac_cv_path_FGREP"; then
5602 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5604 else
5605 ac_cv_path_FGREP=$FGREP
5610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5611 $as_echo "$ac_cv_path_FGREP" >&6; }
5612 FGREP="$ac_cv_path_FGREP"
5615 test -z "$GREP" && GREP=grep
5635 # Check whether --with-gnu-ld was given.
5636 if test "${with_gnu_ld+set}" = set; then :
5637 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5638 else
5639 with_gnu_ld=no
5642 ac_prog=ld
5643 if test "$GCC" = yes; then
5644 # Check if gcc -print-prog-name=ld gives a path.
5645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5646 $as_echo_n "checking for ld used by $CC... " >&6; }
5647 case $host in
5648 *-*-mingw*)
5649 # gcc leaves a trailing carriage return which upsets mingw
5650 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5652 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5653 esac
5654 case $ac_prog in
5655 # Accept absolute paths.
5656 [\\/]* | ?:[\\/]*)
5657 re_direlt='/[^/][^/]*/\.\./'
5658 # Canonicalize the pathname of ld
5659 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5660 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5661 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5662 done
5663 test -z "$LD" && LD="$ac_prog"
5666 # If it fails, then pretend we aren't using GCC.
5667 ac_prog=ld
5670 # If it is relative, then search for the first ld in PATH.
5671 with_gnu_ld=unknown
5673 esac
5674 elif test "$with_gnu_ld" = yes; then
5675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5676 $as_echo_n "checking for GNU ld... " >&6; }
5677 else
5678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5679 $as_echo_n "checking for non-GNU ld... " >&6; }
5681 if test "${lt_cv_path_LD+set}" = set; then :
5682 $as_echo_n "(cached) " >&6
5683 else
5684 if test -z "$LD"; then
5685 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5686 for ac_dir in $PATH; do
5687 IFS="$lt_save_ifs"
5688 test -z "$ac_dir" && ac_dir=.
5689 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5690 lt_cv_path_LD="$ac_dir/$ac_prog"
5691 # Check to see if the program is GNU ld. I'd rather use --version,
5692 # but apparently some variants of GNU ld only accept -v.
5693 # Break only if it was the GNU/non-GNU ld that we prefer.
5694 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5695 *GNU* | *'with BFD'*)
5696 test "$with_gnu_ld" != no && break
5699 test "$with_gnu_ld" != yes && break
5701 esac
5703 done
5704 IFS="$lt_save_ifs"
5705 else
5706 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5710 LD="$lt_cv_path_LD"
5711 if test -n "$LD"; then
5712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5713 $as_echo "$LD" >&6; }
5714 else
5715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5716 $as_echo "no" >&6; }
5718 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5720 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5721 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5722 $as_echo_n "(cached) " >&6
5723 else
5724 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5725 case `$LD -v 2>&1 </dev/null` in
5726 *GNU* | *'with BFD'*)
5727 lt_cv_prog_gnu_ld=yes
5730 lt_cv_prog_gnu_ld=no
5732 esac
5734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5735 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5736 with_gnu_ld=$lt_cv_prog_gnu_ld
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5747 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5748 if test "${lt_cv_path_NM+set}" = set; then :
5749 $as_echo_n "(cached) " >&6
5750 else
5751 if test -n "$NM"; then
5752 # Let the user override the test.
5753 lt_cv_path_NM="$NM"
5754 else
5755 lt_nm_to_check="${ac_tool_prefix}nm"
5756 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5757 lt_nm_to_check="$lt_nm_to_check nm"
5759 for lt_tmp_nm in $lt_nm_to_check; do
5760 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5761 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5762 IFS="$lt_save_ifs"
5763 test -z "$ac_dir" && ac_dir=.
5764 tmp_nm="$ac_dir/$lt_tmp_nm"
5765 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5766 # Check to see if the nm accepts a BSD-compat flag.
5767 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5768 # nm: unknown option "B" ignored
5769 # Tru64's nm complains that /dev/null is an invalid object file
5770 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5771 */dev/null* | *'Invalid file or object type'*)
5772 lt_cv_path_NM="$tmp_nm -B"
5773 break
5776 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5777 */dev/null*)
5778 lt_cv_path_NM="$tmp_nm -p"
5779 break
5782 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5783 continue # so that we can try to find one that supports BSD flags
5785 esac
5787 esac
5789 done
5790 IFS="$lt_save_ifs"
5791 done
5792 : ${lt_cv_path_NM=no}
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5796 $as_echo "$lt_cv_path_NM" >&6; }
5797 if test "$lt_cv_path_NM" != "no"; then
5798 NM="$lt_cv_path_NM"
5799 else
5800 # Didn't find any BSD compatible name lister, look for dumpbin.
5801 if test -n "$DUMPBIN"; then :
5802 # Let the user override the test.
5803 else
5804 if test -n "$ac_tool_prefix"; then
5805 for ac_prog in dumpbin "link -dump"
5807 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5808 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5810 $as_echo_n "checking for $ac_word... " >&6; }
5811 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5812 $as_echo_n "(cached) " >&6
5813 else
5814 if test -n "$DUMPBIN"; then
5815 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5816 else
5817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5818 for as_dir in $PATH
5820 IFS=$as_save_IFS
5821 test -z "$as_dir" && as_dir=.
5822 for ac_exec_ext in '' $ac_executable_extensions; do
5823 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5824 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5825 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5826 break 2
5828 done
5829 done
5830 IFS=$as_save_IFS
5834 DUMPBIN=$ac_cv_prog_DUMPBIN
5835 if test -n "$DUMPBIN"; then
5836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5837 $as_echo "$DUMPBIN" >&6; }
5838 else
5839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5840 $as_echo "no" >&6; }
5844 test -n "$DUMPBIN" && break
5845 done
5847 if test -z "$DUMPBIN"; then
5848 ac_ct_DUMPBIN=$DUMPBIN
5849 for ac_prog in dumpbin "link -dump"
5851 # Extract the first word of "$ac_prog", so it can be a program name with args.
5852 set dummy $ac_prog; ac_word=$2
5853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5854 $as_echo_n "checking for $ac_word... " >&6; }
5855 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5856 $as_echo_n "(cached) " >&6
5857 else
5858 if test -n "$ac_ct_DUMPBIN"; then
5859 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5860 else
5861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5862 for as_dir in $PATH
5864 IFS=$as_save_IFS
5865 test -z "$as_dir" && as_dir=.
5866 for ac_exec_ext in '' $ac_executable_extensions; do
5867 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5868 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5869 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5870 break 2
5872 done
5873 done
5874 IFS=$as_save_IFS
5878 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5879 if test -n "$ac_ct_DUMPBIN"; then
5880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5881 $as_echo "$ac_ct_DUMPBIN" >&6; }
5882 else
5883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5884 $as_echo "no" >&6; }
5888 test -n "$ac_ct_DUMPBIN" && break
5889 done
5891 if test "x$ac_ct_DUMPBIN" = x; then
5892 DUMPBIN=":"
5893 else
5894 case $cross_compiling:$ac_tool_warned in
5895 yes:)
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5897 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5898 ac_tool_warned=yes ;;
5899 esac
5900 DUMPBIN=$ac_ct_DUMPBIN
5904 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5905 *COFF*)
5906 DUMPBIN="$DUMPBIN -symbols"
5909 DUMPBIN=:
5911 esac
5914 if test "$DUMPBIN" != ":"; then
5915 NM="$DUMPBIN"
5918 test -z "$NM" && NM=nm
5925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5926 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5927 if test "${lt_cv_nm_interface+set}" = set; then :
5928 $as_echo_n "(cached) " >&6
5929 else
5930 lt_cv_nm_interface="BSD nm"
5931 echo "int some_variable = 0;" > conftest.$ac_ext
5932 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5933 (eval "$ac_compile" 2>conftest.err)
5934 cat conftest.err >&5
5935 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5936 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5937 cat conftest.err >&5
5938 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5939 cat conftest.out >&5
5940 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5941 lt_cv_nm_interface="MS dumpbin"
5943 rm -f conftest*
5945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5946 $as_echo "$lt_cv_nm_interface" >&6; }
5948 # find the maximum length of command line arguments
5949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5950 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5951 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5952 $as_echo_n "(cached) " >&6
5953 else
5955 teststring="ABCD"
5957 case $build_os in
5958 msdosdjgpp*)
5959 # On DJGPP, this test can blow up pretty badly due to problems in libc
5960 # (any single argument exceeding 2000 bytes causes a buffer overrun
5961 # during glob expansion). Even if it were fixed, the result of this
5962 # check would be larger than it should be.
5963 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5966 gnu*)
5967 # Under GNU Hurd, this test is not required because there is
5968 # no limit to the length of command line arguments.
5969 # Libtool will interpret -1 as no limit whatsoever
5970 lt_cv_sys_max_cmd_len=-1;
5973 cygwin* | mingw* | cegcc*)
5974 # On Win9x/ME, this test blows up -- it succeeds, but takes
5975 # about 5 minutes as the teststring grows exponentially.
5976 # Worse, since 9x/ME are not pre-emptively multitasking,
5977 # you end up with a "frozen" computer, even though with patience
5978 # the test eventually succeeds (with a max line length of 256k).
5979 # Instead, let's just punt: use the minimum linelength reported by
5980 # all of the supported platforms: 8192 (on NT/2K/XP).
5981 lt_cv_sys_max_cmd_len=8192;
5984 mint*)
5985 # On MiNT this can take a long time and run out of memory.
5986 lt_cv_sys_max_cmd_len=8192;
5989 amigaos*)
5990 # On AmigaOS with pdksh, this test takes hours, literally.
5991 # So we just punt and use a minimum line length of 8192.
5992 lt_cv_sys_max_cmd_len=8192;
5995 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5996 # This has been around since 386BSD, at least. Likely further.
5997 if test -x /sbin/sysctl; then
5998 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5999 elif test -x /usr/sbin/sysctl; then
6000 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6001 else
6002 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6004 # And add a safety zone
6005 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6006 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6009 interix*)
6010 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6011 lt_cv_sys_max_cmd_len=196608
6014 osf*)
6015 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6016 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6017 # nice to cause kernel panics so lets avoid the loop below.
6018 # First set a reasonable default.
6019 lt_cv_sys_max_cmd_len=16384
6021 if test -x /sbin/sysconfig; then
6022 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6023 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6024 esac
6027 sco3.2v5*)
6028 lt_cv_sys_max_cmd_len=102400
6030 sysv5* | sco5v6* | sysv4.2uw2*)
6031 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6032 if test -n "$kargmax"; then
6033 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6034 else
6035 lt_cv_sys_max_cmd_len=32768
6039 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6040 if test -n "$lt_cv_sys_max_cmd_len"; then
6041 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6042 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6043 else
6044 # Make teststring a little bigger before we do anything with it.
6045 # a 1K string should be a reasonable start.
6046 for i in 1 2 3 4 5 6 7 8 ; do
6047 teststring=$teststring$teststring
6048 done
6049 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6050 # If test is not a shell built-in, we'll probably end up computing a
6051 # maximum length that is only half of the actual maximum length, but
6052 # we can't tell.
6053 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6054 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6055 test $i != 17 # 1/2 MB should be enough
6057 i=`expr $i + 1`
6058 teststring=$teststring$teststring
6059 done
6060 # Only check the string length outside the loop.
6061 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6062 teststring=
6063 # Add a significant safety factor because C++ compilers can tack on
6064 # massive amounts of additional arguments before passing them to the
6065 # linker. It appears as though 1/2 is a usable value.
6066 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6069 esac
6073 if test -n $lt_cv_sys_max_cmd_len ; then
6074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6075 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6076 else
6077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6078 $as_echo "none" >&6; }
6080 max_cmd_len=$lt_cv_sys_max_cmd_len
6087 : ${CP="cp -f"}
6088 : ${MV="mv -f"}
6089 : ${RM="rm -f"}
6091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6092 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6093 # Try some XSI features
6094 xsi_shell=no
6095 ( _lt_dummy="a/b/c"
6096 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6097 = c,a/b,, \
6098 && eval 'test $(( 1 + 1 )) -eq 2 \
6099 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6100 && xsi_shell=yes
6101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6102 $as_echo "$xsi_shell" >&6; }
6105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6106 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6107 lt_shell_append=no
6108 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6109 >/dev/null 2>&1 \
6110 && lt_shell_append=yes
6111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6112 $as_echo "$lt_shell_append" >&6; }
6115 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6116 lt_unset=unset
6117 else
6118 lt_unset=false
6125 # test EBCDIC or ASCII
6126 case `echo X|tr X '\101'` in
6127 A) # ASCII based system
6128 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6129 lt_SP2NL='tr \040 \012'
6130 lt_NL2SP='tr \015\012 \040\040'
6132 *) # EBCDIC based system
6133 lt_SP2NL='tr \100 \n'
6134 lt_NL2SP='tr \r\n \100\100'
6136 esac
6146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6147 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6148 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6149 $as_echo_n "(cached) " >&6
6150 else
6151 lt_cv_ld_reload_flag='-r'
6153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6154 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6155 reload_flag=$lt_cv_ld_reload_flag
6156 case $reload_flag in
6157 "" | " "*) ;;
6158 *) reload_flag=" $reload_flag" ;;
6159 esac
6160 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6161 case $host_os in
6162 darwin*)
6163 if test "$GCC" = yes; then
6164 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6165 else
6166 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6169 esac
6179 if test -n "$ac_tool_prefix"; then
6180 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6181 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6183 $as_echo_n "checking for $ac_word... " >&6; }
6184 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6185 $as_echo_n "(cached) " >&6
6186 else
6187 if test -n "$OBJDUMP"; then
6188 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6189 else
6190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6191 for as_dir in $PATH
6193 IFS=$as_save_IFS
6194 test -z "$as_dir" && as_dir=.
6195 for ac_exec_ext in '' $ac_executable_extensions; do
6196 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6197 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6198 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6199 break 2
6201 done
6202 done
6203 IFS=$as_save_IFS
6207 OBJDUMP=$ac_cv_prog_OBJDUMP
6208 if test -n "$OBJDUMP"; then
6209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6210 $as_echo "$OBJDUMP" >&6; }
6211 else
6212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6213 $as_echo "no" >&6; }
6218 if test -z "$ac_cv_prog_OBJDUMP"; then
6219 ac_ct_OBJDUMP=$OBJDUMP
6220 # Extract the first word of "objdump", so it can be a program name with args.
6221 set dummy objdump; ac_word=$2
6222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6223 $as_echo_n "checking for $ac_word... " >&6; }
6224 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6225 $as_echo_n "(cached) " >&6
6226 else
6227 if test -n "$ac_ct_OBJDUMP"; then
6228 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6229 else
6230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6231 for as_dir in $PATH
6233 IFS=$as_save_IFS
6234 test -z "$as_dir" && as_dir=.
6235 for ac_exec_ext in '' $ac_executable_extensions; do
6236 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6237 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6238 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6239 break 2
6241 done
6242 done
6243 IFS=$as_save_IFS
6247 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6248 if test -n "$ac_ct_OBJDUMP"; then
6249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6250 $as_echo "$ac_ct_OBJDUMP" >&6; }
6251 else
6252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6253 $as_echo "no" >&6; }
6256 if test "x$ac_ct_OBJDUMP" = x; then
6257 OBJDUMP="false"
6258 else
6259 case $cross_compiling:$ac_tool_warned in
6260 yes:)
6261 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6262 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6263 ac_tool_warned=yes ;;
6264 esac
6265 OBJDUMP=$ac_ct_OBJDUMP
6267 else
6268 OBJDUMP="$ac_cv_prog_OBJDUMP"
6271 test -z "$OBJDUMP" && OBJDUMP=objdump
6281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6282 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6283 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6284 $as_echo_n "(cached) " >&6
6285 else
6286 lt_cv_file_magic_cmd='$MAGIC_CMD'
6287 lt_cv_file_magic_test_file=
6288 lt_cv_deplibs_check_method='unknown'
6289 # Need to set the preceding variable on all platforms that support
6290 # interlibrary dependencies.
6291 # 'none' -- dependencies not supported.
6292 # `unknown' -- same as none, but documents that we really don't know.
6293 # 'pass_all' -- all dependencies passed with no checks.
6294 # 'test_compile' -- check by making test program.
6295 # 'file_magic [[regex]]' -- check by looking for files in library path
6296 # which responds to the $file_magic_cmd with a given extended regex.
6297 # If you have `file' or equivalent on your system and you're not sure
6298 # whether `pass_all' will *always* work, you probably want this one.
6300 case $host_os in
6301 aix[4-9]*)
6302 lt_cv_deplibs_check_method=pass_all
6305 beos*)
6306 lt_cv_deplibs_check_method=pass_all
6309 bsdi[45]*)
6310 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6311 lt_cv_file_magic_cmd='/usr/bin/file -L'
6312 lt_cv_file_magic_test_file=/shlib/libc.so
6315 cygwin*)
6316 # func_win32_libid is a shell function defined in ltmain.sh
6317 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6318 lt_cv_file_magic_cmd='func_win32_libid'
6321 mingw* | pw32*)
6322 # Base MSYS/MinGW do not provide the 'file' command needed by
6323 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6324 # unless we find 'file', for example because we are cross-compiling.
6325 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6326 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6327 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6328 lt_cv_file_magic_cmd='func_win32_libid'
6329 else
6330 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6331 lt_cv_file_magic_cmd='$OBJDUMP -f'
6335 cegcc*)
6336 # use the weaker test based on 'objdump'. See mingw*.
6337 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6338 lt_cv_file_magic_cmd='$OBJDUMP -f'
6341 darwin* | rhapsody*)
6342 lt_cv_deplibs_check_method=pass_all
6345 freebsd* | dragonfly*)
6346 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6347 case $host_cpu in
6348 i*86 )
6349 # Not sure whether the presence of OpenBSD here was a mistake.
6350 # Let's accept both of them until this is cleared up.
6351 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6352 lt_cv_file_magic_cmd=/usr/bin/file
6353 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6355 esac
6356 else
6357 lt_cv_deplibs_check_method=pass_all
6361 gnu*)
6362 lt_cv_deplibs_check_method=pass_all
6365 haiku*)
6366 lt_cv_deplibs_check_method=pass_all
6369 hpux10.20* | hpux11*)
6370 lt_cv_file_magic_cmd=/usr/bin/file
6371 case $host_cpu in
6372 ia64*)
6373 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6374 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6376 hppa*64*)
6377 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
6378 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6381 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6382 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6384 esac
6387 interix[3-9]*)
6388 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6389 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6392 irix5* | irix6* | nonstopux*)
6393 case $LD in
6394 *-32|*"-32 ") libmagic=32-bit;;
6395 *-n32|*"-n32 ") libmagic=N32;;
6396 *-64|*"-64 ") libmagic=64-bit;;
6397 *) libmagic=never-match;;
6398 esac
6399 lt_cv_deplibs_check_method=pass_all
6402 # This must be Linux ELF.
6403 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6404 lt_cv_deplibs_check_method=pass_all
6407 netbsd*)
6408 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6409 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6410 else
6411 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6415 newos6*)
6416 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6417 lt_cv_file_magic_cmd=/usr/bin/file
6418 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6421 *nto* | *qnx*)
6422 lt_cv_deplibs_check_method=pass_all
6425 openbsd*)
6426 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6427 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6428 else
6429 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6433 osf3* | osf4* | osf5*)
6434 lt_cv_deplibs_check_method=pass_all
6437 rdos*)
6438 lt_cv_deplibs_check_method=pass_all
6441 solaris*)
6442 lt_cv_deplibs_check_method=pass_all
6445 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6446 lt_cv_deplibs_check_method=pass_all
6449 sysv4 | sysv4.3*)
6450 case $host_vendor in
6451 motorola)
6452 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
6453 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6455 ncr)
6456 lt_cv_deplibs_check_method=pass_all
6458 sequent)
6459 lt_cv_file_magic_cmd='/bin/file'
6460 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6462 sni)
6463 lt_cv_file_magic_cmd='/bin/file'
6464 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6465 lt_cv_file_magic_test_file=/lib/libc.so
6467 siemens)
6468 lt_cv_deplibs_check_method=pass_all
6471 lt_cv_deplibs_check_method=pass_all
6473 esac
6476 tpf*)
6477 lt_cv_deplibs_check_method=pass_all
6479 esac
6482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6483 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6484 file_magic_cmd=$lt_cv_file_magic_cmd
6485 deplibs_check_method=$lt_cv_deplibs_check_method
6486 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6499 if test -n "$ac_tool_prefix"; then
6500 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6501 set dummy ${ac_tool_prefix}ar; ac_word=$2
6502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6503 $as_echo_n "checking for $ac_word... " >&6; }
6504 if test "${ac_cv_prog_AR+set}" = set; then :
6505 $as_echo_n "(cached) " >&6
6506 else
6507 if test -n "$AR"; then
6508 ac_cv_prog_AR="$AR" # Let the user override the test.
6509 else
6510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6511 for as_dir in $PATH
6513 IFS=$as_save_IFS
6514 test -z "$as_dir" && as_dir=.
6515 for ac_exec_ext in '' $ac_executable_extensions; do
6516 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6517 ac_cv_prog_AR="${ac_tool_prefix}ar"
6518 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6519 break 2
6521 done
6522 done
6523 IFS=$as_save_IFS
6527 AR=$ac_cv_prog_AR
6528 if test -n "$AR"; then
6529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6530 $as_echo "$AR" >&6; }
6531 else
6532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6533 $as_echo "no" >&6; }
6538 if test -z "$ac_cv_prog_AR"; then
6539 ac_ct_AR=$AR
6540 # Extract the first word of "ar", so it can be a program name with args.
6541 set dummy ar; ac_word=$2
6542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6543 $as_echo_n "checking for $ac_word... " >&6; }
6544 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6545 $as_echo_n "(cached) " >&6
6546 else
6547 if test -n "$ac_ct_AR"; then
6548 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6549 else
6550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6551 for as_dir in $PATH
6553 IFS=$as_save_IFS
6554 test -z "$as_dir" && as_dir=.
6555 for ac_exec_ext in '' $ac_executable_extensions; do
6556 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6557 ac_cv_prog_ac_ct_AR="ar"
6558 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6559 break 2
6561 done
6562 done
6563 IFS=$as_save_IFS
6567 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6568 if test -n "$ac_ct_AR"; then
6569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6570 $as_echo "$ac_ct_AR" >&6; }
6571 else
6572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6573 $as_echo "no" >&6; }
6576 if test "x$ac_ct_AR" = x; then
6577 AR="false"
6578 else
6579 case $cross_compiling:$ac_tool_warned in
6580 yes:)
6581 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6582 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6583 ac_tool_warned=yes ;;
6584 esac
6585 AR=$ac_ct_AR
6587 else
6588 AR="$ac_cv_prog_AR"
6591 test -z "$AR" && AR=ar
6592 test -z "$AR_FLAGS" && AR_FLAGS=cru
6604 if test -n "$ac_tool_prefix"; then
6605 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6606 set dummy ${ac_tool_prefix}strip; ac_word=$2
6607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6608 $as_echo_n "checking for $ac_word... " >&6; }
6609 if test "${ac_cv_prog_STRIP+set}" = set; then :
6610 $as_echo_n "(cached) " >&6
6611 else
6612 if test -n "$STRIP"; then
6613 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6614 else
6615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6616 for as_dir in $PATH
6618 IFS=$as_save_IFS
6619 test -z "$as_dir" && as_dir=.
6620 for ac_exec_ext in '' $ac_executable_extensions; do
6621 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6622 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6623 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6624 break 2
6626 done
6627 done
6628 IFS=$as_save_IFS
6632 STRIP=$ac_cv_prog_STRIP
6633 if test -n "$STRIP"; then
6634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6635 $as_echo "$STRIP" >&6; }
6636 else
6637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6638 $as_echo "no" >&6; }
6643 if test -z "$ac_cv_prog_STRIP"; then
6644 ac_ct_STRIP=$STRIP
6645 # Extract the first word of "strip", so it can be a program name with args.
6646 set dummy strip; ac_word=$2
6647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6648 $as_echo_n "checking for $ac_word... " >&6; }
6649 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6650 $as_echo_n "(cached) " >&6
6651 else
6652 if test -n "$ac_ct_STRIP"; then
6653 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6654 else
6655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6656 for as_dir in $PATH
6658 IFS=$as_save_IFS
6659 test -z "$as_dir" && as_dir=.
6660 for ac_exec_ext in '' $ac_executable_extensions; do
6661 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6662 ac_cv_prog_ac_ct_STRIP="strip"
6663 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6664 break 2
6666 done
6667 done
6668 IFS=$as_save_IFS
6672 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6673 if test -n "$ac_ct_STRIP"; then
6674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6675 $as_echo "$ac_ct_STRIP" >&6; }
6676 else
6677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6678 $as_echo "no" >&6; }
6681 if test "x$ac_ct_STRIP" = x; then
6682 STRIP=":"
6683 else
6684 case $cross_compiling:$ac_tool_warned in
6685 yes:)
6686 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6687 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6688 ac_tool_warned=yes ;;
6689 esac
6690 STRIP=$ac_ct_STRIP
6692 else
6693 STRIP="$ac_cv_prog_STRIP"
6696 test -z "$STRIP" && STRIP=:
6703 if test -n "$ac_tool_prefix"; then
6704 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6705 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6707 $as_echo_n "checking for $ac_word... " >&6; }
6708 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6709 $as_echo_n "(cached) " >&6
6710 else
6711 if test -n "$RANLIB"; then
6712 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6713 else
6714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6715 for as_dir in $PATH
6717 IFS=$as_save_IFS
6718 test -z "$as_dir" && as_dir=.
6719 for ac_exec_ext in '' $ac_executable_extensions; do
6720 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6721 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6722 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6723 break 2
6725 done
6726 done
6727 IFS=$as_save_IFS
6731 RANLIB=$ac_cv_prog_RANLIB
6732 if test -n "$RANLIB"; then
6733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6734 $as_echo "$RANLIB" >&6; }
6735 else
6736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6737 $as_echo "no" >&6; }
6742 if test -z "$ac_cv_prog_RANLIB"; then
6743 ac_ct_RANLIB=$RANLIB
6744 # Extract the first word of "ranlib", so it can be a program name with args.
6745 set dummy ranlib; ac_word=$2
6746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6747 $as_echo_n "checking for $ac_word... " >&6; }
6748 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6749 $as_echo_n "(cached) " >&6
6750 else
6751 if test -n "$ac_ct_RANLIB"; then
6752 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6753 else
6754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6755 for as_dir in $PATH
6757 IFS=$as_save_IFS
6758 test -z "$as_dir" && as_dir=.
6759 for ac_exec_ext in '' $ac_executable_extensions; do
6760 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6761 ac_cv_prog_ac_ct_RANLIB="ranlib"
6762 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6763 break 2
6765 done
6766 done
6767 IFS=$as_save_IFS
6771 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6772 if test -n "$ac_ct_RANLIB"; then
6773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6774 $as_echo "$ac_ct_RANLIB" >&6; }
6775 else
6776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6777 $as_echo "no" >&6; }
6780 if test "x$ac_ct_RANLIB" = x; then
6781 RANLIB=":"
6782 else
6783 case $cross_compiling:$ac_tool_warned in
6784 yes:)
6785 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6786 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6787 ac_tool_warned=yes ;;
6788 esac
6789 RANLIB=$ac_ct_RANLIB
6791 else
6792 RANLIB="$ac_cv_prog_RANLIB"
6795 test -z "$RANLIB" && RANLIB=:
6802 # Determine commands to create old-style static archives.
6803 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6804 old_postinstall_cmds='chmod 644 $oldlib'
6805 old_postuninstall_cmds=
6807 if test -n "$RANLIB"; then
6808 case $host_os in
6809 openbsd*)
6810 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6813 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6815 esac
6816 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6819 case $host_os in
6820 darwin*)
6821 lock_old_archive_extraction=yes ;;
6823 lock_old_archive_extraction=no ;;
6824 esac
6864 # If no C compiler was specified, use CC.
6865 LTCC=${LTCC-"$CC"}
6867 # If no C compiler flags were specified, use CFLAGS.
6868 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6870 # Allow CC to be a program name with arguments.
6871 compiler=$CC
6874 # Check for command to grab the raw symbol name followed by C symbol from nm.
6875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6876 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6877 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6878 $as_echo_n "(cached) " >&6
6879 else
6881 # These are sane defaults that work on at least a few old systems.
6882 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6884 # Character class describing NM global symbol codes.
6885 symcode='[BCDEGRST]'
6887 # Regexp to match symbols that can be accessed directly from C.
6888 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6890 # Define system-specific variables.
6891 case $host_os in
6892 aix*)
6893 symcode='[BCDT]'
6895 cygwin* | mingw* | pw32* | cegcc*)
6896 symcode='[ABCDGISTW]'
6898 hpux*)
6899 if test "$host_cpu" = ia64; then
6900 symcode='[ABCDEGRST]'
6903 irix* | nonstopux*)
6904 symcode='[BCDEGRST]'
6906 osf*)
6907 symcode='[BCDEGQRST]'
6909 solaris*)
6910 symcode='[BDRT]'
6912 sco3.2v5*)
6913 symcode='[DT]'
6915 sysv4.2uw2*)
6916 symcode='[DT]'
6918 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6919 symcode='[ABDT]'
6921 sysv4)
6922 symcode='[DFNSTU]'
6924 esac
6926 # If we're using GNU nm, then use its standard symbol codes.
6927 case `$NM -V 2>&1` in
6928 *GNU* | *'with BFD'*)
6929 symcode='[ABCDGIRSTW]' ;;
6930 esac
6932 # Transform an extracted symbol line into a proper C declaration.
6933 # Some systems (esp. on ia64) link data and code symbols differently,
6934 # so use this general approach.
6935 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6937 # Transform an extracted symbol line into symbol name and symbol address
6938 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6939 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
6941 # Handle CRLF in mingw tool chain
6942 opt_cr=
6943 case $build_os in
6944 mingw*)
6945 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6947 esac
6949 # Try without a prefix underscore, then with it.
6950 for ac_symprfx in "" "_"; do
6952 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6953 symxfrm="\\1 $ac_symprfx\\2 \\2"
6955 # Write the raw and C identifiers.
6956 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6957 # Fake it for dumpbin and say T for any non-static function
6958 # and D for any global variable.
6959 # Also find C++ and __fastcall symbols from MSVC++,
6960 # which start with @ or ?.
6961 lt_cv_sys_global_symbol_pipe="$AWK '"\
6962 " {last_section=section; section=\$ 3};"\
6963 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6964 " \$ 0!~/External *\|/{next};"\
6965 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6966 " {if(hide[section]) next};"\
6967 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6968 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6969 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6970 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6971 " ' prfx=^$ac_symprfx"
6972 else
6973 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6976 # Check to see that the pipe works correctly.
6977 pipe_works=no
6979 rm -f conftest*
6980 cat > conftest.$ac_ext <<_LT_EOF
6981 #ifdef __cplusplus
6982 extern "C" {
6983 #endif
6984 char nm_test_var;
6985 void nm_test_func(void);
6986 void nm_test_func(void){}
6987 #ifdef __cplusplus
6989 #endif
6990 int main(){nm_test_var='a';nm_test_func();return(0);}
6991 _LT_EOF
6993 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6994 (eval $ac_compile) 2>&5
6995 ac_status=$?
6996 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6997 test $ac_status = 0; }; then
6998 # Now try to grab the symbols.
6999 nlist=conftest.nm
7000 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7001 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7002 ac_status=$?
7003 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7004 test $ac_status = 0; } && test -s "$nlist"; then
7005 # Try sorting and uniquifying the output.
7006 if sort "$nlist" | uniq > "$nlist"T; then
7007 mv -f "$nlist"T "$nlist"
7008 else
7009 rm -f "$nlist"T
7012 # Make sure that we snagged all the symbols we need.
7013 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7014 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7015 cat <<_LT_EOF > conftest.$ac_ext
7016 #ifdef __cplusplus
7017 extern "C" {
7018 #endif
7020 _LT_EOF
7021 # Now generate the symbol file.
7022 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7024 cat <<_LT_EOF >> conftest.$ac_ext
7026 /* The mapping between symbol names and symbols. */
7027 const struct {
7028 const char *name;
7029 void *address;
7031 lt__PROGRAM__LTX_preloaded_symbols[] =
7033 { "@PROGRAM@", (void *) 0 },
7034 _LT_EOF
7035 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7036 cat <<\_LT_EOF >> conftest.$ac_ext
7037 {0, (void *) 0}
7040 /* This works around a problem in FreeBSD linker */
7041 #ifdef FREEBSD_WORKAROUND
7042 static const void *lt_preloaded_setup() {
7043 return lt__PROGRAM__LTX_preloaded_symbols;
7045 #endif
7047 #ifdef __cplusplus
7049 #endif
7050 _LT_EOF
7051 # Now try linking the two files.
7052 mv conftest.$ac_objext conftstm.$ac_objext
7053 lt_save_LIBS="$LIBS"
7054 lt_save_CFLAGS="$CFLAGS"
7055 LIBS="conftstm.$ac_objext"
7056 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7057 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7058 (eval $ac_link) 2>&5
7059 ac_status=$?
7060 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7061 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7062 pipe_works=yes
7064 LIBS="$lt_save_LIBS"
7065 CFLAGS="$lt_save_CFLAGS"
7066 else
7067 echo "cannot find nm_test_func in $nlist" >&5
7069 else
7070 echo "cannot find nm_test_var in $nlist" >&5
7072 else
7073 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7075 else
7076 echo "$progname: failed program was:" >&5
7077 cat conftest.$ac_ext >&5
7079 rm -rf conftest* conftst*
7081 # Do not use the global_symbol_pipe unless it works.
7082 if test "$pipe_works" = yes; then
7083 break
7084 else
7085 lt_cv_sys_global_symbol_pipe=
7087 done
7091 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7092 lt_cv_sys_global_symbol_to_cdecl=
7094 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7096 $as_echo "failed" >&6; }
7097 else
7098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7099 $as_echo "ok" >&6; }
7123 # Check whether --enable-libtool-lock was given.
7124 if test "${enable_libtool_lock+set}" = set; then :
7125 enableval=$enable_libtool_lock;
7128 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7130 # Some flags need to be propagated to the compiler or linker for good
7131 # libtool support.
7132 case $host in
7133 ia64-*-hpux*)
7134 # Find out which ABI we are using.
7135 echo 'int i;' > conftest.$ac_ext
7136 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7137 (eval $ac_compile) 2>&5
7138 ac_status=$?
7139 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7140 test $ac_status = 0; }; then
7141 case `/usr/bin/file conftest.$ac_objext` in
7142 *ELF-32*)
7143 HPUX_IA64_MODE="32"
7145 *ELF-64*)
7146 HPUX_IA64_MODE="64"
7148 esac
7150 rm -rf conftest*
7152 *-*-irix6*)
7153 # Find out which ABI we are using.
7154 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7155 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7156 (eval $ac_compile) 2>&5
7157 ac_status=$?
7158 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7159 test $ac_status = 0; }; then
7160 if test "$lt_cv_prog_gnu_ld" = yes; then
7161 case `/usr/bin/file conftest.$ac_objext` in
7162 *32-bit*)
7163 LD="${LD-ld} -melf32bsmip"
7165 *N32*)
7166 LD="${LD-ld} -melf32bmipn32"
7168 *64-bit*)
7169 LD="${LD-ld} -melf64bmip"
7171 esac
7172 else
7173 case `/usr/bin/file conftest.$ac_objext` in
7174 *32-bit*)
7175 LD="${LD-ld} -32"
7177 *N32*)
7178 LD="${LD-ld} -n32"
7180 *64-bit*)
7181 LD="${LD-ld} -64"
7183 esac
7186 rm -rf conftest*
7189 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7190 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7191 # Find out which ABI we are using.
7192 echo 'int i;' > conftest.$ac_ext
7193 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7194 (eval $ac_compile) 2>&5
7195 ac_status=$?
7196 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7197 test $ac_status = 0; }; then
7198 case `/usr/bin/file conftest.o` in
7199 *32-bit*)
7200 case $host in
7201 x86_64-*kfreebsd*-gnu)
7202 LD="${LD-ld} -m elf_i386_fbsd"
7204 x86_64-*linux*)
7205 case `/usr/bin/file conftest.o` in
7206 *x86-64*)
7207 LD="${LD-ld} -m elf32_x86_64"
7210 LD="${LD-ld} -m elf_i386"
7212 esac
7214 powerpc64le-*linux*)
7215 LD="${LD-ld} -m elf32lppclinux"
7217 powerpc64-*linux*)
7218 LD="${LD-ld} -m elf32ppclinux"
7220 s390x-*linux*)
7221 LD="${LD-ld} -m elf_s390"
7223 sparc64-*linux*)
7224 LD="${LD-ld} -m elf32_sparc"
7226 esac
7228 *64-bit*)
7229 case $host in
7230 x86_64-*kfreebsd*-gnu)
7231 LD="${LD-ld} -m elf_x86_64_fbsd"
7233 x86_64-*linux*)
7234 LD="${LD-ld} -m elf_x86_64"
7236 powerpcle-*linux*)
7237 LD="${LD-ld} -m elf64lppc"
7239 powerpc-*linux*)
7240 LD="${LD-ld} -m elf64ppc"
7242 s390*-*linux*|s390*-*tpf*)
7243 LD="${LD-ld} -m elf64_s390"
7245 sparc*-*linux*)
7246 LD="${LD-ld} -m elf64_sparc"
7248 esac
7250 esac
7252 rm -rf conftest*
7255 *-*-sco3.2v5*)
7256 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7257 SAVE_CFLAGS="$CFLAGS"
7258 CFLAGS="$CFLAGS -belf"
7259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7260 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7261 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7262 $as_echo_n "(cached) " >&6
7263 else
7264 ac_ext=c
7265 ac_cpp='$CPP $CPPFLAGS'
7266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7270 if test x$gcc_no_link = xyes; then
7271 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7274 /* end confdefs.h. */
7277 main ()
7281 return 0;
7283 _ACEOF
7284 if ac_fn_c_try_link "$LINENO"; then :
7285 lt_cv_cc_needs_belf=yes
7286 else
7287 lt_cv_cc_needs_belf=no
7289 rm -f core conftest.err conftest.$ac_objext \
7290 conftest$ac_exeext conftest.$ac_ext
7291 ac_ext=c
7292 ac_cpp='$CPP $CPPFLAGS'
7293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7299 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7300 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7301 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7302 CFLAGS="$SAVE_CFLAGS"
7305 sparc*-*solaris*)
7306 # Find out which ABI we are using.
7307 echo 'int i;' > conftest.$ac_ext
7308 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7309 (eval $ac_compile) 2>&5
7310 ac_status=$?
7311 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7312 test $ac_status = 0; }; then
7313 case `/usr/bin/file conftest.o` in
7314 *64-bit*)
7315 case $lt_cv_prog_gnu_ld in
7316 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7318 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7319 LD="${LD-ld} -64"
7322 esac
7324 esac
7326 rm -rf conftest*
7328 esac
7330 need_locks="$enable_libtool_lock"
7333 case $host_os in
7334 rhapsody* | darwin*)
7335 if test -n "$ac_tool_prefix"; then
7336 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7337 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7339 $as_echo_n "checking for $ac_word... " >&6; }
7340 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7341 $as_echo_n "(cached) " >&6
7342 else
7343 if test -n "$DSYMUTIL"; then
7344 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7345 else
7346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7347 for as_dir in $PATH
7349 IFS=$as_save_IFS
7350 test -z "$as_dir" && as_dir=.
7351 for ac_exec_ext in '' $ac_executable_extensions; do
7352 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7353 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7354 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7355 break 2
7357 done
7358 done
7359 IFS=$as_save_IFS
7363 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7364 if test -n "$DSYMUTIL"; then
7365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7366 $as_echo "$DSYMUTIL" >&6; }
7367 else
7368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7369 $as_echo "no" >&6; }
7374 if test -z "$ac_cv_prog_DSYMUTIL"; then
7375 ac_ct_DSYMUTIL=$DSYMUTIL
7376 # Extract the first word of "dsymutil", so it can be a program name with args.
7377 set dummy dsymutil; ac_word=$2
7378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7379 $as_echo_n "checking for $ac_word... " >&6; }
7380 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7381 $as_echo_n "(cached) " >&6
7382 else
7383 if test -n "$ac_ct_DSYMUTIL"; then
7384 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7385 else
7386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7387 for as_dir in $PATH
7389 IFS=$as_save_IFS
7390 test -z "$as_dir" && as_dir=.
7391 for ac_exec_ext in '' $ac_executable_extensions; do
7392 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7393 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7394 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7395 break 2
7397 done
7398 done
7399 IFS=$as_save_IFS
7403 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7404 if test -n "$ac_ct_DSYMUTIL"; then
7405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7406 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7407 else
7408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7409 $as_echo "no" >&6; }
7412 if test "x$ac_ct_DSYMUTIL" = x; then
7413 DSYMUTIL=":"
7414 else
7415 case $cross_compiling:$ac_tool_warned in
7416 yes:)
7417 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7418 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7419 ac_tool_warned=yes ;;
7420 esac
7421 DSYMUTIL=$ac_ct_DSYMUTIL
7423 else
7424 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7427 if test -n "$ac_tool_prefix"; then
7428 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7429 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7431 $as_echo_n "checking for $ac_word... " >&6; }
7432 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7433 $as_echo_n "(cached) " >&6
7434 else
7435 if test -n "$NMEDIT"; then
7436 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7437 else
7438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7439 for as_dir in $PATH
7441 IFS=$as_save_IFS
7442 test -z "$as_dir" && as_dir=.
7443 for ac_exec_ext in '' $ac_executable_extensions; do
7444 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7445 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7446 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7447 break 2
7449 done
7450 done
7451 IFS=$as_save_IFS
7455 NMEDIT=$ac_cv_prog_NMEDIT
7456 if test -n "$NMEDIT"; then
7457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7458 $as_echo "$NMEDIT" >&6; }
7459 else
7460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7461 $as_echo "no" >&6; }
7466 if test -z "$ac_cv_prog_NMEDIT"; then
7467 ac_ct_NMEDIT=$NMEDIT
7468 # Extract the first word of "nmedit", so it can be a program name with args.
7469 set dummy nmedit; ac_word=$2
7470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7471 $as_echo_n "checking for $ac_word... " >&6; }
7472 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7473 $as_echo_n "(cached) " >&6
7474 else
7475 if test -n "$ac_ct_NMEDIT"; then
7476 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7477 else
7478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7479 for as_dir in $PATH
7481 IFS=$as_save_IFS
7482 test -z "$as_dir" && as_dir=.
7483 for ac_exec_ext in '' $ac_executable_extensions; do
7484 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7485 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7486 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7487 break 2
7489 done
7490 done
7491 IFS=$as_save_IFS
7495 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7496 if test -n "$ac_ct_NMEDIT"; then
7497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7498 $as_echo "$ac_ct_NMEDIT" >&6; }
7499 else
7500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7501 $as_echo "no" >&6; }
7504 if test "x$ac_ct_NMEDIT" = x; then
7505 NMEDIT=":"
7506 else
7507 case $cross_compiling:$ac_tool_warned in
7508 yes:)
7509 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7510 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7511 ac_tool_warned=yes ;;
7512 esac
7513 NMEDIT=$ac_ct_NMEDIT
7515 else
7516 NMEDIT="$ac_cv_prog_NMEDIT"
7519 if test -n "$ac_tool_prefix"; then
7520 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7521 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7523 $as_echo_n "checking for $ac_word... " >&6; }
7524 if test "${ac_cv_prog_LIPO+set}" = set; then :
7525 $as_echo_n "(cached) " >&6
7526 else
7527 if test -n "$LIPO"; then
7528 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7529 else
7530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7531 for as_dir in $PATH
7533 IFS=$as_save_IFS
7534 test -z "$as_dir" && as_dir=.
7535 for ac_exec_ext in '' $ac_executable_extensions; do
7536 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7537 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7538 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7539 break 2
7541 done
7542 done
7543 IFS=$as_save_IFS
7547 LIPO=$ac_cv_prog_LIPO
7548 if test -n "$LIPO"; then
7549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7550 $as_echo "$LIPO" >&6; }
7551 else
7552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7553 $as_echo "no" >&6; }
7558 if test -z "$ac_cv_prog_LIPO"; then
7559 ac_ct_LIPO=$LIPO
7560 # Extract the first word of "lipo", so it can be a program name with args.
7561 set dummy lipo; ac_word=$2
7562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7563 $as_echo_n "checking for $ac_word... " >&6; }
7564 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7565 $as_echo_n "(cached) " >&6
7566 else
7567 if test -n "$ac_ct_LIPO"; then
7568 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7569 else
7570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7571 for as_dir in $PATH
7573 IFS=$as_save_IFS
7574 test -z "$as_dir" && as_dir=.
7575 for ac_exec_ext in '' $ac_executable_extensions; do
7576 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7577 ac_cv_prog_ac_ct_LIPO="lipo"
7578 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7579 break 2
7581 done
7582 done
7583 IFS=$as_save_IFS
7587 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7588 if test -n "$ac_ct_LIPO"; then
7589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7590 $as_echo "$ac_ct_LIPO" >&6; }
7591 else
7592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7593 $as_echo "no" >&6; }
7596 if test "x$ac_ct_LIPO" = x; then
7597 LIPO=":"
7598 else
7599 case $cross_compiling:$ac_tool_warned in
7600 yes:)
7601 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7602 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7603 ac_tool_warned=yes ;;
7604 esac
7605 LIPO=$ac_ct_LIPO
7607 else
7608 LIPO="$ac_cv_prog_LIPO"
7611 if test -n "$ac_tool_prefix"; then
7612 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7613 set dummy ${ac_tool_prefix}otool; ac_word=$2
7614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7615 $as_echo_n "checking for $ac_word... " >&6; }
7616 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7617 $as_echo_n "(cached) " >&6
7618 else
7619 if test -n "$OTOOL"; then
7620 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7621 else
7622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7623 for as_dir in $PATH
7625 IFS=$as_save_IFS
7626 test -z "$as_dir" && as_dir=.
7627 for ac_exec_ext in '' $ac_executable_extensions; do
7628 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7629 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7630 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7631 break 2
7633 done
7634 done
7635 IFS=$as_save_IFS
7639 OTOOL=$ac_cv_prog_OTOOL
7640 if test -n "$OTOOL"; then
7641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7642 $as_echo "$OTOOL" >&6; }
7643 else
7644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7645 $as_echo "no" >&6; }
7650 if test -z "$ac_cv_prog_OTOOL"; then
7651 ac_ct_OTOOL=$OTOOL
7652 # Extract the first word of "otool", so it can be a program name with args.
7653 set dummy otool; ac_word=$2
7654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7655 $as_echo_n "checking for $ac_word... " >&6; }
7656 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7657 $as_echo_n "(cached) " >&6
7658 else
7659 if test -n "$ac_ct_OTOOL"; then
7660 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7661 else
7662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7663 for as_dir in $PATH
7665 IFS=$as_save_IFS
7666 test -z "$as_dir" && as_dir=.
7667 for ac_exec_ext in '' $ac_executable_extensions; do
7668 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7669 ac_cv_prog_ac_ct_OTOOL="otool"
7670 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7671 break 2
7673 done
7674 done
7675 IFS=$as_save_IFS
7679 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7680 if test -n "$ac_ct_OTOOL"; then
7681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7682 $as_echo "$ac_ct_OTOOL" >&6; }
7683 else
7684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7685 $as_echo "no" >&6; }
7688 if test "x$ac_ct_OTOOL" = x; then
7689 OTOOL=":"
7690 else
7691 case $cross_compiling:$ac_tool_warned in
7692 yes:)
7693 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7694 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7695 ac_tool_warned=yes ;;
7696 esac
7697 OTOOL=$ac_ct_OTOOL
7699 else
7700 OTOOL="$ac_cv_prog_OTOOL"
7703 if test -n "$ac_tool_prefix"; then
7704 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7705 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7707 $as_echo_n "checking for $ac_word... " >&6; }
7708 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7709 $as_echo_n "(cached) " >&6
7710 else
7711 if test -n "$OTOOL64"; then
7712 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7713 else
7714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7715 for as_dir in $PATH
7717 IFS=$as_save_IFS
7718 test -z "$as_dir" && as_dir=.
7719 for ac_exec_ext in '' $ac_executable_extensions; do
7720 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7721 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7722 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7723 break 2
7725 done
7726 done
7727 IFS=$as_save_IFS
7731 OTOOL64=$ac_cv_prog_OTOOL64
7732 if test -n "$OTOOL64"; then
7733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7734 $as_echo "$OTOOL64" >&6; }
7735 else
7736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7737 $as_echo "no" >&6; }
7742 if test -z "$ac_cv_prog_OTOOL64"; then
7743 ac_ct_OTOOL64=$OTOOL64
7744 # Extract the first word of "otool64", so it can be a program name with args.
7745 set dummy otool64; ac_word=$2
7746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7747 $as_echo_n "checking for $ac_word... " >&6; }
7748 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7749 $as_echo_n "(cached) " >&6
7750 else
7751 if test -n "$ac_ct_OTOOL64"; then
7752 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7753 else
7754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7755 for as_dir in $PATH
7757 IFS=$as_save_IFS
7758 test -z "$as_dir" && as_dir=.
7759 for ac_exec_ext in '' $ac_executable_extensions; do
7760 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7761 ac_cv_prog_ac_ct_OTOOL64="otool64"
7762 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7763 break 2
7765 done
7766 done
7767 IFS=$as_save_IFS
7771 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7772 if test -n "$ac_ct_OTOOL64"; then
7773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7774 $as_echo "$ac_ct_OTOOL64" >&6; }
7775 else
7776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7777 $as_echo "no" >&6; }
7780 if test "x$ac_ct_OTOOL64" = x; then
7781 OTOOL64=":"
7782 else
7783 case $cross_compiling:$ac_tool_warned in
7784 yes:)
7785 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7786 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7787 ac_tool_warned=yes ;;
7788 esac
7789 OTOOL64=$ac_ct_OTOOL64
7791 else
7792 OTOOL64="$ac_cv_prog_OTOOL64"
7821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7822 $as_echo_n "checking for -single_module linker flag... " >&6; }
7823 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7824 $as_echo_n "(cached) " >&6
7825 else
7826 lt_cv_apple_cc_single_mod=no
7827 if test -z "${LT_MULTI_MODULE}"; then
7828 # By default we will add the -single_module flag. You can override
7829 # by either setting the environment variable LT_MULTI_MODULE
7830 # non-empty at configure time, or by adding -multi_module to the
7831 # link flags.
7832 rm -rf libconftest.dylib*
7833 echo "int foo(void){return 1;}" > conftest.c
7834 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7835 -dynamiclib -Wl,-single_module conftest.c" >&5
7836 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7837 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7838 _lt_result=$?
7839 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7840 lt_cv_apple_cc_single_mod=yes
7841 else
7842 cat conftest.err >&5
7844 rm -rf libconftest.dylib*
7845 rm -f conftest.*
7848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7849 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7851 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7852 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7853 $as_echo_n "(cached) " >&6
7854 else
7855 lt_cv_ld_exported_symbols_list=no
7856 save_LDFLAGS=$LDFLAGS
7857 echo "_main" > conftest.sym
7858 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7859 if test x$gcc_no_link = xyes; then
7860 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7863 /* end confdefs.h. */
7866 main ()
7870 return 0;
7872 _ACEOF
7873 if ac_fn_c_try_link "$LINENO"; then :
7874 lt_cv_ld_exported_symbols_list=yes
7875 else
7876 lt_cv_ld_exported_symbols_list=no
7878 rm -f core conftest.err conftest.$ac_objext \
7879 conftest$ac_exeext conftest.$ac_ext
7880 LDFLAGS="$save_LDFLAGS"
7883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7884 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7886 $as_echo_n "checking for -force_load linker flag... " >&6; }
7887 if test "${lt_cv_ld_force_load+set}" = set; then :
7888 $as_echo_n "(cached) " >&6
7889 else
7890 lt_cv_ld_force_load=no
7891 cat > conftest.c << _LT_EOF
7892 int forced_loaded() { return 2;}
7893 _LT_EOF
7894 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7895 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7896 echo "$AR cru libconftest.a conftest.o" >&5
7897 $AR cru libconftest.a conftest.o 2>&5
7898 cat > conftest.c << _LT_EOF
7899 int main() { return 0;}
7900 _LT_EOF
7901 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7902 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7903 _lt_result=$?
7904 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7905 lt_cv_ld_force_load=yes
7906 else
7907 cat conftest.err >&5
7909 rm -f conftest.err libconftest.a conftest conftest.c
7910 rm -rf conftest.dSYM
7913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7914 $as_echo "$lt_cv_ld_force_load" >&6; }
7915 case $host_os in
7916 rhapsody* | darwin1.[012])
7917 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7918 darwin1.*)
7919 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7920 darwin*) # darwin 5.x on
7921 # if running on 10.5 or later, the deployment target defaults
7922 # to the OS version, if on x86, and 10.4, the deployment
7923 # target defaults to 10.4. Don't you love it?
7924 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7925 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7926 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7927 10.[012][,.]*)
7928 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7929 10.*)
7930 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7931 esac
7933 esac
7934 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7935 _lt_dar_single_mod='$single_module'
7937 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7938 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7939 else
7940 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7942 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7943 _lt_dsymutil='~$DSYMUTIL $lib || :'
7944 else
7945 _lt_dsymutil=
7948 esac
7950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7951 $as_echo_n "checking for ANSI C header files... " >&6; }
7952 if test "${ac_cv_header_stdc+set}" = set; then :
7953 $as_echo_n "(cached) " >&6
7954 else
7955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7956 /* end confdefs.h. */
7957 #include <stdlib.h>
7958 #include <stdarg.h>
7959 #include <string.h>
7960 #include <float.h>
7963 main ()
7967 return 0;
7969 _ACEOF
7970 if ac_fn_c_try_compile "$LINENO"; then :
7971 ac_cv_header_stdc=yes
7972 else
7973 ac_cv_header_stdc=no
7975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7977 if test $ac_cv_header_stdc = yes; then
7978 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7980 /* end confdefs.h. */
7981 #include <string.h>
7983 _ACEOF
7984 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7985 $EGREP "memchr" >/dev/null 2>&1; then :
7987 else
7988 ac_cv_header_stdc=no
7990 rm -f conftest*
7994 if test $ac_cv_header_stdc = yes; then
7995 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7997 /* end confdefs.h. */
7998 #include <stdlib.h>
8000 _ACEOF
8001 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8002 $EGREP "free" >/dev/null 2>&1; then :
8004 else
8005 ac_cv_header_stdc=no
8007 rm -f conftest*
8011 if test $ac_cv_header_stdc = yes; then
8012 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8013 if test "$cross_compiling" = yes; then :
8015 else
8016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8017 /* end confdefs.h. */
8018 #include <ctype.h>
8019 #include <stdlib.h>
8020 #if ((' ' & 0x0FF) == 0x020)
8021 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8022 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8023 #else
8024 # define ISLOWER(c) \
8025 (('a' <= (c) && (c) <= 'i') \
8026 || ('j' <= (c) && (c) <= 'r') \
8027 || ('s' <= (c) && (c) <= 'z'))
8028 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8029 #endif
8031 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8033 main ()
8035 int i;
8036 for (i = 0; i < 256; i++)
8037 if (XOR (islower (i), ISLOWER (i))
8038 || toupper (i) != TOUPPER (i))
8039 return 2;
8040 return 0;
8042 _ACEOF
8043 if ac_fn_c_try_run "$LINENO"; then :
8045 else
8046 ac_cv_header_stdc=no
8048 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8049 conftest.$ac_objext conftest.beam conftest.$ac_ext
8054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8055 $as_echo "$ac_cv_header_stdc" >&6; }
8056 if test $ac_cv_header_stdc = yes; then
8058 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8062 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8063 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8064 inttypes.h stdint.h unistd.h
8065 do :
8066 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8067 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8069 eval as_val=\$$as_ac_Header
8070 if test "x$as_val" = x""yes; then :
8071 cat >>confdefs.h <<_ACEOF
8072 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8073 _ACEOF
8077 done
8080 for ac_header in dlfcn.h
8081 do :
8082 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8084 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8085 cat >>confdefs.h <<_ACEOF
8086 #define HAVE_DLFCN_H 1
8087 _ACEOF
8091 done
8098 # Set options
8103 enable_win32_dll=no
8106 # Check whether --enable-shared was given.
8107 if test "${enable_shared+set}" = set; then :
8108 enableval=$enable_shared; p=${PACKAGE-default}
8109 case $enableval in
8110 yes) enable_shared=yes ;;
8111 no) enable_shared=no ;;
8113 enable_shared=no
8114 # Look at the argument we got. We use all the common list separators.
8115 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8116 for pkg in $enableval; do
8117 IFS="$lt_save_ifs"
8118 if test "X$pkg" = "X$p"; then
8119 enable_shared=yes
8121 done
8122 IFS="$lt_save_ifs"
8124 esac
8125 else
8126 enable_shared=yes
8137 # Check whether --enable-static was given.
8138 if test "${enable_static+set}" = set; then :
8139 enableval=$enable_static; p=${PACKAGE-default}
8140 case $enableval in
8141 yes) enable_static=yes ;;
8142 no) enable_static=no ;;
8144 enable_static=no
8145 # Look at the argument we got. We use all the common list separators.
8146 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8147 for pkg in $enableval; do
8148 IFS="$lt_save_ifs"
8149 if test "X$pkg" = "X$p"; then
8150 enable_static=yes
8152 done
8153 IFS="$lt_save_ifs"
8155 esac
8156 else
8157 enable_static=yes
8169 # Check whether --with-pic was given.
8170 if test "${with_pic+set}" = set; then :
8171 withval=$with_pic; pic_mode="$withval"
8172 else
8173 pic_mode=default
8177 test -z "$pic_mode" && pic_mode=default
8185 # Check whether --enable-fast-install was given.
8186 if test "${enable_fast_install+set}" = set; then :
8187 enableval=$enable_fast_install; p=${PACKAGE-default}
8188 case $enableval in
8189 yes) enable_fast_install=yes ;;
8190 no) enable_fast_install=no ;;
8192 enable_fast_install=no
8193 # Look at the argument we got. We use all the common list separators.
8194 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8195 for pkg in $enableval; do
8196 IFS="$lt_save_ifs"
8197 if test "X$pkg" = "X$p"; then
8198 enable_fast_install=yes
8200 done
8201 IFS="$lt_save_ifs"
8203 esac
8204 else
8205 enable_fast_install=yes
8218 # This can be used to rebuild libtool when needed
8219 LIBTOOL_DEPS="$ltmain"
8221 # Always use our own libtool.
8222 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8249 test -z "$LN_S" && LN_S="ln -s"
8264 if test -n "${ZSH_VERSION+set}" ; then
8265 setopt NO_GLOB_SUBST
8268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8269 $as_echo_n "checking for objdir... " >&6; }
8270 if test "${lt_cv_objdir+set}" = set; then :
8271 $as_echo_n "(cached) " >&6
8272 else
8273 rm -f .libs 2>/dev/null
8274 mkdir .libs 2>/dev/null
8275 if test -d .libs; then
8276 lt_cv_objdir=.libs
8277 else
8278 # MS-DOS does not allow filenames that begin with a dot.
8279 lt_cv_objdir=_libs
8281 rmdir .libs 2>/dev/null
8283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8284 $as_echo "$lt_cv_objdir" >&6; }
8285 objdir=$lt_cv_objdir
8291 cat >>confdefs.h <<_ACEOF
8292 #define LT_OBJDIR "$lt_cv_objdir/"
8293 _ACEOF
8298 case $host_os in
8299 aix3*)
8300 # AIX sometimes has problems with the GCC collect2 program. For some
8301 # reason, if we set the COLLECT_NAMES environment variable, the problems
8302 # vanish in a puff of smoke.
8303 if test "X${COLLECT_NAMES+set}" != Xset; then
8304 COLLECT_NAMES=
8305 export COLLECT_NAMES
8308 esac
8310 # Global variables:
8311 ofile=libtool
8312 can_build_shared=yes
8314 # All known linkers require a `.a' archive for static linking (except MSVC,
8315 # which needs '.lib').
8316 libext=a
8318 with_gnu_ld="$lt_cv_prog_gnu_ld"
8320 old_CC="$CC"
8321 old_CFLAGS="$CFLAGS"
8323 # Set sane defaults for various variables
8324 test -z "$CC" && CC=cc
8325 test -z "$LTCC" && LTCC=$CC
8326 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8327 test -z "$LD" && LD=ld
8328 test -z "$ac_objext" && ac_objext=o
8330 for cc_temp in $compiler""; do
8331 case $cc_temp in
8332 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8333 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8334 \-*) ;;
8335 *) break;;
8336 esac
8337 done
8338 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8341 # Only perform the check for file, if the check method requires it
8342 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8343 case $deplibs_check_method in
8344 file_magic*)
8345 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8347 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8348 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8349 $as_echo_n "(cached) " >&6
8350 else
8351 case $MAGIC_CMD in
8352 [\\/*] | ?:[\\/]*)
8353 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8356 lt_save_MAGIC_CMD="$MAGIC_CMD"
8357 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8358 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8359 for ac_dir in $ac_dummy; do
8360 IFS="$lt_save_ifs"
8361 test -z "$ac_dir" && ac_dir=.
8362 if test -f $ac_dir/${ac_tool_prefix}file; then
8363 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8364 if test -n "$file_magic_test_file"; then
8365 case $deplibs_check_method in
8366 "file_magic "*)
8367 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8368 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8369 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8370 $EGREP "$file_magic_regex" > /dev/null; then
8372 else
8373 cat <<_LT_EOF 1>&2
8375 *** Warning: the command libtool uses to detect shared libraries,
8376 *** $file_magic_cmd, produces output that libtool cannot recognize.
8377 *** The result is that libtool may fail to recognize shared libraries
8378 *** as such. This will affect the creation of libtool libraries that
8379 *** depend on shared libraries, but programs linked with such libtool
8380 *** libraries will work regardless of this problem. Nevertheless, you
8381 *** may want to report the problem to your system manager and/or to
8382 *** bug-libtool@gnu.org
8384 _LT_EOF
8385 fi ;;
8386 esac
8388 break
8390 done
8391 IFS="$lt_save_ifs"
8392 MAGIC_CMD="$lt_save_MAGIC_CMD"
8394 esac
8397 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8398 if test -n "$MAGIC_CMD"; then
8399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8400 $as_echo "$MAGIC_CMD" >&6; }
8401 else
8402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8403 $as_echo "no" >&6; }
8410 if test -z "$lt_cv_path_MAGIC_CMD"; then
8411 if test -n "$ac_tool_prefix"; then
8412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8413 $as_echo_n "checking for file... " >&6; }
8414 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8415 $as_echo_n "(cached) " >&6
8416 else
8417 case $MAGIC_CMD in
8418 [\\/*] | ?:[\\/]*)
8419 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8422 lt_save_MAGIC_CMD="$MAGIC_CMD"
8423 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8424 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8425 for ac_dir in $ac_dummy; do
8426 IFS="$lt_save_ifs"
8427 test -z "$ac_dir" && ac_dir=.
8428 if test -f $ac_dir/file; then
8429 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8430 if test -n "$file_magic_test_file"; then
8431 case $deplibs_check_method in
8432 "file_magic "*)
8433 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8434 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8435 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8436 $EGREP "$file_magic_regex" > /dev/null; then
8438 else
8439 cat <<_LT_EOF 1>&2
8441 *** Warning: the command libtool uses to detect shared libraries,
8442 *** $file_magic_cmd, produces output that libtool cannot recognize.
8443 *** The result is that libtool may fail to recognize shared libraries
8444 *** as such. This will affect the creation of libtool libraries that
8445 *** depend on shared libraries, but programs linked with such libtool
8446 *** libraries will work regardless of this problem. Nevertheless, you
8447 *** may want to report the problem to your system manager and/or to
8448 *** bug-libtool@gnu.org
8450 _LT_EOF
8451 fi ;;
8452 esac
8454 break
8456 done
8457 IFS="$lt_save_ifs"
8458 MAGIC_CMD="$lt_save_MAGIC_CMD"
8460 esac
8463 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8464 if test -n "$MAGIC_CMD"; then
8465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8466 $as_echo "$MAGIC_CMD" >&6; }
8467 else
8468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8469 $as_echo "no" >&6; }
8473 else
8474 MAGIC_CMD=:
8480 esac
8482 # Use C for the default configuration in the libtool script
8484 lt_save_CC="$CC"
8485 ac_ext=c
8486 ac_cpp='$CPP $CPPFLAGS'
8487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8492 # Source file extension for C test sources.
8493 ac_ext=c
8495 # Object file extension for compiled C test sources.
8496 objext=o
8497 objext=$objext
8499 # Code to be used in simple compile tests
8500 lt_simple_compile_test_code="int some_variable = 0;"
8502 # Code to be used in simple link tests
8503 lt_simple_link_test_code='int main(){return(0);}'
8511 # If no C compiler was specified, use CC.
8512 LTCC=${LTCC-"$CC"}
8514 # If no C compiler flags were specified, use CFLAGS.
8515 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8517 # Allow CC to be a program name with arguments.
8518 compiler=$CC
8520 # Save the default compiler, since it gets overwritten when the other
8521 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8522 compiler_DEFAULT=$CC
8524 # save warnings/boilerplate of simple test code
8525 ac_outfile=conftest.$ac_objext
8526 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8527 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8528 _lt_compiler_boilerplate=`cat conftest.err`
8529 $RM conftest*
8531 ac_outfile=conftest.$ac_objext
8532 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8533 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8534 _lt_linker_boilerplate=`cat conftest.err`
8535 $RM -r conftest*
8538 ## CAVEAT EMPTOR:
8539 ## There is no encapsulation within the following macros, do not change
8540 ## the running order or otherwise move them around unless you know exactly
8541 ## what you are doing...
8542 if test -n "$compiler"; then
8544 lt_prog_compiler_no_builtin_flag=
8546 if test "$GCC" = yes; then
8547 case $cc_basename in
8548 nvcc*)
8549 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8551 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8552 esac
8554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8555 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8556 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8557 $as_echo_n "(cached) " >&6
8558 else
8559 lt_cv_prog_compiler_rtti_exceptions=no
8560 ac_outfile=conftest.$ac_objext
8561 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8562 lt_compiler_flag="-fno-rtti -fno-exceptions"
8563 # Insert the option either (1) after the last *FLAGS variable, or
8564 # (2) before a word containing "conftest.", or (3) at the end.
8565 # Note that $ac_compile itself does not contain backslashes and begins
8566 # with a dollar sign (not a hyphen), so the echo should work correctly.
8567 # The option is referenced via a variable to avoid confusing sed.
8568 lt_compile=`echo "$ac_compile" | $SED \
8569 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8570 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8571 -e 's:$: $lt_compiler_flag:'`
8572 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8573 (eval "$lt_compile" 2>conftest.err)
8574 ac_status=$?
8575 cat conftest.err >&5
8576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8577 if (exit $ac_status) && test -s "$ac_outfile"; then
8578 # The compiler can only warn and ignore the option if not recognized
8579 # So say no if there are warnings other than the usual output.
8580 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8581 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8582 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8583 lt_cv_prog_compiler_rtti_exceptions=yes
8586 $RM conftest*
8589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8590 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8592 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8593 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8594 else
8605 lt_prog_compiler_wl=
8606 lt_prog_compiler_pic=
8607 lt_prog_compiler_static=
8609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8610 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8612 if test "$GCC" = yes; then
8613 lt_prog_compiler_wl='-Wl,'
8614 lt_prog_compiler_static='-static'
8616 case $host_os in
8617 aix*)
8618 # All AIX code is PIC.
8619 if test "$host_cpu" = ia64; then
8620 # AIX 5 now supports IA64 processor
8621 lt_prog_compiler_static='-Bstatic'
8623 lt_prog_compiler_pic='-fPIC'
8626 amigaos*)
8627 case $host_cpu in
8628 powerpc)
8629 # see comment about AmigaOS4 .so support
8630 lt_prog_compiler_pic='-fPIC'
8632 m68k)
8633 # FIXME: we need at least 68020 code to build shared libraries, but
8634 # adding the `-m68020' flag to GCC prevents building anything better,
8635 # like `-m68040'.
8636 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8638 esac
8641 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8642 # PIC is the default for these OSes.
8645 mingw* | cygwin* | pw32* | os2* | cegcc*)
8646 # This hack is so that the source file can tell whether it is being
8647 # built for inclusion in a dll (and should export symbols for example).
8648 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8649 # (--disable-auto-import) libraries
8650 lt_prog_compiler_pic='-DDLL_EXPORT'
8653 darwin* | rhapsody*)
8654 # PIC is the default on this platform
8655 # Common symbols not allowed in MH_DYLIB files
8656 lt_prog_compiler_pic='-fno-common'
8659 haiku*)
8660 # PIC is the default for Haiku.
8661 # The "-static" flag exists, but is broken.
8662 lt_prog_compiler_static=
8665 hpux*)
8666 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8667 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8668 # sets the default TLS model and affects inlining.
8669 case $host_cpu in
8670 hppa*64*)
8671 # +Z the default
8674 lt_prog_compiler_pic='-fPIC'
8676 esac
8679 interix[3-9]*)
8680 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8681 # Instead, we relocate shared libraries at runtime.
8684 msdosdjgpp*)
8685 # Just because we use GCC doesn't mean we suddenly get shared libraries
8686 # on systems that don't support them.
8687 lt_prog_compiler_can_build_shared=no
8688 enable_shared=no
8691 *nto* | *qnx*)
8692 # QNX uses GNU C++, but need to define -shared option too, otherwise
8693 # it will coredump.
8694 lt_prog_compiler_pic='-fPIC -shared'
8697 sysv4*MP*)
8698 if test -d /usr/nec; then
8699 lt_prog_compiler_pic=-Kconform_pic
8704 lt_prog_compiler_pic='-fPIC'
8706 esac
8708 case $cc_basename in
8709 nvcc*) # Cuda Compiler Driver 2.2
8710 lt_prog_compiler_wl='-Xlinker '
8711 lt_prog_compiler_pic='-Xcompiler -fPIC'
8713 esac
8714 else
8715 # PORTME Check for flag to pass linker flags through the system compiler.
8716 case $host_os in
8717 aix*)
8718 lt_prog_compiler_wl='-Wl,'
8719 if test "$host_cpu" = ia64; then
8720 # AIX 5 now supports IA64 processor
8721 lt_prog_compiler_static='-Bstatic'
8722 else
8723 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8727 mingw* | cygwin* | pw32* | os2* | cegcc*)
8728 # This hack is so that the source file can tell whether it is being
8729 # built for inclusion in a dll (and should export symbols for example).
8730 lt_prog_compiler_pic='-DDLL_EXPORT'
8733 hpux9* | hpux10* | hpux11*)
8734 lt_prog_compiler_wl='-Wl,'
8735 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8736 # not for PA HP-UX.
8737 case $host_cpu in
8738 hppa*64*|ia64*)
8739 # +Z the default
8742 lt_prog_compiler_pic='+Z'
8744 esac
8745 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8746 lt_prog_compiler_static='${wl}-a ${wl}archive'
8749 irix5* | irix6* | nonstopux*)
8750 lt_prog_compiler_wl='-Wl,'
8751 # PIC (with -KPIC) is the default.
8752 lt_prog_compiler_static='-non_shared'
8755 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8756 case $cc_basename in
8757 # old Intel for x86_64 which still supported -KPIC.
8758 ecc*)
8759 lt_prog_compiler_wl='-Wl,'
8760 lt_prog_compiler_pic='-KPIC'
8761 lt_prog_compiler_static='-static'
8763 # icc used to be incompatible with GCC.
8764 # ICC 10 doesn't accept -KPIC any more.
8765 icc* | ifort*)
8766 lt_prog_compiler_wl='-Wl,'
8767 lt_prog_compiler_pic='-fPIC'
8768 lt_prog_compiler_static='-static'
8770 # Lahey Fortran 8.1.
8771 lf95*)
8772 lt_prog_compiler_wl='-Wl,'
8773 lt_prog_compiler_pic='--shared'
8774 lt_prog_compiler_static='--static'
8776 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8777 # Portland Group compilers (*not* the Pentium gcc compiler,
8778 # which looks to be a dead project)
8779 lt_prog_compiler_wl='-Wl,'
8780 lt_prog_compiler_pic='-fpic'
8781 lt_prog_compiler_static='-Bstatic'
8783 ccc*)
8784 lt_prog_compiler_wl='-Wl,'
8785 # All Alpha code is PIC.
8786 lt_prog_compiler_static='-non_shared'
8788 xl* | bgxl* | bgf* | mpixl*)
8789 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8790 lt_prog_compiler_wl='-Wl,'
8791 lt_prog_compiler_pic='-qpic'
8792 lt_prog_compiler_static='-qstaticlink'
8795 case `$CC -V 2>&1 | sed 5q` in
8796 *Sun\ F* | *Sun*Fortran*)
8797 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8798 lt_prog_compiler_pic='-KPIC'
8799 lt_prog_compiler_static='-Bstatic'
8800 lt_prog_compiler_wl=''
8802 *Sun\ C*)
8803 # Sun C 5.9
8804 lt_prog_compiler_pic='-KPIC'
8805 lt_prog_compiler_static='-Bstatic'
8806 lt_prog_compiler_wl='-Wl,'
8808 esac
8810 esac
8813 newsos6)
8814 lt_prog_compiler_pic='-KPIC'
8815 lt_prog_compiler_static='-Bstatic'
8818 *nto* | *qnx*)
8819 # QNX uses GNU C++, but need to define -shared option too, otherwise
8820 # it will coredump.
8821 lt_prog_compiler_pic='-fPIC -shared'
8824 osf3* | osf4* | osf5*)
8825 lt_prog_compiler_wl='-Wl,'
8826 # All OSF/1 code is PIC.
8827 lt_prog_compiler_static='-non_shared'
8830 rdos*)
8831 lt_prog_compiler_static='-non_shared'
8834 solaris*)
8835 lt_prog_compiler_pic='-KPIC'
8836 lt_prog_compiler_static='-Bstatic'
8837 case $cc_basename in
8838 f77* | f90* | f95*)
8839 lt_prog_compiler_wl='-Qoption ld ';;
8841 lt_prog_compiler_wl='-Wl,';;
8842 esac
8845 sunos4*)
8846 lt_prog_compiler_wl='-Qoption ld '
8847 lt_prog_compiler_pic='-PIC'
8848 lt_prog_compiler_static='-Bstatic'
8851 sysv4 | sysv4.2uw2* | sysv4.3*)
8852 lt_prog_compiler_wl='-Wl,'
8853 lt_prog_compiler_pic='-KPIC'
8854 lt_prog_compiler_static='-Bstatic'
8857 sysv4*MP*)
8858 if test -d /usr/nec ;then
8859 lt_prog_compiler_pic='-Kconform_pic'
8860 lt_prog_compiler_static='-Bstatic'
8864 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8865 lt_prog_compiler_wl='-Wl,'
8866 lt_prog_compiler_pic='-KPIC'
8867 lt_prog_compiler_static='-Bstatic'
8870 unicos*)
8871 lt_prog_compiler_wl='-Wl,'
8872 lt_prog_compiler_can_build_shared=no
8875 uts4*)
8876 lt_prog_compiler_pic='-pic'
8877 lt_prog_compiler_static='-Bstatic'
8881 lt_prog_compiler_can_build_shared=no
8883 esac
8886 case $host_os in
8887 # For platforms which do not support PIC, -DPIC is meaningless:
8888 *djgpp*)
8889 lt_prog_compiler_pic=
8892 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8894 esac
8895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8896 $as_echo "$lt_prog_compiler_pic" >&6; }
8904 # Check to make sure the PIC flag actually works.
8906 if test -n "$lt_prog_compiler_pic"; then
8907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8908 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8909 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8910 $as_echo_n "(cached) " >&6
8911 else
8912 lt_cv_prog_compiler_pic_works=no
8913 ac_outfile=conftest.$ac_objext
8914 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8915 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8916 # Insert the option either (1) after the last *FLAGS variable, or
8917 # (2) before a word containing "conftest.", or (3) at the end.
8918 # Note that $ac_compile itself does not contain backslashes and begins
8919 # with a dollar sign (not a hyphen), so the echo should work correctly.
8920 # The option is referenced via a variable to avoid confusing sed.
8921 lt_compile=`echo "$ac_compile" | $SED \
8922 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8923 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8924 -e 's:$: $lt_compiler_flag:'`
8925 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8926 (eval "$lt_compile" 2>conftest.err)
8927 ac_status=$?
8928 cat conftest.err >&5
8929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8930 if (exit $ac_status) && test -s "$ac_outfile"; then
8931 # The compiler can only warn and ignore the option if not recognized
8932 # So say no if there are warnings other than the usual output.
8933 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8934 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8935 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8936 lt_cv_prog_compiler_pic_works=yes
8939 $RM conftest*
8942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8943 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8945 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8946 case $lt_prog_compiler_pic in
8947 "" | " "*) ;;
8948 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8949 esac
8950 else
8951 lt_prog_compiler_pic=
8952 lt_prog_compiler_can_build_shared=no
8963 # Check to make sure the static flag actually works.
8965 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8967 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8968 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8969 $as_echo_n "(cached) " >&6
8970 else
8971 lt_cv_prog_compiler_static_works=no
8972 save_LDFLAGS="$LDFLAGS"
8973 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8974 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8975 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8976 # The linker can only warn and ignore the option if not recognized
8977 # So say no if there are warnings
8978 if test -s conftest.err; then
8979 # Append any errors to the config.log.
8980 cat conftest.err 1>&5
8981 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8982 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8983 if diff conftest.exp conftest.er2 >/dev/null; then
8984 lt_cv_prog_compiler_static_works=yes
8986 else
8987 lt_cv_prog_compiler_static_works=yes
8990 $RM -r conftest*
8991 LDFLAGS="$save_LDFLAGS"
8994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8995 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8997 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8999 else
9000 lt_prog_compiler_static=
9009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9010 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9011 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9012 $as_echo_n "(cached) " >&6
9013 else
9014 lt_cv_prog_compiler_c_o=no
9015 $RM -r conftest 2>/dev/null
9016 mkdir conftest
9017 cd conftest
9018 mkdir out
9019 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9021 lt_compiler_flag="-o out/conftest2.$ac_objext"
9022 # Insert the option either (1) after the last *FLAGS variable, or
9023 # (2) before a word containing "conftest.", or (3) at the end.
9024 # Note that $ac_compile itself does not contain backslashes and begins
9025 # with a dollar sign (not a hyphen), so the echo should work correctly.
9026 lt_compile=`echo "$ac_compile" | $SED \
9027 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9028 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9029 -e 's:$: $lt_compiler_flag:'`
9030 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9031 (eval "$lt_compile" 2>out/conftest.err)
9032 ac_status=$?
9033 cat out/conftest.err >&5
9034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9035 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9036 then
9037 # The compiler can only warn and ignore the option if not recognized
9038 # So say no if there are warnings
9039 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9040 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9041 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9042 lt_cv_prog_compiler_c_o=yes
9045 chmod u+w . 2>&5
9046 $RM conftest*
9047 # SGI C++ compiler will create directory out/ii_files/ for
9048 # template instantiation
9049 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9050 $RM out/* && rmdir out
9051 cd ..
9052 $RM -r conftest
9053 $RM conftest*
9056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9057 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9065 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9066 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9067 $as_echo_n "(cached) " >&6
9068 else
9069 lt_cv_prog_compiler_c_o=no
9070 $RM -r conftest 2>/dev/null
9071 mkdir conftest
9072 cd conftest
9073 mkdir out
9074 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9076 lt_compiler_flag="-o out/conftest2.$ac_objext"
9077 # Insert the option either (1) after the last *FLAGS variable, or
9078 # (2) before a word containing "conftest.", or (3) at the end.
9079 # Note that $ac_compile itself does not contain backslashes and begins
9080 # with a dollar sign (not a hyphen), so the echo should work correctly.
9081 lt_compile=`echo "$ac_compile" | $SED \
9082 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9083 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9084 -e 's:$: $lt_compiler_flag:'`
9085 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9086 (eval "$lt_compile" 2>out/conftest.err)
9087 ac_status=$?
9088 cat out/conftest.err >&5
9089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9090 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9091 then
9092 # The compiler can only warn and ignore the option if not recognized
9093 # So say no if there are warnings
9094 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9095 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9096 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9097 lt_cv_prog_compiler_c_o=yes
9100 chmod u+w . 2>&5
9101 $RM conftest*
9102 # SGI C++ compiler will create directory out/ii_files/ for
9103 # template instantiation
9104 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9105 $RM out/* && rmdir out
9106 cd ..
9107 $RM -r conftest
9108 $RM conftest*
9111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9112 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9117 hard_links="nottested"
9118 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9119 # do not overwrite the value of need_locks provided by the user
9120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9121 $as_echo_n "checking if we can lock with hard links... " >&6; }
9122 hard_links=yes
9123 $RM conftest*
9124 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9125 touch conftest.a
9126 ln conftest.a conftest.b 2>&5 || hard_links=no
9127 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9129 $as_echo "$hard_links" >&6; }
9130 if test "$hard_links" = no; then
9131 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9132 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9133 need_locks=warn
9135 else
9136 need_locks=no
9144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9145 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9147 runpath_var=
9148 allow_undefined_flag=
9149 always_export_symbols=no
9150 archive_cmds=
9151 archive_expsym_cmds=
9152 compiler_needs_object=no
9153 enable_shared_with_static_runtimes=no
9154 export_dynamic_flag_spec=
9155 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9156 hardcode_automatic=no
9157 hardcode_direct=no
9158 hardcode_direct_absolute=no
9159 hardcode_libdir_flag_spec=
9160 hardcode_libdir_flag_spec_ld=
9161 hardcode_libdir_separator=
9162 hardcode_minus_L=no
9163 hardcode_shlibpath_var=unsupported
9164 inherit_rpath=no
9165 link_all_deplibs=unknown
9166 module_cmds=
9167 module_expsym_cmds=
9168 old_archive_from_new_cmds=
9169 old_archive_from_expsyms_cmds=
9170 thread_safe_flag_spec=
9171 whole_archive_flag_spec=
9172 # include_expsyms should be a list of space-separated symbols to be *always*
9173 # included in the symbol list
9174 include_expsyms=
9175 # exclude_expsyms can be an extended regexp of symbols to exclude
9176 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9177 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9178 # as well as any symbol that contains `d'.
9179 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9180 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9181 # platforms (ab)use it in PIC code, but their linkers get confused if
9182 # the symbol is explicitly referenced. Since portable code cannot
9183 # rely on this symbol name, it's probably fine to never include it in
9184 # preloaded symbol tables.
9185 # Exclude shared library initialization/finalization symbols.
9186 extract_expsyms_cmds=
9188 case $host_os in
9189 cygwin* | mingw* | pw32* | cegcc*)
9190 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9191 # When not using gcc, we currently assume that we are using
9192 # Microsoft Visual C++.
9193 if test "$GCC" != yes; then
9194 with_gnu_ld=no
9197 interix*)
9198 # we just hope/assume this is gcc and not c89 (= MSVC++)
9199 with_gnu_ld=yes
9201 openbsd*)
9202 with_gnu_ld=no
9204 esac
9206 ld_shlibs=yes
9208 # On some targets, GNU ld is compatible enough with the native linker
9209 # that we're better off using the native interface for both.
9210 lt_use_gnu_ld_interface=no
9211 if test "$with_gnu_ld" = yes; then
9212 case $host_os in
9213 aix*)
9214 # The AIX port of GNU ld has always aspired to compatibility
9215 # with the native linker. However, as the warning in the GNU ld
9216 # block says, versions before 2.19.5* couldn't really create working
9217 # shared libraries, regardless of the interface used.
9218 case `$LD -v 2>&1` in
9219 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9220 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9221 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9223 lt_use_gnu_ld_interface=yes
9225 esac
9228 lt_use_gnu_ld_interface=yes
9230 esac
9233 if test "$lt_use_gnu_ld_interface" = yes; then
9234 # If archive_cmds runs LD, not CC, wlarc should be empty
9235 wlarc='${wl}'
9237 # Set some defaults for GNU ld with shared library support. These
9238 # are reset later if shared libraries are not supported. Putting them
9239 # here allows them to be overridden if necessary.
9240 runpath_var=LD_RUN_PATH
9241 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9242 export_dynamic_flag_spec='${wl}--export-dynamic'
9243 # ancient GNU ld didn't support --whole-archive et. al.
9244 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9245 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9246 else
9247 whole_archive_flag_spec=
9249 supports_anon_versioning=no
9250 case `$LD -v 2>&1` in
9251 *GNU\ gold*) supports_anon_versioning=yes ;;
9252 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9253 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9254 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9255 *\ 2.11.*) ;; # other 2.11 versions
9256 *) supports_anon_versioning=yes ;;
9257 esac
9259 # See if GNU ld supports shared libraries.
9260 case $host_os in
9261 aix[3-9]*)
9262 # On AIX/PPC, the GNU linker is very broken
9263 if test "$host_cpu" != ia64; then
9264 ld_shlibs=no
9265 cat <<_LT_EOF 1>&2
9267 *** Warning: the GNU linker, at least up to release 2.19, is reported
9268 *** to be unable to reliably create shared libraries on AIX.
9269 *** Therefore, libtool is disabling shared libraries support. If you
9270 *** really care for shared libraries, you may want to install binutils
9271 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9272 *** You will then need to restart the configuration process.
9274 _LT_EOF
9278 amigaos*)
9279 case $host_cpu in
9280 powerpc)
9281 # see comment about AmigaOS4 .so support
9282 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9283 archive_expsym_cmds=''
9285 m68k)
9286 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
9287 hardcode_libdir_flag_spec='-L$libdir'
9288 hardcode_minus_L=yes
9290 esac
9293 beos*)
9294 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9295 allow_undefined_flag=unsupported
9296 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9297 # support --undefined. This deserves some investigation. FIXME
9298 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9299 else
9300 ld_shlibs=no
9304 cygwin* | mingw* | pw32* | cegcc*)
9305 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9306 # as there is no search path for DLLs.
9307 hardcode_libdir_flag_spec='-L$libdir'
9308 export_dynamic_flag_spec='${wl}--export-all-symbols'
9309 allow_undefined_flag=unsupported
9310 always_export_symbols=no
9311 enable_shared_with_static_runtimes=yes
9312 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9314 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9315 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9316 # If the export-symbols file already is a .def file (1st line
9317 # is EXPORTS), use it as is; otherwise, prepend...
9318 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9319 cp $export_symbols $output_objdir/$soname.def;
9320 else
9321 echo EXPORTS > $output_objdir/$soname.def;
9322 cat $export_symbols >> $output_objdir/$soname.def;
9324 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9325 else
9326 ld_shlibs=no
9330 haiku*)
9331 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9332 link_all_deplibs=yes
9335 interix[3-9]*)
9336 hardcode_direct=no
9337 hardcode_shlibpath_var=no
9338 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9339 export_dynamic_flag_spec='${wl}-E'
9340 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9341 # Instead, shared libraries are loaded at an image base (0x10000000 by
9342 # default) and relocated if they conflict, which is a slow very memory
9343 # consuming and fragmenting process. To avoid this, we pick a random,
9344 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9345 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9346 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9347 archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9350 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9351 tmp_diet=no
9352 if test "$host_os" = linux-dietlibc; then
9353 case $cc_basename in
9354 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9355 esac
9357 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9358 && test "$tmp_diet" = no
9359 then
9360 tmp_addflag=' $pic_flag'
9361 tmp_sharedflag='-shared'
9362 case $cc_basename,$host_cpu in
9363 pgcc*) # Portland Group C compiler
9364 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9365 tmp_addflag=' $pic_flag'
9367 pgf77* | pgf90* | pgf95* | pgfortran*)
9368 # Portland Group f77 and f90 compilers
9369 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9370 tmp_addflag=' $pic_flag -Mnomain' ;;
9371 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9372 tmp_addflag=' -i_dynamic' ;;
9373 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9374 tmp_addflag=' -i_dynamic -nofor_main' ;;
9375 ifc* | ifort*) # Intel Fortran compiler
9376 tmp_addflag=' -nofor_main' ;;
9377 lf95*) # Lahey Fortran 8.1
9378 whole_archive_flag_spec=
9379 tmp_sharedflag='--shared' ;;
9380 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9381 tmp_sharedflag='-qmkshrobj'
9382 tmp_addflag= ;;
9383 nvcc*) # Cuda Compiler Driver 2.2
9384 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9385 compiler_needs_object=yes
9387 esac
9388 case `$CC -V 2>&1 | sed 5q` in
9389 *Sun\ C*) # Sun C 5.9
9390 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9391 compiler_needs_object=yes
9392 tmp_sharedflag='-G' ;;
9393 *Sun\ F*) # Sun Fortran 8.3
9394 tmp_sharedflag='-G' ;;
9395 esac
9396 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9398 if test "x$supports_anon_versioning" = xyes; then
9399 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9400 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9401 echo "local: *; };" >> $output_objdir/$libname.ver~
9402 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9405 case $cc_basename in
9406 xlf* | bgf* | bgxlf* | mpixlf*)
9407 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9408 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9409 hardcode_libdir_flag_spec=
9410 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9411 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9412 if test "x$supports_anon_versioning" = xyes; then
9413 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9414 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9415 echo "local: *; };" >> $output_objdir/$libname.ver~
9416 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9419 esac
9420 else
9421 ld_shlibs=no
9425 netbsd*)
9426 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9427 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9428 wlarc=
9429 else
9430 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9431 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9435 solaris*)
9436 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9437 ld_shlibs=no
9438 cat <<_LT_EOF 1>&2
9440 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9441 *** create shared libraries on Solaris systems. Therefore, libtool
9442 *** is disabling shared libraries support. We urge you to upgrade GNU
9443 *** binutils to release 2.9.1 or newer. Another option is to modify
9444 *** your PATH or compiler configuration so that the native linker is
9445 *** used, and then restart.
9447 _LT_EOF
9448 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9449 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9450 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9451 else
9452 ld_shlibs=no
9456 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9457 case `$LD -v 2>&1` in
9458 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9459 ld_shlibs=no
9460 cat <<_LT_EOF 1>&2
9462 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9463 *** reliably create shared libraries on SCO systems. Therefore, libtool
9464 *** is disabling shared libraries support. We urge you to upgrade GNU
9465 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9466 *** your PATH or compiler configuration so that the native linker is
9467 *** used, and then restart.
9469 _LT_EOF
9472 # For security reasons, it is highly recommended that you always
9473 # use absolute paths for naming shared libraries, and exclude the
9474 # DT_RUNPATH tag from executables and libraries. But doing so
9475 # requires that you compile everything twice, which is a pain.
9476 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9477 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9478 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9479 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9480 else
9481 ld_shlibs=no
9484 esac
9487 sunos4*)
9488 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9489 wlarc=
9490 hardcode_direct=yes
9491 hardcode_shlibpath_var=no
9495 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9496 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9497 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9498 else
9499 ld_shlibs=no
9502 esac
9504 if test "$ld_shlibs" = no; then
9505 runpath_var=
9506 hardcode_libdir_flag_spec=
9507 export_dynamic_flag_spec=
9508 whole_archive_flag_spec=
9510 else
9511 # PORTME fill in a description of your system's linker (not GNU ld)
9512 case $host_os in
9513 aix3*)
9514 allow_undefined_flag=unsupported
9515 always_export_symbols=yes
9516 archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
9517 # Note: this linker hardcodes the directories in LIBPATH if there
9518 # are no directories specified by -L.
9519 hardcode_minus_L=yes
9520 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9521 # Neither direct hardcoding nor static linking is supported with a
9522 # broken collect2.
9523 hardcode_direct=unsupported
9527 aix[4-9]*)
9528 if test "$host_cpu" = ia64; then
9529 # On IA64, the linker does run time linking by default, so we don't
9530 # have to do anything special.
9531 aix_use_runtimelinking=no
9532 exp_sym_flag='-Bexport'
9533 no_entry_flag=""
9534 else
9535 # If we're using GNU nm, then we don't want the "-C" option.
9536 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9537 # Also, AIX nm treats weak defined symbols like other global
9538 # defined symbols, whereas GNU nm marks them as "W".
9539 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9540 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9541 else
9542 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9544 aix_use_runtimelinking=no
9546 # Test if we are trying to use run time linking or normal
9547 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9548 # need to do runtime linking.
9549 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9550 for ld_flag in $LDFLAGS; do
9551 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9552 aix_use_runtimelinking=yes
9553 break
9555 done
9557 esac
9559 exp_sym_flag='-bexport'
9560 no_entry_flag='-bnoentry'
9563 # When large executables or shared objects are built, AIX ld can
9564 # have problems creating the table of contents. If linking a library
9565 # or program results in "error TOC overflow" add -mminimal-toc to
9566 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9567 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9569 archive_cmds=''
9570 hardcode_direct=yes
9571 hardcode_direct_absolute=yes
9572 hardcode_libdir_separator=':'
9573 link_all_deplibs=yes
9574 file_list_spec='${wl}-f,'
9576 if test "$GCC" = yes; then
9577 case $host_os in aix4.[012]|aix4.[012].*)
9578 # We only want to do this on AIX 4.2 and lower, the check
9579 # below for broken collect2 doesn't work under 4.3+
9580 collect2name=`${CC} -print-prog-name=collect2`
9581 if test -f "$collect2name" &&
9582 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9583 then
9584 # We have reworked collect2
9586 else
9587 # We have old collect2
9588 hardcode_direct=unsupported
9589 # It fails to find uninstalled libraries when the uninstalled
9590 # path is not listed in the libpath. Setting hardcode_minus_L
9591 # to unsupported forces relinking
9592 hardcode_minus_L=yes
9593 hardcode_libdir_flag_spec='-L$libdir'
9594 hardcode_libdir_separator=
9597 esac
9598 shared_flag='-shared'
9599 if test "$aix_use_runtimelinking" = yes; then
9600 shared_flag="$shared_flag "'${wl}-G'
9602 else
9603 # not using gcc
9604 if test "$host_cpu" = ia64; then
9605 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9606 # chokes on -Wl,-G. The following line is correct:
9607 shared_flag='-G'
9608 else
9609 if test "$aix_use_runtimelinking" = yes; then
9610 shared_flag='${wl}-G'
9611 else
9612 shared_flag='${wl}-bM:SRE'
9617 export_dynamic_flag_spec='${wl}-bexpall'
9618 # It seems that -bexpall does not export symbols beginning with
9619 # underscore (_), so it is better to generate a list of symbols to export.
9620 always_export_symbols=yes
9621 if test "$aix_use_runtimelinking" = yes; then
9622 # Warning - without using the other runtime loading flags (-brtl),
9623 # -berok will link without error, but may produce a broken library.
9624 allow_undefined_flag='-berok'
9625 # Determine the default libpath from the value encoded in an
9626 # empty executable.
9627 if test x$gcc_no_link = xyes; then
9628 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9631 /* end confdefs.h. */
9634 main ()
9638 return 0;
9640 _ACEOF
9641 if ac_fn_c_try_link "$LINENO"; then :
9643 lt_aix_libpath_sed='
9644 /Import File Strings/,/^$/ {
9645 /^0/ {
9646 s/^0 *\(.*\)$/\1/
9650 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9651 # Check for a 64-bit object if we didn't find anything.
9652 if test -z "$aix_libpath"; then
9653 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9656 rm -f core conftest.err conftest.$ac_objext \
9657 conftest$ac_exeext conftest.$ac_ext
9658 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9660 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9661 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9662 else
9663 if test "$host_cpu" = ia64; then
9664 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9665 allow_undefined_flag="-z nodefs"
9666 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
9667 else
9668 # Determine the default libpath from the value encoded in an
9669 # empty executable.
9670 if test x$gcc_no_link = xyes; then
9671 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9674 /* end confdefs.h. */
9677 main ()
9681 return 0;
9683 _ACEOF
9684 if ac_fn_c_try_link "$LINENO"; then :
9686 lt_aix_libpath_sed='
9687 /Import File Strings/,/^$/ {
9688 /^0/ {
9689 s/^0 *\(.*\)$/\1/
9693 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9694 # Check for a 64-bit object if we didn't find anything.
9695 if test -z "$aix_libpath"; then
9696 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9699 rm -f core conftest.err conftest.$ac_objext \
9700 conftest$ac_exeext conftest.$ac_ext
9701 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9703 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9704 # Warning - without using the other run time loading flags,
9705 # -berok will link without error, but may produce a broken library.
9706 no_undefined_flag=' ${wl}-bernotok'
9707 allow_undefined_flag=' ${wl}-berok'
9708 if test "$with_gnu_ld" = yes; then
9709 # We only use this code for GNU lds that support --whole-archive.
9710 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9711 else
9712 # Exported symbols can be pulled into shared objects from archives
9713 whole_archive_flag_spec='$convenience'
9715 archive_cmds_need_lc=yes
9716 # This is similar to how AIX traditionally builds its shared libraries.
9717 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
9722 amigaos*)
9723 case $host_cpu in
9724 powerpc)
9725 # see comment about AmigaOS4 .so support
9726 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9727 archive_expsym_cmds=''
9729 m68k)
9730 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
9731 hardcode_libdir_flag_spec='-L$libdir'
9732 hardcode_minus_L=yes
9734 esac
9737 bsdi[45]*)
9738 export_dynamic_flag_spec=-rdynamic
9741 cygwin* | mingw* | pw32* | cegcc*)
9742 # When not using gcc, we currently assume that we are using
9743 # Microsoft Visual C++.
9744 # hardcode_libdir_flag_spec is actually meaningless, as there is
9745 # no search path for DLLs.
9746 hardcode_libdir_flag_spec=' '
9747 allow_undefined_flag=unsupported
9748 # Tell ltmain to make .lib files, not .a files.
9749 libext=lib
9750 # Tell ltmain to make .dll files, not .so files.
9751 shrext_cmds=".dll"
9752 # FIXME: Setting linknames here is a bad hack.
9753 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9754 # The linker will automatically build a .lib file if we build a DLL.
9755 old_archive_from_new_cmds='true'
9756 # FIXME: Should let the user specify the lib program.
9757 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9758 fix_srcfile_path='`cygpath -w "$srcfile"`'
9759 enable_shared_with_static_runtimes=yes
9762 darwin* | rhapsody*)
9765 archive_cmds_need_lc=no
9766 hardcode_direct=no
9767 hardcode_automatic=yes
9768 hardcode_shlibpath_var=unsupported
9769 if test "$lt_cv_ld_force_load" = "yes"; then
9770 whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
9771 else
9772 whole_archive_flag_spec=''
9774 link_all_deplibs=yes
9775 allow_undefined_flag="$_lt_dar_allow_undefined"
9776 case $cc_basename in
9777 ifort*) _lt_dar_can_shared=yes ;;
9778 *) _lt_dar_can_shared=$GCC ;;
9779 esac
9780 if test "$_lt_dar_can_shared" = "yes"; then
9781 output_verbose_link_cmd=func_echo_all
9782 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9783 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9784 archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
9785 module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
9787 else
9788 ld_shlibs=no
9793 dgux*)
9794 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9795 hardcode_libdir_flag_spec='-L$libdir'
9796 hardcode_shlibpath_var=no
9799 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9800 # support. Future versions do this automatically, but an explicit c++rt0.o
9801 # does not break anything, and helps significantly (at the cost of a little
9802 # extra space).
9803 freebsd2.2*)
9804 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9805 hardcode_libdir_flag_spec='-R$libdir'
9806 hardcode_direct=yes
9807 hardcode_shlibpath_var=no
9810 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9811 freebsd2.*)
9812 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9813 hardcode_direct=yes
9814 hardcode_minus_L=yes
9815 hardcode_shlibpath_var=no
9818 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9819 freebsd* | dragonfly*)
9820 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9821 hardcode_libdir_flag_spec='-R$libdir'
9822 hardcode_direct=yes
9823 hardcode_shlibpath_var=no
9826 hpux9*)
9827 if test "$GCC" = yes; then
9828 archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9829 else
9830 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9832 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9833 hardcode_libdir_separator=:
9834 hardcode_direct=yes
9836 # hardcode_minus_L: Not really in the search PATH,
9837 # but as the default location of the library.
9838 hardcode_minus_L=yes
9839 export_dynamic_flag_spec='${wl}-E'
9842 hpux10*)
9843 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9844 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9845 else
9846 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9848 if test "$with_gnu_ld" = no; then
9849 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9850 hardcode_libdir_flag_spec_ld='+b $libdir'
9851 hardcode_libdir_separator=:
9852 hardcode_direct=yes
9853 hardcode_direct_absolute=yes
9854 export_dynamic_flag_spec='${wl}-E'
9855 # hardcode_minus_L: Not really in the search PATH,
9856 # but as the default location of the library.
9857 hardcode_minus_L=yes
9861 hpux11*)
9862 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9863 case $host_cpu in
9864 hppa*64*)
9865 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9867 ia64*)
9868 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9871 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9873 esac
9874 else
9875 case $host_cpu in
9876 hppa*64*)
9877 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9879 ia64*)
9880 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9884 # Older versions of the 11.00 compiler do not understand -b yet
9885 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9887 $as_echo_n "checking if $CC understands -b... " >&6; }
9888 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9889 $as_echo_n "(cached) " >&6
9890 else
9891 lt_cv_prog_compiler__b=no
9892 save_LDFLAGS="$LDFLAGS"
9893 LDFLAGS="$LDFLAGS -b"
9894 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9895 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9896 # The linker can only warn and ignore the option if not recognized
9897 # So say no if there are warnings
9898 if test -s conftest.err; then
9899 # Append any errors to the config.log.
9900 cat conftest.err 1>&5
9901 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9902 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9903 if diff conftest.exp conftest.er2 >/dev/null; then
9904 lt_cv_prog_compiler__b=yes
9906 else
9907 lt_cv_prog_compiler__b=yes
9910 $RM -r conftest*
9911 LDFLAGS="$save_LDFLAGS"
9914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9915 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9917 if test x"$lt_cv_prog_compiler__b" = xyes; then
9918 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9919 else
9920 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9924 esac
9926 if test "$with_gnu_ld" = no; then
9927 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9928 hardcode_libdir_separator=:
9930 case $host_cpu in
9931 hppa*64*|ia64*)
9932 hardcode_direct=no
9933 hardcode_shlibpath_var=no
9936 hardcode_direct=yes
9937 hardcode_direct_absolute=yes
9938 export_dynamic_flag_spec='${wl}-E'
9940 # hardcode_minus_L: Not really in the search PATH,
9941 # but as the default location of the library.
9942 hardcode_minus_L=yes
9944 esac
9948 irix5* | irix6* | nonstopux*)
9949 if test "$GCC" = yes; then
9950 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9951 # Try to use the -exported_symbol ld option, if it does not
9952 # work, assume that -exports_file does not work either and
9953 # implicitly export all symbols.
9954 save_LDFLAGS="$LDFLAGS"
9955 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9956 if test x$gcc_no_link = xyes; then
9957 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9960 /* end confdefs.h. */
9961 int foo(void) {}
9962 _ACEOF
9963 if ac_fn_c_try_link "$LINENO"; then :
9964 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9967 rm -f core conftest.err conftest.$ac_objext \
9968 conftest$ac_exeext conftest.$ac_ext
9969 LDFLAGS="$save_LDFLAGS"
9970 else
9971 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9972 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9974 archive_cmds_need_lc='no'
9975 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9976 hardcode_libdir_separator=:
9977 inherit_rpath=yes
9978 link_all_deplibs=yes
9981 netbsd*)
9982 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9983 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9984 else
9985 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9987 hardcode_libdir_flag_spec='-R$libdir'
9988 hardcode_direct=yes
9989 hardcode_shlibpath_var=no
9992 newsos6)
9993 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9994 hardcode_direct=yes
9995 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9996 hardcode_libdir_separator=:
9997 hardcode_shlibpath_var=no
10000 *nto* | *qnx*)
10003 openbsd*)
10004 if test -f /usr/libexec/ld.so; then
10005 hardcode_direct=yes
10006 hardcode_shlibpath_var=no
10007 hardcode_direct_absolute=yes
10008 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10009 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10010 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10011 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10012 export_dynamic_flag_spec='${wl}-E'
10013 else
10014 case $host_os in
10015 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10016 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10017 hardcode_libdir_flag_spec='-R$libdir'
10020 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10021 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10023 esac
10025 else
10026 ld_shlibs=no
10030 os2*)
10031 hardcode_libdir_flag_spec='-L$libdir'
10032 hardcode_minus_L=yes
10033 allow_undefined_flag=unsupported
10034 archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
10035 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10038 osf3*)
10039 if test "$GCC" = yes; then
10040 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10041 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10042 else
10043 allow_undefined_flag=' -expect_unresolved \*'
10044 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10046 archive_cmds_need_lc='no'
10047 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10048 hardcode_libdir_separator=:
10051 osf4* | osf5*) # as osf3* with the addition of -msym flag
10052 if test "$GCC" = yes; then
10053 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10054 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10055 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10056 else
10057 allow_undefined_flag=' -expect_unresolved \*'
10058 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10059 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
10060 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
10062 # Both c and cxx compiler support -rpath directly
10063 hardcode_libdir_flag_spec='-rpath $libdir'
10065 archive_cmds_need_lc='no'
10066 hardcode_libdir_separator=:
10069 solaris*)
10070 no_undefined_flag=' -z defs'
10071 if test "$GCC" = yes; then
10072 wlarc='${wl}'
10073 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10074 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10075 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10076 else
10077 case `$CC -V 2>&1` in
10078 *"Compilers 5.0"*)
10079 wlarc=''
10080 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10081 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10082 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10085 wlarc='${wl}'
10086 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10087 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10088 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10090 esac
10092 hardcode_libdir_flag_spec='-R$libdir'
10093 hardcode_shlibpath_var=no
10094 case $host_os in
10095 solaris2.[0-5] | solaris2.[0-5].*) ;;
10097 # The compiler driver will combine and reorder linker options,
10098 # but understands `-z linker_flag'. GCC discards it without `$wl',
10099 # but is careful enough not to reorder.
10100 # Supported since Solaris 2.6 (maybe 2.5.1?)
10101 if test "$GCC" = yes; then
10102 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10103 else
10104 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10107 esac
10108 link_all_deplibs=yes
10111 sunos4*)
10112 if test "x$host_vendor" = xsequent; then
10113 # Use $CC to link under sequent, because it throws in some extra .o
10114 # files that make .init and .fini sections work.
10115 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10116 else
10117 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10119 hardcode_libdir_flag_spec='-L$libdir'
10120 hardcode_direct=yes
10121 hardcode_minus_L=yes
10122 hardcode_shlibpath_var=no
10125 sysv4)
10126 case $host_vendor in
10127 sni)
10128 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10129 hardcode_direct=yes # is this really true???
10131 siemens)
10132 ## LD is ld it makes a PLAMLIB
10133 ## CC just makes a GrossModule.
10134 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10135 reload_cmds='$CC -r -o $output$reload_objs'
10136 hardcode_direct=no
10138 motorola)
10139 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10140 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10142 esac
10143 runpath_var='LD_RUN_PATH'
10144 hardcode_shlibpath_var=no
10147 sysv4.3*)
10148 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10149 hardcode_shlibpath_var=no
10150 export_dynamic_flag_spec='-Bexport'
10153 sysv4*MP*)
10154 if test -d /usr/nec; then
10155 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10156 hardcode_shlibpath_var=no
10157 runpath_var=LD_RUN_PATH
10158 hardcode_runpath_var=yes
10159 ld_shlibs=yes
10163 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10164 no_undefined_flag='${wl}-z,text'
10165 archive_cmds_need_lc=no
10166 hardcode_shlibpath_var=no
10167 runpath_var='LD_RUN_PATH'
10169 if test "$GCC" = yes; then
10170 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10171 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10172 else
10173 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10174 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10178 sysv5* | sco3.2v5* | sco5v6*)
10179 # Note: We can NOT use -z defs as we might desire, because we do not
10180 # link with -lc, and that would cause any symbols used from libc to
10181 # always be unresolved, which means just about no library would
10182 # ever link correctly. If we're not using GNU ld we use -z text
10183 # though, which does catch some bad symbols but isn't as heavy-handed
10184 # as -z defs.
10185 no_undefined_flag='${wl}-z,text'
10186 allow_undefined_flag='${wl}-z,nodefs'
10187 archive_cmds_need_lc=no
10188 hardcode_shlibpath_var=no
10189 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10190 hardcode_libdir_separator=':'
10191 link_all_deplibs=yes
10192 export_dynamic_flag_spec='${wl}-Bexport'
10193 runpath_var='LD_RUN_PATH'
10195 if test "$GCC" = yes; then
10196 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10197 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10198 else
10199 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10200 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10204 uts4*)
10205 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10206 hardcode_libdir_flag_spec='-L$libdir'
10207 hardcode_shlibpath_var=no
10211 ld_shlibs=no
10213 esac
10215 if test x$host_vendor = xsni; then
10216 case $host in
10217 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10218 export_dynamic_flag_spec='${wl}-Blargedynsym'
10220 esac
10224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10225 $as_echo "$ld_shlibs" >&6; }
10226 test "$ld_shlibs" = no && can_build_shared=no
10228 with_gnu_ld=$with_gnu_ld
10245 # Do we need to explicitly link libc?
10247 case "x$archive_cmds_need_lc" in
10248 x|xyes)
10249 # Assume -lc should be added
10250 archive_cmds_need_lc=yes
10252 if test "$enable_shared" = yes && test "$GCC" = yes; then
10253 case $archive_cmds in
10254 *'~'*)
10255 # FIXME: we may have to deal with multi-command sequences.
10257 '$CC '*)
10258 # Test whether the compiler implicitly links with -lc since on some
10259 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10260 # to ld, don't add -lc before -lgcc.
10261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10262 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10263 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10264 $as_echo_n "(cached) " >&6
10265 else
10266 $RM conftest*
10267 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10269 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10270 (eval $ac_compile) 2>&5
10271 ac_status=$?
10272 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10273 test $ac_status = 0; } 2>conftest.err; then
10274 soname=conftest
10275 lib=conftest
10276 libobjs=conftest.$ac_objext
10277 deplibs=
10278 wl=$lt_prog_compiler_wl
10279 pic_flag=$lt_prog_compiler_pic
10280 compiler_flags=-v
10281 linker_flags=-v
10282 verstring=
10283 output_objdir=.
10284 libname=conftest
10285 lt_save_allow_undefined_flag=$allow_undefined_flag
10286 allow_undefined_flag=
10287 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10288 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10289 ac_status=$?
10290 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10291 test $ac_status = 0; }
10292 then
10293 lt_cv_archive_cmds_need_lc=no
10294 else
10295 lt_cv_archive_cmds_need_lc=yes
10297 allow_undefined_flag=$lt_save_allow_undefined_flag
10298 else
10299 cat conftest.err 1>&5
10301 $RM conftest*
10304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10305 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10306 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10308 esac
10311 esac
10469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10470 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10472 if test "$GCC" = yes; then
10473 case $host_os in
10474 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10475 *) lt_awk_arg="/^libraries:/" ;;
10476 esac
10477 case $host_os in
10478 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10479 *) lt_sed_strip_eq="s,=/,/,g" ;;
10480 esac
10481 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10482 case $lt_search_path_spec in
10483 *\;*)
10484 # if the path contains ";" then we assume it to be the separator
10485 # otherwise default to the standard path separator (i.e. ":") - it is
10486 # assumed that no part of a normal pathname contains ";" but that should
10487 # okay in the real world where ";" in dirpaths is itself problematic.
10488 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10491 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10493 esac
10494 # Ok, now we have the path, separated by spaces, we can step through it
10495 # and add multilib dir if necessary.
10496 lt_tmp_lt_search_path_spec=
10497 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10498 for lt_sys_path in $lt_search_path_spec; do
10499 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10500 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10501 else
10502 test -d "$lt_sys_path" && \
10503 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10505 done
10506 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10507 BEGIN {RS=" "; FS="/|\n";} {
10508 lt_foo="";
10509 lt_count=0;
10510 for (lt_i = NF; lt_i > 0; lt_i--) {
10511 if ($lt_i != "" && $lt_i != ".") {
10512 if ($lt_i == "..") {
10513 lt_count++;
10514 } else {
10515 if (lt_count == 0) {
10516 lt_foo="/" $lt_i lt_foo;
10517 } else {
10518 lt_count--;
10523 if (lt_foo != "") { lt_freq[lt_foo]++; }
10524 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10526 # AWK program above erroneously prepends '/' to C:/dos/paths
10527 # for these hosts.
10528 case $host_os in
10529 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10530 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10531 esac
10532 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10533 else
10534 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10536 library_names_spec=
10537 libname_spec='lib$name'
10538 soname_spec=
10539 shrext_cmds=".so"
10540 postinstall_cmds=
10541 postuninstall_cmds=
10542 finish_cmds=
10543 finish_eval=
10544 shlibpath_var=
10545 shlibpath_overrides_runpath=unknown
10546 version_type=none
10547 dynamic_linker="$host_os ld.so"
10548 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10549 need_lib_prefix=unknown
10550 hardcode_into_libs=no
10552 # when you set need_version to no, make sure it does not cause -set_version
10553 # flags to be left without arguments
10554 need_version=unknown
10556 case $host_os in
10557 aix3*)
10558 version_type=linux
10559 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10560 shlibpath_var=LIBPATH
10562 # AIX 3 has no versioning support, so we append a major version to the name.
10563 soname_spec='${libname}${release}${shared_ext}$major'
10566 aix[4-9]*)
10567 version_type=linux
10568 need_lib_prefix=no
10569 need_version=no
10570 hardcode_into_libs=yes
10571 if test "$host_cpu" = ia64; then
10572 # AIX 5 supports IA64
10573 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10574 shlibpath_var=LD_LIBRARY_PATH
10575 else
10576 # With GCC up to 2.95.x, collect2 would create an import file
10577 # for dependence libraries. The import file would start with
10578 # the line `#! .'. This would cause the generated library to
10579 # depend on `.', always an invalid library. This was fixed in
10580 # development snapshots of GCC prior to 3.0.
10581 case $host_os in
10582 aix4 | aix4.[01] | aix4.[01].*)
10583 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10584 echo ' yes '
10585 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10587 else
10588 can_build_shared=no
10591 esac
10592 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10593 # soname into executable. Probably we can add versioning support to
10594 # collect2, so additional links can be useful in future.
10595 if test "$aix_use_runtimelinking" = yes; then
10596 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10597 # instead of lib<name>.a to let people know that these are not
10598 # typical AIX shared libraries.
10599 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10600 else
10601 # We preserve .a as extension for shared libraries through AIX4.2
10602 # and later when we are not doing run time linking.
10603 library_names_spec='${libname}${release}.a $libname.a'
10604 soname_spec='${libname}${release}${shared_ext}$major'
10606 shlibpath_var=LIBPATH
10610 amigaos*)
10611 case $host_cpu in
10612 powerpc)
10613 # Since July 2007 AmigaOS4 officially supports .so libraries.
10614 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10615 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10617 m68k)
10618 library_names_spec='$libname.ixlibrary $libname.a'
10619 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10620 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10622 esac
10625 beos*)
10626 library_names_spec='${libname}${shared_ext}'
10627 dynamic_linker="$host_os ld.so"
10628 shlibpath_var=LIBRARY_PATH
10631 bsdi[45]*)
10632 version_type=linux
10633 need_version=no
10634 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10635 soname_spec='${libname}${release}${shared_ext}$major'
10636 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10637 shlibpath_var=LD_LIBRARY_PATH
10638 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10639 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10640 # the default ld.so.conf also contains /usr/contrib/lib and
10641 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10642 # libtool to hard-code these into programs
10645 cygwin* | mingw* | pw32* | cegcc*)
10646 version_type=windows
10647 shrext_cmds=".dll"
10648 need_version=no
10649 need_lib_prefix=no
10651 case $GCC,$host_os in
10652 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10653 library_names_spec='$libname.dll.a'
10654 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10655 postinstall_cmds='base_file=`basename \${file}`~
10656 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10657 dldir=$destdir/`dirname \$dlpath`~
10658 test -d \$dldir || mkdir -p \$dldir~
10659 $install_prog $dir/$dlname \$dldir/$dlname~
10660 chmod a+x \$dldir/$dlname~
10661 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10662 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10664 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10665 dlpath=$dir/\$dldll~
10666 $RM \$dlpath'
10667 shlibpath_overrides_runpath=yes
10669 case $host_os in
10670 cygwin*)
10671 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10672 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10674 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10676 mingw* | cegcc*)
10677 # MinGW DLLs use traditional 'lib' prefix
10678 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10680 pw32*)
10681 # pw32 DLLs use 'pw' prefix rather than 'lib'
10682 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10684 esac
10688 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10690 esac
10691 dynamic_linker='Win32 ld.exe'
10692 # FIXME: first we should search . and the directory the executable is in
10693 shlibpath_var=PATH
10696 darwin* | rhapsody*)
10697 dynamic_linker="$host_os dyld"
10698 version_type=darwin
10699 need_lib_prefix=no
10700 need_version=no
10701 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10702 soname_spec='${libname}${release}${major}$shared_ext'
10703 shlibpath_overrides_runpath=yes
10704 shlibpath_var=DYLD_LIBRARY_PATH
10705 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10707 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10708 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10711 dgux*)
10712 version_type=linux
10713 need_lib_prefix=no
10714 need_version=no
10715 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10716 soname_spec='${libname}${release}${shared_ext}$major'
10717 shlibpath_var=LD_LIBRARY_PATH
10720 freebsd* | dragonfly*)
10721 # DragonFly does not have aout. When/if they implement a new
10722 # versioning mechanism, adjust this.
10723 if test -x /usr/bin/objformat; then
10724 objformat=`/usr/bin/objformat`
10725 else
10726 case $host_os in
10727 freebsd[23].*) objformat=aout ;;
10728 *) objformat=elf ;;
10729 esac
10731 version_type=freebsd-$objformat
10732 case $version_type in
10733 freebsd-elf*)
10734 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10735 need_version=no
10736 need_lib_prefix=no
10738 freebsd-*)
10739 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10740 need_version=yes
10742 esac
10743 shlibpath_var=LD_LIBRARY_PATH
10744 case $host_os in
10745 freebsd2.*)
10746 shlibpath_overrides_runpath=yes
10748 freebsd3.[01]* | freebsdelf3.[01]*)
10749 shlibpath_overrides_runpath=yes
10750 hardcode_into_libs=yes
10752 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10753 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10754 shlibpath_overrides_runpath=no
10755 hardcode_into_libs=yes
10757 *) # from 4.6 on, and DragonFly
10758 shlibpath_overrides_runpath=yes
10759 hardcode_into_libs=yes
10761 esac
10764 gnu*)
10765 version_type=linux
10766 need_lib_prefix=no
10767 need_version=no
10768 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10769 soname_spec='${libname}${release}${shared_ext}$major'
10770 shlibpath_var=LD_LIBRARY_PATH
10771 hardcode_into_libs=yes
10774 haiku*)
10775 version_type=linux
10776 need_lib_prefix=no
10777 need_version=no
10778 dynamic_linker="$host_os runtime_loader"
10779 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10780 soname_spec='${libname}${release}${shared_ext}$major'
10781 shlibpath_var=LIBRARY_PATH
10782 shlibpath_overrides_runpath=yes
10783 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10784 hardcode_into_libs=yes
10787 hpux9* | hpux10* | hpux11*)
10788 # Give a soname corresponding to the major version so that dld.sl refuses to
10789 # link against other versions.
10790 version_type=sunos
10791 need_lib_prefix=no
10792 need_version=no
10793 case $host_cpu in
10794 ia64*)
10795 shrext_cmds='.so'
10796 hardcode_into_libs=yes
10797 dynamic_linker="$host_os dld.so"
10798 shlibpath_var=LD_LIBRARY_PATH
10799 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10800 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10801 soname_spec='${libname}${release}${shared_ext}$major'
10802 if test "X$HPUX_IA64_MODE" = X32; then
10803 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10804 else
10805 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10807 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10809 hppa*64*)
10810 shrext_cmds='.sl'
10811 hardcode_into_libs=yes
10812 dynamic_linker="$host_os dld.sl"
10813 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10814 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10815 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10816 soname_spec='${libname}${release}${shared_ext}$major'
10817 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10818 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10821 shrext_cmds='.sl'
10822 dynamic_linker="$host_os dld.sl"
10823 shlibpath_var=SHLIB_PATH
10824 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10825 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10826 soname_spec='${libname}${release}${shared_ext}$major'
10828 esac
10829 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10830 postinstall_cmds='chmod 555 $lib'
10831 # or fails outright, so override atomically:
10832 install_override_mode=555
10835 interix[3-9]*)
10836 version_type=linux
10837 need_lib_prefix=no
10838 need_version=no
10839 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10840 soname_spec='${libname}${release}${shared_ext}$major'
10841 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10842 shlibpath_var=LD_LIBRARY_PATH
10843 shlibpath_overrides_runpath=no
10844 hardcode_into_libs=yes
10847 irix5* | irix6* | nonstopux*)
10848 case $host_os in
10849 nonstopux*) version_type=nonstopux ;;
10851 if test "$lt_cv_prog_gnu_ld" = yes; then
10852 version_type=linux
10853 else
10854 version_type=irix
10855 fi ;;
10856 esac
10857 need_lib_prefix=no
10858 need_version=no
10859 soname_spec='${libname}${release}${shared_ext}$major'
10860 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10861 case $host_os in
10862 irix5* | nonstopux*)
10863 libsuff= shlibsuff=
10866 case $LD in # libtool.m4 will add one of these switches to LD
10867 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10868 libsuff= shlibsuff= libmagic=32-bit;;
10869 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10870 libsuff=32 shlibsuff=N32 libmagic=N32;;
10871 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10872 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10873 *) libsuff= shlibsuff= libmagic=never-match;;
10874 esac
10876 esac
10877 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10878 shlibpath_overrides_runpath=no
10879 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10880 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10881 hardcode_into_libs=yes
10884 # No shared lib support for Linux oldld, aout, or coff.
10885 linux*oldld* | linux*aout* | linux*coff*)
10886 dynamic_linker=no
10889 # This must be Linux ELF.
10890 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10891 version_type=linux
10892 need_lib_prefix=no
10893 need_version=no
10894 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10895 soname_spec='${libname}${release}${shared_ext}$major'
10896 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10897 shlibpath_var=LD_LIBRARY_PATH
10898 shlibpath_overrides_runpath=no
10900 # Some binutils ld are patched to set DT_RUNPATH
10901 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10902 $as_echo_n "(cached) " >&6
10903 else
10904 lt_cv_shlibpath_overrides_runpath=no
10905 save_LDFLAGS=$LDFLAGS
10906 save_libdir=$libdir
10907 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10908 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10909 if test x$gcc_no_link = xyes; then
10910 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10913 /* end confdefs.h. */
10916 main ()
10920 return 0;
10922 _ACEOF
10923 if ac_fn_c_try_link "$LINENO"; then :
10924 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10925 lt_cv_shlibpath_overrides_runpath=yes
10928 rm -f core conftest.err conftest.$ac_objext \
10929 conftest$ac_exeext conftest.$ac_ext
10930 LDFLAGS=$save_LDFLAGS
10931 libdir=$save_libdir
10935 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10937 # This implies no fast_install, which is unacceptable.
10938 # Some rework will be needed to allow for fast_install
10939 # before this can be enabled.
10940 hardcode_into_libs=yes
10942 # Append ld.so.conf contents to the search path
10943 if test -f /etc/ld.so.conf; then
10944 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
10945 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10948 # We used to test for /lib/ld.so.1 and disable shared libraries on
10949 # powerpc, because MkLinux only supported shared libraries with the
10950 # GNU dynamic linker. Since this was broken with cross compilers,
10951 # most powerpc-linux boxes support dynamic linking these days and
10952 # people can always --disable-shared, the test was removed, and we
10953 # assume the GNU/Linux dynamic linker is in use.
10954 dynamic_linker='GNU/Linux ld.so'
10957 netbsd*)
10958 version_type=sunos
10959 need_lib_prefix=no
10960 need_version=no
10961 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10962 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10963 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10964 dynamic_linker='NetBSD (a.out) ld.so'
10965 else
10966 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10967 soname_spec='${libname}${release}${shared_ext}$major'
10968 dynamic_linker='NetBSD ld.elf_so'
10970 shlibpath_var=LD_LIBRARY_PATH
10971 shlibpath_overrides_runpath=yes
10972 hardcode_into_libs=yes
10975 newsos6)
10976 version_type=linux
10977 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10978 shlibpath_var=LD_LIBRARY_PATH
10979 shlibpath_overrides_runpath=yes
10982 *nto* | *qnx*)
10983 version_type=qnx
10984 need_lib_prefix=no
10985 need_version=no
10986 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10987 soname_spec='${libname}${release}${shared_ext}$major'
10988 shlibpath_var=LD_LIBRARY_PATH
10989 shlibpath_overrides_runpath=no
10990 hardcode_into_libs=yes
10991 dynamic_linker='ldqnx.so'
10994 openbsd*)
10995 version_type=sunos
10996 sys_lib_dlsearch_path_spec="/usr/lib"
10997 need_lib_prefix=no
10998 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10999 case $host_os in
11000 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11001 *) need_version=no ;;
11002 esac
11003 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11004 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11005 shlibpath_var=LD_LIBRARY_PATH
11006 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11007 case $host_os in
11008 openbsd2.[89] | openbsd2.[89].*)
11009 shlibpath_overrides_runpath=no
11012 shlibpath_overrides_runpath=yes
11014 esac
11015 else
11016 shlibpath_overrides_runpath=yes
11020 os2*)
11021 libname_spec='$name'
11022 shrext_cmds=".dll"
11023 need_lib_prefix=no
11024 library_names_spec='$libname${shared_ext} $libname.a'
11025 dynamic_linker='OS/2 ld.exe'
11026 shlibpath_var=LIBPATH
11029 osf3* | osf4* | osf5*)
11030 version_type=osf
11031 need_lib_prefix=no
11032 need_version=no
11033 soname_spec='${libname}${release}${shared_ext}$major'
11034 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11035 shlibpath_var=LD_LIBRARY_PATH
11036 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11037 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11040 rdos*)
11041 dynamic_linker=no
11044 solaris*)
11045 version_type=linux
11046 need_lib_prefix=no
11047 need_version=no
11048 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11049 soname_spec='${libname}${release}${shared_ext}$major'
11050 shlibpath_var=LD_LIBRARY_PATH
11051 shlibpath_overrides_runpath=yes
11052 hardcode_into_libs=yes
11053 # ldd complains unless libraries are executable
11054 postinstall_cmds='chmod +x $lib'
11057 sunos4*)
11058 version_type=sunos
11059 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11060 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11061 shlibpath_var=LD_LIBRARY_PATH
11062 shlibpath_overrides_runpath=yes
11063 if test "$with_gnu_ld" = yes; then
11064 need_lib_prefix=no
11066 need_version=yes
11069 sysv4 | sysv4.3*)
11070 version_type=linux
11071 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11072 soname_spec='${libname}${release}${shared_ext}$major'
11073 shlibpath_var=LD_LIBRARY_PATH
11074 case $host_vendor in
11075 sni)
11076 shlibpath_overrides_runpath=no
11077 need_lib_prefix=no
11078 runpath_var=LD_RUN_PATH
11080 siemens)
11081 need_lib_prefix=no
11083 motorola)
11084 need_lib_prefix=no
11085 need_version=no
11086 shlibpath_overrides_runpath=no
11087 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11089 esac
11092 sysv4*MP*)
11093 if test -d /usr/nec ;then
11094 version_type=linux
11095 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11096 soname_spec='$libname${shared_ext}.$major'
11097 shlibpath_var=LD_LIBRARY_PATH
11101 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11102 version_type=freebsd-elf
11103 need_lib_prefix=no
11104 need_version=no
11105 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11106 soname_spec='${libname}${release}${shared_ext}$major'
11107 shlibpath_var=LD_LIBRARY_PATH
11108 shlibpath_overrides_runpath=yes
11109 hardcode_into_libs=yes
11110 if test "$with_gnu_ld" = yes; then
11111 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11112 else
11113 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11114 case $host_os in
11115 sco3.2v5*)
11116 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11118 esac
11120 sys_lib_dlsearch_path_spec='/usr/lib'
11123 tpf*)
11124 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11125 version_type=linux
11126 need_lib_prefix=no
11127 need_version=no
11128 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11129 shlibpath_var=LD_LIBRARY_PATH
11130 shlibpath_overrides_runpath=no
11131 hardcode_into_libs=yes
11134 uts4*)
11135 version_type=linux
11136 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11137 soname_spec='${libname}${release}${shared_ext}$major'
11138 shlibpath_var=LD_LIBRARY_PATH
11142 dynamic_linker=no
11144 esac
11145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11146 $as_echo "$dynamic_linker" >&6; }
11147 test "$dynamic_linker" = no && can_build_shared=no
11149 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11150 if test "$GCC" = yes; then
11151 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11154 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11155 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11157 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11158 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11253 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11254 hardcode_action=
11255 if test -n "$hardcode_libdir_flag_spec" ||
11256 test -n "$runpath_var" ||
11257 test "X$hardcode_automatic" = "Xyes" ; then
11259 # We can hardcode non-existent directories.
11260 if test "$hardcode_direct" != no &&
11261 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11262 # have to relink, otherwise we might link with an installed library
11263 # when we should be linking with a yet-to-be-installed one
11264 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11265 test "$hardcode_minus_L" != no; then
11266 # Linking always hardcodes the temporary library directory.
11267 hardcode_action=relink
11268 else
11269 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11270 hardcode_action=immediate
11272 else
11273 # We cannot hardcode anything, or else we can only hardcode existing
11274 # directories.
11275 hardcode_action=unsupported
11277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11278 $as_echo "$hardcode_action" >&6; }
11280 if test "$hardcode_action" = relink ||
11281 test "$inherit_rpath" = yes; then
11282 # Fast installation is not supported
11283 enable_fast_install=no
11284 elif test "$shlibpath_overrides_runpath" = yes ||
11285 test "$enable_shared" = no; then
11286 # Fast installation is not necessary
11287 enable_fast_install=needless
11295 if test "x$enable_dlopen" != xyes; then
11296 enable_dlopen=unknown
11297 enable_dlopen_self=unknown
11298 enable_dlopen_self_static=unknown
11299 else
11300 lt_cv_dlopen=no
11301 lt_cv_dlopen_libs=
11303 case $host_os in
11304 beos*)
11305 lt_cv_dlopen="load_add_on"
11306 lt_cv_dlopen_libs=
11307 lt_cv_dlopen_self=yes
11310 mingw* | pw32* | cegcc*)
11311 lt_cv_dlopen="LoadLibrary"
11312 lt_cv_dlopen_libs=
11315 cygwin*)
11316 lt_cv_dlopen="dlopen"
11317 lt_cv_dlopen_libs=
11320 darwin*)
11321 # if libdl is installed we need to link against it
11322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11323 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11324 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11325 $as_echo_n "(cached) " >&6
11326 else
11327 ac_check_lib_save_LIBS=$LIBS
11328 LIBS="-ldl $LIBS"
11329 if test x$gcc_no_link = xyes; then
11330 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11333 /* end confdefs.h. */
11335 /* Override any GCC internal prototype to avoid an error.
11336 Use char because int might match the return type of a GCC
11337 builtin and then its argument prototype would still apply. */
11338 #ifdef __cplusplus
11339 extern "C"
11340 #endif
11341 char dlopen ();
11343 main ()
11345 return dlopen ();
11347 return 0;
11349 _ACEOF
11350 if ac_fn_c_try_link "$LINENO"; then :
11351 ac_cv_lib_dl_dlopen=yes
11352 else
11353 ac_cv_lib_dl_dlopen=no
11355 rm -f core conftest.err conftest.$ac_objext \
11356 conftest$ac_exeext conftest.$ac_ext
11357 LIBS=$ac_check_lib_save_LIBS
11359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11360 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11361 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11362 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11363 else
11365 lt_cv_dlopen="dyld"
11366 lt_cv_dlopen_libs=
11367 lt_cv_dlopen_self=yes
11374 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11375 if test "x$ac_cv_func_shl_load" = x""yes; then :
11376 lt_cv_dlopen="shl_load"
11377 else
11378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11379 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11380 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11381 $as_echo_n "(cached) " >&6
11382 else
11383 ac_check_lib_save_LIBS=$LIBS
11384 LIBS="-ldld $LIBS"
11385 if test x$gcc_no_link = xyes; then
11386 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11389 /* end confdefs.h. */
11391 /* Override any GCC internal prototype to avoid an error.
11392 Use char because int might match the return type of a GCC
11393 builtin and then its argument prototype would still apply. */
11394 #ifdef __cplusplus
11395 extern "C"
11396 #endif
11397 char shl_load ();
11399 main ()
11401 return shl_load ();
11403 return 0;
11405 _ACEOF
11406 if ac_fn_c_try_link "$LINENO"; then :
11407 ac_cv_lib_dld_shl_load=yes
11408 else
11409 ac_cv_lib_dld_shl_load=no
11411 rm -f core conftest.err conftest.$ac_objext \
11412 conftest$ac_exeext conftest.$ac_ext
11413 LIBS=$ac_check_lib_save_LIBS
11415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11416 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11417 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11418 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11419 else
11420 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11421 if test "x$ac_cv_func_dlopen" = x""yes; then :
11422 lt_cv_dlopen="dlopen"
11423 else
11424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11425 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11426 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11427 $as_echo_n "(cached) " >&6
11428 else
11429 ac_check_lib_save_LIBS=$LIBS
11430 LIBS="-ldl $LIBS"
11431 if test x$gcc_no_link = xyes; then
11432 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11435 /* end confdefs.h. */
11437 /* Override any GCC internal prototype to avoid an error.
11438 Use char because int might match the return type of a GCC
11439 builtin and then its argument prototype would still apply. */
11440 #ifdef __cplusplus
11441 extern "C"
11442 #endif
11443 char dlopen ();
11445 main ()
11447 return dlopen ();
11449 return 0;
11451 _ACEOF
11452 if ac_fn_c_try_link "$LINENO"; then :
11453 ac_cv_lib_dl_dlopen=yes
11454 else
11455 ac_cv_lib_dl_dlopen=no
11457 rm -f core conftest.err conftest.$ac_objext \
11458 conftest$ac_exeext conftest.$ac_ext
11459 LIBS=$ac_check_lib_save_LIBS
11461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11462 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11463 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11464 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11465 else
11466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11467 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11468 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11469 $as_echo_n "(cached) " >&6
11470 else
11471 ac_check_lib_save_LIBS=$LIBS
11472 LIBS="-lsvld $LIBS"
11473 if test x$gcc_no_link = xyes; then
11474 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11477 /* end confdefs.h. */
11479 /* Override any GCC internal prototype to avoid an error.
11480 Use char because int might match the return type of a GCC
11481 builtin and then its argument prototype would still apply. */
11482 #ifdef __cplusplus
11483 extern "C"
11484 #endif
11485 char dlopen ();
11487 main ()
11489 return dlopen ();
11491 return 0;
11493 _ACEOF
11494 if ac_fn_c_try_link "$LINENO"; then :
11495 ac_cv_lib_svld_dlopen=yes
11496 else
11497 ac_cv_lib_svld_dlopen=no
11499 rm -f core conftest.err conftest.$ac_objext \
11500 conftest$ac_exeext conftest.$ac_ext
11501 LIBS=$ac_check_lib_save_LIBS
11503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11504 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11505 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11506 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11507 else
11508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11509 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11510 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11511 $as_echo_n "(cached) " >&6
11512 else
11513 ac_check_lib_save_LIBS=$LIBS
11514 LIBS="-ldld $LIBS"
11515 if test x$gcc_no_link = xyes; then
11516 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11519 /* end confdefs.h. */
11521 /* Override any GCC internal prototype to avoid an error.
11522 Use char because int might match the return type of a GCC
11523 builtin and then its argument prototype would still apply. */
11524 #ifdef __cplusplus
11525 extern "C"
11526 #endif
11527 char dld_link ();
11529 main ()
11531 return dld_link ();
11533 return 0;
11535 _ACEOF
11536 if ac_fn_c_try_link "$LINENO"; then :
11537 ac_cv_lib_dld_dld_link=yes
11538 else
11539 ac_cv_lib_dld_dld_link=no
11541 rm -f core conftest.err conftest.$ac_objext \
11542 conftest$ac_exeext conftest.$ac_ext
11543 LIBS=$ac_check_lib_save_LIBS
11545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11546 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11547 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11548 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11567 esac
11569 if test "x$lt_cv_dlopen" != xno; then
11570 enable_dlopen=yes
11571 else
11572 enable_dlopen=no
11575 case $lt_cv_dlopen in
11576 dlopen)
11577 save_CPPFLAGS="$CPPFLAGS"
11578 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11580 save_LDFLAGS="$LDFLAGS"
11581 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11583 save_LIBS="$LIBS"
11584 LIBS="$lt_cv_dlopen_libs $LIBS"
11586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11587 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11588 if test "${lt_cv_dlopen_self+set}" = set; then :
11589 $as_echo_n "(cached) " >&6
11590 else
11591 if test "$cross_compiling" = yes; then :
11592 lt_cv_dlopen_self=cross
11593 else
11594 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11595 lt_status=$lt_dlunknown
11596 cat > conftest.$ac_ext <<_LT_EOF
11597 #line 11597 "configure"
11598 #include "confdefs.h"
11600 #if HAVE_DLFCN_H
11601 #include <dlfcn.h>
11602 #endif
11604 #include <stdio.h>
11606 #ifdef RTLD_GLOBAL
11607 # define LT_DLGLOBAL RTLD_GLOBAL
11608 #else
11609 # ifdef DL_GLOBAL
11610 # define LT_DLGLOBAL DL_GLOBAL
11611 # else
11612 # define LT_DLGLOBAL 0
11613 # endif
11614 #endif
11616 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11617 find out it does not work in some platform. */
11618 #ifndef LT_DLLAZY_OR_NOW
11619 # ifdef RTLD_LAZY
11620 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11621 # else
11622 # ifdef DL_LAZY
11623 # define LT_DLLAZY_OR_NOW DL_LAZY
11624 # else
11625 # ifdef RTLD_NOW
11626 # define LT_DLLAZY_OR_NOW RTLD_NOW
11627 # else
11628 # ifdef DL_NOW
11629 # define LT_DLLAZY_OR_NOW DL_NOW
11630 # else
11631 # define LT_DLLAZY_OR_NOW 0
11632 # endif
11633 # endif
11634 # endif
11635 # endif
11636 #endif
11638 /* When -fvisbility=hidden is used, assume the code has been annotated
11639 correspondingly for the symbols needed. */
11640 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11641 void fnord () __attribute__((visibility("default")));
11642 #endif
11644 void fnord () { int i=42; }
11645 int main ()
11647 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11648 int status = $lt_dlunknown;
11650 if (self)
11652 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11653 else
11655 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11656 else puts (dlerror ());
11658 /* dlclose (self); */
11660 else
11661 puts (dlerror ());
11663 return status;
11665 _LT_EOF
11666 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11667 (eval $ac_link) 2>&5
11668 ac_status=$?
11669 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11670 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11671 (./conftest; exit; ) >&5 2>/dev/null
11672 lt_status=$?
11673 case x$lt_status in
11674 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11675 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11676 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11677 esac
11678 else :
11679 # compilation failed
11680 lt_cv_dlopen_self=no
11683 rm -fr conftest*
11687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11688 $as_echo "$lt_cv_dlopen_self" >&6; }
11690 if test "x$lt_cv_dlopen_self" = xyes; then
11691 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11693 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11694 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11695 $as_echo_n "(cached) " >&6
11696 else
11697 if test "$cross_compiling" = yes; then :
11698 lt_cv_dlopen_self_static=cross
11699 else
11700 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11701 lt_status=$lt_dlunknown
11702 cat > conftest.$ac_ext <<_LT_EOF
11703 #line 11703 "configure"
11704 #include "confdefs.h"
11706 #if HAVE_DLFCN_H
11707 #include <dlfcn.h>
11708 #endif
11710 #include <stdio.h>
11712 #ifdef RTLD_GLOBAL
11713 # define LT_DLGLOBAL RTLD_GLOBAL
11714 #else
11715 # ifdef DL_GLOBAL
11716 # define LT_DLGLOBAL DL_GLOBAL
11717 # else
11718 # define LT_DLGLOBAL 0
11719 # endif
11720 #endif
11722 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11723 find out it does not work in some platform. */
11724 #ifndef LT_DLLAZY_OR_NOW
11725 # ifdef RTLD_LAZY
11726 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11727 # else
11728 # ifdef DL_LAZY
11729 # define LT_DLLAZY_OR_NOW DL_LAZY
11730 # else
11731 # ifdef RTLD_NOW
11732 # define LT_DLLAZY_OR_NOW RTLD_NOW
11733 # else
11734 # ifdef DL_NOW
11735 # define LT_DLLAZY_OR_NOW DL_NOW
11736 # else
11737 # define LT_DLLAZY_OR_NOW 0
11738 # endif
11739 # endif
11740 # endif
11741 # endif
11742 #endif
11744 /* When -fvisbility=hidden is used, assume the code has been annotated
11745 correspondingly for the symbols needed. */
11746 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11747 void fnord () __attribute__((visibility("default")));
11748 #endif
11750 void fnord () { int i=42; }
11751 int main ()
11753 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11754 int status = $lt_dlunknown;
11756 if (self)
11758 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11759 else
11761 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11762 else puts (dlerror ());
11764 /* dlclose (self); */
11766 else
11767 puts (dlerror ());
11769 return status;
11771 _LT_EOF
11772 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11773 (eval $ac_link) 2>&5
11774 ac_status=$?
11775 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11776 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11777 (./conftest; exit; ) >&5 2>/dev/null
11778 lt_status=$?
11779 case x$lt_status in
11780 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11781 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11782 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11783 esac
11784 else :
11785 # compilation failed
11786 lt_cv_dlopen_self_static=no
11789 rm -fr conftest*
11793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11794 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11797 CPPFLAGS="$save_CPPFLAGS"
11798 LDFLAGS="$save_LDFLAGS"
11799 LIBS="$save_LIBS"
11801 esac
11803 case $lt_cv_dlopen_self in
11804 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11805 *) enable_dlopen_self=unknown ;;
11806 esac
11808 case $lt_cv_dlopen_self_static in
11809 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11810 *) enable_dlopen_self_static=unknown ;;
11811 esac
11830 striplib=
11831 old_striplib=
11832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11833 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11834 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11835 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11836 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11838 $as_echo "yes" >&6; }
11839 else
11840 # FIXME - insert some real tests, host_os isn't really good enough
11841 case $host_os in
11842 darwin*)
11843 if test -n "$STRIP" ; then
11844 striplib="$STRIP -x"
11845 old_striplib="$STRIP -S"
11846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11847 $as_echo "yes" >&6; }
11848 else
11849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11850 $as_echo "no" >&6; }
11854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11855 $as_echo "no" >&6; }
11857 esac
11871 # Report which library types will actually be built
11872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11873 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11875 $as_echo "$can_build_shared" >&6; }
11877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11878 $as_echo_n "checking whether to build shared libraries... " >&6; }
11879 test "$can_build_shared" = "no" && enable_shared=no
11881 # On AIX, shared libraries and static libraries use the same namespace, and
11882 # are all built from PIC.
11883 case $host_os in
11884 aix3*)
11885 test "$enable_shared" = yes && enable_static=no
11886 if test -n "$RANLIB"; then
11887 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11888 postinstall_cmds='$RANLIB $lib'
11892 aix[4-9]*)
11893 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11894 test "$enable_shared" = yes && enable_static=no
11897 esac
11898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11899 $as_echo "$enable_shared" >&6; }
11901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11902 $as_echo_n "checking whether to build static libraries... " >&6; }
11903 # Make sure either enable_shared or enable_static is yes.
11904 test "$enable_shared" = yes || enable_static=yes
11905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11906 $as_echo "$enable_static" >&6; }
11912 ac_ext=c
11913 ac_cpp='$CPP $CPPFLAGS'
11914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11918 CC="$lt_save_CC"
11920 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11921 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11922 (test "X$CXX" != "Xg++"))) ; then
11923 ac_ext=cpp
11924 ac_cpp='$CXXCPP $CPPFLAGS'
11925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11929 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11930 if test -z "$CXXCPP"; then
11931 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11932 $as_echo_n "(cached) " >&6
11933 else
11934 # Double quotes because CXXCPP needs to be expanded
11935 for CXXCPP in "$CXX -E" "/lib/cpp"
11937 ac_preproc_ok=false
11938 for ac_cxx_preproc_warn_flag in '' yes
11940 # Use a header file that comes with gcc, so configuring glibc
11941 # with a fresh cross-compiler works.
11942 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11943 # <limits.h> exists even on freestanding compilers.
11944 # On the NeXT, cc -E runs the code through the compiler's parser,
11945 # not just through cpp. "Syntax error" is here to catch this case.
11946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11947 /* end confdefs.h. */
11948 #ifdef __STDC__
11949 # include <limits.h>
11950 #else
11951 # include <assert.h>
11952 #endif
11953 Syntax error
11954 _ACEOF
11955 if ac_fn_cxx_try_cpp "$LINENO"; then :
11957 else
11958 # Broken: fails on valid input.
11959 continue
11961 rm -f conftest.err conftest.$ac_ext
11963 # OK, works on sane cases. Now check whether nonexistent headers
11964 # can be detected and how.
11965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11966 /* end confdefs.h. */
11967 #include <ac_nonexistent.h>
11968 _ACEOF
11969 if ac_fn_cxx_try_cpp "$LINENO"; then :
11970 # Broken: success on invalid input.
11971 continue
11972 else
11973 # Passes both tests.
11974 ac_preproc_ok=:
11975 break
11977 rm -f conftest.err conftest.$ac_ext
11979 done
11980 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11981 rm -f conftest.err conftest.$ac_ext
11982 if $ac_preproc_ok; then :
11983 break
11986 done
11987 ac_cv_prog_CXXCPP=$CXXCPP
11990 CXXCPP=$ac_cv_prog_CXXCPP
11991 else
11992 ac_cv_prog_CXXCPP=$CXXCPP
11994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11995 $as_echo "$CXXCPP" >&6; }
11996 ac_preproc_ok=false
11997 for ac_cxx_preproc_warn_flag in '' yes
11999 # Use a header file that comes with gcc, so configuring glibc
12000 # with a fresh cross-compiler works.
12001 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12002 # <limits.h> exists even on freestanding compilers.
12003 # On the NeXT, cc -E runs the code through the compiler's parser,
12004 # not just through cpp. "Syntax error" is here to catch this case.
12005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12006 /* end confdefs.h. */
12007 #ifdef __STDC__
12008 # include <limits.h>
12009 #else
12010 # include <assert.h>
12011 #endif
12012 Syntax error
12013 _ACEOF
12014 if ac_fn_cxx_try_cpp "$LINENO"; then :
12016 else
12017 # Broken: fails on valid input.
12018 continue
12020 rm -f conftest.err conftest.$ac_ext
12022 # OK, works on sane cases. Now check whether nonexistent headers
12023 # can be detected and how.
12024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12025 /* end confdefs.h. */
12026 #include <ac_nonexistent.h>
12027 _ACEOF
12028 if ac_fn_cxx_try_cpp "$LINENO"; then :
12029 # Broken: success on invalid input.
12030 continue
12031 else
12032 # Passes both tests.
12033 ac_preproc_ok=:
12034 break
12036 rm -f conftest.err conftest.$ac_ext
12038 done
12039 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12040 rm -f conftest.err conftest.$ac_ext
12041 if $ac_preproc_ok; then :
12043 else
12044 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12045 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12046 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
12047 See \`config.log' for more details." "$LINENO" 5; }
12050 ac_ext=c
12051 ac_cpp='$CPP $CPPFLAGS'
12052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12056 else
12057 _lt_caught_CXX_error=yes
12060 ac_ext=cpp
12061 ac_cpp='$CXXCPP $CPPFLAGS'
12062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12066 archive_cmds_need_lc_CXX=no
12067 allow_undefined_flag_CXX=
12068 always_export_symbols_CXX=no
12069 archive_expsym_cmds_CXX=
12070 compiler_needs_object_CXX=no
12071 export_dynamic_flag_spec_CXX=
12072 hardcode_direct_CXX=no
12073 hardcode_direct_absolute_CXX=no
12074 hardcode_libdir_flag_spec_CXX=
12075 hardcode_libdir_flag_spec_ld_CXX=
12076 hardcode_libdir_separator_CXX=
12077 hardcode_minus_L_CXX=no
12078 hardcode_shlibpath_var_CXX=unsupported
12079 hardcode_automatic_CXX=no
12080 inherit_rpath_CXX=no
12081 module_cmds_CXX=
12082 module_expsym_cmds_CXX=
12083 link_all_deplibs_CXX=unknown
12084 old_archive_cmds_CXX=$old_archive_cmds
12085 reload_flag_CXX=$reload_flag
12086 reload_cmds_CXX=$reload_cmds
12087 no_undefined_flag_CXX=
12088 whole_archive_flag_spec_CXX=
12089 enable_shared_with_static_runtimes_CXX=no
12091 # Source file extension for C++ test sources.
12092 ac_ext=cpp
12094 # Object file extension for compiled C++ test sources.
12095 objext=o
12096 objext_CXX=$objext
12098 # No sense in running all these tests if we already determined that
12099 # the CXX compiler isn't working. Some variables (like enable_shared)
12100 # are currently assumed to apply to all compilers on this platform,
12101 # and will be corrupted by setting them based on a non-working compiler.
12102 if test "$_lt_caught_CXX_error" != yes; then
12103 # Code to be used in simple compile tests
12104 lt_simple_compile_test_code="int some_variable = 0;"
12106 # Code to be used in simple link tests
12107 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12109 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12116 # If no C compiler was specified, use CC.
12117 LTCC=${LTCC-"$CC"}
12119 # If no C compiler flags were specified, use CFLAGS.
12120 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12122 # Allow CC to be a program name with arguments.
12123 compiler=$CC
12126 # save warnings/boilerplate of simple test code
12127 ac_outfile=conftest.$ac_objext
12128 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12129 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12130 _lt_compiler_boilerplate=`cat conftest.err`
12131 $RM conftest*
12133 ac_outfile=conftest.$ac_objext
12134 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12135 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12136 _lt_linker_boilerplate=`cat conftest.err`
12137 $RM -r conftest*
12140 # Allow CC to be a program name with arguments.
12141 lt_save_CC=$CC
12142 lt_save_LD=$LD
12143 lt_save_GCC=$GCC
12144 GCC=$GXX
12145 lt_save_with_gnu_ld=$with_gnu_ld
12146 lt_save_path_LD=$lt_cv_path_LD
12147 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12148 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12149 else
12150 $as_unset lt_cv_prog_gnu_ld
12152 if test -n "${lt_cv_path_LDCXX+set}"; then
12153 lt_cv_path_LD=$lt_cv_path_LDCXX
12154 else
12155 $as_unset lt_cv_path_LD
12157 test -z "${LDCXX+set}" || LD=$LDCXX
12158 CC=${CXX-"c++"}
12159 compiler=$CC
12160 compiler_CXX=$CC
12161 for cc_temp in $compiler""; do
12162 case $cc_temp in
12163 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12164 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12165 \-*) ;;
12166 *) break;;
12167 esac
12168 done
12169 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12172 if test -n "$compiler"; then
12173 # We don't want -fno-exception when compiling C++ code, so set the
12174 # no_builtin_flag separately
12175 if test "$GXX" = yes; then
12176 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12177 else
12178 lt_prog_compiler_no_builtin_flag_CXX=
12181 if test "$GXX" = yes; then
12182 # Set up default GNU C++ configuration
12186 # Check whether --with-gnu-ld was given.
12187 if test "${with_gnu_ld+set}" = set; then :
12188 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12189 else
12190 with_gnu_ld=no
12193 ac_prog=ld
12194 if test "$GCC" = yes; then
12195 # Check if gcc -print-prog-name=ld gives a path.
12196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12197 $as_echo_n "checking for ld used by $CC... " >&6; }
12198 case $host in
12199 *-*-mingw*)
12200 # gcc leaves a trailing carriage return which upsets mingw
12201 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12203 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12204 esac
12205 case $ac_prog in
12206 # Accept absolute paths.
12207 [\\/]* | ?:[\\/]*)
12208 re_direlt='/[^/][^/]*/\.\./'
12209 # Canonicalize the pathname of ld
12210 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12211 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12212 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12213 done
12214 test -z "$LD" && LD="$ac_prog"
12217 # If it fails, then pretend we aren't using GCC.
12218 ac_prog=ld
12221 # If it is relative, then search for the first ld in PATH.
12222 with_gnu_ld=unknown
12224 esac
12225 elif test "$with_gnu_ld" = yes; then
12226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12227 $as_echo_n "checking for GNU ld... " >&6; }
12228 else
12229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12230 $as_echo_n "checking for non-GNU ld... " >&6; }
12232 if test "${lt_cv_path_LD+set}" = set; then :
12233 $as_echo_n "(cached) " >&6
12234 else
12235 if test -z "$LD"; then
12236 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12237 for ac_dir in $PATH; do
12238 IFS="$lt_save_ifs"
12239 test -z "$ac_dir" && ac_dir=.
12240 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12241 lt_cv_path_LD="$ac_dir/$ac_prog"
12242 # Check to see if the program is GNU ld. I'd rather use --version,
12243 # but apparently some variants of GNU ld only accept -v.
12244 # Break only if it was the GNU/non-GNU ld that we prefer.
12245 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12246 *GNU* | *'with BFD'*)
12247 test "$with_gnu_ld" != no && break
12250 test "$with_gnu_ld" != yes && break
12252 esac
12254 done
12255 IFS="$lt_save_ifs"
12256 else
12257 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12261 LD="$lt_cv_path_LD"
12262 if test -n "$LD"; then
12263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12264 $as_echo "$LD" >&6; }
12265 else
12266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12267 $as_echo "no" >&6; }
12269 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12271 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12272 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12273 $as_echo_n "(cached) " >&6
12274 else
12275 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12276 case `$LD -v 2>&1 </dev/null` in
12277 *GNU* | *'with BFD'*)
12278 lt_cv_prog_gnu_ld=yes
12281 lt_cv_prog_gnu_ld=no
12283 esac
12285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12286 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12287 with_gnu_ld=$lt_cv_prog_gnu_ld
12295 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12296 # archiving commands below assume that GNU ld is being used.
12297 if test "$with_gnu_ld" = yes; then
12298 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12299 archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12301 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12302 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12304 # If archive_cmds runs LD, not CC, wlarc should be empty
12305 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12306 # investigate it a little bit more. (MM)
12307 wlarc='${wl}'
12309 # ancient GNU ld didn't support --whole-archive et. al.
12310 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12311 $GREP 'no-whole-archive' > /dev/null; then
12312 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12313 else
12314 whole_archive_flag_spec_CXX=
12316 else
12317 with_gnu_ld=no
12318 wlarc=
12320 # A generic and very simple default shared library creation
12321 # command for GNU C++ for the case where it uses the native
12322 # linker, instead of GNU ld. If possible, this setting should
12323 # overridden to take advantage of the native linker features on
12324 # the platform it is being used on.
12325 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12328 # Commands to make compiler produce verbose output that lists
12329 # what "hidden" libraries, object files and flags are used when
12330 # linking a shared library.
12331 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12333 else
12334 GXX=no
12335 with_gnu_ld=no
12336 wlarc=
12339 # PORTME: fill in a description of your system's C++ link characteristics
12340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12341 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12342 ld_shlibs_CXX=yes
12343 case $host_os in
12344 aix3*)
12345 # FIXME: insert proper C++ library support
12346 ld_shlibs_CXX=no
12348 aix[4-9]*)
12349 if test "$host_cpu" = ia64; then
12350 # On IA64, the linker does run time linking by default, so we don't
12351 # have to do anything special.
12352 aix_use_runtimelinking=no
12353 exp_sym_flag='-Bexport'
12354 no_entry_flag=""
12355 else
12356 aix_use_runtimelinking=no
12358 # Test if we are trying to use run time linking or normal
12359 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12360 # need to do runtime linking.
12361 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12362 for ld_flag in $LDFLAGS; do
12363 case $ld_flag in
12364 *-brtl*)
12365 aix_use_runtimelinking=yes
12366 break
12368 esac
12369 done
12371 esac
12373 exp_sym_flag='-bexport'
12374 no_entry_flag='-bnoentry'
12377 # When large executables or shared objects are built, AIX ld can
12378 # have problems creating the table of contents. If linking a library
12379 # or program results in "error TOC overflow" add -mminimal-toc to
12380 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12381 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12383 archive_cmds_CXX=''
12384 hardcode_direct_CXX=yes
12385 hardcode_direct_absolute_CXX=yes
12386 hardcode_libdir_separator_CXX=':'
12387 link_all_deplibs_CXX=yes
12388 file_list_spec_CXX='${wl}-f,'
12390 if test "$GXX" = yes; then
12391 case $host_os in aix4.[012]|aix4.[012].*)
12392 # We only want to do this on AIX 4.2 and lower, the check
12393 # below for broken collect2 doesn't work under 4.3+
12394 collect2name=`${CC} -print-prog-name=collect2`
12395 if test -f "$collect2name" &&
12396 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12397 then
12398 # We have reworked collect2
12400 else
12401 # We have old collect2
12402 hardcode_direct_CXX=unsupported
12403 # It fails to find uninstalled libraries when the uninstalled
12404 # path is not listed in the libpath. Setting hardcode_minus_L
12405 # to unsupported forces relinking
12406 hardcode_minus_L_CXX=yes
12407 hardcode_libdir_flag_spec_CXX='-L$libdir'
12408 hardcode_libdir_separator_CXX=
12410 esac
12411 shared_flag='-shared'
12412 if test "$aix_use_runtimelinking" = yes; then
12413 shared_flag="$shared_flag "'${wl}-G'
12415 else
12416 # not using gcc
12417 if test "$host_cpu" = ia64; then
12418 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12419 # chokes on -Wl,-G. The following line is correct:
12420 shared_flag='-G'
12421 else
12422 if test "$aix_use_runtimelinking" = yes; then
12423 shared_flag='${wl}-G'
12424 else
12425 shared_flag='${wl}-bM:SRE'
12430 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12431 # It seems that -bexpall does not export symbols beginning with
12432 # underscore (_), so it is better to generate a list of symbols to
12433 # export.
12434 always_export_symbols_CXX=yes
12435 if test "$aix_use_runtimelinking" = yes; then
12436 # Warning - without using the other runtime loading flags (-brtl),
12437 # -berok will link without error, but may produce a broken library.
12438 allow_undefined_flag_CXX='-berok'
12439 # Determine the default libpath from the value encoded in an empty
12440 # executable.
12441 if test x$gcc_no_link = xyes; then
12442 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12445 /* end confdefs.h. */
12448 main ()
12452 return 0;
12454 _ACEOF
12455 if ac_fn_cxx_try_link "$LINENO"; then :
12457 lt_aix_libpath_sed='
12458 /Import File Strings/,/^$/ {
12459 /^0/ {
12460 s/^0 *\(.*\)$/\1/
12464 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12465 # Check for a 64-bit object if we didn't find anything.
12466 if test -z "$aix_libpath"; then
12467 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12470 rm -f core conftest.err conftest.$ac_objext \
12471 conftest$ac_exeext conftest.$ac_ext
12472 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12474 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12476 archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
12477 else
12478 if test "$host_cpu" = ia64; then
12479 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12480 allow_undefined_flag_CXX="-z nodefs"
12481 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
12482 else
12483 # Determine the default libpath from the value encoded in an
12484 # empty executable.
12485 if test x$gcc_no_link = xyes; then
12486 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12489 /* end confdefs.h. */
12492 main ()
12496 return 0;
12498 _ACEOF
12499 if ac_fn_cxx_try_link "$LINENO"; then :
12501 lt_aix_libpath_sed='
12502 /Import File Strings/,/^$/ {
12503 /^0/ {
12504 s/^0 *\(.*\)$/\1/
12508 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12509 # Check for a 64-bit object if we didn't find anything.
12510 if test -z "$aix_libpath"; then
12511 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12514 rm -f core conftest.err conftest.$ac_objext \
12515 conftest$ac_exeext conftest.$ac_ext
12516 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12518 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12519 # Warning - without using the other run time loading flags,
12520 # -berok will link without error, but may produce a broken library.
12521 no_undefined_flag_CXX=' ${wl}-bernotok'
12522 allow_undefined_flag_CXX=' ${wl}-berok'
12523 if test "$with_gnu_ld" = yes; then
12524 # We only use this code for GNU lds that support --whole-archive.
12525 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12526 else
12527 # Exported symbols can be pulled into shared objects from archives
12528 whole_archive_flag_spec_CXX='$convenience'
12530 archive_cmds_need_lc_CXX=yes
12531 # This is similar to how AIX traditionally builds its shared
12532 # libraries.
12533 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
12538 beos*)
12539 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12540 allow_undefined_flag_CXX=unsupported
12541 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12542 # support --undefined. This deserves some investigation. FIXME
12543 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12544 else
12545 ld_shlibs_CXX=no
12549 chorus*)
12550 case $cc_basename in
12552 # FIXME: insert proper C++ library support
12553 ld_shlibs_CXX=no
12555 esac
12558 cygwin* | mingw* | pw32* | cegcc*)
12559 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12560 # as there is no search path for DLLs.
12561 hardcode_libdir_flag_spec_CXX='-L$libdir'
12562 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12563 allow_undefined_flag_CXX=unsupported
12564 always_export_symbols_CXX=no
12565 enable_shared_with_static_runtimes_CXX=yes
12567 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12568 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12569 # If the export-symbols file already is a .def file (1st line
12570 # is EXPORTS), use it as is; otherwise, prepend...
12571 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12572 cp $export_symbols $output_objdir/$soname.def;
12573 else
12574 echo EXPORTS > $output_objdir/$soname.def;
12575 cat $export_symbols >> $output_objdir/$soname.def;
12577 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12578 else
12579 ld_shlibs_CXX=no
12582 darwin* | rhapsody*)
12585 archive_cmds_need_lc_CXX=no
12586 hardcode_direct_CXX=no
12587 hardcode_automatic_CXX=yes
12588 hardcode_shlibpath_var_CXX=unsupported
12589 if test "$lt_cv_ld_force_load" = "yes"; then
12590 whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
12591 else
12592 whole_archive_flag_spec_CXX=''
12594 link_all_deplibs_CXX=yes
12595 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12596 case $cc_basename in
12597 ifort*) _lt_dar_can_shared=yes ;;
12598 *) _lt_dar_can_shared=$GCC ;;
12599 esac
12600 if test "$_lt_dar_can_shared" = "yes"; then
12601 output_verbose_link_cmd=func_echo_all
12602 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
12603 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12604 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
12605 module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
12606 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12607 archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
12608 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
12611 else
12612 ld_shlibs_CXX=no
12617 dgux*)
12618 case $cc_basename in
12619 ec++*)
12620 # FIXME: insert proper C++ library support
12621 ld_shlibs_CXX=no
12623 ghcx*)
12624 # Green Hills C++ Compiler
12625 # FIXME: insert proper C++ library support
12626 ld_shlibs_CXX=no
12629 # FIXME: insert proper C++ library support
12630 ld_shlibs_CXX=no
12632 esac
12635 freebsd2.*)
12636 # C++ shared libraries reported to be fairly broken before
12637 # switch to ELF
12638 ld_shlibs_CXX=no
12641 freebsd-elf*)
12642 archive_cmds_need_lc_CXX=no
12645 freebsd* | dragonfly*)
12646 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12647 # conventions
12648 ld_shlibs_CXX=yes
12651 gnu*)
12654 haiku*)
12655 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12656 link_all_deplibs_CXX=yes
12659 hpux9*)
12660 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12661 hardcode_libdir_separator_CXX=:
12662 export_dynamic_flag_spec_CXX='${wl}-E'
12663 hardcode_direct_CXX=yes
12664 hardcode_minus_L_CXX=yes # Not in the search PATH,
12665 # but as the default
12666 # location of the library.
12668 case $cc_basename in
12669 CC*)
12670 # FIXME: insert proper C++ library support
12671 ld_shlibs_CXX=no
12673 aCC*)
12674 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12675 # Commands to make compiler produce verbose output that lists
12676 # what "hidden" libraries, object files and flags are used when
12677 # linking a shared library.
12679 # There doesn't appear to be a way to prevent this compiler from
12680 # explicitly linking system object files so we need to strip them
12681 # from the output so that they don't get included in the library
12682 # dependencies.
12683 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12686 if test "$GXX" = yes; then
12687 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12688 else
12689 # FIXME: insert proper C++ library support
12690 ld_shlibs_CXX=no
12693 esac
12696 hpux10*|hpux11*)
12697 if test $with_gnu_ld = no; then
12698 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12699 hardcode_libdir_separator_CXX=:
12701 case $host_cpu in
12702 hppa*64*|ia64*)
12705 export_dynamic_flag_spec_CXX='${wl}-E'
12707 esac
12709 case $host_cpu in
12710 hppa*64*|ia64*)
12711 hardcode_direct_CXX=no
12712 hardcode_shlibpath_var_CXX=no
12715 hardcode_direct_CXX=yes
12716 hardcode_direct_absolute_CXX=yes
12717 hardcode_minus_L_CXX=yes # Not in the search PATH,
12718 # but as the default
12719 # location of the library.
12721 esac
12723 case $cc_basename in
12724 CC*)
12725 # FIXME: insert proper C++ library support
12726 ld_shlibs_CXX=no
12728 aCC*)
12729 case $host_cpu in
12730 hppa*64*)
12731 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12733 ia64*)
12734 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12737 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12739 esac
12740 # Commands to make compiler produce verbose output that lists
12741 # what "hidden" libraries, object files and flags are used when
12742 # linking a shared library.
12744 # There doesn't appear to be a way to prevent this compiler from
12745 # explicitly linking system object files so we need to strip them
12746 # from the output so that they don't get included in the library
12747 # dependencies.
12748 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12751 if test "$GXX" = yes; then
12752 if test $with_gnu_ld = no; then
12753 case $host_cpu in
12754 hppa*64*)
12755 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12757 ia64*)
12758 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12761 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12763 esac
12765 else
12766 # FIXME: insert proper C++ library support
12767 ld_shlibs_CXX=no
12770 esac
12773 interix[3-9]*)
12774 hardcode_direct_CXX=no
12775 hardcode_shlibpath_var_CXX=no
12776 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12777 export_dynamic_flag_spec_CXX='${wl}-E'
12778 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12779 # Instead, shared libraries are loaded at an image base (0x10000000 by
12780 # default) and relocated if they conflict, which is a slow very memory
12781 # consuming and fragmenting process. To avoid this, we pick a random,
12782 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12783 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12784 archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12785 archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12787 irix5* | irix6*)
12788 case $cc_basename in
12789 CC*)
12790 # SGI C++
12791 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
12793 # Archives containing C++ object files must be created using
12794 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12795 # necessary to make sure instantiated templates are included
12796 # in the archive.
12797 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12800 if test "$GXX" = yes; then
12801 if test "$with_gnu_ld" = no; then
12802 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12803 else
12804 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
12807 link_all_deplibs_CXX=yes
12809 esac
12810 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12811 hardcode_libdir_separator_CXX=:
12812 inherit_rpath_CXX=yes
12815 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12816 case $cc_basename in
12817 KCC*)
12818 # Kuck and Associates, Inc. (KAI) C++ Compiler
12820 # KCC will only create a shared library if the output file
12821 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12822 # to its proper name (with version) after linking.
12823 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
12824 archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
12825 # Commands to make compiler produce verbose output that lists
12826 # what "hidden" libraries, object files and flags are used when
12827 # linking a shared library.
12829 # There doesn't appear to be a way to prevent this compiler from
12830 # explicitly linking system object files so we need to strip them
12831 # from the output so that they don't get included in the library
12832 # dependencies.
12833 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12835 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12836 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12838 # Archives containing C++ object files must be created using
12839 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12840 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12842 icpc* | ecpc* )
12843 # Intel C++
12844 with_gnu_ld=yes
12845 # version 8.0 and above of icpc choke on multiply defined symbols
12846 # if we add $predep_objects and $postdep_objects, however 7.1 and
12847 # earlier do not add the objects themselves.
12848 case `$CC -V 2>&1` in
12849 *"Version 7."*)
12850 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12851 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12853 *) # Version 8.0 or newer
12854 tmp_idyn=
12855 case $host_cpu in
12856 ia64*) tmp_idyn=' -i_dynamic';;
12857 esac
12858 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12859 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12861 esac
12862 archive_cmds_need_lc_CXX=no
12863 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12864 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12865 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12867 pgCC* | pgcpp*)
12868 # Portland Group C++ compiler
12869 case `$CC -V` in
12870 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12871 prelink_cmds_CXX='tpldir=Template.dir~
12872 rm -rf $tpldir~
12873 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12874 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12875 old_archive_cmds_CXX='tpldir=Template.dir~
12876 rm -rf $tpldir~
12877 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12878 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12879 $RANLIB $oldlib'
12880 archive_cmds_CXX='tpldir=Template.dir~
12881 rm -rf $tpldir~
12882 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12883 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12884 archive_expsym_cmds_CXX='tpldir=Template.dir~
12885 rm -rf $tpldir~
12886 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12887 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12889 *) # Version 6 and above use weak symbols
12890 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12891 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12893 esac
12895 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12896 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12897 whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
12899 cxx*)
12900 # Compaq C++
12901 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12902 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
12904 runpath_var=LD_RUN_PATH
12905 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12906 hardcode_libdir_separator_CXX=:
12908 # Commands to make compiler produce verbose output that lists
12909 # what "hidden" libraries, object files and flags are used when
12910 # linking a shared library.
12912 # There doesn't appear to be a way to prevent this compiler from
12913 # explicitly linking system object files so we need to strip them
12914 # from the output so that they don't get included in the library
12915 # dependencies.
12916 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
12918 xl* | mpixl* | bgxl*)
12919 # IBM XL 8.0 on PPC, with GNU ld
12920 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12921 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12922 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12923 if test "x$supports_anon_versioning" = xyes; then
12924 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12925 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12926 echo "local: *; };" >> $output_objdir/$libname.ver~
12927 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12931 case `$CC -V 2>&1 | sed 5q` in
12932 *Sun\ C*)
12933 # Sun C++ 5.9
12934 no_undefined_flag_CXX=' -zdefs'
12935 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12936 archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
12937 hardcode_libdir_flag_spec_CXX='-R$libdir'
12938 whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
12939 compiler_needs_object_CXX=yes
12941 # Not sure whether something based on
12942 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12943 # would be better.
12944 output_verbose_link_cmd='func_echo_all'
12946 # Archives containing C++ object files must be created using
12947 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12948 # necessary to make sure instantiated templates are included
12949 # in the archive.
12950 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12952 esac
12954 esac
12957 lynxos*)
12958 # FIXME: insert proper C++ library support
12959 ld_shlibs_CXX=no
12962 m88k*)
12963 # FIXME: insert proper C++ library support
12964 ld_shlibs_CXX=no
12967 mvs*)
12968 case $cc_basename in
12969 cxx*)
12970 # FIXME: insert proper C++ library support
12971 ld_shlibs_CXX=no
12974 # FIXME: insert proper C++ library support
12975 ld_shlibs_CXX=no
12977 esac
12980 netbsd*)
12981 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12982 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12983 wlarc=
12984 hardcode_libdir_flag_spec_CXX='-R$libdir'
12985 hardcode_direct_CXX=yes
12986 hardcode_shlibpath_var_CXX=no
12988 # Workaround some broken pre-1.5 toolchains
12989 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12992 *nto* | *qnx*)
12993 ld_shlibs_CXX=yes
12996 openbsd2*)
12997 # C++ shared libraries are fairly broken
12998 ld_shlibs_CXX=no
13001 openbsd*)
13002 if test -f /usr/libexec/ld.so; then
13003 hardcode_direct_CXX=yes
13004 hardcode_shlibpath_var_CXX=no
13005 hardcode_direct_absolute_CXX=yes
13006 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13007 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13008 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13009 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13010 export_dynamic_flag_spec_CXX='${wl}-E'
13011 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13013 output_verbose_link_cmd=func_echo_all
13014 else
13015 ld_shlibs_CXX=no
13019 osf3* | osf4* | osf5*)
13020 case $cc_basename in
13021 KCC*)
13022 # Kuck and Associates, Inc. (KAI) C++ Compiler
13024 # KCC will only create a shared library if the output file
13025 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13026 # to its proper name (with version) after linking.
13027 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
13029 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13030 hardcode_libdir_separator_CXX=:
13032 # Archives containing C++ object files must be created using
13033 # the KAI C++ compiler.
13034 case $host in
13035 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13036 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13037 esac
13039 RCC*)
13040 # Rational C++ 2.4.1
13041 # FIXME: insert proper C++ library support
13042 ld_shlibs_CXX=no
13044 cxx*)
13045 case $host in
13046 osf3*)
13047 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13048 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13049 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13052 allow_undefined_flag_CXX=' -expect_unresolved \*'
13053 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13054 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13055 echo "-hidden">> $lib.exp~
13056 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
13057 $RM $lib.exp'
13058 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13060 esac
13062 hardcode_libdir_separator_CXX=:
13064 # Commands to make compiler produce verbose output that lists
13065 # what "hidden" libraries, object files and flags are used when
13066 # linking a shared library.
13068 # There doesn't appear to be a way to prevent this compiler from
13069 # explicitly linking system object files so we need to strip them
13070 # from the output so that they don't get included in the library
13071 # dependencies.
13072 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13075 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13076 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13077 case $host in
13078 osf3*)
13079 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13082 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13084 esac
13086 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13087 hardcode_libdir_separator_CXX=:
13089 # Commands to make compiler produce verbose output that lists
13090 # what "hidden" libraries, object files and flags are used when
13091 # linking a shared library.
13092 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13094 else
13095 # FIXME: insert proper C++ library support
13096 ld_shlibs_CXX=no
13099 esac
13102 psos*)
13103 # FIXME: insert proper C++ library support
13104 ld_shlibs_CXX=no
13107 sunos4*)
13108 case $cc_basename in
13109 CC*)
13110 # Sun C++ 4.x
13111 # FIXME: insert proper C++ library support
13112 ld_shlibs_CXX=no
13114 lcc*)
13115 # Lucid
13116 # FIXME: insert proper C++ library support
13117 ld_shlibs_CXX=no
13120 # FIXME: insert proper C++ library support
13121 ld_shlibs_CXX=no
13123 esac
13126 solaris*)
13127 case $cc_basename in
13128 CC*)
13129 # Sun C++ 4.2, 5.x and Centerline C++
13130 archive_cmds_need_lc_CXX=yes
13131 no_undefined_flag_CXX=' -zdefs'
13132 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13133 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13134 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13136 hardcode_libdir_flag_spec_CXX='-R$libdir'
13137 hardcode_shlibpath_var_CXX=no
13138 case $host_os in
13139 solaris2.[0-5] | solaris2.[0-5].*) ;;
13141 # The compiler driver will combine and reorder linker options,
13142 # but understands `-z linker_flag'.
13143 # Supported since Solaris 2.6 (maybe 2.5.1?)
13144 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13146 esac
13147 link_all_deplibs_CXX=yes
13149 output_verbose_link_cmd='func_echo_all'
13151 # Archives containing C++ object files must be created using
13152 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13153 # necessary to make sure instantiated templates are included
13154 # in the archive.
13155 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13157 gcx*)
13158 # Green Hills C++ Compiler
13159 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13161 # The C++ compiler must be used to create the archive.
13162 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13165 # GNU C++ compiler with Solaris linker
13166 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13167 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13168 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13169 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13170 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13171 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13173 # Commands to make compiler produce verbose output that lists
13174 # what "hidden" libraries, object files and flags are used when
13175 # linking a shared library.
13176 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13177 else
13178 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13179 # platform.
13180 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13181 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13182 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13184 # Commands to make compiler produce verbose output that lists
13185 # what "hidden" libraries, object files and flags are used when
13186 # linking a shared library.
13187 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13190 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13191 case $host_os in
13192 solaris2.[0-5] | solaris2.[0-5].*) ;;
13194 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13196 esac
13199 esac
13202 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13203 no_undefined_flag_CXX='${wl}-z,text'
13204 archive_cmds_need_lc_CXX=no
13205 hardcode_shlibpath_var_CXX=no
13206 runpath_var='LD_RUN_PATH'
13208 case $cc_basename in
13209 CC*)
13210 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13211 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13214 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13215 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13217 esac
13220 sysv5* | sco3.2v5* | sco5v6*)
13221 # Note: We can NOT use -z defs as we might desire, because we do not
13222 # link with -lc, and that would cause any symbols used from libc to
13223 # always be unresolved, which means just about no library would
13224 # ever link correctly. If we're not using GNU ld we use -z text
13225 # though, which does catch some bad symbols but isn't as heavy-handed
13226 # as -z defs.
13227 no_undefined_flag_CXX='${wl}-z,text'
13228 allow_undefined_flag_CXX='${wl}-z,nodefs'
13229 archive_cmds_need_lc_CXX=no
13230 hardcode_shlibpath_var_CXX=no
13231 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13232 hardcode_libdir_separator_CXX=':'
13233 link_all_deplibs_CXX=yes
13234 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13235 runpath_var='LD_RUN_PATH'
13237 case $cc_basename in
13238 CC*)
13239 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13240 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13241 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13242 '"$old_archive_cmds_CXX"
13243 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13244 '"$reload_cmds_CXX"
13247 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13248 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13250 esac
13253 tandem*)
13254 case $cc_basename in
13255 NCC*)
13256 # NonStop-UX NCC 3.20
13257 # FIXME: insert proper C++ library support
13258 ld_shlibs_CXX=no
13261 # FIXME: insert proper C++ library support
13262 ld_shlibs_CXX=no
13264 esac
13267 vxworks*)
13268 # FIXME: insert proper C++ library support
13269 ld_shlibs_CXX=no
13273 # FIXME: insert proper C++ library support
13274 ld_shlibs_CXX=no
13276 esac
13278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13279 $as_echo "$ld_shlibs_CXX" >&6; }
13280 test "$ld_shlibs_CXX" = no && can_build_shared=no
13282 GCC_CXX="$GXX"
13283 LD_CXX="$LD"
13285 ## CAVEAT EMPTOR:
13286 ## There is no encapsulation within the following macros, do not change
13287 ## the running order or otherwise move them around unless you know exactly
13288 ## what you are doing...
13289 # Dependencies to place before and after the object being linked:
13290 predep_objects_CXX=
13291 postdep_objects_CXX=
13292 predeps_CXX=
13293 postdeps_CXX=
13294 compiler_lib_search_path_CXX=
13296 cat > conftest.$ac_ext <<_LT_EOF
13297 class Foo
13299 public:
13300 Foo (void) { a = 0; }
13301 private:
13302 int a;
13304 _LT_EOF
13306 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13307 (eval $ac_compile) 2>&5
13308 ac_status=$?
13309 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13310 test $ac_status = 0; }; then
13311 # Parse the compiler output and extract the necessary
13312 # objects, libraries and library flags.
13314 # Sentinel used to keep track of whether or not we are before
13315 # the conftest object file.
13316 pre_test_object_deps_done=no
13318 for p in `eval "$output_verbose_link_cmd"`; do
13319 case $p in
13321 -L* | -R* | -l*)
13322 # Some compilers place space between "-{L,R}" and the path.
13323 # Remove the space.
13324 if test $p = "-L" ||
13325 test $p = "-R"; then
13326 prev=$p
13327 continue
13328 else
13329 prev=
13332 if test "$pre_test_object_deps_done" = no; then
13333 case $p in
13334 -L* | -R*)
13335 # Internal compiler library paths should come after those
13336 # provided the user. The postdeps already come after the
13337 # user supplied libs so there is no need to process them.
13338 if test -z "$compiler_lib_search_path_CXX"; then
13339 compiler_lib_search_path_CXX="${prev}${p}"
13340 else
13341 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13344 # The "-l" case would never come before the object being
13345 # linked, so don't bother handling this case.
13346 esac
13347 else
13348 if test -z "$postdeps_CXX"; then
13349 postdeps_CXX="${prev}${p}"
13350 else
13351 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13356 *.$objext)
13357 # This assumes that the test object file only shows up
13358 # once in the compiler output.
13359 if test "$p" = "conftest.$objext"; then
13360 pre_test_object_deps_done=yes
13361 continue
13364 if test "$pre_test_object_deps_done" = no; then
13365 if test -z "$predep_objects_CXX"; then
13366 predep_objects_CXX="$p"
13367 else
13368 predep_objects_CXX="$predep_objects_CXX $p"
13370 else
13371 if test -z "$postdep_objects_CXX"; then
13372 postdep_objects_CXX="$p"
13373 else
13374 postdep_objects_CXX="$postdep_objects_CXX $p"
13379 *) ;; # Ignore the rest.
13381 esac
13382 done
13384 # Clean up.
13385 rm -f a.out a.exe
13386 else
13387 echo "libtool.m4: error: problem compiling CXX test program"
13390 $RM -f confest.$objext
13392 # PORTME: override above test on systems where it is broken
13393 case $host_os in
13394 interix[3-9]*)
13395 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13396 # hack all around it, let's just trust "g++" to DTRT.
13397 predep_objects_CXX=
13398 postdep_objects_CXX=
13399 postdeps_CXX=
13402 linux*)
13403 case `$CC -V 2>&1 | sed 5q` in
13404 *Sun\ C*)
13405 # Sun C++ 5.9
13407 # The more standards-conforming stlport4 library is
13408 # incompatible with the Cstd library. Avoid specifying
13409 # it if it's in CXXFLAGS. Ignore libCrun as
13410 # -library=stlport4 depends on it.
13411 case " $CXX $CXXFLAGS " in
13412 *" -library=stlport4 "*)
13413 solaris_use_stlport4=yes
13415 esac
13417 if test "$solaris_use_stlport4" != yes; then
13418 postdeps_CXX='-library=Cstd -library=Crun'
13421 esac
13424 solaris*)
13425 case $cc_basename in
13426 CC*)
13427 # The more standards-conforming stlport4 library is
13428 # incompatible with the Cstd library. Avoid specifying
13429 # it if it's in CXXFLAGS. Ignore libCrun as
13430 # -library=stlport4 depends on it.
13431 case " $CXX $CXXFLAGS " in
13432 *" -library=stlport4 "*)
13433 solaris_use_stlport4=yes
13435 esac
13437 # Adding this requires a known-good setup of shared libraries for
13438 # Sun compiler versions before 5.6, else PIC objects from an old
13439 # archive will be linked into the output, leading to subtle bugs.
13440 if test "$solaris_use_stlport4" != yes; then
13441 postdeps_CXX='-library=Cstd -library=Crun'
13444 esac
13446 esac
13449 case " $postdeps_CXX " in
13450 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13451 esac
13452 compiler_lib_search_dirs_CXX=
13453 if test -n "${compiler_lib_search_path_CXX}"; then
13454 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13487 lt_prog_compiler_wl_CXX=
13488 lt_prog_compiler_pic_CXX=
13489 lt_prog_compiler_static_CXX=
13491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13492 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13494 # C++ specific cases for pic, static, wl, etc.
13495 if test "$GXX" = yes; then
13496 lt_prog_compiler_wl_CXX='-Wl,'
13497 lt_prog_compiler_static_CXX='-static'
13499 case $host_os in
13500 aix*)
13501 # All AIX code is PIC.
13502 if test "$host_cpu" = ia64; then
13503 # AIX 5 now supports IA64 processor
13504 lt_prog_compiler_static_CXX='-Bstatic'
13506 lt_prog_compiler_pic_CXX='-fPIC'
13509 amigaos*)
13510 case $host_cpu in
13511 powerpc)
13512 # see comment about AmigaOS4 .so support
13513 lt_prog_compiler_pic_CXX='-fPIC'
13515 m68k)
13516 # FIXME: we need at least 68020 code to build shared libraries, but
13517 # adding the `-m68020' flag to GCC prevents building anything better,
13518 # like `-m68040'.
13519 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13521 esac
13524 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13525 # PIC is the default for these OSes.
13527 mingw* | cygwin* | os2* | pw32* | cegcc*)
13528 # This hack is so that the source file can tell whether it is being
13529 # built for inclusion in a dll (and should export symbols for example).
13530 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13531 # (--disable-auto-import) libraries
13532 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13534 darwin* | rhapsody*)
13535 # PIC is the default on this platform
13536 # Common symbols not allowed in MH_DYLIB files
13537 lt_prog_compiler_pic_CXX='-fno-common'
13539 *djgpp*)
13540 # DJGPP does not support shared libraries at all
13541 lt_prog_compiler_pic_CXX=
13543 haiku*)
13544 # PIC is the default for Haiku.
13545 # The "-static" flag exists, but is broken.
13546 lt_prog_compiler_static_CXX=
13548 interix[3-9]*)
13549 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13550 # Instead, we relocate shared libraries at runtime.
13552 sysv4*MP*)
13553 if test -d /usr/nec; then
13554 lt_prog_compiler_pic_CXX=-Kconform_pic
13557 hpux*)
13558 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13559 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13560 # sets the default TLS model and affects inlining.
13561 case $host_cpu in
13562 hppa*64*)
13565 lt_prog_compiler_pic_CXX='-fPIC'
13567 esac
13569 *qnx* | *nto*)
13570 # QNX uses GNU C++, but need to define -shared option too, otherwise
13571 # it will coredump.
13572 lt_prog_compiler_pic_CXX='-fPIC -shared'
13575 lt_prog_compiler_pic_CXX='-fPIC'
13577 esac
13578 else
13579 case $host_os in
13580 aix[4-9]*)
13581 # All AIX code is PIC.
13582 if test "$host_cpu" = ia64; then
13583 # AIX 5 now supports IA64 processor
13584 lt_prog_compiler_static_CXX='-Bstatic'
13585 else
13586 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13589 chorus*)
13590 case $cc_basename in
13591 cxch68*)
13592 # Green Hills C++ Compiler
13593 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
13595 esac
13597 dgux*)
13598 case $cc_basename in
13599 ec++*)
13600 lt_prog_compiler_pic_CXX='-KPIC'
13602 ghcx*)
13603 # Green Hills C++ Compiler
13604 lt_prog_compiler_pic_CXX='-pic'
13608 esac
13610 freebsd* | dragonfly*)
13611 # FreeBSD uses GNU C++
13613 hpux9* | hpux10* | hpux11*)
13614 case $cc_basename in
13615 CC*)
13616 lt_prog_compiler_wl_CXX='-Wl,'
13617 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13618 if test "$host_cpu" != ia64; then
13619 lt_prog_compiler_pic_CXX='+Z'
13622 aCC*)
13623 lt_prog_compiler_wl_CXX='-Wl,'
13624 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13625 case $host_cpu in
13626 hppa*64*|ia64*)
13627 # +Z the default
13630 lt_prog_compiler_pic_CXX='+Z'
13632 esac
13636 esac
13638 interix*)
13639 # This is c89, which is MS Visual C++ (no shared libs)
13640 # Anyone wants to do a port?
13642 irix5* | irix6* | nonstopux*)
13643 case $cc_basename in
13644 CC*)
13645 lt_prog_compiler_wl_CXX='-Wl,'
13646 lt_prog_compiler_static_CXX='-non_shared'
13647 # CC pic flag -KPIC is the default.
13651 esac
13653 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13654 case $cc_basename in
13655 KCC*)
13656 # KAI C++ Compiler
13657 lt_prog_compiler_wl_CXX='--backend -Wl,'
13658 lt_prog_compiler_pic_CXX='-fPIC'
13660 ecpc* )
13661 # old Intel C++ for x86_64 which still supported -KPIC.
13662 lt_prog_compiler_wl_CXX='-Wl,'
13663 lt_prog_compiler_pic_CXX='-KPIC'
13664 lt_prog_compiler_static_CXX='-static'
13666 icpc* )
13667 # Intel C++, used to be incompatible with GCC.
13668 # ICC 10 doesn't accept -KPIC any more.
13669 lt_prog_compiler_wl_CXX='-Wl,'
13670 lt_prog_compiler_pic_CXX='-fPIC'
13671 lt_prog_compiler_static_CXX='-static'
13673 pgCC* | pgcpp*)
13674 # Portland Group C++ compiler
13675 lt_prog_compiler_wl_CXX='-Wl,'
13676 lt_prog_compiler_pic_CXX='-fpic'
13677 lt_prog_compiler_static_CXX='-Bstatic'
13679 cxx*)
13680 # Compaq C++
13681 # Make sure the PIC flag is empty. It appears that all Alpha
13682 # Linux and Compaq Tru64 Unix objects are PIC.
13683 lt_prog_compiler_pic_CXX=
13684 lt_prog_compiler_static_CXX='-non_shared'
13686 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13687 # IBM XL 8.0, 9.0 on PPC and BlueGene
13688 lt_prog_compiler_wl_CXX='-Wl,'
13689 lt_prog_compiler_pic_CXX='-qpic'
13690 lt_prog_compiler_static_CXX='-qstaticlink'
13693 case `$CC -V 2>&1 | sed 5q` in
13694 *Sun\ C*)
13695 # Sun C++ 5.9
13696 lt_prog_compiler_pic_CXX='-KPIC'
13697 lt_prog_compiler_static_CXX='-Bstatic'
13698 lt_prog_compiler_wl_CXX='-Qoption ld '
13700 esac
13702 esac
13704 lynxos*)
13706 m88k*)
13708 mvs*)
13709 case $cc_basename in
13710 cxx*)
13711 lt_prog_compiler_pic_CXX='-W c,exportall'
13715 esac
13717 netbsd*)
13719 *qnx* | *nto*)
13720 # QNX uses GNU C++, but need to define -shared option too, otherwise
13721 # it will coredump.
13722 lt_prog_compiler_pic_CXX='-fPIC -shared'
13724 osf3* | osf4* | osf5*)
13725 case $cc_basename in
13726 KCC*)
13727 lt_prog_compiler_wl_CXX='--backend -Wl,'
13729 RCC*)
13730 # Rational C++ 2.4.1
13731 lt_prog_compiler_pic_CXX='-pic'
13733 cxx*)
13734 # Digital/Compaq C++
13735 lt_prog_compiler_wl_CXX='-Wl,'
13736 # Make sure the PIC flag is empty. It appears that all Alpha
13737 # Linux and Compaq Tru64 Unix objects are PIC.
13738 lt_prog_compiler_pic_CXX=
13739 lt_prog_compiler_static_CXX='-non_shared'
13743 esac
13745 psos*)
13747 solaris*)
13748 case $cc_basename in
13749 CC*)
13750 # Sun C++ 4.2, 5.x and Centerline C++
13751 lt_prog_compiler_pic_CXX='-KPIC'
13752 lt_prog_compiler_static_CXX='-Bstatic'
13753 lt_prog_compiler_wl_CXX='-Qoption ld '
13755 gcx*)
13756 # Green Hills C++ Compiler
13757 lt_prog_compiler_pic_CXX='-PIC'
13761 esac
13763 sunos4*)
13764 case $cc_basename in
13765 CC*)
13766 # Sun C++ 4.x
13767 lt_prog_compiler_pic_CXX='-pic'
13768 lt_prog_compiler_static_CXX='-Bstatic'
13770 lcc*)
13771 # Lucid
13772 lt_prog_compiler_pic_CXX='-pic'
13776 esac
13778 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13779 case $cc_basename in
13780 CC*)
13781 lt_prog_compiler_wl_CXX='-Wl,'
13782 lt_prog_compiler_pic_CXX='-KPIC'
13783 lt_prog_compiler_static_CXX='-Bstatic'
13785 esac
13787 tandem*)
13788 case $cc_basename in
13789 NCC*)
13790 # NonStop-UX NCC 3.20
13791 lt_prog_compiler_pic_CXX='-KPIC'
13795 esac
13797 vxworks*)
13800 lt_prog_compiler_can_build_shared_CXX=no
13802 esac
13805 case $host_os in
13806 # For platforms which do not support PIC, -DPIC is meaningless:
13807 *djgpp*)
13808 lt_prog_compiler_pic_CXX=
13811 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13813 esac
13814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13815 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13820 # Check to make sure the PIC flag actually works.
13822 if test -n "$lt_prog_compiler_pic_CXX"; then
13823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13824 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13825 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13826 $as_echo_n "(cached) " >&6
13827 else
13828 lt_cv_prog_compiler_pic_works_CXX=no
13829 ac_outfile=conftest.$ac_objext
13830 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13831 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13832 # Insert the option either (1) after the last *FLAGS variable, or
13833 # (2) before a word containing "conftest.", or (3) at the end.
13834 # Note that $ac_compile itself does not contain backslashes and begins
13835 # with a dollar sign (not a hyphen), so the echo should work correctly.
13836 # The option is referenced via a variable to avoid confusing sed.
13837 lt_compile=`echo "$ac_compile" | $SED \
13838 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13839 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13840 -e 's:$: $lt_compiler_flag:'`
13841 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13842 (eval "$lt_compile" 2>conftest.err)
13843 ac_status=$?
13844 cat conftest.err >&5
13845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13846 if (exit $ac_status) && test -s "$ac_outfile"; then
13847 # The compiler can only warn and ignore the option if not recognized
13848 # So say no if there are warnings other than the usual output.
13849 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13850 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13851 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13852 lt_cv_prog_compiler_pic_works_CXX=yes
13855 $RM conftest*
13858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13859 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13861 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13862 case $lt_prog_compiler_pic_CXX in
13863 "" | " "*) ;;
13864 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13865 esac
13866 else
13867 lt_prog_compiler_pic_CXX=
13868 lt_prog_compiler_can_build_shared_CXX=no
13876 # Check to make sure the static flag actually works.
13878 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13880 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13881 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13882 $as_echo_n "(cached) " >&6
13883 else
13884 lt_cv_prog_compiler_static_works_CXX=no
13885 save_LDFLAGS="$LDFLAGS"
13886 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13887 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13888 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13889 # The linker can only warn and ignore the option if not recognized
13890 # So say no if there are warnings
13891 if test -s conftest.err; then
13892 # Append any errors to the config.log.
13893 cat conftest.err 1>&5
13894 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13895 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13896 if diff conftest.exp conftest.er2 >/dev/null; then
13897 lt_cv_prog_compiler_static_works_CXX=yes
13899 else
13900 lt_cv_prog_compiler_static_works_CXX=yes
13903 $RM -r conftest*
13904 LDFLAGS="$save_LDFLAGS"
13907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13908 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13910 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13912 else
13913 lt_prog_compiler_static_CXX=
13919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13920 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13921 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13922 $as_echo_n "(cached) " >&6
13923 else
13924 lt_cv_prog_compiler_c_o_CXX=no
13925 $RM -r conftest 2>/dev/null
13926 mkdir conftest
13927 cd conftest
13928 mkdir out
13929 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13931 lt_compiler_flag="-o out/conftest2.$ac_objext"
13932 # Insert the option either (1) after the last *FLAGS variable, or
13933 # (2) before a word containing "conftest.", or (3) at the end.
13934 # Note that $ac_compile itself does not contain backslashes and begins
13935 # with a dollar sign (not a hyphen), so the echo should work correctly.
13936 lt_compile=`echo "$ac_compile" | $SED \
13937 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13938 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13939 -e 's:$: $lt_compiler_flag:'`
13940 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13941 (eval "$lt_compile" 2>out/conftest.err)
13942 ac_status=$?
13943 cat out/conftest.err >&5
13944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13945 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13946 then
13947 # The compiler can only warn and ignore the option if not recognized
13948 # So say no if there are warnings
13949 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13950 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13951 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13952 lt_cv_prog_compiler_c_o_CXX=yes
13955 chmod u+w . 2>&5
13956 $RM conftest*
13957 # SGI C++ compiler will create directory out/ii_files/ for
13958 # template instantiation
13959 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13960 $RM out/* && rmdir out
13961 cd ..
13962 $RM -r conftest
13963 $RM conftest*
13966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13967 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13972 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13973 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13974 $as_echo_n "(cached) " >&6
13975 else
13976 lt_cv_prog_compiler_c_o_CXX=no
13977 $RM -r conftest 2>/dev/null
13978 mkdir conftest
13979 cd conftest
13980 mkdir out
13981 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13983 lt_compiler_flag="-o out/conftest2.$ac_objext"
13984 # Insert the option either (1) after the last *FLAGS variable, or
13985 # (2) before a word containing "conftest.", or (3) at the end.
13986 # Note that $ac_compile itself does not contain backslashes and begins
13987 # with a dollar sign (not a hyphen), so the echo should work correctly.
13988 lt_compile=`echo "$ac_compile" | $SED \
13989 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13990 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13991 -e 's:$: $lt_compiler_flag:'`
13992 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13993 (eval "$lt_compile" 2>out/conftest.err)
13994 ac_status=$?
13995 cat out/conftest.err >&5
13996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13997 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13998 then
13999 # The compiler can only warn and ignore the option if not recognized
14000 # So say no if there are warnings
14001 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14002 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14003 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14004 lt_cv_prog_compiler_c_o_CXX=yes
14007 chmod u+w . 2>&5
14008 $RM conftest*
14009 # SGI C++ compiler will create directory out/ii_files/ for
14010 # template instantiation
14011 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14012 $RM out/* && rmdir out
14013 cd ..
14014 $RM -r conftest
14015 $RM conftest*
14018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14019 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14024 hard_links="nottested"
14025 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14026 # do not overwrite the value of need_locks provided by the user
14027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14028 $as_echo_n "checking if we can lock with hard links... " >&6; }
14029 hard_links=yes
14030 $RM conftest*
14031 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14032 touch conftest.a
14033 ln conftest.a conftest.b 2>&5 || hard_links=no
14034 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14036 $as_echo "$hard_links" >&6; }
14037 if test "$hard_links" = no; then
14038 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14039 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14040 need_locks=warn
14042 else
14043 need_locks=no
14048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14049 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14051 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14052 case $host_os in
14053 aix[4-9]*)
14054 # If we're using GNU nm, then we don't want the "-C" option.
14055 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14056 # Also, AIX nm treats weak defined symbols like other global defined
14057 # symbols, whereas GNU nm marks them as "W".
14058 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14059 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14060 else
14061 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14064 pw32*)
14065 export_symbols_cmds_CXX="$ltdll_cmds"
14067 cygwin* | mingw* | cegcc*)
14068 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
14071 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14073 esac
14074 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14077 $as_echo "$ld_shlibs_CXX" >&6; }
14078 test "$ld_shlibs_CXX" = no && can_build_shared=no
14080 with_gnu_ld_CXX=$with_gnu_ld
14088 # Do we need to explicitly link libc?
14090 case "x$archive_cmds_need_lc_CXX" in
14091 x|xyes)
14092 # Assume -lc should be added
14093 archive_cmds_need_lc_CXX=yes
14095 if test "$enable_shared" = yes && test "$GCC" = yes; then
14096 case $archive_cmds_CXX in
14097 *'~'*)
14098 # FIXME: we may have to deal with multi-command sequences.
14100 '$CC '*)
14101 # Test whether the compiler implicitly links with -lc since on some
14102 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14103 # to ld, don't add -lc before -lgcc.
14104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14105 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14106 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14107 $as_echo_n "(cached) " >&6
14108 else
14109 $RM conftest*
14110 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14112 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14113 (eval $ac_compile) 2>&5
14114 ac_status=$?
14115 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14116 test $ac_status = 0; } 2>conftest.err; then
14117 soname=conftest
14118 lib=conftest
14119 libobjs=conftest.$ac_objext
14120 deplibs=
14121 wl=$lt_prog_compiler_wl_CXX
14122 pic_flag=$lt_prog_compiler_pic_CXX
14123 compiler_flags=-v
14124 linker_flags=-v
14125 verstring=
14126 output_objdir=.
14127 libname=conftest
14128 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14129 allow_undefined_flag_CXX=
14130 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14131 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14132 ac_status=$?
14133 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14134 test $ac_status = 0; }
14135 then
14136 lt_cv_archive_cmds_need_lc_CXX=no
14137 else
14138 lt_cv_archive_cmds_need_lc_CXX=yes
14140 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14141 else
14142 cat conftest.err 1>&5
14144 $RM conftest*
14147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14148 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14149 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14151 esac
14154 esac
14219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14220 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14222 library_names_spec=
14223 libname_spec='lib$name'
14224 soname_spec=
14225 shrext_cmds=".so"
14226 postinstall_cmds=
14227 postuninstall_cmds=
14228 finish_cmds=
14229 finish_eval=
14230 shlibpath_var=
14231 shlibpath_overrides_runpath=unknown
14232 version_type=none
14233 dynamic_linker="$host_os ld.so"
14234 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14235 need_lib_prefix=unknown
14236 hardcode_into_libs=no
14238 # when you set need_version to no, make sure it does not cause -set_version
14239 # flags to be left without arguments
14240 need_version=unknown
14242 case $host_os in
14243 aix3*)
14244 version_type=linux
14245 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14246 shlibpath_var=LIBPATH
14248 # AIX 3 has no versioning support, so we append a major version to the name.
14249 soname_spec='${libname}${release}${shared_ext}$major'
14252 aix[4-9]*)
14253 version_type=linux
14254 need_lib_prefix=no
14255 need_version=no
14256 hardcode_into_libs=yes
14257 if test "$host_cpu" = ia64; then
14258 # AIX 5 supports IA64
14259 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14260 shlibpath_var=LD_LIBRARY_PATH
14261 else
14262 # With GCC up to 2.95.x, collect2 would create an import file
14263 # for dependence libraries. The import file would start with
14264 # the line `#! .'. This would cause the generated library to
14265 # depend on `.', always an invalid library. This was fixed in
14266 # development snapshots of GCC prior to 3.0.
14267 case $host_os in
14268 aix4 | aix4.[01] | aix4.[01].*)
14269 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14270 echo ' yes '
14271 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14273 else
14274 can_build_shared=no
14277 esac
14278 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14279 # soname into executable. Probably we can add versioning support to
14280 # collect2, so additional links can be useful in future.
14281 if test "$aix_use_runtimelinking" = yes; then
14282 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14283 # instead of lib<name>.a to let people know that these are not
14284 # typical AIX shared libraries.
14285 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14286 else
14287 # We preserve .a as extension for shared libraries through AIX4.2
14288 # and later when we are not doing run time linking.
14289 library_names_spec='${libname}${release}.a $libname.a'
14290 soname_spec='${libname}${release}${shared_ext}$major'
14292 shlibpath_var=LIBPATH
14296 amigaos*)
14297 case $host_cpu in
14298 powerpc)
14299 # Since July 2007 AmigaOS4 officially supports .so libraries.
14300 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14301 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14303 m68k)
14304 library_names_spec='$libname.ixlibrary $libname.a'
14305 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14306 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
14308 esac
14311 beos*)
14312 library_names_spec='${libname}${shared_ext}'
14313 dynamic_linker="$host_os ld.so"
14314 shlibpath_var=LIBRARY_PATH
14317 bsdi[45]*)
14318 version_type=linux
14319 need_version=no
14320 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14321 soname_spec='${libname}${release}${shared_ext}$major'
14322 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14323 shlibpath_var=LD_LIBRARY_PATH
14324 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14325 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14326 # the default ld.so.conf also contains /usr/contrib/lib and
14327 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14328 # libtool to hard-code these into programs
14331 cygwin* | mingw* | pw32* | cegcc*)
14332 version_type=windows
14333 shrext_cmds=".dll"
14334 need_version=no
14335 need_lib_prefix=no
14337 case $GCC,$host_os in
14338 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14339 library_names_spec='$libname.dll.a'
14340 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14341 postinstall_cmds='base_file=`basename \${file}`~
14342 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14343 dldir=$destdir/`dirname \$dlpath`~
14344 test -d \$dldir || mkdir -p \$dldir~
14345 $install_prog $dir/$dlname \$dldir/$dlname~
14346 chmod a+x \$dldir/$dlname~
14347 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14348 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14350 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14351 dlpath=$dir/\$dldll~
14352 $RM \$dlpath'
14353 shlibpath_overrides_runpath=yes
14355 case $host_os in
14356 cygwin*)
14357 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14358 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14361 mingw* | cegcc*)
14362 # MinGW DLLs use traditional 'lib' prefix
14363 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14365 pw32*)
14366 # pw32 DLLs use 'pw' prefix rather than 'lib'
14367 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14369 esac
14373 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14375 esac
14376 dynamic_linker='Win32 ld.exe'
14377 # FIXME: first we should search . and the directory the executable is in
14378 shlibpath_var=PATH
14381 darwin* | rhapsody*)
14382 dynamic_linker="$host_os dyld"
14383 version_type=darwin
14384 need_lib_prefix=no
14385 need_version=no
14386 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14387 soname_spec='${libname}${release}${major}$shared_ext'
14388 shlibpath_overrides_runpath=yes
14389 shlibpath_var=DYLD_LIBRARY_PATH
14390 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14392 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14395 dgux*)
14396 version_type=linux
14397 need_lib_prefix=no
14398 need_version=no
14399 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14400 soname_spec='${libname}${release}${shared_ext}$major'
14401 shlibpath_var=LD_LIBRARY_PATH
14404 freebsd* | dragonfly*)
14405 # DragonFly does not have aout. When/if they implement a new
14406 # versioning mechanism, adjust this.
14407 if test -x /usr/bin/objformat; then
14408 objformat=`/usr/bin/objformat`
14409 else
14410 case $host_os in
14411 freebsd[23].*) objformat=aout ;;
14412 *) objformat=elf ;;
14413 esac
14415 version_type=freebsd-$objformat
14416 case $version_type in
14417 freebsd-elf*)
14418 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14419 need_version=no
14420 need_lib_prefix=no
14422 freebsd-*)
14423 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14424 need_version=yes
14426 esac
14427 shlibpath_var=LD_LIBRARY_PATH
14428 case $host_os in
14429 freebsd2.*)
14430 shlibpath_overrides_runpath=yes
14432 freebsd3.[01]* | freebsdelf3.[01]*)
14433 shlibpath_overrides_runpath=yes
14434 hardcode_into_libs=yes
14436 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14437 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14438 shlibpath_overrides_runpath=no
14439 hardcode_into_libs=yes
14441 *) # from 4.6 on, and DragonFly
14442 shlibpath_overrides_runpath=yes
14443 hardcode_into_libs=yes
14445 esac
14448 gnu*)
14449 version_type=linux
14450 need_lib_prefix=no
14451 need_version=no
14452 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14453 soname_spec='${libname}${release}${shared_ext}$major'
14454 shlibpath_var=LD_LIBRARY_PATH
14455 hardcode_into_libs=yes
14458 haiku*)
14459 version_type=linux
14460 need_lib_prefix=no
14461 need_version=no
14462 dynamic_linker="$host_os runtime_loader"
14463 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14464 soname_spec='${libname}${release}${shared_ext}$major'
14465 shlibpath_var=LIBRARY_PATH
14466 shlibpath_overrides_runpath=yes
14467 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14468 hardcode_into_libs=yes
14471 hpux9* | hpux10* | hpux11*)
14472 # Give a soname corresponding to the major version so that dld.sl refuses to
14473 # link against other versions.
14474 version_type=sunos
14475 need_lib_prefix=no
14476 need_version=no
14477 case $host_cpu in
14478 ia64*)
14479 shrext_cmds='.so'
14480 hardcode_into_libs=yes
14481 dynamic_linker="$host_os dld.so"
14482 shlibpath_var=LD_LIBRARY_PATH
14483 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14484 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14485 soname_spec='${libname}${release}${shared_ext}$major'
14486 if test "X$HPUX_IA64_MODE" = X32; then
14487 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14488 else
14489 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14491 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14493 hppa*64*)
14494 shrext_cmds='.sl'
14495 hardcode_into_libs=yes
14496 dynamic_linker="$host_os dld.sl"
14497 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14498 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14499 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14500 soname_spec='${libname}${release}${shared_ext}$major'
14501 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14502 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14505 shrext_cmds='.sl'
14506 dynamic_linker="$host_os dld.sl"
14507 shlibpath_var=SHLIB_PATH
14508 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14509 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14510 soname_spec='${libname}${release}${shared_ext}$major'
14512 esac
14513 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14514 postinstall_cmds='chmod 555 $lib'
14515 # or fails outright, so override atomically:
14516 install_override_mode=555
14519 interix[3-9]*)
14520 version_type=linux
14521 need_lib_prefix=no
14522 need_version=no
14523 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14524 soname_spec='${libname}${release}${shared_ext}$major'
14525 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14526 shlibpath_var=LD_LIBRARY_PATH
14527 shlibpath_overrides_runpath=no
14528 hardcode_into_libs=yes
14531 irix5* | irix6* | nonstopux*)
14532 case $host_os in
14533 nonstopux*) version_type=nonstopux ;;
14535 if test "$lt_cv_prog_gnu_ld" = yes; then
14536 version_type=linux
14537 else
14538 version_type=irix
14539 fi ;;
14540 esac
14541 need_lib_prefix=no
14542 need_version=no
14543 soname_spec='${libname}${release}${shared_ext}$major'
14544 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14545 case $host_os in
14546 irix5* | nonstopux*)
14547 libsuff= shlibsuff=
14550 case $LD in # libtool.m4 will add one of these switches to LD
14551 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14552 libsuff= shlibsuff= libmagic=32-bit;;
14553 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14554 libsuff=32 shlibsuff=N32 libmagic=N32;;
14555 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14556 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14557 *) libsuff= shlibsuff= libmagic=never-match;;
14558 esac
14560 esac
14561 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14562 shlibpath_overrides_runpath=no
14563 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14564 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14565 hardcode_into_libs=yes
14568 # No shared lib support for Linux oldld, aout, or coff.
14569 linux*oldld* | linux*aout* | linux*coff*)
14570 dynamic_linker=no
14573 # This must be Linux ELF.
14574 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14575 version_type=linux
14576 need_lib_prefix=no
14577 need_version=no
14578 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14579 soname_spec='${libname}${release}${shared_ext}$major'
14580 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14581 shlibpath_var=LD_LIBRARY_PATH
14582 shlibpath_overrides_runpath=no
14584 # Some binutils ld are patched to set DT_RUNPATH
14585 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14586 $as_echo_n "(cached) " >&6
14587 else
14588 lt_cv_shlibpath_overrides_runpath=no
14589 save_LDFLAGS=$LDFLAGS
14590 save_libdir=$libdir
14591 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14592 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14593 if test x$gcc_no_link = xyes; then
14594 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14597 /* end confdefs.h. */
14600 main ()
14604 return 0;
14606 _ACEOF
14607 if ac_fn_cxx_try_link "$LINENO"; then :
14608 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14609 lt_cv_shlibpath_overrides_runpath=yes
14612 rm -f core conftest.err conftest.$ac_objext \
14613 conftest$ac_exeext conftest.$ac_ext
14614 LDFLAGS=$save_LDFLAGS
14615 libdir=$save_libdir
14619 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14621 # This implies no fast_install, which is unacceptable.
14622 # Some rework will be needed to allow for fast_install
14623 # before this can be enabled.
14624 hardcode_into_libs=yes
14626 # Append ld.so.conf contents to the search path
14627 if test -f /etc/ld.so.conf; then
14628 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
14629 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14632 # We used to test for /lib/ld.so.1 and disable shared libraries on
14633 # powerpc, because MkLinux only supported shared libraries with the
14634 # GNU dynamic linker. Since this was broken with cross compilers,
14635 # most powerpc-linux boxes support dynamic linking these days and
14636 # people can always --disable-shared, the test was removed, and we
14637 # assume the GNU/Linux dynamic linker is in use.
14638 dynamic_linker='GNU/Linux ld.so'
14641 netbsd*)
14642 version_type=sunos
14643 need_lib_prefix=no
14644 need_version=no
14645 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14646 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14647 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14648 dynamic_linker='NetBSD (a.out) ld.so'
14649 else
14650 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14651 soname_spec='${libname}${release}${shared_ext}$major'
14652 dynamic_linker='NetBSD ld.elf_so'
14654 shlibpath_var=LD_LIBRARY_PATH
14655 shlibpath_overrides_runpath=yes
14656 hardcode_into_libs=yes
14659 newsos6)
14660 version_type=linux
14661 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14662 shlibpath_var=LD_LIBRARY_PATH
14663 shlibpath_overrides_runpath=yes
14666 *nto* | *qnx*)
14667 version_type=qnx
14668 need_lib_prefix=no
14669 need_version=no
14670 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14671 soname_spec='${libname}${release}${shared_ext}$major'
14672 shlibpath_var=LD_LIBRARY_PATH
14673 shlibpath_overrides_runpath=no
14674 hardcode_into_libs=yes
14675 dynamic_linker='ldqnx.so'
14678 openbsd*)
14679 version_type=sunos
14680 sys_lib_dlsearch_path_spec="/usr/lib"
14681 need_lib_prefix=no
14682 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14683 case $host_os in
14684 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14685 *) need_version=no ;;
14686 esac
14687 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14688 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14689 shlibpath_var=LD_LIBRARY_PATH
14690 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14691 case $host_os in
14692 openbsd2.[89] | openbsd2.[89].*)
14693 shlibpath_overrides_runpath=no
14696 shlibpath_overrides_runpath=yes
14698 esac
14699 else
14700 shlibpath_overrides_runpath=yes
14704 os2*)
14705 libname_spec='$name'
14706 shrext_cmds=".dll"
14707 need_lib_prefix=no
14708 library_names_spec='$libname${shared_ext} $libname.a'
14709 dynamic_linker='OS/2 ld.exe'
14710 shlibpath_var=LIBPATH
14713 osf3* | osf4* | osf5*)
14714 version_type=osf
14715 need_lib_prefix=no
14716 need_version=no
14717 soname_spec='${libname}${release}${shared_ext}$major'
14718 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14719 shlibpath_var=LD_LIBRARY_PATH
14720 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14721 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14724 rdos*)
14725 dynamic_linker=no
14728 solaris*)
14729 version_type=linux
14730 need_lib_prefix=no
14731 need_version=no
14732 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14733 soname_spec='${libname}${release}${shared_ext}$major'
14734 shlibpath_var=LD_LIBRARY_PATH
14735 shlibpath_overrides_runpath=yes
14736 hardcode_into_libs=yes
14737 # ldd complains unless libraries are executable
14738 postinstall_cmds='chmod +x $lib'
14741 sunos4*)
14742 version_type=sunos
14743 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14744 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14745 shlibpath_var=LD_LIBRARY_PATH
14746 shlibpath_overrides_runpath=yes
14747 if test "$with_gnu_ld" = yes; then
14748 need_lib_prefix=no
14750 need_version=yes
14753 sysv4 | sysv4.3*)
14754 version_type=linux
14755 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14756 soname_spec='${libname}${release}${shared_ext}$major'
14757 shlibpath_var=LD_LIBRARY_PATH
14758 case $host_vendor in
14759 sni)
14760 shlibpath_overrides_runpath=no
14761 need_lib_prefix=no
14762 runpath_var=LD_RUN_PATH
14764 siemens)
14765 need_lib_prefix=no
14767 motorola)
14768 need_lib_prefix=no
14769 need_version=no
14770 shlibpath_overrides_runpath=no
14771 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14773 esac
14776 sysv4*MP*)
14777 if test -d /usr/nec ;then
14778 version_type=linux
14779 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14780 soname_spec='$libname${shared_ext}.$major'
14781 shlibpath_var=LD_LIBRARY_PATH
14785 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14786 version_type=freebsd-elf
14787 need_lib_prefix=no
14788 need_version=no
14789 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14790 soname_spec='${libname}${release}${shared_ext}$major'
14791 shlibpath_var=LD_LIBRARY_PATH
14792 shlibpath_overrides_runpath=yes
14793 hardcode_into_libs=yes
14794 if test "$with_gnu_ld" = yes; then
14795 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14796 else
14797 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14798 case $host_os in
14799 sco3.2v5*)
14800 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14802 esac
14804 sys_lib_dlsearch_path_spec='/usr/lib'
14807 tpf*)
14808 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14809 version_type=linux
14810 need_lib_prefix=no
14811 need_version=no
14812 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14813 shlibpath_var=LD_LIBRARY_PATH
14814 shlibpath_overrides_runpath=no
14815 hardcode_into_libs=yes
14818 uts4*)
14819 version_type=linux
14820 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14821 soname_spec='${libname}${release}${shared_ext}$major'
14822 shlibpath_var=LD_LIBRARY_PATH
14826 dynamic_linker=no
14828 esac
14829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14830 $as_echo "$dynamic_linker" >&6; }
14831 test "$dynamic_linker" = no && can_build_shared=no
14833 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14834 if test "$GCC" = yes; then
14835 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14838 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14839 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14841 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14842 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14883 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14884 hardcode_action_CXX=
14885 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14886 test -n "$runpath_var_CXX" ||
14887 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14889 # We can hardcode non-existent directories.
14890 if test "$hardcode_direct_CXX" != no &&
14891 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14892 # have to relink, otherwise we might link with an installed library
14893 # when we should be linking with a yet-to-be-installed one
14894 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14895 test "$hardcode_minus_L_CXX" != no; then
14896 # Linking always hardcodes the temporary library directory.
14897 hardcode_action_CXX=relink
14898 else
14899 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14900 hardcode_action_CXX=immediate
14902 else
14903 # We cannot hardcode anything, or else we can only hardcode existing
14904 # directories.
14905 hardcode_action_CXX=unsupported
14907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14908 $as_echo "$hardcode_action_CXX" >&6; }
14910 if test "$hardcode_action_CXX" = relink ||
14911 test "$inherit_rpath_CXX" = yes; then
14912 # Fast installation is not supported
14913 enable_fast_install=no
14914 elif test "$shlibpath_overrides_runpath" = yes ||
14915 test "$enable_shared" = no; then
14916 # Fast installation is not necessary
14917 enable_fast_install=needless
14926 fi # test -n "$compiler"
14928 CC=$lt_save_CC
14929 LDCXX=$LD
14930 LD=$lt_save_LD
14931 GCC=$lt_save_GCC
14932 with_gnu_ld=$lt_save_with_gnu_ld
14933 lt_cv_path_LDCXX=$lt_cv_path_LD
14934 lt_cv_path_LD=$lt_save_path_LD
14935 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14936 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14937 fi # test "$_lt_caught_CXX_error" != yes
14939 ac_ext=c
14940 ac_cpp='$CPP $CPPFLAGS'
14941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14957 ac_config_commands="$ac_config_commands libtool"
14962 # Only expand once:
14968 case $host in
14969 *-cygwin* | *-mingw*)
14970 # 'host' will be top-level target in the case of a target lib,
14971 # we must compare to with_cross_host to decide if this is a native
14972 # or cross-compiler and select where to install dlls appropriately.
14973 if test -n "$with_cross_host" &&
14974 test x"$with_cross_host" != x"no"; then
14975 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
14976 else
14977 lt_host_flags='-no-undefined -bindir "$(bindir)"';
14981 lt_host_flags=
14983 esac
14990 if test "$enable_vtable_verify" = yes; then
14991 predep_objects_CXX="${predep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_start.o"
14992 postdep_objects_CXX="${postdep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_end.o"
14996 # libtool variables for C++ shared and position-independent compiles.
14998 # Use glibcxx_lt_pic_flag to designate the automake variable
14999 # used to encapsulate the default libtool approach to creating objects
15000 # with position-independent code. Default: -prefer-pic.
15002 # Use glibcxx_compiler_shared_flag to designate a compile-time flags for
15003 # creating shared objects. Default: -D_GLIBCXX_SHARED.
15005 # Use glibcxx_compiler_pic_flag to designate a compile-time flags for
15006 # creating position-independent objects. This varies with the target
15007 # hardware and operating system, but is often: -DPIC -fPIC.
15008 if test "$enable_shared" = yes; then
15009 glibcxx_lt_pic_flag="-prefer-pic"
15010 glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
15011 glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
15013 else
15014 glibcxx_lt_pic_flag=
15015 glibcxx_compiler_pic_flag=
15016 glibcxx_compiler_shared_flag=
15022 # Override the libtool's pic_flag and pic_mode.
15023 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
15024 # NB: this impacts --with-pic and --without-pic.
15025 lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
15026 pic_mode='default'
15028 # Eliminate -lstdc++ addition to postdeps for cross compiles.
15029 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
15031 # Possibly disable most of the library.
15032 ## TODO: Consider skipping unncessary tests altogether in this case, rather
15033 ## than just ignoring the results. Faster /and/ more correct, win win.
15035 # Check whether --enable-hosted-libstdcxx was given.
15036 if test "${enable_hosted_libstdcxx+set}" = set; then :
15037 enableval=$enable_hosted_libstdcxx;
15038 else
15039 case "$host" in
15040 arm*-*-symbianelf*)
15041 enable_hosted_libstdcxx=no
15044 enable_hosted_libstdcxx=yes
15046 esac
15049 if test "$enable_hosted_libstdcxx" = no; then
15050 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
15051 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
15052 is_hosted=no
15053 hosted_define=0
15054 enable_abi_check=no
15055 enable_libstdcxx_pch=no
15056 else
15057 is_hosted=yes
15058 hosted_define=1
15062 cat >>confdefs.h <<_ACEOF
15063 #define _GLIBCXX_HOSTED $hosted_define
15064 _ACEOF
15068 # Enable descriptive messages to standard output on termination.
15070 # Check whether --enable-libstdcxx-verbose was given.
15071 if test "${enable_libstdcxx_verbose+set}" = set; then :
15072 enableval=$enable_libstdcxx_verbose;
15073 else
15074 enable_libstdcxx_verbose=yes
15077 if test x"$enable_libstdcxx_verbose" = xyes; then
15078 verbose_define=1
15079 else
15080 { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
15081 $as_echo "$as_me: verbose termination messages are disabled" >&6;}
15082 verbose_define=0
15085 cat >>confdefs.h <<_ACEOF
15086 #define _GLIBCXX_VERBOSE $verbose_define
15087 _ACEOF
15091 # Enable compiler support that doesn't require linking.
15093 # Check whether --enable-libstdcxx-pch was given.
15094 if test "${enable_libstdcxx_pch+set}" = set; then :
15095 enableval=$enable_libstdcxx_pch;
15096 case "$enableval" in
15097 yes|no) ;;
15098 *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15099 esac
15101 else
15102 enable_libstdcxx_pch=$is_hosted
15106 if test $enable_libstdcxx_pch = yes; then
15107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15108 $as_echo_n "checking for compiler with PCH support... " >&6; }
15109 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15110 $as_echo_n "(cached) " >&6
15111 else
15112 ac_save_CXXFLAGS="$CXXFLAGS"
15113 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15115 ac_ext=cpp
15116 ac_cpp='$CXXCPP $CPPFLAGS'
15117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15121 echo '#include <math.h>' > conftest.h
15122 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15123 -o conftest.h.gch 1>&5 2>&1 &&
15124 echo '#error "pch failed"' > conftest.h &&
15125 echo '#include "conftest.h"' > conftest.cc &&
15126 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15127 then
15128 glibcxx_cv_prog_CXX_pch=yes
15129 else
15130 glibcxx_cv_prog_CXX_pch=no
15132 rm -f conftest*
15133 CXXFLAGS=$ac_save_CXXFLAGS
15134 ac_ext=c
15135 ac_cpp='$CPP $CPPFLAGS'
15136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15143 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15144 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15148 $as_echo_n "checking for enabled PCH... " >&6; }
15149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15150 $as_echo "$enable_libstdcxx_pch" >&6; }
15153 if test $enable_libstdcxx_pch = yes; then
15154 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15155 else
15156 glibcxx_PCHFLAGS=""
15161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15162 $as_echo_n "checking for thread model used by GCC... " >&6; }
15163 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15165 $as_echo "$target_thread_file" >&6; }
15167 case $target_thread_file in
15168 aix) thread_header=config/rs6000/gthr-aix.h ;;
15169 dce) thread_header=config/pa/gthr-dce.h ;;
15170 lynx) thread_header=config/gthr-lynx.h ;;
15171 mipssde) thread_header=config/mips/gthr-mipssde.h ;;
15172 posix) thread_header=gthr-posix.h ;;
15173 rtems) thread_header=config/gthr-rtems.h ;;
15174 single) thread_header=gthr-single.h ;;
15175 tpf) thread_header=config/s390/gthr-tpf.h ;;
15176 vxworks) thread_header=config/gthr-vxworks.h ;;
15177 win32) thread_header=config/i386/gthr-win32.h ;;
15178 esac
15184 ac_ext=cpp
15185 ac_cpp='$CXXCPP $CPPFLAGS'
15186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15190 old_CXXFLAGS="$CXXFLAGS"
15192 # Do link tests if possible, instead asm tests, limited to some platforms
15193 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15194 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15195 atomic_builtins_link_tests=no
15196 if test x$gcc_no_link != xyes; then
15197 # Can do link tests. Limit to some tested platforms
15198 case "$host" in
15199 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15200 atomic_builtins_link_tests=yes
15202 esac
15205 if test x$atomic_builtins_link_tests = xyes; then
15207 # Do link tests.
15209 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15212 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15213 if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15214 $as_echo_n "(cached) " >&6
15215 else
15217 if test x$gcc_no_link = xyes; then
15218 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15221 /* end confdefs.h. */
15224 main ()
15226 typedef bool atomic_type;
15227 atomic_type c1;
15228 atomic_type c2;
15229 atomic_type c3(0);
15230 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15231 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15232 __ATOMIC_RELAXED);
15233 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15234 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15237 return 0;
15239 _ACEOF
15240 if ac_fn_cxx_try_link "$LINENO"; then :
15241 glibcxx_cv_atomic_bool=yes
15242 else
15243 glibcxx_cv_atomic_bool=no
15245 rm -f core conftest.err conftest.$ac_objext \
15246 conftest$ac_exeext conftest.$ac_ext
15250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15251 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15254 $as_echo_n "checking for atomic builtins for short... " >&6; }
15255 if test "${glibcxx_cv_atomic_short+set}" = set; then :
15256 $as_echo_n "(cached) " >&6
15257 else
15259 if test x$gcc_no_link = xyes; then
15260 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15263 /* end confdefs.h. */
15266 main ()
15268 typedef short atomic_type;
15269 atomic_type c1;
15270 atomic_type c2;
15271 atomic_type c3(0);
15272 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15273 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15274 __ATOMIC_RELAXED);
15275 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15276 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15279 return 0;
15281 _ACEOF
15282 if ac_fn_cxx_try_link "$LINENO"; then :
15283 glibcxx_cv_atomic_short=yes
15284 else
15285 glibcxx_cv_atomic_short=no
15287 rm -f core conftest.err conftest.$ac_objext \
15288 conftest$ac_exeext conftest.$ac_ext
15292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15293 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15296 $as_echo_n "checking for atomic builtins for int... " >&6; }
15297 if test "${glibcxx_cv_atomic_int+set}" = set; then :
15298 $as_echo_n "(cached) " >&6
15299 else
15301 if test x$gcc_no_link = xyes; then
15302 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15305 /* end confdefs.h. */
15308 main ()
15310 typedef int atomic_type;
15311 atomic_type c1;
15312 atomic_type c2;
15313 atomic_type c3(0);
15314 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15315 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15316 __ATOMIC_RELAXED);
15317 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15318 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15321 return 0;
15323 _ACEOF
15324 if ac_fn_cxx_try_link "$LINENO"; then :
15325 glibcxx_cv_atomic_int=yes
15326 else
15327 glibcxx_cv_atomic_int=no
15329 rm -f core conftest.err conftest.$ac_objext \
15330 conftest$ac_exeext conftest.$ac_ext
15334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15335 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15338 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15339 if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15340 $as_echo_n "(cached) " >&6
15341 else
15343 if test x$gcc_no_link = xyes; then
15344 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15347 /* end confdefs.h. */
15350 main ()
15352 typedef long long atomic_type;
15353 atomic_type c1;
15354 atomic_type c2;
15355 atomic_type c3(0);
15356 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15357 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15358 __ATOMIC_RELAXED);
15359 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15360 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15363 return 0;
15365 _ACEOF
15366 if ac_fn_cxx_try_link "$LINENO"; then :
15367 glibcxx_cv_atomic_long_long=yes
15368 else
15369 glibcxx_cv_atomic_long_long=no
15371 rm -f core conftest.err conftest.$ac_objext \
15372 conftest$ac_exeext conftest.$ac_ext
15376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15377 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15379 else
15381 # Do asm tests.
15383 # Compile unoptimized.
15384 CXXFLAGS='-O0 -S'
15386 # Fake what AC_TRY_COMPILE does.
15388 cat > conftest.$ac_ext << EOF
15389 #line 15389 "configure"
15390 int main()
15392 typedef bool atomic_type;
15393 atomic_type c1;
15394 atomic_type c2;
15395 atomic_type c3(0);
15396 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15397 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15398 __ATOMIC_RELAXED);
15399 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15400 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15402 return 0;
15406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15407 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15408 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15409 (eval $ac_compile) 2>&5
15410 ac_status=$?
15411 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15412 test $ac_status = 0; }; then
15413 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15414 glibcxx_cv_atomic_bool=no
15415 else
15416 glibcxx_cv_atomic_bool=yes
15419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15420 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15421 rm -f conftest*
15423 cat > conftest.$ac_ext << EOF
15424 #line 15424 "configure"
15425 int main()
15427 typedef short atomic_type;
15428 atomic_type c1;
15429 atomic_type c2;
15430 atomic_type c3(0);
15431 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15432 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15433 __ATOMIC_RELAXED);
15434 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15435 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15437 return 0;
15441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15442 $as_echo_n "checking for atomic builtins for short... " >&6; }
15443 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15444 (eval $ac_compile) 2>&5
15445 ac_status=$?
15446 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15447 test $ac_status = 0; }; then
15448 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15449 glibcxx_cv_atomic_short=no
15450 else
15451 glibcxx_cv_atomic_short=yes
15454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15455 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15456 rm -f conftest*
15458 cat > conftest.$ac_ext << EOF
15459 #line 15459 "configure"
15460 int main()
15462 // NB: _Atomic_word not necessarily int.
15463 typedef int atomic_type;
15464 atomic_type c1;
15465 atomic_type c2;
15466 atomic_type c3(0);
15467 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15468 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15469 __ATOMIC_RELAXED);
15470 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15471 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15473 return 0;
15477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15478 $as_echo_n "checking for atomic builtins for int... " >&6; }
15479 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15480 (eval $ac_compile) 2>&5
15481 ac_status=$?
15482 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15483 test $ac_status = 0; }; then
15484 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15485 glibcxx_cv_atomic_int=no
15486 else
15487 glibcxx_cv_atomic_int=yes
15490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15491 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15492 rm -f conftest*
15494 cat > conftest.$ac_ext << EOF
15495 #line 15495 "configure"
15496 int main()
15498 typedef long long atomic_type;
15499 atomic_type c1;
15500 atomic_type c2;
15501 atomic_type c3(0);
15502 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15503 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15504 __ATOMIC_RELAXED);
15505 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15506 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15508 return 0;
15512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15513 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15514 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15515 (eval $ac_compile) 2>&5
15516 ac_status=$?
15517 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15518 test $ac_status = 0; }; then
15519 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15520 glibcxx_cv_atomic_long_long=no
15521 else
15522 glibcxx_cv_atomic_long_long=yes
15525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15526 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15527 rm -f conftest*
15531 CXXFLAGS="$old_CXXFLAGS"
15532 ac_ext=c
15533 ac_cpp='$CPP $CPPFLAGS'
15534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15539 # Set atomicity_dir to builtins if all but the long long test above passes.
15540 if test $glibcxx_cv_atomic_bool = yes \
15541 && test $glibcxx_cv_atomic_short = yes \
15542 && test $glibcxx_cv_atomic_int = yes; then
15544 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
15546 atomicity_dir=cpu/generic/atomicity_builtins
15549 # If still generic, set to mutex.
15550 if test $atomicity_dir = "cpu/generic" ; then
15551 atomicity_dir=cpu/generic/atomicity_mutex
15552 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15553 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15554 if test "x$target_thread_file" = xsingle; then
15555 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15556 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15557 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15558 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15559 else
15560 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15561 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15562 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15563 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15570 # Fake what AC_TRY_COMPILE does, without linking as this is
15571 # unnecessary for this test.
15573 cat > conftest.$ac_ext << EOF
15574 #line 15574 "configure"
15575 int main()
15577 _Decimal32 d1;
15578 _Decimal64 d2;
15579 _Decimal128 d3;
15580 return 0;
15584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15585 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15586 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15587 (eval $ac_compile) 2>&5
15588 ac_status=$?
15589 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15590 test $ac_status = 0; }; then
15592 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15594 enable_dfp=yes
15595 else
15596 enable_dfp=no
15598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15599 $as_echo "$enable_dfp" >&6; }
15600 rm -f conftest*
15605 ac_ext=cpp
15606 ac_cpp='$CXXCPP $CPPFLAGS'
15607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15612 # Fake what AC_TRY_COMPILE does, without linking as this is
15613 # unnecessary for this test.
15615 cat > conftest.$ac_ext << EOF
15616 #line 15616 "configure"
15617 template<typename T1, typename T2>
15618 struct same
15619 { typedef T2 type; };
15621 template<typename T>
15622 struct same<T, T>;
15624 int main()
15626 typename same<long, __int128>::type i1;
15627 typename same<long long, __int128>::type i2;
15631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
15632 $as_echo_n "checking for __int128... " >&6; }
15633 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15634 (eval $ac_compile) 2>&5
15635 ac_status=$?
15636 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15637 test $ac_status = 0; }; then
15639 $as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
15641 enable_int128=yes
15642 else
15643 enable_int128=no
15645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
15646 $as_echo "$enable_int128" >&6; }
15647 rm -f conftest*
15649 cat > conftest.$ac_ext << EOF
15650 #line 15650 "configure"
15651 template<typename T1, typename T2>
15652 struct same
15653 { typedef T2 type; };
15655 template<typename T>
15656 struct same<T, T>;
15658 int main()
15660 typename same<double, __float128>::type f1;
15661 typename same<long double, __float128>::type f2;
15665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
15666 $as_echo_n "checking for __float128... " >&6; }
15667 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15668 (eval $ac_compile) 2>&5
15669 ac_status=$?
15670 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15671 test $ac_status = 0; }; then
15673 $as_echo "#define _GLIBCXX_USE_FLOAT128 1" >>confdefs.h
15675 enable_float128=yes
15676 else
15677 enable_float128=no
15679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
15680 $as_echo "$enable_float128" >&6; }
15681 rm -f conftest*
15683 ac_ext=c
15684 ac_cpp='$CPP $CPPFLAGS'
15685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15690 if test "$enable_float128" = yes; then
15691 port_specific_symbol_files="$port_specific_symbol_files \$(top_srcdir)/config/abi/pre/float128.ver"
15694 # Checks for compiler support that doesn't require linking.
15696 # All these tests are for C++; save the language and the compiler flags.
15697 # The CXXFLAGS thing is suspicious, but based on similar bits previously
15698 # found in GLIBCXX_CONFIGURE.
15700 ac_ext=cpp
15701 ac_cpp='$CXXCPP $CPPFLAGS'
15702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15706 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15707 ac_save_CXXFLAGS="$CXXFLAGS"
15709 # Check for maintainer-mode bits.
15710 if test x"$USE_MAINTAINER_MODE" = xno; then
15711 WERROR=''
15712 else
15713 WERROR='-Werror'
15716 # Check for -ffunction-sections -fdata-sections
15717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15718 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15719 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15721 /* end confdefs.h. */
15722 int foo; void bar() { };
15724 main ()
15728 return 0;
15730 _ACEOF
15731 if ac_fn_cxx_try_compile "$LINENO"; then :
15732 ac_fdsections=yes
15733 else
15734 ac_fdsections=no
15736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15737 if test "$ac_test_CXXFLAGS" = set; then
15738 CXXFLAGS="$ac_save_CXXFLAGS"
15739 else
15740 # this is the suspicious part
15741 CXXFLAGS=''
15743 if test x"$ac_fdsections" = x"yes"; then
15744 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15747 $as_echo "$ac_fdsections" >&6; }
15749 ac_ext=c
15750 ac_cpp='$CPP $CPPFLAGS'
15751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15759 # Enable all the variable C++ runtime options that don't require linking.
15761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15762 $as_echo_n "checking for underlying I/O to use... " >&6; }
15763 # Check whether --enable-cstdio was given.
15764 if test "${enable_cstdio+set}" = set; then :
15765 enableval=$enable_cstdio;
15766 case "$enableval" in
15767 stdio) ;;
15768 *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15769 esac
15771 else
15772 enable_cstdio=stdio
15777 # Now that libio has been removed, you can have any color you want as long
15778 # as it's black. This is one big no-op until other packages are added, but
15779 # showing the framework never hurts.
15780 case ${enable_cstdio} in
15781 stdio)
15782 CSTDIO_H=config/io/c_io_stdio.h
15783 BASIC_FILE_H=config/io/basic_file_stdio.h
15784 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15786 $as_echo "stdio" >&6; }
15788 esac
15795 # Check whether --enable-clocale was given.
15796 if test "${enable_clocale+set}" = set; then :
15797 enableval=$enable_clocale;
15798 case "$enableval" in
15799 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
15800 *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15801 esac
15803 else
15804 enable_clocale=auto
15809 # Deal with gettext issues. Default to not using it (=no) until we detect
15810 # support for it later. Let the user turn it off via --e/d, but let that
15811 # default to on for easier handling.
15812 USE_NLS=no
15813 # Check whether --enable-nls was given.
15814 if test "${enable_nls+set}" = set; then :
15815 enableval=$enable_nls;
15816 else
15817 enable_nls=yes
15821 # Either a known package, or "auto"
15822 if test $enable_clocale = no || test $enable_clocale = yes; then
15823 enable_clocale=auto
15825 enable_clocale_flag=$enable_clocale
15827 # Probe for locale model to use if none specified.
15828 # Default to "generic".
15829 if test $enable_clocale_flag = auto; then
15830 case ${target_os} in
15831 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15832 enable_clocale_flag=gnu
15834 darwin* | freebsd*)
15835 enable_clocale_flag=darwin
15837 dragonfly*)
15838 enable_clocale_flag=dragonfly
15840 openbsd*)
15841 enable_clocale_flag=newlib
15844 if test x"$with_newlib" = x"yes"; then
15845 enable_clocale_flag=newlib
15846 else
15847 enable_clocale_flag=generic
15850 esac
15853 # Sanity check model, and test for special functionality.
15854 if test $enable_clocale_flag = gnu; then
15855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15856 /* end confdefs.h. */
15858 #include <features.h>
15859 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15860 _GLIBCXX_ok
15861 #endif
15863 _ACEOF
15864 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15865 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15866 enable_clocale_flag=gnu
15867 else
15868 enable_clocale_flag=generic
15870 rm -f conftest*
15873 # Set it to scream when it hurts.
15874 ac_save_CFLAGS="$CFLAGS"
15875 CFLAGS="-Wimplicit-function-declaration -Werror"
15877 # Use strxfrm_l if available.
15878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15879 /* end confdefs.h. */
15880 #define _GNU_SOURCE 1
15881 #include <string.h>
15882 #include <locale.h>
15884 main ()
15886 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15888 return 0;
15890 _ACEOF
15891 if ac_fn_c_try_compile "$LINENO"; then :
15893 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15898 # Use strerror_l if available.
15899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15900 /* end confdefs.h. */
15901 #define _GNU_SOURCE 1
15902 #include <string.h>
15903 #include <locale.h>
15905 main ()
15907 __locale_t loc; strerror_l(5, loc);
15909 return 0;
15911 _ACEOF
15912 if ac_fn_c_try_compile "$LINENO"; then :
15914 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15919 CFLAGS="$ac_save_CFLAGS"
15922 # Perhaps use strerror_r if available, and strerror_l isn't.
15923 ac_save_CFLAGS="$CFLAGS"
15924 CFLAGS="-Wimplicit-function-declaration -Werror"
15925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15926 /* end confdefs.h. */
15927 #define _GNU_SOURCE 1
15928 #include <string.h>
15929 #include <locale.h>
15931 main ()
15933 char s[128]; strerror_r(5, s, 128);
15935 return 0;
15937 _ACEOF
15938 if ac_fn_c_try_compile "$LINENO"; then :
15940 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15944 CFLAGS="$ac_save_CFLAGS"
15946 # Set configure bits for specified locale package
15947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15948 $as_echo_n "checking for C locale to use... " >&6; }
15949 case ${enable_clocale_flag} in
15950 generic)
15951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15952 $as_echo "generic" >&6; }
15954 CLOCALE_H=config/locale/generic/c_locale.h
15955 CLOCALE_CC=config/locale/generic/c_locale.cc
15956 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15957 CCOLLATE_CC=config/locale/generic/collate_members.cc
15958 CCTYPE_CC=config/locale/generic/ctype_members.cc
15959 CMESSAGES_H=config/locale/generic/messages_members.h
15960 CMESSAGES_CC=config/locale/generic/messages_members.cc
15961 CMONEY_CC=config/locale/generic/monetary_members.cc
15962 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15963 CTIME_H=config/locale/generic/time_members.h
15964 CTIME_CC=config/locale/generic/time_members.cc
15965 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15967 darwin)
15968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin or freebsd" >&5
15969 $as_echo "darwin or freebsd" >&6; }
15971 CLOCALE_H=config/locale/generic/c_locale.h
15972 CLOCALE_CC=config/locale/generic/c_locale.cc
15973 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15974 CCOLLATE_CC=config/locale/generic/collate_members.cc
15975 CCTYPE_CC=config/locale/darwin/ctype_members.cc
15976 CMESSAGES_H=config/locale/generic/messages_members.h
15977 CMESSAGES_CC=config/locale/generic/messages_members.cc
15978 CMONEY_CC=config/locale/generic/monetary_members.cc
15979 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15980 CTIME_H=config/locale/generic/time_members.h
15981 CTIME_CC=config/locale/generic/time_members.cc
15982 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15985 dragonfly)
15986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: dragonfly" >&5
15987 $as_echo "dragonfly" >&6; }
15989 CLOCALE_H=config/locale/dragonfly/c_locale.h
15990 CLOCALE_CC=config/locale/dragonfly/c_locale.cc
15991 CCODECVT_CC=config/locale/dragonfly/codecvt_members.cc
15992 CCOLLATE_CC=config/locale/dragonfly/collate_members.cc
15993 CCTYPE_CC=config/locale/dragonfly/ctype_members.cc
15994 CMESSAGES_H=config/locale/generic/messages_members.h
15995 CMESSAGES_CC=config/locale/generic/messages_members.cc
15996 CMONEY_CC=config/locale/dragonfly/monetary_members.cc
15997 CNUMERIC_CC=config/locale/dragonfly/numeric_members.cc
15998 CTIME_H=config/locale/dragonfly/time_members.h
15999 CTIME_CC=config/locale/dragonfly/time_members.cc
16000 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16003 gnu)
16004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
16005 $as_echo "gnu" >&6; }
16007 # Declare intention to use gettext, and add support for specific
16008 # languages.
16009 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
16010 ALL_LINGUAS="de fr"
16012 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
16013 # Extract the first word of "msgfmt", so it can be a program name with args.
16014 set dummy msgfmt; ac_word=$2
16015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16016 $as_echo_n "checking for $ac_word... " >&6; }
16017 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
16018 $as_echo_n "(cached) " >&6
16019 else
16020 if test -n "$check_msgfmt"; then
16021 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
16022 else
16023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16024 for as_dir in $PATH
16026 IFS=$as_save_IFS
16027 test -z "$as_dir" && as_dir=.
16028 for ac_exec_ext in '' $ac_executable_extensions; do
16029 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16030 ac_cv_prog_check_msgfmt="yes"
16031 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16032 break 2
16034 done
16035 done
16036 IFS=$as_save_IFS
16038 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16041 check_msgfmt=$ac_cv_prog_check_msgfmt
16042 if test -n "$check_msgfmt"; then
16043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16044 $as_echo "$check_msgfmt" >&6; }
16045 else
16046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16047 $as_echo "no" >&6; }
16051 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16052 USE_NLS=yes
16054 # Export the build objects.
16055 for ling in $ALL_LINGUAS; do \
16056 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16057 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16058 done
16062 CLOCALE_H=config/locale/gnu/c_locale.h
16063 CLOCALE_CC=config/locale/gnu/c_locale.cc
16064 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16065 CCOLLATE_CC=config/locale/gnu/collate_members.cc
16066 CCTYPE_CC=config/locale/gnu/ctype_members.cc
16067 CMESSAGES_H=config/locale/gnu/messages_members.h
16068 CMESSAGES_CC=config/locale/gnu/messages_members.cc
16069 CMONEY_CC=config/locale/gnu/monetary_members.cc
16070 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16071 CTIME_H=config/locale/gnu/time_members.h
16072 CTIME_CC=config/locale/gnu/time_members.cc
16073 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16075 ieee_1003.1-2001)
16076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16077 $as_echo "IEEE 1003.1" >&6; }
16079 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16080 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16081 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16082 CCOLLATE_CC=config/locale/generic/collate_members.cc
16083 CCTYPE_CC=config/locale/generic/ctype_members.cc
16084 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16085 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16086 CMONEY_CC=config/locale/generic/monetary_members.cc
16087 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16088 CTIME_H=config/locale/generic/time_members.h
16089 CTIME_CC=config/locale/generic/time_members.cc
16090 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16092 newlib)
16093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16094 $as_echo "newlib" >&6; }
16096 CLOCALE_H=config/locale/generic/c_locale.h
16097 CLOCALE_CC=config/locale/generic/c_locale.cc
16098 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16099 CCOLLATE_CC=config/locale/generic/collate_members.cc
16100 CCTYPE_CC=config/locale/newlib/ctype_members.cc
16101 CMESSAGES_H=config/locale/generic/messages_members.h
16102 CMESSAGES_CC=config/locale/generic/messages_members.cc
16103 CMONEY_CC=config/locale/generic/monetary_members.cc
16104 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16105 CTIME_H=config/locale/generic/time_members.h
16106 CTIME_CC=config/locale/generic/time_members.cc
16107 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16109 esac
16111 # This is where the testsuite looks for locale catalogs, using the
16112 # -DLOCALEDIR define during testsuite compilation.
16113 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16116 # A standalone libintl (e.g., GNU libintl) may be in use.
16117 if test $USE_NLS = yes; then
16118 for ac_header in libintl.h
16119 do :
16120 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16121 if test "x$ac_cv_header_libintl_h" = x""yes; then :
16122 cat >>confdefs.h <<_ACEOF
16123 #define HAVE_LIBINTL_H 1
16124 _ACEOF
16126 else
16127 USE_NLS=no
16130 done
16132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16133 $as_echo_n "checking for library containing gettext... " >&6; }
16134 if test "${ac_cv_search_gettext+set}" = set; then :
16135 $as_echo_n "(cached) " >&6
16136 else
16137 ac_func_search_save_LIBS=$LIBS
16138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16139 /* end confdefs.h. */
16141 /* Override any GCC internal prototype to avoid an error.
16142 Use char because int might match the return type of a GCC
16143 builtin and then its argument prototype would still apply. */
16144 #ifdef __cplusplus
16145 extern "C"
16146 #endif
16147 char gettext ();
16149 main ()
16151 return gettext ();
16153 return 0;
16155 _ACEOF
16156 for ac_lib in '' intl; do
16157 if test -z "$ac_lib"; then
16158 ac_res="none required"
16159 else
16160 ac_res=-l$ac_lib
16161 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16163 if test x$gcc_no_link = xyes; then
16164 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16166 if ac_fn_c_try_link "$LINENO"; then :
16167 ac_cv_search_gettext=$ac_res
16169 rm -f core conftest.err conftest.$ac_objext \
16170 conftest$ac_exeext
16171 if test "${ac_cv_search_gettext+set}" = set; then :
16172 break
16174 done
16175 if test "${ac_cv_search_gettext+set}" = set; then :
16177 else
16178 ac_cv_search_gettext=no
16180 rm conftest.$ac_ext
16181 LIBS=$ac_func_search_save_LIBS
16183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16184 $as_echo "$ac_cv_search_gettext" >&6; }
16185 ac_res=$ac_cv_search_gettext
16186 if test "$ac_res" != no; then :
16187 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16189 else
16190 USE_NLS=no
16194 if test $USE_NLS = yes; then
16196 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16216 $as_echo_n "checking for std::allocator base class... " >&6; }
16217 # Check whether --enable-libstdcxx-allocator was given.
16218 if test "${enable_libstdcxx_allocator+set}" = set; then :
16219 enableval=$enable_libstdcxx_allocator;
16220 case "$enableval" in
16221 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16222 *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16223 esac
16225 else
16226 enable_libstdcxx_allocator=auto
16231 # If they didn't use this option switch, or if they specified --enable
16232 # with no specific model, we'll have to look for one. If they
16233 # specified --disable (???), do likewise.
16234 if test $enable_libstdcxx_allocator = no ||
16235 test $enable_libstdcxx_allocator = yes;
16236 then
16237 enable_libstdcxx_allocator=auto
16240 # Either a known package, or "auto". Auto implies the default choice
16241 # for a particular platform.
16242 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16244 # Probe for host-specific support if no specific model is specified.
16245 # Default to "new".
16246 if test $enable_libstdcxx_allocator_flag = auto; then
16247 case ${target_os} in
16248 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16249 enable_libstdcxx_allocator_flag=new
16252 enable_libstdcxx_allocator_flag=new
16254 esac
16256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16257 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16260 # Set configure bits for specified locale package
16261 case ${enable_libstdcxx_allocator_flag} in
16262 bitmap)
16263 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16264 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16266 malloc)
16267 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16268 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16271 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16272 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16274 new)
16275 ALLOCATOR_H=config/allocator/new_allocator_base.h
16276 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16278 pool)
16279 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16280 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16282 esac
16288 # Check whether --enable-cheaders was given.
16289 if test "${enable_cheaders+set}" = set; then :
16290 enableval=$enable_cheaders;
16291 case "$enableval" in
16292 c|c_std|c_global) ;;
16293 *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16294 esac
16296 else
16297 enable_cheaders=$c_model
16301 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16302 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16304 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16306 # Allow overrides to configure.host here.
16307 if test $enable_cheaders = c_global; then
16308 c_compatibility=yes
16317 # Check whether --enable-long-long was given.
16318 if test "${enable_long_long+set}" = set; then :
16319 enableval=$enable_long_long;
16320 case "$enableval" in
16321 yes|no) ;;
16322 *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16323 esac
16325 else
16326 enable_long_long=yes
16330 if test $enable_long_long = yes; then
16332 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16336 $as_echo_n "checking for enabled long long specializations... " >&6; }
16337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16338 $as_echo "$enable_long_long" >&6; }
16341 # Check whether --enable-wchar_t was given.
16342 if test "${enable_wchar_t+set}" = set; then :
16343 enableval=$enable_wchar_t;
16344 case "$enableval" in
16345 yes|no) ;;
16346 *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16347 esac
16349 else
16350 enable_wchar_t=yes
16355 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16356 for ac_header in wchar.h
16357 do :
16358 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16359 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16360 cat >>confdefs.h <<_ACEOF
16361 #define HAVE_WCHAR_H 1
16362 _ACEOF
16363 ac_has_wchar_h=yes
16364 else
16365 ac_has_wchar_h=no
16368 done
16370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16371 $as_echo_n "checking for mbstate_t... " >&6; }
16372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16373 /* end confdefs.h. */
16374 #include <wchar.h>
16376 main ()
16378 mbstate_t teststate;
16380 return 0;
16382 _ACEOF
16383 if ac_fn_c_try_compile "$LINENO"; then :
16384 have_mbstate_t=yes
16385 else
16386 have_mbstate_t=no
16388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16390 $as_echo "$have_mbstate_t" >&6; }
16391 if test x"$have_mbstate_t" = xyes; then
16393 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16397 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16398 # ac_has_wchar_h.
16399 for ac_header in wctype.h
16400 do :
16401 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16402 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16403 cat >>confdefs.h <<_ACEOF
16404 #define HAVE_WCTYPE_H 1
16405 _ACEOF
16406 ac_has_wctype_h=yes
16407 else
16408 ac_has_wctype_h=no
16411 done
16414 if test x"$enable_wchar_t" = x"yes"; then
16417 ac_ext=cpp
16418 ac_cpp='$CXXCPP $CPPFLAGS'
16419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16424 if test x"$ac_has_wchar_h" = xyes &&
16425 test x"$ac_has_wctype_h" = xyes; then
16426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16427 /* end confdefs.h. */
16428 #include <wchar.h>
16429 #include <stddef.h>
16430 wint_t i;
16431 long l = WEOF;
16432 long j = WCHAR_MIN;
16433 long k = WCHAR_MAX;
16434 namespace test
16436 using ::btowc;
16437 using ::fgetwc;
16438 using ::fgetws;
16439 using ::fputwc;
16440 using ::fputws;
16441 using ::fwide;
16442 using ::fwprintf;
16443 using ::fwscanf;
16444 using ::getwc;
16445 using ::getwchar;
16446 using ::mbrlen;
16447 using ::mbrtowc;
16448 using ::mbsinit;
16449 using ::mbsrtowcs;
16450 using ::putwc;
16451 using ::putwchar;
16452 using ::swprintf;
16453 using ::swscanf;
16454 using ::ungetwc;
16455 using ::vfwprintf;
16456 using ::vswprintf;
16457 using ::vwprintf;
16458 using ::wcrtomb;
16459 using ::wcscat;
16460 using ::wcschr;
16461 using ::wcscmp;
16462 using ::wcscoll;
16463 using ::wcscpy;
16464 using ::wcscspn;
16465 using ::wcsftime;
16466 using ::wcslen;
16467 using ::wcsncat;
16468 using ::wcsncmp;
16469 using ::wcsncpy;
16470 using ::wcspbrk;
16471 using ::wcsrchr;
16472 using ::wcsrtombs;
16473 using ::wcsspn;
16474 using ::wcsstr;
16475 using ::wcstod;
16476 using ::wcstok;
16477 using ::wcstol;
16478 using ::wcstoul;
16479 using ::wcsxfrm;
16480 using ::wctob;
16481 using ::wmemchr;
16482 using ::wmemcmp;
16483 using ::wmemcpy;
16484 using ::wmemmove;
16485 using ::wmemset;
16486 using ::wprintf;
16487 using ::wscanf;
16491 main ()
16495 return 0;
16497 _ACEOF
16498 if ac_fn_cxx_try_compile "$LINENO"; then :
16500 else
16501 enable_wchar_t=no
16503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16504 else
16505 enable_wchar_t=no
16508 ac_ext=c
16509 ac_cpp='$CPP $CPPFLAGS'
16510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16516 if test x"$enable_wchar_t" = x"yes"; then
16518 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16523 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16525 $as_echo "$enable_wchar_t" >&6; }
16529 # Check whether --enable-c99 was given.
16530 if test "${enable_c99+set}" = set; then :
16531 enableval=$enable_c99;
16532 case "$enableval" in
16533 yes|no) ;;
16534 *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16535 esac
16537 else
16538 enable_c99=yes
16543 if test x"$enable_c99" = x"yes"; then
16546 ac_ext=cpp
16547 ac_cpp='$CXXCPP $CPPFLAGS'
16548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16553 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16554 # undefined and fake C99 facilities - like pre-standard snprintf - may be
16555 # spuriously enabled.
16556 # Long term, -std=c++0x could be even better, could manage to explicitly
16557 # request C99 facilities to the underlying C headers.
16558 ac_save_CXXFLAGS="$CXXFLAGS"
16559 CXXFLAGS="$CXXFLAGS -std=c++98"
16560 ac_save_LIBS="$LIBS"
16561 ac_save_gcc_no_link="$gcc_no_link"
16563 if test x$gcc_no_link != xyes; then
16564 # Use -fno-exceptions to that the C driver can link these tests without
16565 # hitting undefined references to personality routines.
16566 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16568 $as_echo_n "checking for sin in -lm... " >&6; }
16569 if test "${ac_cv_lib_m_sin+set}" = set; then :
16570 $as_echo_n "(cached) " >&6
16571 else
16572 ac_check_lib_save_LIBS=$LIBS
16573 LIBS="-lm $LIBS"
16574 if test x$gcc_no_link = xyes; then
16575 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16578 /* end confdefs.h. */
16580 /* Override any GCC internal prototype to avoid an error.
16581 Use char because int might match the return type of a GCC
16582 builtin and then its argument prototype would still apply. */
16583 #ifdef __cplusplus
16584 extern "C"
16585 #endif
16586 char sin ();
16588 main ()
16590 return sin ();
16592 return 0;
16594 _ACEOF
16595 if ac_fn_cxx_try_link "$LINENO"; then :
16596 ac_cv_lib_m_sin=yes
16597 else
16598 ac_cv_lib_m_sin=no
16600 rm -f core conftest.err conftest.$ac_objext \
16601 conftest$ac_exeext conftest.$ac_ext
16602 LIBS=$ac_check_lib_save_LIBS
16604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16605 $as_echo "$ac_cv_lib_m_sin" >&6; }
16606 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16608 LIBS="$LIBS -lm"
16610 else
16612 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16613 gcc_no_link=yes
16619 # Check for the existence of <math.h> functions used if C99 is enabled.
16620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h>" >&5
16621 $as_echo_n "checking for ISO C99 support in <math.h>... " >&6; }
16622 if test "${glibcxx_cv_c99_math+set}" = set; then :
16623 $as_echo_n "(cached) " >&6
16624 else
16626 if test x$gcc_no_link = xyes; then
16627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16628 /* end confdefs.h. */
16629 #include <math.h>
16630 volatile double d1, d2;
16631 volatile int i;
16633 main ()
16635 i = fpclassify(d1);
16636 i = isfinite(d1);
16637 i = isinf(d1);
16638 i = isnan(d1);
16639 i = isnormal(d1);
16640 i = signbit(d1);
16641 i = isgreater(d1, d2);
16642 i = isgreaterequal(d1, d2);
16643 i = isless(d1, d2);
16644 i = islessequal(d1, d2);
16645 i = islessgreater(d1, d2);
16646 i = islessgreater(d1, d2);
16647 i = isunordered(d1, d2);
16650 return 0;
16652 _ACEOF
16653 if ac_fn_cxx_try_compile "$LINENO"; then :
16654 glibcxx_cv_c99_math=yes
16655 else
16656 glibcxx_cv_c99_math=no
16658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16659 else
16660 if test x$gcc_no_link = xyes; then
16661 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16664 /* end confdefs.h. */
16665 #include <math.h>
16666 volatile double d1, d2;
16667 volatile int i;
16669 main ()
16671 i = fpclassify(d1);
16672 i = isfinite(d1);
16673 i = isinf(d1);
16674 i = isnan(d1);
16675 i = isnormal(d1);
16676 i = signbit(d1);
16677 i = isgreater(d1, d2);
16678 i = isgreaterequal(d1, d2);
16679 i = isless(d1, d2);
16680 i = islessequal(d1, d2);
16681 i = islessgreater(d1, d2);
16682 i = islessgreater(d1, d2);
16683 i = isunordered(d1, d2);
16686 return 0;
16688 _ACEOF
16689 if ac_fn_cxx_try_link "$LINENO"; then :
16690 glibcxx_cv_c99_math=yes
16691 else
16692 glibcxx_cv_c99_math=no
16694 rm -f core conftest.err conftest.$ac_objext \
16695 conftest$ac_exeext conftest.$ac_ext
16700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math" >&5
16701 $as_echo "$glibcxx_cv_c99_math" >&6; }
16702 if test x"$glibcxx_cv_c99_math" = x"yes"; then
16704 $as_echo "#define _GLIBCXX_USE_C99_MATH 1" >>confdefs.h
16708 # Check for the existence of <complex.h> complex math functions.
16709 # This is necessary even though libstdc++ uses the builtin versions
16710 # of these functions, because if the builtin cannot be used, a reference
16711 # to the library function is emitted.
16712 for ac_header in tgmath.h
16713 do :
16714 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16715 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16716 cat >>confdefs.h <<_ACEOF
16717 #define HAVE_TGMATH_H 1
16718 _ACEOF
16719 ac_has_tgmath_h=yes
16720 else
16721 ac_has_tgmath_h=no
16724 done
16726 for ac_header in complex.h
16727 do :
16728 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16729 if test "x$ac_cv_header_complex_h" = x""yes; then :
16730 cat >>confdefs.h <<_ACEOF
16731 #define HAVE_COMPLEX_H 1
16732 _ACEOF
16733 ac_has_complex_h=yes
16734 else
16735 ac_has_complex_h=no
16738 done
16740 glibcxx_cv_c99_complex=no;
16741 if test x"$ac_has_complex_h" = x"yes"; then
16742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h>" >&5
16743 $as_echo_n "checking for ISO C99 support in <complex.h>... " >&6; }
16744 if test x$gcc_no_link = xyes; then
16745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16746 /* end confdefs.h. */
16747 #include <complex.h>
16748 typedef __complex__ float float_type;
16749 typedef __complex__ double double_type;
16750 typedef __complex__ long double ld_type;
16751 volatile float_type tmpf;
16752 volatile double_type tmpd;
16753 volatile ld_type tmpld;
16754 volatile float f;
16755 volatile double d;
16756 volatile long double ld;
16758 main ()
16760 f = cabsf(tmpf);
16761 f = cargf(tmpf);
16762 tmpf = ccosf(tmpf);
16763 tmpf = ccoshf(tmpf);
16764 tmpf = cexpf(tmpf);
16765 tmpf = clogf(tmpf);
16766 tmpf = csinf(tmpf);
16767 tmpf = csinhf(tmpf);
16768 tmpf = csqrtf(tmpf);
16769 tmpf = ctanf(tmpf);
16770 tmpf = ctanhf(tmpf);
16771 tmpf = cpowf(tmpf, tmpf);
16772 tmpf = cprojf(tmpf);
16773 d = cabs(tmpd);
16774 d = carg(tmpd);
16775 tmpd = ccos(tmpd);
16776 tmpd = ccosh(tmpd);
16777 tmpd = cexp(tmpd);
16778 tmpd = clog(tmpd);
16779 tmpd = csin(tmpd);
16780 tmpd = csinh(tmpd);
16781 tmpd = csqrt(tmpd);
16782 tmpd = ctan(tmpd);
16783 tmpd = ctanh(tmpd);
16784 tmpd = cpow(tmpd, tmpd);
16785 tmpd = cproj(tmpd);
16786 ld = cabsl(tmpld);
16787 ld = cargl(tmpld);
16788 tmpld = ccosl(tmpld);
16789 tmpld = ccoshl(tmpld);
16790 tmpld = cexpl(tmpld);
16791 tmpld = clogl(tmpld);
16792 tmpld = csinl(tmpld);
16793 tmpld = csinhl(tmpld);
16794 tmpld = csqrtl(tmpld);
16795 tmpld = ctanl(tmpld);
16796 tmpld = ctanhl(tmpld);
16797 tmpld = cpowl(tmpld, tmpld);
16798 tmpld = cprojl(tmpld);
16801 return 0;
16803 _ACEOF
16804 if ac_fn_cxx_try_compile "$LINENO"; then :
16805 glibcxx_cv_c99_complex=yes
16806 else
16807 glibcxx_cv_c99_complex=no
16809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16810 else
16811 if test x$gcc_no_link = xyes; then
16812 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16815 /* end confdefs.h. */
16816 #include <complex.h>
16817 typedef __complex__ float float_type;
16818 typedef __complex__ double double_type;
16819 typedef __complex__ long double ld_type;
16820 volatile float_type tmpf;
16821 volatile double_type tmpd;
16822 volatile ld_type tmpld;
16823 volatile float f;
16824 volatile double d;
16825 volatile long double ld;
16827 main ()
16829 f = cabsf(tmpf);
16830 f = cargf(tmpf);
16831 tmpf = ccosf(tmpf);
16832 tmpf = ccoshf(tmpf);
16833 tmpf = cexpf(tmpf);
16834 tmpf = clogf(tmpf);
16835 tmpf = csinf(tmpf);
16836 tmpf = csinhf(tmpf);
16837 tmpf = csqrtf(tmpf);
16838 tmpf = ctanf(tmpf);
16839 tmpf = ctanhf(tmpf);
16840 tmpf = cpowf(tmpf, tmpf);
16841 tmpf = cprojf(tmpf);
16842 d = cabs(tmpd);
16843 d = carg(tmpd);
16844 tmpd = ccos(tmpd);
16845 tmpd = ccosh(tmpd);
16846 tmpd = cexp(tmpd);
16847 tmpd = clog(tmpd);
16848 tmpd = csin(tmpd);
16849 tmpd = csinh(tmpd);
16850 tmpd = csqrt(tmpd);
16851 tmpd = ctan(tmpd);
16852 tmpd = ctanh(tmpd);
16853 tmpd = cpow(tmpd, tmpd);
16854 tmpd = cproj(tmpd);
16855 ld = cabsl(tmpld);
16856 ld = cargl(tmpld);
16857 tmpld = ccosl(tmpld);
16858 tmpld = ccoshl(tmpld);
16859 tmpld = cexpl(tmpld);
16860 tmpld = clogl(tmpld);
16861 tmpld = csinl(tmpld);
16862 tmpld = csinhl(tmpld);
16863 tmpld = csqrtl(tmpld);
16864 tmpld = ctanl(tmpld);
16865 tmpld = ctanhl(tmpld);
16866 tmpld = cpowl(tmpld, tmpld);
16867 tmpld = cprojl(tmpld);
16870 return 0;
16872 _ACEOF
16873 if ac_fn_cxx_try_link "$LINENO"; then :
16874 glibcxx_cv_c99_complex=yes
16875 else
16876 glibcxx_cv_c99_complex=no
16878 rm -f core conftest.err conftest.$ac_objext \
16879 conftest$ac_exeext conftest.$ac_ext
16882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex" >&5
16883 $as_echo "$glibcxx_cv_c99_complex" >&6; }
16884 if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16886 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX 1" >>confdefs.h
16890 # Check for the existence in <stdio.h> of vscanf, et. al.
16891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h>" >&5
16892 $as_echo_n "checking for ISO C99 support in <stdio.h>... " >&6; }
16893 if test "${glibcxx_cv_c99_stdio+set}" = set; then :
16894 $as_echo_n "(cached) " >&6
16895 else
16897 if test x$gcc_no_link = xyes; then
16898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16899 /* end confdefs.h. */
16900 #include <stdio.h>
16901 #include <stdarg.h>
16902 void foo(char* fmt, ...)
16904 va_list args; va_start(args, fmt);
16905 vfscanf(stderr, "%i", args);
16906 vscanf("%i", args);
16907 vsnprintf(fmt, 0, "%i", args);
16908 vsscanf(fmt, "%i", args);
16909 snprintf(fmt, 0, "%i");
16912 main ()
16916 return 0;
16918 _ACEOF
16919 if ac_fn_cxx_try_compile "$LINENO"; then :
16920 glibcxx_cv_c99_stdio=yes
16921 else
16922 glibcxx_cv_c99_stdio=no
16924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16925 else
16926 if test x$gcc_no_link = xyes; then
16927 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16930 /* end confdefs.h. */
16931 #include <stdio.h>
16932 #include <stdarg.h>
16933 void foo(char* fmt, ...)
16935 va_list args; va_start(args, fmt);
16936 vfscanf(stderr, "%i", args);
16937 vscanf("%i", args);
16938 vsnprintf(fmt, 0, "%i", args);
16939 vsscanf(fmt, "%i", args);
16940 snprintf(fmt, 0, "%i");
16943 main ()
16947 return 0;
16949 _ACEOF
16950 if ac_fn_cxx_try_link "$LINENO"; then :
16951 glibcxx_cv_c99_stdio=yes
16952 else
16953 glibcxx_cv_c99_stdio=no
16955 rm -f core conftest.err conftest.$ac_objext \
16956 conftest$ac_exeext conftest.$ac_ext
16961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio" >&5
16962 $as_echo "$glibcxx_cv_c99_stdio" >&6; }
16964 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h>" >&5
16966 $as_echo_n "checking for ISO C99 support in <stdlib.h>... " >&6; }
16967 if test "${glibcxx_cv_c99_stdlib+set}" = set; then :
16968 $as_echo_n "(cached) " >&6
16969 else
16971 if test x$gcc_no_link = xyes; then
16972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16973 /* end confdefs.h. */
16974 #include <stdlib.h>
16975 volatile float f;
16976 volatile long double ld;
16977 volatile unsigned long long ll;
16978 lldiv_t mydivt;
16980 main ()
16982 char* tmp;
16983 f = strtof("gnu", &tmp);
16984 ld = strtold("gnu", &tmp);
16985 ll = strtoll("gnu", &tmp, 10);
16986 ll = strtoull("gnu", &tmp, 10);
16987 ll = llabs(10);
16988 mydivt = lldiv(10,1);
16989 ll = mydivt.quot;
16990 ll = mydivt.rem;
16991 ll = atoll("10");
16992 _Exit(0);
16995 return 0;
16997 _ACEOF
16998 if ac_fn_cxx_try_compile "$LINENO"; then :
16999 glibcxx_cv_c99_stdlib=yes
17000 else
17001 glibcxx_cv_c99_stdlib=no
17003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17004 else
17005 if test x$gcc_no_link = xyes; then
17006 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17009 /* end confdefs.h. */
17010 #include <stdlib.h>
17011 volatile float f;
17012 volatile long double ld;
17013 volatile unsigned long long ll;
17014 lldiv_t mydivt;
17016 main ()
17018 char* tmp;
17019 f = strtof("gnu", &tmp);
17020 ld = strtold("gnu", &tmp);
17021 ll = strtoll("gnu", &tmp, 10);
17022 ll = strtoull("gnu", &tmp, 10);
17023 ll = llabs(10);
17024 mydivt = lldiv(10,1);
17025 ll = mydivt.quot;
17026 ll = mydivt.rem;
17027 ll = atoll("10");
17028 _Exit(0);
17031 return 0;
17033 _ACEOF
17034 if ac_fn_cxx_try_link "$LINENO"; then :
17035 glibcxx_cv_c99_stdlib=yes
17036 else
17037 glibcxx_cv_c99_stdlib=no
17039 rm -f core conftest.err conftest.$ac_objext \
17040 conftest$ac_exeext conftest.$ac_ext
17045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib" >&5
17046 $as_echo "$glibcxx_cv_c99_stdlib" >&6; }
17048 # Check for the existence in <wchar.h> of wcstold, etc.
17049 glibcxx_cv_c99_wchar=no;
17050 if test x"$ac_has_wchar_h" = xyes &&
17051 test x"$ac_has_wctype_h" = xyes; then
17052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h>" >&5
17053 $as_echo_n "checking for ISO C99 support in <wchar.h>... " >&6; }
17054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17055 /* end confdefs.h. */
17056 #include <wchar.h>
17057 namespace test
17059 using ::wcstold;
17060 using ::wcstoll;
17061 using ::wcstoull;
17065 main ()
17069 return 0;
17071 _ACEOF
17072 if ac_fn_cxx_try_compile "$LINENO"; then :
17073 glibcxx_cv_c99_wchar=yes
17074 else
17075 glibcxx_cv_c99_wchar=no
17077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17079 # Checks for wide character functions that may not be present.
17080 # Injection of these is wrapped with guard macros.
17081 # NB: only put functions here, instead of immediately above, if
17082 # absolutely necessary.
17083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17084 /* end confdefs.h. */
17085 #include <wchar.h>
17086 namespace test { using ::vfwscanf; }
17088 main ()
17092 return 0;
17094 _ACEOF
17095 if ac_fn_cxx_try_compile "$LINENO"; then :
17097 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17103 /* end confdefs.h. */
17104 #include <wchar.h>
17105 namespace test { using ::vswscanf; }
17107 main ()
17111 return 0;
17113 _ACEOF
17114 if ac_fn_cxx_try_compile "$LINENO"; then :
17116 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17122 /* end confdefs.h. */
17123 #include <wchar.h>
17124 namespace test { using ::vwscanf; }
17126 main ()
17130 return 0;
17132 _ACEOF
17133 if ac_fn_cxx_try_compile "$LINENO"; then :
17135 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17141 /* end confdefs.h. */
17142 #include <wchar.h>
17143 namespace test { using ::wcstof; }
17145 main ()
17149 return 0;
17151 _ACEOF
17152 if ac_fn_cxx_try_compile "$LINENO"; then :
17154 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17160 /* end confdefs.h. */
17161 #include <wctype.h>
17163 main ()
17165 wint_t t; int i = iswblank(t);
17167 return 0;
17169 _ACEOF
17170 if ac_fn_cxx_try_compile "$LINENO"; then :
17172 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar" >&5
17178 $as_echo "$glibcxx_cv_c99_wchar" >&6; }
17181 # Option parsed, now set things appropriately.
17182 if test x"$glibcxx_cv_c99_math" = x"no" ||
17183 test x"$glibcxx_cv_c99_complex" = x"no" ||
17184 test x"$glibcxx_cv_c99_stdio" = x"no" ||
17185 test x"$glibcxx_cv_c99_stdlib" = x"no" ||
17186 test x"$glibcxx_cv_c99_wchar" = x"no"; then
17187 enable_c99=no;
17188 else
17190 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17194 gcc_no_link="$ac_save_gcc_no_link"
17195 LIBS="$ac_save_LIBS"
17196 CXXFLAGS="$ac_save_CXXFLAGS"
17197 ac_ext=c
17198 ac_cpp='$CPP $CPPFLAGS'
17199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17206 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17208 $as_echo "$enable_c99" >&6; }
17211 # Check whether --enable-concept-checks was given.
17212 if test "${enable_concept_checks+set}" = set; then :
17213 enableval=$enable_concept_checks;
17214 case "$enableval" in
17215 yes|no) ;;
17216 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17217 esac
17219 else
17220 enable_concept_checks=no
17224 if test $enable_concept_checks = yes; then
17226 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17231 # Check whether --enable-libstdcxx-debug-flags was given.
17232 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17233 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17234 xno | x) enable_libstdcxx_debug_flags= ;;
17235 x-*) ;;
17236 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17237 esac
17238 else
17239 enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0"
17244 # Option parsed, now set things appropriately
17245 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17248 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17249 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17253 $as_echo_n "checking for additional debug build... " >&6; }
17254 # Check whether --enable-libstdcxx-debug was given.
17255 if test "${enable_libstdcxx_debug+set}" = set; then :
17256 enableval=$enable_libstdcxx_debug;
17257 case "$enableval" in
17258 yes|no) ;;
17259 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17260 esac
17262 else
17263 enable_libstdcxx_debug=no
17267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17268 $as_echo "$enable_libstdcxx_debug" >&6; }
17273 enable_parallel=no;
17275 # See if configured libgomp/omp.h exists. (libgomp may be in
17276 # noconfigdirs but not explicitly disabled.)
17277 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17278 enable_parallel=yes;
17279 else
17280 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17281 $as_echo "$as_me: target-libgomp not built" >&6;}
17284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17285 $as_echo_n "checking for parallel mode support... " >&6; }
17286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17287 $as_echo "$enable_parallel" >&6; }
17289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17290 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17291 # Check whether --enable-cxx-flags was given.
17292 if test "${enable_cxx_flags+set}" = set; then :
17293 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17294 xno | x) enable_cxx_flags= ;;
17295 x-*) ;;
17296 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17297 esac
17298 else
17299 enable_cxx_flags=
17304 # Run through flags (either default or command-line) and set anything
17305 # extra (e.g., #defines) that must accompany particular g++ options.
17306 if test -n "$enable_cxx_flags"; then
17307 for f in $enable_cxx_flags; do
17308 case "$f" in
17309 -fhonor-std) ;;
17310 -*) ;;
17311 *) # and we're trying to pass /what/ exactly?
17312 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
17313 esac
17314 done
17317 EXTRA_CXX_FLAGS="$enable_cxx_flags"
17318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
17319 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
17323 # Check whether --enable-fully-dynamic-string was given.
17324 if test "${enable_fully_dynamic_string+set}" = set; then :
17325 enableval=$enable_fully_dynamic_string;
17326 case "$enableval" in
17327 yes|no) ;;
17328 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
17329 esac
17331 else
17332 enable_fully_dynamic_string=no
17336 if test $enable_fully_dynamic_string = yes; then
17337 enable_fully_dynamic_string_def=1
17338 else
17339 enable_fully_dynamic_string_def=0
17342 cat >>confdefs.h <<_ACEOF
17343 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
17344 _ACEOF
17349 # Check whether --enable-extern-template was given.
17350 if test "${enable_extern_template+set}" = set; then :
17351 enableval=$enable_extern_template;
17352 case "$enableval" in
17353 yes|no) ;;
17354 *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
17355 esac
17357 else
17358 enable_extern_template=yes
17363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
17364 $as_echo_n "checking for extern template support... " >&6; }
17365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
17366 $as_echo "$enable_extern_template" >&6; }
17372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
17373 $as_echo_n "checking for custom python install directory... " >&6; }
17375 # Check whether --with-python-dir was given.
17376 if test "${with_python_dir+set}" = set; then :
17377 withval=$with_python_dir; with_python_dir=$withval
17378 else
17379 with_python_dir="no"
17382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
17383 $as_echo "${with_python_dir}" >&6; }
17385 # Needed for installing Python modules during make install.
17386 python_mod_dir="${with_python_dir}"
17391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
17392 $as_echo_n "checking for -Werror... " >&6; }
17393 # Check whether --enable-werror was given.
17394 if test "${enable_werror+set}" = set; then :
17395 enableval=$enable_werror;
17396 case "$enableval" in
17397 yes|no) ;;
17398 *) as_fn_error "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
17399 esac
17401 else
17402 enable_werror=yes
17406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
17407 $as_echo "$enable_werror" >&6; }
17412 # Check whether --enable-vtable-verify was given.
17413 if test "${enable_vtable_verify+set}" = set; then :
17414 enableval=$enable_vtable_verify;
17415 case "$enableval" in
17416 yes|no) ;;
17417 *) as_fn_error "Argument to enable/disable vtable-verify must be yes or no" "$LINENO" 5 ;;
17418 esac
17420 else
17421 enable_vtable_verify=no
17426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtable verify support" >&5
17427 $as_echo_n "checking for vtable verify support... " >&6; }
17428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
17429 $as_echo "$enable_vtable_verify" >&6; }
17431 vtv_cygmin=no
17432 if test $enable_vtable_verify = yes; then
17433 case ${target_os} in
17434 cygwin*|mingw32*)
17435 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-lvtv,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
17436 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
17437 vtv_cygmin=yes
17439 darwin*)
17440 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u,_vtable_map_vars_start -Wl,-u,_vtable_map_vars_end"
17441 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-rpath,${toplevel_builddir}/libvtv/.libs"
17444 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
17445 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
17447 esac
17448 VTV_PCH_CXXFLAGS="-fvtable-verify=std"
17449 else
17450 VTV_CXXFLAGS=
17451 VTV_PCH_CXXFLAGS=
17452 VTV_CXXLINKFLAGS=
17458 if test x$vtv_cygmin = xyes; then
17459 VTV_CYGMIN_TRUE=
17460 VTV_CYGMIN_FALSE='#'
17461 else
17462 VTV_CYGMIN_TRUE='#'
17463 VTV_CYGMIN_FALSE=
17469 # Checks for operating systems support that doesn't require linking.
17473 ac_ext=cpp
17474 ac_cpp='$CXXCPP $CPPFLAGS'
17475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
17481 $as_echo_n "checking for gets declaration... " >&6; }
17482 if test "${glibcxx_cv_gets+set}" = set; then :
17483 $as_echo_n "(cached) " >&6
17484 else
17486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17487 /* end confdefs.h. */
17488 #include <stdio.h>
17489 namespace test
17491 using ::gets;
17494 _ACEOF
17495 if ac_fn_cxx_try_compile "$LINENO"; then :
17496 glibcxx_cv_gets=yes
17497 else
17498 glibcxx_cv_gets=no
17501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17505 if test $glibcxx_cv_gets = yes; then
17507 $as_echo "#define HAVE_GETS 1" >>confdefs.h
17510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
17511 $as_echo "$glibcxx_cv_gets" >&6; }
17513 ac_ext=c
17514 ac_cpp='$CPP $CPPFLAGS'
17515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
17523 $as_echo_n "checking for EOWNERDEAD... " >&6; }
17524 if test "${glibcxx_cv_system_error1+set}" = set; then :
17525 $as_echo_n "(cached) " >&6
17526 else
17528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17529 /* end confdefs.h. */
17530 #include <errno.h>
17532 main ()
17534 int i = EOWNERDEAD;
17536 return 0;
17538 _ACEOF
17539 if ac_fn_c_try_compile "$LINENO"; then :
17540 glibcxx_cv_system_error1=yes
17541 else
17542 glibcxx_cv_system_error1=no
17544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
17549 $as_echo "$glibcxx_cv_system_error1" >&6; }
17550 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17552 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
17555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
17556 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
17557 if test "${glibcxx_cv_system_error2+set}" = set; then :
17558 $as_echo_n "(cached) " >&6
17559 else
17561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17562 /* end confdefs.h. */
17563 #include <errno.h>
17565 main ()
17567 int i = ENOTRECOVERABLE;
17569 return 0;
17571 _ACEOF
17572 if ac_fn_c_try_compile "$LINENO"; then :
17573 glibcxx_cv_system_error2=yes
17574 else
17575 glibcxx_cv_system_error2=no
17577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
17582 $as_echo "$glibcxx_cv_system_error2" >&6; }
17583 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17585 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
17588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
17589 $as_echo_n "checking for ENOLINK... " >&6; }
17590 if test "${glibcxx_cv_system_error3+set}" = set; then :
17591 $as_echo_n "(cached) " >&6
17592 else
17594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17595 /* end confdefs.h. */
17596 #include <errno.h>
17598 main ()
17600 int i = ENOLINK;
17602 return 0;
17604 _ACEOF
17605 if ac_fn_c_try_compile "$LINENO"; then :
17606 glibcxx_cv_system_error3=yes
17607 else
17608 glibcxx_cv_system_error3=no
17610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
17615 $as_echo "$glibcxx_cv_system_error3" >&6; }
17616 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17618 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
17621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
17622 $as_echo_n "checking for EPROTO... " >&6; }
17623 if test "${glibcxx_cv_system_error4+set}" = set; then :
17624 $as_echo_n "(cached) " >&6
17625 else
17627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17628 /* end confdefs.h. */
17629 #include <errno.h>
17631 main ()
17633 int i = EPROTO;
17635 return 0;
17637 _ACEOF
17638 if ac_fn_c_try_compile "$LINENO"; then :
17639 glibcxx_cv_system_error4=yes
17640 else
17641 glibcxx_cv_system_error4=no
17643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
17648 $as_echo "$glibcxx_cv_system_error4" >&6; }
17649 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17651 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
17654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
17655 $as_echo_n "checking for ENODATA... " >&6; }
17656 if test "${glibcxx_cv_system_error5+set}" = set; then :
17657 $as_echo_n "(cached) " >&6
17658 else
17660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17661 /* end confdefs.h. */
17662 #include <errno.h>
17664 main ()
17666 int i = ENODATA;
17668 return 0;
17670 _ACEOF
17671 if ac_fn_c_try_compile "$LINENO"; then :
17672 glibcxx_cv_system_error5=yes
17673 else
17674 glibcxx_cv_system_error5=no
17676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
17681 $as_echo "$glibcxx_cv_system_error5" >&6; }
17682 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17684 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
17687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
17688 $as_echo_n "checking for ENOSR... " >&6; }
17689 if test "${glibcxx_cv_system_error6+set}" = set; then :
17690 $as_echo_n "(cached) " >&6
17691 else
17693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17694 /* end confdefs.h. */
17695 #include <errno.h>
17697 main ()
17699 int i = ENOSR;
17701 return 0;
17703 _ACEOF
17704 if ac_fn_c_try_compile "$LINENO"; then :
17705 glibcxx_cv_system_error6=yes
17706 else
17707 glibcxx_cv_system_error6=no
17709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
17714 $as_echo "$glibcxx_cv_system_error6" >&6; }
17715 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17717 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
17720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
17721 $as_echo_n "checking for ENOSTR... " >&6; }
17722 if test "${glibcxx_cv_system_error7+set}" = set; then :
17723 $as_echo_n "(cached) " >&6
17724 else
17726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17727 /* end confdefs.h. */
17728 #include <errno.h>
17730 main ()
17732 int i = ENOSTR;
17734 return 0;
17736 _ACEOF
17737 if ac_fn_c_try_compile "$LINENO"; then :
17738 glibcxx_cv_system_error7=yes
17739 else
17740 glibcxx_cv_system_error7=no
17742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
17747 $as_echo "$glibcxx_cv_system_error7" >&6; }
17748 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17750 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
17753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
17754 $as_echo_n "checking for ETIME... " >&6; }
17755 if test "${glibcxx_cv_system_error8+set}" = set; then :
17756 $as_echo_n "(cached) " >&6
17757 else
17759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17760 /* end confdefs.h. */
17761 #include <errno.h>
17763 main ()
17765 int i = ETIME;
17767 return 0;
17769 _ACEOF
17770 if ac_fn_c_try_compile "$LINENO"; then :
17771 glibcxx_cv_system_error8=yes
17772 else
17773 glibcxx_cv_system_error8=no
17775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
17780 $as_echo "$glibcxx_cv_system_error8" >&6; }
17781 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17783 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
17786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
17787 $as_echo_n "checking for EBADMSG... " >&6; }
17788 if test "${glibcxx_cv_system_error9+set}" = set; then :
17789 $as_echo_n "(cached) " >&6
17790 else
17792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17793 /* end confdefs.h. */
17794 #include <errno.h>
17796 main ()
17798 int i = EBADMSG;
17800 return 0;
17802 _ACEOF
17803 if ac_fn_c_try_compile "$LINENO"; then :
17804 glibcxx_cv_system_error9=yes
17805 else
17806 glibcxx_cv_system_error9=no
17808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
17813 $as_echo "$glibcxx_cv_system_error9" >&6; }
17814 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17816 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
17819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
17820 $as_echo_n "checking for ECANCELED... " >&6; }
17821 if test "${glibcxx_cv_system_error10+set}" = set; then :
17822 $as_echo_n "(cached) " >&6
17823 else
17825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17826 /* end confdefs.h. */
17827 #include <errno.h>
17829 main ()
17831 int i = ECANCELED;
17833 return 0;
17835 _ACEOF
17836 if ac_fn_c_try_compile "$LINENO"; then :
17837 glibcxx_cv_system_error10=yes
17838 else
17839 glibcxx_cv_system_error10=no
17841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
17846 $as_echo "$glibcxx_cv_system_error10" >&6; }
17847 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17849 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
17852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
17853 $as_echo_n "checking for EOVERFLOW... " >&6; }
17854 if test "${glibcxx_cv_system_error11+set}" = set; then :
17855 $as_echo_n "(cached) " >&6
17856 else
17858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17859 /* end confdefs.h. */
17860 #include <errno.h>
17862 main ()
17864 int i = EOVERFLOW;
17866 return 0;
17868 _ACEOF
17869 if ac_fn_c_try_compile "$LINENO"; then :
17870 glibcxx_cv_system_error11=yes
17871 else
17872 glibcxx_cv_system_error11=no
17874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
17879 $as_echo "$glibcxx_cv_system_error11" >&6; }
17880 if test x"$glibcxx_cv_system_error11" = x"yes"; then
17882 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
17885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
17886 $as_echo_n "checking for ENOTSUP... " >&6; }
17887 if test "${glibcxx_cv_system_error12+set}" = set; then :
17888 $as_echo_n "(cached) " >&6
17889 else
17891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17892 /* end confdefs.h. */
17893 #include <errno.h>
17895 main ()
17897 int i = ENOTSUP;
17899 return 0;
17901 _ACEOF
17902 if ac_fn_c_try_compile "$LINENO"; then :
17903 glibcxx_cv_system_error12=yes
17904 else
17905 glibcxx_cv_system_error12=no
17907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
17912 $as_echo "$glibcxx_cv_system_error12" >&6; }
17913 if test x"$glibcxx_cv_system_error12" = x"yes"; then
17915 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
17918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
17919 $as_echo_n "checking for EIDRM... " >&6; }
17920 if test "${glibcxx_cv_system_error13+set}" = set; then :
17921 $as_echo_n "(cached) " >&6
17922 else
17924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17925 /* end confdefs.h. */
17926 #include <errno.h>
17928 main ()
17930 int i = EIDRM;
17932 return 0;
17934 _ACEOF
17935 if ac_fn_c_try_compile "$LINENO"; then :
17936 glibcxx_cv_system_error13=yes
17937 else
17938 glibcxx_cv_system_error13=no
17940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
17945 $as_echo "$glibcxx_cv_system_error13" >&6; }
17946 if test x"$glibcxx_cv_system_error13" = x"yes"; then
17948 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
17951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
17952 $as_echo_n "checking for ETXTBSY... " >&6; }
17953 if test "${glibcxx_cv_system_error14+set}" = set; then :
17954 $as_echo_n "(cached) " >&6
17955 else
17957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17958 /* end confdefs.h. */
17959 #include <errno.h>
17961 main ()
17963 int i = ETXTBSY;
17965 return 0;
17967 _ACEOF
17968 if ac_fn_c_try_compile "$LINENO"; then :
17969 glibcxx_cv_system_error14=yes
17970 else
17971 glibcxx_cv_system_error14=no
17973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
17978 $as_echo "$glibcxx_cv_system_error14" >&6; }
17979 if test x"$glibcxx_cv_system_error14" = x"yes"; then
17981 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
17984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
17985 $as_echo_n "checking for ECHILD... " >&6; }
17986 if test "${glibcxx_cv_system_error15+set}" = set; then :
17987 $as_echo_n "(cached) " >&6
17988 else
17990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17991 /* end confdefs.h. */
17992 #include <errno.h>
17994 main ()
17996 int i = ECHILD;
17998 return 0;
18000 _ACEOF
18001 if ac_fn_c_try_compile "$LINENO"; then :
18002 glibcxx_cv_system_error15=yes
18003 else
18004 glibcxx_cv_system_error15=no
18006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
18011 $as_echo "$glibcxx_cv_system_error15" >&6; }
18012 if test x"$glibcxx_cv_system_error15" = x"yes"; then
18014 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
18017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
18018 $as_echo_n "checking for ENOSPC... " >&6; }
18019 if test "${glibcxx_cv_system_error16+set}" = set; then :
18020 $as_echo_n "(cached) " >&6
18021 else
18023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18024 /* end confdefs.h. */
18025 #include <errno.h>
18027 main ()
18029 int i = ENOSPC;
18031 return 0;
18033 _ACEOF
18034 if ac_fn_c_try_compile "$LINENO"; then :
18035 glibcxx_cv_system_error16=yes
18036 else
18037 glibcxx_cv_system_error16=no
18039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
18044 $as_echo "$glibcxx_cv_system_error16" >&6; }
18045 if test x"$glibcxx_cv_system_error16" = x"yes"; then
18047 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
18050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
18051 $as_echo_n "checking for EPERM... " >&6; }
18052 if test "${glibcxx_cv_system_error17+set}" = set; then :
18053 $as_echo_n "(cached) " >&6
18054 else
18056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18057 /* end confdefs.h. */
18058 #include <errno.h>
18060 main ()
18062 int i = EPERM;
18064 return 0;
18066 _ACEOF
18067 if ac_fn_c_try_compile "$LINENO"; then :
18068 glibcxx_cv_system_error17=yes
18069 else
18070 glibcxx_cv_system_error17=no
18072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
18077 $as_echo "$glibcxx_cv_system_error17" >&6; }
18078 if test x"$glibcxx_cv_system_error17" = x"yes"; then
18080 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
18083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
18084 $as_echo_n "checking for ETIMEDOUT... " >&6; }
18085 if test "${glibcxx_cv_system_error18+set}" = set; then :
18086 $as_echo_n "(cached) " >&6
18087 else
18089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18090 /* end confdefs.h. */
18091 #include <errno.h>
18093 main ()
18095 int i = ETIMEDOUT;
18097 return 0;
18099 _ACEOF
18100 if ac_fn_c_try_compile "$LINENO"; then :
18101 glibcxx_cv_system_error18=yes
18102 else
18103 glibcxx_cv_system_error18=no
18105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
18110 $as_echo "$glibcxx_cv_system_error18" >&6; }
18111 if test x"$glibcxx_cv_system_error18" = x"yes"; then
18113 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
18116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
18117 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
18118 if test "${glibcxx_cv_system_error19+set}" = set; then :
18119 $as_echo_n "(cached) " >&6
18120 else
18122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18123 /* end confdefs.h. */
18124 #include <errno.h>
18126 main ()
18128 int i = EWOULDBLOCK;
18130 return 0;
18132 _ACEOF
18133 if ac_fn_c_try_compile "$LINENO"; then :
18134 glibcxx_cv_system_error19=yes
18135 else
18136 glibcxx_cv_system_error19=no
18138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
18143 $as_echo "$glibcxx_cv_system_error19" >&6; }
18144 if test x"$glibcxx_cv_system_error19" = x"yes"; then
18146 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
18152 # For the streamoff typedef.
18156 ac_ext=cpp
18157 ac_cpp='$CXXCPP $CPPFLAGS'
18158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
18164 $as_echo_n "checking for int64_t... " >&6; }
18165 if test "${glibcxx_cv_INT64_T+set}" = set; then :
18166 $as_echo_n "(cached) " >&6
18167 else
18169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18170 /* end confdefs.h. */
18171 #include <stdint.h>
18173 main ()
18175 int64_t var;
18177 return 0;
18179 _ACEOF
18180 if ac_fn_cxx_try_compile "$LINENO"; then :
18181 glibcxx_cv_INT64_T=yes
18182 else
18183 glibcxx_cv_INT64_T=no
18185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18190 if test $glibcxx_cv_INT64_T = yes; then
18192 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
18194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
18195 $as_echo "$glibcxx_cv_INT64_T" >&6; }
18197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
18198 $as_echo_n "checking for int64_t as long... " >&6; }
18199 if test "${glibcxx_cv_int64_t_long+set}" = set; then :
18200 $as_echo_n "(cached) " >&6
18201 else
18203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18204 /* end confdefs.h. */
18205 #include <stdint.h>
18206 template<typename, typename> struct same { enum { value = -1 }; };
18207 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18208 int array[same<int64_t, long>::value];
18210 main ()
18214 return 0;
18216 _ACEOF
18217 if ac_fn_cxx_try_compile "$LINENO"; then :
18218 glibcxx_cv_int64_t_long=yes
18219 else
18220 glibcxx_cv_int64_t_long=no
18222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18227 if test $glibcxx_cv_int64_t_long = yes; then
18229 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
18231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
18232 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
18235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
18236 $as_echo_n "checking for int64_t as long long... " >&6; }
18237 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
18238 $as_echo_n "(cached) " >&6
18239 else
18241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18242 /* end confdefs.h. */
18243 #include <stdint.h>
18244 template<typename, typename> struct same { enum { value = -1 }; };
18245 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18246 int array[same<int64_t, long long>::value];
18248 main ()
18252 return 0;
18254 _ACEOF
18255 if ac_fn_cxx_try_compile "$LINENO"; then :
18256 glibcxx_cv_int64_t_long_long=yes
18257 else
18258 glibcxx_cv_int64_t_long_long=no
18260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18265 if test $glibcxx_cv_int64_t_long_long = yes; then
18267 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
18269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
18270 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
18274 ac_ext=c
18275 ac_cpp='$CPP $CPPFLAGS'
18276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18282 # For LFS support.
18285 ac_ext=cpp
18286 ac_cpp='$CXXCPP $CPPFLAGS'
18287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18291 ac_save_CXXFLAGS="$CXXFLAGS"
18292 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
18294 $as_echo_n "checking for LFS support... " >&6; }
18295 if test "${glibcxx_cv_LFS+set}" = set; then :
18296 $as_echo_n "(cached) " >&6
18297 else
18299 if test x$gcc_no_link = xyes; then
18300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18301 /* end confdefs.h. */
18302 #include <unistd.h>
18303 #include <stdio.h>
18304 #include <sys/stat.h>
18307 main ()
18309 FILE* fp;
18310 fopen64("t", "w");
18311 fseeko64(fp, 0, SEEK_CUR);
18312 ftello64(fp);
18313 lseek64(1, 0, SEEK_CUR);
18314 struct stat64 buf;
18315 fstat64(1, &buf);
18317 return 0;
18319 _ACEOF
18320 if ac_fn_cxx_try_compile "$LINENO"; then :
18321 glibcxx_cv_LFS=yes
18322 else
18323 glibcxx_cv_LFS=no
18325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18326 else
18327 if test x$gcc_no_link = xyes; then
18328 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18331 /* end confdefs.h. */
18332 #include <unistd.h>
18333 #include <stdio.h>
18334 #include <sys/stat.h>
18337 main ()
18339 FILE* fp;
18340 fopen64("t", "w");
18341 fseeko64(fp, 0, SEEK_CUR);
18342 ftello64(fp);
18343 lseek64(1, 0, SEEK_CUR);
18344 struct stat64 buf;
18345 fstat64(1, &buf);
18347 return 0;
18349 _ACEOF
18350 if ac_fn_cxx_try_link "$LINENO"; then :
18351 glibcxx_cv_LFS=yes
18352 else
18353 glibcxx_cv_LFS=no
18355 rm -f core conftest.err conftest.$ac_objext \
18356 conftest$ac_exeext conftest.$ac_ext
18361 if test $glibcxx_cv_LFS = yes; then
18363 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
18366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
18367 $as_echo "$glibcxx_cv_LFS" >&6; }
18368 CXXFLAGS="$ac_save_CXXFLAGS"
18369 ac_ext=c
18370 ac_cpp='$CPP $CPPFLAGS'
18371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18377 # For showmanyc_helper().
18378 for ac_header in sys/ioctl.h sys/filio.h
18379 do :
18380 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18381 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18382 eval as_val=\$$as_ac_Header
18383 if test "x$as_val" = x""yes; then :
18384 cat >>confdefs.h <<_ACEOF
18385 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18386 _ACEOF
18390 done
18395 ac_ext=cpp
18396 ac_cpp='$CXXCPP $CPPFLAGS'
18397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18401 ac_save_CXXFLAGS="$CXXFLAGS"
18402 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
18405 $as_echo_n "checking for poll... " >&6; }
18406 if test "${glibcxx_cv_POLL+set}" = set; then :
18407 $as_echo_n "(cached) " >&6
18408 else
18410 if test x$gcc_no_link = xyes; then
18411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18412 /* end confdefs.h. */
18413 #include <poll.h>
18415 main ()
18417 struct pollfd pfd[1];
18418 pfd[0].events = POLLIN;
18419 poll(pfd, 1, 0);
18421 return 0;
18423 _ACEOF
18424 if ac_fn_cxx_try_compile "$LINENO"; then :
18425 glibcxx_cv_POLL=yes
18426 else
18427 glibcxx_cv_POLL=no
18429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18430 else
18431 if test x$gcc_no_link = xyes; then
18432 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18435 /* end confdefs.h. */
18436 #include <poll.h>
18438 main ()
18440 struct pollfd pfd[1];
18441 pfd[0].events = POLLIN;
18442 poll(pfd, 1, 0);
18444 return 0;
18446 _ACEOF
18447 if ac_fn_cxx_try_link "$LINENO"; then :
18448 glibcxx_cv_POLL=yes
18449 else
18450 glibcxx_cv_POLL=no
18452 rm -f core conftest.err conftest.$ac_objext \
18453 conftest$ac_exeext conftest.$ac_ext
18458 if test $glibcxx_cv_POLL = yes; then
18460 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
18464 $as_echo "$glibcxx_cv_POLL" >&6; }
18466 CXXFLAGS="$ac_save_CXXFLAGS"
18467 ac_ext=c
18468 ac_cpp='$CPP $CPPFLAGS'
18469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18477 ac_ext=cpp
18478 ac_cpp='$CXXCPP $CPPFLAGS'
18479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18483 ac_save_CXXFLAGS="$CXXFLAGS"
18484 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
18487 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
18488 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
18489 $as_echo_n "(cached) " >&6
18490 else
18492 if test x$gcc_no_link = xyes; then
18493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18494 /* end confdefs.h. */
18495 #include <sys/stat.h>
18497 main ()
18499 struct stat buffer;
18500 fstat(0, &buffer);
18501 S_ISREG(buffer.st_mode);
18503 return 0;
18505 _ACEOF
18506 if ac_fn_cxx_try_compile "$LINENO"; then :
18507 glibcxx_cv_S_ISREG=yes
18508 else
18509 glibcxx_cv_S_ISREG=no
18511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18512 else
18513 if test x$gcc_no_link = xyes; then
18514 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18517 /* end confdefs.h. */
18518 #include <sys/stat.h>
18520 main ()
18522 struct stat buffer;
18523 fstat(0, &buffer);
18524 S_ISREG(buffer.st_mode);
18526 return 0;
18528 _ACEOF
18529 if ac_fn_cxx_try_link "$LINENO"; then :
18530 glibcxx_cv_S_ISREG=yes
18531 else
18532 glibcxx_cv_S_ISREG=no
18534 rm -f core conftest.err conftest.$ac_objext \
18535 conftest$ac_exeext conftest.$ac_ext
18540 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
18541 $as_echo_n "(cached) " >&6
18542 else
18544 if test x$gcc_no_link = xyes; then
18545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18546 /* end confdefs.h. */
18547 #include <sys/stat.h>
18549 main ()
18551 struct stat buffer;
18552 fstat(0, &buffer);
18553 S_IFREG & buffer.st_mode;
18555 return 0;
18557 _ACEOF
18558 if ac_fn_cxx_try_compile "$LINENO"; then :
18559 glibcxx_cv_S_IFREG=yes
18560 else
18561 glibcxx_cv_S_IFREG=no
18563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18564 else
18565 if test x$gcc_no_link = xyes; then
18566 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18569 /* end confdefs.h. */
18570 #include <sys/stat.h>
18572 main ()
18574 struct stat buffer;
18575 fstat(0, &buffer);
18576 S_IFREG & buffer.st_mode;
18578 return 0;
18580 _ACEOF
18581 if ac_fn_cxx_try_link "$LINENO"; then :
18582 glibcxx_cv_S_IFREG=yes
18583 else
18584 glibcxx_cv_S_IFREG=no
18586 rm -f core conftest.err conftest.$ac_objext \
18587 conftest$ac_exeext conftest.$ac_ext
18592 res=no
18593 if test $glibcxx_cv_S_ISREG = yes; then
18595 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
18597 res=S_ISREG
18598 elif test $glibcxx_cv_S_IFREG = yes; then
18600 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
18602 res=S_IFREG
18604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
18605 $as_echo "$res" >&6; }
18607 CXXFLAGS="$ac_save_CXXFLAGS"
18608 ac_ext=c
18609 ac_cpp='$CPP $CPPFLAGS'
18610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18616 # For xsputn_2().
18617 for ac_header in sys/uio.h
18618 do :
18619 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
18620 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
18621 cat >>confdefs.h <<_ACEOF
18622 #define HAVE_SYS_UIO_H 1
18623 _ACEOF
18627 done
18632 ac_ext=cpp
18633 ac_cpp='$CXXCPP $CPPFLAGS'
18634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18638 ac_save_CXXFLAGS="$CXXFLAGS"
18639 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
18642 $as_echo_n "checking for writev... " >&6; }
18643 if test "${glibcxx_cv_WRITEV+set}" = set; then :
18644 $as_echo_n "(cached) " >&6
18645 else
18647 if test x$gcc_no_link = xyes; then
18648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18649 /* end confdefs.h. */
18650 #include <sys/uio.h>
18652 main ()
18654 struct iovec iov[2];
18655 writev(0, iov, 0);
18657 return 0;
18659 _ACEOF
18660 if ac_fn_cxx_try_compile "$LINENO"; then :
18661 glibcxx_cv_WRITEV=yes
18662 else
18663 glibcxx_cv_WRITEV=no
18665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18666 else
18667 if test x$gcc_no_link = xyes; then
18668 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18671 /* end confdefs.h. */
18672 #include <sys/uio.h>
18674 main ()
18676 struct iovec iov[2];
18677 writev(0, iov, 0);
18679 return 0;
18681 _ACEOF
18682 if ac_fn_cxx_try_link "$LINENO"; then :
18683 glibcxx_cv_WRITEV=yes
18684 else
18685 glibcxx_cv_WRITEV=no
18687 rm -f core conftest.err conftest.$ac_objext \
18688 conftest$ac_exeext conftest.$ac_ext
18693 if test $glibcxx_cv_WRITEV = yes; then
18695 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
18698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
18699 $as_echo "$glibcxx_cv_WRITEV" >&6; }
18701 CXXFLAGS="$ac_save_CXXFLAGS"
18702 ac_ext=c
18703 ac_cpp='$CPP $CPPFLAGS'
18704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18710 # Check for fenv.h and complex.h before GLIBCXX_CHECK_C99_TR1
18711 # so that the check is done with the C compiler (not C++).
18712 # Checking with C++ can break a canadian cross build if either
18713 # file does not exist in C but does in C++.
18714 for ac_header in fenv.h complex.h
18715 do :
18716 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18717 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18718 eval as_val=\$$as_ac_Header
18719 if test "x$as_val" = x""yes; then :
18720 cat >>confdefs.h <<_ACEOF
18721 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18722 _ACEOF
18726 done
18729 # For C99 support to TR1.
18733 ac_ext=cpp
18734 ac_cpp='$CXXCPP $CPPFLAGS'
18735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18740 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
18741 # undefined and fake C99 facilities may be spuriously enabled.
18742 ac_save_CXXFLAGS="$CXXFLAGS"
18743 CXXFLAGS="$CXXFLAGS -std=c++98"
18745 # Check for the existence of <complex.h> complex math functions used
18746 # by tr1/complex.
18747 for ac_header in complex.h
18748 do :
18749 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18750 if test "x$ac_cv_header_complex_h" = x""yes; then :
18751 cat >>confdefs.h <<_ACEOF
18752 #define HAVE_COMPLEX_H 1
18753 _ACEOF
18754 ac_has_complex_h=yes
18755 else
18756 ac_has_complex_h=no
18759 done
18761 ac_c99_complex_tr1=no;
18762 if test x"$ac_has_complex_h" = x"yes"; then
18763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
18764 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
18765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18766 /* end confdefs.h. */
18767 #include <complex.h>
18769 main ()
18771 typedef __complex__ float float_type; float_type tmpf;
18772 cacosf(tmpf);
18773 casinf(tmpf);
18774 catanf(tmpf);
18775 cacoshf(tmpf);
18776 casinhf(tmpf);
18777 catanhf(tmpf);
18778 typedef __complex__ double double_type; double_type tmpd;
18779 cacos(tmpd);
18780 casin(tmpd);
18781 catan(tmpd);
18782 cacosh(tmpd);
18783 casinh(tmpd);
18784 catanh(tmpd);
18785 typedef __complex__ long double ld_type; ld_type tmpld;
18786 cacosl(tmpld);
18787 casinl(tmpld);
18788 catanl(tmpld);
18789 cacoshl(tmpld);
18790 casinhl(tmpld);
18791 catanhl(tmpld);
18794 return 0;
18796 _ACEOF
18797 if ac_fn_cxx_try_compile "$LINENO"; then :
18798 ac_c99_complex_tr1=yes
18799 else
18800 ac_c99_complex_tr1=no
18802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
18805 $as_echo "$ac_c99_complex_tr1" >&6; }
18806 if test x"$ac_c99_complex_tr1" = x"yes"; then
18808 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
18812 # Check for the existence of <ctype.h> functions.
18813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
18814 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
18815 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
18816 $as_echo_n "(cached) " >&6
18817 else
18819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18820 /* end confdefs.h. */
18821 #include <ctype.h>
18823 main ()
18825 int ch;
18826 int ret;
18827 ret = isblank(ch);
18830 return 0;
18832 _ACEOF
18833 if ac_fn_cxx_try_compile "$LINENO"; then :
18834 glibcxx_cv_c99_ctype_tr1=yes
18835 else
18836 glibcxx_cv_c99_ctype_tr1=no
18838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
18843 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
18844 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
18846 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
18850 # Check for the existence of <fenv.h> functions.
18851 for ac_header in fenv.h
18852 do :
18853 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
18854 if test "x$ac_cv_header_fenv_h" = x""yes; then :
18855 cat >>confdefs.h <<_ACEOF
18856 #define HAVE_FENV_H 1
18857 _ACEOF
18858 ac_has_fenv_h=yes
18859 else
18860 ac_has_fenv_h=no
18863 done
18865 ac_c99_fenv_tr1=no;
18866 if test x"$ac_has_fenv_h" = x"yes"; then
18867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
18868 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
18869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18870 /* end confdefs.h. */
18871 #include <fenv.h>
18873 main ()
18875 int except, mode;
18876 fexcept_t* pflag;
18877 fenv_t* penv;
18878 int ret;
18879 ret = feclearexcept(except);
18880 ret = fegetexceptflag(pflag, except);
18881 ret = feraiseexcept(except);
18882 ret = fesetexceptflag(pflag, except);
18883 ret = fetestexcept(except);
18884 ret = fegetround();
18885 ret = fesetround(mode);
18886 ret = fegetenv(penv);
18887 ret = feholdexcept(penv);
18888 ret = fesetenv(penv);
18889 ret = feupdateenv(penv);
18892 return 0;
18894 _ACEOF
18895 if ac_fn_cxx_try_compile "$LINENO"; then :
18896 ac_c99_fenv_tr1=yes
18897 else
18898 ac_c99_fenv_tr1=no
18900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
18903 $as_echo "$ac_c99_fenv_tr1" >&6; }
18904 if test x"$ac_c99_fenv_tr1" = x"yes"; then
18906 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
18910 # Check for the existence of <stdint.h> types.
18911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
18912 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
18913 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
18914 $as_echo_n "(cached) " >&6
18915 else
18917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18918 /* end confdefs.h. */
18919 #define __STDC_LIMIT_MACROS
18920 #define __STDC_CONSTANT_MACROS
18921 #include <stdint.h>
18923 main ()
18925 typedef int8_t my_int8_t;
18926 my_int8_t i8 = INT8_MIN;
18927 i8 = INT8_MAX;
18928 typedef int16_t my_int16_t;
18929 my_int16_t i16 = INT16_MIN;
18930 i16 = INT16_MAX;
18931 typedef int32_t my_int32_t;
18932 my_int32_t i32 = INT32_MIN;
18933 i32 = INT32_MAX;
18934 typedef int64_t my_int64_t;
18935 my_int64_t i64 = INT64_MIN;
18936 i64 = INT64_MAX;
18937 typedef int_fast8_t my_int_fast8_t;
18938 my_int_fast8_t if8 = INT_FAST8_MIN;
18939 if8 = INT_FAST8_MAX;
18940 typedef int_fast16_t my_int_fast16_t;
18941 my_int_fast16_t if16 = INT_FAST16_MIN;
18942 if16 = INT_FAST16_MAX;
18943 typedef int_fast32_t my_int_fast32_t;
18944 my_int_fast32_t if32 = INT_FAST32_MIN;
18945 if32 = INT_FAST32_MAX;
18946 typedef int_fast64_t my_int_fast64_t;
18947 my_int_fast64_t if64 = INT_FAST64_MIN;
18948 if64 = INT_FAST64_MAX;
18949 typedef int_least8_t my_int_least8_t;
18950 my_int_least8_t il8 = INT_LEAST8_MIN;
18951 il8 = INT_LEAST8_MAX;
18952 typedef int_least16_t my_int_least16_t;
18953 my_int_least16_t il16 = INT_LEAST16_MIN;
18954 il16 = INT_LEAST16_MAX;
18955 typedef int_least32_t my_int_least32_t;
18956 my_int_least32_t il32 = INT_LEAST32_MIN;
18957 il32 = INT_LEAST32_MAX;
18958 typedef int_least64_t my_int_least64_t;
18959 my_int_least64_t il64 = INT_LEAST64_MIN;
18960 il64 = INT_LEAST64_MAX;
18961 typedef intmax_t my_intmax_t;
18962 my_intmax_t im = INTMAX_MAX;
18963 im = INTMAX_MIN;
18964 typedef intptr_t my_intptr_t;
18965 my_intptr_t ip = INTPTR_MAX;
18966 ip = INTPTR_MIN;
18967 typedef uint8_t my_uint8_t;
18968 my_uint8_t ui8 = UINT8_MAX;
18969 ui8 = UINT8_MAX;
18970 typedef uint16_t my_uint16_t;
18971 my_uint16_t ui16 = UINT16_MAX;
18972 ui16 = UINT16_MAX;
18973 typedef uint32_t my_uint32_t;
18974 my_uint32_t ui32 = UINT32_MAX;
18975 ui32 = UINT32_MAX;
18976 typedef uint64_t my_uint64_t;
18977 my_uint64_t ui64 = UINT64_MAX;
18978 ui64 = UINT64_MAX;
18979 typedef uint_fast8_t my_uint_fast8_t;
18980 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
18981 uif8 = UINT_FAST8_MAX;
18982 typedef uint_fast16_t my_uint_fast16_t;
18983 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
18984 uif16 = UINT_FAST16_MAX;
18985 typedef uint_fast32_t my_uint_fast32_t;
18986 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
18987 uif32 = UINT_FAST32_MAX;
18988 typedef uint_fast64_t my_uint_fast64_t;
18989 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
18990 uif64 = UINT_FAST64_MAX;
18991 typedef uint_least8_t my_uint_least8_t;
18992 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
18993 uil8 = UINT_LEAST8_MAX;
18994 typedef uint_least16_t my_uint_least16_t;
18995 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
18996 uil16 = UINT_LEAST16_MAX;
18997 typedef uint_least32_t my_uint_least32_t;
18998 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
18999 uil32 = UINT_LEAST32_MAX;
19000 typedef uint_least64_t my_uint_least64_t;
19001 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
19002 uil64 = UINT_LEAST64_MAX;
19003 typedef uintmax_t my_uintmax_t;
19004 my_uintmax_t uim = UINTMAX_MAX;
19005 uim = UINTMAX_MAX;
19006 typedef uintptr_t my_uintptr_t;
19007 my_uintptr_t uip = UINTPTR_MAX;
19008 uip = UINTPTR_MAX;
19011 return 0;
19013 _ACEOF
19014 if ac_fn_cxx_try_compile "$LINENO"; then :
19015 glibcxx_cv_c99_stdint_tr1=yes
19016 else
19017 glibcxx_cv_c99_stdint_tr1=no
19019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
19024 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
19025 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19027 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
19031 # Check for the existence of <math.h> functions.
19032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
19033 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
19034 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
19035 $as_echo_n "(cached) " >&6
19036 else
19038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19039 /* end confdefs.h. */
19040 #include <math.h>
19042 main ()
19044 typedef double_t my_double_t;
19045 typedef float_t my_float_t;
19046 acosh(0.0);
19047 acoshf(0.0f);
19048 acoshl(0.0l);
19049 asinh(0.0);
19050 asinhf(0.0f);
19051 asinhl(0.0l);
19052 atanh(0.0);
19053 atanhf(0.0f);
19054 atanhl(0.0l);
19055 cbrt(0.0);
19056 cbrtf(0.0f);
19057 cbrtl(0.0l);
19058 copysign(0.0, 0.0);
19059 copysignf(0.0f, 0.0f);
19060 copysignl(0.0l, 0.0l);
19061 erf(0.0);
19062 erff(0.0f);
19063 erfl(0.0l);
19064 erfc(0.0);
19065 erfcf(0.0f);
19066 erfcl(0.0l);
19067 exp2(0.0);
19068 exp2f(0.0f);
19069 exp2l(0.0l);
19070 expm1(0.0);
19071 expm1f(0.0f);
19072 expm1l(0.0l);
19073 fdim(0.0, 0.0);
19074 fdimf(0.0f, 0.0f);
19075 fdiml(0.0l, 0.0l);
19076 fma(0.0, 0.0, 0.0);
19077 fmaf(0.0f, 0.0f, 0.0f);
19078 fmal(0.0l, 0.0l, 0.0l);
19079 fmax(0.0, 0.0);
19080 fmaxf(0.0f, 0.0f);
19081 fmaxl(0.0l, 0.0l);
19082 fmin(0.0, 0.0);
19083 fminf(0.0f, 0.0f);
19084 fminl(0.0l, 0.0l);
19085 hypot(0.0, 0.0);
19086 hypotf(0.0f, 0.0f);
19087 hypotl(0.0l, 0.0l);
19088 ilogb(0.0);
19089 ilogbf(0.0f);
19090 ilogbl(0.0l);
19091 lgamma(0.0);
19092 lgammaf(0.0f);
19093 lgammal(0.0l);
19094 llrint(0.0);
19095 llrintf(0.0f);
19096 llrintl(0.0l);
19097 llround(0.0);
19098 llroundf(0.0f);
19099 llroundl(0.0l);
19100 log1p(0.0);
19101 log1pf(0.0f);
19102 log1pl(0.0l);
19103 log2(0.0);
19104 log2f(0.0f);
19105 log2l(0.0l);
19106 logb(0.0);
19107 logbf(0.0f);
19108 logbl(0.0l);
19109 lrint(0.0);
19110 lrintf(0.0f);
19111 lrintl(0.0l);
19112 lround(0.0);
19113 lroundf(0.0f);
19114 lroundl(0.0l);
19115 nan(0);
19116 nanf(0);
19117 nanl(0);
19118 nearbyint(0.0);
19119 nearbyintf(0.0f);
19120 nearbyintl(0.0l);
19121 nextafter(0.0, 0.0);
19122 nextafterf(0.0f, 0.0f);
19123 nextafterl(0.0l, 0.0l);
19124 nexttoward(0.0, 0.0);
19125 nexttowardf(0.0f, 0.0f);
19126 nexttowardl(0.0l, 0.0l);
19127 remainder(0.0, 0.0);
19128 remainderf(0.0f, 0.0f);
19129 remainderl(0.0l, 0.0l);
19130 remquo(0.0, 0.0, 0);
19131 remquof(0.0f, 0.0f, 0);
19132 remquol(0.0l, 0.0l, 0);
19133 rint(0.0);
19134 rintf(0.0f);
19135 rintl(0.0l);
19136 round(0.0);
19137 roundf(0.0f);
19138 roundl(0.0l);
19139 scalbln(0.0, 0l);
19140 scalblnf(0.0f, 0l);
19141 scalblnl(0.0l, 0l);
19142 scalbn(0.0, 0);
19143 scalbnf(0.0f, 0);
19144 scalbnl(0.0l, 0);
19145 tgamma(0.0);
19146 tgammaf(0.0f);
19147 tgammal(0.0l);
19148 trunc(0.0);
19149 truncf(0.0f);
19150 truncl(0.0l);
19153 return 0;
19155 _ACEOF
19156 if ac_fn_cxx_try_compile "$LINENO"; then :
19157 glibcxx_cv_c99_math_tr1=yes
19158 else
19159 glibcxx_cv_c99_math_tr1=no
19161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
19166 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
19167 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
19169 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
19173 # Check for the existence of <inttypes.h> functions (NB: doesn't make
19174 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19175 ac_c99_inttypes_tr1=no;
19176 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
19178 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19180 /* end confdefs.h. */
19181 #include <inttypes.h>
19183 main ()
19185 intmax_t i, numer, denom, base;
19186 const char* s;
19187 char** endptr;
19188 intmax_t ret = imaxabs(i);
19189 imaxdiv_t dret = imaxdiv(numer, denom);
19190 ret = strtoimax(s, endptr, base);
19191 uintmax_t uret = strtoumax(s, endptr, base);
19194 return 0;
19196 _ACEOF
19197 if ac_fn_cxx_try_compile "$LINENO"; then :
19198 ac_c99_inttypes_tr1=yes
19199 else
19200 ac_c99_inttypes_tr1=no
19202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
19205 $as_echo "$ac_c99_inttypes_tr1" >&6; }
19206 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
19208 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
19212 # Check for the existence of wchar_t <inttypes.h> functions (NB: doesn't
19213 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19214 ac_c99_inttypes_wchar_t_tr1=no;
19215 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
19217 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19219 /* end confdefs.h. */
19220 #include <inttypes.h>
19222 main ()
19224 intmax_t base;
19225 const wchar_t* s;
19226 wchar_t** endptr;
19227 intmax_t ret = wcstoimax(s, endptr, base);
19228 uintmax_t uret = wcstoumax(s, endptr, base);
19231 return 0;
19233 _ACEOF
19234 if ac_fn_cxx_try_compile "$LINENO"; then :
19235 ac_c99_inttypes_wchar_t_tr1=yes
19236 else
19237 ac_c99_inttypes_wchar_t_tr1=no
19239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
19242 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
19243 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
19245 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
19249 # Check for the existence of the <stdbool.h> header.
19250 for ac_header in stdbool.h
19251 do :
19252 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
19253 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
19254 cat >>confdefs.h <<_ACEOF
19255 #define HAVE_STDBOOL_H 1
19256 _ACEOF
19260 done
19263 # Check for the existence of the <stdalign.h> header.
19264 for ac_header in stdalign.h
19265 do :
19266 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
19267 if test "x$ac_cv_header_stdalign_h" = x""yes; then :
19268 cat >>confdefs.h <<_ACEOF
19269 #define HAVE_STDALIGN_H 1
19270 _ACEOF
19274 done
19277 CXXFLAGS="$ac_save_CXXFLAGS"
19278 ac_ext=c
19279 ac_cpp='$CPP $CPPFLAGS'
19280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19286 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
19289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
19290 $as_echo_n "checking for the value of EOF... " >&6; }
19291 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
19292 $as_echo_n "(cached) " >&6
19293 else
19295 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
19297 else
19298 as_fn_error "computing EOF failed" "$LINENO" 5
19303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
19304 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
19306 cat >>confdefs.h <<_ACEOF
19307 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
19308 _ACEOF
19311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
19312 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
19313 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
19314 $as_echo_n "(cached) " >&6
19315 else
19317 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
19319 else
19320 as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
19325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
19326 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
19328 cat >>confdefs.h <<_ACEOF
19329 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
19330 _ACEOF
19333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
19334 $as_echo_n "checking for the value of SEEK_END... " >&6; }
19335 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
19336 $as_echo_n "(cached) " >&6
19337 else
19339 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
19341 else
19342 as_fn_error "computing SEEK_END failed" "$LINENO" 5
19347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
19348 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
19350 cat >>confdefs.h <<_ACEOF
19351 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
19352 _ACEOF
19356 # For gettimeofday support.
19359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19360 $as_echo_n "checking for gettimeofday... " >&6; }
19363 ac_ext=cpp
19364 ac_cpp='$CXXCPP $CPPFLAGS'
19365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19369 ac_save_CXXFLAGS="$CXXFLAGS"
19370 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19372 ac_has_gettimeofday=no;
19373 for ac_header in sys/time.h
19374 do :
19375 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
19376 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
19377 cat >>confdefs.h <<_ACEOF
19378 #define HAVE_SYS_TIME_H 1
19379 _ACEOF
19380 ac_has_sys_time_h=yes
19381 else
19382 ac_has_sys_time_h=no
19385 done
19387 if test x"$ac_has_sys_time_h" = x"yes"; then
19388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19389 $as_echo_n "checking for gettimeofday... " >&6; }
19390 if test x$gcc_no_link = xyes; then
19391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19392 /* end confdefs.h. */
19393 #include <sys/time.h>
19395 main ()
19397 timeval tv; gettimeofday(&tv, 0);
19399 return 0;
19401 _ACEOF
19402 if ac_fn_cxx_try_compile "$LINENO"; then :
19403 ac_has_gettimeofday=yes
19404 else
19405 ac_has_gettimeofday=no
19407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19408 else
19409 if test x$gcc_no_link = xyes; then
19410 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19413 /* end confdefs.h. */
19414 #include <sys/time.h>
19416 main ()
19418 timeval tv; gettimeofday(&tv, 0);
19420 return 0;
19422 _ACEOF
19423 if ac_fn_cxx_try_link "$LINENO"; then :
19424 ac_has_gettimeofday=yes
19425 else
19426 ac_has_gettimeofday=no
19428 rm -f core conftest.err conftest.$ac_objext \
19429 conftest$ac_exeext conftest.$ac_ext
19432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
19433 $as_echo "$ac_has_gettimeofday" >&6; }
19436 if test x"$ac_has_gettimeofday" = x"yes"; then
19438 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
19442 CXXFLAGS="$ac_save_CXXFLAGS"
19443 ac_ext=c
19444 ac_cpp='$CPP $CPPFLAGS'
19445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19451 # For clock_gettime, nanosleep and sched_yield support.
19454 # Check whether --enable-libstdcxx-time was given.
19455 if test "${enable_libstdcxx_time+set}" = set; then :
19456 enableval=$enable_libstdcxx_time;
19457 case "$enableval" in
19458 yes|no|rt) ;;
19459 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
19460 esac
19462 else
19463 enable_libstdcxx_time=auto
19469 ac_ext=cpp
19470 ac_cpp='$CXXCPP $CPPFLAGS'
19471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19475 ac_save_CXXFLAGS="$CXXFLAGS"
19476 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19477 ac_save_LIBS="$LIBS"
19479 ac_has_clock_monotonic=no
19480 ac_has_clock_realtime=no
19481 ac_has_nanosleep=no
19482 ac_has_sched_yield=no
19484 if test x"$enable_libstdcxx_time" = x"auto"; then
19486 case "${target_os}" in
19487 cygwin*)
19488 ac_has_nanosleep=yes
19490 darwin*)
19491 ac_has_nanosleep=yes
19492 ac_has_sched_yield=yes
19494 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
19495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at least GNU libc 2.17" >&5
19496 $as_echo_n "checking for at least GNU libc 2.17... " >&6; }
19497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19498 /* end confdefs.h. */
19499 #include <features.h>
19501 main ()
19504 #if ! __GLIBC_PREREQ(2, 17)
19505 #error
19506 #endif
19509 return 0;
19511 _ACEOF
19512 if ac_fn_cxx_try_compile "$LINENO"; then :
19513 glibcxx_glibc217=yes
19514 else
19515 glibcxx_glibc217=no
19517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_glibc217" >&5
19519 $as_echo "$glibcxx_glibc217" >&6; }
19521 if test x"$glibcxx_glibc217" = x"yes"; then
19522 ac_has_clock_monotonic=yes
19523 ac_has_clock_realtime=yes
19525 ac_has_nanosleep=yes
19526 ac_has_sched_yield=yes
19528 freebsd*|netbsd*|dragonfly*)
19529 ac_has_clock_monotonic=yes
19530 ac_has_clock_realtime=yes
19531 ac_has_nanosleep=yes
19532 ac_has_sched_yield=yes
19534 openbsd*)
19535 ac_has_clock_monotonic=yes
19536 ac_has_clock_realtime=yes
19537 ac_has_nanosleep=yes
19539 solaris*)
19540 GLIBCXX_LIBS="$GLIBCXX_LIBS -lrt"
19541 ac_has_clock_monotonic=yes
19542 ac_has_clock_realtime=yes
19543 ac_has_nanosleep=yes
19544 ac_has_sched_yield=yes
19546 esac
19548 elif test x"$enable_libstdcxx_time" != x"no"; then
19550 if test x"$enable_libstdcxx_time" = x"rt"; then
19551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19552 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19553 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19554 $as_echo_n "(cached) " >&6
19555 else
19556 ac_func_search_save_LIBS=$LIBS
19557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19558 /* end confdefs.h. */
19560 /* Override any GCC internal prototype to avoid an error.
19561 Use char because int might match the return type of a GCC
19562 builtin and then its argument prototype would still apply. */
19563 #ifdef __cplusplus
19564 extern "C"
19565 #endif
19566 char clock_gettime ();
19568 main ()
19570 return clock_gettime ();
19572 return 0;
19574 _ACEOF
19575 for ac_lib in '' rt posix4; do
19576 if test -z "$ac_lib"; then
19577 ac_res="none required"
19578 else
19579 ac_res=-l$ac_lib
19580 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19582 if test x$gcc_no_link = xyes; then
19583 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19585 if ac_fn_cxx_try_link "$LINENO"; then :
19586 ac_cv_search_clock_gettime=$ac_res
19588 rm -f core conftest.err conftest.$ac_objext \
19589 conftest$ac_exeext
19590 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19591 break
19593 done
19594 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19596 else
19597 ac_cv_search_clock_gettime=no
19599 rm conftest.$ac_ext
19600 LIBS=$ac_func_search_save_LIBS
19602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19603 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19604 ac_res=$ac_cv_search_clock_gettime
19605 if test "$ac_res" != no; then :
19606 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19611 $as_echo_n "checking for library containing nanosleep... " >&6; }
19612 if test "${ac_cv_search_nanosleep+set}" = set; then :
19613 $as_echo_n "(cached) " >&6
19614 else
19615 ac_func_search_save_LIBS=$LIBS
19616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19617 /* end confdefs.h. */
19619 /* Override any GCC internal prototype to avoid an error.
19620 Use char because int might match the return type of a GCC
19621 builtin and then its argument prototype would still apply. */
19622 #ifdef __cplusplus
19623 extern "C"
19624 #endif
19625 char nanosleep ();
19627 main ()
19629 return nanosleep ();
19631 return 0;
19633 _ACEOF
19634 for ac_lib in '' rt posix4; do
19635 if test -z "$ac_lib"; then
19636 ac_res="none required"
19637 else
19638 ac_res=-l$ac_lib
19639 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19641 if test x$gcc_no_link = xyes; then
19642 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19644 if ac_fn_cxx_try_link "$LINENO"; then :
19645 ac_cv_search_nanosleep=$ac_res
19647 rm -f core conftest.err conftest.$ac_objext \
19648 conftest$ac_exeext
19649 if test "${ac_cv_search_nanosleep+set}" = set; then :
19650 break
19652 done
19653 if test "${ac_cv_search_nanosleep+set}" = set; then :
19655 else
19656 ac_cv_search_nanosleep=no
19658 rm conftest.$ac_ext
19659 LIBS=$ac_func_search_save_LIBS
19661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19662 $as_echo "$ac_cv_search_nanosleep" >&6; }
19663 ac_res=$ac_cv_search_nanosleep
19664 if test "$ac_res" != no; then :
19665 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19669 else
19670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19671 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19672 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19673 $as_echo_n "(cached) " >&6
19674 else
19675 ac_func_search_save_LIBS=$LIBS
19676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19677 /* end confdefs.h. */
19679 /* Override any GCC internal prototype to avoid an error.
19680 Use char because int might match the return type of a GCC
19681 builtin and then its argument prototype would still apply. */
19682 #ifdef __cplusplus
19683 extern "C"
19684 #endif
19685 char clock_gettime ();
19687 main ()
19689 return clock_gettime ();
19691 return 0;
19693 _ACEOF
19694 for ac_lib in '' posix4; do
19695 if test -z "$ac_lib"; then
19696 ac_res="none required"
19697 else
19698 ac_res=-l$ac_lib
19699 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19701 if test x$gcc_no_link = xyes; then
19702 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19704 if ac_fn_cxx_try_link "$LINENO"; then :
19705 ac_cv_search_clock_gettime=$ac_res
19707 rm -f core conftest.err conftest.$ac_objext \
19708 conftest$ac_exeext
19709 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19710 break
19712 done
19713 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19715 else
19716 ac_cv_search_clock_gettime=no
19718 rm conftest.$ac_ext
19719 LIBS=$ac_func_search_save_LIBS
19721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19722 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19723 ac_res=$ac_cv_search_clock_gettime
19724 if test "$ac_res" != no; then :
19725 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19730 $as_echo_n "checking for library containing nanosleep... " >&6; }
19731 if test "${ac_cv_search_nanosleep+set}" = set; then :
19732 $as_echo_n "(cached) " >&6
19733 else
19734 ac_func_search_save_LIBS=$LIBS
19735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19736 /* end confdefs.h. */
19738 /* Override any GCC internal prototype to avoid an error.
19739 Use char because int might match the return type of a GCC
19740 builtin and then its argument prototype would still apply. */
19741 #ifdef __cplusplus
19742 extern "C"
19743 #endif
19744 char nanosleep ();
19746 main ()
19748 return nanosleep ();
19750 return 0;
19752 _ACEOF
19753 for ac_lib in '' posix4; do
19754 if test -z "$ac_lib"; then
19755 ac_res="none required"
19756 else
19757 ac_res=-l$ac_lib
19758 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19760 if test x$gcc_no_link = xyes; then
19761 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19763 if ac_fn_cxx_try_link "$LINENO"; then :
19764 ac_cv_search_nanosleep=$ac_res
19766 rm -f core conftest.err conftest.$ac_objext \
19767 conftest$ac_exeext
19768 if test "${ac_cv_search_nanosleep+set}" = set; then :
19769 break
19771 done
19772 if test "${ac_cv_search_nanosleep+set}" = set; then :
19774 else
19775 ac_cv_search_nanosleep=no
19777 rm conftest.$ac_ext
19778 LIBS=$ac_func_search_save_LIBS
19780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19781 $as_echo "$ac_cv_search_nanosleep" >&6; }
19782 ac_res=$ac_cv_search_nanosleep
19783 if test "$ac_res" != no; then :
19784 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19790 case "$ac_cv_search_clock_gettime" in
19791 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
19793 esac
19794 case "$ac_cv_search_nanosleep" in
19795 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
19797 esac
19799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
19800 $as_echo_n "checking for library containing sched_yield... " >&6; }
19801 if test "${ac_cv_search_sched_yield+set}" = set; then :
19802 $as_echo_n "(cached) " >&6
19803 else
19804 ac_func_search_save_LIBS=$LIBS
19805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19806 /* end confdefs.h. */
19808 /* Override any GCC internal prototype to avoid an error.
19809 Use char because int might match the return type of a GCC
19810 builtin and then its argument prototype would still apply. */
19811 #ifdef __cplusplus
19812 extern "C"
19813 #endif
19814 char sched_yield ();
19816 main ()
19818 return sched_yield ();
19820 return 0;
19822 _ACEOF
19823 for ac_lib in '' rt posix4; do
19824 if test -z "$ac_lib"; then
19825 ac_res="none required"
19826 else
19827 ac_res=-l$ac_lib
19828 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19830 if test x$gcc_no_link = xyes; then
19831 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19833 if ac_fn_cxx_try_link "$LINENO"; then :
19834 ac_cv_search_sched_yield=$ac_res
19836 rm -f core conftest.err conftest.$ac_objext \
19837 conftest$ac_exeext
19838 if test "${ac_cv_search_sched_yield+set}" = set; then :
19839 break
19841 done
19842 if test "${ac_cv_search_sched_yield+set}" = set; then :
19844 else
19845 ac_cv_search_sched_yield=no
19847 rm conftest.$ac_ext
19848 LIBS=$ac_func_search_save_LIBS
19850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
19851 $as_echo "$ac_cv_search_sched_yield" >&6; }
19852 ac_res=$ac_cv_search_sched_yield
19853 if test "$ac_res" != no; then :
19854 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19859 case "$ac_cv_search_sched_yield" in
19860 -lposix4*)
19861 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19862 ac_has_sched_yield=yes
19864 -lrt*)
19865 if test x"$enable_libstdcxx_time" = x"rt"; then
19866 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19867 ac_has_sched_yield=yes
19871 ac_has_sched_yield=yes
19873 esac
19875 for ac_header in unistd.h
19876 do :
19877 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19878 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19879 cat >>confdefs.h <<_ACEOF
19880 #define HAVE_UNISTD_H 1
19881 _ACEOF
19882 ac_has_unistd_h=yes
19883 else
19884 ac_has_unistd_h=no
19887 done
19890 if test x"$ac_has_unistd_h" = x"yes"; then
19891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
19892 $as_echo_n "checking for monotonic clock... " >&6; }
19893 if test x$gcc_no_link = xyes; then
19894 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19897 /* end confdefs.h. */
19898 #include <unistd.h>
19899 #include <time.h>
19902 main ()
19904 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19905 timespec tp;
19906 #endif
19907 clock_gettime(CLOCK_MONOTONIC, &tp);
19910 return 0;
19912 _ACEOF
19913 if ac_fn_cxx_try_link "$LINENO"; then :
19914 ac_has_clock_monotonic=yes
19915 else
19916 ac_has_clock_monotonic=no
19918 rm -f core conftest.err conftest.$ac_objext \
19919 conftest$ac_exeext conftest.$ac_ext
19921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
19922 $as_echo "$ac_has_clock_monotonic" >&6; }
19924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
19925 $as_echo_n "checking for realtime clock... " >&6; }
19926 if test x$gcc_no_link = xyes; then
19927 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19930 /* end confdefs.h. */
19931 #include <unistd.h>
19932 #include <time.h>
19935 main ()
19937 #if _POSIX_TIMERS > 0
19938 timespec tp;
19939 #endif
19940 clock_gettime(CLOCK_REALTIME, &tp);
19943 return 0;
19945 _ACEOF
19946 if ac_fn_cxx_try_link "$LINENO"; then :
19947 ac_has_clock_realtime=yes
19948 else
19949 ac_has_clock_realtime=no
19951 rm -f core conftest.err conftest.$ac_objext \
19952 conftest$ac_exeext conftest.$ac_ext
19954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
19955 $as_echo "$ac_has_clock_realtime" >&6; }
19957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
19958 $as_echo_n "checking for nanosleep... " >&6; }
19959 if test x$gcc_no_link = xyes; then
19960 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19963 /* end confdefs.h. */
19964 #include <unistd.h>
19965 #include <time.h>
19968 main ()
19970 #if _POSIX_TIMERS > 0
19971 timespec tp;
19972 #endif
19973 nanosleep(&tp, 0);
19976 return 0;
19978 _ACEOF
19979 if ac_fn_cxx_try_link "$LINENO"; then :
19980 ac_has_nanosleep=yes
19981 else
19982 ac_has_nanosleep=no
19984 rm -f core conftest.err conftest.$ac_objext \
19985 conftest$ac_exeext conftest.$ac_ext
19987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
19988 $as_echo "$ac_has_nanosleep" >&6; }
19992 if test x"$ac_has_clock_monotonic" != x"yes"; then
19993 case ${target_os} in
19994 linux*)
19995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
19996 $as_echo_n "checking for clock_gettime syscall... " >&6; }
19997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19998 /* end confdefs.h. */
19999 #include <unistd.h>
20000 #include <time.h>
20001 #include <sys/syscall.h>
20004 main ()
20006 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
20007 timespec tp;
20008 #endif
20009 syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
20010 syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
20013 return 0;
20015 _ACEOF
20016 if ac_fn_cxx_try_compile "$LINENO"; then :
20017 ac_has_clock_monotonic_syscall=yes
20018 else
20019 ac_has_clock_monotonic_syscall=no
20021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic_syscall" >&5
20023 $as_echo "$ac_has_clock_monotonic_syscall" >&6; }
20024 if test x"$ac_has_clock_monotonic_syscall" = x"yes"; then
20026 $as_echo "#define _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL 1" >>confdefs.h
20028 ac_has_clock_monotonic=yes
20029 ac_has_clock_realtime=yes
20030 fi;;
20031 esac
20034 if test x"$ac_has_clock_monotonic" = x"yes"; then
20036 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
20040 if test x"$ac_has_clock_realtime" = x"yes"; then
20042 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
20046 if test x"$ac_has_sched_yield" = x"yes"; then
20048 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
20052 if test x"$ac_has_nanosleep" = x"yes"; then
20054 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
20056 else
20057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
20058 $as_echo_n "checking for sleep... " >&6; }
20059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20060 /* end confdefs.h. */
20061 #include <unistd.h>
20063 main ()
20065 sleep(1)
20067 return 0;
20069 _ACEOF
20070 if ac_fn_cxx_try_compile "$LINENO"; then :
20071 ac_has_sleep=yes
20072 else
20073 ac_has_sleep=no
20075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20076 if test x"$ac_has_sleep" = x"yes"; then
20078 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
20081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
20082 $as_echo "$ac_has_sleep" >&6; }
20083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
20084 $as_echo_n "checking for usleep... " >&6; }
20085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20086 /* end confdefs.h. */
20087 #include <unistd.h>
20089 main ()
20091 sleep(1);
20092 usleep(100);
20094 return 0;
20096 _ACEOF
20097 if ac_fn_cxx_try_compile "$LINENO"; then :
20098 ac_has_usleep=yes
20099 else
20100 ac_has_usleep=no
20102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20103 if test x"$ac_has_usleep" = x"yes"; then
20105 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
20108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
20109 $as_echo "$ac_has_usleep" >&6; }
20112 if test x"$ac_has_nanosleep$ac_has_sleep" = x"nono"; then
20113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sleep" >&5
20114 $as_echo_n "checking for Sleep... " >&6; }
20115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20116 /* end confdefs.h. */
20117 #include <windows.h>
20119 main ()
20121 Sleep(1)
20123 return 0;
20125 _ACEOF
20126 if ac_fn_cxx_try_compile "$LINENO"; then :
20127 ac_has_win32_sleep=yes
20128 else
20129 ac_has_win32_sleep=no
20131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20132 if test x"$ac_has_win32_sleep" = x"yes"; then
20134 $as_echo "#define HAVE_WIN32_SLEEP 1" >>confdefs.h
20137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_win32_sleep" >&5
20138 $as_echo "$ac_has_win32_sleep" >&6; }
20143 CXXFLAGS="$ac_save_CXXFLAGS"
20144 LIBS="$ac_save_LIBS"
20145 ac_ext=c
20146 ac_cpp='$CPP $CPPFLAGS'
20147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20153 # Check for tmpnam which is obsolescent in POSIX.1-2008
20155 ac_ext=cpp
20156 ac_cpp='$CXXCPP $CPPFLAGS'
20157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20161 ac_save_CXXFLAGS="$CXXFLAGS"
20162 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tmpnam" >&5
20164 $as_echo_n "checking for tmpnam... " >&6; }
20165 if test "${glibcxx_cv_TMPNAM+set}" = set; then :
20166 $as_echo_n "(cached) " >&6
20167 else
20168 if test x$gcc_no_link = xyes; then
20169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20170 /* end confdefs.h. */
20171 #include <stdio.h>
20173 main ()
20175 char *tmp = tmpnam(NULL);
20177 return 0;
20179 _ACEOF
20180 if ac_fn_cxx_try_compile "$LINENO"; then :
20181 glibcxx_cv_TMPNAM=yes
20182 else
20183 glibcxx_cv_TMPNAM=no
20185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20186 else
20187 if test x$gcc_no_link = xyes; then
20188 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20191 /* end confdefs.h. */
20192 #include <stdio.h>
20194 main ()
20196 char *tmp = tmpnam(NULL);
20198 return 0;
20200 _ACEOF
20201 if ac_fn_cxx_try_link "$LINENO"; then :
20202 glibcxx_cv_TMPNAM=yes
20203 else
20204 glibcxx_cv_TMPNAM=no
20206 rm -f core conftest.err conftest.$ac_objext \
20207 conftest$ac_exeext conftest.$ac_ext
20212 if test $glibcxx_cv_TMPNAM = yes; then
20214 $as_echo "#define _GLIBCXX_USE_TMPNAM 1" >>confdefs.h
20217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_TMPNAM" >&5
20218 $as_echo "$glibcxx_cv_TMPNAM" >&6; }
20219 CXXFLAGS="$ac_save_CXXFLAGS"
20220 ac_ext=c
20221 ac_cpp='$CPP $CPPFLAGS'
20222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20229 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
20230 if test "x$ac_cv_header_locale_h" = x""yes; then :
20232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
20233 $as_echo_n "checking for LC_MESSAGES... " >&6; }
20234 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
20235 $as_echo_n "(cached) " >&6
20236 else
20237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20238 /* end confdefs.h. */
20239 #include <locale.h>
20241 main ()
20243 return LC_MESSAGES
20245 return 0;
20247 _ACEOF
20248 if ac_fn_c_try_compile "$LINENO"; then :
20249 ac_cv_val_LC_MESSAGES=yes
20250 else
20251 ac_cv_val_LC_MESSAGES=no
20253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
20256 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
20257 if test $ac_cv_val_LC_MESSAGES = yes; then
20259 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
20268 # For hardware_concurrency
20269 for ac_header in sys/sysinfo.h
20270 do :
20271 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
20272 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
20273 cat >>confdefs.h <<_ACEOF
20274 #define HAVE_SYS_SYSINFO_H 1
20275 _ACEOF
20279 done
20284 ac_ext=cpp
20285 ac_cpp='$CXXCPP $CPPFLAGS'
20286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20290 ac_save_CXXFLAGS="$CXXFLAGS"
20291 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
20294 $as_echo_n "checking for get_nprocs... " >&6; }
20295 if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
20296 $as_echo_n "(cached) " >&6
20297 else
20299 if test x$gcc_no_link = xyes; then
20300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20301 /* end confdefs.h. */
20302 #include <sys/sysinfo.h>
20304 main ()
20306 int n = get_nprocs();
20308 return 0;
20310 _ACEOF
20311 if ac_fn_cxx_try_compile "$LINENO"; then :
20312 glibcxx_cv_GET_NPROCS=yes
20313 else
20314 glibcxx_cv_GET_NPROCS=no
20316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20317 else
20318 if test x$gcc_no_link = xyes; then
20319 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20322 /* end confdefs.h. */
20323 #include <sys/sysinfo.h>
20325 main ()
20327 int n = get_nprocs();
20329 return 0;
20331 _ACEOF
20332 if ac_fn_cxx_try_link "$LINENO"; then :
20333 glibcxx_cv_GET_NPROCS=yes
20334 else
20335 glibcxx_cv_GET_NPROCS=no
20337 rm -f core conftest.err conftest.$ac_objext \
20338 conftest$ac_exeext conftest.$ac_ext
20343 if test $glibcxx_cv_GET_NPROCS = yes; then
20345 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
20348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
20349 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
20351 CXXFLAGS="$ac_save_CXXFLAGS"
20352 ac_ext=c
20353 ac_cpp='$CPP $CPPFLAGS'
20354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20359 for ac_header in unistd.h
20360 do :
20361 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20362 if test "x$ac_cv_header_unistd_h" = x""yes; then :
20363 cat >>confdefs.h <<_ACEOF
20364 #define HAVE_UNISTD_H 1
20365 _ACEOF
20369 done
20374 ac_ext=cpp
20375 ac_cpp='$CXXCPP $CPPFLAGS'
20376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20380 ac_save_CXXFLAGS="$CXXFLAGS"
20381 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
20384 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
20385 if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
20386 $as_echo_n "(cached) " >&6
20387 else
20389 if test x$gcc_no_link = xyes; then
20390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20391 /* end confdefs.h. */
20392 #include <unistd.h>
20394 main ()
20396 int n = sysconf(_SC_NPROCESSORS_ONLN);
20398 return 0;
20400 _ACEOF
20401 if ac_fn_cxx_try_compile "$LINENO"; then :
20402 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20403 else
20404 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20407 else
20408 if test x$gcc_no_link = xyes; then
20409 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20412 /* end confdefs.h. */
20413 #include <unistd.h>
20415 main ()
20417 int n = sysconf(_SC_NPROCESSORS_ONLN);
20419 return 0;
20421 _ACEOF
20422 if ac_fn_cxx_try_link "$LINENO"; then :
20423 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20424 else
20425 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20427 rm -f core conftest.err conftest.$ac_objext \
20428 conftest$ac_exeext conftest.$ac_ext
20433 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
20435 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
20438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
20439 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
20441 CXXFLAGS="$ac_save_CXXFLAGS"
20442 ac_ext=c
20443 ac_cpp='$CPP $CPPFLAGS'
20444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20452 ac_ext=cpp
20453 ac_cpp='$CXXCPP $CPPFLAGS'
20454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20458 ac_save_CXXFLAGS="$CXXFLAGS"
20459 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
20462 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
20463 if test "${glibcxx_cv_SC_NPROC_ONLN+set}" = set; then :
20464 $as_echo_n "(cached) " >&6
20465 else
20467 if test x$gcc_no_link = xyes; then
20468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20469 /* end confdefs.h. */
20470 #include <unistd.h>
20472 main ()
20474 int n = sysconf(_SC_NPROC_ONLN);
20476 return 0;
20478 _ACEOF
20479 if ac_fn_cxx_try_compile "$LINENO"; then :
20480 glibcxx_cv_SC_NPROC_ONLN=yes
20481 else
20482 glibcxx_cv_SC_NPROC_ONLN=no
20484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20485 else
20486 if test x$gcc_no_link = xyes; then
20487 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20490 /* end confdefs.h. */
20491 #include <unistd.h>
20493 main ()
20495 int n = sysconf(_SC_NPROC_ONLN);
20497 return 0;
20499 _ACEOF
20500 if ac_fn_cxx_try_link "$LINENO"; then :
20501 glibcxx_cv_SC_NPROC_ONLN=yes
20502 else
20503 glibcxx_cv_SC_NPROC_ONLN=no
20505 rm -f core conftest.err conftest.$ac_objext \
20506 conftest$ac_exeext conftest.$ac_ext
20511 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
20513 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
20516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
20517 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
20519 CXXFLAGS="$ac_save_CXXFLAGS"
20520 ac_ext=c
20521 ac_cpp='$CPP $CPPFLAGS'
20522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20530 ac_ext=cpp
20531 ac_cpp='$CXXCPP $CPPFLAGS'
20532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20536 ac_save_CXXFLAGS="$CXXFLAGS"
20537 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
20540 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
20541 if test "${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+set}" = set; then :
20542 $as_echo_n "(cached) " >&6
20543 else
20545 if test x$gcc_no_link = xyes; then
20546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20547 /* end confdefs.h. */
20548 #include <pthread.h>
20550 main ()
20552 int n = pthread_num_processors_np();
20554 return 0;
20556 _ACEOF
20557 if ac_fn_cxx_try_compile "$LINENO"; then :
20558 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20559 else
20560 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20563 else
20564 if test x$gcc_no_link = xyes; then
20565 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20568 /* end confdefs.h. */
20569 #include <pthread.h>
20571 main ()
20573 int n = pthread_num_processors_np();
20575 return 0;
20577 _ACEOF
20578 if ac_fn_cxx_try_link "$LINENO"; then :
20579 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20580 else
20581 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20583 rm -f core conftest.err conftest.$ac_objext \
20584 conftest$ac_exeext conftest.$ac_ext
20589 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
20591 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
20594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
20595 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
20597 CXXFLAGS="$ac_save_CXXFLAGS"
20598 ac_ext=c
20599 ac_cpp='$CPP $CPPFLAGS'
20600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20608 ac_ext=cpp
20609 ac_cpp='$CXXCPP $CPPFLAGS'
20610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20614 ac_save_CXXFLAGS="$CXXFLAGS"
20615 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
20618 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
20619 if test "${glibcxx_cv_SYSCTL_HW_NCPU+set}" = set; then :
20620 $as_echo_n "(cached) " >&6
20621 else
20623 if test x$gcc_no_link = xyes; then
20624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20625 /* end confdefs.h. */
20627 #include <stddef.h>
20628 #include <sys/sysctl.h>
20631 main ()
20634 int count;
20635 size_t size = sizeof(count);
20636 int mib[] = { CTL_HW, HW_NCPU };
20637 sysctl(mib, 2, &count, &size, NULL, 0);
20640 return 0;
20642 _ACEOF
20643 if ac_fn_cxx_try_compile "$LINENO"; then :
20644 glibcxx_cv_SYSCTL_HW_NCPU=yes
20645 else
20646 glibcxx_cv_SYSCTL_HW_NCPU=no
20648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20649 else
20650 if test x$gcc_no_link = xyes; then
20651 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20654 /* end confdefs.h. */
20656 #include <stddef.h>
20657 #include <sys/sysctl.h>
20660 main ()
20663 int count;
20664 size_t size = sizeof(count);
20665 int mib[] = { CTL_HW, HW_NCPU };
20666 sysctl(mib, 2, &count, &size, NULL, 0);
20669 return 0;
20671 _ACEOF
20672 if ac_fn_cxx_try_link "$LINENO"; then :
20673 glibcxx_cv_SYSCTL_HW_NCPU=yes
20674 else
20675 glibcxx_cv_SYSCTL_HW_NCPU=no
20677 rm -f core conftest.err conftest.$ac_objext \
20678 conftest$ac_exeext conftest.$ac_ext
20683 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
20685 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
20688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
20689 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
20691 CXXFLAGS="$ac_save_CXXFLAGS"
20692 ac_ext=c
20693 ac_cpp='$CPP $CPPFLAGS'
20694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suitable sys/sdt.h" >&5
20701 $as_echo_n "checking for suitable sys/sdt.h... " >&6; }
20702 # Note that this test has to be run with the C language.
20703 # Otherwise, sdt.h will try to include some headers from
20704 # libstdc++ itself.
20706 ac_ext=c
20707 ac_cpp='$CPP $CPPFLAGS'
20708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20712 if test "${glibcxx_cv_sys_sdt_h+set}" = set; then :
20713 $as_echo_n "(cached) " >&6
20714 else
20716 # Because we have to run the test in C, we use grep rather
20717 # than the compiler to check for the bug. The bug is that
20718 # were strings without trailing whitespace, causing g++
20719 # to look for operator"". The pattern searches for the fixed
20720 # output.
20721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20722 /* end confdefs.h. */
20724 #include <sys/sdt.h>
20725 int f() { STAP_PROBE(hi, bob); }
20727 _ACEOF
20728 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20729 $EGREP " \",\" " >/dev/null 2>&1; then :
20730 glibcxx_cv_sys_sdt_h=yes
20731 else
20732 glibcxx_cv_sys_sdt_h=no
20734 rm -f conftest*
20739 ac_ext=c
20740 ac_cpp='$CPP $CPPFLAGS'
20741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20745 if test $glibcxx_cv_sys_sdt_h = yes; then
20747 $as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
20750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
20751 $as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
20754 # Check for available headers.
20755 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
20756 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
20757 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
20758 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
20759 wchar.h wctype.h
20760 do :
20761 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20762 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20763 eval as_val=\$$as_ac_Header
20764 if test "x$as_val" = x""yes; then :
20765 cat >>confdefs.h <<_ACEOF
20766 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20767 _ACEOF
20771 done
20774 # Only do link tests if native. Else, hardcode.
20775 if $GLIBCXX_IS_NATIVE; then
20777 # We can do more elaborate tests that assume a working linker.
20778 CANADIAN=no
20782 # Check whether --with-gnu-ld was given.
20783 if test "${with_gnu_ld+set}" = set; then :
20784 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
20785 else
20786 with_gnu_ld=no
20789 ac_prog=ld
20790 if test "$GCC" = yes; then
20791 # Check if gcc -print-prog-name=ld gives a path.
20792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
20793 $as_echo_n "checking for ld used by $CC... " >&6; }
20794 case $host in
20795 *-*-mingw*)
20796 # gcc leaves a trailing carriage return which upsets mingw
20797 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
20799 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
20800 esac
20801 case $ac_prog in
20802 # Accept absolute paths.
20803 [\\/]* | ?:[\\/]*)
20804 re_direlt='/[^/][^/]*/\.\./'
20805 # Canonicalize the pathname of ld
20806 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
20807 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
20808 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
20809 done
20810 test -z "$LD" && LD="$ac_prog"
20813 # If it fails, then pretend we aren't using GCC.
20814 ac_prog=ld
20817 # If it is relative, then search for the first ld in PATH.
20818 with_gnu_ld=unknown
20820 esac
20821 elif test "$with_gnu_ld" = yes; then
20822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
20823 $as_echo_n "checking for GNU ld... " >&6; }
20824 else
20825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
20826 $as_echo_n "checking for non-GNU ld... " >&6; }
20828 if test "${lt_cv_path_LD+set}" = set; then :
20829 $as_echo_n "(cached) " >&6
20830 else
20831 if test -z "$LD"; then
20832 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
20833 for ac_dir in $PATH; do
20834 IFS="$lt_save_ifs"
20835 test -z "$ac_dir" && ac_dir=.
20836 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
20837 lt_cv_path_LD="$ac_dir/$ac_prog"
20838 # Check to see if the program is GNU ld. I'd rather use --version,
20839 # but apparently some variants of GNU ld only accept -v.
20840 # Break only if it was the GNU/non-GNU ld that we prefer.
20841 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
20842 *GNU* | *'with BFD'*)
20843 test "$with_gnu_ld" != no && break
20846 test "$with_gnu_ld" != yes && break
20848 esac
20850 done
20851 IFS="$lt_save_ifs"
20852 else
20853 lt_cv_path_LD="$LD" # Let the user override the test with a path.
20857 LD="$lt_cv_path_LD"
20858 if test -n "$LD"; then
20859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
20860 $as_echo "$LD" >&6; }
20861 else
20862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20863 $as_echo "no" >&6; }
20865 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
20866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
20867 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
20868 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
20869 $as_echo_n "(cached) " >&6
20870 else
20871 # I'd rather use --version here, but apparently some GNU lds only accept -v.
20872 case `$LD -v 2>&1 </dev/null` in
20873 *GNU* | *'with BFD'*)
20874 lt_cv_prog_gnu_ld=yes
20877 lt_cv_prog_gnu_ld=no
20879 esac
20881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
20882 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
20883 with_gnu_ld=$lt_cv_prog_gnu_ld
20891 # If we're not using GNU ld, then there's no point in even trying these
20892 # tests. Check for that first. We should have already tested for gld
20893 # by now (in libtool), but require it now just to be safe...
20894 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
20895 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
20899 # The name set by libtool depends on the version of libtool. Shame on us
20900 # for depending on an impl detail, but c'est la vie. Older versions used
20901 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
20902 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
20903 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
20904 # set (hence we're using an older libtool), then set it.
20905 if test x${with_gnu_ld+set} != xset; then
20906 if test x${ac_cv_prog_gnu_ld+set} != xset; then
20907 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
20908 with_gnu_ld=no
20909 else
20910 with_gnu_ld=$ac_cv_prog_gnu_ld
20914 # Start by getting the version number. I think the libtool test already
20915 # does some of this, but throws away the result.
20916 glibcxx_ld_is_gold=no
20917 if test x"$with_gnu_ld" = x"yes"; then
20918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
20919 $as_echo_n "checking for ld version... " >&6; }
20921 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
20922 glibcxx_ld_is_gold=yes
20924 ldver=`$LD --version 2>/dev/null |
20925 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'`
20927 glibcxx_gnu_ld_version=`echo $ldver | \
20928 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
20929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
20930 $as_echo "$glibcxx_gnu_ld_version" >&6; }
20933 # Set --gc-sections.
20934 glibcxx_have_gc_sections=no
20935 if test "$glibcxx_ld_is_gold" = "yes"; then
20936 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
20937 glibcxx_have_gc_sections=yes
20939 else
20940 glibcxx_gcsections_min_ld=21602
20941 if test x"$with_gnu_ld" = x"yes" &&
20942 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
20943 glibcxx_have_gc_sections=yes
20946 if test "$glibcxx_have_gc_sections" = "yes"; then
20947 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
20948 # NB: This flag only works reliably after 2.16.1. Configure tests
20949 # for this are difficult, so hard wire a value that should work.
20951 ac_test_CFLAGS="${CFLAGS+set}"
20952 ac_save_CFLAGS="$CFLAGS"
20953 CFLAGS='-Wl,--gc-sections'
20955 # Check for -Wl,--gc-sections
20956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
20957 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
20958 if test x$gcc_no_link = xyes; then
20959 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20962 /* end confdefs.h. */
20963 int one(void) { return 1; }
20964 int two(void) { return 2; }
20967 main ()
20969 two();
20971 return 0;
20973 _ACEOF
20974 if ac_fn_c_try_link "$LINENO"; then :
20975 ac_gcsections=yes
20976 else
20977 ac_gcsections=no
20979 rm -f core conftest.err conftest.$ac_objext \
20980 conftest$ac_exeext conftest.$ac_ext
20981 if test "$ac_gcsections" = "yes"; then
20982 rm -f conftest.c
20983 touch conftest.c
20984 if $CC -c conftest.c; then
20985 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
20986 grep "Warning: gc-sections option ignored" > /dev/null; then
20987 ac_gcsections=no
20990 rm -f conftest.c conftest.o conftest
20992 if test "$ac_gcsections" = "yes"; then
20993 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
20995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
20996 $as_echo "$ac_gcsections" >&6; }
20998 if test "$ac_test_CFLAGS" = set; then
20999 CFLAGS="$ac_save_CFLAGS"
21000 else
21001 # this is the suspicious part
21002 CFLAGS=''
21006 # Set -z,relro.
21007 # Note this is only for shared objects.
21008 ac_ld_relro=no
21009 if test x"$with_gnu_ld" = x"yes"; then
21010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
21011 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
21012 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
21013 if test -n "$cxx_z_relo"; then
21014 OPT_LDFLAGS="-Wl,-z,relro"
21015 ac_ld_relro=yes
21017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
21018 $as_echo "$ac_ld_relro" >&6; }
21021 # Set linker optimization flags.
21022 if test x"$with_gnu_ld" = x"yes"; then
21023 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
21030 ac_test_CXXFLAGS="${CXXFLAGS+set}"
21031 ac_save_CXXFLAGS="$CXXFLAGS"
21032 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
21034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
21035 $as_echo_n "checking for sin in -lm... " >&6; }
21036 if test "${ac_cv_lib_m_sin+set}" = set; then :
21037 $as_echo_n "(cached) " >&6
21038 else
21039 ac_check_lib_save_LIBS=$LIBS
21040 LIBS="-lm $LIBS"
21041 if test x$gcc_no_link = xyes; then
21042 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21045 /* end confdefs.h. */
21047 /* Override any GCC internal prototype to avoid an error.
21048 Use char because int might match the return type of a GCC
21049 builtin and then its argument prototype would still apply. */
21050 #ifdef __cplusplus
21051 extern "C"
21052 #endif
21053 char sin ();
21055 main ()
21057 return sin ();
21059 return 0;
21061 _ACEOF
21062 if ac_fn_c_try_link "$LINENO"; then :
21063 ac_cv_lib_m_sin=yes
21064 else
21065 ac_cv_lib_m_sin=no
21067 rm -f core conftest.err conftest.$ac_objext \
21068 conftest$ac_exeext conftest.$ac_ext
21069 LIBS=$ac_check_lib_save_LIBS
21071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
21072 $as_echo "$ac_cv_lib_m_sin" >&6; }
21073 if test "x$ac_cv_lib_m_sin" = x""yes; then :
21074 libm="-lm"
21077 ac_save_LIBS="$LIBS"
21078 LIBS="$LIBS $libm"
21082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
21083 $as_echo_n "checking for isinf declaration... " >&6; }
21084 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
21085 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
21086 $as_echo_n "(cached) " >&6
21087 else
21090 ac_ext=cpp
21091 ac_cpp='$CXXCPP $CPPFLAGS'
21092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21097 /* end confdefs.h. */
21098 #include <math.h>
21099 #ifdef HAVE_IEEEFP_H
21100 #include <ieeefp.h>
21101 #endif
21104 main ()
21106 isinf(0);
21108 return 0;
21110 _ACEOF
21111 if ac_fn_cxx_try_compile "$LINENO"; then :
21112 glibcxx_cv_func_isinf_use=yes
21113 else
21114 glibcxx_cv_func_isinf_use=no
21116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21117 ac_ext=c
21118 ac_cpp='$CPP $CPPFLAGS'
21119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
21128 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
21130 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
21131 for ac_func in isinf
21132 do :
21133 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
21134 if test "x$ac_cv_func_isinf" = x""yes; then :
21135 cat >>confdefs.h <<_ACEOF
21136 #define HAVE_ISINF 1
21137 _ACEOF
21140 done
21142 else
21144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
21145 $as_echo_n "checking for _isinf declaration... " >&6; }
21146 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
21147 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
21148 $as_echo_n "(cached) " >&6
21149 else
21152 ac_ext=cpp
21153 ac_cpp='$CXXCPP $CPPFLAGS'
21154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21159 /* end confdefs.h. */
21160 #include <math.h>
21161 #ifdef HAVE_IEEEFP_H
21162 #include <ieeefp.h>
21163 #endif
21166 main ()
21168 _isinf(0);
21170 return 0;
21172 _ACEOF
21173 if ac_fn_cxx_try_compile "$LINENO"; then :
21174 glibcxx_cv_func__isinf_use=yes
21175 else
21176 glibcxx_cv_func__isinf_use=no
21178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21179 ac_ext=c
21180 ac_cpp='$CPP $CPPFLAGS'
21181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
21190 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
21192 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
21193 for ac_func in _isinf
21194 do :
21195 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
21196 if test "x$ac_cv_func__isinf" = x""yes; then :
21197 cat >>confdefs.h <<_ACEOF
21198 #define HAVE__ISINF 1
21199 _ACEOF
21202 done
21211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
21212 $as_echo_n "checking for isnan declaration... " >&6; }
21213 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
21214 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
21215 $as_echo_n "(cached) " >&6
21216 else
21219 ac_ext=cpp
21220 ac_cpp='$CXXCPP $CPPFLAGS'
21221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21226 /* end confdefs.h. */
21227 #include <math.h>
21228 #ifdef HAVE_IEEEFP_H
21229 #include <ieeefp.h>
21230 #endif
21233 main ()
21235 isnan(0);
21237 return 0;
21239 _ACEOF
21240 if ac_fn_cxx_try_compile "$LINENO"; then :
21241 glibcxx_cv_func_isnan_use=yes
21242 else
21243 glibcxx_cv_func_isnan_use=no
21245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21246 ac_ext=c
21247 ac_cpp='$CPP $CPPFLAGS'
21248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
21257 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
21259 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
21260 for ac_func in isnan
21261 do :
21262 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
21263 if test "x$ac_cv_func_isnan" = x""yes; then :
21264 cat >>confdefs.h <<_ACEOF
21265 #define HAVE_ISNAN 1
21266 _ACEOF
21269 done
21271 else
21273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
21274 $as_echo_n "checking for _isnan declaration... " >&6; }
21275 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
21276 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
21277 $as_echo_n "(cached) " >&6
21278 else
21281 ac_ext=cpp
21282 ac_cpp='$CXXCPP $CPPFLAGS'
21283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21288 /* end confdefs.h. */
21289 #include <math.h>
21290 #ifdef HAVE_IEEEFP_H
21291 #include <ieeefp.h>
21292 #endif
21295 main ()
21297 _isnan(0);
21299 return 0;
21301 _ACEOF
21302 if ac_fn_cxx_try_compile "$LINENO"; then :
21303 glibcxx_cv_func__isnan_use=yes
21304 else
21305 glibcxx_cv_func__isnan_use=no
21307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21308 ac_ext=c
21309 ac_cpp='$CPP $CPPFLAGS'
21310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
21319 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
21321 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
21322 for ac_func in _isnan
21323 do :
21324 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
21325 if test "x$ac_cv_func__isnan" = x""yes; then :
21326 cat >>confdefs.h <<_ACEOF
21327 #define HAVE__ISNAN 1
21328 _ACEOF
21331 done
21340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
21341 $as_echo_n "checking for finite declaration... " >&6; }
21342 if test x${glibcxx_cv_func_finite_use+set} != xset; then
21343 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
21344 $as_echo_n "(cached) " >&6
21345 else
21348 ac_ext=cpp
21349 ac_cpp='$CXXCPP $CPPFLAGS'
21350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21355 /* end confdefs.h. */
21356 #include <math.h>
21357 #ifdef HAVE_IEEEFP_H
21358 #include <ieeefp.h>
21359 #endif
21362 main ()
21364 finite(0);
21366 return 0;
21368 _ACEOF
21369 if ac_fn_cxx_try_compile "$LINENO"; then :
21370 glibcxx_cv_func_finite_use=yes
21371 else
21372 glibcxx_cv_func_finite_use=no
21374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21375 ac_ext=c
21376 ac_cpp='$CPP $CPPFLAGS'
21377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
21386 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
21388 if test x$glibcxx_cv_func_finite_use = x"yes"; then
21389 for ac_func in finite
21390 do :
21391 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
21392 if test "x$ac_cv_func_finite" = x""yes; then :
21393 cat >>confdefs.h <<_ACEOF
21394 #define HAVE_FINITE 1
21395 _ACEOF
21398 done
21400 else
21402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
21403 $as_echo_n "checking for _finite declaration... " >&6; }
21404 if test x${glibcxx_cv_func__finite_use+set} != xset; then
21405 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
21406 $as_echo_n "(cached) " >&6
21407 else
21410 ac_ext=cpp
21411 ac_cpp='$CXXCPP $CPPFLAGS'
21412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21417 /* end confdefs.h. */
21418 #include <math.h>
21419 #ifdef HAVE_IEEEFP_H
21420 #include <ieeefp.h>
21421 #endif
21424 main ()
21426 _finite(0);
21428 return 0;
21430 _ACEOF
21431 if ac_fn_cxx_try_compile "$LINENO"; then :
21432 glibcxx_cv_func__finite_use=yes
21433 else
21434 glibcxx_cv_func__finite_use=no
21436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21437 ac_ext=c
21438 ac_cpp='$CPP $CPPFLAGS'
21439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
21448 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
21450 if test x$glibcxx_cv_func__finite_use = x"yes"; then
21451 for ac_func in _finite
21452 do :
21453 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
21454 if test "x$ac_cv_func__finite" = x""yes; then :
21455 cat >>confdefs.h <<_ACEOF
21456 #define HAVE__FINITE 1
21457 _ACEOF
21460 done
21469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
21470 $as_echo_n "checking for sincos declaration... " >&6; }
21471 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
21472 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
21473 $as_echo_n "(cached) " >&6
21474 else
21477 ac_ext=cpp
21478 ac_cpp='$CXXCPP $CPPFLAGS'
21479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21484 /* end confdefs.h. */
21485 #include <math.h>
21487 main ()
21489 sincos(0, 0, 0);
21491 return 0;
21493 _ACEOF
21494 if ac_fn_cxx_try_compile "$LINENO"; then :
21495 glibcxx_cv_func_sincos_use=yes
21496 else
21497 glibcxx_cv_func_sincos_use=no
21499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21500 ac_ext=c
21501 ac_cpp='$CPP $CPPFLAGS'
21502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
21511 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
21513 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
21514 for ac_func in sincos
21515 do :
21516 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
21517 if test "x$ac_cv_func_sincos" = x""yes; then :
21518 cat >>confdefs.h <<_ACEOF
21519 #define HAVE_SINCOS 1
21520 _ACEOF
21523 done
21525 else
21527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
21528 $as_echo_n "checking for _sincos declaration... " >&6; }
21529 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
21530 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
21531 $as_echo_n "(cached) " >&6
21532 else
21535 ac_ext=cpp
21536 ac_cpp='$CXXCPP $CPPFLAGS'
21537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21542 /* end confdefs.h. */
21543 #include <math.h>
21545 main ()
21547 _sincos(0, 0, 0);
21549 return 0;
21551 _ACEOF
21552 if ac_fn_cxx_try_compile "$LINENO"; then :
21553 glibcxx_cv_func__sincos_use=yes
21554 else
21555 glibcxx_cv_func__sincos_use=no
21557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21558 ac_ext=c
21559 ac_cpp='$CPP $CPPFLAGS'
21560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
21569 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
21571 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
21572 for ac_func in _sincos
21573 do :
21574 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
21575 if test "x$ac_cv_func__sincos" = x""yes; then :
21576 cat >>confdefs.h <<_ACEOF
21577 #define HAVE__SINCOS 1
21578 _ACEOF
21581 done
21590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
21591 $as_echo_n "checking for fpclass declaration... " >&6; }
21592 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
21593 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
21594 $as_echo_n "(cached) " >&6
21595 else
21598 ac_ext=cpp
21599 ac_cpp='$CXXCPP $CPPFLAGS'
21600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21605 /* end confdefs.h. */
21606 #include <math.h>
21607 #ifdef HAVE_IEEEFP_H
21608 #include <ieeefp.h>
21609 #endif
21612 main ()
21614 fpclass(0);
21616 return 0;
21618 _ACEOF
21619 if ac_fn_cxx_try_compile "$LINENO"; then :
21620 glibcxx_cv_func_fpclass_use=yes
21621 else
21622 glibcxx_cv_func_fpclass_use=no
21624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21625 ac_ext=c
21626 ac_cpp='$CPP $CPPFLAGS'
21627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
21636 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
21638 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
21639 for ac_func in fpclass
21640 do :
21641 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
21642 if test "x$ac_cv_func_fpclass" = x""yes; then :
21643 cat >>confdefs.h <<_ACEOF
21644 #define HAVE_FPCLASS 1
21645 _ACEOF
21648 done
21650 else
21652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
21653 $as_echo_n "checking for _fpclass declaration... " >&6; }
21654 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
21655 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
21656 $as_echo_n "(cached) " >&6
21657 else
21660 ac_ext=cpp
21661 ac_cpp='$CXXCPP $CPPFLAGS'
21662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21667 /* end confdefs.h. */
21668 #include <math.h>
21669 #ifdef HAVE_IEEEFP_H
21670 #include <ieeefp.h>
21671 #endif
21674 main ()
21676 _fpclass(0);
21678 return 0;
21680 _ACEOF
21681 if ac_fn_cxx_try_compile "$LINENO"; then :
21682 glibcxx_cv_func__fpclass_use=yes
21683 else
21684 glibcxx_cv_func__fpclass_use=no
21686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21687 ac_ext=c
21688 ac_cpp='$CPP $CPPFLAGS'
21689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
21698 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
21700 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
21701 for ac_func in _fpclass
21702 do :
21703 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
21704 if test "x$ac_cv_func__fpclass" = x""yes; then :
21705 cat >>confdefs.h <<_ACEOF
21706 #define HAVE__FPCLASS 1
21707 _ACEOF
21710 done
21719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
21720 $as_echo_n "checking for qfpclass declaration... " >&6; }
21721 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
21722 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
21723 $as_echo_n "(cached) " >&6
21724 else
21727 ac_ext=cpp
21728 ac_cpp='$CXXCPP $CPPFLAGS'
21729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21734 /* end confdefs.h. */
21735 #include <math.h>
21736 #ifdef HAVE_IEEEFP_H
21737 #include <ieeefp.h>
21738 #endif
21741 main ()
21743 qfpclass(0);
21745 return 0;
21747 _ACEOF
21748 if ac_fn_cxx_try_compile "$LINENO"; then :
21749 glibcxx_cv_func_qfpclass_use=yes
21750 else
21751 glibcxx_cv_func_qfpclass_use=no
21753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21754 ac_ext=c
21755 ac_cpp='$CPP $CPPFLAGS'
21756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
21765 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
21767 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
21768 for ac_func in qfpclass
21769 do :
21770 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
21771 if test "x$ac_cv_func_qfpclass" = x""yes; then :
21772 cat >>confdefs.h <<_ACEOF
21773 #define HAVE_QFPCLASS 1
21774 _ACEOF
21777 done
21779 else
21781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
21782 $as_echo_n "checking for _qfpclass declaration... " >&6; }
21783 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
21784 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
21785 $as_echo_n "(cached) " >&6
21786 else
21789 ac_ext=cpp
21790 ac_cpp='$CXXCPP $CPPFLAGS'
21791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21796 /* end confdefs.h. */
21797 #include <math.h>
21798 #ifdef HAVE_IEEEFP_H
21799 #include <ieeefp.h>
21800 #endif
21803 main ()
21805 _qfpclass(0);
21807 return 0;
21809 _ACEOF
21810 if ac_fn_cxx_try_compile "$LINENO"; then :
21811 glibcxx_cv_func__qfpclass_use=yes
21812 else
21813 glibcxx_cv_func__qfpclass_use=no
21815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21816 ac_ext=c
21817 ac_cpp='$CPP $CPPFLAGS'
21818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
21827 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
21829 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
21830 for ac_func in _qfpclass
21831 do :
21832 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
21833 if test "x$ac_cv_func__qfpclass" = x""yes; then :
21834 cat >>confdefs.h <<_ACEOF
21835 #define HAVE__QFPCLASS 1
21836 _ACEOF
21839 done
21848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
21849 $as_echo_n "checking for hypot declaration... " >&6; }
21850 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
21851 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
21852 $as_echo_n "(cached) " >&6
21853 else
21856 ac_ext=cpp
21857 ac_cpp='$CXXCPP $CPPFLAGS'
21858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21863 /* end confdefs.h. */
21864 #include <math.h>
21866 main ()
21868 hypot(0, 0);
21870 return 0;
21872 _ACEOF
21873 if ac_fn_cxx_try_compile "$LINENO"; then :
21874 glibcxx_cv_func_hypot_use=yes
21875 else
21876 glibcxx_cv_func_hypot_use=no
21878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21879 ac_ext=c
21880 ac_cpp='$CPP $CPPFLAGS'
21881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
21890 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
21892 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
21893 for ac_func in hypot
21894 do :
21895 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
21896 if test "x$ac_cv_func_hypot" = x""yes; then :
21897 cat >>confdefs.h <<_ACEOF
21898 #define HAVE_HYPOT 1
21899 _ACEOF
21902 done
21904 else
21906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
21907 $as_echo_n "checking for _hypot declaration... " >&6; }
21908 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
21909 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
21910 $as_echo_n "(cached) " >&6
21911 else
21914 ac_ext=cpp
21915 ac_cpp='$CXXCPP $CPPFLAGS'
21916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21921 /* end confdefs.h. */
21922 #include <math.h>
21924 main ()
21926 _hypot(0, 0);
21928 return 0;
21930 _ACEOF
21931 if ac_fn_cxx_try_compile "$LINENO"; then :
21932 glibcxx_cv_func__hypot_use=yes
21933 else
21934 glibcxx_cv_func__hypot_use=no
21936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21937 ac_ext=c
21938 ac_cpp='$CPP $CPPFLAGS'
21939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
21948 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
21950 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
21951 for ac_func in _hypot
21952 do :
21953 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
21954 if test "x$ac_cv_func__hypot" = x""yes; then :
21955 cat >>confdefs.h <<_ACEOF
21956 #define HAVE__HYPOT 1
21957 _ACEOF
21960 done
21969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
21970 $as_echo_n "checking for float trig functions... " >&6; }
21971 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
21972 $as_echo_n "(cached) " >&6
21973 else
21976 ac_ext=cpp
21977 ac_cpp='$CXXCPP $CPPFLAGS'
21978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21983 /* end confdefs.h. */
21984 #include <math.h>
21986 main ()
21988 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
21990 return 0;
21992 _ACEOF
21993 if ac_fn_cxx_try_compile "$LINENO"; then :
21994 glibcxx_cv_func_float_trig_use=yes
21995 else
21996 glibcxx_cv_func_float_trig_use=no
21998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21999 ac_ext=c
22000 ac_cpp='$CPP $CPPFLAGS'
22001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
22008 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
22009 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
22010 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
22011 do :
22012 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22013 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22014 eval as_val=\$$as_ac_var
22015 if test "x$as_val" = x""yes; then :
22016 cat >>confdefs.h <<_ACEOF
22017 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22018 _ACEOF
22021 done
22023 else
22024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
22025 $as_echo_n "checking for _float trig functions... " >&6; }
22026 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
22027 $as_echo_n "(cached) " >&6
22028 else
22031 ac_ext=cpp
22032 ac_cpp='$CXXCPP $CPPFLAGS'
22033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22038 /* end confdefs.h. */
22039 #include <math.h>
22041 main ()
22043 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
22045 return 0;
22047 _ACEOF
22048 if ac_fn_cxx_try_compile "$LINENO"; then :
22049 glibcxx_cv_func__float_trig_use=yes
22050 else
22051 glibcxx_cv_func__float_trig_use=no
22053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22054 ac_ext=c
22055 ac_cpp='$CPP $CPPFLAGS'
22056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
22063 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
22064 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
22065 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
22066 do :
22067 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22068 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22069 eval as_val=\$$as_ac_var
22070 if test "x$as_val" = x""yes; then :
22071 cat >>confdefs.h <<_ACEOF
22072 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22073 _ACEOF
22076 done
22085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
22086 $as_echo_n "checking for float round functions... " >&6; }
22087 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
22088 $as_echo_n "(cached) " >&6
22089 else
22092 ac_ext=cpp
22093 ac_cpp='$CXXCPP $CPPFLAGS'
22094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22099 /* end confdefs.h. */
22100 #include <math.h>
22102 main ()
22104 ceilf (0); floorf (0);
22106 return 0;
22108 _ACEOF
22109 if ac_fn_cxx_try_compile "$LINENO"; then :
22110 glibcxx_cv_func_float_round_use=yes
22111 else
22112 glibcxx_cv_func_float_round_use=no
22114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22115 ac_ext=c
22116 ac_cpp='$CPP $CPPFLAGS'
22117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
22124 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
22125 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
22126 for ac_func in ceilf floorf
22127 do :
22128 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22129 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22130 eval as_val=\$$as_ac_var
22131 if test "x$as_val" = x""yes; then :
22132 cat >>confdefs.h <<_ACEOF
22133 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22134 _ACEOF
22137 done
22139 else
22140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
22141 $as_echo_n "checking for _float round functions... " >&6; }
22142 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
22143 $as_echo_n "(cached) " >&6
22144 else
22147 ac_ext=cpp
22148 ac_cpp='$CXXCPP $CPPFLAGS'
22149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22154 /* end confdefs.h. */
22155 #include <math.h>
22157 main ()
22159 _ceilf (0); _floorf (0);
22161 return 0;
22163 _ACEOF
22164 if ac_fn_cxx_try_compile "$LINENO"; then :
22165 glibcxx_cv_func__float_round_use=yes
22166 else
22167 glibcxx_cv_func__float_round_use=no
22169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22170 ac_ext=c
22171 ac_cpp='$CPP $CPPFLAGS'
22172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
22179 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
22180 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
22181 for ac_func in _ceilf _floorf
22182 do :
22183 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22184 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22185 eval as_val=\$$as_ac_var
22186 if test "x$as_val" = x""yes; then :
22187 cat >>confdefs.h <<_ACEOF
22188 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22189 _ACEOF
22192 done
22202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
22203 $as_echo_n "checking for expf declaration... " >&6; }
22204 if test x${glibcxx_cv_func_expf_use+set} != xset; then
22205 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
22206 $as_echo_n "(cached) " >&6
22207 else
22210 ac_ext=cpp
22211 ac_cpp='$CXXCPP $CPPFLAGS'
22212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22217 /* end confdefs.h. */
22218 #include <math.h>
22219 #ifdef HAVE_IEEEFP_H
22220 #include <ieeefp.h>
22221 #endif
22224 main ()
22226 expf(0);
22228 return 0;
22230 _ACEOF
22231 if ac_fn_cxx_try_compile "$LINENO"; then :
22232 glibcxx_cv_func_expf_use=yes
22233 else
22234 glibcxx_cv_func_expf_use=no
22236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22237 ac_ext=c
22238 ac_cpp='$CPP $CPPFLAGS'
22239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
22248 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
22250 if test x$glibcxx_cv_func_expf_use = x"yes"; then
22251 for ac_func in expf
22252 do :
22253 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
22254 if test "x$ac_cv_func_expf" = x""yes; then :
22255 cat >>confdefs.h <<_ACEOF
22256 #define HAVE_EXPF 1
22257 _ACEOF
22260 done
22262 else
22264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
22265 $as_echo_n "checking for _expf declaration... " >&6; }
22266 if test x${glibcxx_cv_func__expf_use+set} != xset; then
22267 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
22268 $as_echo_n "(cached) " >&6
22269 else
22272 ac_ext=cpp
22273 ac_cpp='$CXXCPP $CPPFLAGS'
22274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22279 /* end confdefs.h. */
22280 #include <math.h>
22281 #ifdef HAVE_IEEEFP_H
22282 #include <ieeefp.h>
22283 #endif
22286 main ()
22288 _expf(0);
22290 return 0;
22292 _ACEOF
22293 if ac_fn_cxx_try_compile "$LINENO"; then :
22294 glibcxx_cv_func__expf_use=yes
22295 else
22296 glibcxx_cv_func__expf_use=no
22298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22299 ac_ext=c
22300 ac_cpp='$CPP $CPPFLAGS'
22301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
22310 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
22312 if test x$glibcxx_cv_func__expf_use = x"yes"; then
22313 for ac_func in _expf
22314 do :
22315 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
22316 if test "x$ac_cv_func__expf" = x""yes; then :
22317 cat >>confdefs.h <<_ACEOF
22318 #define HAVE__EXPF 1
22319 _ACEOF
22322 done
22331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
22332 $as_echo_n "checking for isnanf declaration... " >&6; }
22333 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
22334 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
22335 $as_echo_n "(cached) " >&6
22336 else
22339 ac_ext=cpp
22340 ac_cpp='$CXXCPP $CPPFLAGS'
22341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22346 /* end confdefs.h. */
22347 #include <math.h>
22348 #ifdef HAVE_IEEEFP_H
22349 #include <ieeefp.h>
22350 #endif
22353 main ()
22355 isnanf(0);
22357 return 0;
22359 _ACEOF
22360 if ac_fn_cxx_try_compile "$LINENO"; then :
22361 glibcxx_cv_func_isnanf_use=yes
22362 else
22363 glibcxx_cv_func_isnanf_use=no
22365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22366 ac_ext=c
22367 ac_cpp='$CPP $CPPFLAGS'
22368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
22377 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
22379 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
22380 for ac_func in isnanf
22381 do :
22382 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
22383 if test "x$ac_cv_func_isnanf" = x""yes; then :
22384 cat >>confdefs.h <<_ACEOF
22385 #define HAVE_ISNANF 1
22386 _ACEOF
22389 done
22391 else
22393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
22394 $as_echo_n "checking for _isnanf declaration... " >&6; }
22395 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
22396 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
22397 $as_echo_n "(cached) " >&6
22398 else
22401 ac_ext=cpp
22402 ac_cpp='$CXXCPP $CPPFLAGS'
22403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22408 /* end confdefs.h. */
22409 #include <math.h>
22410 #ifdef HAVE_IEEEFP_H
22411 #include <ieeefp.h>
22412 #endif
22415 main ()
22417 _isnanf(0);
22419 return 0;
22421 _ACEOF
22422 if ac_fn_cxx_try_compile "$LINENO"; then :
22423 glibcxx_cv_func__isnanf_use=yes
22424 else
22425 glibcxx_cv_func__isnanf_use=no
22427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22428 ac_ext=c
22429 ac_cpp='$CPP $CPPFLAGS'
22430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
22439 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
22441 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
22442 for ac_func in _isnanf
22443 do :
22444 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
22445 if test "x$ac_cv_func__isnanf" = x""yes; then :
22446 cat >>confdefs.h <<_ACEOF
22447 #define HAVE__ISNANF 1
22448 _ACEOF
22451 done
22460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
22461 $as_echo_n "checking for isinff declaration... " >&6; }
22462 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
22463 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
22464 $as_echo_n "(cached) " >&6
22465 else
22468 ac_ext=cpp
22469 ac_cpp='$CXXCPP $CPPFLAGS'
22470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22475 /* end confdefs.h. */
22476 #include <math.h>
22477 #ifdef HAVE_IEEEFP_H
22478 #include <ieeefp.h>
22479 #endif
22482 main ()
22484 isinff(0);
22486 return 0;
22488 _ACEOF
22489 if ac_fn_cxx_try_compile "$LINENO"; then :
22490 glibcxx_cv_func_isinff_use=yes
22491 else
22492 glibcxx_cv_func_isinff_use=no
22494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22495 ac_ext=c
22496 ac_cpp='$CPP $CPPFLAGS'
22497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
22506 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
22508 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
22509 for ac_func in isinff
22510 do :
22511 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
22512 if test "x$ac_cv_func_isinff" = x""yes; then :
22513 cat >>confdefs.h <<_ACEOF
22514 #define HAVE_ISINFF 1
22515 _ACEOF
22518 done
22520 else
22522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
22523 $as_echo_n "checking for _isinff declaration... " >&6; }
22524 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
22525 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
22526 $as_echo_n "(cached) " >&6
22527 else
22530 ac_ext=cpp
22531 ac_cpp='$CXXCPP $CPPFLAGS'
22532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22537 /* end confdefs.h. */
22538 #include <math.h>
22539 #ifdef HAVE_IEEEFP_H
22540 #include <ieeefp.h>
22541 #endif
22544 main ()
22546 _isinff(0);
22548 return 0;
22550 _ACEOF
22551 if ac_fn_cxx_try_compile "$LINENO"; then :
22552 glibcxx_cv_func__isinff_use=yes
22553 else
22554 glibcxx_cv_func__isinff_use=no
22556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22557 ac_ext=c
22558 ac_cpp='$CPP $CPPFLAGS'
22559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
22568 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
22570 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
22571 for ac_func in _isinff
22572 do :
22573 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
22574 if test "x$ac_cv_func__isinff" = x""yes; then :
22575 cat >>confdefs.h <<_ACEOF
22576 #define HAVE__ISINFF 1
22577 _ACEOF
22580 done
22589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
22590 $as_echo_n "checking for atan2f declaration... " >&6; }
22591 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
22592 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
22593 $as_echo_n "(cached) " >&6
22594 else
22597 ac_ext=cpp
22598 ac_cpp='$CXXCPP $CPPFLAGS'
22599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22604 /* end confdefs.h. */
22605 #include <math.h>
22607 main ()
22609 atan2f(0, 0);
22611 return 0;
22613 _ACEOF
22614 if ac_fn_cxx_try_compile "$LINENO"; then :
22615 glibcxx_cv_func_atan2f_use=yes
22616 else
22617 glibcxx_cv_func_atan2f_use=no
22619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22620 ac_ext=c
22621 ac_cpp='$CPP $CPPFLAGS'
22622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
22631 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
22633 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
22634 for ac_func in atan2f
22635 do :
22636 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
22637 if test "x$ac_cv_func_atan2f" = x""yes; then :
22638 cat >>confdefs.h <<_ACEOF
22639 #define HAVE_ATAN2F 1
22640 _ACEOF
22643 done
22645 else
22647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
22648 $as_echo_n "checking for _atan2f declaration... " >&6; }
22649 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
22650 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
22651 $as_echo_n "(cached) " >&6
22652 else
22655 ac_ext=cpp
22656 ac_cpp='$CXXCPP $CPPFLAGS'
22657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22662 /* end confdefs.h. */
22663 #include <math.h>
22665 main ()
22667 _atan2f(0, 0);
22669 return 0;
22671 _ACEOF
22672 if ac_fn_cxx_try_compile "$LINENO"; then :
22673 glibcxx_cv_func__atan2f_use=yes
22674 else
22675 glibcxx_cv_func__atan2f_use=no
22677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22678 ac_ext=c
22679 ac_cpp='$CPP $CPPFLAGS'
22680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
22689 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
22691 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
22692 for ac_func in _atan2f
22693 do :
22694 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
22695 if test "x$ac_cv_func__atan2f" = x""yes; then :
22696 cat >>confdefs.h <<_ACEOF
22697 #define HAVE__ATAN2F 1
22698 _ACEOF
22701 done
22710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
22711 $as_echo_n "checking for fabsf declaration... " >&6; }
22712 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
22713 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
22714 $as_echo_n "(cached) " >&6
22715 else
22718 ac_ext=cpp
22719 ac_cpp='$CXXCPP $CPPFLAGS'
22720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22725 /* end confdefs.h. */
22726 #include <math.h>
22727 #ifdef HAVE_IEEEFP_H
22728 #include <ieeefp.h>
22729 #endif
22732 main ()
22734 fabsf(0);
22736 return 0;
22738 _ACEOF
22739 if ac_fn_cxx_try_compile "$LINENO"; then :
22740 glibcxx_cv_func_fabsf_use=yes
22741 else
22742 glibcxx_cv_func_fabsf_use=no
22744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22745 ac_ext=c
22746 ac_cpp='$CPP $CPPFLAGS'
22747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
22756 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
22758 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
22759 for ac_func in fabsf
22760 do :
22761 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
22762 if test "x$ac_cv_func_fabsf" = x""yes; then :
22763 cat >>confdefs.h <<_ACEOF
22764 #define HAVE_FABSF 1
22765 _ACEOF
22768 done
22770 else
22772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
22773 $as_echo_n "checking for _fabsf declaration... " >&6; }
22774 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
22775 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
22776 $as_echo_n "(cached) " >&6
22777 else
22780 ac_ext=cpp
22781 ac_cpp='$CXXCPP $CPPFLAGS'
22782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22787 /* end confdefs.h. */
22788 #include <math.h>
22789 #ifdef HAVE_IEEEFP_H
22790 #include <ieeefp.h>
22791 #endif
22794 main ()
22796 _fabsf(0);
22798 return 0;
22800 _ACEOF
22801 if ac_fn_cxx_try_compile "$LINENO"; then :
22802 glibcxx_cv_func__fabsf_use=yes
22803 else
22804 glibcxx_cv_func__fabsf_use=no
22806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22807 ac_ext=c
22808 ac_cpp='$CPP $CPPFLAGS'
22809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
22818 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
22820 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
22821 for ac_func in _fabsf
22822 do :
22823 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
22824 if test "x$ac_cv_func__fabsf" = x""yes; then :
22825 cat >>confdefs.h <<_ACEOF
22826 #define HAVE__FABSF 1
22827 _ACEOF
22830 done
22839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
22840 $as_echo_n "checking for fmodf declaration... " >&6; }
22841 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
22842 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
22843 $as_echo_n "(cached) " >&6
22844 else
22847 ac_ext=cpp
22848 ac_cpp='$CXXCPP $CPPFLAGS'
22849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22854 /* end confdefs.h. */
22855 #include <math.h>
22857 main ()
22859 fmodf(0, 0);
22861 return 0;
22863 _ACEOF
22864 if ac_fn_cxx_try_compile "$LINENO"; then :
22865 glibcxx_cv_func_fmodf_use=yes
22866 else
22867 glibcxx_cv_func_fmodf_use=no
22869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22870 ac_ext=c
22871 ac_cpp='$CPP $CPPFLAGS'
22872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
22881 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
22883 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
22884 for ac_func in fmodf
22885 do :
22886 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
22887 if test "x$ac_cv_func_fmodf" = x""yes; then :
22888 cat >>confdefs.h <<_ACEOF
22889 #define HAVE_FMODF 1
22890 _ACEOF
22893 done
22895 else
22897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
22898 $as_echo_n "checking for _fmodf declaration... " >&6; }
22899 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
22900 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
22901 $as_echo_n "(cached) " >&6
22902 else
22905 ac_ext=cpp
22906 ac_cpp='$CXXCPP $CPPFLAGS'
22907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22912 /* end confdefs.h. */
22913 #include <math.h>
22915 main ()
22917 _fmodf(0, 0);
22919 return 0;
22921 _ACEOF
22922 if ac_fn_cxx_try_compile "$LINENO"; then :
22923 glibcxx_cv_func__fmodf_use=yes
22924 else
22925 glibcxx_cv_func__fmodf_use=no
22927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22928 ac_ext=c
22929 ac_cpp='$CPP $CPPFLAGS'
22930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
22939 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
22941 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
22942 for ac_func in _fmodf
22943 do :
22944 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
22945 if test "x$ac_cv_func__fmodf" = x""yes; then :
22946 cat >>confdefs.h <<_ACEOF
22947 #define HAVE__FMODF 1
22948 _ACEOF
22951 done
22960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
22961 $as_echo_n "checking for frexpf declaration... " >&6; }
22962 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
22963 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
22964 $as_echo_n "(cached) " >&6
22965 else
22968 ac_ext=cpp
22969 ac_cpp='$CXXCPP $CPPFLAGS'
22970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22975 /* end confdefs.h. */
22976 #include <math.h>
22978 main ()
22980 frexpf(0, 0);
22982 return 0;
22984 _ACEOF
22985 if ac_fn_cxx_try_compile "$LINENO"; then :
22986 glibcxx_cv_func_frexpf_use=yes
22987 else
22988 glibcxx_cv_func_frexpf_use=no
22990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22991 ac_ext=c
22992 ac_cpp='$CPP $CPPFLAGS'
22993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
23002 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
23004 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
23005 for ac_func in frexpf
23006 do :
23007 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
23008 if test "x$ac_cv_func_frexpf" = x""yes; then :
23009 cat >>confdefs.h <<_ACEOF
23010 #define HAVE_FREXPF 1
23011 _ACEOF
23014 done
23016 else
23018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
23019 $as_echo_n "checking for _frexpf declaration... " >&6; }
23020 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
23021 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
23022 $as_echo_n "(cached) " >&6
23023 else
23026 ac_ext=cpp
23027 ac_cpp='$CXXCPP $CPPFLAGS'
23028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23033 /* end confdefs.h. */
23034 #include <math.h>
23036 main ()
23038 _frexpf(0, 0);
23040 return 0;
23042 _ACEOF
23043 if ac_fn_cxx_try_compile "$LINENO"; then :
23044 glibcxx_cv_func__frexpf_use=yes
23045 else
23046 glibcxx_cv_func__frexpf_use=no
23048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23049 ac_ext=c
23050 ac_cpp='$CPP $CPPFLAGS'
23051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
23060 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
23062 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
23063 for ac_func in _frexpf
23064 do :
23065 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
23066 if test "x$ac_cv_func__frexpf" = x""yes; then :
23067 cat >>confdefs.h <<_ACEOF
23068 #define HAVE__FREXPF 1
23069 _ACEOF
23072 done
23081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
23082 $as_echo_n "checking for hypotf declaration... " >&6; }
23083 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
23084 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
23085 $as_echo_n "(cached) " >&6
23086 else
23089 ac_ext=cpp
23090 ac_cpp='$CXXCPP $CPPFLAGS'
23091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23096 /* end confdefs.h. */
23097 #include <math.h>
23099 main ()
23101 hypotf(0, 0);
23103 return 0;
23105 _ACEOF
23106 if ac_fn_cxx_try_compile "$LINENO"; then :
23107 glibcxx_cv_func_hypotf_use=yes
23108 else
23109 glibcxx_cv_func_hypotf_use=no
23111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23112 ac_ext=c
23113 ac_cpp='$CPP $CPPFLAGS'
23114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
23123 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
23125 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
23126 for ac_func in hypotf
23127 do :
23128 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
23129 if test "x$ac_cv_func_hypotf" = x""yes; then :
23130 cat >>confdefs.h <<_ACEOF
23131 #define HAVE_HYPOTF 1
23132 _ACEOF
23135 done
23137 else
23139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
23140 $as_echo_n "checking for _hypotf declaration... " >&6; }
23141 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
23142 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
23143 $as_echo_n "(cached) " >&6
23144 else
23147 ac_ext=cpp
23148 ac_cpp='$CXXCPP $CPPFLAGS'
23149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23154 /* end confdefs.h. */
23155 #include <math.h>
23157 main ()
23159 _hypotf(0, 0);
23161 return 0;
23163 _ACEOF
23164 if ac_fn_cxx_try_compile "$LINENO"; then :
23165 glibcxx_cv_func__hypotf_use=yes
23166 else
23167 glibcxx_cv_func__hypotf_use=no
23169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23170 ac_ext=c
23171 ac_cpp='$CPP $CPPFLAGS'
23172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
23181 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
23183 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
23184 for ac_func in _hypotf
23185 do :
23186 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
23187 if test "x$ac_cv_func__hypotf" = x""yes; then :
23188 cat >>confdefs.h <<_ACEOF
23189 #define HAVE__HYPOTF 1
23190 _ACEOF
23193 done
23202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
23203 $as_echo_n "checking for ldexpf declaration... " >&6; }
23204 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
23205 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
23206 $as_echo_n "(cached) " >&6
23207 else
23210 ac_ext=cpp
23211 ac_cpp='$CXXCPP $CPPFLAGS'
23212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23217 /* end confdefs.h. */
23218 #include <math.h>
23220 main ()
23222 ldexpf(0, 0);
23224 return 0;
23226 _ACEOF
23227 if ac_fn_cxx_try_compile "$LINENO"; then :
23228 glibcxx_cv_func_ldexpf_use=yes
23229 else
23230 glibcxx_cv_func_ldexpf_use=no
23232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23233 ac_ext=c
23234 ac_cpp='$CPP $CPPFLAGS'
23235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
23244 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
23246 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
23247 for ac_func in ldexpf
23248 do :
23249 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
23250 if test "x$ac_cv_func_ldexpf" = x""yes; then :
23251 cat >>confdefs.h <<_ACEOF
23252 #define HAVE_LDEXPF 1
23253 _ACEOF
23256 done
23258 else
23260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
23261 $as_echo_n "checking for _ldexpf declaration... " >&6; }
23262 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
23263 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
23264 $as_echo_n "(cached) " >&6
23265 else
23268 ac_ext=cpp
23269 ac_cpp='$CXXCPP $CPPFLAGS'
23270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23275 /* end confdefs.h. */
23276 #include <math.h>
23278 main ()
23280 _ldexpf(0, 0);
23282 return 0;
23284 _ACEOF
23285 if ac_fn_cxx_try_compile "$LINENO"; then :
23286 glibcxx_cv_func__ldexpf_use=yes
23287 else
23288 glibcxx_cv_func__ldexpf_use=no
23290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23291 ac_ext=c
23292 ac_cpp='$CPP $CPPFLAGS'
23293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
23302 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
23304 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
23305 for ac_func in _ldexpf
23306 do :
23307 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
23308 if test "x$ac_cv_func__ldexpf" = x""yes; then :
23309 cat >>confdefs.h <<_ACEOF
23310 #define HAVE__LDEXPF 1
23311 _ACEOF
23314 done
23323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
23324 $as_echo_n "checking for logf declaration... " >&6; }
23325 if test x${glibcxx_cv_func_logf_use+set} != xset; then
23326 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
23327 $as_echo_n "(cached) " >&6
23328 else
23331 ac_ext=cpp
23332 ac_cpp='$CXXCPP $CPPFLAGS'
23333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23338 /* end confdefs.h. */
23339 #include <math.h>
23340 #ifdef HAVE_IEEEFP_H
23341 #include <ieeefp.h>
23342 #endif
23345 main ()
23347 logf(0);
23349 return 0;
23351 _ACEOF
23352 if ac_fn_cxx_try_compile "$LINENO"; then :
23353 glibcxx_cv_func_logf_use=yes
23354 else
23355 glibcxx_cv_func_logf_use=no
23357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23358 ac_ext=c
23359 ac_cpp='$CPP $CPPFLAGS'
23360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
23369 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
23371 if test x$glibcxx_cv_func_logf_use = x"yes"; then
23372 for ac_func in logf
23373 do :
23374 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
23375 if test "x$ac_cv_func_logf" = x""yes; then :
23376 cat >>confdefs.h <<_ACEOF
23377 #define HAVE_LOGF 1
23378 _ACEOF
23381 done
23383 else
23385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
23386 $as_echo_n "checking for _logf declaration... " >&6; }
23387 if test x${glibcxx_cv_func__logf_use+set} != xset; then
23388 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
23389 $as_echo_n "(cached) " >&6
23390 else
23393 ac_ext=cpp
23394 ac_cpp='$CXXCPP $CPPFLAGS'
23395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23400 /* end confdefs.h. */
23401 #include <math.h>
23402 #ifdef HAVE_IEEEFP_H
23403 #include <ieeefp.h>
23404 #endif
23407 main ()
23409 _logf(0);
23411 return 0;
23413 _ACEOF
23414 if ac_fn_cxx_try_compile "$LINENO"; then :
23415 glibcxx_cv_func__logf_use=yes
23416 else
23417 glibcxx_cv_func__logf_use=no
23419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23420 ac_ext=c
23421 ac_cpp='$CPP $CPPFLAGS'
23422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
23431 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
23433 if test x$glibcxx_cv_func__logf_use = x"yes"; then
23434 for ac_func in _logf
23435 do :
23436 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
23437 if test "x$ac_cv_func__logf" = x""yes; then :
23438 cat >>confdefs.h <<_ACEOF
23439 #define HAVE__LOGF 1
23440 _ACEOF
23443 done
23452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
23453 $as_echo_n "checking for log10f declaration... " >&6; }
23454 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
23455 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
23456 $as_echo_n "(cached) " >&6
23457 else
23460 ac_ext=cpp
23461 ac_cpp='$CXXCPP $CPPFLAGS'
23462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23467 /* end confdefs.h. */
23468 #include <math.h>
23469 #ifdef HAVE_IEEEFP_H
23470 #include <ieeefp.h>
23471 #endif
23474 main ()
23476 log10f(0);
23478 return 0;
23480 _ACEOF
23481 if ac_fn_cxx_try_compile "$LINENO"; then :
23482 glibcxx_cv_func_log10f_use=yes
23483 else
23484 glibcxx_cv_func_log10f_use=no
23486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23487 ac_ext=c
23488 ac_cpp='$CPP $CPPFLAGS'
23489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
23498 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
23500 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
23501 for ac_func in log10f
23502 do :
23503 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
23504 if test "x$ac_cv_func_log10f" = x""yes; then :
23505 cat >>confdefs.h <<_ACEOF
23506 #define HAVE_LOG10F 1
23507 _ACEOF
23510 done
23512 else
23514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
23515 $as_echo_n "checking for _log10f declaration... " >&6; }
23516 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
23517 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
23518 $as_echo_n "(cached) " >&6
23519 else
23522 ac_ext=cpp
23523 ac_cpp='$CXXCPP $CPPFLAGS'
23524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23529 /* end confdefs.h. */
23530 #include <math.h>
23531 #ifdef HAVE_IEEEFP_H
23532 #include <ieeefp.h>
23533 #endif
23536 main ()
23538 _log10f(0);
23540 return 0;
23542 _ACEOF
23543 if ac_fn_cxx_try_compile "$LINENO"; then :
23544 glibcxx_cv_func__log10f_use=yes
23545 else
23546 glibcxx_cv_func__log10f_use=no
23548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23549 ac_ext=c
23550 ac_cpp='$CPP $CPPFLAGS'
23551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
23560 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
23562 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
23563 for ac_func in _log10f
23564 do :
23565 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
23566 if test "x$ac_cv_func__log10f" = x""yes; then :
23567 cat >>confdefs.h <<_ACEOF
23568 #define HAVE__LOG10F 1
23569 _ACEOF
23572 done
23581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
23582 $as_echo_n "checking for modff declaration... " >&6; }
23583 if test x${glibcxx_cv_func_modff_use+set} != xset; then
23584 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
23585 $as_echo_n "(cached) " >&6
23586 else
23589 ac_ext=cpp
23590 ac_cpp='$CXXCPP $CPPFLAGS'
23591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23596 /* end confdefs.h. */
23597 #include <math.h>
23599 main ()
23601 modff(0, 0);
23603 return 0;
23605 _ACEOF
23606 if ac_fn_cxx_try_compile "$LINENO"; then :
23607 glibcxx_cv_func_modff_use=yes
23608 else
23609 glibcxx_cv_func_modff_use=no
23611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23612 ac_ext=c
23613 ac_cpp='$CPP $CPPFLAGS'
23614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
23623 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
23625 if test x$glibcxx_cv_func_modff_use = x"yes"; then
23626 for ac_func in modff
23627 do :
23628 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
23629 if test "x$ac_cv_func_modff" = x""yes; then :
23630 cat >>confdefs.h <<_ACEOF
23631 #define HAVE_MODFF 1
23632 _ACEOF
23635 done
23637 else
23639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
23640 $as_echo_n "checking for _modff declaration... " >&6; }
23641 if test x${glibcxx_cv_func__modff_use+set} != xset; then
23642 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
23643 $as_echo_n "(cached) " >&6
23644 else
23647 ac_ext=cpp
23648 ac_cpp='$CXXCPP $CPPFLAGS'
23649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23654 /* end confdefs.h. */
23655 #include <math.h>
23657 main ()
23659 _modff(0, 0);
23661 return 0;
23663 _ACEOF
23664 if ac_fn_cxx_try_compile "$LINENO"; then :
23665 glibcxx_cv_func__modff_use=yes
23666 else
23667 glibcxx_cv_func__modff_use=no
23669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23670 ac_ext=c
23671 ac_cpp='$CPP $CPPFLAGS'
23672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
23681 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
23683 if test x$glibcxx_cv_func__modff_use = x"yes"; then
23684 for ac_func in _modff
23685 do :
23686 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
23687 if test "x$ac_cv_func__modff" = x""yes; then :
23688 cat >>confdefs.h <<_ACEOF
23689 #define HAVE__MODFF 1
23690 _ACEOF
23693 done
23702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
23703 $as_echo_n "checking for modf declaration... " >&6; }
23704 if test x${glibcxx_cv_func_modf_use+set} != xset; then
23705 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
23706 $as_echo_n "(cached) " >&6
23707 else
23710 ac_ext=cpp
23711 ac_cpp='$CXXCPP $CPPFLAGS'
23712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23717 /* end confdefs.h. */
23718 #include <math.h>
23720 main ()
23722 modf(0, 0);
23724 return 0;
23726 _ACEOF
23727 if ac_fn_cxx_try_compile "$LINENO"; then :
23728 glibcxx_cv_func_modf_use=yes
23729 else
23730 glibcxx_cv_func_modf_use=no
23732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23733 ac_ext=c
23734 ac_cpp='$CPP $CPPFLAGS'
23735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
23744 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
23746 if test x$glibcxx_cv_func_modf_use = x"yes"; then
23747 for ac_func in modf
23748 do :
23749 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
23750 if test "x$ac_cv_func_modf" = x""yes; then :
23751 cat >>confdefs.h <<_ACEOF
23752 #define HAVE_MODF 1
23753 _ACEOF
23756 done
23758 else
23760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
23761 $as_echo_n "checking for _modf declaration... " >&6; }
23762 if test x${glibcxx_cv_func__modf_use+set} != xset; then
23763 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
23764 $as_echo_n "(cached) " >&6
23765 else
23768 ac_ext=cpp
23769 ac_cpp='$CXXCPP $CPPFLAGS'
23770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23775 /* end confdefs.h. */
23776 #include <math.h>
23778 main ()
23780 _modf(0, 0);
23782 return 0;
23784 _ACEOF
23785 if ac_fn_cxx_try_compile "$LINENO"; then :
23786 glibcxx_cv_func__modf_use=yes
23787 else
23788 glibcxx_cv_func__modf_use=no
23790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23791 ac_ext=c
23792 ac_cpp='$CPP $CPPFLAGS'
23793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
23802 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
23804 if test x$glibcxx_cv_func__modf_use = x"yes"; then
23805 for ac_func in _modf
23806 do :
23807 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
23808 if test "x$ac_cv_func__modf" = x""yes; then :
23809 cat >>confdefs.h <<_ACEOF
23810 #define HAVE__MODF 1
23811 _ACEOF
23814 done
23823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
23824 $as_echo_n "checking for powf declaration... " >&6; }
23825 if test x${glibcxx_cv_func_powf_use+set} != xset; then
23826 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
23827 $as_echo_n "(cached) " >&6
23828 else
23831 ac_ext=cpp
23832 ac_cpp='$CXXCPP $CPPFLAGS'
23833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23838 /* end confdefs.h. */
23839 #include <math.h>
23841 main ()
23843 powf(0, 0);
23845 return 0;
23847 _ACEOF
23848 if ac_fn_cxx_try_compile "$LINENO"; then :
23849 glibcxx_cv_func_powf_use=yes
23850 else
23851 glibcxx_cv_func_powf_use=no
23853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23854 ac_ext=c
23855 ac_cpp='$CPP $CPPFLAGS'
23856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
23865 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
23867 if test x$glibcxx_cv_func_powf_use = x"yes"; then
23868 for ac_func in powf
23869 do :
23870 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
23871 if test "x$ac_cv_func_powf" = x""yes; then :
23872 cat >>confdefs.h <<_ACEOF
23873 #define HAVE_POWF 1
23874 _ACEOF
23877 done
23879 else
23881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
23882 $as_echo_n "checking for _powf declaration... " >&6; }
23883 if test x${glibcxx_cv_func__powf_use+set} != xset; then
23884 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
23885 $as_echo_n "(cached) " >&6
23886 else
23889 ac_ext=cpp
23890 ac_cpp='$CXXCPP $CPPFLAGS'
23891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23896 /* end confdefs.h. */
23897 #include <math.h>
23899 main ()
23901 _powf(0, 0);
23903 return 0;
23905 _ACEOF
23906 if ac_fn_cxx_try_compile "$LINENO"; then :
23907 glibcxx_cv_func__powf_use=yes
23908 else
23909 glibcxx_cv_func__powf_use=no
23911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23912 ac_ext=c
23913 ac_cpp='$CPP $CPPFLAGS'
23914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
23923 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
23925 if test x$glibcxx_cv_func__powf_use = x"yes"; then
23926 for ac_func in _powf
23927 do :
23928 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
23929 if test "x$ac_cv_func__powf" = x""yes; then :
23930 cat >>confdefs.h <<_ACEOF
23931 #define HAVE__POWF 1
23932 _ACEOF
23935 done
23944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
23945 $as_echo_n "checking for sqrtf declaration... " >&6; }
23946 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
23947 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
23948 $as_echo_n "(cached) " >&6
23949 else
23952 ac_ext=cpp
23953 ac_cpp='$CXXCPP $CPPFLAGS'
23954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23959 /* end confdefs.h. */
23960 #include <math.h>
23961 #ifdef HAVE_IEEEFP_H
23962 #include <ieeefp.h>
23963 #endif
23966 main ()
23968 sqrtf(0);
23970 return 0;
23972 _ACEOF
23973 if ac_fn_cxx_try_compile "$LINENO"; then :
23974 glibcxx_cv_func_sqrtf_use=yes
23975 else
23976 glibcxx_cv_func_sqrtf_use=no
23978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23979 ac_ext=c
23980 ac_cpp='$CPP $CPPFLAGS'
23981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
23990 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
23992 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
23993 for ac_func in sqrtf
23994 do :
23995 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
23996 if test "x$ac_cv_func_sqrtf" = x""yes; then :
23997 cat >>confdefs.h <<_ACEOF
23998 #define HAVE_SQRTF 1
23999 _ACEOF
24002 done
24004 else
24006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
24007 $as_echo_n "checking for _sqrtf declaration... " >&6; }
24008 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
24009 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
24010 $as_echo_n "(cached) " >&6
24011 else
24014 ac_ext=cpp
24015 ac_cpp='$CXXCPP $CPPFLAGS'
24016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24021 /* end confdefs.h. */
24022 #include <math.h>
24023 #ifdef HAVE_IEEEFP_H
24024 #include <ieeefp.h>
24025 #endif
24028 main ()
24030 _sqrtf(0);
24032 return 0;
24034 _ACEOF
24035 if ac_fn_cxx_try_compile "$LINENO"; then :
24036 glibcxx_cv_func__sqrtf_use=yes
24037 else
24038 glibcxx_cv_func__sqrtf_use=no
24040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24041 ac_ext=c
24042 ac_cpp='$CPP $CPPFLAGS'
24043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
24052 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
24054 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
24055 for ac_func in _sqrtf
24056 do :
24057 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
24058 if test "x$ac_cv_func__sqrtf" = x""yes; then :
24059 cat >>confdefs.h <<_ACEOF
24060 #define HAVE__SQRTF 1
24061 _ACEOF
24064 done
24073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
24074 $as_echo_n "checking for sincosf declaration... " >&6; }
24075 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
24076 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
24077 $as_echo_n "(cached) " >&6
24078 else
24081 ac_ext=cpp
24082 ac_cpp='$CXXCPP $CPPFLAGS'
24083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24088 /* end confdefs.h. */
24089 #include <math.h>
24091 main ()
24093 sincosf(0, 0, 0);
24095 return 0;
24097 _ACEOF
24098 if ac_fn_cxx_try_compile "$LINENO"; then :
24099 glibcxx_cv_func_sincosf_use=yes
24100 else
24101 glibcxx_cv_func_sincosf_use=no
24103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24104 ac_ext=c
24105 ac_cpp='$CPP $CPPFLAGS'
24106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
24115 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
24117 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
24118 for ac_func in sincosf
24119 do :
24120 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
24121 if test "x$ac_cv_func_sincosf" = x""yes; then :
24122 cat >>confdefs.h <<_ACEOF
24123 #define HAVE_SINCOSF 1
24124 _ACEOF
24127 done
24129 else
24131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
24132 $as_echo_n "checking for _sincosf declaration... " >&6; }
24133 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
24134 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
24135 $as_echo_n "(cached) " >&6
24136 else
24139 ac_ext=cpp
24140 ac_cpp='$CXXCPP $CPPFLAGS'
24141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24146 /* end confdefs.h. */
24147 #include <math.h>
24149 main ()
24151 _sincosf(0, 0, 0);
24153 return 0;
24155 _ACEOF
24156 if ac_fn_cxx_try_compile "$LINENO"; then :
24157 glibcxx_cv_func__sincosf_use=yes
24158 else
24159 glibcxx_cv_func__sincosf_use=no
24161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24162 ac_ext=c
24163 ac_cpp='$CPP $CPPFLAGS'
24164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
24173 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
24175 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
24176 for ac_func in _sincosf
24177 do :
24178 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
24179 if test "x$ac_cv_func__sincosf" = x""yes; then :
24180 cat >>confdefs.h <<_ACEOF
24181 #define HAVE__SINCOSF 1
24182 _ACEOF
24185 done
24194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
24195 $as_echo_n "checking for finitef declaration... " >&6; }
24196 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
24197 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
24198 $as_echo_n "(cached) " >&6
24199 else
24202 ac_ext=cpp
24203 ac_cpp='$CXXCPP $CPPFLAGS'
24204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24209 /* end confdefs.h. */
24210 #include <math.h>
24211 #ifdef HAVE_IEEEFP_H
24212 #include <ieeefp.h>
24213 #endif
24216 main ()
24218 finitef(0);
24220 return 0;
24222 _ACEOF
24223 if ac_fn_cxx_try_compile "$LINENO"; then :
24224 glibcxx_cv_func_finitef_use=yes
24225 else
24226 glibcxx_cv_func_finitef_use=no
24228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24229 ac_ext=c
24230 ac_cpp='$CPP $CPPFLAGS'
24231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
24240 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
24242 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
24243 for ac_func in finitef
24244 do :
24245 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
24246 if test "x$ac_cv_func_finitef" = x""yes; then :
24247 cat >>confdefs.h <<_ACEOF
24248 #define HAVE_FINITEF 1
24249 _ACEOF
24252 done
24254 else
24256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
24257 $as_echo_n "checking for _finitef declaration... " >&6; }
24258 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
24259 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
24260 $as_echo_n "(cached) " >&6
24261 else
24264 ac_ext=cpp
24265 ac_cpp='$CXXCPP $CPPFLAGS'
24266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24271 /* end confdefs.h. */
24272 #include <math.h>
24273 #ifdef HAVE_IEEEFP_H
24274 #include <ieeefp.h>
24275 #endif
24278 main ()
24280 _finitef(0);
24282 return 0;
24284 _ACEOF
24285 if ac_fn_cxx_try_compile "$LINENO"; then :
24286 glibcxx_cv_func__finitef_use=yes
24287 else
24288 glibcxx_cv_func__finitef_use=no
24290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24291 ac_ext=c
24292 ac_cpp='$CPP $CPPFLAGS'
24293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
24302 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
24304 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
24305 for ac_func in _finitef
24306 do :
24307 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
24308 if test "x$ac_cv_func__finitef" = x""yes; then :
24309 cat >>confdefs.h <<_ACEOF
24310 #define HAVE__FINITEF 1
24311 _ACEOF
24314 done
24323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
24324 $as_echo_n "checking for long double trig functions... " >&6; }
24325 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
24326 $as_echo_n "(cached) " >&6
24327 else
24330 ac_ext=cpp
24331 ac_cpp='$CXXCPP $CPPFLAGS'
24332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24337 /* end confdefs.h. */
24338 #include <math.h>
24340 main ()
24342 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
24344 return 0;
24346 _ACEOF
24347 if ac_fn_cxx_try_compile "$LINENO"; then :
24348 glibcxx_cv_func_long_double_trig_use=yes
24349 else
24350 glibcxx_cv_func_long_double_trig_use=no
24352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24353 ac_ext=c
24354 ac_cpp='$CPP $CPPFLAGS'
24355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
24362 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
24363 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
24364 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
24365 do :
24366 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24367 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24368 eval as_val=\$$as_ac_var
24369 if test "x$as_val" = x""yes; then :
24370 cat >>confdefs.h <<_ACEOF
24371 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24372 _ACEOF
24375 done
24377 else
24378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
24379 $as_echo_n "checking for _long double trig functions... " >&6; }
24380 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
24381 $as_echo_n "(cached) " >&6
24382 else
24385 ac_ext=cpp
24386 ac_cpp='$CXXCPP $CPPFLAGS'
24387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24392 /* end confdefs.h. */
24393 #include <math.h>
24395 main ()
24397 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
24399 return 0;
24401 _ACEOF
24402 if ac_fn_cxx_try_compile "$LINENO"; then :
24403 glibcxx_cv_func__long_double_trig_use=yes
24404 else
24405 glibcxx_cv_func__long_double_trig_use=no
24407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24408 ac_ext=c
24409 ac_cpp='$CPP $CPPFLAGS'
24410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
24417 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
24418 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
24419 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
24420 do :
24421 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24422 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24423 eval as_val=\$$as_ac_var
24424 if test "x$as_val" = x""yes; then :
24425 cat >>confdefs.h <<_ACEOF
24426 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24427 _ACEOF
24430 done
24439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
24440 $as_echo_n "checking for long double round functions... " >&6; }
24441 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
24442 $as_echo_n "(cached) " >&6
24443 else
24446 ac_ext=cpp
24447 ac_cpp='$CXXCPP $CPPFLAGS'
24448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24453 /* end confdefs.h. */
24454 #include <math.h>
24456 main ()
24458 ceill (0); floorl (0);
24460 return 0;
24462 _ACEOF
24463 if ac_fn_cxx_try_compile "$LINENO"; then :
24464 glibcxx_cv_func_long_double_round_use=yes
24465 else
24466 glibcxx_cv_func_long_double_round_use=no
24468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24469 ac_ext=c
24470 ac_cpp='$CPP $CPPFLAGS'
24471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
24478 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
24479 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
24480 for ac_func in ceill floorl
24481 do :
24482 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24483 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24484 eval as_val=\$$as_ac_var
24485 if test "x$as_val" = x""yes; then :
24486 cat >>confdefs.h <<_ACEOF
24487 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24488 _ACEOF
24491 done
24493 else
24494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
24495 $as_echo_n "checking for _long double round functions... " >&6; }
24496 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
24497 $as_echo_n "(cached) " >&6
24498 else
24501 ac_ext=cpp
24502 ac_cpp='$CXXCPP $CPPFLAGS'
24503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24508 /* end confdefs.h. */
24509 #include <math.h>
24511 main ()
24513 _ceill (0); _floorl (0);
24515 return 0;
24517 _ACEOF
24518 if ac_fn_cxx_try_compile "$LINENO"; then :
24519 glibcxx_cv_func__long_double_round_use=yes
24520 else
24521 glibcxx_cv_func__long_double_round_use=no
24523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24524 ac_ext=c
24525 ac_cpp='$CPP $CPPFLAGS'
24526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
24533 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
24534 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
24535 for ac_func in _ceill _floorl
24536 do :
24537 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24538 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24539 eval as_val=\$$as_ac_var
24540 if test "x$as_val" = x""yes; then :
24541 cat >>confdefs.h <<_ACEOF
24542 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24543 _ACEOF
24546 done
24556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
24557 $as_echo_n "checking for isnanl declaration... " >&6; }
24558 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
24559 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
24560 $as_echo_n "(cached) " >&6
24561 else
24564 ac_ext=cpp
24565 ac_cpp='$CXXCPP $CPPFLAGS'
24566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24571 /* end confdefs.h. */
24572 #include <math.h>
24573 #ifdef HAVE_IEEEFP_H
24574 #include <ieeefp.h>
24575 #endif
24578 main ()
24580 isnanl(0);
24582 return 0;
24584 _ACEOF
24585 if ac_fn_cxx_try_compile "$LINENO"; then :
24586 glibcxx_cv_func_isnanl_use=yes
24587 else
24588 glibcxx_cv_func_isnanl_use=no
24590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24591 ac_ext=c
24592 ac_cpp='$CPP $CPPFLAGS'
24593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
24602 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
24604 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
24605 for ac_func in isnanl
24606 do :
24607 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
24608 if test "x$ac_cv_func_isnanl" = x""yes; then :
24609 cat >>confdefs.h <<_ACEOF
24610 #define HAVE_ISNANL 1
24611 _ACEOF
24614 done
24616 else
24618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
24619 $as_echo_n "checking for _isnanl declaration... " >&6; }
24620 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
24621 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
24622 $as_echo_n "(cached) " >&6
24623 else
24626 ac_ext=cpp
24627 ac_cpp='$CXXCPP $CPPFLAGS'
24628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24633 /* end confdefs.h. */
24634 #include <math.h>
24635 #ifdef HAVE_IEEEFP_H
24636 #include <ieeefp.h>
24637 #endif
24640 main ()
24642 _isnanl(0);
24644 return 0;
24646 _ACEOF
24647 if ac_fn_cxx_try_compile "$LINENO"; then :
24648 glibcxx_cv_func__isnanl_use=yes
24649 else
24650 glibcxx_cv_func__isnanl_use=no
24652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24653 ac_ext=c
24654 ac_cpp='$CPP $CPPFLAGS'
24655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
24664 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
24666 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
24667 for ac_func in _isnanl
24668 do :
24669 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
24670 if test "x$ac_cv_func__isnanl" = x""yes; then :
24671 cat >>confdefs.h <<_ACEOF
24672 #define HAVE__ISNANL 1
24673 _ACEOF
24676 done
24685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
24686 $as_echo_n "checking for isinfl declaration... " >&6; }
24687 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
24688 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
24689 $as_echo_n "(cached) " >&6
24690 else
24693 ac_ext=cpp
24694 ac_cpp='$CXXCPP $CPPFLAGS'
24695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24700 /* end confdefs.h. */
24701 #include <math.h>
24702 #ifdef HAVE_IEEEFP_H
24703 #include <ieeefp.h>
24704 #endif
24707 main ()
24709 isinfl(0);
24711 return 0;
24713 _ACEOF
24714 if ac_fn_cxx_try_compile "$LINENO"; then :
24715 glibcxx_cv_func_isinfl_use=yes
24716 else
24717 glibcxx_cv_func_isinfl_use=no
24719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24720 ac_ext=c
24721 ac_cpp='$CPP $CPPFLAGS'
24722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
24731 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
24733 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
24734 for ac_func in isinfl
24735 do :
24736 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
24737 if test "x$ac_cv_func_isinfl" = x""yes; then :
24738 cat >>confdefs.h <<_ACEOF
24739 #define HAVE_ISINFL 1
24740 _ACEOF
24743 done
24745 else
24747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
24748 $as_echo_n "checking for _isinfl declaration... " >&6; }
24749 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
24750 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
24751 $as_echo_n "(cached) " >&6
24752 else
24755 ac_ext=cpp
24756 ac_cpp='$CXXCPP $CPPFLAGS'
24757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24762 /* end confdefs.h. */
24763 #include <math.h>
24764 #ifdef HAVE_IEEEFP_H
24765 #include <ieeefp.h>
24766 #endif
24769 main ()
24771 _isinfl(0);
24773 return 0;
24775 _ACEOF
24776 if ac_fn_cxx_try_compile "$LINENO"; then :
24777 glibcxx_cv_func__isinfl_use=yes
24778 else
24779 glibcxx_cv_func__isinfl_use=no
24781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24782 ac_ext=c
24783 ac_cpp='$CPP $CPPFLAGS'
24784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
24793 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
24795 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
24796 for ac_func in _isinfl
24797 do :
24798 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
24799 if test "x$ac_cv_func__isinfl" = x""yes; then :
24800 cat >>confdefs.h <<_ACEOF
24801 #define HAVE__ISINFL 1
24802 _ACEOF
24805 done
24814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
24815 $as_echo_n "checking for atan2l declaration... " >&6; }
24816 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
24817 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
24818 $as_echo_n "(cached) " >&6
24819 else
24822 ac_ext=cpp
24823 ac_cpp='$CXXCPP $CPPFLAGS'
24824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24829 /* end confdefs.h. */
24830 #include <math.h>
24832 main ()
24834 atan2l(0, 0);
24836 return 0;
24838 _ACEOF
24839 if ac_fn_cxx_try_compile "$LINENO"; then :
24840 glibcxx_cv_func_atan2l_use=yes
24841 else
24842 glibcxx_cv_func_atan2l_use=no
24844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24845 ac_ext=c
24846 ac_cpp='$CPP $CPPFLAGS'
24847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
24856 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
24858 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
24859 for ac_func in atan2l
24860 do :
24861 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
24862 if test "x$ac_cv_func_atan2l" = x""yes; then :
24863 cat >>confdefs.h <<_ACEOF
24864 #define HAVE_ATAN2L 1
24865 _ACEOF
24868 done
24870 else
24872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
24873 $as_echo_n "checking for _atan2l declaration... " >&6; }
24874 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
24875 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
24876 $as_echo_n "(cached) " >&6
24877 else
24880 ac_ext=cpp
24881 ac_cpp='$CXXCPP $CPPFLAGS'
24882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24887 /* end confdefs.h. */
24888 #include <math.h>
24890 main ()
24892 _atan2l(0, 0);
24894 return 0;
24896 _ACEOF
24897 if ac_fn_cxx_try_compile "$LINENO"; then :
24898 glibcxx_cv_func__atan2l_use=yes
24899 else
24900 glibcxx_cv_func__atan2l_use=no
24902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24903 ac_ext=c
24904 ac_cpp='$CPP $CPPFLAGS'
24905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
24914 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
24916 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
24917 for ac_func in _atan2l
24918 do :
24919 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
24920 if test "x$ac_cv_func__atan2l" = x""yes; then :
24921 cat >>confdefs.h <<_ACEOF
24922 #define HAVE__ATAN2L 1
24923 _ACEOF
24926 done
24935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
24936 $as_echo_n "checking for expl declaration... " >&6; }
24937 if test x${glibcxx_cv_func_expl_use+set} != xset; then
24938 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
24939 $as_echo_n "(cached) " >&6
24940 else
24943 ac_ext=cpp
24944 ac_cpp='$CXXCPP $CPPFLAGS'
24945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24950 /* end confdefs.h. */
24951 #include <math.h>
24952 #ifdef HAVE_IEEEFP_H
24953 #include <ieeefp.h>
24954 #endif
24957 main ()
24959 expl(0);
24961 return 0;
24963 _ACEOF
24964 if ac_fn_cxx_try_compile "$LINENO"; then :
24965 glibcxx_cv_func_expl_use=yes
24966 else
24967 glibcxx_cv_func_expl_use=no
24969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24970 ac_ext=c
24971 ac_cpp='$CPP $CPPFLAGS'
24972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
24981 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
24983 if test x$glibcxx_cv_func_expl_use = x"yes"; then
24984 for ac_func in expl
24985 do :
24986 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
24987 if test "x$ac_cv_func_expl" = x""yes; then :
24988 cat >>confdefs.h <<_ACEOF
24989 #define HAVE_EXPL 1
24990 _ACEOF
24993 done
24995 else
24997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
24998 $as_echo_n "checking for _expl declaration... " >&6; }
24999 if test x${glibcxx_cv_func__expl_use+set} != xset; then
25000 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
25001 $as_echo_n "(cached) " >&6
25002 else
25005 ac_ext=cpp
25006 ac_cpp='$CXXCPP $CPPFLAGS'
25007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25012 /* end confdefs.h. */
25013 #include <math.h>
25014 #ifdef HAVE_IEEEFP_H
25015 #include <ieeefp.h>
25016 #endif
25019 main ()
25021 _expl(0);
25023 return 0;
25025 _ACEOF
25026 if ac_fn_cxx_try_compile "$LINENO"; then :
25027 glibcxx_cv_func__expl_use=yes
25028 else
25029 glibcxx_cv_func__expl_use=no
25031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25032 ac_ext=c
25033 ac_cpp='$CPP $CPPFLAGS'
25034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
25043 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
25045 if test x$glibcxx_cv_func__expl_use = x"yes"; then
25046 for ac_func in _expl
25047 do :
25048 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
25049 if test "x$ac_cv_func__expl" = x""yes; then :
25050 cat >>confdefs.h <<_ACEOF
25051 #define HAVE__EXPL 1
25052 _ACEOF
25055 done
25064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
25065 $as_echo_n "checking for fabsl declaration... " >&6; }
25066 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
25067 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
25068 $as_echo_n "(cached) " >&6
25069 else
25072 ac_ext=cpp
25073 ac_cpp='$CXXCPP $CPPFLAGS'
25074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25079 /* end confdefs.h. */
25080 #include <math.h>
25081 #ifdef HAVE_IEEEFP_H
25082 #include <ieeefp.h>
25083 #endif
25086 main ()
25088 fabsl(0);
25090 return 0;
25092 _ACEOF
25093 if ac_fn_cxx_try_compile "$LINENO"; then :
25094 glibcxx_cv_func_fabsl_use=yes
25095 else
25096 glibcxx_cv_func_fabsl_use=no
25098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25099 ac_ext=c
25100 ac_cpp='$CPP $CPPFLAGS'
25101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
25110 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
25112 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
25113 for ac_func in fabsl
25114 do :
25115 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
25116 if test "x$ac_cv_func_fabsl" = x""yes; then :
25117 cat >>confdefs.h <<_ACEOF
25118 #define HAVE_FABSL 1
25119 _ACEOF
25122 done
25124 else
25126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
25127 $as_echo_n "checking for _fabsl declaration... " >&6; }
25128 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
25129 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
25130 $as_echo_n "(cached) " >&6
25131 else
25134 ac_ext=cpp
25135 ac_cpp='$CXXCPP $CPPFLAGS'
25136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25141 /* end confdefs.h. */
25142 #include <math.h>
25143 #ifdef HAVE_IEEEFP_H
25144 #include <ieeefp.h>
25145 #endif
25148 main ()
25150 _fabsl(0);
25152 return 0;
25154 _ACEOF
25155 if ac_fn_cxx_try_compile "$LINENO"; then :
25156 glibcxx_cv_func__fabsl_use=yes
25157 else
25158 glibcxx_cv_func__fabsl_use=no
25160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25161 ac_ext=c
25162 ac_cpp='$CPP $CPPFLAGS'
25163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
25172 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
25174 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
25175 for ac_func in _fabsl
25176 do :
25177 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
25178 if test "x$ac_cv_func__fabsl" = x""yes; then :
25179 cat >>confdefs.h <<_ACEOF
25180 #define HAVE__FABSL 1
25181 _ACEOF
25184 done
25193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
25194 $as_echo_n "checking for fmodl declaration... " >&6; }
25195 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
25196 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
25197 $as_echo_n "(cached) " >&6
25198 else
25201 ac_ext=cpp
25202 ac_cpp='$CXXCPP $CPPFLAGS'
25203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25208 /* end confdefs.h. */
25209 #include <math.h>
25211 main ()
25213 fmodl(0, 0);
25215 return 0;
25217 _ACEOF
25218 if ac_fn_cxx_try_compile "$LINENO"; then :
25219 glibcxx_cv_func_fmodl_use=yes
25220 else
25221 glibcxx_cv_func_fmodl_use=no
25223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25224 ac_ext=c
25225 ac_cpp='$CPP $CPPFLAGS'
25226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
25235 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
25237 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
25238 for ac_func in fmodl
25239 do :
25240 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
25241 if test "x$ac_cv_func_fmodl" = x""yes; then :
25242 cat >>confdefs.h <<_ACEOF
25243 #define HAVE_FMODL 1
25244 _ACEOF
25247 done
25249 else
25251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
25252 $as_echo_n "checking for _fmodl declaration... " >&6; }
25253 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
25254 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
25255 $as_echo_n "(cached) " >&6
25256 else
25259 ac_ext=cpp
25260 ac_cpp='$CXXCPP $CPPFLAGS'
25261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25266 /* end confdefs.h. */
25267 #include <math.h>
25269 main ()
25271 _fmodl(0, 0);
25273 return 0;
25275 _ACEOF
25276 if ac_fn_cxx_try_compile "$LINENO"; then :
25277 glibcxx_cv_func__fmodl_use=yes
25278 else
25279 glibcxx_cv_func__fmodl_use=no
25281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25282 ac_ext=c
25283 ac_cpp='$CPP $CPPFLAGS'
25284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
25293 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
25295 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
25296 for ac_func in _fmodl
25297 do :
25298 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
25299 if test "x$ac_cv_func__fmodl" = x""yes; then :
25300 cat >>confdefs.h <<_ACEOF
25301 #define HAVE__FMODL 1
25302 _ACEOF
25305 done
25314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
25315 $as_echo_n "checking for frexpl declaration... " >&6; }
25316 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
25317 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
25318 $as_echo_n "(cached) " >&6
25319 else
25322 ac_ext=cpp
25323 ac_cpp='$CXXCPP $CPPFLAGS'
25324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25329 /* end confdefs.h. */
25330 #include <math.h>
25332 main ()
25334 frexpl(0, 0);
25336 return 0;
25338 _ACEOF
25339 if ac_fn_cxx_try_compile "$LINENO"; then :
25340 glibcxx_cv_func_frexpl_use=yes
25341 else
25342 glibcxx_cv_func_frexpl_use=no
25344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25345 ac_ext=c
25346 ac_cpp='$CPP $CPPFLAGS'
25347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
25356 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
25358 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
25359 for ac_func in frexpl
25360 do :
25361 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
25362 if test "x$ac_cv_func_frexpl" = x""yes; then :
25363 cat >>confdefs.h <<_ACEOF
25364 #define HAVE_FREXPL 1
25365 _ACEOF
25368 done
25370 else
25372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
25373 $as_echo_n "checking for _frexpl declaration... " >&6; }
25374 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
25375 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
25376 $as_echo_n "(cached) " >&6
25377 else
25380 ac_ext=cpp
25381 ac_cpp='$CXXCPP $CPPFLAGS'
25382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25387 /* end confdefs.h. */
25388 #include <math.h>
25390 main ()
25392 _frexpl(0, 0);
25394 return 0;
25396 _ACEOF
25397 if ac_fn_cxx_try_compile "$LINENO"; then :
25398 glibcxx_cv_func__frexpl_use=yes
25399 else
25400 glibcxx_cv_func__frexpl_use=no
25402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25403 ac_ext=c
25404 ac_cpp='$CPP $CPPFLAGS'
25405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
25414 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
25416 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
25417 for ac_func in _frexpl
25418 do :
25419 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
25420 if test "x$ac_cv_func__frexpl" = x""yes; then :
25421 cat >>confdefs.h <<_ACEOF
25422 #define HAVE__FREXPL 1
25423 _ACEOF
25426 done
25435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
25436 $as_echo_n "checking for hypotl declaration... " >&6; }
25437 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
25438 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
25439 $as_echo_n "(cached) " >&6
25440 else
25443 ac_ext=cpp
25444 ac_cpp='$CXXCPP $CPPFLAGS'
25445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25450 /* end confdefs.h. */
25451 #include <math.h>
25453 main ()
25455 hypotl(0, 0);
25457 return 0;
25459 _ACEOF
25460 if ac_fn_cxx_try_compile "$LINENO"; then :
25461 glibcxx_cv_func_hypotl_use=yes
25462 else
25463 glibcxx_cv_func_hypotl_use=no
25465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25466 ac_ext=c
25467 ac_cpp='$CPP $CPPFLAGS'
25468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
25477 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
25479 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
25480 for ac_func in hypotl
25481 do :
25482 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
25483 if test "x$ac_cv_func_hypotl" = x""yes; then :
25484 cat >>confdefs.h <<_ACEOF
25485 #define HAVE_HYPOTL 1
25486 _ACEOF
25489 done
25491 else
25493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
25494 $as_echo_n "checking for _hypotl declaration... " >&6; }
25495 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
25496 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
25497 $as_echo_n "(cached) " >&6
25498 else
25501 ac_ext=cpp
25502 ac_cpp='$CXXCPP $CPPFLAGS'
25503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25508 /* end confdefs.h. */
25509 #include <math.h>
25511 main ()
25513 _hypotl(0, 0);
25515 return 0;
25517 _ACEOF
25518 if ac_fn_cxx_try_compile "$LINENO"; then :
25519 glibcxx_cv_func__hypotl_use=yes
25520 else
25521 glibcxx_cv_func__hypotl_use=no
25523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25524 ac_ext=c
25525 ac_cpp='$CPP $CPPFLAGS'
25526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
25535 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
25537 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
25538 for ac_func in _hypotl
25539 do :
25540 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
25541 if test "x$ac_cv_func__hypotl" = x""yes; then :
25542 cat >>confdefs.h <<_ACEOF
25543 #define HAVE__HYPOTL 1
25544 _ACEOF
25547 done
25556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
25557 $as_echo_n "checking for ldexpl declaration... " >&6; }
25558 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
25559 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
25560 $as_echo_n "(cached) " >&6
25561 else
25564 ac_ext=cpp
25565 ac_cpp='$CXXCPP $CPPFLAGS'
25566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25571 /* end confdefs.h. */
25572 #include <math.h>
25574 main ()
25576 ldexpl(0, 0);
25578 return 0;
25580 _ACEOF
25581 if ac_fn_cxx_try_compile "$LINENO"; then :
25582 glibcxx_cv_func_ldexpl_use=yes
25583 else
25584 glibcxx_cv_func_ldexpl_use=no
25586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25587 ac_ext=c
25588 ac_cpp='$CPP $CPPFLAGS'
25589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
25598 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
25600 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
25601 for ac_func in ldexpl
25602 do :
25603 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
25604 if test "x$ac_cv_func_ldexpl" = x""yes; then :
25605 cat >>confdefs.h <<_ACEOF
25606 #define HAVE_LDEXPL 1
25607 _ACEOF
25610 done
25612 else
25614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
25615 $as_echo_n "checking for _ldexpl declaration... " >&6; }
25616 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
25617 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
25618 $as_echo_n "(cached) " >&6
25619 else
25622 ac_ext=cpp
25623 ac_cpp='$CXXCPP $CPPFLAGS'
25624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25629 /* end confdefs.h. */
25630 #include <math.h>
25632 main ()
25634 _ldexpl(0, 0);
25636 return 0;
25638 _ACEOF
25639 if ac_fn_cxx_try_compile "$LINENO"; then :
25640 glibcxx_cv_func__ldexpl_use=yes
25641 else
25642 glibcxx_cv_func__ldexpl_use=no
25644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25645 ac_ext=c
25646 ac_cpp='$CPP $CPPFLAGS'
25647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
25656 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
25658 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
25659 for ac_func in _ldexpl
25660 do :
25661 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
25662 if test "x$ac_cv_func__ldexpl" = x""yes; then :
25663 cat >>confdefs.h <<_ACEOF
25664 #define HAVE__LDEXPL 1
25665 _ACEOF
25668 done
25677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
25678 $as_echo_n "checking for logl declaration... " >&6; }
25679 if test x${glibcxx_cv_func_logl_use+set} != xset; then
25680 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
25681 $as_echo_n "(cached) " >&6
25682 else
25685 ac_ext=cpp
25686 ac_cpp='$CXXCPP $CPPFLAGS'
25687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25692 /* end confdefs.h. */
25693 #include <math.h>
25694 #ifdef HAVE_IEEEFP_H
25695 #include <ieeefp.h>
25696 #endif
25699 main ()
25701 logl(0);
25703 return 0;
25705 _ACEOF
25706 if ac_fn_cxx_try_compile "$LINENO"; then :
25707 glibcxx_cv_func_logl_use=yes
25708 else
25709 glibcxx_cv_func_logl_use=no
25711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25712 ac_ext=c
25713 ac_cpp='$CPP $CPPFLAGS'
25714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
25723 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
25725 if test x$glibcxx_cv_func_logl_use = x"yes"; then
25726 for ac_func in logl
25727 do :
25728 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
25729 if test "x$ac_cv_func_logl" = x""yes; then :
25730 cat >>confdefs.h <<_ACEOF
25731 #define HAVE_LOGL 1
25732 _ACEOF
25735 done
25737 else
25739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
25740 $as_echo_n "checking for _logl declaration... " >&6; }
25741 if test x${glibcxx_cv_func__logl_use+set} != xset; then
25742 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
25743 $as_echo_n "(cached) " >&6
25744 else
25747 ac_ext=cpp
25748 ac_cpp='$CXXCPP $CPPFLAGS'
25749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25754 /* end confdefs.h. */
25755 #include <math.h>
25756 #ifdef HAVE_IEEEFP_H
25757 #include <ieeefp.h>
25758 #endif
25761 main ()
25763 _logl(0);
25765 return 0;
25767 _ACEOF
25768 if ac_fn_cxx_try_compile "$LINENO"; then :
25769 glibcxx_cv_func__logl_use=yes
25770 else
25771 glibcxx_cv_func__logl_use=no
25773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25774 ac_ext=c
25775 ac_cpp='$CPP $CPPFLAGS'
25776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
25785 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
25787 if test x$glibcxx_cv_func__logl_use = x"yes"; then
25788 for ac_func in _logl
25789 do :
25790 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
25791 if test "x$ac_cv_func__logl" = x""yes; then :
25792 cat >>confdefs.h <<_ACEOF
25793 #define HAVE__LOGL 1
25794 _ACEOF
25797 done
25806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
25807 $as_echo_n "checking for log10l declaration... " >&6; }
25808 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
25809 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
25810 $as_echo_n "(cached) " >&6
25811 else
25814 ac_ext=cpp
25815 ac_cpp='$CXXCPP $CPPFLAGS'
25816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25821 /* end confdefs.h. */
25822 #include <math.h>
25823 #ifdef HAVE_IEEEFP_H
25824 #include <ieeefp.h>
25825 #endif
25828 main ()
25830 log10l(0);
25832 return 0;
25834 _ACEOF
25835 if ac_fn_cxx_try_compile "$LINENO"; then :
25836 glibcxx_cv_func_log10l_use=yes
25837 else
25838 glibcxx_cv_func_log10l_use=no
25840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25841 ac_ext=c
25842 ac_cpp='$CPP $CPPFLAGS'
25843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
25852 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
25854 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
25855 for ac_func in log10l
25856 do :
25857 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
25858 if test "x$ac_cv_func_log10l" = x""yes; then :
25859 cat >>confdefs.h <<_ACEOF
25860 #define HAVE_LOG10L 1
25861 _ACEOF
25864 done
25866 else
25868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
25869 $as_echo_n "checking for _log10l declaration... " >&6; }
25870 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
25871 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
25872 $as_echo_n "(cached) " >&6
25873 else
25876 ac_ext=cpp
25877 ac_cpp='$CXXCPP $CPPFLAGS'
25878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25883 /* end confdefs.h. */
25884 #include <math.h>
25885 #ifdef HAVE_IEEEFP_H
25886 #include <ieeefp.h>
25887 #endif
25890 main ()
25892 _log10l(0);
25894 return 0;
25896 _ACEOF
25897 if ac_fn_cxx_try_compile "$LINENO"; then :
25898 glibcxx_cv_func__log10l_use=yes
25899 else
25900 glibcxx_cv_func__log10l_use=no
25902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25903 ac_ext=c
25904 ac_cpp='$CPP $CPPFLAGS'
25905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
25914 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
25916 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
25917 for ac_func in _log10l
25918 do :
25919 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
25920 if test "x$ac_cv_func__log10l" = x""yes; then :
25921 cat >>confdefs.h <<_ACEOF
25922 #define HAVE__LOG10L 1
25923 _ACEOF
25926 done
25935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
25936 $as_echo_n "checking for modfl declaration... " >&6; }
25937 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
25938 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
25939 $as_echo_n "(cached) " >&6
25940 else
25943 ac_ext=cpp
25944 ac_cpp='$CXXCPP $CPPFLAGS'
25945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25950 /* end confdefs.h. */
25951 #include <math.h>
25953 main ()
25955 modfl(0, 0);
25957 return 0;
25959 _ACEOF
25960 if ac_fn_cxx_try_compile "$LINENO"; then :
25961 glibcxx_cv_func_modfl_use=yes
25962 else
25963 glibcxx_cv_func_modfl_use=no
25965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25966 ac_ext=c
25967 ac_cpp='$CPP $CPPFLAGS'
25968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
25977 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
25979 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
25980 for ac_func in modfl
25981 do :
25982 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
25983 if test "x$ac_cv_func_modfl" = x""yes; then :
25984 cat >>confdefs.h <<_ACEOF
25985 #define HAVE_MODFL 1
25986 _ACEOF
25989 done
25991 else
25993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
25994 $as_echo_n "checking for _modfl declaration... " >&6; }
25995 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
25996 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
25997 $as_echo_n "(cached) " >&6
25998 else
26001 ac_ext=cpp
26002 ac_cpp='$CXXCPP $CPPFLAGS'
26003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26008 /* end confdefs.h. */
26009 #include <math.h>
26011 main ()
26013 _modfl(0, 0);
26015 return 0;
26017 _ACEOF
26018 if ac_fn_cxx_try_compile "$LINENO"; then :
26019 glibcxx_cv_func__modfl_use=yes
26020 else
26021 glibcxx_cv_func__modfl_use=no
26023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26024 ac_ext=c
26025 ac_cpp='$CPP $CPPFLAGS'
26026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
26035 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
26037 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
26038 for ac_func in _modfl
26039 do :
26040 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
26041 if test "x$ac_cv_func__modfl" = x""yes; then :
26042 cat >>confdefs.h <<_ACEOF
26043 #define HAVE__MODFL 1
26044 _ACEOF
26047 done
26056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
26057 $as_echo_n "checking for powl declaration... " >&6; }
26058 if test x${glibcxx_cv_func_powl_use+set} != xset; then
26059 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
26060 $as_echo_n "(cached) " >&6
26061 else
26064 ac_ext=cpp
26065 ac_cpp='$CXXCPP $CPPFLAGS'
26066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26071 /* end confdefs.h. */
26072 #include <math.h>
26074 main ()
26076 powl(0, 0);
26078 return 0;
26080 _ACEOF
26081 if ac_fn_cxx_try_compile "$LINENO"; then :
26082 glibcxx_cv_func_powl_use=yes
26083 else
26084 glibcxx_cv_func_powl_use=no
26086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26087 ac_ext=c
26088 ac_cpp='$CPP $CPPFLAGS'
26089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
26098 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
26100 if test x$glibcxx_cv_func_powl_use = x"yes"; then
26101 for ac_func in powl
26102 do :
26103 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
26104 if test "x$ac_cv_func_powl" = x""yes; then :
26105 cat >>confdefs.h <<_ACEOF
26106 #define HAVE_POWL 1
26107 _ACEOF
26110 done
26112 else
26114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
26115 $as_echo_n "checking for _powl declaration... " >&6; }
26116 if test x${glibcxx_cv_func__powl_use+set} != xset; then
26117 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
26118 $as_echo_n "(cached) " >&6
26119 else
26122 ac_ext=cpp
26123 ac_cpp='$CXXCPP $CPPFLAGS'
26124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26129 /* end confdefs.h. */
26130 #include <math.h>
26132 main ()
26134 _powl(0, 0);
26136 return 0;
26138 _ACEOF
26139 if ac_fn_cxx_try_compile "$LINENO"; then :
26140 glibcxx_cv_func__powl_use=yes
26141 else
26142 glibcxx_cv_func__powl_use=no
26144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26145 ac_ext=c
26146 ac_cpp='$CPP $CPPFLAGS'
26147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
26156 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
26158 if test x$glibcxx_cv_func__powl_use = x"yes"; then
26159 for ac_func in _powl
26160 do :
26161 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
26162 if test "x$ac_cv_func__powl" = x""yes; then :
26163 cat >>confdefs.h <<_ACEOF
26164 #define HAVE__POWL 1
26165 _ACEOF
26168 done
26177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
26178 $as_echo_n "checking for sqrtl declaration... " >&6; }
26179 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
26180 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
26181 $as_echo_n "(cached) " >&6
26182 else
26185 ac_ext=cpp
26186 ac_cpp='$CXXCPP $CPPFLAGS'
26187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26192 /* end confdefs.h. */
26193 #include <math.h>
26194 #ifdef HAVE_IEEEFP_H
26195 #include <ieeefp.h>
26196 #endif
26199 main ()
26201 sqrtl(0);
26203 return 0;
26205 _ACEOF
26206 if ac_fn_cxx_try_compile "$LINENO"; then :
26207 glibcxx_cv_func_sqrtl_use=yes
26208 else
26209 glibcxx_cv_func_sqrtl_use=no
26211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26212 ac_ext=c
26213 ac_cpp='$CPP $CPPFLAGS'
26214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
26223 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
26225 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
26226 for ac_func in sqrtl
26227 do :
26228 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
26229 if test "x$ac_cv_func_sqrtl" = x""yes; then :
26230 cat >>confdefs.h <<_ACEOF
26231 #define HAVE_SQRTL 1
26232 _ACEOF
26235 done
26237 else
26239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
26240 $as_echo_n "checking for _sqrtl declaration... " >&6; }
26241 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
26242 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
26243 $as_echo_n "(cached) " >&6
26244 else
26247 ac_ext=cpp
26248 ac_cpp='$CXXCPP $CPPFLAGS'
26249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26254 /* end confdefs.h. */
26255 #include <math.h>
26256 #ifdef HAVE_IEEEFP_H
26257 #include <ieeefp.h>
26258 #endif
26261 main ()
26263 _sqrtl(0);
26265 return 0;
26267 _ACEOF
26268 if ac_fn_cxx_try_compile "$LINENO"; then :
26269 glibcxx_cv_func__sqrtl_use=yes
26270 else
26271 glibcxx_cv_func__sqrtl_use=no
26273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26274 ac_ext=c
26275 ac_cpp='$CPP $CPPFLAGS'
26276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
26285 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
26287 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
26288 for ac_func in _sqrtl
26289 do :
26290 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
26291 if test "x$ac_cv_func__sqrtl" = x""yes; then :
26292 cat >>confdefs.h <<_ACEOF
26293 #define HAVE__SQRTL 1
26294 _ACEOF
26297 done
26306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
26307 $as_echo_n "checking for sincosl declaration... " >&6; }
26308 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
26309 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
26310 $as_echo_n "(cached) " >&6
26311 else
26314 ac_ext=cpp
26315 ac_cpp='$CXXCPP $CPPFLAGS'
26316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26321 /* end confdefs.h. */
26322 #include <math.h>
26324 main ()
26326 sincosl(0, 0, 0);
26328 return 0;
26330 _ACEOF
26331 if ac_fn_cxx_try_compile "$LINENO"; then :
26332 glibcxx_cv_func_sincosl_use=yes
26333 else
26334 glibcxx_cv_func_sincosl_use=no
26336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26337 ac_ext=c
26338 ac_cpp='$CPP $CPPFLAGS'
26339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
26348 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
26350 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
26351 for ac_func in sincosl
26352 do :
26353 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
26354 if test "x$ac_cv_func_sincosl" = x""yes; then :
26355 cat >>confdefs.h <<_ACEOF
26356 #define HAVE_SINCOSL 1
26357 _ACEOF
26360 done
26362 else
26364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
26365 $as_echo_n "checking for _sincosl declaration... " >&6; }
26366 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
26367 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
26368 $as_echo_n "(cached) " >&6
26369 else
26372 ac_ext=cpp
26373 ac_cpp='$CXXCPP $CPPFLAGS'
26374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26379 /* end confdefs.h. */
26380 #include <math.h>
26382 main ()
26384 _sincosl(0, 0, 0);
26386 return 0;
26388 _ACEOF
26389 if ac_fn_cxx_try_compile "$LINENO"; then :
26390 glibcxx_cv_func__sincosl_use=yes
26391 else
26392 glibcxx_cv_func__sincosl_use=no
26394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26395 ac_ext=c
26396 ac_cpp='$CPP $CPPFLAGS'
26397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
26406 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
26408 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
26409 for ac_func in _sincosl
26410 do :
26411 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
26412 if test "x$ac_cv_func__sincosl" = x""yes; then :
26413 cat >>confdefs.h <<_ACEOF
26414 #define HAVE__SINCOSL 1
26415 _ACEOF
26418 done
26427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
26428 $as_echo_n "checking for finitel declaration... " >&6; }
26429 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
26430 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
26431 $as_echo_n "(cached) " >&6
26432 else
26435 ac_ext=cpp
26436 ac_cpp='$CXXCPP $CPPFLAGS'
26437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26442 /* end confdefs.h. */
26443 #include <math.h>
26444 #ifdef HAVE_IEEEFP_H
26445 #include <ieeefp.h>
26446 #endif
26449 main ()
26451 finitel(0);
26453 return 0;
26455 _ACEOF
26456 if ac_fn_cxx_try_compile "$LINENO"; then :
26457 glibcxx_cv_func_finitel_use=yes
26458 else
26459 glibcxx_cv_func_finitel_use=no
26461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26462 ac_ext=c
26463 ac_cpp='$CPP $CPPFLAGS'
26464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
26473 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
26475 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
26476 for ac_func in finitel
26477 do :
26478 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
26479 if test "x$ac_cv_func_finitel" = x""yes; then :
26480 cat >>confdefs.h <<_ACEOF
26481 #define HAVE_FINITEL 1
26482 _ACEOF
26485 done
26487 else
26489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
26490 $as_echo_n "checking for _finitel declaration... " >&6; }
26491 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
26492 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
26493 $as_echo_n "(cached) " >&6
26494 else
26497 ac_ext=cpp
26498 ac_cpp='$CXXCPP $CPPFLAGS'
26499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26504 /* end confdefs.h. */
26505 #include <math.h>
26506 #ifdef HAVE_IEEEFP_H
26507 #include <ieeefp.h>
26508 #endif
26511 main ()
26513 _finitel(0);
26515 return 0;
26517 _ACEOF
26518 if ac_fn_cxx_try_compile "$LINENO"; then :
26519 glibcxx_cv_func__finitel_use=yes
26520 else
26521 glibcxx_cv_func__finitel_use=no
26523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26524 ac_ext=c
26525 ac_cpp='$CPP $CPPFLAGS'
26526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
26535 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
26537 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
26538 for ac_func in _finitel
26539 do :
26540 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
26541 if test "x$ac_cv_func__finitel" = x""yes; then :
26542 cat >>confdefs.h <<_ACEOF
26543 #define HAVE__FINITEL 1
26544 _ACEOF
26547 done
26555 LIBS="$ac_save_LIBS"
26556 CXXFLAGS="$ac_save_CXXFLAGS"
26559 ac_test_CXXFLAGS="${CXXFLAGS+set}"
26560 ac_save_CXXFLAGS="$CXXFLAGS"
26561 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
26564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
26565 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
26566 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
26567 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
26568 $as_echo_n "(cached) " >&6
26569 else
26572 ac_ext=cpp
26573 ac_cpp='$CXXCPP $CPPFLAGS'
26574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26579 /* end confdefs.h. */
26580 #include <stdlib.h>
26582 main ()
26584 at_quick_exit(0);
26586 return 0;
26588 _ACEOF
26589 if ac_fn_cxx_try_compile "$LINENO"; then :
26590 glibcxx_cv_func_at_quick_exit_use=yes
26591 else
26592 glibcxx_cv_func_at_quick_exit_use=no
26594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26595 ac_ext=c
26596 ac_cpp='$CPP $CPPFLAGS'
26597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
26606 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
26607 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
26608 for ac_func in at_quick_exit
26609 do :
26610 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
26611 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
26612 cat >>confdefs.h <<_ACEOF
26613 #define HAVE_AT_QUICK_EXIT 1
26614 _ACEOF
26617 done
26622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
26623 $as_echo_n "checking for quick_exit declaration... " >&6; }
26624 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
26625 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
26626 $as_echo_n "(cached) " >&6
26627 else
26630 ac_ext=cpp
26631 ac_cpp='$CXXCPP $CPPFLAGS'
26632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26637 /* end confdefs.h. */
26638 #include <stdlib.h>
26640 main ()
26642 quick_exit(0);
26644 return 0;
26646 _ACEOF
26647 if ac_fn_cxx_try_compile "$LINENO"; then :
26648 glibcxx_cv_func_quick_exit_use=yes
26649 else
26650 glibcxx_cv_func_quick_exit_use=no
26652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26653 ac_ext=c
26654 ac_cpp='$CPP $CPPFLAGS'
26655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
26664 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
26665 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
26666 for ac_func in quick_exit
26667 do :
26668 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
26669 if test "x$ac_cv_func_quick_exit" = x""yes; then :
26670 cat >>confdefs.h <<_ACEOF
26671 #define HAVE_QUICK_EXIT 1
26672 _ACEOF
26675 done
26680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
26681 $as_echo_n "checking for strtold declaration... " >&6; }
26682 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
26683 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
26684 $as_echo_n "(cached) " >&6
26685 else
26688 ac_ext=cpp
26689 ac_cpp='$CXXCPP $CPPFLAGS'
26690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26695 /* end confdefs.h. */
26696 #include <stdlib.h>
26698 main ()
26700 strtold(0, 0);
26702 return 0;
26704 _ACEOF
26705 if ac_fn_cxx_try_compile "$LINENO"; then :
26706 glibcxx_cv_func_strtold_use=yes
26707 else
26708 glibcxx_cv_func_strtold_use=no
26710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26711 ac_ext=c
26712 ac_cpp='$CPP $CPPFLAGS'
26713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
26722 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
26723 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
26724 for ac_func in strtold
26725 do :
26726 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
26727 if test "x$ac_cv_func_strtold" = x""yes; then :
26728 cat >>confdefs.h <<_ACEOF
26729 #define HAVE_STRTOLD 1
26730 _ACEOF
26733 done
26740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
26741 $as_echo_n "checking for strtof declaration... " >&6; }
26742 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
26743 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
26744 $as_echo_n "(cached) " >&6
26745 else
26748 ac_ext=cpp
26749 ac_cpp='$CXXCPP $CPPFLAGS'
26750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26755 /* end confdefs.h. */
26756 #include <stdlib.h>
26758 main ()
26760 strtof(0, 0);
26762 return 0;
26764 _ACEOF
26765 if ac_fn_cxx_try_compile "$LINENO"; then :
26766 glibcxx_cv_func_strtof_use=yes
26767 else
26768 glibcxx_cv_func_strtof_use=no
26770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26771 ac_ext=c
26772 ac_cpp='$CPP $CPPFLAGS'
26773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
26782 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
26783 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
26784 for ac_func in strtof
26785 do :
26786 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
26787 if test "x$ac_cv_func_strtof" = x""yes; then :
26788 cat >>confdefs.h <<_ACEOF
26789 #define HAVE_STRTOF 1
26790 _ACEOF
26793 done
26800 CXXFLAGS="$ac_save_CXXFLAGS"
26803 # For /dev/random and /dev/urandom for TR1.
26806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
26807 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
26808 if test "${glibcxx_cv_random_tr1+set}" = set; then :
26809 $as_echo_n "(cached) " >&6
26810 else
26812 if test -r /dev/random && test -r /dev/urandom; then
26813 ## For MSys environment the test above is detect as false-positive
26814 ## on mingw-targets. So disable it explicit for them.
26815 case ${target_os} in
26816 *mingw*) glibcxx_cv_random_tr1=no ;;
26817 *) glibcxx_cv_random_tr1=yes ;;
26818 esac
26819 else
26820 glibcxx_cv_random_tr1=no;
26825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
26826 $as_echo "$glibcxx_cv_random_tr1" >&6; }
26828 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
26830 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
26836 # For TLS support.
26839 # Check whether --enable-tls was given.
26840 if test "${enable_tls+set}" = set; then :
26841 enableval=$enable_tls;
26842 case "$enableval" in
26843 yes|no) ;;
26844 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
26845 esac
26847 else
26848 enable_tls=yes
26852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
26853 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
26854 if test "${gcc_cv_have_tls+set}" = set; then :
26855 $as_echo_n "(cached) " >&6
26856 else
26858 if test "$cross_compiling" = yes; then :
26859 if test x$gcc_no_link = xyes; then
26860 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26863 /* end confdefs.h. */
26864 __thread int a; int b; int main() { return a = b; }
26865 _ACEOF
26866 if ac_fn_c_try_link "$LINENO"; then :
26867 chktls_save_LDFLAGS="$LDFLAGS"
26868 case $host in
26869 *-*-linux*)
26870 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
26872 esac
26873 chktls_save_CFLAGS="$CFLAGS"
26874 CFLAGS="-fPIC $CFLAGS"
26875 if test x$gcc_no_link = xyes; then
26876 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26879 /* end confdefs.h. */
26880 int f() { return 0; }
26881 _ACEOF
26882 if ac_fn_c_try_link "$LINENO"; then :
26883 if test x$gcc_no_link = xyes; then
26884 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26887 /* end confdefs.h. */
26888 __thread int a; int b; int f() { return a = b; }
26889 _ACEOF
26890 if ac_fn_c_try_link "$LINENO"; then :
26891 gcc_cv_have_tls=yes
26892 else
26893 gcc_cv_have_tls=no
26895 rm -f core conftest.err conftest.$ac_objext \
26896 conftest$ac_exeext conftest.$ac_ext
26897 else
26898 gcc_cv_have_tls=yes
26900 rm -f core conftest.err conftest.$ac_objext \
26901 conftest$ac_exeext conftest.$ac_ext
26902 CFLAGS="$chktls_save_CFLAGS"
26903 LDFLAGS="$chktls_save_LDFLAGS"
26904 else
26905 gcc_cv_have_tls=no
26907 rm -f core conftest.err conftest.$ac_objext \
26908 conftest$ac_exeext conftest.$ac_ext
26911 else
26912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26913 /* end confdefs.h. */
26914 __thread int a; int b; int main() { return a = b; }
26915 _ACEOF
26916 if ac_fn_c_try_run "$LINENO"; then :
26917 chktls_save_LDFLAGS="$LDFLAGS"
26918 LDFLAGS="-static $LDFLAGS"
26919 if test x$gcc_no_link = xyes; then
26920 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26923 /* end confdefs.h. */
26924 int main() { return 0; }
26925 _ACEOF
26926 if ac_fn_c_try_link "$LINENO"; then :
26927 if test "$cross_compiling" = yes; then :
26928 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26929 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26930 as_fn_error "cannot run test program while cross compiling
26931 See \`config.log' for more details." "$LINENO" 5; }
26932 else
26933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26934 /* end confdefs.h. */
26935 __thread int a; int b; int main() { return a = b; }
26936 _ACEOF
26937 if ac_fn_c_try_run "$LINENO"; then :
26938 gcc_cv_have_tls=yes
26939 else
26940 gcc_cv_have_tls=no
26942 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26943 conftest.$ac_objext conftest.beam conftest.$ac_ext
26946 else
26947 gcc_cv_have_tls=yes
26949 rm -f core conftest.err conftest.$ac_objext \
26950 conftest$ac_exeext conftest.$ac_ext
26951 LDFLAGS="$chktls_save_LDFLAGS"
26952 if test $gcc_cv_have_tls = yes; then
26953 chktls_save_CFLAGS="$CFLAGS"
26954 thread_CFLAGS=failed
26955 for flag in '' '-pthread' '-lpthread'; do
26956 CFLAGS="$flag $chktls_save_CFLAGS"
26957 if test x$gcc_no_link = xyes; then
26958 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26961 /* end confdefs.h. */
26962 #include <pthread.h>
26963 void *g(void *d) { return NULL; }
26965 main ()
26967 pthread_t t; pthread_create(&t,NULL,g,NULL);
26969 return 0;
26971 _ACEOF
26972 if ac_fn_c_try_link "$LINENO"; then :
26973 thread_CFLAGS="$flag"
26975 rm -f core conftest.err conftest.$ac_objext \
26976 conftest$ac_exeext conftest.$ac_ext
26977 if test "X$thread_CFLAGS" != Xfailed; then
26978 break
26980 done
26981 CFLAGS="$chktls_save_CFLAGS"
26982 if test "X$thread_CFLAGS" != Xfailed; then
26983 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
26984 if test "$cross_compiling" = yes; then :
26985 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26986 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26987 as_fn_error "cannot run test program while cross compiling
26988 See \`config.log' for more details." "$LINENO" 5; }
26989 else
26990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26991 /* end confdefs.h. */
26992 #include <pthread.h>
26993 __thread int a;
26994 static int *volatile a_in_other_thread;
26995 static void *
26996 thread_func (void *arg)
26998 a_in_other_thread = &a;
26999 return (void *)0;
27002 main ()
27004 pthread_t thread;
27005 void *thread_retval;
27006 int *volatile a_in_main_thread;
27007 a_in_main_thread = &a;
27008 if (pthread_create (&thread, (pthread_attr_t *)0,
27009 thread_func, (void *)0))
27010 return 0;
27011 if (pthread_join (thread, &thread_retval))
27012 return 0;
27013 return (a_in_other_thread == a_in_main_thread);
27015 return 0;
27017 _ACEOF
27018 if ac_fn_c_try_run "$LINENO"; then :
27019 gcc_cv_have_tls=yes
27020 else
27021 gcc_cv_have_tls=no
27023 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27024 conftest.$ac_objext conftest.beam conftest.$ac_ext
27027 CFLAGS="$chktls_save_CFLAGS"
27030 else
27031 gcc_cv_have_tls=no
27033 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27034 conftest.$ac_objext conftest.beam conftest.$ac_ext
27038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
27039 $as_echo "$gcc_cv_have_tls" >&6; }
27040 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
27042 $as_echo "#define HAVE_TLS 1" >>confdefs.h
27046 for ac_func in __cxa_thread_atexit_impl
27047 do :
27048 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
27049 if test "x$ac_cv_func___cxa_thread_atexit_impl" = x""yes; then :
27050 cat >>confdefs.h <<_ACEOF
27051 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
27052 _ACEOF
27055 done
27058 # For iconv support.
27060 if test "X$prefix" = "XNONE"; then
27061 acl_final_prefix="$ac_default_prefix"
27062 else
27063 acl_final_prefix="$prefix"
27065 if test "X$exec_prefix" = "XNONE"; then
27066 acl_final_exec_prefix='${prefix}'
27067 else
27068 acl_final_exec_prefix="$exec_prefix"
27070 acl_save_prefix="$prefix"
27071 prefix="$acl_final_prefix"
27072 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
27073 prefix="$acl_save_prefix"
27076 # Check whether --with-gnu-ld was given.
27077 if test "${with_gnu_ld+set}" = set; then :
27078 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
27079 else
27080 with_gnu_ld=no
27083 # Prepare PATH_SEPARATOR.
27084 # The user is always right.
27085 if test "${PATH_SEPARATOR+set}" != set; then
27086 echo "#! /bin/sh" >conf$$.sh
27087 echo "exit 0" >>conf$$.sh
27088 chmod +x conf$$.sh
27089 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
27090 PATH_SEPARATOR=';'
27091 else
27092 PATH_SEPARATOR=:
27094 rm -f conf$$.sh
27096 ac_prog=ld
27097 if test "$GCC" = yes; then
27098 # Check if gcc -print-prog-name=ld gives a path.
27099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
27100 $as_echo_n "checking for ld used by GCC... " >&6; }
27101 case $host in
27102 *-*-mingw*)
27103 # gcc leaves a trailing carriage return which upsets mingw
27104 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
27106 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
27107 esac
27108 case $ac_prog in
27109 # Accept absolute paths.
27110 [\\/]* | [A-Za-z]:[\\/]*)
27111 re_direlt='/[^/][^/]*/\.\./'
27112 # Canonicalize the path of ld
27113 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
27114 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
27115 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
27116 done
27117 test -z "$LD" && LD="$ac_prog"
27120 # If it fails, then pretend we aren't using GCC.
27121 ac_prog=ld
27124 # If it is relative, then search for the first ld in PATH.
27125 with_gnu_ld=unknown
27127 esac
27128 elif test "$with_gnu_ld" = yes; then
27129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
27130 $as_echo_n "checking for GNU ld... " >&6; }
27131 else
27132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
27133 $as_echo_n "checking for non-GNU ld... " >&6; }
27135 if test "${acl_cv_path_LD+set}" = set; then :
27136 $as_echo_n "(cached) " >&6
27137 else
27138 if test -z "$LD"; then
27139 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
27140 for ac_dir in $PATH; do
27141 test -z "$ac_dir" && ac_dir=.
27142 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
27143 acl_cv_path_LD="$ac_dir/$ac_prog"
27144 # Check to see if the program is GNU ld. I'd rather use --version,
27145 # but apparently some GNU ld's only accept -v.
27146 # Break only if it was the GNU/non-GNU ld that we prefer.
27147 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
27148 test "$with_gnu_ld" != no && break
27149 else
27150 test "$with_gnu_ld" != yes && break
27153 done
27154 IFS="$ac_save_ifs"
27155 else
27156 acl_cv_path_LD="$LD" # Let the user override the test with a path.
27160 LD="$acl_cv_path_LD"
27161 if test -n "$LD"; then
27162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
27163 $as_echo "$LD" >&6; }
27164 else
27165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27166 $as_echo "no" >&6; }
27168 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
27169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
27170 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
27171 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
27172 $as_echo_n "(cached) " >&6
27173 else
27174 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
27175 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
27176 acl_cv_prog_gnu_ld=yes
27177 else
27178 acl_cv_prog_gnu_ld=no
27181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
27182 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
27183 with_gnu_ld=$acl_cv_prog_gnu_ld
27187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
27188 $as_echo_n "checking for shared library run path origin... " >&6; }
27189 if test "${acl_cv_rpath+set}" = set; then :
27190 $as_echo_n "(cached) " >&6
27191 else
27193 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
27194 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
27195 . ./conftest.sh
27196 rm -f ./conftest.sh
27197 acl_cv_rpath=done
27200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
27201 $as_echo "$acl_cv_rpath" >&6; }
27202 wl="$acl_cv_wl"
27203 libext="$acl_cv_libext"
27204 shlibext="$acl_cv_shlibext"
27205 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
27206 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
27207 hardcode_direct="$acl_cv_hardcode_direct"
27208 hardcode_minus_L="$acl_cv_hardcode_minus_L"
27209 # Check whether --enable-rpath was given.
27210 if test "${enable_rpath+set}" = set; then :
27211 enableval=$enable_rpath; :
27212 else
27213 enable_rpath=yes
27223 use_additional=yes
27225 acl_save_prefix="$prefix"
27226 prefix="$acl_final_prefix"
27227 acl_save_exec_prefix="$exec_prefix"
27228 exec_prefix="$acl_final_exec_prefix"
27230 eval additional_includedir=\"$includedir\"
27231 eval additional_libdir=\"$libdir\"
27233 exec_prefix="$acl_save_exec_prefix"
27234 prefix="$acl_save_prefix"
27237 # Check whether --with-libiconv-prefix was given.
27238 if test "${with_libiconv_prefix+set}" = set; then :
27239 withval=$with_libiconv_prefix;
27240 if test "X$withval" = "Xno"; then
27241 use_additional=no
27242 else
27243 if test "X$withval" = "X"; then
27245 acl_save_prefix="$prefix"
27246 prefix="$acl_final_prefix"
27247 acl_save_exec_prefix="$exec_prefix"
27248 exec_prefix="$acl_final_exec_prefix"
27250 eval additional_includedir=\"$includedir\"
27251 eval additional_libdir=\"$libdir\"
27253 exec_prefix="$acl_save_exec_prefix"
27254 prefix="$acl_save_prefix"
27256 else
27257 additional_includedir="$withval/include"
27258 additional_libdir="$withval/lib"
27264 LIBICONV=
27265 LTLIBICONV=
27266 INCICONV=
27267 rpathdirs=
27268 ltrpathdirs=
27269 names_already_handled=
27270 names_next_round='iconv '
27271 while test -n "$names_next_round"; do
27272 names_this_round="$names_next_round"
27273 names_next_round=
27274 for name in $names_this_round; do
27275 already_handled=
27276 for n in $names_already_handled; do
27277 if test "$n" = "$name"; then
27278 already_handled=yes
27279 break
27281 done
27282 if test -z "$already_handled"; then
27283 names_already_handled="$names_already_handled $name"
27284 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
27285 eval value=\"\$HAVE_LIB$uppername\"
27286 if test -n "$value"; then
27287 if test "$value" = yes; then
27288 eval value=\"\$LIB$uppername\"
27289 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
27290 eval value=\"\$LTLIB$uppername\"
27291 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
27292 else
27295 else
27296 found_dir=
27297 found_la=
27298 found_so=
27299 found_a=
27300 if test $use_additional = yes; then
27301 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
27302 found_dir="$additional_libdir"
27303 found_so="$additional_libdir/lib$name.$shlibext"
27304 if test -f "$additional_libdir/lib$name.la"; then
27305 found_la="$additional_libdir/lib$name.la"
27307 else
27308 if test -f "$additional_libdir/lib$name.$libext"; then
27309 found_dir="$additional_libdir"
27310 found_a="$additional_libdir/lib$name.$libext"
27311 if test -f "$additional_libdir/lib$name.la"; then
27312 found_la="$additional_libdir/lib$name.la"
27317 if test "X$found_dir" = "X"; then
27318 for x in $LDFLAGS $LTLIBICONV; do
27320 acl_save_prefix="$prefix"
27321 prefix="$acl_final_prefix"
27322 acl_save_exec_prefix="$exec_prefix"
27323 exec_prefix="$acl_final_exec_prefix"
27324 eval x=\"$x\"
27325 exec_prefix="$acl_save_exec_prefix"
27326 prefix="$acl_save_prefix"
27328 case "$x" in
27329 -L*)
27330 dir=`echo "X$x" | sed -e 's/^X-L//'`
27331 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
27332 found_dir="$dir"
27333 found_so="$dir/lib$name.$shlibext"
27334 if test -f "$dir/lib$name.la"; then
27335 found_la="$dir/lib$name.la"
27337 else
27338 if test -f "$dir/lib$name.$libext"; then
27339 found_dir="$dir"
27340 found_a="$dir/lib$name.$libext"
27341 if test -f "$dir/lib$name.la"; then
27342 found_la="$dir/lib$name.la"
27347 esac
27348 if test "X$found_dir" != "X"; then
27349 break
27351 done
27353 if test "X$found_dir" != "X"; then
27354 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
27355 if test "X$found_so" != "X"; then
27356 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
27357 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27358 else
27359 haveit=
27360 for x in $ltrpathdirs; do
27361 if test "X$x" = "X$found_dir"; then
27362 haveit=yes
27363 break
27365 done
27366 if test -z "$haveit"; then
27367 ltrpathdirs="$ltrpathdirs $found_dir"
27369 if test "$hardcode_direct" = yes; then
27370 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27371 else
27372 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
27373 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27374 haveit=
27375 for x in $rpathdirs; do
27376 if test "X$x" = "X$found_dir"; then
27377 haveit=yes
27378 break
27380 done
27381 if test -z "$haveit"; then
27382 rpathdirs="$rpathdirs $found_dir"
27384 else
27385 haveit=
27386 for x in $LDFLAGS $LIBICONV; do
27388 acl_save_prefix="$prefix"
27389 prefix="$acl_final_prefix"
27390 acl_save_exec_prefix="$exec_prefix"
27391 exec_prefix="$acl_final_exec_prefix"
27392 eval x=\"$x\"
27393 exec_prefix="$acl_save_exec_prefix"
27394 prefix="$acl_save_prefix"
27396 if test "X$x" = "X-L$found_dir"; then
27397 haveit=yes
27398 break
27400 done
27401 if test -z "$haveit"; then
27402 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
27404 if test "$hardcode_minus_L" != no; then
27405 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27406 else
27407 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
27412 else
27413 if test "X$found_a" != "X"; then
27414 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
27415 else
27416 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
27419 additional_includedir=
27420 case "$found_dir" in
27421 */lib | */lib/)
27422 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
27423 additional_includedir="$basedir/include"
27425 esac
27426 if test "X$additional_includedir" != "X"; then
27427 if test "X$additional_includedir" != "X/usr/include"; then
27428 haveit=
27429 if test "X$additional_includedir" = "X/usr/local/include"; then
27430 if test -n "$GCC"; then
27431 case $host_os in
27432 linux*) haveit=yes;;
27433 esac
27436 if test -z "$haveit"; then
27437 for x in $CPPFLAGS $INCICONV; do
27439 acl_save_prefix="$prefix"
27440 prefix="$acl_final_prefix"
27441 acl_save_exec_prefix="$exec_prefix"
27442 exec_prefix="$acl_final_exec_prefix"
27443 eval x=\"$x\"
27444 exec_prefix="$acl_save_exec_prefix"
27445 prefix="$acl_save_prefix"
27447 if test "X$x" = "X-I$additional_includedir"; then
27448 haveit=yes
27449 break
27451 done
27452 if test -z "$haveit"; then
27453 if test -d "$additional_includedir"; then
27454 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
27460 if test -n "$found_la"; then
27461 save_libdir="$libdir"
27462 case "$found_la" in
27463 */* | *\\*) . "$found_la" ;;
27464 *) . "./$found_la" ;;
27465 esac
27466 libdir="$save_libdir"
27467 for dep in $dependency_libs; do
27468 case "$dep" in
27469 -L*)
27470 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
27471 if test "X$additional_libdir" != "X/usr/lib"; then
27472 haveit=
27473 if test "X$additional_libdir" = "X/usr/local/lib"; then
27474 if test -n "$GCC"; then
27475 case $host_os in
27476 linux*) haveit=yes;;
27477 esac
27480 if test -z "$haveit"; then
27481 haveit=
27482 for x in $LDFLAGS $LIBICONV; do
27484 acl_save_prefix="$prefix"
27485 prefix="$acl_final_prefix"
27486 acl_save_exec_prefix="$exec_prefix"
27487 exec_prefix="$acl_final_exec_prefix"
27488 eval x=\"$x\"
27489 exec_prefix="$acl_save_exec_prefix"
27490 prefix="$acl_save_prefix"
27492 if test "X$x" = "X-L$additional_libdir"; then
27493 haveit=yes
27494 break
27496 done
27497 if test -z "$haveit"; then
27498 if test -d "$additional_libdir"; then
27499 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
27502 haveit=
27503 for x in $LDFLAGS $LTLIBICONV; do
27505 acl_save_prefix="$prefix"
27506 prefix="$acl_final_prefix"
27507 acl_save_exec_prefix="$exec_prefix"
27508 exec_prefix="$acl_final_exec_prefix"
27509 eval x=\"$x\"
27510 exec_prefix="$acl_save_exec_prefix"
27511 prefix="$acl_save_prefix"
27513 if test "X$x" = "X-L$additional_libdir"; then
27514 haveit=yes
27515 break
27517 done
27518 if test -z "$haveit"; then
27519 if test -d "$additional_libdir"; then
27520 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
27526 -R*)
27527 dir=`echo "X$dep" | sed -e 's/^X-R//'`
27528 if test "$enable_rpath" != no; then
27529 haveit=
27530 for x in $rpathdirs; do
27531 if test "X$x" = "X$dir"; then
27532 haveit=yes
27533 break
27535 done
27536 if test -z "$haveit"; then
27537 rpathdirs="$rpathdirs $dir"
27539 haveit=
27540 for x in $ltrpathdirs; do
27541 if test "X$x" = "X$dir"; then
27542 haveit=yes
27543 break
27545 done
27546 if test -z "$haveit"; then
27547 ltrpathdirs="$ltrpathdirs $dir"
27551 -l*)
27552 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
27554 *.la)
27555 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
27558 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
27559 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
27561 esac
27562 done
27564 else
27565 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
27566 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
27570 done
27571 done
27572 if test "X$rpathdirs" != "X"; then
27573 if test -n "$hardcode_libdir_separator"; then
27574 alldirs=
27575 for found_dir in $rpathdirs; do
27576 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
27577 done
27578 acl_save_libdir="$libdir"
27579 libdir="$alldirs"
27580 eval flag=\"$hardcode_libdir_flag_spec\"
27581 libdir="$acl_save_libdir"
27582 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27583 else
27584 for found_dir in $rpathdirs; do
27585 acl_save_libdir="$libdir"
27586 libdir="$found_dir"
27587 eval flag=\"$hardcode_libdir_flag_spec\"
27588 libdir="$acl_save_libdir"
27589 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27590 done
27593 if test "X$ltrpathdirs" != "X"; then
27594 for found_dir in $ltrpathdirs; do
27595 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
27596 done
27605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
27606 $as_echo_n "checking for iconv... " >&6; }
27607 if test "${am_cv_func_iconv+set}" = set; then :
27608 $as_echo_n "(cached) " >&6
27609 else
27611 am_cv_func_iconv="no, consider installing GNU libiconv"
27612 am_cv_lib_iconv=no
27613 am_save_CPPFLAGS="$CPPFLAGS"
27614 CPPFLAGS="$CPPFLAGS $INCICONV"
27615 if test x$gcc_no_link = xyes; then
27616 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27619 /* end confdefs.h. */
27620 #include <stdlib.h>
27621 #include <iconv.h>
27623 main ()
27625 iconv_t cd = iconv_open("","");
27626 iconv(cd,NULL,NULL,NULL,NULL);
27627 iconv_close(cd);
27629 return 0;
27631 _ACEOF
27632 if ac_fn_c_try_link "$LINENO"; then :
27633 am_cv_func_iconv=yes
27635 rm -f core conftest.err conftest.$ac_objext \
27636 conftest$ac_exeext conftest.$ac_ext
27637 CPPFLAGS="$am_save_CPPFLAGS"
27639 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
27640 for _libs in .libs _libs; do
27641 am_save_CPPFLAGS="$CPPFLAGS"
27642 am_save_LIBS="$LIBS"
27643 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
27644 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
27645 if test x$gcc_no_link = xyes; then
27646 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27649 /* end confdefs.h. */
27650 #include <stdlib.h>
27651 #include <iconv.h>
27653 main ()
27655 iconv_t cd = iconv_open("","");
27656 iconv(cd,NULL,NULL,NULL,NULL);
27657 iconv_close(cd);
27659 return 0;
27661 _ACEOF
27662 if ac_fn_c_try_link "$LINENO"; then :
27663 INCICONV="-I../libiconv/include"
27664 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
27665 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
27666 am_cv_lib_iconv=yes
27667 am_cv_func_iconv=yes
27669 rm -f core conftest.err conftest.$ac_objext \
27670 conftest$ac_exeext conftest.$ac_ext
27671 CPPFLAGS="$am_save_CPPFLAGS"
27672 LIBS="$am_save_LIBS"
27673 if test "$am_cv_func_iconv" = "yes"; then
27674 break
27676 done
27679 if test "$am_cv_func_iconv" != yes; then
27680 am_save_CPPFLAGS="$CPPFLAGS"
27681 am_save_LIBS="$LIBS"
27682 CPPFLAGS="$LIBS $INCICONV"
27683 LIBS="$LIBS $LIBICONV"
27684 if test x$gcc_no_link = xyes; then
27685 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27688 /* end confdefs.h. */
27689 #include <stdlib.h>
27690 #include <iconv.h>
27692 main ()
27694 iconv_t cd = iconv_open("","");
27695 iconv(cd,NULL,NULL,NULL,NULL);
27696 iconv_close(cd);
27698 return 0;
27700 _ACEOF
27701 if ac_fn_c_try_link "$LINENO"; then :
27702 am_cv_lib_iconv=yes
27703 am_cv_func_iconv=yes
27705 rm -f core conftest.err conftest.$ac_objext \
27706 conftest$ac_exeext conftest.$ac_ext
27707 CPPFLAGS="$am_save_CPPFLAGS"
27708 LIBS="$am_save_LIBS"
27712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
27713 $as_echo "$am_cv_func_iconv" >&6; }
27714 if test "$am_cv_func_iconv" = yes; then
27716 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27719 if test "$am_cv_lib_iconv" = yes; then
27721 for element in $INCICONV; do
27722 haveit=
27723 for x in $CPPFLAGS; do
27725 acl_save_prefix="$prefix"
27726 prefix="$acl_final_prefix"
27727 acl_save_exec_prefix="$exec_prefix"
27728 exec_prefix="$acl_final_exec_prefix"
27729 eval x=\"$x\"
27730 exec_prefix="$acl_save_exec_prefix"
27731 prefix="$acl_save_prefix"
27733 if test "X$x" = "X$element"; then
27734 haveit=yes
27735 break
27737 done
27738 if test -z "$haveit"; then
27739 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
27741 done
27743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
27744 $as_echo_n "checking how to link with libiconv... " >&6; }
27745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
27746 $as_echo "$LIBICONV" >&6; }
27747 else
27748 LIBICONV=
27749 LTLIBICONV=
27754 if test "$am_cv_func_iconv" = yes; then
27755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
27756 $as_echo_n "checking for iconv declaration... " >&6; }
27757 if test "${am_cv_proto_iconv+set}" = set; then :
27758 $as_echo_n "(cached) " >&6
27759 else
27761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27762 /* end confdefs.h. */
27764 #include <stdlib.h>
27765 #include <iconv.h>
27766 extern
27767 #ifdef __cplusplus
27769 #endif
27770 #if defined(__STDC__) || defined(__cplusplus)
27771 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
27772 #else
27773 size_t iconv();
27774 #endif
27777 main ()
27781 return 0;
27783 _ACEOF
27784 if ac_fn_c_try_compile "$LINENO"; then :
27785 am_cv_proto_iconv_arg1=""
27786 else
27787 am_cv_proto_iconv_arg1="const"
27789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27790 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);"
27793 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
27794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
27795 }$am_cv_proto_iconv" >&5
27796 $as_echo "${ac_t:-
27797 }$am_cv_proto_iconv" >&6; }
27799 cat >>confdefs.h <<_ACEOF
27800 #define ICONV_CONST $am_cv_proto_iconv_arg1
27801 _ACEOF
27806 else
27808 # This lets us hard-code the functionality we know we'll have in the cross
27809 # target environment. "Let" is a sugar-coated word placed on an especially
27810 # dull and tedious hack, actually.
27812 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
27813 # that involve linking, can't be used:
27814 # "cannot open sim-crt0.o"
27815 # "cannot open crt0.o"
27816 # etc. All this is because there currently exists no unified, consistent
27817 # way for top level CC information to be passed down to target directories:
27818 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
27819 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
27820 # crosses can be removed.
27822 # If Canadian cross, then don't pick up tools from the build directory.
27823 # Used only in GLIBCXX_EXPORT_INCLUDES.
27824 if test -n "$with_cross_host" &&
27825 test x"$build_alias" != x"$with_cross_host" &&
27826 test x"$build" != x"$target";
27827 then
27828 CANADIAN=yes
27829 else
27830 CANADIAN=no
27833 # Construct crosses by hand, eliminating bits that need ld...
27834 # GLIBCXX_CHECK_MATH_SUPPORT
27836 # First, test for "known" system libraries. We may be using newlib even
27837 # on a hosted environment.
27838 if test "x${with_newlib}" = "xyes"; then
27839 os_include_dir="os/newlib"
27840 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
27843 # GLIBCXX_CHECK_STDLIB_SUPPORT
27844 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
27847 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
27849 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
27851 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
27853 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
27855 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
27857 $as_echo "#define HAVE_COSF 1" >>confdefs.h
27859 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
27861 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
27863 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
27865 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
27867 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
27869 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
27871 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
27873 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
27875 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
27877 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
27879 $as_echo "#define HAVE_POWF 1" >>confdefs.h
27881 $as_echo "#define HAVE_SINF 1" >>confdefs.h
27883 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
27885 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
27887 $as_echo "#define HAVE_TANF 1" >>confdefs.h
27889 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
27892 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27894 else
27896 # Base decisions on target environment.
27897 case "${host}" in
27898 arm*-*-symbianelf*)
27899 # This is a freestanding configuration; there is nothing to do here.
27902 mips*-sde-elf*)
27903 # These definitions are for the SDE C library rather than newlib.
27904 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27907 # All these tests are for C++; save the language and the compiler flags.
27908 # The CXXFLAGS thing is suspicious, but based on similar bits previously
27909 # found in GLIBCXX_CONFIGURE.
27911 ac_ext=cpp
27912 ac_cpp='$CXXCPP $CPPFLAGS'
27913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27917 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27918 ac_save_CXXFLAGS="$CXXFLAGS"
27920 # Check for maintainer-mode bits.
27921 if test x"$USE_MAINTAINER_MODE" = xno; then
27922 WERROR=''
27923 else
27924 WERROR='-Werror'
27927 # Check for -ffunction-sections -fdata-sections
27928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
27929 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
27930 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
27931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27932 /* end confdefs.h. */
27933 int foo; void bar() { };
27935 main ()
27939 return 0;
27941 _ACEOF
27942 if ac_fn_cxx_try_compile "$LINENO"; then :
27943 ac_fdsections=yes
27944 else
27945 ac_fdsections=no
27947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27948 if test "$ac_test_CXXFLAGS" = set; then
27949 CXXFLAGS="$ac_save_CXXFLAGS"
27950 else
27951 # this is the suspicious part
27952 CXXFLAGS=''
27954 if test x"$ac_fdsections" = x"yes"; then
27955 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
27958 $as_echo "$ac_fdsections" >&6; }
27960 ac_ext=c
27961 ac_cpp='$CPP $CPPFLAGS'
27962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27970 # If we're not using GNU ld, then there's no point in even trying these
27971 # tests. Check for that first. We should have already tested for gld
27972 # by now (in libtool), but require it now just to be safe...
27973 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
27974 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
27978 # The name set by libtool depends on the version of libtool. Shame on us
27979 # for depending on an impl detail, but c'est la vie. Older versions used
27980 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
27981 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
27982 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
27983 # set (hence we're using an older libtool), then set it.
27984 if test x${with_gnu_ld+set} != xset; then
27985 if test x${ac_cv_prog_gnu_ld+set} != xset; then
27986 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
27987 with_gnu_ld=no
27988 else
27989 with_gnu_ld=$ac_cv_prog_gnu_ld
27993 # Start by getting the version number. I think the libtool test already
27994 # does some of this, but throws away the result.
27995 glibcxx_ld_is_gold=no
27996 if test x"$with_gnu_ld" = x"yes"; then
27997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
27998 $as_echo_n "checking for ld version... " >&6; }
28000 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
28001 glibcxx_ld_is_gold=yes
28003 ldver=`$LD --version 2>/dev/null |
28004 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'`
28006 glibcxx_gnu_ld_version=`echo $ldver | \
28007 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
28008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
28009 $as_echo "$glibcxx_gnu_ld_version" >&6; }
28012 # Set --gc-sections.
28013 glibcxx_have_gc_sections=no
28014 if test "$glibcxx_ld_is_gold" = "yes"; then
28015 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
28016 glibcxx_have_gc_sections=yes
28018 else
28019 glibcxx_gcsections_min_ld=21602
28020 if test x"$with_gnu_ld" = x"yes" &&
28021 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
28022 glibcxx_have_gc_sections=yes
28025 if test "$glibcxx_have_gc_sections" = "yes"; then
28026 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
28027 # NB: This flag only works reliably after 2.16.1. Configure tests
28028 # for this are difficult, so hard wire a value that should work.
28030 ac_test_CFLAGS="${CFLAGS+set}"
28031 ac_save_CFLAGS="$CFLAGS"
28032 CFLAGS='-Wl,--gc-sections'
28034 # Check for -Wl,--gc-sections
28035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
28036 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
28037 if test x$gcc_no_link = xyes; then
28038 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28041 /* end confdefs.h. */
28042 int one(void) { return 1; }
28043 int two(void) { return 2; }
28046 main ()
28048 two();
28050 return 0;
28052 _ACEOF
28053 if ac_fn_c_try_link "$LINENO"; then :
28054 ac_gcsections=yes
28055 else
28056 ac_gcsections=no
28058 rm -f core conftest.err conftest.$ac_objext \
28059 conftest$ac_exeext conftest.$ac_ext
28060 if test "$ac_gcsections" = "yes"; then
28061 rm -f conftest.c
28062 touch conftest.c
28063 if $CC -c conftest.c; then
28064 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
28065 grep "Warning: gc-sections option ignored" > /dev/null; then
28066 ac_gcsections=no
28069 rm -f conftest.c conftest.o conftest
28071 if test "$ac_gcsections" = "yes"; then
28072 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
28074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
28075 $as_echo "$ac_gcsections" >&6; }
28077 if test "$ac_test_CFLAGS" = set; then
28078 CFLAGS="$ac_save_CFLAGS"
28079 else
28080 # this is the suspicious part
28081 CFLAGS=''
28085 # Set -z,relro.
28086 # Note this is only for shared objects.
28087 ac_ld_relro=no
28088 if test x"$with_gnu_ld" = x"yes"; then
28089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
28090 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
28091 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
28092 if test -n "$cxx_z_relo"; then
28093 OPT_LDFLAGS="-Wl,-z,relro"
28094 ac_ld_relro=yes
28096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
28097 $as_echo "$ac_ld_relro" >&6; }
28100 # Set linker optimization flags.
28101 if test x"$with_gnu_ld" = x"yes"; then
28102 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
28109 ac_test_CXXFLAGS="${CXXFLAGS+set}"
28110 ac_save_CXXFLAGS="$CXXFLAGS"
28111 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
28113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
28114 $as_echo_n "checking for sin in -lm... " >&6; }
28115 if test "${ac_cv_lib_m_sin+set}" = set; then :
28116 $as_echo_n "(cached) " >&6
28117 else
28118 ac_check_lib_save_LIBS=$LIBS
28119 LIBS="-lm $LIBS"
28120 if test x$gcc_no_link = xyes; then
28121 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28124 /* end confdefs.h. */
28126 /* Override any GCC internal prototype to avoid an error.
28127 Use char because int might match the return type of a GCC
28128 builtin and then its argument prototype would still apply. */
28129 #ifdef __cplusplus
28130 extern "C"
28131 #endif
28132 char sin ();
28134 main ()
28136 return sin ();
28138 return 0;
28140 _ACEOF
28141 if ac_fn_c_try_link "$LINENO"; then :
28142 ac_cv_lib_m_sin=yes
28143 else
28144 ac_cv_lib_m_sin=no
28146 rm -f core conftest.err conftest.$ac_objext \
28147 conftest$ac_exeext conftest.$ac_ext
28148 LIBS=$ac_check_lib_save_LIBS
28150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
28151 $as_echo "$ac_cv_lib_m_sin" >&6; }
28152 if test "x$ac_cv_lib_m_sin" = x""yes; then :
28153 libm="-lm"
28156 ac_save_LIBS="$LIBS"
28157 LIBS="$LIBS $libm"
28161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
28162 $as_echo_n "checking for isinf declaration... " >&6; }
28163 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
28164 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
28165 $as_echo_n "(cached) " >&6
28166 else
28169 ac_ext=cpp
28170 ac_cpp='$CXXCPP $CPPFLAGS'
28171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28176 /* end confdefs.h. */
28177 #include <math.h>
28178 #ifdef HAVE_IEEEFP_H
28179 #include <ieeefp.h>
28180 #endif
28183 main ()
28185 isinf(0);
28187 return 0;
28189 _ACEOF
28190 if ac_fn_cxx_try_compile "$LINENO"; then :
28191 glibcxx_cv_func_isinf_use=yes
28192 else
28193 glibcxx_cv_func_isinf_use=no
28195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28196 ac_ext=c
28197 ac_cpp='$CPP $CPPFLAGS'
28198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
28207 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
28209 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
28210 for ac_func in isinf
28211 do :
28212 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
28213 if test "x$ac_cv_func_isinf" = x""yes; then :
28214 cat >>confdefs.h <<_ACEOF
28215 #define HAVE_ISINF 1
28216 _ACEOF
28219 done
28221 else
28223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
28224 $as_echo_n "checking for _isinf declaration... " >&6; }
28225 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
28226 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
28227 $as_echo_n "(cached) " >&6
28228 else
28231 ac_ext=cpp
28232 ac_cpp='$CXXCPP $CPPFLAGS'
28233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28238 /* end confdefs.h. */
28239 #include <math.h>
28240 #ifdef HAVE_IEEEFP_H
28241 #include <ieeefp.h>
28242 #endif
28245 main ()
28247 _isinf(0);
28249 return 0;
28251 _ACEOF
28252 if ac_fn_cxx_try_compile "$LINENO"; then :
28253 glibcxx_cv_func__isinf_use=yes
28254 else
28255 glibcxx_cv_func__isinf_use=no
28257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28258 ac_ext=c
28259 ac_cpp='$CPP $CPPFLAGS'
28260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
28269 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
28271 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
28272 for ac_func in _isinf
28273 do :
28274 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
28275 if test "x$ac_cv_func__isinf" = x""yes; then :
28276 cat >>confdefs.h <<_ACEOF
28277 #define HAVE__ISINF 1
28278 _ACEOF
28281 done
28290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
28291 $as_echo_n "checking for isnan declaration... " >&6; }
28292 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
28293 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
28294 $as_echo_n "(cached) " >&6
28295 else
28298 ac_ext=cpp
28299 ac_cpp='$CXXCPP $CPPFLAGS'
28300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28305 /* end confdefs.h. */
28306 #include <math.h>
28307 #ifdef HAVE_IEEEFP_H
28308 #include <ieeefp.h>
28309 #endif
28312 main ()
28314 isnan(0);
28316 return 0;
28318 _ACEOF
28319 if ac_fn_cxx_try_compile "$LINENO"; then :
28320 glibcxx_cv_func_isnan_use=yes
28321 else
28322 glibcxx_cv_func_isnan_use=no
28324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28325 ac_ext=c
28326 ac_cpp='$CPP $CPPFLAGS'
28327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
28336 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
28338 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
28339 for ac_func in isnan
28340 do :
28341 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
28342 if test "x$ac_cv_func_isnan" = x""yes; then :
28343 cat >>confdefs.h <<_ACEOF
28344 #define HAVE_ISNAN 1
28345 _ACEOF
28348 done
28350 else
28352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
28353 $as_echo_n "checking for _isnan declaration... " >&6; }
28354 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
28355 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
28356 $as_echo_n "(cached) " >&6
28357 else
28360 ac_ext=cpp
28361 ac_cpp='$CXXCPP $CPPFLAGS'
28362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28367 /* end confdefs.h. */
28368 #include <math.h>
28369 #ifdef HAVE_IEEEFP_H
28370 #include <ieeefp.h>
28371 #endif
28374 main ()
28376 _isnan(0);
28378 return 0;
28380 _ACEOF
28381 if ac_fn_cxx_try_compile "$LINENO"; then :
28382 glibcxx_cv_func__isnan_use=yes
28383 else
28384 glibcxx_cv_func__isnan_use=no
28386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28387 ac_ext=c
28388 ac_cpp='$CPP $CPPFLAGS'
28389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
28398 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
28400 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
28401 for ac_func in _isnan
28402 do :
28403 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
28404 if test "x$ac_cv_func__isnan" = x""yes; then :
28405 cat >>confdefs.h <<_ACEOF
28406 #define HAVE__ISNAN 1
28407 _ACEOF
28410 done
28419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
28420 $as_echo_n "checking for finite declaration... " >&6; }
28421 if test x${glibcxx_cv_func_finite_use+set} != xset; then
28422 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
28423 $as_echo_n "(cached) " >&6
28424 else
28427 ac_ext=cpp
28428 ac_cpp='$CXXCPP $CPPFLAGS'
28429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28434 /* end confdefs.h. */
28435 #include <math.h>
28436 #ifdef HAVE_IEEEFP_H
28437 #include <ieeefp.h>
28438 #endif
28441 main ()
28443 finite(0);
28445 return 0;
28447 _ACEOF
28448 if ac_fn_cxx_try_compile "$LINENO"; then :
28449 glibcxx_cv_func_finite_use=yes
28450 else
28451 glibcxx_cv_func_finite_use=no
28453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28454 ac_ext=c
28455 ac_cpp='$CPP $CPPFLAGS'
28456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
28465 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
28467 if test x$glibcxx_cv_func_finite_use = x"yes"; then
28468 for ac_func in finite
28469 do :
28470 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
28471 if test "x$ac_cv_func_finite" = x""yes; then :
28472 cat >>confdefs.h <<_ACEOF
28473 #define HAVE_FINITE 1
28474 _ACEOF
28477 done
28479 else
28481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
28482 $as_echo_n "checking for _finite declaration... " >&6; }
28483 if test x${glibcxx_cv_func__finite_use+set} != xset; then
28484 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
28485 $as_echo_n "(cached) " >&6
28486 else
28489 ac_ext=cpp
28490 ac_cpp='$CXXCPP $CPPFLAGS'
28491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28496 /* end confdefs.h. */
28497 #include <math.h>
28498 #ifdef HAVE_IEEEFP_H
28499 #include <ieeefp.h>
28500 #endif
28503 main ()
28505 _finite(0);
28507 return 0;
28509 _ACEOF
28510 if ac_fn_cxx_try_compile "$LINENO"; then :
28511 glibcxx_cv_func__finite_use=yes
28512 else
28513 glibcxx_cv_func__finite_use=no
28515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28516 ac_ext=c
28517 ac_cpp='$CPP $CPPFLAGS'
28518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
28527 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
28529 if test x$glibcxx_cv_func__finite_use = x"yes"; then
28530 for ac_func in _finite
28531 do :
28532 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
28533 if test "x$ac_cv_func__finite" = x""yes; then :
28534 cat >>confdefs.h <<_ACEOF
28535 #define HAVE__FINITE 1
28536 _ACEOF
28539 done
28548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
28549 $as_echo_n "checking for sincos declaration... " >&6; }
28550 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
28551 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
28552 $as_echo_n "(cached) " >&6
28553 else
28556 ac_ext=cpp
28557 ac_cpp='$CXXCPP $CPPFLAGS'
28558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28563 /* end confdefs.h. */
28564 #include <math.h>
28566 main ()
28568 sincos(0, 0, 0);
28570 return 0;
28572 _ACEOF
28573 if ac_fn_cxx_try_compile "$LINENO"; then :
28574 glibcxx_cv_func_sincos_use=yes
28575 else
28576 glibcxx_cv_func_sincos_use=no
28578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28579 ac_ext=c
28580 ac_cpp='$CPP $CPPFLAGS'
28581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
28590 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
28592 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
28593 for ac_func in sincos
28594 do :
28595 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
28596 if test "x$ac_cv_func_sincos" = x""yes; then :
28597 cat >>confdefs.h <<_ACEOF
28598 #define HAVE_SINCOS 1
28599 _ACEOF
28602 done
28604 else
28606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
28607 $as_echo_n "checking for _sincos declaration... " >&6; }
28608 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
28609 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
28610 $as_echo_n "(cached) " >&6
28611 else
28614 ac_ext=cpp
28615 ac_cpp='$CXXCPP $CPPFLAGS'
28616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28621 /* end confdefs.h. */
28622 #include <math.h>
28624 main ()
28626 _sincos(0, 0, 0);
28628 return 0;
28630 _ACEOF
28631 if ac_fn_cxx_try_compile "$LINENO"; then :
28632 glibcxx_cv_func__sincos_use=yes
28633 else
28634 glibcxx_cv_func__sincos_use=no
28636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28637 ac_ext=c
28638 ac_cpp='$CPP $CPPFLAGS'
28639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
28648 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
28650 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
28651 for ac_func in _sincos
28652 do :
28653 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
28654 if test "x$ac_cv_func__sincos" = x""yes; then :
28655 cat >>confdefs.h <<_ACEOF
28656 #define HAVE__SINCOS 1
28657 _ACEOF
28660 done
28669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
28670 $as_echo_n "checking for fpclass declaration... " >&6; }
28671 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
28672 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
28673 $as_echo_n "(cached) " >&6
28674 else
28677 ac_ext=cpp
28678 ac_cpp='$CXXCPP $CPPFLAGS'
28679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28684 /* end confdefs.h. */
28685 #include <math.h>
28686 #ifdef HAVE_IEEEFP_H
28687 #include <ieeefp.h>
28688 #endif
28691 main ()
28693 fpclass(0);
28695 return 0;
28697 _ACEOF
28698 if ac_fn_cxx_try_compile "$LINENO"; then :
28699 glibcxx_cv_func_fpclass_use=yes
28700 else
28701 glibcxx_cv_func_fpclass_use=no
28703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28704 ac_ext=c
28705 ac_cpp='$CPP $CPPFLAGS'
28706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
28715 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
28717 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
28718 for ac_func in fpclass
28719 do :
28720 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
28721 if test "x$ac_cv_func_fpclass" = x""yes; then :
28722 cat >>confdefs.h <<_ACEOF
28723 #define HAVE_FPCLASS 1
28724 _ACEOF
28727 done
28729 else
28731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
28732 $as_echo_n "checking for _fpclass declaration... " >&6; }
28733 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
28734 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
28735 $as_echo_n "(cached) " >&6
28736 else
28739 ac_ext=cpp
28740 ac_cpp='$CXXCPP $CPPFLAGS'
28741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28746 /* end confdefs.h. */
28747 #include <math.h>
28748 #ifdef HAVE_IEEEFP_H
28749 #include <ieeefp.h>
28750 #endif
28753 main ()
28755 _fpclass(0);
28757 return 0;
28759 _ACEOF
28760 if ac_fn_cxx_try_compile "$LINENO"; then :
28761 glibcxx_cv_func__fpclass_use=yes
28762 else
28763 glibcxx_cv_func__fpclass_use=no
28765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28766 ac_ext=c
28767 ac_cpp='$CPP $CPPFLAGS'
28768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
28777 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
28779 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
28780 for ac_func in _fpclass
28781 do :
28782 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
28783 if test "x$ac_cv_func__fpclass" = x""yes; then :
28784 cat >>confdefs.h <<_ACEOF
28785 #define HAVE__FPCLASS 1
28786 _ACEOF
28789 done
28798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
28799 $as_echo_n "checking for qfpclass declaration... " >&6; }
28800 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
28801 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
28802 $as_echo_n "(cached) " >&6
28803 else
28806 ac_ext=cpp
28807 ac_cpp='$CXXCPP $CPPFLAGS'
28808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28813 /* end confdefs.h. */
28814 #include <math.h>
28815 #ifdef HAVE_IEEEFP_H
28816 #include <ieeefp.h>
28817 #endif
28820 main ()
28822 qfpclass(0);
28824 return 0;
28826 _ACEOF
28827 if ac_fn_cxx_try_compile "$LINENO"; then :
28828 glibcxx_cv_func_qfpclass_use=yes
28829 else
28830 glibcxx_cv_func_qfpclass_use=no
28832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28833 ac_ext=c
28834 ac_cpp='$CPP $CPPFLAGS'
28835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
28844 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
28846 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
28847 for ac_func in qfpclass
28848 do :
28849 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
28850 if test "x$ac_cv_func_qfpclass" = x""yes; then :
28851 cat >>confdefs.h <<_ACEOF
28852 #define HAVE_QFPCLASS 1
28853 _ACEOF
28856 done
28858 else
28860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
28861 $as_echo_n "checking for _qfpclass declaration... " >&6; }
28862 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
28863 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
28864 $as_echo_n "(cached) " >&6
28865 else
28868 ac_ext=cpp
28869 ac_cpp='$CXXCPP $CPPFLAGS'
28870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28875 /* end confdefs.h. */
28876 #include <math.h>
28877 #ifdef HAVE_IEEEFP_H
28878 #include <ieeefp.h>
28879 #endif
28882 main ()
28884 _qfpclass(0);
28886 return 0;
28888 _ACEOF
28889 if ac_fn_cxx_try_compile "$LINENO"; then :
28890 glibcxx_cv_func__qfpclass_use=yes
28891 else
28892 glibcxx_cv_func__qfpclass_use=no
28894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28895 ac_ext=c
28896 ac_cpp='$CPP $CPPFLAGS'
28897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
28906 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
28908 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
28909 for ac_func in _qfpclass
28910 do :
28911 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
28912 if test "x$ac_cv_func__qfpclass" = x""yes; then :
28913 cat >>confdefs.h <<_ACEOF
28914 #define HAVE__QFPCLASS 1
28915 _ACEOF
28918 done
28927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
28928 $as_echo_n "checking for hypot declaration... " >&6; }
28929 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
28930 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
28931 $as_echo_n "(cached) " >&6
28932 else
28935 ac_ext=cpp
28936 ac_cpp='$CXXCPP $CPPFLAGS'
28937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28942 /* end confdefs.h. */
28943 #include <math.h>
28945 main ()
28947 hypot(0, 0);
28949 return 0;
28951 _ACEOF
28952 if ac_fn_cxx_try_compile "$LINENO"; then :
28953 glibcxx_cv_func_hypot_use=yes
28954 else
28955 glibcxx_cv_func_hypot_use=no
28957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28958 ac_ext=c
28959 ac_cpp='$CPP $CPPFLAGS'
28960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
28969 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
28971 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
28972 for ac_func in hypot
28973 do :
28974 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
28975 if test "x$ac_cv_func_hypot" = x""yes; then :
28976 cat >>confdefs.h <<_ACEOF
28977 #define HAVE_HYPOT 1
28978 _ACEOF
28981 done
28983 else
28985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
28986 $as_echo_n "checking for _hypot declaration... " >&6; }
28987 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
28988 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
28989 $as_echo_n "(cached) " >&6
28990 else
28993 ac_ext=cpp
28994 ac_cpp='$CXXCPP $CPPFLAGS'
28995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29000 /* end confdefs.h. */
29001 #include <math.h>
29003 main ()
29005 _hypot(0, 0);
29007 return 0;
29009 _ACEOF
29010 if ac_fn_cxx_try_compile "$LINENO"; then :
29011 glibcxx_cv_func__hypot_use=yes
29012 else
29013 glibcxx_cv_func__hypot_use=no
29015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29016 ac_ext=c
29017 ac_cpp='$CPP $CPPFLAGS'
29018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
29027 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
29029 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
29030 for ac_func in _hypot
29031 do :
29032 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
29033 if test "x$ac_cv_func__hypot" = x""yes; then :
29034 cat >>confdefs.h <<_ACEOF
29035 #define HAVE__HYPOT 1
29036 _ACEOF
29039 done
29048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
29049 $as_echo_n "checking for float trig functions... " >&6; }
29050 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
29051 $as_echo_n "(cached) " >&6
29052 else
29055 ac_ext=cpp
29056 ac_cpp='$CXXCPP $CPPFLAGS'
29057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29062 /* end confdefs.h. */
29063 #include <math.h>
29065 main ()
29067 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
29069 return 0;
29071 _ACEOF
29072 if ac_fn_cxx_try_compile "$LINENO"; then :
29073 glibcxx_cv_func_float_trig_use=yes
29074 else
29075 glibcxx_cv_func_float_trig_use=no
29077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29078 ac_ext=c
29079 ac_cpp='$CPP $CPPFLAGS'
29080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
29087 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
29088 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
29089 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
29090 do :
29091 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29092 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29093 eval as_val=\$$as_ac_var
29094 if test "x$as_val" = x""yes; then :
29095 cat >>confdefs.h <<_ACEOF
29096 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29097 _ACEOF
29100 done
29102 else
29103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
29104 $as_echo_n "checking for _float trig functions... " >&6; }
29105 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
29106 $as_echo_n "(cached) " >&6
29107 else
29110 ac_ext=cpp
29111 ac_cpp='$CXXCPP $CPPFLAGS'
29112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29117 /* end confdefs.h. */
29118 #include <math.h>
29120 main ()
29122 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
29124 return 0;
29126 _ACEOF
29127 if ac_fn_cxx_try_compile "$LINENO"; then :
29128 glibcxx_cv_func__float_trig_use=yes
29129 else
29130 glibcxx_cv_func__float_trig_use=no
29132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29133 ac_ext=c
29134 ac_cpp='$CPP $CPPFLAGS'
29135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
29142 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
29143 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
29144 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
29145 do :
29146 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29147 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29148 eval as_val=\$$as_ac_var
29149 if test "x$as_val" = x""yes; then :
29150 cat >>confdefs.h <<_ACEOF
29151 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29152 _ACEOF
29155 done
29164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
29165 $as_echo_n "checking for float round functions... " >&6; }
29166 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
29167 $as_echo_n "(cached) " >&6
29168 else
29171 ac_ext=cpp
29172 ac_cpp='$CXXCPP $CPPFLAGS'
29173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29178 /* end confdefs.h. */
29179 #include <math.h>
29181 main ()
29183 ceilf (0); floorf (0);
29185 return 0;
29187 _ACEOF
29188 if ac_fn_cxx_try_compile "$LINENO"; then :
29189 glibcxx_cv_func_float_round_use=yes
29190 else
29191 glibcxx_cv_func_float_round_use=no
29193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29194 ac_ext=c
29195 ac_cpp='$CPP $CPPFLAGS'
29196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
29203 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
29204 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
29205 for ac_func in ceilf floorf
29206 do :
29207 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29208 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29209 eval as_val=\$$as_ac_var
29210 if test "x$as_val" = x""yes; then :
29211 cat >>confdefs.h <<_ACEOF
29212 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29213 _ACEOF
29216 done
29218 else
29219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
29220 $as_echo_n "checking for _float round functions... " >&6; }
29221 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
29222 $as_echo_n "(cached) " >&6
29223 else
29226 ac_ext=cpp
29227 ac_cpp='$CXXCPP $CPPFLAGS'
29228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29233 /* end confdefs.h. */
29234 #include <math.h>
29236 main ()
29238 _ceilf (0); _floorf (0);
29240 return 0;
29242 _ACEOF
29243 if ac_fn_cxx_try_compile "$LINENO"; then :
29244 glibcxx_cv_func__float_round_use=yes
29245 else
29246 glibcxx_cv_func__float_round_use=no
29248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29249 ac_ext=c
29250 ac_cpp='$CPP $CPPFLAGS'
29251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
29258 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
29259 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
29260 for ac_func in _ceilf _floorf
29261 do :
29262 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29263 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29264 eval as_val=\$$as_ac_var
29265 if test "x$as_val" = x""yes; then :
29266 cat >>confdefs.h <<_ACEOF
29267 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29268 _ACEOF
29271 done
29281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
29282 $as_echo_n "checking for expf declaration... " >&6; }
29283 if test x${glibcxx_cv_func_expf_use+set} != xset; then
29284 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
29285 $as_echo_n "(cached) " >&6
29286 else
29289 ac_ext=cpp
29290 ac_cpp='$CXXCPP $CPPFLAGS'
29291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29296 /* end confdefs.h. */
29297 #include <math.h>
29298 #ifdef HAVE_IEEEFP_H
29299 #include <ieeefp.h>
29300 #endif
29303 main ()
29305 expf(0);
29307 return 0;
29309 _ACEOF
29310 if ac_fn_cxx_try_compile "$LINENO"; then :
29311 glibcxx_cv_func_expf_use=yes
29312 else
29313 glibcxx_cv_func_expf_use=no
29315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29316 ac_ext=c
29317 ac_cpp='$CPP $CPPFLAGS'
29318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
29327 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
29329 if test x$glibcxx_cv_func_expf_use = x"yes"; then
29330 for ac_func in expf
29331 do :
29332 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
29333 if test "x$ac_cv_func_expf" = x""yes; then :
29334 cat >>confdefs.h <<_ACEOF
29335 #define HAVE_EXPF 1
29336 _ACEOF
29339 done
29341 else
29343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
29344 $as_echo_n "checking for _expf declaration... " >&6; }
29345 if test x${glibcxx_cv_func__expf_use+set} != xset; then
29346 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
29347 $as_echo_n "(cached) " >&6
29348 else
29351 ac_ext=cpp
29352 ac_cpp='$CXXCPP $CPPFLAGS'
29353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29358 /* end confdefs.h. */
29359 #include <math.h>
29360 #ifdef HAVE_IEEEFP_H
29361 #include <ieeefp.h>
29362 #endif
29365 main ()
29367 _expf(0);
29369 return 0;
29371 _ACEOF
29372 if ac_fn_cxx_try_compile "$LINENO"; then :
29373 glibcxx_cv_func__expf_use=yes
29374 else
29375 glibcxx_cv_func__expf_use=no
29377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29378 ac_ext=c
29379 ac_cpp='$CPP $CPPFLAGS'
29380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
29389 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
29391 if test x$glibcxx_cv_func__expf_use = x"yes"; then
29392 for ac_func in _expf
29393 do :
29394 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
29395 if test "x$ac_cv_func__expf" = x""yes; then :
29396 cat >>confdefs.h <<_ACEOF
29397 #define HAVE__EXPF 1
29398 _ACEOF
29401 done
29410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
29411 $as_echo_n "checking for isnanf declaration... " >&6; }
29412 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
29413 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
29414 $as_echo_n "(cached) " >&6
29415 else
29418 ac_ext=cpp
29419 ac_cpp='$CXXCPP $CPPFLAGS'
29420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29425 /* end confdefs.h. */
29426 #include <math.h>
29427 #ifdef HAVE_IEEEFP_H
29428 #include <ieeefp.h>
29429 #endif
29432 main ()
29434 isnanf(0);
29436 return 0;
29438 _ACEOF
29439 if ac_fn_cxx_try_compile "$LINENO"; then :
29440 glibcxx_cv_func_isnanf_use=yes
29441 else
29442 glibcxx_cv_func_isnanf_use=no
29444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29445 ac_ext=c
29446 ac_cpp='$CPP $CPPFLAGS'
29447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
29456 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
29458 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
29459 for ac_func in isnanf
29460 do :
29461 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
29462 if test "x$ac_cv_func_isnanf" = x""yes; then :
29463 cat >>confdefs.h <<_ACEOF
29464 #define HAVE_ISNANF 1
29465 _ACEOF
29468 done
29470 else
29472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
29473 $as_echo_n "checking for _isnanf declaration... " >&6; }
29474 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
29475 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
29476 $as_echo_n "(cached) " >&6
29477 else
29480 ac_ext=cpp
29481 ac_cpp='$CXXCPP $CPPFLAGS'
29482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29487 /* end confdefs.h. */
29488 #include <math.h>
29489 #ifdef HAVE_IEEEFP_H
29490 #include <ieeefp.h>
29491 #endif
29494 main ()
29496 _isnanf(0);
29498 return 0;
29500 _ACEOF
29501 if ac_fn_cxx_try_compile "$LINENO"; then :
29502 glibcxx_cv_func__isnanf_use=yes
29503 else
29504 glibcxx_cv_func__isnanf_use=no
29506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29507 ac_ext=c
29508 ac_cpp='$CPP $CPPFLAGS'
29509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
29518 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
29520 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
29521 for ac_func in _isnanf
29522 do :
29523 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
29524 if test "x$ac_cv_func__isnanf" = x""yes; then :
29525 cat >>confdefs.h <<_ACEOF
29526 #define HAVE__ISNANF 1
29527 _ACEOF
29530 done
29539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
29540 $as_echo_n "checking for isinff declaration... " >&6; }
29541 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
29542 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
29543 $as_echo_n "(cached) " >&6
29544 else
29547 ac_ext=cpp
29548 ac_cpp='$CXXCPP $CPPFLAGS'
29549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29554 /* end confdefs.h. */
29555 #include <math.h>
29556 #ifdef HAVE_IEEEFP_H
29557 #include <ieeefp.h>
29558 #endif
29561 main ()
29563 isinff(0);
29565 return 0;
29567 _ACEOF
29568 if ac_fn_cxx_try_compile "$LINENO"; then :
29569 glibcxx_cv_func_isinff_use=yes
29570 else
29571 glibcxx_cv_func_isinff_use=no
29573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29574 ac_ext=c
29575 ac_cpp='$CPP $CPPFLAGS'
29576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
29585 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
29587 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
29588 for ac_func in isinff
29589 do :
29590 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
29591 if test "x$ac_cv_func_isinff" = x""yes; then :
29592 cat >>confdefs.h <<_ACEOF
29593 #define HAVE_ISINFF 1
29594 _ACEOF
29597 done
29599 else
29601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
29602 $as_echo_n "checking for _isinff declaration... " >&6; }
29603 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
29604 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
29605 $as_echo_n "(cached) " >&6
29606 else
29609 ac_ext=cpp
29610 ac_cpp='$CXXCPP $CPPFLAGS'
29611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29616 /* end confdefs.h. */
29617 #include <math.h>
29618 #ifdef HAVE_IEEEFP_H
29619 #include <ieeefp.h>
29620 #endif
29623 main ()
29625 _isinff(0);
29627 return 0;
29629 _ACEOF
29630 if ac_fn_cxx_try_compile "$LINENO"; then :
29631 glibcxx_cv_func__isinff_use=yes
29632 else
29633 glibcxx_cv_func__isinff_use=no
29635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29636 ac_ext=c
29637 ac_cpp='$CPP $CPPFLAGS'
29638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
29647 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
29649 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
29650 for ac_func in _isinff
29651 do :
29652 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
29653 if test "x$ac_cv_func__isinff" = x""yes; then :
29654 cat >>confdefs.h <<_ACEOF
29655 #define HAVE__ISINFF 1
29656 _ACEOF
29659 done
29668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
29669 $as_echo_n "checking for atan2f declaration... " >&6; }
29670 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
29671 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
29672 $as_echo_n "(cached) " >&6
29673 else
29676 ac_ext=cpp
29677 ac_cpp='$CXXCPP $CPPFLAGS'
29678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29683 /* end confdefs.h. */
29684 #include <math.h>
29686 main ()
29688 atan2f(0, 0);
29690 return 0;
29692 _ACEOF
29693 if ac_fn_cxx_try_compile "$LINENO"; then :
29694 glibcxx_cv_func_atan2f_use=yes
29695 else
29696 glibcxx_cv_func_atan2f_use=no
29698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29699 ac_ext=c
29700 ac_cpp='$CPP $CPPFLAGS'
29701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
29710 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
29712 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
29713 for ac_func in atan2f
29714 do :
29715 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
29716 if test "x$ac_cv_func_atan2f" = x""yes; then :
29717 cat >>confdefs.h <<_ACEOF
29718 #define HAVE_ATAN2F 1
29719 _ACEOF
29722 done
29724 else
29726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
29727 $as_echo_n "checking for _atan2f declaration... " >&6; }
29728 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
29729 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
29730 $as_echo_n "(cached) " >&6
29731 else
29734 ac_ext=cpp
29735 ac_cpp='$CXXCPP $CPPFLAGS'
29736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29741 /* end confdefs.h. */
29742 #include <math.h>
29744 main ()
29746 _atan2f(0, 0);
29748 return 0;
29750 _ACEOF
29751 if ac_fn_cxx_try_compile "$LINENO"; then :
29752 glibcxx_cv_func__atan2f_use=yes
29753 else
29754 glibcxx_cv_func__atan2f_use=no
29756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29757 ac_ext=c
29758 ac_cpp='$CPP $CPPFLAGS'
29759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
29768 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
29770 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
29771 for ac_func in _atan2f
29772 do :
29773 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
29774 if test "x$ac_cv_func__atan2f" = x""yes; then :
29775 cat >>confdefs.h <<_ACEOF
29776 #define HAVE__ATAN2F 1
29777 _ACEOF
29780 done
29789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
29790 $as_echo_n "checking for fabsf declaration... " >&6; }
29791 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
29792 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
29793 $as_echo_n "(cached) " >&6
29794 else
29797 ac_ext=cpp
29798 ac_cpp='$CXXCPP $CPPFLAGS'
29799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29804 /* end confdefs.h. */
29805 #include <math.h>
29806 #ifdef HAVE_IEEEFP_H
29807 #include <ieeefp.h>
29808 #endif
29811 main ()
29813 fabsf(0);
29815 return 0;
29817 _ACEOF
29818 if ac_fn_cxx_try_compile "$LINENO"; then :
29819 glibcxx_cv_func_fabsf_use=yes
29820 else
29821 glibcxx_cv_func_fabsf_use=no
29823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29824 ac_ext=c
29825 ac_cpp='$CPP $CPPFLAGS'
29826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
29835 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
29837 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
29838 for ac_func in fabsf
29839 do :
29840 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
29841 if test "x$ac_cv_func_fabsf" = x""yes; then :
29842 cat >>confdefs.h <<_ACEOF
29843 #define HAVE_FABSF 1
29844 _ACEOF
29847 done
29849 else
29851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
29852 $as_echo_n "checking for _fabsf declaration... " >&6; }
29853 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
29854 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
29855 $as_echo_n "(cached) " >&6
29856 else
29859 ac_ext=cpp
29860 ac_cpp='$CXXCPP $CPPFLAGS'
29861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29866 /* end confdefs.h. */
29867 #include <math.h>
29868 #ifdef HAVE_IEEEFP_H
29869 #include <ieeefp.h>
29870 #endif
29873 main ()
29875 _fabsf(0);
29877 return 0;
29879 _ACEOF
29880 if ac_fn_cxx_try_compile "$LINENO"; then :
29881 glibcxx_cv_func__fabsf_use=yes
29882 else
29883 glibcxx_cv_func__fabsf_use=no
29885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29886 ac_ext=c
29887 ac_cpp='$CPP $CPPFLAGS'
29888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
29897 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
29899 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
29900 for ac_func in _fabsf
29901 do :
29902 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
29903 if test "x$ac_cv_func__fabsf" = x""yes; then :
29904 cat >>confdefs.h <<_ACEOF
29905 #define HAVE__FABSF 1
29906 _ACEOF
29909 done
29918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
29919 $as_echo_n "checking for fmodf declaration... " >&6; }
29920 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
29921 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
29922 $as_echo_n "(cached) " >&6
29923 else
29926 ac_ext=cpp
29927 ac_cpp='$CXXCPP $CPPFLAGS'
29928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29933 /* end confdefs.h. */
29934 #include <math.h>
29936 main ()
29938 fmodf(0, 0);
29940 return 0;
29942 _ACEOF
29943 if ac_fn_cxx_try_compile "$LINENO"; then :
29944 glibcxx_cv_func_fmodf_use=yes
29945 else
29946 glibcxx_cv_func_fmodf_use=no
29948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29949 ac_ext=c
29950 ac_cpp='$CPP $CPPFLAGS'
29951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
29960 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
29962 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
29963 for ac_func in fmodf
29964 do :
29965 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
29966 if test "x$ac_cv_func_fmodf" = x""yes; then :
29967 cat >>confdefs.h <<_ACEOF
29968 #define HAVE_FMODF 1
29969 _ACEOF
29972 done
29974 else
29976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
29977 $as_echo_n "checking for _fmodf declaration... " >&6; }
29978 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
29979 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
29980 $as_echo_n "(cached) " >&6
29981 else
29984 ac_ext=cpp
29985 ac_cpp='$CXXCPP $CPPFLAGS'
29986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29991 /* end confdefs.h. */
29992 #include <math.h>
29994 main ()
29996 _fmodf(0, 0);
29998 return 0;
30000 _ACEOF
30001 if ac_fn_cxx_try_compile "$LINENO"; then :
30002 glibcxx_cv_func__fmodf_use=yes
30003 else
30004 glibcxx_cv_func__fmodf_use=no
30006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30007 ac_ext=c
30008 ac_cpp='$CPP $CPPFLAGS'
30009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
30018 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
30020 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
30021 for ac_func in _fmodf
30022 do :
30023 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
30024 if test "x$ac_cv_func__fmodf" = x""yes; then :
30025 cat >>confdefs.h <<_ACEOF
30026 #define HAVE__FMODF 1
30027 _ACEOF
30030 done
30039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
30040 $as_echo_n "checking for frexpf declaration... " >&6; }
30041 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
30042 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
30043 $as_echo_n "(cached) " >&6
30044 else
30047 ac_ext=cpp
30048 ac_cpp='$CXXCPP $CPPFLAGS'
30049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30054 /* end confdefs.h. */
30055 #include <math.h>
30057 main ()
30059 frexpf(0, 0);
30061 return 0;
30063 _ACEOF
30064 if ac_fn_cxx_try_compile "$LINENO"; then :
30065 glibcxx_cv_func_frexpf_use=yes
30066 else
30067 glibcxx_cv_func_frexpf_use=no
30069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30070 ac_ext=c
30071 ac_cpp='$CPP $CPPFLAGS'
30072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
30081 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
30083 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
30084 for ac_func in frexpf
30085 do :
30086 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
30087 if test "x$ac_cv_func_frexpf" = x""yes; then :
30088 cat >>confdefs.h <<_ACEOF
30089 #define HAVE_FREXPF 1
30090 _ACEOF
30093 done
30095 else
30097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
30098 $as_echo_n "checking for _frexpf declaration... " >&6; }
30099 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
30100 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
30101 $as_echo_n "(cached) " >&6
30102 else
30105 ac_ext=cpp
30106 ac_cpp='$CXXCPP $CPPFLAGS'
30107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30112 /* end confdefs.h. */
30113 #include <math.h>
30115 main ()
30117 _frexpf(0, 0);
30119 return 0;
30121 _ACEOF
30122 if ac_fn_cxx_try_compile "$LINENO"; then :
30123 glibcxx_cv_func__frexpf_use=yes
30124 else
30125 glibcxx_cv_func__frexpf_use=no
30127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30128 ac_ext=c
30129 ac_cpp='$CPP $CPPFLAGS'
30130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
30139 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
30141 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
30142 for ac_func in _frexpf
30143 do :
30144 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
30145 if test "x$ac_cv_func__frexpf" = x""yes; then :
30146 cat >>confdefs.h <<_ACEOF
30147 #define HAVE__FREXPF 1
30148 _ACEOF
30151 done
30160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
30161 $as_echo_n "checking for hypotf declaration... " >&6; }
30162 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
30163 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
30164 $as_echo_n "(cached) " >&6
30165 else
30168 ac_ext=cpp
30169 ac_cpp='$CXXCPP $CPPFLAGS'
30170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30175 /* end confdefs.h. */
30176 #include <math.h>
30178 main ()
30180 hypotf(0, 0);
30182 return 0;
30184 _ACEOF
30185 if ac_fn_cxx_try_compile "$LINENO"; then :
30186 glibcxx_cv_func_hypotf_use=yes
30187 else
30188 glibcxx_cv_func_hypotf_use=no
30190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30191 ac_ext=c
30192 ac_cpp='$CPP $CPPFLAGS'
30193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
30202 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
30204 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
30205 for ac_func in hypotf
30206 do :
30207 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
30208 if test "x$ac_cv_func_hypotf" = x""yes; then :
30209 cat >>confdefs.h <<_ACEOF
30210 #define HAVE_HYPOTF 1
30211 _ACEOF
30214 done
30216 else
30218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
30219 $as_echo_n "checking for _hypotf declaration... " >&6; }
30220 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
30221 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
30222 $as_echo_n "(cached) " >&6
30223 else
30226 ac_ext=cpp
30227 ac_cpp='$CXXCPP $CPPFLAGS'
30228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30233 /* end confdefs.h. */
30234 #include <math.h>
30236 main ()
30238 _hypotf(0, 0);
30240 return 0;
30242 _ACEOF
30243 if ac_fn_cxx_try_compile "$LINENO"; then :
30244 glibcxx_cv_func__hypotf_use=yes
30245 else
30246 glibcxx_cv_func__hypotf_use=no
30248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30249 ac_ext=c
30250 ac_cpp='$CPP $CPPFLAGS'
30251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
30260 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
30262 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
30263 for ac_func in _hypotf
30264 do :
30265 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
30266 if test "x$ac_cv_func__hypotf" = x""yes; then :
30267 cat >>confdefs.h <<_ACEOF
30268 #define HAVE__HYPOTF 1
30269 _ACEOF
30272 done
30281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
30282 $as_echo_n "checking for ldexpf declaration... " >&6; }
30283 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
30284 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
30285 $as_echo_n "(cached) " >&6
30286 else
30289 ac_ext=cpp
30290 ac_cpp='$CXXCPP $CPPFLAGS'
30291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30296 /* end confdefs.h. */
30297 #include <math.h>
30299 main ()
30301 ldexpf(0, 0);
30303 return 0;
30305 _ACEOF
30306 if ac_fn_cxx_try_compile "$LINENO"; then :
30307 glibcxx_cv_func_ldexpf_use=yes
30308 else
30309 glibcxx_cv_func_ldexpf_use=no
30311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30312 ac_ext=c
30313 ac_cpp='$CPP $CPPFLAGS'
30314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
30323 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
30325 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
30326 for ac_func in ldexpf
30327 do :
30328 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
30329 if test "x$ac_cv_func_ldexpf" = x""yes; then :
30330 cat >>confdefs.h <<_ACEOF
30331 #define HAVE_LDEXPF 1
30332 _ACEOF
30335 done
30337 else
30339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
30340 $as_echo_n "checking for _ldexpf declaration... " >&6; }
30341 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
30342 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
30343 $as_echo_n "(cached) " >&6
30344 else
30347 ac_ext=cpp
30348 ac_cpp='$CXXCPP $CPPFLAGS'
30349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30354 /* end confdefs.h. */
30355 #include <math.h>
30357 main ()
30359 _ldexpf(0, 0);
30361 return 0;
30363 _ACEOF
30364 if ac_fn_cxx_try_compile "$LINENO"; then :
30365 glibcxx_cv_func__ldexpf_use=yes
30366 else
30367 glibcxx_cv_func__ldexpf_use=no
30369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30370 ac_ext=c
30371 ac_cpp='$CPP $CPPFLAGS'
30372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
30381 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
30383 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
30384 for ac_func in _ldexpf
30385 do :
30386 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
30387 if test "x$ac_cv_func__ldexpf" = x""yes; then :
30388 cat >>confdefs.h <<_ACEOF
30389 #define HAVE__LDEXPF 1
30390 _ACEOF
30393 done
30402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
30403 $as_echo_n "checking for logf declaration... " >&6; }
30404 if test x${glibcxx_cv_func_logf_use+set} != xset; then
30405 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
30406 $as_echo_n "(cached) " >&6
30407 else
30410 ac_ext=cpp
30411 ac_cpp='$CXXCPP $CPPFLAGS'
30412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30417 /* end confdefs.h. */
30418 #include <math.h>
30419 #ifdef HAVE_IEEEFP_H
30420 #include <ieeefp.h>
30421 #endif
30424 main ()
30426 logf(0);
30428 return 0;
30430 _ACEOF
30431 if ac_fn_cxx_try_compile "$LINENO"; then :
30432 glibcxx_cv_func_logf_use=yes
30433 else
30434 glibcxx_cv_func_logf_use=no
30436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30437 ac_ext=c
30438 ac_cpp='$CPP $CPPFLAGS'
30439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
30448 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
30450 if test x$glibcxx_cv_func_logf_use = x"yes"; then
30451 for ac_func in logf
30452 do :
30453 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
30454 if test "x$ac_cv_func_logf" = x""yes; then :
30455 cat >>confdefs.h <<_ACEOF
30456 #define HAVE_LOGF 1
30457 _ACEOF
30460 done
30462 else
30464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
30465 $as_echo_n "checking for _logf declaration... " >&6; }
30466 if test x${glibcxx_cv_func__logf_use+set} != xset; then
30467 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
30468 $as_echo_n "(cached) " >&6
30469 else
30472 ac_ext=cpp
30473 ac_cpp='$CXXCPP $CPPFLAGS'
30474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30479 /* end confdefs.h. */
30480 #include <math.h>
30481 #ifdef HAVE_IEEEFP_H
30482 #include <ieeefp.h>
30483 #endif
30486 main ()
30488 _logf(0);
30490 return 0;
30492 _ACEOF
30493 if ac_fn_cxx_try_compile "$LINENO"; then :
30494 glibcxx_cv_func__logf_use=yes
30495 else
30496 glibcxx_cv_func__logf_use=no
30498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30499 ac_ext=c
30500 ac_cpp='$CPP $CPPFLAGS'
30501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
30510 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
30512 if test x$glibcxx_cv_func__logf_use = x"yes"; then
30513 for ac_func in _logf
30514 do :
30515 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
30516 if test "x$ac_cv_func__logf" = x""yes; then :
30517 cat >>confdefs.h <<_ACEOF
30518 #define HAVE__LOGF 1
30519 _ACEOF
30522 done
30531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
30532 $as_echo_n "checking for log10f declaration... " >&6; }
30533 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
30534 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
30535 $as_echo_n "(cached) " >&6
30536 else
30539 ac_ext=cpp
30540 ac_cpp='$CXXCPP $CPPFLAGS'
30541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30546 /* end confdefs.h. */
30547 #include <math.h>
30548 #ifdef HAVE_IEEEFP_H
30549 #include <ieeefp.h>
30550 #endif
30553 main ()
30555 log10f(0);
30557 return 0;
30559 _ACEOF
30560 if ac_fn_cxx_try_compile "$LINENO"; then :
30561 glibcxx_cv_func_log10f_use=yes
30562 else
30563 glibcxx_cv_func_log10f_use=no
30565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30566 ac_ext=c
30567 ac_cpp='$CPP $CPPFLAGS'
30568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
30577 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
30579 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
30580 for ac_func in log10f
30581 do :
30582 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
30583 if test "x$ac_cv_func_log10f" = x""yes; then :
30584 cat >>confdefs.h <<_ACEOF
30585 #define HAVE_LOG10F 1
30586 _ACEOF
30589 done
30591 else
30593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
30594 $as_echo_n "checking for _log10f declaration... " >&6; }
30595 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
30596 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
30597 $as_echo_n "(cached) " >&6
30598 else
30601 ac_ext=cpp
30602 ac_cpp='$CXXCPP $CPPFLAGS'
30603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30608 /* end confdefs.h. */
30609 #include <math.h>
30610 #ifdef HAVE_IEEEFP_H
30611 #include <ieeefp.h>
30612 #endif
30615 main ()
30617 _log10f(0);
30619 return 0;
30621 _ACEOF
30622 if ac_fn_cxx_try_compile "$LINENO"; then :
30623 glibcxx_cv_func__log10f_use=yes
30624 else
30625 glibcxx_cv_func__log10f_use=no
30627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30628 ac_ext=c
30629 ac_cpp='$CPP $CPPFLAGS'
30630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
30639 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
30641 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
30642 for ac_func in _log10f
30643 do :
30644 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
30645 if test "x$ac_cv_func__log10f" = x""yes; then :
30646 cat >>confdefs.h <<_ACEOF
30647 #define HAVE__LOG10F 1
30648 _ACEOF
30651 done
30660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
30661 $as_echo_n "checking for modff declaration... " >&6; }
30662 if test x${glibcxx_cv_func_modff_use+set} != xset; then
30663 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
30664 $as_echo_n "(cached) " >&6
30665 else
30668 ac_ext=cpp
30669 ac_cpp='$CXXCPP $CPPFLAGS'
30670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30675 /* end confdefs.h. */
30676 #include <math.h>
30678 main ()
30680 modff(0, 0);
30682 return 0;
30684 _ACEOF
30685 if ac_fn_cxx_try_compile "$LINENO"; then :
30686 glibcxx_cv_func_modff_use=yes
30687 else
30688 glibcxx_cv_func_modff_use=no
30690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30691 ac_ext=c
30692 ac_cpp='$CPP $CPPFLAGS'
30693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
30702 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
30704 if test x$glibcxx_cv_func_modff_use = x"yes"; then
30705 for ac_func in modff
30706 do :
30707 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
30708 if test "x$ac_cv_func_modff" = x""yes; then :
30709 cat >>confdefs.h <<_ACEOF
30710 #define HAVE_MODFF 1
30711 _ACEOF
30714 done
30716 else
30718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
30719 $as_echo_n "checking for _modff declaration... " >&6; }
30720 if test x${glibcxx_cv_func__modff_use+set} != xset; then
30721 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
30722 $as_echo_n "(cached) " >&6
30723 else
30726 ac_ext=cpp
30727 ac_cpp='$CXXCPP $CPPFLAGS'
30728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30733 /* end confdefs.h. */
30734 #include <math.h>
30736 main ()
30738 _modff(0, 0);
30740 return 0;
30742 _ACEOF
30743 if ac_fn_cxx_try_compile "$LINENO"; then :
30744 glibcxx_cv_func__modff_use=yes
30745 else
30746 glibcxx_cv_func__modff_use=no
30748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30749 ac_ext=c
30750 ac_cpp='$CPP $CPPFLAGS'
30751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
30760 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
30762 if test x$glibcxx_cv_func__modff_use = x"yes"; then
30763 for ac_func in _modff
30764 do :
30765 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
30766 if test "x$ac_cv_func__modff" = x""yes; then :
30767 cat >>confdefs.h <<_ACEOF
30768 #define HAVE__MODFF 1
30769 _ACEOF
30772 done
30781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
30782 $as_echo_n "checking for modf declaration... " >&6; }
30783 if test x${glibcxx_cv_func_modf_use+set} != xset; then
30784 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
30785 $as_echo_n "(cached) " >&6
30786 else
30789 ac_ext=cpp
30790 ac_cpp='$CXXCPP $CPPFLAGS'
30791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30796 /* end confdefs.h. */
30797 #include <math.h>
30799 main ()
30801 modf(0, 0);
30803 return 0;
30805 _ACEOF
30806 if ac_fn_cxx_try_compile "$LINENO"; then :
30807 glibcxx_cv_func_modf_use=yes
30808 else
30809 glibcxx_cv_func_modf_use=no
30811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30812 ac_ext=c
30813 ac_cpp='$CPP $CPPFLAGS'
30814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
30823 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
30825 if test x$glibcxx_cv_func_modf_use = x"yes"; then
30826 for ac_func in modf
30827 do :
30828 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
30829 if test "x$ac_cv_func_modf" = x""yes; then :
30830 cat >>confdefs.h <<_ACEOF
30831 #define HAVE_MODF 1
30832 _ACEOF
30835 done
30837 else
30839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
30840 $as_echo_n "checking for _modf declaration... " >&6; }
30841 if test x${glibcxx_cv_func__modf_use+set} != xset; then
30842 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
30843 $as_echo_n "(cached) " >&6
30844 else
30847 ac_ext=cpp
30848 ac_cpp='$CXXCPP $CPPFLAGS'
30849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30854 /* end confdefs.h. */
30855 #include <math.h>
30857 main ()
30859 _modf(0, 0);
30861 return 0;
30863 _ACEOF
30864 if ac_fn_cxx_try_compile "$LINENO"; then :
30865 glibcxx_cv_func__modf_use=yes
30866 else
30867 glibcxx_cv_func__modf_use=no
30869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30870 ac_ext=c
30871 ac_cpp='$CPP $CPPFLAGS'
30872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
30881 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
30883 if test x$glibcxx_cv_func__modf_use = x"yes"; then
30884 for ac_func in _modf
30885 do :
30886 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
30887 if test "x$ac_cv_func__modf" = x""yes; then :
30888 cat >>confdefs.h <<_ACEOF
30889 #define HAVE__MODF 1
30890 _ACEOF
30893 done
30902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
30903 $as_echo_n "checking for powf declaration... " >&6; }
30904 if test x${glibcxx_cv_func_powf_use+set} != xset; then
30905 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
30906 $as_echo_n "(cached) " >&6
30907 else
30910 ac_ext=cpp
30911 ac_cpp='$CXXCPP $CPPFLAGS'
30912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30917 /* end confdefs.h. */
30918 #include <math.h>
30920 main ()
30922 powf(0, 0);
30924 return 0;
30926 _ACEOF
30927 if ac_fn_cxx_try_compile "$LINENO"; then :
30928 glibcxx_cv_func_powf_use=yes
30929 else
30930 glibcxx_cv_func_powf_use=no
30932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30933 ac_ext=c
30934 ac_cpp='$CPP $CPPFLAGS'
30935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
30944 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
30946 if test x$glibcxx_cv_func_powf_use = x"yes"; then
30947 for ac_func in powf
30948 do :
30949 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
30950 if test "x$ac_cv_func_powf" = x""yes; then :
30951 cat >>confdefs.h <<_ACEOF
30952 #define HAVE_POWF 1
30953 _ACEOF
30956 done
30958 else
30960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
30961 $as_echo_n "checking for _powf declaration... " >&6; }
30962 if test x${glibcxx_cv_func__powf_use+set} != xset; then
30963 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
30964 $as_echo_n "(cached) " >&6
30965 else
30968 ac_ext=cpp
30969 ac_cpp='$CXXCPP $CPPFLAGS'
30970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30975 /* end confdefs.h. */
30976 #include <math.h>
30978 main ()
30980 _powf(0, 0);
30982 return 0;
30984 _ACEOF
30985 if ac_fn_cxx_try_compile "$LINENO"; then :
30986 glibcxx_cv_func__powf_use=yes
30987 else
30988 glibcxx_cv_func__powf_use=no
30990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30991 ac_ext=c
30992 ac_cpp='$CPP $CPPFLAGS'
30993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
31002 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
31004 if test x$glibcxx_cv_func__powf_use = x"yes"; then
31005 for ac_func in _powf
31006 do :
31007 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
31008 if test "x$ac_cv_func__powf" = x""yes; then :
31009 cat >>confdefs.h <<_ACEOF
31010 #define HAVE__POWF 1
31011 _ACEOF
31014 done
31023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
31024 $as_echo_n "checking for sqrtf declaration... " >&6; }
31025 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
31026 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
31027 $as_echo_n "(cached) " >&6
31028 else
31031 ac_ext=cpp
31032 ac_cpp='$CXXCPP $CPPFLAGS'
31033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31038 /* end confdefs.h. */
31039 #include <math.h>
31040 #ifdef HAVE_IEEEFP_H
31041 #include <ieeefp.h>
31042 #endif
31045 main ()
31047 sqrtf(0);
31049 return 0;
31051 _ACEOF
31052 if ac_fn_cxx_try_compile "$LINENO"; then :
31053 glibcxx_cv_func_sqrtf_use=yes
31054 else
31055 glibcxx_cv_func_sqrtf_use=no
31057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31058 ac_ext=c
31059 ac_cpp='$CPP $CPPFLAGS'
31060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
31069 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
31071 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
31072 for ac_func in sqrtf
31073 do :
31074 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
31075 if test "x$ac_cv_func_sqrtf" = x""yes; then :
31076 cat >>confdefs.h <<_ACEOF
31077 #define HAVE_SQRTF 1
31078 _ACEOF
31081 done
31083 else
31085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
31086 $as_echo_n "checking for _sqrtf declaration... " >&6; }
31087 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
31088 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
31089 $as_echo_n "(cached) " >&6
31090 else
31093 ac_ext=cpp
31094 ac_cpp='$CXXCPP $CPPFLAGS'
31095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31100 /* end confdefs.h. */
31101 #include <math.h>
31102 #ifdef HAVE_IEEEFP_H
31103 #include <ieeefp.h>
31104 #endif
31107 main ()
31109 _sqrtf(0);
31111 return 0;
31113 _ACEOF
31114 if ac_fn_cxx_try_compile "$LINENO"; then :
31115 glibcxx_cv_func__sqrtf_use=yes
31116 else
31117 glibcxx_cv_func__sqrtf_use=no
31119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31120 ac_ext=c
31121 ac_cpp='$CPP $CPPFLAGS'
31122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
31131 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
31133 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
31134 for ac_func in _sqrtf
31135 do :
31136 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
31137 if test "x$ac_cv_func__sqrtf" = x""yes; then :
31138 cat >>confdefs.h <<_ACEOF
31139 #define HAVE__SQRTF 1
31140 _ACEOF
31143 done
31152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
31153 $as_echo_n "checking for sincosf declaration... " >&6; }
31154 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
31155 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
31156 $as_echo_n "(cached) " >&6
31157 else
31160 ac_ext=cpp
31161 ac_cpp='$CXXCPP $CPPFLAGS'
31162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31167 /* end confdefs.h. */
31168 #include <math.h>
31170 main ()
31172 sincosf(0, 0, 0);
31174 return 0;
31176 _ACEOF
31177 if ac_fn_cxx_try_compile "$LINENO"; then :
31178 glibcxx_cv_func_sincosf_use=yes
31179 else
31180 glibcxx_cv_func_sincosf_use=no
31182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31183 ac_ext=c
31184 ac_cpp='$CPP $CPPFLAGS'
31185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
31194 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
31196 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
31197 for ac_func in sincosf
31198 do :
31199 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
31200 if test "x$ac_cv_func_sincosf" = x""yes; then :
31201 cat >>confdefs.h <<_ACEOF
31202 #define HAVE_SINCOSF 1
31203 _ACEOF
31206 done
31208 else
31210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
31211 $as_echo_n "checking for _sincosf declaration... " >&6; }
31212 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
31213 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
31214 $as_echo_n "(cached) " >&6
31215 else
31218 ac_ext=cpp
31219 ac_cpp='$CXXCPP $CPPFLAGS'
31220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31225 /* end confdefs.h. */
31226 #include <math.h>
31228 main ()
31230 _sincosf(0, 0, 0);
31232 return 0;
31234 _ACEOF
31235 if ac_fn_cxx_try_compile "$LINENO"; then :
31236 glibcxx_cv_func__sincosf_use=yes
31237 else
31238 glibcxx_cv_func__sincosf_use=no
31240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31241 ac_ext=c
31242 ac_cpp='$CPP $CPPFLAGS'
31243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
31252 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
31254 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
31255 for ac_func in _sincosf
31256 do :
31257 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
31258 if test "x$ac_cv_func__sincosf" = x""yes; then :
31259 cat >>confdefs.h <<_ACEOF
31260 #define HAVE__SINCOSF 1
31261 _ACEOF
31264 done
31273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
31274 $as_echo_n "checking for finitef declaration... " >&6; }
31275 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
31276 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
31277 $as_echo_n "(cached) " >&6
31278 else
31281 ac_ext=cpp
31282 ac_cpp='$CXXCPP $CPPFLAGS'
31283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31288 /* end confdefs.h. */
31289 #include <math.h>
31290 #ifdef HAVE_IEEEFP_H
31291 #include <ieeefp.h>
31292 #endif
31295 main ()
31297 finitef(0);
31299 return 0;
31301 _ACEOF
31302 if ac_fn_cxx_try_compile "$LINENO"; then :
31303 glibcxx_cv_func_finitef_use=yes
31304 else
31305 glibcxx_cv_func_finitef_use=no
31307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31308 ac_ext=c
31309 ac_cpp='$CPP $CPPFLAGS'
31310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
31319 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
31321 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
31322 for ac_func in finitef
31323 do :
31324 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
31325 if test "x$ac_cv_func_finitef" = x""yes; then :
31326 cat >>confdefs.h <<_ACEOF
31327 #define HAVE_FINITEF 1
31328 _ACEOF
31331 done
31333 else
31335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
31336 $as_echo_n "checking for _finitef declaration... " >&6; }
31337 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
31338 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
31339 $as_echo_n "(cached) " >&6
31340 else
31343 ac_ext=cpp
31344 ac_cpp='$CXXCPP $CPPFLAGS'
31345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31350 /* end confdefs.h. */
31351 #include <math.h>
31352 #ifdef HAVE_IEEEFP_H
31353 #include <ieeefp.h>
31354 #endif
31357 main ()
31359 _finitef(0);
31361 return 0;
31363 _ACEOF
31364 if ac_fn_cxx_try_compile "$LINENO"; then :
31365 glibcxx_cv_func__finitef_use=yes
31366 else
31367 glibcxx_cv_func__finitef_use=no
31369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31370 ac_ext=c
31371 ac_cpp='$CPP $CPPFLAGS'
31372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
31381 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
31383 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
31384 for ac_func in _finitef
31385 do :
31386 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
31387 if test "x$ac_cv_func__finitef" = x""yes; then :
31388 cat >>confdefs.h <<_ACEOF
31389 #define HAVE__FINITEF 1
31390 _ACEOF
31393 done
31402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
31403 $as_echo_n "checking for long double trig functions... " >&6; }
31404 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
31405 $as_echo_n "(cached) " >&6
31406 else
31409 ac_ext=cpp
31410 ac_cpp='$CXXCPP $CPPFLAGS'
31411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31416 /* end confdefs.h. */
31417 #include <math.h>
31419 main ()
31421 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
31423 return 0;
31425 _ACEOF
31426 if ac_fn_cxx_try_compile "$LINENO"; then :
31427 glibcxx_cv_func_long_double_trig_use=yes
31428 else
31429 glibcxx_cv_func_long_double_trig_use=no
31431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31432 ac_ext=c
31433 ac_cpp='$CPP $CPPFLAGS'
31434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
31441 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
31442 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
31443 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
31444 do :
31445 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31446 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31447 eval as_val=\$$as_ac_var
31448 if test "x$as_val" = x""yes; then :
31449 cat >>confdefs.h <<_ACEOF
31450 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31451 _ACEOF
31454 done
31456 else
31457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
31458 $as_echo_n "checking for _long double trig functions... " >&6; }
31459 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
31460 $as_echo_n "(cached) " >&6
31461 else
31464 ac_ext=cpp
31465 ac_cpp='$CXXCPP $CPPFLAGS'
31466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31471 /* end confdefs.h. */
31472 #include <math.h>
31474 main ()
31476 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
31478 return 0;
31480 _ACEOF
31481 if ac_fn_cxx_try_compile "$LINENO"; then :
31482 glibcxx_cv_func__long_double_trig_use=yes
31483 else
31484 glibcxx_cv_func__long_double_trig_use=no
31486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31487 ac_ext=c
31488 ac_cpp='$CPP $CPPFLAGS'
31489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
31496 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
31497 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
31498 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
31499 do :
31500 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31501 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31502 eval as_val=\$$as_ac_var
31503 if test "x$as_val" = x""yes; then :
31504 cat >>confdefs.h <<_ACEOF
31505 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31506 _ACEOF
31509 done
31518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
31519 $as_echo_n "checking for long double round functions... " >&6; }
31520 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
31521 $as_echo_n "(cached) " >&6
31522 else
31525 ac_ext=cpp
31526 ac_cpp='$CXXCPP $CPPFLAGS'
31527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31532 /* end confdefs.h. */
31533 #include <math.h>
31535 main ()
31537 ceill (0); floorl (0);
31539 return 0;
31541 _ACEOF
31542 if ac_fn_cxx_try_compile "$LINENO"; then :
31543 glibcxx_cv_func_long_double_round_use=yes
31544 else
31545 glibcxx_cv_func_long_double_round_use=no
31547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31548 ac_ext=c
31549 ac_cpp='$CPP $CPPFLAGS'
31550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
31557 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
31558 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
31559 for ac_func in ceill floorl
31560 do :
31561 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31562 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31563 eval as_val=\$$as_ac_var
31564 if test "x$as_val" = x""yes; then :
31565 cat >>confdefs.h <<_ACEOF
31566 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31567 _ACEOF
31570 done
31572 else
31573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
31574 $as_echo_n "checking for _long double round functions... " >&6; }
31575 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
31576 $as_echo_n "(cached) " >&6
31577 else
31580 ac_ext=cpp
31581 ac_cpp='$CXXCPP $CPPFLAGS'
31582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31587 /* end confdefs.h. */
31588 #include <math.h>
31590 main ()
31592 _ceill (0); _floorl (0);
31594 return 0;
31596 _ACEOF
31597 if ac_fn_cxx_try_compile "$LINENO"; then :
31598 glibcxx_cv_func__long_double_round_use=yes
31599 else
31600 glibcxx_cv_func__long_double_round_use=no
31602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31603 ac_ext=c
31604 ac_cpp='$CPP $CPPFLAGS'
31605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
31612 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
31613 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
31614 for ac_func in _ceill _floorl
31615 do :
31616 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31617 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31618 eval as_val=\$$as_ac_var
31619 if test "x$as_val" = x""yes; then :
31620 cat >>confdefs.h <<_ACEOF
31621 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31622 _ACEOF
31625 done
31635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
31636 $as_echo_n "checking for isnanl declaration... " >&6; }
31637 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
31638 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
31639 $as_echo_n "(cached) " >&6
31640 else
31643 ac_ext=cpp
31644 ac_cpp='$CXXCPP $CPPFLAGS'
31645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31650 /* end confdefs.h. */
31651 #include <math.h>
31652 #ifdef HAVE_IEEEFP_H
31653 #include <ieeefp.h>
31654 #endif
31657 main ()
31659 isnanl(0);
31661 return 0;
31663 _ACEOF
31664 if ac_fn_cxx_try_compile "$LINENO"; then :
31665 glibcxx_cv_func_isnanl_use=yes
31666 else
31667 glibcxx_cv_func_isnanl_use=no
31669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31670 ac_ext=c
31671 ac_cpp='$CPP $CPPFLAGS'
31672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
31681 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
31683 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
31684 for ac_func in isnanl
31685 do :
31686 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
31687 if test "x$ac_cv_func_isnanl" = x""yes; then :
31688 cat >>confdefs.h <<_ACEOF
31689 #define HAVE_ISNANL 1
31690 _ACEOF
31693 done
31695 else
31697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
31698 $as_echo_n "checking for _isnanl declaration... " >&6; }
31699 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
31700 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
31701 $as_echo_n "(cached) " >&6
31702 else
31705 ac_ext=cpp
31706 ac_cpp='$CXXCPP $CPPFLAGS'
31707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31712 /* end confdefs.h. */
31713 #include <math.h>
31714 #ifdef HAVE_IEEEFP_H
31715 #include <ieeefp.h>
31716 #endif
31719 main ()
31721 _isnanl(0);
31723 return 0;
31725 _ACEOF
31726 if ac_fn_cxx_try_compile "$LINENO"; then :
31727 glibcxx_cv_func__isnanl_use=yes
31728 else
31729 glibcxx_cv_func__isnanl_use=no
31731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31732 ac_ext=c
31733 ac_cpp='$CPP $CPPFLAGS'
31734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
31743 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
31745 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
31746 for ac_func in _isnanl
31747 do :
31748 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
31749 if test "x$ac_cv_func__isnanl" = x""yes; then :
31750 cat >>confdefs.h <<_ACEOF
31751 #define HAVE__ISNANL 1
31752 _ACEOF
31755 done
31764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
31765 $as_echo_n "checking for isinfl declaration... " >&6; }
31766 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
31767 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
31768 $as_echo_n "(cached) " >&6
31769 else
31772 ac_ext=cpp
31773 ac_cpp='$CXXCPP $CPPFLAGS'
31774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31779 /* end confdefs.h. */
31780 #include <math.h>
31781 #ifdef HAVE_IEEEFP_H
31782 #include <ieeefp.h>
31783 #endif
31786 main ()
31788 isinfl(0);
31790 return 0;
31792 _ACEOF
31793 if ac_fn_cxx_try_compile "$LINENO"; then :
31794 glibcxx_cv_func_isinfl_use=yes
31795 else
31796 glibcxx_cv_func_isinfl_use=no
31798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31799 ac_ext=c
31800 ac_cpp='$CPP $CPPFLAGS'
31801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
31810 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
31812 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
31813 for ac_func in isinfl
31814 do :
31815 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
31816 if test "x$ac_cv_func_isinfl" = x""yes; then :
31817 cat >>confdefs.h <<_ACEOF
31818 #define HAVE_ISINFL 1
31819 _ACEOF
31822 done
31824 else
31826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
31827 $as_echo_n "checking for _isinfl declaration... " >&6; }
31828 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
31829 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
31830 $as_echo_n "(cached) " >&6
31831 else
31834 ac_ext=cpp
31835 ac_cpp='$CXXCPP $CPPFLAGS'
31836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31841 /* end confdefs.h. */
31842 #include <math.h>
31843 #ifdef HAVE_IEEEFP_H
31844 #include <ieeefp.h>
31845 #endif
31848 main ()
31850 _isinfl(0);
31852 return 0;
31854 _ACEOF
31855 if ac_fn_cxx_try_compile "$LINENO"; then :
31856 glibcxx_cv_func__isinfl_use=yes
31857 else
31858 glibcxx_cv_func__isinfl_use=no
31860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31861 ac_ext=c
31862 ac_cpp='$CPP $CPPFLAGS'
31863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
31872 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
31874 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
31875 for ac_func in _isinfl
31876 do :
31877 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
31878 if test "x$ac_cv_func__isinfl" = x""yes; then :
31879 cat >>confdefs.h <<_ACEOF
31880 #define HAVE__ISINFL 1
31881 _ACEOF
31884 done
31893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
31894 $as_echo_n "checking for atan2l declaration... " >&6; }
31895 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
31896 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
31897 $as_echo_n "(cached) " >&6
31898 else
31901 ac_ext=cpp
31902 ac_cpp='$CXXCPP $CPPFLAGS'
31903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31908 /* end confdefs.h. */
31909 #include <math.h>
31911 main ()
31913 atan2l(0, 0);
31915 return 0;
31917 _ACEOF
31918 if ac_fn_cxx_try_compile "$LINENO"; then :
31919 glibcxx_cv_func_atan2l_use=yes
31920 else
31921 glibcxx_cv_func_atan2l_use=no
31923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31924 ac_ext=c
31925 ac_cpp='$CPP $CPPFLAGS'
31926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
31935 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
31937 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
31938 for ac_func in atan2l
31939 do :
31940 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
31941 if test "x$ac_cv_func_atan2l" = x""yes; then :
31942 cat >>confdefs.h <<_ACEOF
31943 #define HAVE_ATAN2L 1
31944 _ACEOF
31947 done
31949 else
31951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
31952 $as_echo_n "checking for _atan2l declaration... " >&6; }
31953 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
31954 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
31955 $as_echo_n "(cached) " >&6
31956 else
31959 ac_ext=cpp
31960 ac_cpp='$CXXCPP $CPPFLAGS'
31961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31966 /* end confdefs.h. */
31967 #include <math.h>
31969 main ()
31971 _atan2l(0, 0);
31973 return 0;
31975 _ACEOF
31976 if ac_fn_cxx_try_compile "$LINENO"; then :
31977 glibcxx_cv_func__atan2l_use=yes
31978 else
31979 glibcxx_cv_func__atan2l_use=no
31981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31982 ac_ext=c
31983 ac_cpp='$CPP $CPPFLAGS'
31984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
31993 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
31995 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
31996 for ac_func in _atan2l
31997 do :
31998 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
31999 if test "x$ac_cv_func__atan2l" = x""yes; then :
32000 cat >>confdefs.h <<_ACEOF
32001 #define HAVE__ATAN2L 1
32002 _ACEOF
32005 done
32014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
32015 $as_echo_n "checking for expl declaration... " >&6; }
32016 if test x${glibcxx_cv_func_expl_use+set} != xset; then
32017 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
32018 $as_echo_n "(cached) " >&6
32019 else
32022 ac_ext=cpp
32023 ac_cpp='$CXXCPP $CPPFLAGS'
32024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32029 /* end confdefs.h. */
32030 #include <math.h>
32031 #ifdef HAVE_IEEEFP_H
32032 #include <ieeefp.h>
32033 #endif
32036 main ()
32038 expl(0);
32040 return 0;
32042 _ACEOF
32043 if ac_fn_cxx_try_compile "$LINENO"; then :
32044 glibcxx_cv_func_expl_use=yes
32045 else
32046 glibcxx_cv_func_expl_use=no
32048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32049 ac_ext=c
32050 ac_cpp='$CPP $CPPFLAGS'
32051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
32060 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
32062 if test x$glibcxx_cv_func_expl_use = x"yes"; then
32063 for ac_func in expl
32064 do :
32065 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
32066 if test "x$ac_cv_func_expl" = x""yes; then :
32067 cat >>confdefs.h <<_ACEOF
32068 #define HAVE_EXPL 1
32069 _ACEOF
32072 done
32074 else
32076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
32077 $as_echo_n "checking for _expl declaration... " >&6; }
32078 if test x${glibcxx_cv_func__expl_use+set} != xset; then
32079 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
32080 $as_echo_n "(cached) " >&6
32081 else
32084 ac_ext=cpp
32085 ac_cpp='$CXXCPP $CPPFLAGS'
32086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32091 /* end confdefs.h. */
32092 #include <math.h>
32093 #ifdef HAVE_IEEEFP_H
32094 #include <ieeefp.h>
32095 #endif
32098 main ()
32100 _expl(0);
32102 return 0;
32104 _ACEOF
32105 if ac_fn_cxx_try_compile "$LINENO"; then :
32106 glibcxx_cv_func__expl_use=yes
32107 else
32108 glibcxx_cv_func__expl_use=no
32110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32111 ac_ext=c
32112 ac_cpp='$CPP $CPPFLAGS'
32113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
32122 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
32124 if test x$glibcxx_cv_func__expl_use = x"yes"; then
32125 for ac_func in _expl
32126 do :
32127 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
32128 if test "x$ac_cv_func__expl" = x""yes; then :
32129 cat >>confdefs.h <<_ACEOF
32130 #define HAVE__EXPL 1
32131 _ACEOF
32134 done
32143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
32144 $as_echo_n "checking for fabsl declaration... " >&6; }
32145 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
32146 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
32147 $as_echo_n "(cached) " >&6
32148 else
32151 ac_ext=cpp
32152 ac_cpp='$CXXCPP $CPPFLAGS'
32153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32158 /* end confdefs.h. */
32159 #include <math.h>
32160 #ifdef HAVE_IEEEFP_H
32161 #include <ieeefp.h>
32162 #endif
32165 main ()
32167 fabsl(0);
32169 return 0;
32171 _ACEOF
32172 if ac_fn_cxx_try_compile "$LINENO"; then :
32173 glibcxx_cv_func_fabsl_use=yes
32174 else
32175 glibcxx_cv_func_fabsl_use=no
32177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32178 ac_ext=c
32179 ac_cpp='$CPP $CPPFLAGS'
32180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
32189 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
32191 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
32192 for ac_func in fabsl
32193 do :
32194 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
32195 if test "x$ac_cv_func_fabsl" = x""yes; then :
32196 cat >>confdefs.h <<_ACEOF
32197 #define HAVE_FABSL 1
32198 _ACEOF
32201 done
32203 else
32205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
32206 $as_echo_n "checking for _fabsl declaration... " >&6; }
32207 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
32208 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
32209 $as_echo_n "(cached) " >&6
32210 else
32213 ac_ext=cpp
32214 ac_cpp='$CXXCPP $CPPFLAGS'
32215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32220 /* end confdefs.h. */
32221 #include <math.h>
32222 #ifdef HAVE_IEEEFP_H
32223 #include <ieeefp.h>
32224 #endif
32227 main ()
32229 _fabsl(0);
32231 return 0;
32233 _ACEOF
32234 if ac_fn_cxx_try_compile "$LINENO"; then :
32235 glibcxx_cv_func__fabsl_use=yes
32236 else
32237 glibcxx_cv_func__fabsl_use=no
32239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32240 ac_ext=c
32241 ac_cpp='$CPP $CPPFLAGS'
32242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
32251 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
32253 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
32254 for ac_func in _fabsl
32255 do :
32256 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
32257 if test "x$ac_cv_func__fabsl" = x""yes; then :
32258 cat >>confdefs.h <<_ACEOF
32259 #define HAVE__FABSL 1
32260 _ACEOF
32263 done
32272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
32273 $as_echo_n "checking for fmodl declaration... " >&6; }
32274 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
32275 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
32276 $as_echo_n "(cached) " >&6
32277 else
32280 ac_ext=cpp
32281 ac_cpp='$CXXCPP $CPPFLAGS'
32282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32287 /* end confdefs.h. */
32288 #include <math.h>
32290 main ()
32292 fmodl(0, 0);
32294 return 0;
32296 _ACEOF
32297 if ac_fn_cxx_try_compile "$LINENO"; then :
32298 glibcxx_cv_func_fmodl_use=yes
32299 else
32300 glibcxx_cv_func_fmodl_use=no
32302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32303 ac_ext=c
32304 ac_cpp='$CPP $CPPFLAGS'
32305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
32314 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
32316 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
32317 for ac_func in fmodl
32318 do :
32319 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
32320 if test "x$ac_cv_func_fmodl" = x""yes; then :
32321 cat >>confdefs.h <<_ACEOF
32322 #define HAVE_FMODL 1
32323 _ACEOF
32326 done
32328 else
32330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
32331 $as_echo_n "checking for _fmodl declaration... " >&6; }
32332 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
32333 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
32334 $as_echo_n "(cached) " >&6
32335 else
32338 ac_ext=cpp
32339 ac_cpp='$CXXCPP $CPPFLAGS'
32340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32345 /* end confdefs.h. */
32346 #include <math.h>
32348 main ()
32350 _fmodl(0, 0);
32352 return 0;
32354 _ACEOF
32355 if ac_fn_cxx_try_compile "$LINENO"; then :
32356 glibcxx_cv_func__fmodl_use=yes
32357 else
32358 glibcxx_cv_func__fmodl_use=no
32360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32361 ac_ext=c
32362 ac_cpp='$CPP $CPPFLAGS'
32363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
32372 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
32374 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
32375 for ac_func in _fmodl
32376 do :
32377 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
32378 if test "x$ac_cv_func__fmodl" = x""yes; then :
32379 cat >>confdefs.h <<_ACEOF
32380 #define HAVE__FMODL 1
32381 _ACEOF
32384 done
32393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
32394 $as_echo_n "checking for frexpl declaration... " >&6; }
32395 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
32396 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
32397 $as_echo_n "(cached) " >&6
32398 else
32401 ac_ext=cpp
32402 ac_cpp='$CXXCPP $CPPFLAGS'
32403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32408 /* end confdefs.h. */
32409 #include <math.h>
32411 main ()
32413 frexpl(0, 0);
32415 return 0;
32417 _ACEOF
32418 if ac_fn_cxx_try_compile "$LINENO"; then :
32419 glibcxx_cv_func_frexpl_use=yes
32420 else
32421 glibcxx_cv_func_frexpl_use=no
32423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32424 ac_ext=c
32425 ac_cpp='$CPP $CPPFLAGS'
32426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
32435 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
32437 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
32438 for ac_func in frexpl
32439 do :
32440 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
32441 if test "x$ac_cv_func_frexpl" = x""yes; then :
32442 cat >>confdefs.h <<_ACEOF
32443 #define HAVE_FREXPL 1
32444 _ACEOF
32447 done
32449 else
32451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
32452 $as_echo_n "checking for _frexpl declaration... " >&6; }
32453 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
32454 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
32455 $as_echo_n "(cached) " >&6
32456 else
32459 ac_ext=cpp
32460 ac_cpp='$CXXCPP $CPPFLAGS'
32461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32466 /* end confdefs.h. */
32467 #include <math.h>
32469 main ()
32471 _frexpl(0, 0);
32473 return 0;
32475 _ACEOF
32476 if ac_fn_cxx_try_compile "$LINENO"; then :
32477 glibcxx_cv_func__frexpl_use=yes
32478 else
32479 glibcxx_cv_func__frexpl_use=no
32481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32482 ac_ext=c
32483 ac_cpp='$CPP $CPPFLAGS'
32484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
32493 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
32495 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
32496 for ac_func in _frexpl
32497 do :
32498 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
32499 if test "x$ac_cv_func__frexpl" = x""yes; then :
32500 cat >>confdefs.h <<_ACEOF
32501 #define HAVE__FREXPL 1
32502 _ACEOF
32505 done
32514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
32515 $as_echo_n "checking for hypotl declaration... " >&6; }
32516 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
32517 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
32518 $as_echo_n "(cached) " >&6
32519 else
32522 ac_ext=cpp
32523 ac_cpp='$CXXCPP $CPPFLAGS'
32524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32529 /* end confdefs.h. */
32530 #include <math.h>
32532 main ()
32534 hypotl(0, 0);
32536 return 0;
32538 _ACEOF
32539 if ac_fn_cxx_try_compile "$LINENO"; then :
32540 glibcxx_cv_func_hypotl_use=yes
32541 else
32542 glibcxx_cv_func_hypotl_use=no
32544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32545 ac_ext=c
32546 ac_cpp='$CPP $CPPFLAGS'
32547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
32556 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
32558 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
32559 for ac_func in hypotl
32560 do :
32561 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
32562 if test "x$ac_cv_func_hypotl" = x""yes; then :
32563 cat >>confdefs.h <<_ACEOF
32564 #define HAVE_HYPOTL 1
32565 _ACEOF
32568 done
32570 else
32572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
32573 $as_echo_n "checking for _hypotl declaration... " >&6; }
32574 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
32575 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
32576 $as_echo_n "(cached) " >&6
32577 else
32580 ac_ext=cpp
32581 ac_cpp='$CXXCPP $CPPFLAGS'
32582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32587 /* end confdefs.h. */
32588 #include <math.h>
32590 main ()
32592 _hypotl(0, 0);
32594 return 0;
32596 _ACEOF
32597 if ac_fn_cxx_try_compile "$LINENO"; then :
32598 glibcxx_cv_func__hypotl_use=yes
32599 else
32600 glibcxx_cv_func__hypotl_use=no
32602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32603 ac_ext=c
32604 ac_cpp='$CPP $CPPFLAGS'
32605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
32614 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
32616 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
32617 for ac_func in _hypotl
32618 do :
32619 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
32620 if test "x$ac_cv_func__hypotl" = x""yes; then :
32621 cat >>confdefs.h <<_ACEOF
32622 #define HAVE__HYPOTL 1
32623 _ACEOF
32626 done
32635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
32636 $as_echo_n "checking for ldexpl declaration... " >&6; }
32637 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
32638 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
32639 $as_echo_n "(cached) " >&6
32640 else
32643 ac_ext=cpp
32644 ac_cpp='$CXXCPP $CPPFLAGS'
32645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32650 /* end confdefs.h. */
32651 #include <math.h>
32653 main ()
32655 ldexpl(0, 0);
32657 return 0;
32659 _ACEOF
32660 if ac_fn_cxx_try_compile "$LINENO"; then :
32661 glibcxx_cv_func_ldexpl_use=yes
32662 else
32663 glibcxx_cv_func_ldexpl_use=no
32665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32666 ac_ext=c
32667 ac_cpp='$CPP $CPPFLAGS'
32668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
32677 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
32679 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
32680 for ac_func in ldexpl
32681 do :
32682 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
32683 if test "x$ac_cv_func_ldexpl" = x""yes; then :
32684 cat >>confdefs.h <<_ACEOF
32685 #define HAVE_LDEXPL 1
32686 _ACEOF
32689 done
32691 else
32693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
32694 $as_echo_n "checking for _ldexpl declaration... " >&6; }
32695 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
32696 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
32697 $as_echo_n "(cached) " >&6
32698 else
32701 ac_ext=cpp
32702 ac_cpp='$CXXCPP $CPPFLAGS'
32703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32708 /* end confdefs.h. */
32709 #include <math.h>
32711 main ()
32713 _ldexpl(0, 0);
32715 return 0;
32717 _ACEOF
32718 if ac_fn_cxx_try_compile "$LINENO"; then :
32719 glibcxx_cv_func__ldexpl_use=yes
32720 else
32721 glibcxx_cv_func__ldexpl_use=no
32723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32724 ac_ext=c
32725 ac_cpp='$CPP $CPPFLAGS'
32726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
32735 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
32737 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
32738 for ac_func in _ldexpl
32739 do :
32740 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
32741 if test "x$ac_cv_func__ldexpl" = x""yes; then :
32742 cat >>confdefs.h <<_ACEOF
32743 #define HAVE__LDEXPL 1
32744 _ACEOF
32747 done
32756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
32757 $as_echo_n "checking for logl declaration... " >&6; }
32758 if test x${glibcxx_cv_func_logl_use+set} != xset; then
32759 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
32760 $as_echo_n "(cached) " >&6
32761 else
32764 ac_ext=cpp
32765 ac_cpp='$CXXCPP $CPPFLAGS'
32766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32771 /* end confdefs.h. */
32772 #include <math.h>
32773 #ifdef HAVE_IEEEFP_H
32774 #include <ieeefp.h>
32775 #endif
32778 main ()
32780 logl(0);
32782 return 0;
32784 _ACEOF
32785 if ac_fn_cxx_try_compile "$LINENO"; then :
32786 glibcxx_cv_func_logl_use=yes
32787 else
32788 glibcxx_cv_func_logl_use=no
32790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32791 ac_ext=c
32792 ac_cpp='$CPP $CPPFLAGS'
32793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
32802 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
32804 if test x$glibcxx_cv_func_logl_use = x"yes"; then
32805 for ac_func in logl
32806 do :
32807 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
32808 if test "x$ac_cv_func_logl" = x""yes; then :
32809 cat >>confdefs.h <<_ACEOF
32810 #define HAVE_LOGL 1
32811 _ACEOF
32814 done
32816 else
32818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
32819 $as_echo_n "checking for _logl declaration... " >&6; }
32820 if test x${glibcxx_cv_func__logl_use+set} != xset; then
32821 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
32822 $as_echo_n "(cached) " >&6
32823 else
32826 ac_ext=cpp
32827 ac_cpp='$CXXCPP $CPPFLAGS'
32828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32833 /* end confdefs.h. */
32834 #include <math.h>
32835 #ifdef HAVE_IEEEFP_H
32836 #include <ieeefp.h>
32837 #endif
32840 main ()
32842 _logl(0);
32844 return 0;
32846 _ACEOF
32847 if ac_fn_cxx_try_compile "$LINENO"; then :
32848 glibcxx_cv_func__logl_use=yes
32849 else
32850 glibcxx_cv_func__logl_use=no
32852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32853 ac_ext=c
32854 ac_cpp='$CPP $CPPFLAGS'
32855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
32864 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
32866 if test x$glibcxx_cv_func__logl_use = x"yes"; then
32867 for ac_func in _logl
32868 do :
32869 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
32870 if test "x$ac_cv_func__logl" = x""yes; then :
32871 cat >>confdefs.h <<_ACEOF
32872 #define HAVE__LOGL 1
32873 _ACEOF
32876 done
32885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
32886 $as_echo_n "checking for log10l declaration... " >&6; }
32887 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
32888 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
32889 $as_echo_n "(cached) " >&6
32890 else
32893 ac_ext=cpp
32894 ac_cpp='$CXXCPP $CPPFLAGS'
32895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32900 /* end confdefs.h. */
32901 #include <math.h>
32902 #ifdef HAVE_IEEEFP_H
32903 #include <ieeefp.h>
32904 #endif
32907 main ()
32909 log10l(0);
32911 return 0;
32913 _ACEOF
32914 if ac_fn_cxx_try_compile "$LINENO"; then :
32915 glibcxx_cv_func_log10l_use=yes
32916 else
32917 glibcxx_cv_func_log10l_use=no
32919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32920 ac_ext=c
32921 ac_cpp='$CPP $CPPFLAGS'
32922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
32931 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
32933 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
32934 for ac_func in log10l
32935 do :
32936 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
32937 if test "x$ac_cv_func_log10l" = x""yes; then :
32938 cat >>confdefs.h <<_ACEOF
32939 #define HAVE_LOG10L 1
32940 _ACEOF
32943 done
32945 else
32947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
32948 $as_echo_n "checking for _log10l declaration... " >&6; }
32949 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
32950 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
32951 $as_echo_n "(cached) " >&6
32952 else
32955 ac_ext=cpp
32956 ac_cpp='$CXXCPP $CPPFLAGS'
32957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32962 /* end confdefs.h. */
32963 #include <math.h>
32964 #ifdef HAVE_IEEEFP_H
32965 #include <ieeefp.h>
32966 #endif
32969 main ()
32971 _log10l(0);
32973 return 0;
32975 _ACEOF
32976 if ac_fn_cxx_try_compile "$LINENO"; then :
32977 glibcxx_cv_func__log10l_use=yes
32978 else
32979 glibcxx_cv_func__log10l_use=no
32981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32982 ac_ext=c
32983 ac_cpp='$CPP $CPPFLAGS'
32984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
32993 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
32995 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
32996 for ac_func in _log10l
32997 do :
32998 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
32999 if test "x$ac_cv_func__log10l" = x""yes; then :
33000 cat >>confdefs.h <<_ACEOF
33001 #define HAVE__LOG10L 1
33002 _ACEOF
33005 done
33014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
33015 $as_echo_n "checking for modfl declaration... " >&6; }
33016 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
33017 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
33018 $as_echo_n "(cached) " >&6
33019 else
33022 ac_ext=cpp
33023 ac_cpp='$CXXCPP $CPPFLAGS'
33024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33029 /* end confdefs.h. */
33030 #include <math.h>
33032 main ()
33034 modfl(0, 0);
33036 return 0;
33038 _ACEOF
33039 if ac_fn_cxx_try_compile "$LINENO"; then :
33040 glibcxx_cv_func_modfl_use=yes
33041 else
33042 glibcxx_cv_func_modfl_use=no
33044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33045 ac_ext=c
33046 ac_cpp='$CPP $CPPFLAGS'
33047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
33056 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
33058 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
33059 for ac_func in modfl
33060 do :
33061 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
33062 if test "x$ac_cv_func_modfl" = x""yes; then :
33063 cat >>confdefs.h <<_ACEOF
33064 #define HAVE_MODFL 1
33065 _ACEOF
33068 done
33070 else
33072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
33073 $as_echo_n "checking for _modfl declaration... " >&6; }
33074 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
33075 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
33076 $as_echo_n "(cached) " >&6
33077 else
33080 ac_ext=cpp
33081 ac_cpp='$CXXCPP $CPPFLAGS'
33082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33087 /* end confdefs.h. */
33088 #include <math.h>
33090 main ()
33092 _modfl(0, 0);
33094 return 0;
33096 _ACEOF
33097 if ac_fn_cxx_try_compile "$LINENO"; then :
33098 glibcxx_cv_func__modfl_use=yes
33099 else
33100 glibcxx_cv_func__modfl_use=no
33102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33103 ac_ext=c
33104 ac_cpp='$CPP $CPPFLAGS'
33105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
33114 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
33116 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
33117 for ac_func in _modfl
33118 do :
33119 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
33120 if test "x$ac_cv_func__modfl" = x""yes; then :
33121 cat >>confdefs.h <<_ACEOF
33122 #define HAVE__MODFL 1
33123 _ACEOF
33126 done
33135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
33136 $as_echo_n "checking for powl declaration... " >&6; }
33137 if test x${glibcxx_cv_func_powl_use+set} != xset; then
33138 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
33139 $as_echo_n "(cached) " >&6
33140 else
33143 ac_ext=cpp
33144 ac_cpp='$CXXCPP $CPPFLAGS'
33145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33150 /* end confdefs.h. */
33151 #include <math.h>
33153 main ()
33155 powl(0, 0);
33157 return 0;
33159 _ACEOF
33160 if ac_fn_cxx_try_compile "$LINENO"; then :
33161 glibcxx_cv_func_powl_use=yes
33162 else
33163 glibcxx_cv_func_powl_use=no
33165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33166 ac_ext=c
33167 ac_cpp='$CPP $CPPFLAGS'
33168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
33177 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
33179 if test x$glibcxx_cv_func_powl_use = x"yes"; then
33180 for ac_func in powl
33181 do :
33182 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
33183 if test "x$ac_cv_func_powl" = x""yes; then :
33184 cat >>confdefs.h <<_ACEOF
33185 #define HAVE_POWL 1
33186 _ACEOF
33189 done
33191 else
33193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
33194 $as_echo_n "checking for _powl declaration... " >&6; }
33195 if test x${glibcxx_cv_func__powl_use+set} != xset; then
33196 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
33197 $as_echo_n "(cached) " >&6
33198 else
33201 ac_ext=cpp
33202 ac_cpp='$CXXCPP $CPPFLAGS'
33203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33208 /* end confdefs.h. */
33209 #include <math.h>
33211 main ()
33213 _powl(0, 0);
33215 return 0;
33217 _ACEOF
33218 if ac_fn_cxx_try_compile "$LINENO"; then :
33219 glibcxx_cv_func__powl_use=yes
33220 else
33221 glibcxx_cv_func__powl_use=no
33223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33224 ac_ext=c
33225 ac_cpp='$CPP $CPPFLAGS'
33226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
33235 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
33237 if test x$glibcxx_cv_func__powl_use = x"yes"; then
33238 for ac_func in _powl
33239 do :
33240 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
33241 if test "x$ac_cv_func__powl" = x""yes; then :
33242 cat >>confdefs.h <<_ACEOF
33243 #define HAVE__POWL 1
33244 _ACEOF
33247 done
33256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
33257 $as_echo_n "checking for sqrtl declaration... " >&6; }
33258 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
33259 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
33260 $as_echo_n "(cached) " >&6
33261 else
33264 ac_ext=cpp
33265 ac_cpp='$CXXCPP $CPPFLAGS'
33266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33271 /* end confdefs.h. */
33272 #include <math.h>
33273 #ifdef HAVE_IEEEFP_H
33274 #include <ieeefp.h>
33275 #endif
33278 main ()
33280 sqrtl(0);
33282 return 0;
33284 _ACEOF
33285 if ac_fn_cxx_try_compile "$LINENO"; then :
33286 glibcxx_cv_func_sqrtl_use=yes
33287 else
33288 glibcxx_cv_func_sqrtl_use=no
33290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33291 ac_ext=c
33292 ac_cpp='$CPP $CPPFLAGS'
33293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
33302 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
33304 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
33305 for ac_func in sqrtl
33306 do :
33307 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
33308 if test "x$ac_cv_func_sqrtl" = x""yes; then :
33309 cat >>confdefs.h <<_ACEOF
33310 #define HAVE_SQRTL 1
33311 _ACEOF
33314 done
33316 else
33318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
33319 $as_echo_n "checking for _sqrtl declaration... " >&6; }
33320 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
33321 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
33322 $as_echo_n "(cached) " >&6
33323 else
33326 ac_ext=cpp
33327 ac_cpp='$CXXCPP $CPPFLAGS'
33328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33333 /* end confdefs.h. */
33334 #include <math.h>
33335 #ifdef HAVE_IEEEFP_H
33336 #include <ieeefp.h>
33337 #endif
33340 main ()
33342 _sqrtl(0);
33344 return 0;
33346 _ACEOF
33347 if ac_fn_cxx_try_compile "$LINENO"; then :
33348 glibcxx_cv_func__sqrtl_use=yes
33349 else
33350 glibcxx_cv_func__sqrtl_use=no
33352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33353 ac_ext=c
33354 ac_cpp='$CPP $CPPFLAGS'
33355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
33364 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
33366 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
33367 for ac_func in _sqrtl
33368 do :
33369 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
33370 if test "x$ac_cv_func__sqrtl" = x""yes; then :
33371 cat >>confdefs.h <<_ACEOF
33372 #define HAVE__SQRTL 1
33373 _ACEOF
33376 done
33385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
33386 $as_echo_n "checking for sincosl declaration... " >&6; }
33387 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
33388 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
33389 $as_echo_n "(cached) " >&6
33390 else
33393 ac_ext=cpp
33394 ac_cpp='$CXXCPP $CPPFLAGS'
33395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33400 /* end confdefs.h. */
33401 #include <math.h>
33403 main ()
33405 sincosl(0, 0, 0);
33407 return 0;
33409 _ACEOF
33410 if ac_fn_cxx_try_compile "$LINENO"; then :
33411 glibcxx_cv_func_sincosl_use=yes
33412 else
33413 glibcxx_cv_func_sincosl_use=no
33415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33416 ac_ext=c
33417 ac_cpp='$CPP $CPPFLAGS'
33418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
33427 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
33429 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
33430 for ac_func in sincosl
33431 do :
33432 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
33433 if test "x$ac_cv_func_sincosl" = x""yes; then :
33434 cat >>confdefs.h <<_ACEOF
33435 #define HAVE_SINCOSL 1
33436 _ACEOF
33439 done
33441 else
33443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
33444 $as_echo_n "checking for _sincosl declaration... " >&6; }
33445 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
33446 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
33447 $as_echo_n "(cached) " >&6
33448 else
33451 ac_ext=cpp
33452 ac_cpp='$CXXCPP $CPPFLAGS'
33453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33458 /* end confdefs.h. */
33459 #include <math.h>
33461 main ()
33463 _sincosl(0, 0, 0);
33465 return 0;
33467 _ACEOF
33468 if ac_fn_cxx_try_compile "$LINENO"; then :
33469 glibcxx_cv_func__sincosl_use=yes
33470 else
33471 glibcxx_cv_func__sincosl_use=no
33473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33474 ac_ext=c
33475 ac_cpp='$CPP $CPPFLAGS'
33476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
33485 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
33487 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
33488 for ac_func in _sincosl
33489 do :
33490 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
33491 if test "x$ac_cv_func__sincosl" = x""yes; then :
33492 cat >>confdefs.h <<_ACEOF
33493 #define HAVE__SINCOSL 1
33494 _ACEOF
33497 done
33506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
33507 $as_echo_n "checking for finitel declaration... " >&6; }
33508 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
33509 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
33510 $as_echo_n "(cached) " >&6
33511 else
33514 ac_ext=cpp
33515 ac_cpp='$CXXCPP $CPPFLAGS'
33516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33521 /* end confdefs.h. */
33522 #include <math.h>
33523 #ifdef HAVE_IEEEFP_H
33524 #include <ieeefp.h>
33525 #endif
33528 main ()
33530 finitel(0);
33532 return 0;
33534 _ACEOF
33535 if ac_fn_cxx_try_compile "$LINENO"; then :
33536 glibcxx_cv_func_finitel_use=yes
33537 else
33538 glibcxx_cv_func_finitel_use=no
33540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33541 ac_ext=c
33542 ac_cpp='$CPP $CPPFLAGS'
33543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
33552 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
33554 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
33555 for ac_func in finitel
33556 do :
33557 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
33558 if test "x$ac_cv_func_finitel" = x""yes; then :
33559 cat >>confdefs.h <<_ACEOF
33560 #define HAVE_FINITEL 1
33561 _ACEOF
33564 done
33566 else
33568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
33569 $as_echo_n "checking for _finitel declaration... " >&6; }
33570 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
33571 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
33572 $as_echo_n "(cached) " >&6
33573 else
33576 ac_ext=cpp
33577 ac_cpp='$CXXCPP $CPPFLAGS'
33578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33583 /* end confdefs.h. */
33584 #include <math.h>
33585 #ifdef HAVE_IEEEFP_H
33586 #include <ieeefp.h>
33587 #endif
33590 main ()
33592 _finitel(0);
33594 return 0;
33596 _ACEOF
33597 if ac_fn_cxx_try_compile "$LINENO"; then :
33598 glibcxx_cv_func__finitel_use=yes
33599 else
33600 glibcxx_cv_func__finitel_use=no
33602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33603 ac_ext=c
33604 ac_cpp='$CPP $CPPFLAGS'
33605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
33614 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
33616 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
33617 for ac_func in _finitel
33618 do :
33619 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
33620 if test "x$ac_cv_func__finitel" = x""yes; then :
33621 cat >>confdefs.h <<_ACEOF
33622 #define HAVE__FINITEL 1
33623 _ACEOF
33626 done
33634 LIBS="$ac_save_LIBS"
33635 CXXFLAGS="$ac_save_CXXFLAGS"
33638 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33639 ac_save_CXXFLAGS="$CXXFLAGS"
33640 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
33644 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
33645 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
33646 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
33647 $as_echo_n "(cached) " >&6
33648 else
33651 ac_ext=cpp
33652 ac_cpp='$CXXCPP $CPPFLAGS'
33653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33658 /* end confdefs.h. */
33659 #include <stdlib.h>
33661 main ()
33663 at_quick_exit(0);
33665 return 0;
33667 _ACEOF
33668 if ac_fn_cxx_try_compile "$LINENO"; then :
33669 glibcxx_cv_func_at_quick_exit_use=yes
33670 else
33671 glibcxx_cv_func_at_quick_exit_use=no
33673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33674 ac_ext=c
33675 ac_cpp='$CPP $CPPFLAGS'
33676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
33685 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
33686 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
33687 for ac_func in at_quick_exit
33688 do :
33689 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
33690 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
33691 cat >>confdefs.h <<_ACEOF
33692 #define HAVE_AT_QUICK_EXIT 1
33693 _ACEOF
33696 done
33701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
33702 $as_echo_n "checking for quick_exit declaration... " >&6; }
33703 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
33704 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
33705 $as_echo_n "(cached) " >&6
33706 else
33709 ac_ext=cpp
33710 ac_cpp='$CXXCPP $CPPFLAGS'
33711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33716 /* end confdefs.h. */
33717 #include <stdlib.h>
33719 main ()
33721 quick_exit(0);
33723 return 0;
33725 _ACEOF
33726 if ac_fn_cxx_try_compile "$LINENO"; then :
33727 glibcxx_cv_func_quick_exit_use=yes
33728 else
33729 glibcxx_cv_func_quick_exit_use=no
33731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33732 ac_ext=c
33733 ac_cpp='$CPP $CPPFLAGS'
33734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
33743 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
33744 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
33745 for ac_func in quick_exit
33746 do :
33747 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
33748 if test "x$ac_cv_func_quick_exit" = x""yes; then :
33749 cat >>confdefs.h <<_ACEOF
33750 #define HAVE_QUICK_EXIT 1
33751 _ACEOF
33754 done
33759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
33760 $as_echo_n "checking for strtold declaration... " >&6; }
33761 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
33762 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
33763 $as_echo_n "(cached) " >&6
33764 else
33767 ac_ext=cpp
33768 ac_cpp='$CXXCPP $CPPFLAGS'
33769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33774 /* end confdefs.h. */
33775 #include <stdlib.h>
33777 main ()
33779 strtold(0, 0);
33781 return 0;
33783 _ACEOF
33784 if ac_fn_cxx_try_compile "$LINENO"; then :
33785 glibcxx_cv_func_strtold_use=yes
33786 else
33787 glibcxx_cv_func_strtold_use=no
33789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33790 ac_ext=c
33791 ac_cpp='$CPP $CPPFLAGS'
33792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
33801 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
33802 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
33803 for ac_func in strtold
33804 do :
33805 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
33806 if test "x$ac_cv_func_strtold" = x""yes; then :
33807 cat >>confdefs.h <<_ACEOF
33808 #define HAVE_STRTOLD 1
33809 _ACEOF
33812 done
33819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
33820 $as_echo_n "checking for strtof declaration... " >&6; }
33821 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
33822 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
33823 $as_echo_n "(cached) " >&6
33824 else
33827 ac_ext=cpp
33828 ac_cpp='$CXXCPP $CPPFLAGS'
33829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33834 /* end confdefs.h. */
33835 #include <stdlib.h>
33837 main ()
33839 strtof(0, 0);
33841 return 0;
33843 _ACEOF
33844 if ac_fn_cxx_try_compile "$LINENO"; then :
33845 glibcxx_cv_func_strtof_use=yes
33846 else
33847 glibcxx_cv_func_strtof_use=no
33849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33850 ac_ext=c
33851 ac_cpp='$CPP $CPPFLAGS'
33852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
33861 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
33862 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
33863 for ac_func in strtof
33864 do :
33865 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
33866 if test "x$ac_cv_func_strtof" = x""yes; then :
33867 cat >>confdefs.h <<_ACEOF
33868 #define HAVE_STRTOF 1
33869 _ACEOF
33872 done
33879 CXXFLAGS="$ac_save_CXXFLAGS"
33882 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
33884 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
33886 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
33888 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
33891 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
33893 $as_echo "#define HAVE_MODF 1" >>confdefs.h
33895 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
33899 spu-*-elf*)
33901 # All these tests are for C++; save the language and the compiler flags.
33902 # The CXXFLAGS thing is suspicious, but based on similar bits previously
33903 # found in GLIBCXX_CONFIGURE.
33905 ac_ext=cpp
33906 ac_cpp='$CXXCPP $CPPFLAGS'
33907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33911 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33912 ac_save_CXXFLAGS="$CXXFLAGS"
33914 # Check for maintainer-mode bits.
33915 if test x"$USE_MAINTAINER_MODE" = xno; then
33916 WERROR=''
33917 else
33918 WERROR='-Werror'
33921 # Check for -ffunction-sections -fdata-sections
33922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
33923 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
33924 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
33925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33926 /* end confdefs.h. */
33927 int foo; void bar() { };
33929 main ()
33933 return 0;
33935 _ACEOF
33936 if ac_fn_cxx_try_compile "$LINENO"; then :
33937 ac_fdsections=yes
33938 else
33939 ac_fdsections=no
33941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33942 if test "$ac_test_CXXFLAGS" = set; then
33943 CXXFLAGS="$ac_save_CXXFLAGS"
33944 else
33945 # this is the suspicious part
33946 CXXFLAGS=''
33948 if test x"$ac_fdsections" = x"yes"; then
33949 SECTION_FLAGS='-ffunction-sections -fdata-sections'
33951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
33952 $as_echo "$ac_fdsections" >&6; }
33954 ac_ext=c
33955 ac_cpp='$CPP $CPPFLAGS'
33956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33964 # If we're not using GNU ld, then there's no point in even trying these
33965 # tests. Check for that first. We should have already tested for gld
33966 # by now (in libtool), but require it now just to be safe...
33967 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
33968 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
33972 # The name set by libtool depends on the version of libtool. Shame on us
33973 # for depending on an impl detail, but c'est la vie. Older versions used
33974 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
33975 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
33976 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
33977 # set (hence we're using an older libtool), then set it.
33978 if test x${with_gnu_ld+set} != xset; then
33979 if test x${ac_cv_prog_gnu_ld+set} != xset; then
33980 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
33981 with_gnu_ld=no
33982 else
33983 with_gnu_ld=$ac_cv_prog_gnu_ld
33987 # Start by getting the version number. I think the libtool test already
33988 # does some of this, but throws away the result.
33989 glibcxx_ld_is_gold=no
33990 if test x"$with_gnu_ld" = x"yes"; then
33991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
33992 $as_echo_n "checking for ld version... " >&6; }
33994 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
33995 glibcxx_ld_is_gold=yes
33997 ldver=`$LD --version 2>/dev/null |
33998 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'`
34000 glibcxx_gnu_ld_version=`echo $ldver | \
34001 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
34002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
34003 $as_echo "$glibcxx_gnu_ld_version" >&6; }
34006 # Set --gc-sections.
34007 glibcxx_have_gc_sections=no
34008 if test "$glibcxx_ld_is_gold" = "yes"; then
34009 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
34010 glibcxx_have_gc_sections=yes
34012 else
34013 glibcxx_gcsections_min_ld=21602
34014 if test x"$with_gnu_ld" = x"yes" &&
34015 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
34016 glibcxx_have_gc_sections=yes
34019 if test "$glibcxx_have_gc_sections" = "yes"; then
34020 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
34021 # NB: This flag only works reliably after 2.16.1. Configure tests
34022 # for this are difficult, so hard wire a value that should work.
34024 ac_test_CFLAGS="${CFLAGS+set}"
34025 ac_save_CFLAGS="$CFLAGS"
34026 CFLAGS='-Wl,--gc-sections'
34028 # Check for -Wl,--gc-sections
34029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
34030 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
34031 if test x$gcc_no_link = xyes; then
34032 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
34034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34035 /* end confdefs.h. */
34036 int one(void) { return 1; }
34037 int two(void) { return 2; }
34040 main ()
34042 two();
34044 return 0;
34046 _ACEOF
34047 if ac_fn_c_try_link "$LINENO"; then :
34048 ac_gcsections=yes
34049 else
34050 ac_gcsections=no
34052 rm -f core conftest.err conftest.$ac_objext \
34053 conftest$ac_exeext conftest.$ac_ext
34054 if test "$ac_gcsections" = "yes"; then
34055 rm -f conftest.c
34056 touch conftest.c
34057 if $CC -c conftest.c; then
34058 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
34059 grep "Warning: gc-sections option ignored" > /dev/null; then
34060 ac_gcsections=no
34063 rm -f conftest.c conftest.o conftest
34065 if test "$ac_gcsections" = "yes"; then
34066 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
34068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
34069 $as_echo "$ac_gcsections" >&6; }
34071 if test "$ac_test_CFLAGS" = set; then
34072 CFLAGS="$ac_save_CFLAGS"
34073 else
34074 # this is the suspicious part
34075 CFLAGS=''
34079 # Set -z,relro.
34080 # Note this is only for shared objects.
34081 ac_ld_relro=no
34082 if test x"$with_gnu_ld" = x"yes"; then
34083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
34084 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
34085 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
34086 if test -n "$cxx_z_relo"; then
34087 OPT_LDFLAGS="-Wl,-z,relro"
34088 ac_ld_relro=yes
34090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
34091 $as_echo "$ac_ld_relro" >&6; }
34094 # Set linker optimization flags.
34095 if test x"$with_gnu_ld" = x"yes"; then
34096 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
34103 ac_test_CXXFLAGS="${CXXFLAGS+set}"
34104 ac_save_CXXFLAGS="$CXXFLAGS"
34105 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
34107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
34108 $as_echo_n "checking for sin in -lm... " >&6; }
34109 if test "${ac_cv_lib_m_sin+set}" = set; then :
34110 $as_echo_n "(cached) " >&6
34111 else
34112 ac_check_lib_save_LIBS=$LIBS
34113 LIBS="-lm $LIBS"
34114 if test x$gcc_no_link = xyes; then
34115 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
34117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34118 /* end confdefs.h. */
34120 /* Override any GCC internal prototype to avoid an error.
34121 Use char because int might match the return type of a GCC
34122 builtin and then its argument prototype would still apply. */
34123 #ifdef __cplusplus
34124 extern "C"
34125 #endif
34126 char sin ();
34128 main ()
34130 return sin ();
34132 return 0;
34134 _ACEOF
34135 if ac_fn_c_try_link "$LINENO"; then :
34136 ac_cv_lib_m_sin=yes
34137 else
34138 ac_cv_lib_m_sin=no
34140 rm -f core conftest.err conftest.$ac_objext \
34141 conftest$ac_exeext conftest.$ac_ext
34142 LIBS=$ac_check_lib_save_LIBS
34144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
34145 $as_echo "$ac_cv_lib_m_sin" >&6; }
34146 if test "x$ac_cv_lib_m_sin" = x""yes; then :
34147 libm="-lm"
34150 ac_save_LIBS="$LIBS"
34151 LIBS="$LIBS $libm"
34155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
34156 $as_echo_n "checking for isinf declaration... " >&6; }
34157 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
34158 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
34159 $as_echo_n "(cached) " >&6
34160 else
34163 ac_ext=cpp
34164 ac_cpp='$CXXCPP $CPPFLAGS'
34165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34170 /* end confdefs.h. */
34171 #include <math.h>
34172 #ifdef HAVE_IEEEFP_H
34173 #include <ieeefp.h>
34174 #endif
34177 main ()
34179 isinf(0);
34181 return 0;
34183 _ACEOF
34184 if ac_fn_cxx_try_compile "$LINENO"; then :
34185 glibcxx_cv_func_isinf_use=yes
34186 else
34187 glibcxx_cv_func_isinf_use=no
34189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34190 ac_ext=c
34191 ac_cpp='$CPP $CPPFLAGS'
34192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
34201 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
34203 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
34204 for ac_func in isinf
34205 do :
34206 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
34207 if test "x$ac_cv_func_isinf" = x""yes; then :
34208 cat >>confdefs.h <<_ACEOF
34209 #define HAVE_ISINF 1
34210 _ACEOF
34213 done
34215 else
34217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
34218 $as_echo_n "checking for _isinf declaration... " >&6; }
34219 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
34220 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
34221 $as_echo_n "(cached) " >&6
34222 else
34225 ac_ext=cpp
34226 ac_cpp='$CXXCPP $CPPFLAGS'
34227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34232 /* end confdefs.h. */
34233 #include <math.h>
34234 #ifdef HAVE_IEEEFP_H
34235 #include <ieeefp.h>
34236 #endif
34239 main ()
34241 _isinf(0);
34243 return 0;
34245 _ACEOF
34246 if ac_fn_cxx_try_compile "$LINENO"; then :
34247 glibcxx_cv_func__isinf_use=yes
34248 else
34249 glibcxx_cv_func__isinf_use=no
34251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34252 ac_ext=c
34253 ac_cpp='$CPP $CPPFLAGS'
34254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
34263 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
34265 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
34266 for ac_func in _isinf
34267 do :
34268 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
34269 if test "x$ac_cv_func__isinf" = x""yes; then :
34270 cat >>confdefs.h <<_ACEOF
34271 #define HAVE__ISINF 1
34272 _ACEOF
34275 done
34284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
34285 $as_echo_n "checking for isnan declaration... " >&6; }
34286 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
34287 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
34288 $as_echo_n "(cached) " >&6
34289 else
34292 ac_ext=cpp
34293 ac_cpp='$CXXCPP $CPPFLAGS'
34294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34299 /* end confdefs.h. */
34300 #include <math.h>
34301 #ifdef HAVE_IEEEFP_H
34302 #include <ieeefp.h>
34303 #endif
34306 main ()
34308 isnan(0);
34310 return 0;
34312 _ACEOF
34313 if ac_fn_cxx_try_compile "$LINENO"; then :
34314 glibcxx_cv_func_isnan_use=yes
34315 else
34316 glibcxx_cv_func_isnan_use=no
34318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34319 ac_ext=c
34320 ac_cpp='$CPP $CPPFLAGS'
34321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
34330 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
34332 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
34333 for ac_func in isnan
34334 do :
34335 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
34336 if test "x$ac_cv_func_isnan" = x""yes; then :
34337 cat >>confdefs.h <<_ACEOF
34338 #define HAVE_ISNAN 1
34339 _ACEOF
34342 done
34344 else
34346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
34347 $as_echo_n "checking for _isnan declaration... " >&6; }
34348 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
34349 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
34350 $as_echo_n "(cached) " >&6
34351 else
34354 ac_ext=cpp
34355 ac_cpp='$CXXCPP $CPPFLAGS'
34356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34361 /* end confdefs.h. */
34362 #include <math.h>
34363 #ifdef HAVE_IEEEFP_H
34364 #include <ieeefp.h>
34365 #endif
34368 main ()
34370 _isnan(0);
34372 return 0;
34374 _ACEOF
34375 if ac_fn_cxx_try_compile "$LINENO"; then :
34376 glibcxx_cv_func__isnan_use=yes
34377 else
34378 glibcxx_cv_func__isnan_use=no
34380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34381 ac_ext=c
34382 ac_cpp='$CPP $CPPFLAGS'
34383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
34392 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
34394 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
34395 for ac_func in _isnan
34396 do :
34397 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
34398 if test "x$ac_cv_func__isnan" = x""yes; then :
34399 cat >>confdefs.h <<_ACEOF
34400 #define HAVE__ISNAN 1
34401 _ACEOF
34404 done
34413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
34414 $as_echo_n "checking for finite declaration... " >&6; }
34415 if test x${glibcxx_cv_func_finite_use+set} != xset; then
34416 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
34417 $as_echo_n "(cached) " >&6
34418 else
34421 ac_ext=cpp
34422 ac_cpp='$CXXCPP $CPPFLAGS'
34423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34428 /* end confdefs.h. */
34429 #include <math.h>
34430 #ifdef HAVE_IEEEFP_H
34431 #include <ieeefp.h>
34432 #endif
34435 main ()
34437 finite(0);
34439 return 0;
34441 _ACEOF
34442 if ac_fn_cxx_try_compile "$LINENO"; then :
34443 glibcxx_cv_func_finite_use=yes
34444 else
34445 glibcxx_cv_func_finite_use=no
34447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34448 ac_ext=c
34449 ac_cpp='$CPP $CPPFLAGS'
34450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
34459 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
34461 if test x$glibcxx_cv_func_finite_use = x"yes"; then
34462 for ac_func in finite
34463 do :
34464 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
34465 if test "x$ac_cv_func_finite" = x""yes; then :
34466 cat >>confdefs.h <<_ACEOF
34467 #define HAVE_FINITE 1
34468 _ACEOF
34471 done
34473 else
34475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
34476 $as_echo_n "checking for _finite declaration... " >&6; }
34477 if test x${glibcxx_cv_func__finite_use+set} != xset; then
34478 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
34479 $as_echo_n "(cached) " >&6
34480 else
34483 ac_ext=cpp
34484 ac_cpp='$CXXCPP $CPPFLAGS'
34485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34490 /* end confdefs.h. */
34491 #include <math.h>
34492 #ifdef HAVE_IEEEFP_H
34493 #include <ieeefp.h>
34494 #endif
34497 main ()
34499 _finite(0);
34501 return 0;
34503 _ACEOF
34504 if ac_fn_cxx_try_compile "$LINENO"; then :
34505 glibcxx_cv_func__finite_use=yes
34506 else
34507 glibcxx_cv_func__finite_use=no
34509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34510 ac_ext=c
34511 ac_cpp='$CPP $CPPFLAGS'
34512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
34521 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
34523 if test x$glibcxx_cv_func__finite_use = x"yes"; then
34524 for ac_func in _finite
34525 do :
34526 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
34527 if test "x$ac_cv_func__finite" = x""yes; then :
34528 cat >>confdefs.h <<_ACEOF
34529 #define HAVE__FINITE 1
34530 _ACEOF
34533 done
34542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
34543 $as_echo_n "checking for sincos declaration... " >&6; }
34544 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
34545 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
34546 $as_echo_n "(cached) " >&6
34547 else
34550 ac_ext=cpp
34551 ac_cpp='$CXXCPP $CPPFLAGS'
34552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34557 /* end confdefs.h. */
34558 #include <math.h>
34560 main ()
34562 sincos(0, 0, 0);
34564 return 0;
34566 _ACEOF
34567 if ac_fn_cxx_try_compile "$LINENO"; then :
34568 glibcxx_cv_func_sincos_use=yes
34569 else
34570 glibcxx_cv_func_sincos_use=no
34572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34573 ac_ext=c
34574 ac_cpp='$CPP $CPPFLAGS'
34575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
34584 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
34586 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
34587 for ac_func in sincos
34588 do :
34589 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
34590 if test "x$ac_cv_func_sincos" = x""yes; then :
34591 cat >>confdefs.h <<_ACEOF
34592 #define HAVE_SINCOS 1
34593 _ACEOF
34596 done
34598 else
34600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
34601 $as_echo_n "checking for _sincos declaration... " >&6; }
34602 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
34603 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
34604 $as_echo_n "(cached) " >&6
34605 else
34608 ac_ext=cpp
34609 ac_cpp='$CXXCPP $CPPFLAGS'
34610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34615 /* end confdefs.h. */
34616 #include <math.h>
34618 main ()
34620 _sincos(0, 0, 0);
34622 return 0;
34624 _ACEOF
34625 if ac_fn_cxx_try_compile "$LINENO"; then :
34626 glibcxx_cv_func__sincos_use=yes
34627 else
34628 glibcxx_cv_func__sincos_use=no
34630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34631 ac_ext=c
34632 ac_cpp='$CPP $CPPFLAGS'
34633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
34642 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
34644 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
34645 for ac_func in _sincos
34646 do :
34647 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
34648 if test "x$ac_cv_func__sincos" = x""yes; then :
34649 cat >>confdefs.h <<_ACEOF
34650 #define HAVE__SINCOS 1
34651 _ACEOF
34654 done
34663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
34664 $as_echo_n "checking for fpclass declaration... " >&6; }
34665 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
34666 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
34667 $as_echo_n "(cached) " >&6
34668 else
34671 ac_ext=cpp
34672 ac_cpp='$CXXCPP $CPPFLAGS'
34673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34678 /* end confdefs.h. */
34679 #include <math.h>
34680 #ifdef HAVE_IEEEFP_H
34681 #include <ieeefp.h>
34682 #endif
34685 main ()
34687 fpclass(0);
34689 return 0;
34691 _ACEOF
34692 if ac_fn_cxx_try_compile "$LINENO"; then :
34693 glibcxx_cv_func_fpclass_use=yes
34694 else
34695 glibcxx_cv_func_fpclass_use=no
34697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34698 ac_ext=c
34699 ac_cpp='$CPP $CPPFLAGS'
34700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
34709 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
34711 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
34712 for ac_func in fpclass
34713 do :
34714 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
34715 if test "x$ac_cv_func_fpclass" = x""yes; then :
34716 cat >>confdefs.h <<_ACEOF
34717 #define HAVE_FPCLASS 1
34718 _ACEOF
34721 done
34723 else
34725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
34726 $as_echo_n "checking for _fpclass declaration... " >&6; }
34727 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
34728 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
34729 $as_echo_n "(cached) " >&6
34730 else
34733 ac_ext=cpp
34734 ac_cpp='$CXXCPP $CPPFLAGS'
34735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34740 /* end confdefs.h. */
34741 #include <math.h>
34742 #ifdef HAVE_IEEEFP_H
34743 #include <ieeefp.h>
34744 #endif
34747 main ()
34749 _fpclass(0);
34751 return 0;
34753 _ACEOF
34754 if ac_fn_cxx_try_compile "$LINENO"; then :
34755 glibcxx_cv_func__fpclass_use=yes
34756 else
34757 glibcxx_cv_func__fpclass_use=no
34759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34760 ac_ext=c
34761 ac_cpp='$CPP $CPPFLAGS'
34762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
34771 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
34773 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
34774 for ac_func in _fpclass
34775 do :
34776 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
34777 if test "x$ac_cv_func__fpclass" = x""yes; then :
34778 cat >>confdefs.h <<_ACEOF
34779 #define HAVE__FPCLASS 1
34780 _ACEOF
34783 done
34792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
34793 $as_echo_n "checking for qfpclass declaration... " >&6; }
34794 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
34795 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
34796 $as_echo_n "(cached) " >&6
34797 else
34800 ac_ext=cpp
34801 ac_cpp='$CXXCPP $CPPFLAGS'
34802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34807 /* end confdefs.h. */
34808 #include <math.h>
34809 #ifdef HAVE_IEEEFP_H
34810 #include <ieeefp.h>
34811 #endif
34814 main ()
34816 qfpclass(0);
34818 return 0;
34820 _ACEOF
34821 if ac_fn_cxx_try_compile "$LINENO"; then :
34822 glibcxx_cv_func_qfpclass_use=yes
34823 else
34824 glibcxx_cv_func_qfpclass_use=no
34826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34827 ac_ext=c
34828 ac_cpp='$CPP $CPPFLAGS'
34829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
34838 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
34840 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
34841 for ac_func in qfpclass
34842 do :
34843 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
34844 if test "x$ac_cv_func_qfpclass" = x""yes; then :
34845 cat >>confdefs.h <<_ACEOF
34846 #define HAVE_QFPCLASS 1
34847 _ACEOF
34850 done
34852 else
34854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
34855 $as_echo_n "checking for _qfpclass declaration... " >&6; }
34856 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
34857 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
34858 $as_echo_n "(cached) " >&6
34859 else
34862 ac_ext=cpp
34863 ac_cpp='$CXXCPP $CPPFLAGS'
34864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34869 /* end confdefs.h. */
34870 #include <math.h>
34871 #ifdef HAVE_IEEEFP_H
34872 #include <ieeefp.h>
34873 #endif
34876 main ()
34878 _qfpclass(0);
34880 return 0;
34882 _ACEOF
34883 if ac_fn_cxx_try_compile "$LINENO"; then :
34884 glibcxx_cv_func__qfpclass_use=yes
34885 else
34886 glibcxx_cv_func__qfpclass_use=no
34888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34889 ac_ext=c
34890 ac_cpp='$CPP $CPPFLAGS'
34891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
34900 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
34902 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
34903 for ac_func in _qfpclass
34904 do :
34905 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
34906 if test "x$ac_cv_func__qfpclass" = x""yes; then :
34907 cat >>confdefs.h <<_ACEOF
34908 #define HAVE__QFPCLASS 1
34909 _ACEOF
34912 done
34921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
34922 $as_echo_n "checking for hypot declaration... " >&6; }
34923 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
34924 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
34925 $as_echo_n "(cached) " >&6
34926 else
34929 ac_ext=cpp
34930 ac_cpp='$CXXCPP $CPPFLAGS'
34931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34936 /* end confdefs.h. */
34937 #include <math.h>
34939 main ()
34941 hypot(0, 0);
34943 return 0;
34945 _ACEOF
34946 if ac_fn_cxx_try_compile "$LINENO"; then :
34947 glibcxx_cv_func_hypot_use=yes
34948 else
34949 glibcxx_cv_func_hypot_use=no
34951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34952 ac_ext=c
34953 ac_cpp='$CPP $CPPFLAGS'
34954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
34963 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
34965 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
34966 for ac_func in hypot
34967 do :
34968 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
34969 if test "x$ac_cv_func_hypot" = x""yes; then :
34970 cat >>confdefs.h <<_ACEOF
34971 #define HAVE_HYPOT 1
34972 _ACEOF
34975 done
34977 else
34979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
34980 $as_echo_n "checking for _hypot declaration... " >&6; }
34981 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
34982 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
34983 $as_echo_n "(cached) " >&6
34984 else
34987 ac_ext=cpp
34988 ac_cpp='$CXXCPP $CPPFLAGS'
34989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34994 /* end confdefs.h. */
34995 #include <math.h>
34997 main ()
34999 _hypot(0, 0);
35001 return 0;
35003 _ACEOF
35004 if ac_fn_cxx_try_compile "$LINENO"; then :
35005 glibcxx_cv_func__hypot_use=yes
35006 else
35007 glibcxx_cv_func__hypot_use=no
35009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35010 ac_ext=c
35011 ac_cpp='$CPP $CPPFLAGS'
35012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
35021 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
35023 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
35024 for ac_func in _hypot
35025 do :
35026 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
35027 if test "x$ac_cv_func__hypot" = x""yes; then :
35028 cat >>confdefs.h <<_ACEOF
35029 #define HAVE__HYPOT 1
35030 _ACEOF
35033 done
35042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
35043 $as_echo_n "checking for float trig functions... " >&6; }
35044 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
35045 $as_echo_n "(cached) " >&6
35046 else
35049 ac_ext=cpp
35050 ac_cpp='$CXXCPP $CPPFLAGS'
35051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35056 /* end confdefs.h. */
35057 #include <math.h>
35059 main ()
35061 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
35063 return 0;
35065 _ACEOF
35066 if ac_fn_cxx_try_compile "$LINENO"; then :
35067 glibcxx_cv_func_float_trig_use=yes
35068 else
35069 glibcxx_cv_func_float_trig_use=no
35071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35072 ac_ext=c
35073 ac_cpp='$CPP $CPPFLAGS'
35074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
35081 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
35082 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
35083 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
35084 do :
35085 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35086 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35087 eval as_val=\$$as_ac_var
35088 if test "x$as_val" = x""yes; then :
35089 cat >>confdefs.h <<_ACEOF
35090 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35091 _ACEOF
35094 done
35096 else
35097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
35098 $as_echo_n "checking for _float trig functions... " >&6; }
35099 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
35100 $as_echo_n "(cached) " >&6
35101 else
35104 ac_ext=cpp
35105 ac_cpp='$CXXCPP $CPPFLAGS'
35106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35111 /* end confdefs.h. */
35112 #include <math.h>
35114 main ()
35116 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
35118 return 0;
35120 _ACEOF
35121 if ac_fn_cxx_try_compile "$LINENO"; then :
35122 glibcxx_cv_func__float_trig_use=yes
35123 else
35124 glibcxx_cv_func__float_trig_use=no
35126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35127 ac_ext=c
35128 ac_cpp='$CPP $CPPFLAGS'
35129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
35136 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
35137 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
35138 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
35139 do :
35140 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35141 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35142 eval as_val=\$$as_ac_var
35143 if test "x$as_val" = x""yes; then :
35144 cat >>confdefs.h <<_ACEOF
35145 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35146 _ACEOF
35149 done
35158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
35159 $as_echo_n "checking for float round functions... " >&6; }
35160 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
35161 $as_echo_n "(cached) " >&6
35162 else
35165 ac_ext=cpp
35166 ac_cpp='$CXXCPP $CPPFLAGS'
35167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35172 /* end confdefs.h. */
35173 #include <math.h>
35175 main ()
35177 ceilf (0); floorf (0);
35179 return 0;
35181 _ACEOF
35182 if ac_fn_cxx_try_compile "$LINENO"; then :
35183 glibcxx_cv_func_float_round_use=yes
35184 else
35185 glibcxx_cv_func_float_round_use=no
35187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35188 ac_ext=c
35189 ac_cpp='$CPP $CPPFLAGS'
35190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
35197 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
35198 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
35199 for ac_func in ceilf floorf
35200 do :
35201 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35202 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35203 eval as_val=\$$as_ac_var
35204 if test "x$as_val" = x""yes; then :
35205 cat >>confdefs.h <<_ACEOF
35206 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35207 _ACEOF
35210 done
35212 else
35213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
35214 $as_echo_n "checking for _float round functions... " >&6; }
35215 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
35216 $as_echo_n "(cached) " >&6
35217 else
35220 ac_ext=cpp
35221 ac_cpp='$CXXCPP $CPPFLAGS'
35222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35227 /* end confdefs.h. */
35228 #include <math.h>
35230 main ()
35232 _ceilf (0); _floorf (0);
35234 return 0;
35236 _ACEOF
35237 if ac_fn_cxx_try_compile "$LINENO"; then :
35238 glibcxx_cv_func__float_round_use=yes
35239 else
35240 glibcxx_cv_func__float_round_use=no
35242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35243 ac_ext=c
35244 ac_cpp='$CPP $CPPFLAGS'
35245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
35252 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
35253 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
35254 for ac_func in _ceilf _floorf
35255 do :
35256 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35257 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35258 eval as_val=\$$as_ac_var
35259 if test "x$as_val" = x""yes; then :
35260 cat >>confdefs.h <<_ACEOF
35261 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35262 _ACEOF
35265 done
35275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
35276 $as_echo_n "checking for expf declaration... " >&6; }
35277 if test x${glibcxx_cv_func_expf_use+set} != xset; then
35278 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
35279 $as_echo_n "(cached) " >&6
35280 else
35283 ac_ext=cpp
35284 ac_cpp='$CXXCPP $CPPFLAGS'
35285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35290 /* end confdefs.h. */
35291 #include <math.h>
35292 #ifdef HAVE_IEEEFP_H
35293 #include <ieeefp.h>
35294 #endif
35297 main ()
35299 expf(0);
35301 return 0;
35303 _ACEOF
35304 if ac_fn_cxx_try_compile "$LINENO"; then :
35305 glibcxx_cv_func_expf_use=yes
35306 else
35307 glibcxx_cv_func_expf_use=no
35309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35310 ac_ext=c
35311 ac_cpp='$CPP $CPPFLAGS'
35312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
35321 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
35323 if test x$glibcxx_cv_func_expf_use = x"yes"; then
35324 for ac_func in expf
35325 do :
35326 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
35327 if test "x$ac_cv_func_expf" = x""yes; then :
35328 cat >>confdefs.h <<_ACEOF
35329 #define HAVE_EXPF 1
35330 _ACEOF
35333 done
35335 else
35337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
35338 $as_echo_n "checking for _expf declaration... " >&6; }
35339 if test x${glibcxx_cv_func__expf_use+set} != xset; then
35340 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
35341 $as_echo_n "(cached) " >&6
35342 else
35345 ac_ext=cpp
35346 ac_cpp='$CXXCPP $CPPFLAGS'
35347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35352 /* end confdefs.h. */
35353 #include <math.h>
35354 #ifdef HAVE_IEEEFP_H
35355 #include <ieeefp.h>
35356 #endif
35359 main ()
35361 _expf(0);
35363 return 0;
35365 _ACEOF
35366 if ac_fn_cxx_try_compile "$LINENO"; then :
35367 glibcxx_cv_func__expf_use=yes
35368 else
35369 glibcxx_cv_func__expf_use=no
35371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35372 ac_ext=c
35373 ac_cpp='$CPP $CPPFLAGS'
35374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
35383 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
35385 if test x$glibcxx_cv_func__expf_use = x"yes"; then
35386 for ac_func in _expf
35387 do :
35388 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
35389 if test "x$ac_cv_func__expf" = x""yes; then :
35390 cat >>confdefs.h <<_ACEOF
35391 #define HAVE__EXPF 1
35392 _ACEOF
35395 done
35404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
35405 $as_echo_n "checking for isnanf declaration... " >&6; }
35406 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
35407 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
35408 $as_echo_n "(cached) " >&6
35409 else
35412 ac_ext=cpp
35413 ac_cpp='$CXXCPP $CPPFLAGS'
35414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35419 /* end confdefs.h. */
35420 #include <math.h>
35421 #ifdef HAVE_IEEEFP_H
35422 #include <ieeefp.h>
35423 #endif
35426 main ()
35428 isnanf(0);
35430 return 0;
35432 _ACEOF
35433 if ac_fn_cxx_try_compile "$LINENO"; then :
35434 glibcxx_cv_func_isnanf_use=yes
35435 else
35436 glibcxx_cv_func_isnanf_use=no
35438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35439 ac_ext=c
35440 ac_cpp='$CPP $CPPFLAGS'
35441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
35450 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
35452 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
35453 for ac_func in isnanf
35454 do :
35455 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
35456 if test "x$ac_cv_func_isnanf" = x""yes; then :
35457 cat >>confdefs.h <<_ACEOF
35458 #define HAVE_ISNANF 1
35459 _ACEOF
35462 done
35464 else
35466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
35467 $as_echo_n "checking for _isnanf declaration... " >&6; }
35468 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
35469 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
35470 $as_echo_n "(cached) " >&6
35471 else
35474 ac_ext=cpp
35475 ac_cpp='$CXXCPP $CPPFLAGS'
35476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35481 /* end confdefs.h. */
35482 #include <math.h>
35483 #ifdef HAVE_IEEEFP_H
35484 #include <ieeefp.h>
35485 #endif
35488 main ()
35490 _isnanf(0);
35492 return 0;
35494 _ACEOF
35495 if ac_fn_cxx_try_compile "$LINENO"; then :
35496 glibcxx_cv_func__isnanf_use=yes
35497 else
35498 glibcxx_cv_func__isnanf_use=no
35500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35501 ac_ext=c
35502 ac_cpp='$CPP $CPPFLAGS'
35503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
35512 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
35514 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
35515 for ac_func in _isnanf
35516 do :
35517 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
35518 if test "x$ac_cv_func__isnanf" = x""yes; then :
35519 cat >>confdefs.h <<_ACEOF
35520 #define HAVE__ISNANF 1
35521 _ACEOF
35524 done
35533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
35534 $as_echo_n "checking for isinff declaration... " >&6; }
35535 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
35536 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
35537 $as_echo_n "(cached) " >&6
35538 else
35541 ac_ext=cpp
35542 ac_cpp='$CXXCPP $CPPFLAGS'
35543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35548 /* end confdefs.h. */
35549 #include <math.h>
35550 #ifdef HAVE_IEEEFP_H
35551 #include <ieeefp.h>
35552 #endif
35555 main ()
35557 isinff(0);
35559 return 0;
35561 _ACEOF
35562 if ac_fn_cxx_try_compile "$LINENO"; then :
35563 glibcxx_cv_func_isinff_use=yes
35564 else
35565 glibcxx_cv_func_isinff_use=no
35567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35568 ac_ext=c
35569 ac_cpp='$CPP $CPPFLAGS'
35570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
35579 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
35581 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
35582 for ac_func in isinff
35583 do :
35584 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
35585 if test "x$ac_cv_func_isinff" = x""yes; then :
35586 cat >>confdefs.h <<_ACEOF
35587 #define HAVE_ISINFF 1
35588 _ACEOF
35591 done
35593 else
35595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
35596 $as_echo_n "checking for _isinff declaration... " >&6; }
35597 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
35598 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
35599 $as_echo_n "(cached) " >&6
35600 else
35603 ac_ext=cpp
35604 ac_cpp='$CXXCPP $CPPFLAGS'
35605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35610 /* end confdefs.h. */
35611 #include <math.h>
35612 #ifdef HAVE_IEEEFP_H
35613 #include <ieeefp.h>
35614 #endif
35617 main ()
35619 _isinff(0);
35621 return 0;
35623 _ACEOF
35624 if ac_fn_cxx_try_compile "$LINENO"; then :
35625 glibcxx_cv_func__isinff_use=yes
35626 else
35627 glibcxx_cv_func__isinff_use=no
35629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35630 ac_ext=c
35631 ac_cpp='$CPP $CPPFLAGS'
35632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
35641 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
35643 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
35644 for ac_func in _isinff
35645 do :
35646 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
35647 if test "x$ac_cv_func__isinff" = x""yes; then :
35648 cat >>confdefs.h <<_ACEOF
35649 #define HAVE__ISINFF 1
35650 _ACEOF
35653 done
35662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
35663 $as_echo_n "checking for atan2f declaration... " >&6; }
35664 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
35665 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
35666 $as_echo_n "(cached) " >&6
35667 else
35670 ac_ext=cpp
35671 ac_cpp='$CXXCPP $CPPFLAGS'
35672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35677 /* end confdefs.h. */
35678 #include <math.h>
35680 main ()
35682 atan2f(0, 0);
35684 return 0;
35686 _ACEOF
35687 if ac_fn_cxx_try_compile "$LINENO"; then :
35688 glibcxx_cv_func_atan2f_use=yes
35689 else
35690 glibcxx_cv_func_atan2f_use=no
35692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35693 ac_ext=c
35694 ac_cpp='$CPP $CPPFLAGS'
35695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
35704 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
35706 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
35707 for ac_func in atan2f
35708 do :
35709 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
35710 if test "x$ac_cv_func_atan2f" = x""yes; then :
35711 cat >>confdefs.h <<_ACEOF
35712 #define HAVE_ATAN2F 1
35713 _ACEOF
35716 done
35718 else
35720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
35721 $as_echo_n "checking for _atan2f declaration... " >&6; }
35722 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
35723 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
35724 $as_echo_n "(cached) " >&6
35725 else
35728 ac_ext=cpp
35729 ac_cpp='$CXXCPP $CPPFLAGS'
35730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35735 /* end confdefs.h. */
35736 #include <math.h>
35738 main ()
35740 _atan2f(0, 0);
35742 return 0;
35744 _ACEOF
35745 if ac_fn_cxx_try_compile "$LINENO"; then :
35746 glibcxx_cv_func__atan2f_use=yes
35747 else
35748 glibcxx_cv_func__atan2f_use=no
35750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35751 ac_ext=c
35752 ac_cpp='$CPP $CPPFLAGS'
35753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
35762 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
35764 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
35765 for ac_func in _atan2f
35766 do :
35767 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
35768 if test "x$ac_cv_func__atan2f" = x""yes; then :
35769 cat >>confdefs.h <<_ACEOF
35770 #define HAVE__ATAN2F 1
35771 _ACEOF
35774 done
35783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
35784 $as_echo_n "checking for fabsf declaration... " >&6; }
35785 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
35786 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
35787 $as_echo_n "(cached) " >&6
35788 else
35791 ac_ext=cpp
35792 ac_cpp='$CXXCPP $CPPFLAGS'
35793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35798 /* end confdefs.h. */
35799 #include <math.h>
35800 #ifdef HAVE_IEEEFP_H
35801 #include <ieeefp.h>
35802 #endif
35805 main ()
35807 fabsf(0);
35809 return 0;
35811 _ACEOF
35812 if ac_fn_cxx_try_compile "$LINENO"; then :
35813 glibcxx_cv_func_fabsf_use=yes
35814 else
35815 glibcxx_cv_func_fabsf_use=no
35817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35818 ac_ext=c
35819 ac_cpp='$CPP $CPPFLAGS'
35820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
35829 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
35831 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
35832 for ac_func in fabsf
35833 do :
35834 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
35835 if test "x$ac_cv_func_fabsf" = x""yes; then :
35836 cat >>confdefs.h <<_ACEOF
35837 #define HAVE_FABSF 1
35838 _ACEOF
35841 done
35843 else
35845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
35846 $as_echo_n "checking for _fabsf declaration... " >&6; }
35847 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
35848 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
35849 $as_echo_n "(cached) " >&6
35850 else
35853 ac_ext=cpp
35854 ac_cpp='$CXXCPP $CPPFLAGS'
35855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35860 /* end confdefs.h. */
35861 #include <math.h>
35862 #ifdef HAVE_IEEEFP_H
35863 #include <ieeefp.h>
35864 #endif
35867 main ()
35869 _fabsf(0);
35871 return 0;
35873 _ACEOF
35874 if ac_fn_cxx_try_compile "$LINENO"; then :
35875 glibcxx_cv_func__fabsf_use=yes
35876 else
35877 glibcxx_cv_func__fabsf_use=no
35879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35880 ac_ext=c
35881 ac_cpp='$CPP $CPPFLAGS'
35882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
35891 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
35893 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
35894 for ac_func in _fabsf
35895 do :
35896 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
35897 if test "x$ac_cv_func__fabsf" = x""yes; then :
35898 cat >>confdefs.h <<_ACEOF
35899 #define HAVE__FABSF 1
35900 _ACEOF
35903 done
35912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
35913 $as_echo_n "checking for fmodf declaration... " >&6; }
35914 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
35915 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
35916 $as_echo_n "(cached) " >&6
35917 else
35920 ac_ext=cpp
35921 ac_cpp='$CXXCPP $CPPFLAGS'
35922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35927 /* end confdefs.h. */
35928 #include <math.h>
35930 main ()
35932 fmodf(0, 0);
35934 return 0;
35936 _ACEOF
35937 if ac_fn_cxx_try_compile "$LINENO"; then :
35938 glibcxx_cv_func_fmodf_use=yes
35939 else
35940 glibcxx_cv_func_fmodf_use=no
35942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35943 ac_ext=c
35944 ac_cpp='$CPP $CPPFLAGS'
35945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
35954 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
35956 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
35957 for ac_func in fmodf
35958 do :
35959 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
35960 if test "x$ac_cv_func_fmodf" = x""yes; then :
35961 cat >>confdefs.h <<_ACEOF
35962 #define HAVE_FMODF 1
35963 _ACEOF
35966 done
35968 else
35970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
35971 $as_echo_n "checking for _fmodf declaration... " >&6; }
35972 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
35973 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
35974 $as_echo_n "(cached) " >&6
35975 else
35978 ac_ext=cpp
35979 ac_cpp='$CXXCPP $CPPFLAGS'
35980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35985 /* end confdefs.h. */
35986 #include <math.h>
35988 main ()
35990 _fmodf(0, 0);
35992 return 0;
35994 _ACEOF
35995 if ac_fn_cxx_try_compile "$LINENO"; then :
35996 glibcxx_cv_func__fmodf_use=yes
35997 else
35998 glibcxx_cv_func__fmodf_use=no
36000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36001 ac_ext=c
36002 ac_cpp='$CPP $CPPFLAGS'
36003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
36012 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
36014 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
36015 for ac_func in _fmodf
36016 do :
36017 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
36018 if test "x$ac_cv_func__fmodf" = x""yes; then :
36019 cat >>confdefs.h <<_ACEOF
36020 #define HAVE__FMODF 1
36021 _ACEOF
36024 done
36033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
36034 $as_echo_n "checking for frexpf declaration... " >&6; }
36035 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
36036 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
36037 $as_echo_n "(cached) " >&6
36038 else
36041 ac_ext=cpp
36042 ac_cpp='$CXXCPP $CPPFLAGS'
36043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36048 /* end confdefs.h. */
36049 #include <math.h>
36051 main ()
36053 frexpf(0, 0);
36055 return 0;
36057 _ACEOF
36058 if ac_fn_cxx_try_compile "$LINENO"; then :
36059 glibcxx_cv_func_frexpf_use=yes
36060 else
36061 glibcxx_cv_func_frexpf_use=no
36063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36064 ac_ext=c
36065 ac_cpp='$CPP $CPPFLAGS'
36066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
36075 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
36077 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
36078 for ac_func in frexpf
36079 do :
36080 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
36081 if test "x$ac_cv_func_frexpf" = x""yes; then :
36082 cat >>confdefs.h <<_ACEOF
36083 #define HAVE_FREXPF 1
36084 _ACEOF
36087 done
36089 else
36091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
36092 $as_echo_n "checking for _frexpf declaration... " >&6; }
36093 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
36094 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
36095 $as_echo_n "(cached) " >&6
36096 else
36099 ac_ext=cpp
36100 ac_cpp='$CXXCPP $CPPFLAGS'
36101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36106 /* end confdefs.h. */
36107 #include <math.h>
36109 main ()
36111 _frexpf(0, 0);
36113 return 0;
36115 _ACEOF
36116 if ac_fn_cxx_try_compile "$LINENO"; then :
36117 glibcxx_cv_func__frexpf_use=yes
36118 else
36119 glibcxx_cv_func__frexpf_use=no
36121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36122 ac_ext=c
36123 ac_cpp='$CPP $CPPFLAGS'
36124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
36133 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
36135 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
36136 for ac_func in _frexpf
36137 do :
36138 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
36139 if test "x$ac_cv_func__frexpf" = x""yes; then :
36140 cat >>confdefs.h <<_ACEOF
36141 #define HAVE__FREXPF 1
36142 _ACEOF
36145 done
36154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
36155 $as_echo_n "checking for hypotf declaration... " >&6; }
36156 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
36157 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
36158 $as_echo_n "(cached) " >&6
36159 else
36162 ac_ext=cpp
36163 ac_cpp='$CXXCPP $CPPFLAGS'
36164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36169 /* end confdefs.h. */
36170 #include <math.h>
36172 main ()
36174 hypotf(0, 0);
36176 return 0;
36178 _ACEOF
36179 if ac_fn_cxx_try_compile "$LINENO"; then :
36180 glibcxx_cv_func_hypotf_use=yes
36181 else
36182 glibcxx_cv_func_hypotf_use=no
36184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36185 ac_ext=c
36186 ac_cpp='$CPP $CPPFLAGS'
36187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
36196 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
36198 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
36199 for ac_func in hypotf
36200 do :
36201 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
36202 if test "x$ac_cv_func_hypotf" = x""yes; then :
36203 cat >>confdefs.h <<_ACEOF
36204 #define HAVE_HYPOTF 1
36205 _ACEOF
36208 done
36210 else
36212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
36213 $as_echo_n "checking for _hypotf declaration... " >&6; }
36214 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
36215 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
36216 $as_echo_n "(cached) " >&6
36217 else
36220 ac_ext=cpp
36221 ac_cpp='$CXXCPP $CPPFLAGS'
36222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36227 /* end confdefs.h. */
36228 #include <math.h>
36230 main ()
36232 _hypotf(0, 0);
36234 return 0;
36236 _ACEOF
36237 if ac_fn_cxx_try_compile "$LINENO"; then :
36238 glibcxx_cv_func__hypotf_use=yes
36239 else
36240 glibcxx_cv_func__hypotf_use=no
36242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36243 ac_ext=c
36244 ac_cpp='$CPP $CPPFLAGS'
36245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
36254 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
36256 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
36257 for ac_func in _hypotf
36258 do :
36259 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
36260 if test "x$ac_cv_func__hypotf" = x""yes; then :
36261 cat >>confdefs.h <<_ACEOF
36262 #define HAVE__HYPOTF 1
36263 _ACEOF
36266 done
36275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
36276 $as_echo_n "checking for ldexpf declaration... " >&6; }
36277 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
36278 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
36279 $as_echo_n "(cached) " >&6
36280 else
36283 ac_ext=cpp
36284 ac_cpp='$CXXCPP $CPPFLAGS'
36285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36290 /* end confdefs.h. */
36291 #include <math.h>
36293 main ()
36295 ldexpf(0, 0);
36297 return 0;
36299 _ACEOF
36300 if ac_fn_cxx_try_compile "$LINENO"; then :
36301 glibcxx_cv_func_ldexpf_use=yes
36302 else
36303 glibcxx_cv_func_ldexpf_use=no
36305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36306 ac_ext=c
36307 ac_cpp='$CPP $CPPFLAGS'
36308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
36317 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
36319 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
36320 for ac_func in ldexpf
36321 do :
36322 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
36323 if test "x$ac_cv_func_ldexpf" = x""yes; then :
36324 cat >>confdefs.h <<_ACEOF
36325 #define HAVE_LDEXPF 1
36326 _ACEOF
36329 done
36331 else
36333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
36334 $as_echo_n "checking for _ldexpf declaration... " >&6; }
36335 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
36336 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
36337 $as_echo_n "(cached) " >&6
36338 else
36341 ac_ext=cpp
36342 ac_cpp='$CXXCPP $CPPFLAGS'
36343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36348 /* end confdefs.h. */
36349 #include <math.h>
36351 main ()
36353 _ldexpf(0, 0);
36355 return 0;
36357 _ACEOF
36358 if ac_fn_cxx_try_compile "$LINENO"; then :
36359 glibcxx_cv_func__ldexpf_use=yes
36360 else
36361 glibcxx_cv_func__ldexpf_use=no
36363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36364 ac_ext=c
36365 ac_cpp='$CPP $CPPFLAGS'
36366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
36375 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
36377 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
36378 for ac_func in _ldexpf
36379 do :
36380 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
36381 if test "x$ac_cv_func__ldexpf" = x""yes; then :
36382 cat >>confdefs.h <<_ACEOF
36383 #define HAVE__LDEXPF 1
36384 _ACEOF
36387 done
36396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
36397 $as_echo_n "checking for logf declaration... " >&6; }
36398 if test x${glibcxx_cv_func_logf_use+set} != xset; then
36399 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
36400 $as_echo_n "(cached) " >&6
36401 else
36404 ac_ext=cpp
36405 ac_cpp='$CXXCPP $CPPFLAGS'
36406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36411 /* end confdefs.h. */
36412 #include <math.h>
36413 #ifdef HAVE_IEEEFP_H
36414 #include <ieeefp.h>
36415 #endif
36418 main ()
36420 logf(0);
36422 return 0;
36424 _ACEOF
36425 if ac_fn_cxx_try_compile "$LINENO"; then :
36426 glibcxx_cv_func_logf_use=yes
36427 else
36428 glibcxx_cv_func_logf_use=no
36430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36431 ac_ext=c
36432 ac_cpp='$CPP $CPPFLAGS'
36433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
36442 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
36444 if test x$glibcxx_cv_func_logf_use = x"yes"; then
36445 for ac_func in logf
36446 do :
36447 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
36448 if test "x$ac_cv_func_logf" = x""yes; then :
36449 cat >>confdefs.h <<_ACEOF
36450 #define HAVE_LOGF 1
36451 _ACEOF
36454 done
36456 else
36458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
36459 $as_echo_n "checking for _logf declaration... " >&6; }
36460 if test x${glibcxx_cv_func__logf_use+set} != xset; then
36461 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
36462 $as_echo_n "(cached) " >&6
36463 else
36466 ac_ext=cpp
36467 ac_cpp='$CXXCPP $CPPFLAGS'
36468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36473 /* end confdefs.h. */
36474 #include <math.h>
36475 #ifdef HAVE_IEEEFP_H
36476 #include <ieeefp.h>
36477 #endif
36480 main ()
36482 _logf(0);
36484 return 0;
36486 _ACEOF
36487 if ac_fn_cxx_try_compile "$LINENO"; then :
36488 glibcxx_cv_func__logf_use=yes
36489 else
36490 glibcxx_cv_func__logf_use=no
36492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36493 ac_ext=c
36494 ac_cpp='$CPP $CPPFLAGS'
36495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
36504 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
36506 if test x$glibcxx_cv_func__logf_use = x"yes"; then
36507 for ac_func in _logf
36508 do :
36509 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
36510 if test "x$ac_cv_func__logf" = x""yes; then :
36511 cat >>confdefs.h <<_ACEOF
36512 #define HAVE__LOGF 1
36513 _ACEOF
36516 done
36525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
36526 $as_echo_n "checking for log10f declaration... " >&6; }
36527 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
36528 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
36529 $as_echo_n "(cached) " >&6
36530 else
36533 ac_ext=cpp
36534 ac_cpp='$CXXCPP $CPPFLAGS'
36535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36540 /* end confdefs.h. */
36541 #include <math.h>
36542 #ifdef HAVE_IEEEFP_H
36543 #include <ieeefp.h>
36544 #endif
36547 main ()
36549 log10f(0);
36551 return 0;
36553 _ACEOF
36554 if ac_fn_cxx_try_compile "$LINENO"; then :
36555 glibcxx_cv_func_log10f_use=yes
36556 else
36557 glibcxx_cv_func_log10f_use=no
36559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36560 ac_ext=c
36561 ac_cpp='$CPP $CPPFLAGS'
36562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
36571 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
36573 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
36574 for ac_func in log10f
36575 do :
36576 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
36577 if test "x$ac_cv_func_log10f" = x""yes; then :
36578 cat >>confdefs.h <<_ACEOF
36579 #define HAVE_LOG10F 1
36580 _ACEOF
36583 done
36585 else
36587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
36588 $as_echo_n "checking for _log10f declaration... " >&6; }
36589 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
36590 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
36591 $as_echo_n "(cached) " >&6
36592 else
36595 ac_ext=cpp
36596 ac_cpp='$CXXCPP $CPPFLAGS'
36597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36602 /* end confdefs.h. */
36603 #include <math.h>
36604 #ifdef HAVE_IEEEFP_H
36605 #include <ieeefp.h>
36606 #endif
36609 main ()
36611 _log10f(0);
36613 return 0;
36615 _ACEOF
36616 if ac_fn_cxx_try_compile "$LINENO"; then :
36617 glibcxx_cv_func__log10f_use=yes
36618 else
36619 glibcxx_cv_func__log10f_use=no
36621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36622 ac_ext=c
36623 ac_cpp='$CPP $CPPFLAGS'
36624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
36633 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
36635 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
36636 for ac_func in _log10f
36637 do :
36638 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
36639 if test "x$ac_cv_func__log10f" = x""yes; then :
36640 cat >>confdefs.h <<_ACEOF
36641 #define HAVE__LOG10F 1
36642 _ACEOF
36645 done
36654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
36655 $as_echo_n "checking for modff declaration... " >&6; }
36656 if test x${glibcxx_cv_func_modff_use+set} != xset; then
36657 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
36658 $as_echo_n "(cached) " >&6
36659 else
36662 ac_ext=cpp
36663 ac_cpp='$CXXCPP $CPPFLAGS'
36664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36669 /* end confdefs.h. */
36670 #include <math.h>
36672 main ()
36674 modff(0, 0);
36676 return 0;
36678 _ACEOF
36679 if ac_fn_cxx_try_compile "$LINENO"; then :
36680 glibcxx_cv_func_modff_use=yes
36681 else
36682 glibcxx_cv_func_modff_use=no
36684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36685 ac_ext=c
36686 ac_cpp='$CPP $CPPFLAGS'
36687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
36696 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
36698 if test x$glibcxx_cv_func_modff_use = x"yes"; then
36699 for ac_func in modff
36700 do :
36701 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
36702 if test "x$ac_cv_func_modff" = x""yes; then :
36703 cat >>confdefs.h <<_ACEOF
36704 #define HAVE_MODFF 1
36705 _ACEOF
36708 done
36710 else
36712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
36713 $as_echo_n "checking for _modff declaration... " >&6; }
36714 if test x${glibcxx_cv_func__modff_use+set} != xset; then
36715 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
36716 $as_echo_n "(cached) " >&6
36717 else
36720 ac_ext=cpp
36721 ac_cpp='$CXXCPP $CPPFLAGS'
36722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36727 /* end confdefs.h. */
36728 #include <math.h>
36730 main ()
36732 _modff(0, 0);
36734 return 0;
36736 _ACEOF
36737 if ac_fn_cxx_try_compile "$LINENO"; then :
36738 glibcxx_cv_func__modff_use=yes
36739 else
36740 glibcxx_cv_func__modff_use=no
36742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36743 ac_ext=c
36744 ac_cpp='$CPP $CPPFLAGS'
36745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
36754 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
36756 if test x$glibcxx_cv_func__modff_use = x"yes"; then
36757 for ac_func in _modff
36758 do :
36759 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
36760 if test "x$ac_cv_func__modff" = x""yes; then :
36761 cat >>confdefs.h <<_ACEOF
36762 #define HAVE__MODFF 1
36763 _ACEOF
36766 done
36775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
36776 $as_echo_n "checking for modf declaration... " >&6; }
36777 if test x${glibcxx_cv_func_modf_use+set} != xset; then
36778 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
36779 $as_echo_n "(cached) " >&6
36780 else
36783 ac_ext=cpp
36784 ac_cpp='$CXXCPP $CPPFLAGS'
36785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36790 /* end confdefs.h. */
36791 #include <math.h>
36793 main ()
36795 modf(0, 0);
36797 return 0;
36799 _ACEOF
36800 if ac_fn_cxx_try_compile "$LINENO"; then :
36801 glibcxx_cv_func_modf_use=yes
36802 else
36803 glibcxx_cv_func_modf_use=no
36805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36806 ac_ext=c
36807 ac_cpp='$CPP $CPPFLAGS'
36808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
36817 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
36819 if test x$glibcxx_cv_func_modf_use = x"yes"; then
36820 for ac_func in modf
36821 do :
36822 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
36823 if test "x$ac_cv_func_modf" = x""yes; then :
36824 cat >>confdefs.h <<_ACEOF
36825 #define HAVE_MODF 1
36826 _ACEOF
36829 done
36831 else
36833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
36834 $as_echo_n "checking for _modf declaration... " >&6; }
36835 if test x${glibcxx_cv_func__modf_use+set} != xset; then
36836 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
36837 $as_echo_n "(cached) " >&6
36838 else
36841 ac_ext=cpp
36842 ac_cpp='$CXXCPP $CPPFLAGS'
36843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36848 /* end confdefs.h. */
36849 #include <math.h>
36851 main ()
36853 _modf(0, 0);
36855 return 0;
36857 _ACEOF
36858 if ac_fn_cxx_try_compile "$LINENO"; then :
36859 glibcxx_cv_func__modf_use=yes
36860 else
36861 glibcxx_cv_func__modf_use=no
36863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36864 ac_ext=c
36865 ac_cpp='$CPP $CPPFLAGS'
36866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
36875 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
36877 if test x$glibcxx_cv_func__modf_use = x"yes"; then
36878 for ac_func in _modf
36879 do :
36880 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
36881 if test "x$ac_cv_func__modf" = x""yes; then :
36882 cat >>confdefs.h <<_ACEOF
36883 #define HAVE__MODF 1
36884 _ACEOF
36887 done
36896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
36897 $as_echo_n "checking for powf declaration... " >&6; }
36898 if test x${glibcxx_cv_func_powf_use+set} != xset; then
36899 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
36900 $as_echo_n "(cached) " >&6
36901 else
36904 ac_ext=cpp
36905 ac_cpp='$CXXCPP $CPPFLAGS'
36906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36911 /* end confdefs.h. */
36912 #include <math.h>
36914 main ()
36916 powf(0, 0);
36918 return 0;
36920 _ACEOF
36921 if ac_fn_cxx_try_compile "$LINENO"; then :
36922 glibcxx_cv_func_powf_use=yes
36923 else
36924 glibcxx_cv_func_powf_use=no
36926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36927 ac_ext=c
36928 ac_cpp='$CPP $CPPFLAGS'
36929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
36938 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
36940 if test x$glibcxx_cv_func_powf_use = x"yes"; then
36941 for ac_func in powf
36942 do :
36943 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
36944 if test "x$ac_cv_func_powf" = x""yes; then :
36945 cat >>confdefs.h <<_ACEOF
36946 #define HAVE_POWF 1
36947 _ACEOF
36950 done
36952 else
36954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
36955 $as_echo_n "checking for _powf declaration... " >&6; }
36956 if test x${glibcxx_cv_func__powf_use+set} != xset; then
36957 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
36958 $as_echo_n "(cached) " >&6
36959 else
36962 ac_ext=cpp
36963 ac_cpp='$CXXCPP $CPPFLAGS'
36964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36969 /* end confdefs.h. */
36970 #include <math.h>
36972 main ()
36974 _powf(0, 0);
36976 return 0;
36978 _ACEOF
36979 if ac_fn_cxx_try_compile "$LINENO"; then :
36980 glibcxx_cv_func__powf_use=yes
36981 else
36982 glibcxx_cv_func__powf_use=no
36984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36985 ac_ext=c
36986 ac_cpp='$CPP $CPPFLAGS'
36987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
36996 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
36998 if test x$glibcxx_cv_func__powf_use = x"yes"; then
36999 for ac_func in _powf
37000 do :
37001 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
37002 if test "x$ac_cv_func__powf" = x""yes; then :
37003 cat >>confdefs.h <<_ACEOF
37004 #define HAVE__POWF 1
37005 _ACEOF
37008 done
37017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
37018 $as_echo_n "checking for sqrtf declaration... " >&6; }
37019 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
37020 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
37021 $as_echo_n "(cached) " >&6
37022 else
37025 ac_ext=cpp
37026 ac_cpp='$CXXCPP $CPPFLAGS'
37027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37032 /* end confdefs.h. */
37033 #include <math.h>
37034 #ifdef HAVE_IEEEFP_H
37035 #include <ieeefp.h>
37036 #endif
37039 main ()
37041 sqrtf(0);
37043 return 0;
37045 _ACEOF
37046 if ac_fn_cxx_try_compile "$LINENO"; then :
37047 glibcxx_cv_func_sqrtf_use=yes
37048 else
37049 glibcxx_cv_func_sqrtf_use=no
37051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37052 ac_ext=c
37053 ac_cpp='$CPP $CPPFLAGS'
37054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
37063 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
37065 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
37066 for ac_func in sqrtf
37067 do :
37068 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
37069 if test "x$ac_cv_func_sqrtf" = x""yes; then :
37070 cat >>confdefs.h <<_ACEOF
37071 #define HAVE_SQRTF 1
37072 _ACEOF
37075 done
37077 else
37079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
37080 $as_echo_n "checking for _sqrtf declaration... " >&6; }
37081 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
37082 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
37083 $as_echo_n "(cached) " >&6
37084 else
37087 ac_ext=cpp
37088 ac_cpp='$CXXCPP $CPPFLAGS'
37089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37094 /* end confdefs.h. */
37095 #include <math.h>
37096 #ifdef HAVE_IEEEFP_H
37097 #include <ieeefp.h>
37098 #endif
37101 main ()
37103 _sqrtf(0);
37105 return 0;
37107 _ACEOF
37108 if ac_fn_cxx_try_compile "$LINENO"; then :
37109 glibcxx_cv_func__sqrtf_use=yes
37110 else
37111 glibcxx_cv_func__sqrtf_use=no
37113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37114 ac_ext=c
37115 ac_cpp='$CPP $CPPFLAGS'
37116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
37125 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
37127 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
37128 for ac_func in _sqrtf
37129 do :
37130 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
37131 if test "x$ac_cv_func__sqrtf" = x""yes; then :
37132 cat >>confdefs.h <<_ACEOF
37133 #define HAVE__SQRTF 1
37134 _ACEOF
37137 done
37146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
37147 $as_echo_n "checking for sincosf declaration... " >&6; }
37148 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
37149 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
37150 $as_echo_n "(cached) " >&6
37151 else
37154 ac_ext=cpp
37155 ac_cpp='$CXXCPP $CPPFLAGS'
37156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37161 /* end confdefs.h. */
37162 #include <math.h>
37164 main ()
37166 sincosf(0, 0, 0);
37168 return 0;
37170 _ACEOF
37171 if ac_fn_cxx_try_compile "$LINENO"; then :
37172 glibcxx_cv_func_sincosf_use=yes
37173 else
37174 glibcxx_cv_func_sincosf_use=no
37176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37177 ac_ext=c
37178 ac_cpp='$CPP $CPPFLAGS'
37179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
37188 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
37190 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
37191 for ac_func in sincosf
37192 do :
37193 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
37194 if test "x$ac_cv_func_sincosf" = x""yes; then :
37195 cat >>confdefs.h <<_ACEOF
37196 #define HAVE_SINCOSF 1
37197 _ACEOF
37200 done
37202 else
37204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
37205 $as_echo_n "checking for _sincosf declaration... " >&6; }
37206 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
37207 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
37208 $as_echo_n "(cached) " >&6
37209 else
37212 ac_ext=cpp
37213 ac_cpp='$CXXCPP $CPPFLAGS'
37214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37219 /* end confdefs.h. */
37220 #include <math.h>
37222 main ()
37224 _sincosf(0, 0, 0);
37226 return 0;
37228 _ACEOF
37229 if ac_fn_cxx_try_compile "$LINENO"; then :
37230 glibcxx_cv_func__sincosf_use=yes
37231 else
37232 glibcxx_cv_func__sincosf_use=no
37234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37235 ac_ext=c
37236 ac_cpp='$CPP $CPPFLAGS'
37237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
37246 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
37248 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
37249 for ac_func in _sincosf
37250 do :
37251 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
37252 if test "x$ac_cv_func__sincosf" = x""yes; then :
37253 cat >>confdefs.h <<_ACEOF
37254 #define HAVE__SINCOSF 1
37255 _ACEOF
37258 done
37267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
37268 $as_echo_n "checking for finitef declaration... " >&6; }
37269 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
37270 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
37271 $as_echo_n "(cached) " >&6
37272 else
37275 ac_ext=cpp
37276 ac_cpp='$CXXCPP $CPPFLAGS'
37277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37282 /* end confdefs.h. */
37283 #include <math.h>
37284 #ifdef HAVE_IEEEFP_H
37285 #include <ieeefp.h>
37286 #endif
37289 main ()
37291 finitef(0);
37293 return 0;
37295 _ACEOF
37296 if ac_fn_cxx_try_compile "$LINENO"; then :
37297 glibcxx_cv_func_finitef_use=yes
37298 else
37299 glibcxx_cv_func_finitef_use=no
37301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37302 ac_ext=c
37303 ac_cpp='$CPP $CPPFLAGS'
37304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
37313 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
37315 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
37316 for ac_func in finitef
37317 do :
37318 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
37319 if test "x$ac_cv_func_finitef" = x""yes; then :
37320 cat >>confdefs.h <<_ACEOF
37321 #define HAVE_FINITEF 1
37322 _ACEOF
37325 done
37327 else
37329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
37330 $as_echo_n "checking for _finitef declaration... " >&6; }
37331 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
37332 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
37333 $as_echo_n "(cached) " >&6
37334 else
37337 ac_ext=cpp
37338 ac_cpp='$CXXCPP $CPPFLAGS'
37339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37344 /* end confdefs.h. */
37345 #include <math.h>
37346 #ifdef HAVE_IEEEFP_H
37347 #include <ieeefp.h>
37348 #endif
37351 main ()
37353 _finitef(0);
37355 return 0;
37357 _ACEOF
37358 if ac_fn_cxx_try_compile "$LINENO"; then :
37359 glibcxx_cv_func__finitef_use=yes
37360 else
37361 glibcxx_cv_func__finitef_use=no
37363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37364 ac_ext=c
37365 ac_cpp='$CPP $CPPFLAGS'
37366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
37375 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
37377 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
37378 for ac_func in _finitef
37379 do :
37380 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
37381 if test "x$ac_cv_func__finitef" = x""yes; then :
37382 cat >>confdefs.h <<_ACEOF
37383 #define HAVE__FINITEF 1
37384 _ACEOF
37387 done
37396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
37397 $as_echo_n "checking for long double trig functions... " >&6; }
37398 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
37399 $as_echo_n "(cached) " >&6
37400 else
37403 ac_ext=cpp
37404 ac_cpp='$CXXCPP $CPPFLAGS'
37405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37410 /* end confdefs.h. */
37411 #include <math.h>
37413 main ()
37415 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
37417 return 0;
37419 _ACEOF
37420 if ac_fn_cxx_try_compile "$LINENO"; then :
37421 glibcxx_cv_func_long_double_trig_use=yes
37422 else
37423 glibcxx_cv_func_long_double_trig_use=no
37425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37426 ac_ext=c
37427 ac_cpp='$CPP $CPPFLAGS'
37428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
37435 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
37436 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
37437 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
37438 do :
37439 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37440 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37441 eval as_val=\$$as_ac_var
37442 if test "x$as_val" = x""yes; then :
37443 cat >>confdefs.h <<_ACEOF
37444 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37445 _ACEOF
37448 done
37450 else
37451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
37452 $as_echo_n "checking for _long double trig functions... " >&6; }
37453 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
37454 $as_echo_n "(cached) " >&6
37455 else
37458 ac_ext=cpp
37459 ac_cpp='$CXXCPP $CPPFLAGS'
37460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37465 /* end confdefs.h. */
37466 #include <math.h>
37468 main ()
37470 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
37472 return 0;
37474 _ACEOF
37475 if ac_fn_cxx_try_compile "$LINENO"; then :
37476 glibcxx_cv_func__long_double_trig_use=yes
37477 else
37478 glibcxx_cv_func__long_double_trig_use=no
37480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37481 ac_ext=c
37482 ac_cpp='$CPP $CPPFLAGS'
37483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
37490 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
37491 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
37492 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
37493 do :
37494 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37495 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37496 eval as_val=\$$as_ac_var
37497 if test "x$as_val" = x""yes; then :
37498 cat >>confdefs.h <<_ACEOF
37499 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37500 _ACEOF
37503 done
37512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
37513 $as_echo_n "checking for long double round functions... " >&6; }
37514 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
37515 $as_echo_n "(cached) " >&6
37516 else
37519 ac_ext=cpp
37520 ac_cpp='$CXXCPP $CPPFLAGS'
37521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37526 /* end confdefs.h. */
37527 #include <math.h>
37529 main ()
37531 ceill (0); floorl (0);
37533 return 0;
37535 _ACEOF
37536 if ac_fn_cxx_try_compile "$LINENO"; then :
37537 glibcxx_cv_func_long_double_round_use=yes
37538 else
37539 glibcxx_cv_func_long_double_round_use=no
37541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37542 ac_ext=c
37543 ac_cpp='$CPP $CPPFLAGS'
37544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
37551 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
37552 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
37553 for ac_func in ceill floorl
37554 do :
37555 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37556 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37557 eval as_val=\$$as_ac_var
37558 if test "x$as_val" = x""yes; then :
37559 cat >>confdefs.h <<_ACEOF
37560 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37561 _ACEOF
37564 done
37566 else
37567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
37568 $as_echo_n "checking for _long double round functions... " >&6; }
37569 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
37570 $as_echo_n "(cached) " >&6
37571 else
37574 ac_ext=cpp
37575 ac_cpp='$CXXCPP $CPPFLAGS'
37576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37581 /* end confdefs.h. */
37582 #include <math.h>
37584 main ()
37586 _ceill (0); _floorl (0);
37588 return 0;
37590 _ACEOF
37591 if ac_fn_cxx_try_compile "$LINENO"; then :
37592 glibcxx_cv_func__long_double_round_use=yes
37593 else
37594 glibcxx_cv_func__long_double_round_use=no
37596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37597 ac_ext=c
37598 ac_cpp='$CPP $CPPFLAGS'
37599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
37606 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
37607 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
37608 for ac_func in _ceill _floorl
37609 do :
37610 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37611 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37612 eval as_val=\$$as_ac_var
37613 if test "x$as_val" = x""yes; then :
37614 cat >>confdefs.h <<_ACEOF
37615 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37616 _ACEOF
37619 done
37629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
37630 $as_echo_n "checking for isnanl declaration... " >&6; }
37631 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
37632 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
37633 $as_echo_n "(cached) " >&6
37634 else
37637 ac_ext=cpp
37638 ac_cpp='$CXXCPP $CPPFLAGS'
37639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37644 /* end confdefs.h. */
37645 #include <math.h>
37646 #ifdef HAVE_IEEEFP_H
37647 #include <ieeefp.h>
37648 #endif
37651 main ()
37653 isnanl(0);
37655 return 0;
37657 _ACEOF
37658 if ac_fn_cxx_try_compile "$LINENO"; then :
37659 glibcxx_cv_func_isnanl_use=yes
37660 else
37661 glibcxx_cv_func_isnanl_use=no
37663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37664 ac_ext=c
37665 ac_cpp='$CPP $CPPFLAGS'
37666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
37675 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
37677 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
37678 for ac_func in isnanl
37679 do :
37680 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
37681 if test "x$ac_cv_func_isnanl" = x""yes; then :
37682 cat >>confdefs.h <<_ACEOF
37683 #define HAVE_ISNANL 1
37684 _ACEOF
37687 done
37689 else
37691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
37692 $as_echo_n "checking for _isnanl declaration... " >&6; }
37693 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
37694 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
37695 $as_echo_n "(cached) " >&6
37696 else
37699 ac_ext=cpp
37700 ac_cpp='$CXXCPP $CPPFLAGS'
37701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37706 /* end confdefs.h. */
37707 #include <math.h>
37708 #ifdef HAVE_IEEEFP_H
37709 #include <ieeefp.h>
37710 #endif
37713 main ()
37715 _isnanl(0);
37717 return 0;
37719 _ACEOF
37720 if ac_fn_cxx_try_compile "$LINENO"; then :
37721 glibcxx_cv_func__isnanl_use=yes
37722 else
37723 glibcxx_cv_func__isnanl_use=no
37725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37726 ac_ext=c
37727 ac_cpp='$CPP $CPPFLAGS'
37728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
37737 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
37739 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
37740 for ac_func in _isnanl
37741 do :
37742 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
37743 if test "x$ac_cv_func__isnanl" = x""yes; then :
37744 cat >>confdefs.h <<_ACEOF
37745 #define HAVE__ISNANL 1
37746 _ACEOF
37749 done
37758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
37759 $as_echo_n "checking for isinfl declaration... " >&6; }
37760 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
37761 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
37762 $as_echo_n "(cached) " >&6
37763 else
37766 ac_ext=cpp
37767 ac_cpp='$CXXCPP $CPPFLAGS'
37768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37773 /* end confdefs.h. */
37774 #include <math.h>
37775 #ifdef HAVE_IEEEFP_H
37776 #include <ieeefp.h>
37777 #endif
37780 main ()
37782 isinfl(0);
37784 return 0;
37786 _ACEOF
37787 if ac_fn_cxx_try_compile "$LINENO"; then :
37788 glibcxx_cv_func_isinfl_use=yes
37789 else
37790 glibcxx_cv_func_isinfl_use=no
37792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37793 ac_ext=c
37794 ac_cpp='$CPP $CPPFLAGS'
37795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
37804 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
37806 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
37807 for ac_func in isinfl
37808 do :
37809 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
37810 if test "x$ac_cv_func_isinfl" = x""yes; then :
37811 cat >>confdefs.h <<_ACEOF
37812 #define HAVE_ISINFL 1
37813 _ACEOF
37816 done
37818 else
37820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
37821 $as_echo_n "checking for _isinfl declaration... " >&6; }
37822 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
37823 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
37824 $as_echo_n "(cached) " >&6
37825 else
37828 ac_ext=cpp
37829 ac_cpp='$CXXCPP $CPPFLAGS'
37830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37835 /* end confdefs.h. */
37836 #include <math.h>
37837 #ifdef HAVE_IEEEFP_H
37838 #include <ieeefp.h>
37839 #endif
37842 main ()
37844 _isinfl(0);
37846 return 0;
37848 _ACEOF
37849 if ac_fn_cxx_try_compile "$LINENO"; then :
37850 glibcxx_cv_func__isinfl_use=yes
37851 else
37852 glibcxx_cv_func__isinfl_use=no
37854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37855 ac_ext=c
37856 ac_cpp='$CPP $CPPFLAGS'
37857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
37866 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
37868 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
37869 for ac_func in _isinfl
37870 do :
37871 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
37872 if test "x$ac_cv_func__isinfl" = x""yes; then :
37873 cat >>confdefs.h <<_ACEOF
37874 #define HAVE__ISINFL 1
37875 _ACEOF
37878 done
37887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
37888 $as_echo_n "checking for atan2l declaration... " >&6; }
37889 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
37890 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
37891 $as_echo_n "(cached) " >&6
37892 else
37895 ac_ext=cpp
37896 ac_cpp='$CXXCPP $CPPFLAGS'
37897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37902 /* end confdefs.h. */
37903 #include <math.h>
37905 main ()
37907 atan2l(0, 0);
37909 return 0;
37911 _ACEOF
37912 if ac_fn_cxx_try_compile "$LINENO"; then :
37913 glibcxx_cv_func_atan2l_use=yes
37914 else
37915 glibcxx_cv_func_atan2l_use=no
37917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37918 ac_ext=c
37919 ac_cpp='$CPP $CPPFLAGS'
37920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
37929 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
37931 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
37932 for ac_func in atan2l
37933 do :
37934 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
37935 if test "x$ac_cv_func_atan2l" = x""yes; then :
37936 cat >>confdefs.h <<_ACEOF
37937 #define HAVE_ATAN2L 1
37938 _ACEOF
37941 done
37943 else
37945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
37946 $as_echo_n "checking for _atan2l declaration... " >&6; }
37947 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
37948 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
37949 $as_echo_n "(cached) " >&6
37950 else
37953 ac_ext=cpp
37954 ac_cpp='$CXXCPP $CPPFLAGS'
37955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37960 /* end confdefs.h. */
37961 #include <math.h>
37963 main ()
37965 _atan2l(0, 0);
37967 return 0;
37969 _ACEOF
37970 if ac_fn_cxx_try_compile "$LINENO"; then :
37971 glibcxx_cv_func__atan2l_use=yes
37972 else
37973 glibcxx_cv_func__atan2l_use=no
37975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37976 ac_ext=c
37977 ac_cpp='$CPP $CPPFLAGS'
37978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
37987 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
37989 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
37990 for ac_func in _atan2l
37991 do :
37992 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
37993 if test "x$ac_cv_func__atan2l" = x""yes; then :
37994 cat >>confdefs.h <<_ACEOF
37995 #define HAVE__ATAN2L 1
37996 _ACEOF
37999 done
38008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
38009 $as_echo_n "checking for expl declaration... " >&6; }
38010 if test x${glibcxx_cv_func_expl_use+set} != xset; then
38011 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
38012 $as_echo_n "(cached) " >&6
38013 else
38016 ac_ext=cpp
38017 ac_cpp='$CXXCPP $CPPFLAGS'
38018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38023 /* end confdefs.h. */
38024 #include <math.h>
38025 #ifdef HAVE_IEEEFP_H
38026 #include <ieeefp.h>
38027 #endif
38030 main ()
38032 expl(0);
38034 return 0;
38036 _ACEOF
38037 if ac_fn_cxx_try_compile "$LINENO"; then :
38038 glibcxx_cv_func_expl_use=yes
38039 else
38040 glibcxx_cv_func_expl_use=no
38042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38043 ac_ext=c
38044 ac_cpp='$CPP $CPPFLAGS'
38045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
38054 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
38056 if test x$glibcxx_cv_func_expl_use = x"yes"; then
38057 for ac_func in expl
38058 do :
38059 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
38060 if test "x$ac_cv_func_expl" = x""yes; then :
38061 cat >>confdefs.h <<_ACEOF
38062 #define HAVE_EXPL 1
38063 _ACEOF
38066 done
38068 else
38070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
38071 $as_echo_n "checking for _expl declaration... " >&6; }
38072 if test x${glibcxx_cv_func__expl_use+set} != xset; then
38073 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
38074 $as_echo_n "(cached) " >&6
38075 else
38078 ac_ext=cpp
38079 ac_cpp='$CXXCPP $CPPFLAGS'
38080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38085 /* end confdefs.h. */
38086 #include <math.h>
38087 #ifdef HAVE_IEEEFP_H
38088 #include <ieeefp.h>
38089 #endif
38092 main ()
38094 _expl(0);
38096 return 0;
38098 _ACEOF
38099 if ac_fn_cxx_try_compile "$LINENO"; then :
38100 glibcxx_cv_func__expl_use=yes
38101 else
38102 glibcxx_cv_func__expl_use=no
38104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38105 ac_ext=c
38106 ac_cpp='$CPP $CPPFLAGS'
38107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
38116 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
38118 if test x$glibcxx_cv_func__expl_use = x"yes"; then
38119 for ac_func in _expl
38120 do :
38121 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
38122 if test "x$ac_cv_func__expl" = x""yes; then :
38123 cat >>confdefs.h <<_ACEOF
38124 #define HAVE__EXPL 1
38125 _ACEOF
38128 done
38137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
38138 $as_echo_n "checking for fabsl declaration... " >&6; }
38139 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
38140 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
38141 $as_echo_n "(cached) " >&6
38142 else
38145 ac_ext=cpp
38146 ac_cpp='$CXXCPP $CPPFLAGS'
38147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38152 /* end confdefs.h. */
38153 #include <math.h>
38154 #ifdef HAVE_IEEEFP_H
38155 #include <ieeefp.h>
38156 #endif
38159 main ()
38161 fabsl(0);
38163 return 0;
38165 _ACEOF
38166 if ac_fn_cxx_try_compile "$LINENO"; then :
38167 glibcxx_cv_func_fabsl_use=yes
38168 else
38169 glibcxx_cv_func_fabsl_use=no
38171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38172 ac_ext=c
38173 ac_cpp='$CPP $CPPFLAGS'
38174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
38183 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
38185 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
38186 for ac_func in fabsl
38187 do :
38188 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
38189 if test "x$ac_cv_func_fabsl" = x""yes; then :
38190 cat >>confdefs.h <<_ACEOF
38191 #define HAVE_FABSL 1
38192 _ACEOF
38195 done
38197 else
38199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
38200 $as_echo_n "checking for _fabsl declaration... " >&6; }
38201 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
38202 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
38203 $as_echo_n "(cached) " >&6
38204 else
38207 ac_ext=cpp
38208 ac_cpp='$CXXCPP $CPPFLAGS'
38209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38214 /* end confdefs.h. */
38215 #include <math.h>
38216 #ifdef HAVE_IEEEFP_H
38217 #include <ieeefp.h>
38218 #endif
38221 main ()
38223 _fabsl(0);
38225 return 0;
38227 _ACEOF
38228 if ac_fn_cxx_try_compile "$LINENO"; then :
38229 glibcxx_cv_func__fabsl_use=yes
38230 else
38231 glibcxx_cv_func__fabsl_use=no
38233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38234 ac_ext=c
38235 ac_cpp='$CPP $CPPFLAGS'
38236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
38245 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
38247 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
38248 for ac_func in _fabsl
38249 do :
38250 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
38251 if test "x$ac_cv_func__fabsl" = x""yes; then :
38252 cat >>confdefs.h <<_ACEOF
38253 #define HAVE__FABSL 1
38254 _ACEOF
38257 done
38266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
38267 $as_echo_n "checking for fmodl declaration... " >&6; }
38268 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
38269 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
38270 $as_echo_n "(cached) " >&6
38271 else
38274 ac_ext=cpp
38275 ac_cpp='$CXXCPP $CPPFLAGS'
38276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38281 /* end confdefs.h. */
38282 #include <math.h>
38284 main ()
38286 fmodl(0, 0);
38288 return 0;
38290 _ACEOF
38291 if ac_fn_cxx_try_compile "$LINENO"; then :
38292 glibcxx_cv_func_fmodl_use=yes
38293 else
38294 glibcxx_cv_func_fmodl_use=no
38296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38297 ac_ext=c
38298 ac_cpp='$CPP $CPPFLAGS'
38299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
38308 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
38310 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
38311 for ac_func in fmodl
38312 do :
38313 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
38314 if test "x$ac_cv_func_fmodl" = x""yes; then :
38315 cat >>confdefs.h <<_ACEOF
38316 #define HAVE_FMODL 1
38317 _ACEOF
38320 done
38322 else
38324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
38325 $as_echo_n "checking for _fmodl declaration... " >&6; }
38326 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
38327 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
38328 $as_echo_n "(cached) " >&6
38329 else
38332 ac_ext=cpp
38333 ac_cpp='$CXXCPP $CPPFLAGS'
38334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38339 /* end confdefs.h. */
38340 #include <math.h>
38342 main ()
38344 _fmodl(0, 0);
38346 return 0;
38348 _ACEOF
38349 if ac_fn_cxx_try_compile "$LINENO"; then :
38350 glibcxx_cv_func__fmodl_use=yes
38351 else
38352 glibcxx_cv_func__fmodl_use=no
38354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38355 ac_ext=c
38356 ac_cpp='$CPP $CPPFLAGS'
38357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
38366 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
38368 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
38369 for ac_func in _fmodl
38370 do :
38371 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
38372 if test "x$ac_cv_func__fmodl" = x""yes; then :
38373 cat >>confdefs.h <<_ACEOF
38374 #define HAVE__FMODL 1
38375 _ACEOF
38378 done
38387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
38388 $as_echo_n "checking for frexpl declaration... " >&6; }
38389 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
38390 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
38391 $as_echo_n "(cached) " >&6
38392 else
38395 ac_ext=cpp
38396 ac_cpp='$CXXCPP $CPPFLAGS'
38397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38402 /* end confdefs.h. */
38403 #include <math.h>
38405 main ()
38407 frexpl(0, 0);
38409 return 0;
38411 _ACEOF
38412 if ac_fn_cxx_try_compile "$LINENO"; then :
38413 glibcxx_cv_func_frexpl_use=yes
38414 else
38415 glibcxx_cv_func_frexpl_use=no
38417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38418 ac_ext=c
38419 ac_cpp='$CPP $CPPFLAGS'
38420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
38429 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
38431 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
38432 for ac_func in frexpl
38433 do :
38434 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
38435 if test "x$ac_cv_func_frexpl" = x""yes; then :
38436 cat >>confdefs.h <<_ACEOF
38437 #define HAVE_FREXPL 1
38438 _ACEOF
38441 done
38443 else
38445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
38446 $as_echo_n "checking for _frexpl declaration... " >&6; }
38447 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
38448 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
38449 $as_echo_n "(cached) " >&6
38450 else
38453 ac_ext=cpp
38454 ac_cpp='$CXXCPP $CPPFLAGS'
38455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38460 /* end confdefs.h. */
38461 #include <math.h>
38463 main ()
38465 _frexpl(0, 0);
38467 return 0;
38469 _ACEOF
38470 if ac_fn_cxx_try_compile "$LINENO"; then :
38471 glibcxx_cv_func__frexpl_use=yes
38472 else
38473 glibcxx_cv_func__frexpl_use=no
38475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38476 ac_ext=c
38477 ac_cpp='$CPP $CPPFLAGS'
38478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
38487 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
38489 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
38490 for ac_func in _frexpl
38491 do :
38492 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
38493 if test "x$ac_cv_func__frexpl" = x""yes; then :
38494 cat >>confdefs.h <<_ACEOF
38495 #define HAVE__FREXPL 1
38496 _ACEOF
38499 done
38508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
38509 $as_echo_n "checking for hypotl declaration... " >&6; }
38510 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
38511 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
38512 $as_echo_n "(cached) " >&6
38513 else
38516 ac_ext=cpp
38517 ac_cpp='$CXXCPP $CPPFLAGS'
38518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38523 /* end confdefs.h. */
38524 #include <math.h>
38526 main ()
38528 hypotl(0, 0);
38530 return 0;
38532 _ACEOF
38533 if ac_fn_cxx_try_compile "$LINENO"; then :
38534 glibcxx_cv_func_hypotl_use=yes
38535 else
38536 glibcxx_cv_func_hypotl_use=no
38538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38539 ac_ext=c
38540 ac_cpp='$CPP $CPPFLAGS'
38541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
38550 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
38552 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
38553 for ac_func in hypotl
38554 do :
38555 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
38556 if test "x$ac_cv_func_hypotl" = x""yes; then :
38557 cat >>confdefs.h <<_ACEOF
38558 #define HAVE_HYPOTL 1
38559 _ACEOF
38562 done
38564 else
38566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
38567 $as_echo_n "checking for _hypotl declaration... " >&6; }
38568 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
38569 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
38570 $as_echo_n "(cached) " >&6
38571 else
38574 ac_ext=cpp
38575 ac_cpp='$CXXCPP $CPPFLAGS'
38576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38581 /* end confdefs.h. */
38582 #include <math.h>
38584 main ()
38586 _hypotl(0, 0);
38588 return 0;
38590 _ACEOF
38591 if ac_fn_cxx_try_compile "$LINENO"; then :
38592 glibcxx_cv_func__hypotl_use=yes
38593 else
38594 glibcxx_cv_func__hypotl_use=no
38596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38597 ac_ext=c
38598 ac_cpp='$CPP $CPPFLAGS'
38599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
38608 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
38610 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
38611 for ac_func in _hypotl
38612 do :
38613 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
38614 if test "x$ac_cv_func__hypotl" = x""yes; then :
38615 cat >>confdefs.h <<_ACEOF
38616 #define HAVE__HYPOTL 1
38617 _ACEOF
38620 done
38629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
38630 $as_echo_n "checking for ldexpl declaration... " >&6; }
38631 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
38632 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
38633 $as_echo_n "(cached) " >&6
38634 else
38637 ac_ext=cpp
38638 ac_cpp='$CXXCPP $CPPFLAGS'
38639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38644 /* end confdefs.h. */
38645 #include <math.h>
38647 main ()
38649 ldexpl(0, 0);
38651 return 0;
38653 _ACEOF
38654 if ac_fn_cxx_try_compile "$LINENO"; then :
38655 glibcxx_cv_func_ldexpl_use=yes
38656 else
38657 glibcxx_cv_func_ldexpl_use=no
38659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38660 ac_ext=c
38661 ac_cpp='$CPP $CPPFLAGS'
38662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
38671 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
38673 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
38674 for ac_func in ldexpl
38675 do :
38676 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
38677 if test "x$ac_cv_func_ldexpl" = x""yes; then :
38678 cat >>confdefs.h <<_ACEOF
38679 #define HAVE_LDEXPL 1
38680 _ACEOF
38683 done
38685 else
38687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
38688 $as_echo_n "checking for _ldexpl declaration... " >&6; }
38689 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
38690 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
38691 $as_echo_n "(cached) " >&6
38692 else
38695 ac_ext=cpp
38696 ac_cpp='$CXXCPP $CPPFLAGS'
38697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38702 /* end confdefs.h. */
38703 #include <math.h>
38705 main ()
38707 _ldexpl(0, 0);
38709 return 0;
38711 _ACEOF
38712 if ac_fn_cxx_try_compile "$LINENO"; then :
38713 glibcxx_cv_func__ldexpl_use=yes
38714 else
38715 glibcxx_cv_func__ldexpl_use=no
38717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38718 ac_ext=c
38719 ac_cpp='$CPP $CPPFLAGS'
38720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
38729 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
38731 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
38732 for ac_func in _ldexpl
38733 do :
38734 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
38735 if test "x$ac_cv_func__ldexpl" = x""yes; then :
38736 cat >>confdefs.h <<_ACEOF
38737 #define HAVE__LDEXPL 1
38738 _ACEOF
38741 done
38750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
38751 $as_echo_n "checking for logl declaration... " >&6; }
38752 if test x${glibcxx_cv_func_logl_use+set} != xset; then
38753 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
38754 $as_echo_n "(cached) " >&6
38755 else
38758 ac_ext=cpp
38759 ac_cpp='$CXXCPP $CPPFLAGS'
38760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38765 /* end confdefs.h. */
38766 #include <math.h>
38767 #ifdef HAVE_IEEEFP_H
38768 #include <ieeefp.h>
38769 #endif
38772 main ()
38774 logl(0);
38776 return 0;
38778 _ACEOF
38779 if ac_fn_cxx_try_compile "$LINENO"; then :
38780 glibcxx_cv_func_logl_use=yes
38781 else
38782 glibcxx_cv_func_logl_use=no
38784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38785 ac_ext=c
38786 ac_cpp='$CPP $CPPFLAGS'
38787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
38796 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
38798 if test x$glibcxx_cv_func_logl_use = x"yes"; then
38799 for ac_func in logl
38800 do :
38801 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
38802 if test "x$ac_cv_func_logl" = x""yes; then :
38803 cat >>confdefs.h <<_ACEOF
38804 #define HAVE_LOGL 1
38805 _ACEOF
38808 done
38810 else
38812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
38813 $as_echo_n "checking for _logl declaration... " >&6; }
38814 if test x${glibcxx_cv_func__logl_use+set} != xset; then
38815 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
38816 $as_echo_n "(cached) " >&6
38817 else
38820 ac_ext=cpp
38821 ac_cpp='$CXXCPP $CPPFLAGS'
38822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38827 /* end confdefs.h. */
38828 #include <math.h>
38829 #ifdef HAVE_IEEEFP_H
38830 #include <ieeefp.h>
38831 #endif
38834 main ()
38836 _logl(0);
38838 return 0;
38840 _ACEOF
38841 if ac_fn_cxx_try_compile "$LINENO"; then :
38842 glibcxx_cv_func__logl_use=yes
38843 else
38844 glibcxx_cv_func__logl_use=no
38846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38847 ac_ext=c
38848 ac_cpp='$CPP $CPPFLAGS'
38849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
38858 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
38860 if test x$glibcxx_cv_func__logl_use = x"yes"; then
38861 for ac_func in _logl
38862 do :
38863 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
38864 if test "x$ac_cv_func__logl" = x""yes; then :
38865 cat >>confdefs.h <<_ACEOF
38866 #define HAVE__LOGL 1
38867 _ACEOF
38870 done
38879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
38880 $as_echo_n "checking for log10l declaration... " >&6; }
38881 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
38882 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
38883 $as_echo_n "(cached) " >&6
38884 else
38887 ac_ext=cpp
38888 ac_cpp='$CXXCPP $CPPFLAGS'
38889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38894 /* end confdefs.h. */
38895 #include <math.h>
38896 #ifdef HAVE_IEEEFP_H
38897 #include <ieeefp.h>
38898 #endif
38901 main ()
38903 log10l(0);
38905 return 0;
38907 _ACEOF
38908 if ac_fn_cxx_try_compile "$LINENO"; then :
38909 glibcxx_cv_func_log10l_use=yes
38910 else
38911 glibcxx_cv_func_log10l_use=no
38913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38914 ac_ext=c
38915 ac_cpp='$CPP $CPPFLAGS'
38916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
38925 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
38927 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
38928 for ac_func in log10l
38929 do :
38930 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
38931 if test "x$ac_cv_func_log10l" = x""yes; then :
38932 cat >>confdefs.h <<_ACEOF
38933 #define HAVE_LOG10L 1
38934 _ACEOF
38937 done
38939 else
38941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
38942 $as_echo_n "checking for _log10l declaration... " >&6; }
38943 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
38944 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
38945 $as_echo_n "(cached) " >&6
38946 else
38949 ac_ext=cpp
38950 ac_cpp='$CXXCPP $CPPFLAGS'
38951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38956 /* end confdefs.h. */
38957 #include <math.h>
38958 #ifdef HAVE_IEEEFP_H
38959 #include <ieeefp.h>
38960 #endif
38963 main ()
38965 _log10l(0);
38967 return 0;
38969 _ACEOF
38970 if ac_fn_cxx_try_compile "$LINENO"; then :
38971 glibcxx_cv_func__log10l_use=yes
38972 else
38973 glibcxx_cv_func__log10l_use=no
38975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38976 ac_ext=c
38977 ac_cpp='$CPP $CPPFLAGS'
38978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
38987 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
38989 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
38990 for ac_func in _log10l
38991 do :
38992 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
38993 if test "x$ac_cv_func__log10l" = x""yes; then :
38994 cat >>confdefs.h <<_ACEOF
38995 #define HAVE__LOG10L 1
38996 _ACEOF
38999 done
39008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
39009 $as_echo_n "checking for modfl declaration... " >&6; }
39010 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
39011 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
39012 $as_echo_n "(cached) " >&6
39013 else
39016 ac_ext=cpp
39017 ac_cpp='$CXXCPP $CPPFLAGS'
39018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39023 /* end confdefs.h. */
39024 #include <math.h>
39026 main ()
39028 modfl(0, 0);
39030 return 0;
39032 _ACEOF
39033 if ac_fn_cxx_try_compile "$LINENO"; then :
39034 glibcxx_cv_func_modfl_use=yes
39035 else
39036 glibcxx_cv_func_modfl_use=no
39038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39039 ac_ext=c
39040 ac_cpp='$CPP $CPPFLAGS'
39041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
39050 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
39052 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
39053 for ac_func in modfl
39054 do :
39055 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
39056 if test "x$ac_cv_func_modfl" = x""yes; then :
39057 cat >>confdefs.h <<_ACEOF
39058 #define HAVE_MODFL 1
39059 _ACEOF
39062 done
39064 else
39066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
39067 $as_echo_n "checking for _modfl declaration... " >&6; }
39068 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
39069 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
39070 $as_echo_n "(cached) " >&6
39071 else
39074 ac_ext=cpp
39075 ac_cpp='$CXXCPP $CPPFLAGS'
39076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39081 /* end confdefs.h. */
39082 #include <math.h>
39084 main ()
39086 _modfl(0, 0);
39088 return 0;
39090 _ACEOF
39091 if ac_fn_cxx_try_compile "$LINENO"; then :
39092 glibcxx_cv_func__modfl_use=yes
39093 else
39094 glibcxx_cv_func__modfl_use=no
39096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39097 ac_ext=c
39098 ac_cpp='$CPP $CPPFLAGS'
39099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
39108 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
39110 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
39111 for ac_func in _modfl
39112 do :
39113 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
39114 if test "x$ac_cv_func__modfl" = x""yes; then :
39115 cat >>confdefs.h <<_ACEOF
39116 #define HAVE__MODFL 1
39117 _ACEOF
39120 done
39129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
39130 $as_echo_n "checking for powl declaration... " >&6; }
39131 if test x${glibcxx_cv_func_powl_use+set} != xset; then
39132 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
39133 $as_echo_n "(cached) " >&6
39134 else
39137 ac_ext=cpp
39138 ac_cpp='$CXXCPP $CPPFLAGS'
39139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39144 /* end confdefs.h. */
39145 #include <math.h>
39147 main ()
39149 powl(0, 0);
39151 return 0;
39153 _ACEOF
39154 if ac_fn_cxx_try_compile "$LINENO"; then :
39155 glibcxx_cv_func_powl_use=yes
39156 else
39157 glibcxx_cv_func_powl_use=no
39159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39160 ac_ext=c
39161 ac_cpp='$CPP $CPPFLAGS'
39162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
39171 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
39173 if test x$glibcxx_cv_func_powl_use = x"yes"; then
39174 for ac_func in powl
39175 do :
39176 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
39177 if test "x$ac_cv_func_powl" = x""yes; then :
39178 cat >>confdefs.h <<_ACEOF
39179 #define HAVE_POWL 1
39180 _ACEOF
39183 done
39185 else
39187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
39188 $as_echo_n "checking for _powl declaration... " >&6; }
39189 if test x${glibcxx_cv_func__powl_use+set} != xset; then
39190 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
39191 $as_echo_n "(cached) " >&6
39192 else
39195 ac_ext=cpp
39196 ac_cpp='$CXXCPP $CPPFLAGS'
39197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39202 /* end confdefs.h. */
39203 #include <math.h>
39205 main ()
39207 _powl(0, 0);
39209 return 0;
39211 _ACEOF
39212 if ac_fn_cxx_try_compile "$LINENO"; then :
39213 glibcxx_cv_func__powl_use=yes
39214 else
39215 glibcxx_cv_func__powl_use=no
39217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39218 ac_ext=c
39219 ac_cpp='$CPP $CPPFLAGS'
39220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
39229 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
39231 if test x$glibcxx_cv_func__powl_use = x"yes"; then
39232 for ac_func in _powl
39233 do :
39234 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
39235 if test "x$ac_cv_func__powl" = x""yes; then :
39236 cat >>confdefs.h <<_ACEOF
39237 #define HAVE__POWL 1
39238 _ACEOF
39241 done
39250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
39251 $as_echo_n "checking for sqrtl declaration... " >&6; }
39252 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
39253 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
39254 $as_echo_n "(cached) " >&6
39255 else
39258 ac_ext=cpp
39259 ac_cpp='$CXXCPP $CPPFLAGS'
39260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39265 /* end confdefs.h. */
39266 #include <math.h>
39267 #ifdef HAVE_IEEEFP_H
39268 #include <ieeefp.h>
39269 #endif
39272 main ()
39274 sqrtl(0);
39276 return 0;
39278 _ACEOF
39279 if ac_fn_cxx_try_compile "$LINENO"; then :
39280 glibcxx_cv_func_sqrtl_use=yes
39281 else
39282 glibcxx_cv_func_sqrtl_use=no
39284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39285 ac_ext=c
39286 ac_cpp='$CPP $CPPFLAGS'
39287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
39296 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
39298 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
39299 for ac_func in sqrtl
39300 do :
39301 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
39302 if test "x$ac_cv_func_sqrtl" = x""yes; then :
39303 cat >>confdefs.h <<_ACEOF
39304 #define HAVE_SQRTL 1
39305 _ACEOF
39308 done
39310 else
39312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
39313 $as_echo_n "checking for _sqrtl declaration... " >&6; }
39314 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
39315 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
39316 $as_echo_n "(cached) " >&6
39317 else
39320 ac_ext=cpp
39321 ac_cpp='$CXXCPP $CPPFLAGS'
39322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39327 /* end confdefs.h. */
39328 #include <math.h>
39329 #ifdef HAVE_IEEEFP_H
39330 #include <ieeefp.h>
39331 #endif
39334 main ()
39336 _sqrtl(0);
39338 return 0;
39340 _ACEOF
39341 if ac_fn_cxx_try_compile "$LINENO"; then :
39342 glibcxx_cv_func__sqrtl_use=yes
39343 else
39344 glibcxx_cv_func__sqrtl_use=no
39346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39347 ac_ext=c
39348 ac_cpp='$CPP $CPPFLAGS'
39349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
39358 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
39360 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
39361 for ac_func in _sqrtl
39362 do :
39363 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
39364 if test "x$ac_cv_func__sqrtl" = x""yes; then :
39365 cat >>confdefs.h <<_ACEOF
39366 #define HAVE__SQRTL 1
39367 _ACEOF
39370 done
39379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
39380 $as_echo_n "checking for sincosl declaration... " >&6; }
39381 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
39382 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
39383 $as_echo_n "(cached) " >&6
39384 else
39387 ac_ext=cpp
39388 ac_cpp='$CXXCPP $CPPFLAGS'
39389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39394 /* end confdefs.h. */
39395 #include <math.h>
39397 main ()
39399 sincosl(0, 0, 0);
39401 return 0;
39403 _ACEOF
39404 if ac_fn_cxx_try_compile "$LINENO"; then :
39405 glibcxx_cv_func_sincosl_use=yes
39406 else
39407 glibcxx_cv_func_sincosl_use=no
39409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39410 ac_ext=c
39411 ac_cpp='$CPP $CPPFLAGS'
39412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
39421 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
39423 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
39424 for ac_func in sincosl
39425 do :
39426 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
39427 if test "x$ac_cv_func_sincosl" = x""yes; then :
39428 cat >>confdefs.h <<_ACEOF
39429 #define HAVE_SINCOSL 1
39430 _ACEOF
39433 done
39435 else
39437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
39438 $as_echo_n "checking for _sincosl declaration... " >&6; }
39439 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
39440 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
39441 $as_echo_n "(cached) " >&6
39442 else
39445 ac_ext=cpp
39446 ac_cpp='$CXXCPP $CPPFLAGS'
39447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39452 /* end confdefs.h. */
39453 #include <math.h>
39455 main ()
39457 _sincosl(0, 0, 0);
39459 return 0;
39461 _ACEOF
39462 if ac_fn_cxx_try_compile "$LINENO"; then :
39463 glibcxx_cv_func__sincosl_use=yes
39464 else
39465 glibcxx_cv_func__sincosl_use=no
39467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39468 ac_ext=c
39469 ac_cpp='$CPP $CPPFLAGS'
39470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
39479 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
39481 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
39482 for ac_func in _sincosl
39483 do :
39484 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
39485 if test "x$ac_cv_func__sincosl" = x""yes; then :
39486 cat >>confdefs.h <<_ACEOF
39487 #define HAVE__SINCOSL 1
39488 _ACEOF
39491 done
39500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
39501 $as_echo_n "checking for finitel declaration... " >&6; }
39502 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
39503 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
39504 $as_echo_n "(cached) " >&6
39505 else
39508 ac_ext=cpp
39509 ac_cpp='$CXXCPP $CPPFLAGS'
39510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39515 /* end confdefs.h. */
39516 #include <math.h>
39517 #ifdef HAVE_IEEEFP_H
39518 #include <ieeefp.h>
39519 #endif
39522 main ()
39524 finitel(0);
39526 return 0;
39528 _ACEOF
39529 if ac_fn_cxx_try_compile "$LINENO"; then :
39530 glibcxx_cv_func_finitel_use=yes
39531 else
39532 glibcxx_cv_func_finitel_use=no
39534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39535 ac_ext=c
39536 ac_cpp='$CPP $CPPFLAGS'
39537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
39546 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
39548 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
39549 for ac_func in finitel
39550 do :
39551 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
39552 if test "x$ac_cv_func_finitel" = x""yes; then :
39553 cat >>confdefs.h <<_ACEOF
39554 #define HAVE_FINITEL 1
39555 _ACEOF
39558 done
39560 else
39562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
39563 $as_echo_n "checking for _finitel declaration... " >&6; }
39564 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
39565 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
39566 $as_echo_n "(cached) " >&6
39567 else
39570 ac_ext=cpp
39571 ac_cpp='$CXXCPP $CPPFLAGS'
39572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39577 /* end confdefs.h. */
39578 #include <math.h>
39579 #ifdef HAVE_IEEEFP_H
39580 #include <ieeefp.h>
39581 #endif
39584 main ()
39586 _finitel(0);
39588 return 0;
39590 _ACEOF
39591 if ac_fn_cxx_try_compile "$LINENO"; then :
39592 glibcxx_cv_func__finitel_use=yes
39593 else
39594 glibcxx_cv_func__finitel_use=no
39596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39597 ac_ext=c
39598 ac_cpp='$CPP $CPPFLAGS'
39599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
39608 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
39610 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
39611 for ac_func in _finitel
39612 do :
39613 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
39614 if test "x$ac_cv_func__finitel" = x""yes; then :
39615 cat >>confdefs.h <<_ACEOF
39616 #define HAVE__FINITEL 1
39617 _ACEOF
39620 done
39628 LIBS="$ac_save_LIBS"
39629 CXXFLAGS="$ac_save_CXXFLAGS"
39632 ac_test_CXXFLAGS="${CXXFLAGS+set}"
39633 ac_save_CXXFLAGS="$CXXFLAGS"
39634 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
39637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
39638 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
39639 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
39640 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
39641 $as_echo_n "(cached) " >&6
39642 else
39645 ac_ext=cpp
39646 ac_cpp='$CXXCPP $CPPFLAGS'
39647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39652 /* end confdefs.h. */
39653 #include <stdlib.h>
39655 main ()
39657 at_quick_exit(0);
39659 return 0;
39661 _ACEOF
39662 if ac_fn_cxx_try_compile "$LINENO"; then :
39663 glibcxx_cv_func_at_quick_exit_use=yes
39664 else
39665 glibcxx_cv_func_at_quick_exit_use=no
39667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39668 ac_ext=c
39669 ac_cpp='$CPP $CPPFLAGS'
39670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
39679 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
39680 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
39681 for ac_func in at_quick_exit
39682 do :
39683 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
39684 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
39685 cat >>confdefs.h <<_ACEOF
39686 #define HAVE_AT_QUICK_EXIT 1
39687 _ACEOF
39690 done
39695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
39696 $as_echo_n "checking for quick_exit declaration... " >&6; }
39697 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
39698 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
39699 $as_echo_n "(cached) " >&6
39700 else
39703 ac_ext=cpp
39704 ac_cpp='$CXXCPP $CPPFLAGS'
39705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39710 /* end confdefs.h. */
39711 #include <stdlib.h>
39713 main ()
39715 quick_exit(0);
39717 return 0;
39719 _ACEOF
39720 if ac_fn_cxx_try_compile "$LINENO"; then :
39721 glibcxx_cv_func_quick_exit_use=yes
39722 else
39723 glibcxx_cv_func_quick_exit_use=no
39725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39726 ac_ext=c
39727 ac_cpp='$CPP $CPPFLAGS'
39728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
39737 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
39738 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
39739 for ac_func in quick_exit
39740 do :
39741 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
39742 if test "x$ac_cv_func_quick_exit" = x""yes; then :
39743 cat >>confdefs.h <<_ACEOF
39744 #define HAVE_QUICK_EXIT 1
39745 _ACEOF
39748 done
39753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
39754 $as_echo_n "checking for strtold declaration... " >&6; }
39755 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
39756 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
39757 $as_echo_n "(cached) " >&6
39758 else
39761 ac_ext=cpp
39762 ac_cpp='$CXXCPP $CPPFLAGS'
39763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39768 /* end confdefs.h. */
39769 #include <stdlib.h>
39771 main ()
39773 strtold(0, 0);
39775 return 0;
39777 _ACEOF
39778 if ac_fn_cxx_try_compile "$LINENO"; then :
39779 glibcxx_cv_func_strtold_use=yes
39780 else
39781 glibcxx_cv_func_strtold_use=no
39783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39784 ac_ext=c
39785 ac_cpp='$CPP $CPPFLAGS'
39786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
39795 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
39796 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
39797 for ac_func in strtold
39798 do :
39799 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
39800 if test "x$ac_cv_func_strtold" = x""yes; then :
39801 cat >>confdefs.h <<_ACEOF
39802 #define HAVE_STRTOLD 1
39803 _ACEOF
39806 done
39813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
39814 $as_echo_n "checking for strtof declaration... " >&6; }
39815 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
39816 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
39817 $as_echo_n "(cached) " >&6
39818 else
39821 ac_ext=cpp
39822 ac_cpp='$CXXCPP $CPPFLAGS'
39823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39828 /* end confdefs.h. */
39829 #include <stdlib.h>
39831 main ()
39833 strtof(0, 0);
39835 return 0;
39837 _ACEOF
39838 if ac_fn_cxx_try_compile "$LINENO"; then :
39839 glibcxx_cv_func_strtof_use=yes
39840 else
39841 glibcxx_cv_func_strtof_use=no
39843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39844 ac_ext=c
39845 ac_cpp='$CPP $CPPFLAGS'
39846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
39855 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
39856 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
39857 for ac_func in strtof
39858 do :
39859 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
39860 if test "x$ac_cv_func_strtof" = x""yes; then :
39861 cat >>confdefs.h <<_ACEOF
39862 #define HAVE_STRTOF 1
39863 _ACEOF
39866 done
39873 CXXFLAGS="$ac_save_CXXFLAGS"
39880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
39881 $as_echo_n "checking for iconv... " >&6; }
39882 if test "${am_cv_func_iconv+set}" = set; then :
39883 $as_echo_n "(cached) " >&6
39884 else
39886 am_cv_func_iconv="no, consider installing GNU libiconv"
39887 am_cv_lib_iconv=no
39888 am_save_CPPFLAGS="$CPPFLAGS"
39889 CPPFLAGS="$CPPFLAGS $INCICONV"
39890 if test x$gcc_no_link = xyes; then
39891 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39894 /* end confdefs.h. */
39895 #include <stdlib.h>
39896 #include <iconv.h>
39898 main ()
39900 iconv_t cd = iconv_open("","");
39901 iconv(cd,NULL,NULL,NULL,NULL);
39902 iconv_close(cd);
39904 return 0;
39906 _ACEOF
39907 if ac_fn_c_try_link "$LINENO"; then :
39908 am_cv_func_iconv=yes
39910 rm -f core conftest.err conftest.$ac_objext \
39911 conftest$ac_exeext conftest.$ac_ext
39912 CPPFLAGS="$am_save_CPPFLAGS"
39914 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
39915 for _libs in .libs _libs; do
39916 am_save_CPPFLAGS="$CPPFLAGS"
39917 am_save_LIBS="$LIBS"
39918 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
39919 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
39920 if test x$gcc_no_link = xyes; then
39921 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39924 /* end confdefs.h. */
39925 #include <stdlib.h>
39926 #include <iconv.h>
39928 main ()
39930 iconv_t cd = iconv_open("","");
39931 iconv(cd,NULL,NULL,NULL,NULL);
39932 iconv_close(cd);
39934 return 0;
39936 _ACEOF
39937 if ac_fn_c_try_link "$LINENO"; then :
39938 INCICONV="-I../libiconv/include"
39939 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
39940 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
39941 am_cv_lib_iconv=yes
39942 am_cv_func_iconv=yes
39944 rm -f core conftest.err conftest.$ac_objext \
39945 conftest$ac_exeext conftest.$ac_ext
39946 CPPFLAGS="$am_save_CPPFLAGS"
39947 LIBS="$am_save_LIBS"
39948 if test "$am_cv_func_iconv" = "yes"; then
39949 break
39951 done
39954 if test "$am_cv_func_iconv" != yes; then
39955 am_save_CPPFLAGS="$CPPFLAGS"
39956 am_save_LIBS="$LIBS"
39957 CPPFLAGS="$LIBS $INCICONV"
39958 LIBS="$LIBS $LIBICONV"
39959 if test x$gcc_no_link = xyes; then
39960 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39963 /* end confdefs.h. */
39964 #include <stdlib.h>
39965 #include <iconv.h>
39967 main ()
39969 iconv_t cd = iconv_open("","");
39970 iconv(cd,NULL,NULL,NULL,NULL);
39971 iconv_close(cd);
39973 return 0;
39975 _ACEOF
39976 if ac_fn_c_try_link "$LINENO"; then :
39977 am_cv_lib_iconv=yes
39978 am_cv_func_iconv=yes
39980 rm -f core conftest.err conftest.$ac_objext \
39981 conftest$ac_exeext conftest.$ac_ext
39982 CPPFLAGS="$am_save_CPPFLAGS"
39983 LIBS="$am_save_LIBS"
39987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
39988 $as_echo "$am_cv_func_iconv" >&6; }
39989 if test "$am_cv_func_iconv" = yes; then
39991 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
39994 if test "$am_cv_lib_iconv" = yes; then
39996 for element in $INCICONV; do
39997 haveit=
39998 for x in $CPPFLAGS; do
40000 acl_save_prefix="$prefix"
40001 prefix="$acl_final_prefix"
40002 acl_save_exec_prefix="$exec_prefix"
40003 exec_prefix="$acl_final_exec_prefix"
40004 eval x=\"$x\"
40005 exec_prefix="$acl_save_exec_prefix"
40006 prefix="$acl_save_prefix"
40008 if test "X$x" = "X$element"; then
40009 haveit=yes
40010 break
40012 done
40013 if test -z "$haveit"; then
40014 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
40016 done
40018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
40019 $as_echo_n "checking how to link with libiconv... " >&6; }
40020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
40021 $as_echo "$LIBICONV" >&6; }
40022 else
40023 LIBICONV=
40024 LTLIBICONV=
40029 if test "$am_cv_func_iconv" = yes; then
40030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
40031 $as_echo_n "checking for iconv declaration... " >&6; }
40032 if test "${am_cv_proto_iconv+set}" = set; then :
40033 $as_echo_n "(cached) " >&6
40034 else
40036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40037 /* end confdefs.h. */
40039 #include <stdlib.h>
40040 #include <iconv.h>
40041 extern
40042 #ifdef __cplusplus
40044 #endif
40045 #if defined(__STDC__) || defined(__cplusplus)
40046 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
40047 #else
40048 size_t iconv();
40049 #endif
40052 main ()
40056 return 0;
40058 _ACEOF
40059 if ac_fn_c_try_compile "$LINENO"; then :
40060 am_cv_proto_iconv_arg1=""
40061 else
40062 am_cv_proto_iconv_arg1="const"
40064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40065 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);"
40068 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
40069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
40070 }$am_cv_proto_iconv" >&5
40071 $as_echo "${ac_t:-
40072 }$am_cv_proto_iconv" >&6; }
40074 cat >>confdefs.h <<_ACEOF
40075 #define ICONV_CONST $am_cv_proto_iconv_arg1
40076 _ACEOF
40082 *-aix*)
40084 # If we're not using GNU ld, then there's no point in even trying these
40085 # tests. Check for that first. We should have already tested for gld
40086 # by now (in libtool), but require it now just to be safe...
40087 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
40088 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
40092 # The name set by libtool depends on the version of libtool. Shame on us
40093 # for depending on an impl detail, but c'est la vie. Older versions used
40094 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
40095 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
40096 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
40097 # set (hence we're using an older libtool), then set it.
40098 if test x${with_gnu_ld+set} != xset; then
40099 if test x${ac_cv_prog_gnu_ld+set} != xset; then
40100 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
40101 with_gnu_ld=no
40102 else
40103 with_gnu_ld=$ac_cv_prog_gnu_ld
40107 # Start by getting the version number. I think the libtool test already
40108 # does some of this, but throws away the result.
40109 glibcxx_ld_is_gold=no
40110 if test x"$with_gnu_ld" = x"yes"; then
40111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
40112 $as_echo_n "checking for ld version... " >&6; }
40114 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
40115 glibcxx_ld_is_gold=yes
40117 ldver=`$LD --version 2>/dev/null |
40118 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'`
40120 glibcxx_gnu_ld_version=`echo $ldver | \
40121 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
40122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
40123 $as_echo "$glibcxx_gnu_ld_version" >&6; }
40126 # Set --gc-sections.
40127 glibcxx_have_gc_sections=no
40128 if test "$glibcxx_ld_is_gold" = "yes"; then
40129 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
40130 glibcxx_have_gc_sections=yes
40132 else
40133 glibcxx_gcsections_min_ld=21602
40134 if test x"$with_gnu_ld" = x"yes" &&
40135 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
40136 glibcxx_have_gc_sections=yes
40139 if test "$glibcxx_have_gc_sections" = "yes"; then
40140 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
40141 # NB: This flag only works reliably after 2.16.1. Configure tests
40142 # for this are difficult, so hard wire a value that should work.
40144 ac_test_CFLAGS="${CFLAGS+set}"
40145 ac_save_CFLAGS="$CFLAGS"
40146 CFLAGS='-Wl,--gc-sections'
40148 # Check for -Wl,--gc-sections
40149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
40150 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
40151 if test x$gcc_no_link = xyes; then
40152 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
40154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40155 /* end confdefs.h. */
40156 int one(void) { return 1; }
40157 int two(void) { return 2; }
40160 main ()
40162 two();
40164 return 0;
40166 _ACEOF
40167 if ac_fn_c_try_link "$LINENO"; then :
40168 ac_gcsections=yes
40169 else
40170 ac_gcsections=no
40172 rm -f core conftest.err conftest.$ac_objext \
40173 conftest$ac_exeext conftest.$ac_ext
40174 if test "$ac_gcsections" = "yes"; then
40175 rm -f conftest.c
40176 touch conftest.c
40177 if $CC -c conftest.c; then
40178 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
40179 grep "Warning: gc-sections option ignored" > /dev/null; then
40180 ac_gcsections=no
40183 rm -f conftest.c conftest.o conftest
40185 if test "$ac_gcsections" = "yes"; then
40186 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
40188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
40189 $as_echo "$ac_gcsections" >&6; }
40191 if test "$ac_test_CFLAGS" = set; then
40192 CFLAGS="$ac_save_CFLAGS"
40193 else
40194 # this is the suspicious part
40195 CFLAGS=''
40199 # Set -z,relro.
40200 # Note this is only for shared objects.
40201 ac_ld_relro=no
40202 if test x"$with_gnu_ld" = x"yes"; then
40203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
40204 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
40205 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
40206 if test -n "$cxx_z_relo"; then
40207 OPT_LDFLAGS="-Wl,-z,relro"
40208 ac_ld_relro=yes
40210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
40211 $as_echo "$ac_ld_relro" >&6; }
40214 # Set linker optimization flags.
40215 if test x"$with_gnu_ld" = x"yes"; then
40216 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
40223 ac_test_CXXFLAGS="${CXXFLAGS+set}"
40224 ac_save_CXXFLAGS="$CXXFLAGS"
40225 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
40227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
40228 $as_echo_n "checking for sin in -lm... " >&6; }
40229 if test "${ac_cv_lib_m_sin+set}" = set; then :
40230 $as_echo_n "(cached) " >&6
40231 else
40232 ac_check_lib_save_LIBS=$LIBS
40233 LIBS="-lm $LIBS"
40234 if test x$gcc_no_link = xyes; then
40235 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
40237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40238 /* end confdefs.h. */
40240 /* Override any GCC internal prototype to avoid an error.
40241 Use char because int might match the return type of a GCC
40242 builtin and then its argument prototype would still apply. */
40243 #ifdef __cplusplus
40244 extern "C"
40245 #endif
40246 char sin ();
40248 main ()
40250 return sin ();
40252 return 0;
40254 _ACEOF
40255 if ac_fn_c_try_link "$LINENO"; then :
40256 ac_cv_lib_m_sin=yes
40257 else
40258 ac_cv_lib_m_sin=no
40260 rm -f core conftest.err conftest.$ac_objext \
40261 conftest$ac_exeext conftest.$ac_ext
40262 LIBS=$ac_check_lib_save_LIBS
40264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
40265 $as_echo "$ac_cv_lib_m_sin" >&6; }
40266 if test "x$ac_cv_lib_m_sin" = x""yes; then :
40267 libm="-lm"
40270 ac_save_LIBS="$LIBS"
40271 LIBS="$LIBS $libm"
40275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
40276 $as_echo_n "checking for isinf declaration... " >&6; }
40277 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
40278 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
40279 $as_echo_n "(cached) " >&6
40280 else
40283 ac_ext=cpp
40284 ac_cpp='$CXXCPP $CPPFLAGS'
40285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40290 /* end confdefs.h. */
40291 #include <math.h>
40292 #ifdef HAVE_IEEEFP_H
40293 #include <ieeefp.h>
40294 #endif
40297 main ()
40299 isinf(0);
40301 return 0;
40303 _ACEOF
40304 if ac_fn_cxx_try_compile "$LINENO"; then :
40305 glibcxx_cv_func_isinf_use=yes
40306 else
40307 glibcxx_cv_func_isinf_use=no
40309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40310 ac_ext=c
40311 ac_cpp='$CPP $CPPFLAGS'
40312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
40321 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
40323 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
40324 for ac_func in isinf
40325 do :
40326 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
40327 if test "x$ac_cv_func_isinf" = x""yes; then :
40328 cat >>confdefs.h <<_ACEOF
40329 #define HAVE_ISINF 1
40330 _ACEOF
40333 done
40335 else
40337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
40338 $as_echo_n "checking for _isinf declaration... " >&6; }
40339 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
40340 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
40341 $as_echo_n "(cached) " >&6
40342 else
40345 ac_ext=cpp
40346 ac_cpp='$CXXCPP $CPPFLAGS'
40347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40352 /* end confdefs.h. */
40353 #include <math.h>
40354 #ifdef HAVE_IEEEFP_H
40355 #include <ieeefp.h>
40356 #endif
40359 main ()
40361 _isinf(0);
40363 return 0;
40365 _ACEOF
40366 if ac_fn_cxx_try_compile "$LINENO"; then :
40367 glibcxx_cv_func__isinf_use=yes
40368 else
40369 glibcxx_cv_func__isinf_use=no
40371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40372 ac_ext=c
40373 ac_cpp='$CPP $CPPFLAGS'
40374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
40383 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
40385 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
40386 for ac_func in _isinf
40387 do :
40388 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
40389 if test "x$ac_cv_func__isinf" = x""yes; then :
40390 cat >>confdefs.h <<_ACEOF
40391 #define HAVE__ISINF 1
40392 _ACEOF
40395 done
40404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
40405 $as_echo_n "checking for isnan declaration... " >&6; }
40406 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
40407 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
40408 $as_echo_n "(cached) " >&6
40409 else
40412 ac_ext=cpp
40413 ac_cpp='$CXXCPP $CPPFLAGS'
40414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40419 /* end confdefs.h. */
40420 #include <math.h>
40421 #ifdef HAVE_IEEEFP_H
40422 #include <ieeefp.h>
40423 #endif
40426 main ()
40428 isnan(0);
40430 return 0;
40432 _ACEOF
40433 if ac_fn_cxx_try_compile "$LINENO"; then :
40434 glibcxx_cv_func_isnan_use=yes
40435 else
40436 glibcxx_cv_func_isnan_use=no
40438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40439 ac_ext=c
40440 ac_cpp='$CPP $CPPFLAGS'
40441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
40450 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
40452 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
40453 for ac_func in isnan
40454 do :
40455 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
40456 if test "x$ac_cv_func_isnan" = x""yes; then :
40457 cat >>confdefs.h <<_ACEOF
40458 #define HAVE_ISNAN 1
40459 _ACEOF
40462 done
40464 else
40466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
40467 $as_echo_n "checking for _isnan declaration... " >&6; }
40468 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
40469 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
40470 $as_echo_n "(cached) " >&6
40471 else
40474 ac_ext=cpp
40475 ac_cpp='$CXXCPP $CPPFLAGS'
40476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40481 /* end confdefs.h. */
40482 #include <math.h>
40483 #ifdef HAVE_IEEEFP_H
40484 #include <ieeefp.h>
40485 #endif
40488 main ()
40490 _isnan(0);
40492 return 0;
40494 _ACEOF
40495 if ac_fn_cxx_try_compile "$LINENO"; then :
40496 glibcxx_cv_func__isnan_use=yes
40497 else
40498 glibcxx_cv_func__isnan_use=no
40500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40501 ac_ext=c
40502 ac_cpp='$CPP $CPPFLAGS'
40503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
40512 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
40514 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
40515 for ac_func in _isnan
40516 do :
40517 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
40518 if test "x$ac_cv_func__isnan" = x""yes; then :
40519 cat >>confdefs.h <<_ACEOF
40520 #define HAVE__ISNAN 1
40521 _ACEOF
40524 done
40533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
40534 $as_echo_n "checking for finite declaration... " >&6; }
40535 if test x${glibcxx_cv_func_finite_use+set} != xset; then
40536 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
40537 $as_echo_n "(cached) " >&6
40538 else
40541 ac_ext=cpp
40542 ac_cpp='$CXXCPP $CPPFLAGS'
40543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40548 /* end confdefs.h. */
40549 #include <math.h>
40550 #ifdef HAVE_IEEEFP_H
40551 #include <ieeefp.h>
40552 #endif
40555 main ()
40557 finite(0);
40559 return 0;
40561 _ACEOF
40562 if ac_fn_cxx_try_compile "$LINENO"; then :
40563 glibcxx_cv_func_finite_use=yes
40564 else
40565 glibcxx_cv_func_finite_use=no
40567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40568 ac_ext=c
40569 ac_cpp='$CPP $CPPFLAGS'
40570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
40579 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
40581 if test x$glibcxx_cv_func_finite_use = x"yes"; then
40582 for ac_func in finite
40583 do :
40584 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
40585 if test "x$ac_cv_func_finite" = x""yes; then :
40586 cat >>confdefs.h <<_ACEOF
40587 #define HAVE_FINITE 1
40588 _ACEOF
40591 done
40593 else
40595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
40596 $as_echo_n "checking for _finite declaration... " >&6; }
40597 if test x${glibcxx_cv_func__finite_use+set} != xset; then
40598 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
40599 $as_echo_n "(cached) " >&6
40600 else
40603 ac_ext=cpp
40604 ac_cpp='$CXXCPP $CPPFLAGS'
40605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40610 /* end confdefs.h. */
40611 #include <math.h>
40612 #ifdef HAVE_IEEEFP_H
40613 #include <ieeefp.h>
40614 #endif
40617 main ()
40619 _finite(0);
40621 return 0;
40623 _ACEOF
40624 if ac_fn_cxx_try_compile "$LINENO"; then :
40625 glibcxx_cv_func__finite_use=yes
40626 else
40627 glibcxx_cv_func__finite_use=no
40629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40630 ac_ext=c
40631 ac_cpp='$CPP $CPPFLAGS'
40632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
40641 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
40643 if test x$glibcxx_cv_func__finite_use = x"yes"; then
40644 for ac_func in _finite
40645 do :
40646 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
40647 if test "x$ac_cv_func__finite" = x""yes; then :
40648 cat >>confdefs.h <<_ACEOF
40649 #define HAVE__FINITE 1
40650 _ACEOF
40653 done
40662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
40663 $as_echo_n "checking for sincos declaration... " >&6; }
40664 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
40665 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
40666 $as_echo_n "(cached) " >&6
40667 else
40670 ac_ext=cpp
40671 ac_cpp='$CXXCPP $CPPFLAGS'
40672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40677 /* end confdefs.h. */
40678 #include <math.h>
40680 main ()
40682 sincos(0, 0, 0);
40684 return 0;
40686 _ACEOF
40687 if ac_fn_cxx_try_compile "$LINENO"; then :
40688 glibcxx_cv_func_sincos_use=yes
40689 else
40690 glibcxx_cv_func_sincos_use=no
40692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40693 ac_ext=c
40694 ac_cpp='$CPP $CPPFLAGS'
40695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
40704 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
40706 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
40707 for ac_func in sincos
40708 do :
40709 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
40710 if test "x$ac_cv_func_sincos" = x""yes; then :
40711 cat >>confdefs.h <<_ACEOF
40712 #define HAVE_SINCOS 1
40713 _ACEOF
40716 done
40718 else
40720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
40721 $as_echo_n "checking for _sincos declaration... " >&6; }
40722 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
40723 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
40724 $as_echo_n "(cached) " >&6
40725 else
40728 ac_ext=cpp
40729 ac_cpp='$CXXCPP $CPPFLAGS'
40730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40735 /* end confdefs.h. */
40736 #include <math.h>
40738 main ()
40740 _sincos(0, 0, 0);
40742 return 0;
40744 _ACEOF
40745 if ac_fn_cxx_try_compile "$LINENO"; then :
40746 glibcxx_cv_func__sincos_use=yes
40747 else
40748 glibcxx_cv_func__sincos_use=no
40750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40751 ac_ext=c
40752 ac_cpp='$CPP $CPPFLAGS'
40753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
40762 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
40764 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
40765 for ac_func in _sincos
40766 do :
40767 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
40768 if test "x$ac_cv_func__sincos" = x""yes; then :
40769 cat >>confdefs.h <<_ACEOF
40770 #define HAVE__SINCOS 1
40771 _ACEOF
40774 done
40783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
40784 $as_echo_n "checking for fpclass declaration... " >&6; }
40785 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
40786 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
40787 $as_echo_n "(cached) " >&6
40788 else
40791 ac_ext=cpp
40792 ac_cpp='$CXXCPP $CPPFLAGS'
40793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40798 /* end confdefs.h. */
40799 #include <math.h>
40800 #ifdef HAVE_IEEEFP_H
40801 #include <ieeefp.h>
40802 #endif
40805 main ()
40807 fpclass(0);
40809 return 0;
40811 _ACEOF
40812 if ac_fn_cxx_try_compile "$LINENO"; then :
40813 glibcxx_cv_func_fpclass_use=yes
40814 else
40815 glibcxx_cv_func_fpclass_use=no
40817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40818 ac_ext=c
40819 ac_cpp='$CPP $CPPFLAGS'
40820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
40829 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
40831 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
40832 for ac_func in fpclass
40833 do :
40834 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
40835 if test "x$ac_cv_func_fpclass" = x""yes; then :
40836 cat >>confdefs.h <<_ACEOF
40837 #define HAVE_FPCLASS 1
40838 _ACEOF
40841 done
40843 else
40845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
40846 $as_echo_n "checking for _fpclass declaration... " >&6; }
40847 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
40848 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
40849 $as_echo_n "(cached) " >&6
40850 else
40853 ac_ext=cpp
40854 ac_cpp='$CXXCPP $CPPFLAGS'
40855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40860 /* end confdefs.h. */
40861 #include <math.h>
40862 #ifdef HAVE_IEEEFP_H
40863 #include <ieeefp.h>
40864 #endif
40867 main ()
40869 _fpclass(0);
40871 return 0;
40873 _ACEOF
40874 if ac_fn_cxx_try_compile "$LINENO"; then :
40875 glibcxx_cv_func__fpclass_use=yes
40876 else
40877 glibcxx_cv_func__fpclass_use=no
40879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40880 ac_ext=c
40881 ac_cpp='$CPP $CPPFLAGS'
40882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
40891 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
40893 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
40894 for ac_func in _fpclass
40895 do :
40896 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
40897 if test "x$ac_cv_func__fpclass" = x""yes; then :
40898 cat >>confdefs.h <<_ACEOF
40899 #define HAVE__FPCLASS 1
40900 _ACEOF
40903 done
40912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
40913 $as_echo_n "checking for qfpclass declaration... " >&6; }
40914 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
40915 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
40916 $as_echo_n "(cached) " >&6
40917 else
40920 ac_ext=cpp
40921 ac_cpp='$CXXCPP $CPPFLAGS'
40922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40927 /* end confdefs.h. */
40928 #include <math.h>
40929 #ifdef HAVE_IEEEFP_H
40930 #include <ieeefp.h>
40931 #endif
40934 main ()
40936 qfpclass(0);
40938 return 0;
40940 _ACEOF
40941 if ac_fn_cxx_try_compile "$LINENO"; then :
40942 glibcxx_cv_func_qfpclass_use=yes
40943 else
40944 glibcxx_cv_func_qfpclass_use=no
40946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40947 ac_ext=c
40948 ac_cpp='$CPP $CPPFLAGS'
40949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
40958 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
40960 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
40961 for ac_func in qfpclass
40962 do :
40963 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
40964 if test "x$ac_cv_func_qfpclass" = x""yes; then :
40965 cat >>confdefs.h <<_ACEOF
40966 #define HAVE_QFPCLASS 1
40967 _ACEOF
40970 done
40972 else
40974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
40975 $as_echo_n "checking for _qfpclass declaration... " >&6; }
40976 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
40977 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
40978 $as_echo_n "(cached) " >&6
40979 else
40982 ac_ext=cpp
40983 ac_cpp='$CXXCPP $CPPFLAGS'
40984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40989 /* end confdefs.h. */
40990 #include <math.h>
40991 #ifdef HAVE_IEEEFP_H
40992 #include <ieeefp.h>
40993 #endif
40996 main ()
40998 _qfpclass(0);
41000 return 0;
41002 _ACEOF
41003 if ac_fn_cxx_try_compile "$LINENO"; then :
41004 glibcxx_cv_func__qfpclass_use=yes
41005 else
41006 glibcxx_cv_func__qfpclass_use=no
41008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41009 ac_ext=c
41010 ac_cpp='$CPP $CPPFLAGS'
41011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
41020 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
41022 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
41023 for ac_func in _qfpclass
41024 do :
41025 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
41026 if test "x$ac_cv_func__qfpclass" = x""yes; then :
41027 cat >>confdefs.h <<_ACEOF
41028 #define HAVE__QFPCLASS 1
41029 _ACEOF
41032 done
41041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
41042 $as_echo_n "checking for hypot declaration... " >&6; }
41043 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
41044 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
41045 $as_echo_n "(cached) " >&6
41046 else
41049 ac_ext=cpp
41050 ac_cpp='$CXXCPP $CPPFLAGS'
41051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41056 /* end confdefs.h. */
41057 #include <math.h>
41059 main ()
41061 hypot(0, 0);
41063 return 0;
41065 _ACEOF
41066 if ac_fn_cxx_try_compile "$LINENO"; then :
41067 glibcxx_cv_func_hypot_use=yes
41068 else
41069 glibcxx_cv_func_hypot_use=no
41071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41072 ac_ext=c
41073 ac_cpp='$CPP $CPPFLAGS'
41074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
41083 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
41085 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
41086 for ac_func in hypot
41087 do :
41088 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
41089 if test "x$ac_cv_func_hypot" = x""yes; then :
41090 cat >>confdefs.h <<_ACEOF
41091 #define HAVE_HYPOT 1
41092 _ACEOF
41095 done
41097 else
41099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
41100 $as_echo_n "checking for _hypot declaration... " >&6; }
41101 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
41102 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
41103 $as_echo_n "(cached) " >&6
41104 else
41107 ac_ext=cpp
41108 ac_cpp='$CXXCPP $CPPFLAGS'
41109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41114 /* end confdefs.h. */
41115 #include <math.h>
41117 main ()
41119 _hypot(0, 0);
41121 return 0;
41123 _ACEOF
41124 if ac_fn_cxx_try_compile "$LINENO"; then :
41125 glibcxx_cv_func__hypot_use=yes
41126 else
41127 glibcxx_cv_func__hypot_use=no
41129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41130 ac_ext=c
41131 ac_cpp='$CPP $CPPFLAGS'
41132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
41141 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
41143 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
41144 for ac_func in _hypot
41145 do :
41146 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
41147 if test "x$ac_cv_func__hypot" = x""yes; then :
41148 cat >>confdefs.h <<_ACEOF
41149 #define HAVE__HYPOT 1
41150 _ACEOF
41153 done
41162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
41163 $as_echo_n "checking for float trig functions... " >&6; }
41164 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
41165 $as_echo_n "(cached) " >&6
41166 else
41169 ac_ext=cpp
41170 ac_cpp='$CXXCPP $CPPFLAGS'
41171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41176 /* end confdefs.h. */
41177 #include <math.h>
41179 main ()
41181 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
41183 return 0;
41185 _ACEOF
41186 if ac_fn_cxx_try_compile "$LINENO"; then :
41187 glibcxx_cv_func_float_trig_use=yes
41188 else
41189 glibcxx_cv_func_float_trig_use=no
41191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41192 ac_ext=c
41193 ac_cpp='$CPP $CPPFLAGS'
41194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
41201 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
41202 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
41203 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
41204 do :
41205 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41206 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41207 eval as_val=\$$as_ac_var
41208 if test "x$as_val" = x""yes; then :
41209 cat >>confdefs.h <<_ACEOF
41210 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41211 _ACEOF
41214 done
41216 else
41217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
41218 $as_echo_n "checking for _float trig functions... " >&6; }
41219 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
41220 $as_echo_n "(cached) " >&6
41221 else
41224 ac_ext=cpp
41225 ac_cpp='$CXXCPP $CPPFLAGS'
41226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41231 /* end confdefs.h. */
41232 #include <math.h>
41234 main ()
41236 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
41238 return 0;
41240 _ACEOF
41241 if ac_fn_cxx_try_compile "$LINENO"; then :
41242 glibcxx_cv_func__float_trig_use=yes
41243 else
41244 glibcxx_cv_func__float_trig_use=no
41246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41247 ac_ext=c
41248 ac_cpp='$CPP $CPPFLAGS'
41249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
41256 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
41257 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
41258 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
41259 do :
41260 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41261 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41262 eval as_val=\$$as_ac_var
41263 if test "x$as_val" = x""yes; then :
41264 cat >>confdefs.h <<_ACEOF
41265 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41266 _ACEOF
41269 done
41278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
41279 $as_echo_n "checking for float round functions... " >&6; }
41280 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
41281 $as_echo_n "(cached) " >&6
41282 else
41285 ac_ext=cpp
41286 ac_cpp='$CXXCPP $CPPFLAGS'
41287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41292 /* end confdefs.h. */
41293 #include <math.h>
41295 main ()
41297 ceilf (0); floorf (0);
41299 return 0;
41301 _ACEOF
41302 if ac_fn_cxx_try_compile "$LINENO"; then :
41303 glibcxx_cv_func_float_round_use=yes
41304 else
41305 glibcxx_cv_func_float_round_use=no
41307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41308 ac_ext=c
41309 ac_cpp='$CPP $CPPFLAGS'
41310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
41317 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
41318 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
41319 for ac_func in ceilf floorf
41320 do :
41321 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41322 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41323 eval as_val=\$$as_ac_var
41324 if test "x$as_val" = x""yes; then :
41325 cat >>confdefs.h <<_ACEOF
41326 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41327 _ACEOF
41330 done
41332 else
41333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
41334 $as_echo_n "checking for _float round functions... " >&6; }
41335 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
41336 $as_echo_n "(cached) " >&6
41337 else
41340 ac_ext=cpp
41341 ac_cpp='$CXXCPP $CPPFLAGS'
41342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41347 /* end confdefs.h. */
41348 #include <math.h>
41350 main ()
41352 _ceilf (0); _floorf (0);
41354 return 0;
41356 _ACEOF
41357 if ac_fn_cxx_try_compile "$LINENO"; then :
41358 glibcxx_cv_func__float_round_use=yes
41359 else
41360 glibcxx_cv_func__float_round_use=no
41362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41363 ac_ext=c
41364 ac_cpp='$CPP $CPPFLAGS'
41365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
41372 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
41373 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
41374 for ac_func in _ceilf _floorf
41375 do :
41376 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41377 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41378 eval as_val=\$$as_ac_var
41379 if test "x$as_val" = x""yes; then :
41380 cat >>confdefs.h <<_ACEOF
41381 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41382 _ACEOF
41385 done
41395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
41396 $as_echo_n "checking for expf declaration... " >&6; }
41397 if test x${glibcxx_cv_func_expf_use+set} != xset; then
41398 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
41399 $as_echo_n "(cached) " >&6
41400 else
41403 ac_ext=cpp
41404 ac_cpp='$CXXCPP $CPPFLAGS'
41405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41410 /* end confdefs.h. */
41411 #include <math.h>
41412 #ifdef HAVE_IEEEFP_H
41413 #include <ieeefp.h>
41414 #endif
41417 main ()
41419 expf(0);
41421 return 0;
41423 _ACEOF
41424 if ac_fn_cxx_try_compile "$LINENO"; then :
41425 glibcxx_cv_func_expf_use=yes
41426 else
41427 glibcxx_cv_func_expf_use=no
41429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41430 ac_ext=c
41431 ac_cpp='$CPP $CPPFLAGS'
41432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
41441 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
41443 if test x$glibcxx_cv_func_expf_use = x"yes"; then
41444 for ac_func in expf
41445 do :
41446 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
41447 if test "x$ac_cv_func_expf" = x""yes; then :
41448 cat >>confdefs.h <<_ACEOF
41449 #define HAVE_EXPF 1
41450 _ACEOF
41453 done
41455 else
41457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
41458 $as_echo_n "checking for _expf declaration... " >&6; }
41459 if test x${glibcxx_cv_func__expf_use+set} != xset; then
41460 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
41461 $as_echo_n "(cached) " >&6
41462 else
41465 ac_ext=cpp
41466 ac_cpp='$CXXCPP $CPPFLAGS'
41467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41472 /* end confdefs.h. */
41473 #include <math.h>
41474 #ifdef HAVE_IEEEFP_H
41475 #include <ieeefp.h>
41476 #endif
41479 main ()
41481 _expf(0);
41483 return 0;
41485 _ACEOF
41486 if ac_fn_cxx_try_compile "$LINENO"; then :
41487 glibcxx_cv_func__expf_use=yes
41488 else
41489 glibcxx_cv_func__expf_use=no
41491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41492 ac_ext=c
41493 ac_cpp='$CPP $CPPFLAGS'
41494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
41503 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
41505 if test x$glibcxx_cv_func__expf_use = x"yes"; then
41506 for ac_func in _expf
41507 do :
41508 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
41509 if test "x$ac_cv_func__expf" = x""yes; then :
41510 cat >>confdefs.h <<_ACEOF
41511 #define HAVE__EXPF 1
41512 _ACEOF
41515 done
41524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
41525 $as_echo_n "checking for isnanf declaration... " >&6; }
41526 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
41527 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
41528 $as_echo_n "(cached) " >&6
41529 else
41532 ac_ext=cpp
41533 ac_cpp='$CXXCPP $CPPFLAGS'
41534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41539 /* end confdefs.h. */
41540 #include <math.h>
41541 #ifdef HAVE_IEEEFP_H
41542 #include <ieeefp.h>
41543 #endif
41546 main ()
41548 isnanf(0);
41550 return 0;
41552 _ACEOF
41553 if ac_fn_cxx_try_compile "$LINENO"; then :
41554 glibcxx_cv_func_isnanf_use=yes
41555 else
41556 glibcxx_cv_func_isnanf_use=no
41558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41559 ac_ext=c
41560 ac_cpp='$CPP $CPPFLAGS'
41561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
41570 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
41572 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
41573 for ac_func in isnanf
41574 do :
41575 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
41576 if test "x$ac_cv_func_isnanf" = x""yes; then :
41577 cat >>confdefs.h <<_ACEOF
41578 #define HAVE_ISNANF 1
41579 _ACEOF
41582 done
41584 else
41586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
41587 $as_echo_n "checking for _isnanf declaration... " >&6; }
41588 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
41589 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
41590 $as_echo_n "(cached) " >&6
41591 else
41594 ac_ext=cpp
41595 ac_cpp='$CXXCPP $CPPFLAGS'
41596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41601 /* end confdefs.h. */
41602 #include <math.h>
41603 #ifdef HAVE_IEEEFP_H
41604 #include <ieeefp.h>
41605 #endif
41608 main ()
41610 _isnanf(0);
41612 return 0;
41614 _ACEOF
41615 if ac_fn_cxx_try_compile "$LINENO"; then :
41616 glibcxx_cv_func__isnanf_use=yes
41617 else
41618 glibcxx_cv_func__isnanf_use=no
41620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41621 ac_ext=c
41622 ac_cpp='$CPP $CPPFLAGS'
41623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
41632 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
41634 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
41635 for ac_func in _isnanf
41636 do :
41637 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
41638 if test "x$ac_cv_func__isnanf" = x""yes; then :
41639 cat >>confdefs.h <<_ACEOF
41640 #define HAVE__ISNANF 1
41641 _ACEOF
41644 done
41653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
41654 $as_echo_n "checking for isinff declaration... " >&6; }
41655 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
41656 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
41657 $as_echo_n "(cached) " >&6
41658 else
41661 ac_ext=cpp
41662 ac_cpp='$CXXCPP $CPPFLAGS'
41663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41668 /* end confdefs.h. */
41669 #include <math.h>
41670 #ifdef HAVE_IEEEFP_H
41671 #include <ieeefp.h>
41672 #endif
41675 main ()
41677 isinff(0);
41679 return 0;
41681 _ACEOF
41682 if ac_fn_cxx_try_compile "$LINENO"; then :
41683 glibcxx_cv_func_isinff_use=yes
41684 else
41685 glibcxx_cv_func_isinff_use=no
41687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41688 ac_ext=c
41689 ac_cpp='$CPP $CPPFLAGS'
41690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
41699 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
41701 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
41702 for ac_func in isinff
41703 do :
41704 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
41705 if test "x$ac_cv_func_isinff" = x""yes; then :
41706 cat >>confdefs.h <<_ACEOF
41707 #define HAVE_ISINFF 1
41708 _ACEOF
41711 done
41713 else
41715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
41716 $as_echo_n "checking for _isinff declaration... " >&6; }
41717 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
41718 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
41719 $as_echo_n "(cached) " >&6
41720 else
41723 ac_ext=cpp
41724 ac_cpp='$CXXCPP $CPPFLAGS'
41725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41730 /* end confdefs.h. */
41731 #include <math.h>
41732 #ifdef HAVE_IEEEFP_H
41733 #include <ieeefp.h>
41734 #endif
41737 main ()
41739 _isinff(0);
41741 return 0;
41743 _ACEOF
41744 if ac_fn_cxx_try_compile "$LINENO"; then :
41745 glibcxx_cv_func__isinff_use=yes
41746 else
41747 glibcxx_cv_func__isinff_use=no
41749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41750 ac_ext=c
41751 ac_cpp='$CPP $CPPFLAGS'
41752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
41761 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
41763 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
41764 for ac_func in _isinff
41765 do :
41766 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
41767 if test "x$ac_cv_func__isinff" = x""yes; then :
41768 cat >>confdefs.h <<_ACEOF
41769 #define HAVE__ISINFF 1
41770 _ACEOF
41773 done
41782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
41783 $as_echo_n "checking for atan2f declaration... " >&6; }
41784 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
41785 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
41786 $as_echo_n "(cached) " >&6
41787 else
41790 ac_ext=cpp
41791 ac_cpp='$CXXCPP $CPPFLAGS'
41792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41797 /* end confdefs.h. */
41798 #include <math.h>
41800 main ()
41802 atan2f(0, 0);
41804 return 0;
41806 _ACEOF
41807 if ac_fn_cxx_try_compile "$LINENO"; then :
41808 glibcxx_cv_func_atan2f_use=yes
41809 else
41810 glibcxx_cv_func_atan2f_use=no
41812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41813 ac_ext=c
41814 ac_cpp='$CPP $CPPFLAGS'
41815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
41824 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
41826 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
41827 for ac_func in atan2f
41828 do :
41829 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
41830 if test "x$ac_cv_func_atan2f" = x""yes; then :
41831 cat >>confdefs.h <<_ACEOF
41832 #define HAVE_ATAN2F 1
41833 _ACEOF
41836 done
41838 else
41840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
41841 $as_echo_n "checking for _atan2f declaration... " >&6; }
41842 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
41843 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
41844 $as_echo_n "(cached) " >&6
41845 else
41848 ac_ext=cpp
41849 ac_cpp='$CXXCPP $CPPFLAGS'
41850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41855 /* end confdefs.h. */
41856 #include <math.h>
41858 main ()
41860 _atan2f(0, 0);
41862 return 0;
41864 _ACEOF
41865 if ac_fn_cxx_try_compile "$LINENO"; then :
41866 glibcxx_cv_func__atan2f_use=yes
41867 else
41868 glibcxx_cv_func__atan2f_use=no
41870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41871 ac_ext=c
41872 ac_cpp='$CPP $CPPFLAGS'
41873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
41882 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
41884 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
41885 for ac_func in _atan2f
41886 do :
41887 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
41888 if test "x$ac_cv_func__atan2f" = x""yes; then :
41889 cat >>confdefs.h <<_ACEOF
41890 #define HAVE__ATAN2F 1
41891 _ACEOF
41894 done
41903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
41904 $as_echo_n "checking for fabsf declaration... " >&6; }
41905 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
41906 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
41907 $as_echo_n "(cached) " >&6
41908 else
41911 ac_ext=cpp
41912 ac_cpp='$CXXCPP $CPPFLAGS'
41913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41918 /* end confdefs.h. */
41919 #include <math.h>
41920 #ifdef HAVE_IEEEFP_H
41921 #include <ieeefp.h>
41922 #endif
41925 main ()
41927 fabsf(0);
41929 return 0;
41931 _ACEOF
41932 if ac_fn_cxx_try_compile "$LINENO"; then :
41933 glibcxx_cv_func_fabsf_use=yes
41934 else
41935 glibcxx_cv_func_fabsf_use=no
41937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41938 ac_ext=c
41939 ac_cpp='$CPP $CPPFLAGS'
41940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
41949 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
41951 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
41952 for ac_func in fabsf
41953 do :
41954 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
41955 if test "x$ac_cv_func_fabsf" = x""yes; then :
41956 cat >>confdefs.h <<_ACEOF
41957 #define HAVE_FABSF 1
41958 _ACEOF
41961 done
41963 else
41965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
41966 $as_echo_n "checking for _fabsf declaration... " >&6; }
41967 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
41968 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
41969 $as_echo_n "(cached) " >&6
41970 else
41973 ac_ext=cpp
41974 ac_cpp='$CXXCPP $CPPFLAGS'
41975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41980 /* end confdefs.h. */
41981 #include <math.h>
41982 #ifdef HAVE_IEEEFP_H
41983 #include <ieeefp.h>
41984 #endif
41987 main ()
41989 _fabsf(0);
41991 return 0;
41993 _ACEOF
41994 if ac_fn_cxx_try_compile "$LINENO"; then :
41995 glibcxx_cv_func__fabsf_use=yes
41996 else
41997 glibcxx_cv_func__fabsf_use=no
41999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42000 ac_ext=c
42001 ac_cpp='$CPP $CPPFLAGS'
42002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
42011 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
42013 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
42014 for ac_func in _fabsf
42015 do :
42016 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
42017 if test "x$ac_cv_func__fabsf" = x""yes; then :
42018 cat >>confdefs.h <<_ACEOF
42019 #define HAVE__FABSF 1
42020 _ACEOF
42023 done
42032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
42033 $as_echo_n "checking for fmodf declaration... " >&6; }
42034 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
42035 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
42036 $as_echo_n "(cached) " >&6
42037 else
42040 ac_ext=cpp
42041 ac_cpp='$CXXCPP $CPPFLAGS'
42042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42047 /* end confdefs.h. */
42048 #include <math.h>
42050 main ()
42052 fmodf(0, 0);
42054 return 0;
42056 _ACEOF
42057 if ac_fn_cxx_try_compile "$LINENO"; then :
42058 glibcxx_cv_func_fmodf_use=yes
42059 else
42060 glibcxx_cv_func_fmodf_use=no
42062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42063 ac_ext=c
42064 ac_cpp='$CPP $CPPFLAGS'
42065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
42074 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
42076 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
42077 for ac_func in fmodf
42078 do :
42079 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
42080 if test "x$ac_cv_func_fmodf" = x""yes; then :
42081 cat >>confdefs.h <<_ACEOF
42082 #define HAVE_FMODF 1
42083 _ACEOF
42086 done
42088 else
42090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
42091 $as_echo_n "checking for _fmodf declaration... " >&6; }
42092 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
42093 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
42094 $as_echo_n "(cached) " >&6
42095 else
42098 ac_ext=cpp
42099 ac_cpp='$CXXCPP $CPPFLAGS'
42100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42105 /* end confdefs.h. */
42106 #include <math.h>
42108 main ()
42110 _fmodf(0, 0);
42112 return 0;
42114 _ACEOF
42115 if ac_fn_cxx_try_compile "$LINENO"; then :
42116 glibcxx_cv_func__fmodf_use=yes
42117 else
42118 glibcxx_cv_func__fmodf_use=no
42120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42121 ac_ext=c
42122 ac_cpp='$CPP $CPPFLAGS'
42123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
42132 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
42134 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
42135 for ac_func in _fmodf
42136 do :
42137 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
42138 if test "x$ac_cv_func__fmodf" = x""yes; then :
42139 cat >>confdefs.h <<_ACEOF
42140 #define HAVE__FMODF 1
42141 _ACEOF
42144 done
42153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
42154 $as_echo_n "checking for frexpf declaration... " >&6; }
42155 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
42156 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
42157 $as_echo_n "(cached) " >&6
42158 else
42161 ac_ext=cpp
42162 ac_cpp='$CXXCPP $CPPFLAGS'
42163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42168 /* end confdefs.h. */
42169 #include <math.h>
42171 main ()
42173 frexpf(0, 0);
42175 return 0;
42177 _ACEOF
42178 if ac_fn_cxx_try_compile "$LINENO"; then :
42179 glibcxx_cv_func_frexpf_use=yes
42180 else
42181 glibcxx_cv_func_frexpf_use=no
42183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42184 ac_ext=c
42185 ac_cpp='$CPP $CPPFLAGS'
42186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
42195 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
42197 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
42198 for ac_func in frexpf
42199 do :
42200 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
42201 if test "x$ac_cv_func_frexpf" = x""yes; then :
42202 cat >>confdefs.h <<_ACEOF
42203 #define HAVE_FREXPF 1
42204 _ACEOF
42207 done
42209 else
42211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
42212 $as_echo_n "checking for _frexpf declaration... " >&6; }
42213 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
42214 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
42215 $as_echo_n "(cached) " >&6
42216 else
42219 ac_ext=cpp
42220 ac_cpp='$CXXCPP $CPPFLAGS'
42221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42226 /* end confdefs.h. */
42227 #include <math.h>
42229 main ()
42231 _frexpf(0, 0);
42233 return 0;
42235 _ACEOF
42236 if ac_fn_cxx_try_compile "$LINENO"; then :
42237 glibcxx_cv_func__frexpf_use=yes
42238 else
42239 glibcxx_cv_func__frexpf_use=no
42241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42242 ac_ext=c
42243 ac_cpp='$CPP $CPPFLAGS'
42244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
42253 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
42255 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
42256 for ac_func in _frexpf
42257 do :
42258 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
42259 if test "x$ac_cv_func__frexpf" = x""yes; then :
42260 cat >>confdefs.h <<_ACEOF
42261 #define HAVE__FREXPF 1
42262 _ACEOF
42265 done
42274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
42275 $as_echo_n "checking for hypotf declaration... " >&6; }
42276 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
42277 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
42278 $as_echo_n "(cached) " >&6
42279 else
42282 ac_ext=cpp
42283 ac_cpp='$CXXCPP $CPPFLAGS'
42284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42289 /* end confdefs.h. */
42290 #include <math.h>
42292 main ()
42294 hypotf(0, 0);
42296 return 0;
42298 _ACEOF
42299 if ac_fn_cxx_try_compile "$LINENO"; then :
42300 glibcxx_cv_func_hypotf_use=yes
42301 else
42302 glibcxx_cv_func_hypotf_use=no
42304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42305 ac_ext=c
42306 ac_cpp='$CPP $CPPFLAGS'
42307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
42316 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
42318 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
42319 for ac_func in hypotf
42320 do :
42321 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
42322 if test "x$ac_cv_func_hypotf" = x""yes; then :
42323 cat >>confdefs.h <<_ACEOF
42324 #define HAVE_HYPOTF 1
42325 _ACEOF
42328 done
42330 else
42332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
42333 $as_echo_n "checking for _hypotf declaration... " >&6; }
42334 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
42335 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
42336 $as_echo_n "(cached) " >&6
42337 else
42340 ac_ext=cpp
42341 ac_cpp='$CXXCPP $CPPFLAGS'
42342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42347 /* end confdefs.h. */
42348 #include <math.h>
42350 main ()
42352 _hypotf(0, 0);
42354 return 0;
42356 _ACEOF
42357 if ac_fn_cxx_try_compile "$LINENO"; then :
42358 glibcxx_cv_func__hypotf_use=yes
42359 else
42360 glibcxx_cv_func__hypotf_use=no
42362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42363 ac_ext=c
42364 ac_cpp='$CPP $CPPFLAGS'
42365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
42374 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
42376 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
42377 for ac_func in _hypotf
42378 do :
42379 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
42380 if test "x$ac_cv_func__hypotf" = x""yes; then :
42381 cat >>confdefs.h <<_ACEOF
42382 #define HAVE__HYPOTF 1
42383 _ACEOF
42386 done
42395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
42396 $as_echo_n "checking for ldexpf declaration... " >&6; }
42397 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
42398 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
42399 $as_echo_n "(cached) " >&6
42400 else
42403 ac_ext=cpp
42404 ac_cpp='$CXXCPP $CPPFLAGS'
42405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42410 /* end confdefs.h. */
42411 #include <math.h>
42413 main ()
42415 ldexpf(0, 0);
42417 return 0;
42419 _ACEOF
42420 if ac_fn_cxx_try_compile "$LINENO"; then :
42421 glibcxx_cv_func_ldexpf_use=yes
42422 else
42423 glibcxx_cv_func_ldexpf_use=no
42425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42426 ac_ext=c
42427 ac_cpp='$CPP $CPPFLAGS'
42428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
42437 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
42439 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
42440 for ac_func in ldexpf
42441 do :
42442 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
42443 if test "x$ac_cv_func_ldexpf" = x""yes; then :
42444 cat >>confdefs.h <<_ACEOF
42445 #define HAVE_LDEXPF 1
42446 _ACEOF
42449 done
42451 else
42453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
42454 $as_echo_n "checking for _ldexpf declaration... " >&6; }
42455 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
42456 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
42457 $as_echo_n "(cached) " >&6
42458 else
42461 ac_ext=cpp
42462 ac_cpp='$CXXCPP $CPPFLAGS'
42463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42468 /* end confdefs.h. */
42469 #include <math.h>
42471 main ()
42473 _ldexpf(0, 0);
42475 return 0;
42477 _ACEOF
42478 if ac_fn_cxx_try_compile "$LINENO"; then :
42479 glibcxx_cv_func__ldexpf_use=yes
42480 else
42481 glibcxx_cv_func__ldexpf_use=no
42483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42484 ac_ext=c
42485 ac_cpp='$CPP $CPPFLAGS'
42486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
42495 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
42497 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
42498 for ac_func in _ldexpf
42499 do :
42500 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
42501 if test "x$ac_cv_func__ldexpf" = x""yes; then :
42502 cat >>confdefs.h <<_ACEOF
42503 #define HAVE__LDEXPF 1
42504 _ACEOF
42507 done
42516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
42517 $as_echo_n "checking for logf declaration... " >&6; }
42518 if test x${glibcxx_cv_func_logf_use+set} != xset; then
42519 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
42520 $as_echo_n "(cached) " >&6
42521 else
42524 ac_ext=cpp
42525 ac_cpp='$CXXCPP $CPPFLAGS'
42526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42531 /* end confdefs.h. */
42532 #include <math.h>
42533 #ifdef HAVE_IEEEFP_H
42534 #include <ieeefp.h>
42535 #endif
42538 main ()
42540 logf(0);
42542 return 0;
42544 _ACEOF
42545 if ac_fn_cxx_try_compile "$LINENO"; then :
42546 glibcxx_cv_func_logf_use=yes
42547 else
42548 glibcxx_cv_func_logf_use=no
42550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42551 ac_ext=c
42552 ac_cpp='$CPP $CPPFLAGS'
42553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
42562 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
42564 if test x$glibcxx_cv_func_logf_use = x"yes"; then
42565 for ac_func in logf
42566 do :
42567 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
42568 if test "x$ac_cv_func_logf" = x""yes; then :
42569 cat >>confdefs.h <<_ACEOF
42570 #define HAVE_LOGF 1
42571 _ACEOF
42574 done
42576 else
42578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
42579 $as_echo_n "checking for _logf declaration... " >&6; }
42580 if test x${glibcxx_cv_func__logf_use+set} != xset; then
42581 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
42582 $as_echo_n "(cached) " >&6
42583 else
42586 ac_ext=cpp
42587 ac_cpp='$CXXCPP $CPPFLAGS'
42588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42593 /* end confdefs.h. */
42594 #include <math.h>
42595 #ifdef HAVE_IEEEFP_H
42596 #include <ieeefp.h>
42597 #endif
42600 main ()
42602 _logf(0);
42604 return 0;
42606 _ACEOF
42607 if ac_fn_cxx_try_compile "$LINENO"; then :
42608 glibcxx_cv_func__logf_use=yes
42609 else
42610 glibcxx_cv_func__logf_use=no
42612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42613 ac_ext=c
42614 ac_cpp='$CPP $CPPFLAGS'
42615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
42624 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
42626 if test x$glibcxx_cv_func__logf_use = x"yes"; then
42627 for ac_func in _logf
42628 do :
42629 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
42630 if test "x$ac_cv_func__logf" = x""yes; then :
42631 cat >>confdefs.h <<_ACEOF
42632 #define HAVE__LOGF 1
42633 _ACEOF
42636 done
42645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
42646 $as_echo_n "checking for log10f declaration... " >&6; }
42647 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
42648 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
42649 $as_echo_n "(cached) " >&6
42650 else
42653 ac_ext=cpp
42654 ac_cpp='$CXXCPP $CPPFLAGS'
42655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42660 /* end confdefs.h. */
42661 #include <math.h>
42662 #ifdef HAVE_IEEEFP_H
42663 #include <ieeefp.h>
42664 #endif
42667 main ()
42669 log10f(0);
42671 return 0;
42673 _ACEOF
42674 if ac_fn_cxx_try_compile "$LINENO"; then :
42675 glibcxx_cv_func_log10f_use=yes
42676 else
42677 glibcxx_cv_func_log10f_use=no
42679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42680 ac_ext=c
42681 ac_cpp='$CPP $CPPFLAGS'
42682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
42691 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
42693 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
42694 for ac_func in log10f
42695 do :
42696 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
42697 if test "x$ac_cv_func_log10f" = x""yes; then :
42698 cat >>confdefs.h <<_ACEOF
42699 #define HAVE_LOG10F 1
42700 _ACEOF
42703 done
42705 else
42707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
42708 $as_echo_n "checking for _log10f declaration... " >&6; }
42709 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
42710 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
42711 $as_echo_n "(cached) " >&6
42712 else
42715 ac_ext=cpp
42716 ac_cpp='$CXXCPP $CPPFLAGS'
42717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42722 /* end confdefs.h. */
42723 #include <math.h>
42724 #ifdef HAVE_IEEEFP_H
42725 #include <ieeefp.h>
42726 #endif
42729 main ()
42731 _log10f(0);
42733 return 0;
42735 _ACEOF
42736 if ac_fn_cxx_try_compile "$LINENO"; then :
42737 glibcxx_cv_func__log10f_use=yes
42738 else
42739 glibcxx_cv_func__log10f_use=no
42741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42742 ac_ext=c
42743 ac_cpp='$CPP $CPPFLAGS'
42744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
42753 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
42755 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
42756 for ac_func in _log10f
42757 do :
42758 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
42759 if test "x$ac_cv_func__log10f" = x""yes; then :
42760 cat >>confdefs.h <<_ACEOF
42761 #define HAVE__LOG10F 1
42762 _ACEOF
42765 done
42774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
42775 $as_echo_n "checking for modff declaration... " >&6; }
42776 if test x${glibcxx_cv_func_modff_use+set} != xset; then
42777 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
42778 $as_echo_n "(cached) " >&6
42779 else
42782 ac_ext=cpp
42783 ac_cpp='$CXXCPP $CPPFLAGS'
42784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42789 /* end confdefs.h. */
42790 #include <math.h>
42792 main ()
42794 modff(0, 0);
42796 return 0;
42798 _ACEOF
42799 if ac_fn_cxx_try_compile "$LINENO"; then :
42800 glibcxx_cv_func_modff_use=yes
42801 else
42802 glibcxx_cv_func_modff_use=no
42804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42805 ac_ext=c
42806 ac_cpp='$CPP $CPPFLAGS'
42807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
42816 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
42818 if test x$glibcxx_cv_func_modff_use = x"yes"; then
42819 for ac_func in modff
42820 do :
42821 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
42822 if test "x$ac_cv_func_modff" = x""yes; then :
42823 cat >>confdefs.h <<_ACEOF
42824 #define HAVE_MODFF 1
42825 _ACEOF
42828 done
42830 else
42832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
42833 $as_echo_n "checking for _modff declaration... " >&6; }
42834 if test x${glibcxx_cv_func__modff_use+set} != xset; then
42835 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
42836 $as_echo_n "(cached) " >&6
42837 else
42840 ac_ext=cpp
42841 ac_cpp='$CXXCPP $CPPFLAGS'
42842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42847 /* end confdefs.h. */
42848 #include <math.h>
42850 main ()
42852 _modff(0, 0);
42854 return 0;
42856 _ACEOF
42857 if ac_fn_cxx_try_compile "$LINENO"; then :
42858 glibcxx_cv_func__modff_use=yes
42859 else
42860 glibcxx_cv_func__modff_use=no
42862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42863 ac_ext=c
42864 ac_cpp='$CPP $CPPFLAGS'
42865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
42874 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
42876 if test x$glibcxx_cv_func__modff_use = x"yes"; then
42877 for ac_func in _modff
42878 do :
42879 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
42880 if test "x$ac_cv_func__modff" = x""yes; then :
42881 cat >>confdefs.h <<_ACEOF
42882 #define HAVE__MODFF 1
42883 _ACEOF
42886 done
42895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
42896 $as_echo_n "checking for modf declaration... " >&6; }
42897 if test x${glibcxx_cv_func_modf_use+set} != xset; then
42898 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
42899 $as_echo_n "(cached) " >&6
42900 else
42903 ac_ext=cpp
42904 ac_cpp='$CXXCPP $CPPFLAGS'
42905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42910 /* end confdefs.h. */
42911 #include <math.h>
42913 main ()
42915 modf(0, 0);
42917 return 0;
42919 _ACEOF
42920 if ac_fn_cxx_try_compile "$LINENO"; then :
42921 glibcxx_cv_func_modf_use=yes
42922 else
42923 glibcxx_cv_func_modf_use=no
42925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42926 ac_ext=c
42927 ac_cpp='$CPP $CPPFLAGS'
42928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
42937 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
42939 if test x$glibcxx_cv_func_modf_use = x"yes"; then
42940 for ac_func in modf
42941 do :
42942 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
42943 if test "x$ac_cv_func_modf" = x""yes; then :
42944 cat >>confdefs.h <<_ACEOF
42945 #define HAVE_MODF 1
42946 _ACEOF
42949 done
42951 else
42953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
42954 $as_echo_n "checking for _modf declaration... " >&6; }
42955 if test x${glibcxx_cv_func__modf_use+set} != xset; then
42956 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
42957 $as_echo_n "(cached) " >&6
42958 else
42961 ac_ext=cpp
42962 ac_cpp='$CXXCPP $CPPFLAGS'
42963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42968 /* end confdefs.h. */
42969 #include <math.h>
42971 main ()
42973 _modf(0, 0);
42975 return 0;
42977 _ACEOF
42978 if ac_fn_cxx_try_compile "$LINENO"; then :
42979 glibcxx_cv_func__modf_use=yes
42980 else
42981 glibcxx_cv_func__modf_use=no
42983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42984 ac_ext=c
42985 ac_cpp='$CPP $CPPFLAGS'
42986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
42995 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
42997 if test x$glibcxx_cv_func__modf_use = x"yes"; then
42998 for ac_func in _modf
42999 do :
43000 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
43001 if test "x$ac_cv_func__modf" = x""yes; then :
43002 cat >>confdefs.h <<_ACEOF
43003 #define HAVE__MODF 1
43004 _ACEOF
43007 done
43016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
43017 $as_echo_n "checking for powf declaration... " >&6; }
43018 if test x${glibcxx_cv_func_powf_use+set} != xset; then
43019 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
43020 $as_echo_n "(cached) " >&6
43021 else
43024 ac_ext=cpp
43025 ac_cpp='$CXXCPP $CPPFLAGS'
43026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43031 /* end confdefs.h. */
43032 #include <math.h>
43034 main ()
43036 powf(0, 0);
43038 return 0;
43040 _ACEOF
43041 if ac_fn_cxx_try_compile "$LINENO"; then :
43042 glibcxx_cv_func_powf_use=yes
43043 else
43044 glibcxx_cv_func_powf_use=no
43046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43047 ac_ext=c
43048 ac_cpp='$CPP $CPPFLAGS'
43049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
43058 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
43060 if test x$glibcxx_cv_func_powf_use = x"yes"; then
43061 for ac_func in powf
43062 do :
43063 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
43064 if test "x$ac_cv_func_powf" = x""yes; then :
43065 cat >>confdefs.h <<_ACEOF
43066 #define HAVE_POWF 1
43067 _ACEOF
43070 done
43072 else
43074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
43075 $as_echo_n "checking for _powf declaration... " >&6; }
43076 if test x${glibcxx_cv_func__powf_use+set} != xset; then
43077 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
43078 $as_echo_n "(cached) " >&6
43079 else
43082 ac_ext=cpp
43083 ac_cpp='$CXXCPP $CPPFLAGS'
43084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43089 /* end confdefs.h. */
43090 #include <math.h>
43092 main ()
43094 _powf(0, 0);
43096 return 0;
43098 _ACEOF
43099 if ac_fn_cxx_try_compile "$LINENO"; then :
43100 glibcxx_cv_func__powf_use=yes
43101 else
43102 glibcxx_cv_func__powf_use=no
43104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43105 ac_ext=c
43106 ac_cpp='$CPP $CPPFLAGS'
43107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
43116 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
43118 if test x$glibcxx_cv_func__powf_use = x"yes"; then
43119 for ac_func in _powf
43120 do :
43121 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
43122 if test "x$ac_cv_func__powf" = x""yes; then :
43123 cat >>confdefs.h <<_ACEOF
43124 #define HAVE__POWF 1
43125 _ACEOF
43128 done
43137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
43138 $as_echo_n "checking for sqrtf declaration... " >&6; }
43139 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
43140 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
43141 $as_echo_n "(cached) " >&6
43142 else
43145 ac_ext=cpp
43146 ac_cpp='$CXXCPP $CPPFLAGS'
43147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43152 /* end confdefs.h. */
43153 #include <math.h>
43154 #ifdef HAVE_IEEEFP_H
43155 #include <ieeefp.h>
43156 #endif
43159 main ()
43161 sqrtf(0);
43163 return 0;
43165 _ACEOF
43166 if ac_fn_cxx_try_compile "$LINENO"; then :
43167 glibcxx_cv_func_sqrtf_use=yes
43168 else
43169 glibcxx_cv_func_sqrtf_use=no
43171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43172 ac_ext=c
43173 ac_cpp='$CPP $CPPFLAGS'
43174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
43183 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
43185 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
43186 for ac_func in sqrtf
43187 do :
43188 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
43189 if test "x$ac_cv_func_sqrtf" = x""yes; then :
43190 cat >>confdefs.h <<_ACEOF
43191 #define HAVE_SQRTF 1
43192 _ACEOF
43195 done
43197 else
43199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
43200 $as_echo_n "checking for _sqrtf declaration... " >&6; }
43201 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
43202 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
43203 $as_echo_n "(cached) " >&6
43204 else
43207 ac_ext=cpp
43208 ac_cpp='$CXXCPP $CPPFLAGS'
43209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43214 /* end confdefs.h. */
43215 #include <math.h>
43216 #ifdef HAVE_IEEEFP_H
43217 #include <ieeefp.h>
43218 #endif
43221 main ()
43223 _sqrtf(0);
43225 return 0;
43227 _ACEOF
43228 if ac_fn_cxx_try_compile "$LINENO"; then :
43229 glibcxx_cv_func__sqrtf_use=yes
43230 else
43231 glibcxx_cv_func__sqrtf_use=no
43233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43234 ac_ext=c
43235 ac_cpp='$CPP $CPPFLAGS'
43236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
43245 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
43247 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
43248 for ac_func in _sqrtf
43249 do :
43250 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
43251 if test "x$ac_cv_func__sqrtf" = x""yes; then :
43252 cat >>confdefs.h <<_ACEOF
43253 #define HAVE__SQRTF 1
43254 _ACEOF
43257 done
43266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
43267 $as_echo_n "checking for sincosf declaration... " >&6; }
43268 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
43269 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
43270 $as_echo_n "(cached) " >&6
43271 else
43274 ac_ext=cpp
43275 ac_cpp='$CXXCPP $CPPFLAGS'
43276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43281 /* end confdefs.h. */
43282 #include <math.h>
43284 main ()
43286 sincosf(0, 0, 0);
43288 return 0;
43290 _ACEOF
43291 if ac_fn_cxx_try_compile "$LINENO"; then :
43292 glibcxx_cv_func_sincosf_use=yes
43293 else
43294 glibcxx_cv_func_sincosf_use=no
43296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43297 ac_ext=c
43298 ac_cpp='$CPP $CPPFLAGS'
43299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
43308 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
43310 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
43311 for ac_func in sincosf
43312 do :
43313 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
43314 if test "x$ac_cv_func_sincosf" = x""yes; then :
43315 cat >>confdefs.h <<_ACEOF
43316 #define HAVE_SINCOSF 1
43317 _ACEOF
43320 done
43322 else
43324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
43325 $as_echo_n "checking for _sincosf declaration... " >&6; }
43326 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
43327 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
43328 $as_echo_n "(cached) " >&6
43329 else
43332 ac_ext=cpp
43333 ac_cpp='$CXXCPP $CPPFLAGS'
43334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43339 /* end confdefs.h. */
43340 #include <math.h>
43342 main ()
43344 _sincosf(0, 0, 0);
43346 return 0;
43348 _ACEOF
43349 if ac_fn_cxx_try_compile "$LINENO"; then :
43350 glibcxx_cv_func__sincosf_use=yes
43351 else
43352 glibcxx_cv_func__sincosf_use=no
43354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43355 ac_ext=c
43356 ac_cpp='$CPP $CPPFLAGS'
43357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
43366 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
43368 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
43369 for ac_func in _sincosf
43370 do :
43371 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
43372 if test "x$ac_cv_func__sincosf" = x""yes; then :
43373 cat >>confdefs.h <<_ACEOF
43374 #define HAVE__SINCOSF 1
43375 _ACEOF
43378 done
43387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
43388 $as_echo_n "checking for finitef declaration... " >&6; }
43389 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
43390 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
43391 $as_echo_n "(cached) " >&6
43392 else
43395 ac_ext=cpp
43396 ac_cpp='$CXXCPP $CPPFLAGS'
43397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43402 /* end confdefs.h. */
43403 #include <math.h>
43404 #ifdef HAVE_IEEEFP_H
43405 #include <ieeefp.h>
43406 #endif
43409 main ()
43411 finitef(0);
43413 return 0;
43415 _ACEOF
43416 if ac_fn_cxx_try_compile "$LINENO"; then :
43417 glibcxx_cv_func_finitef_use=yes
43418 else
43419 glibcxx_cv_func_finitef_use=no
43421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43422 ac_ext=c
43423 ac_cpp='$CPP $CPPFLAGS'
43424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
43433 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
43435 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
43436 for ac_func in finitef
43437 do :
43438 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
43439 if test "x$ac_cv_func_finitef" = x""yes; then :
43440 cat >>confdefs.h <<_ACEOF
43441 #define HAVE_FINITEF 1
43442 _ACEOF
43445 done
43447 else
43449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
43450 $as_echo_n "checking for _finitef declaration... " >&6; }
43451 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
43452 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
43453 $as_echo_n "(cached) " >&6
43454 else
43457 ac_ext=cpp
43458 ac_cpp='$CXXCPP $CPPFLAGS'
43459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43464 /* end confdefs.h. */
43465 #include <math.h>
43466 #ifdef HAVE_IEEEFP_H
43467 #include <ieeefp.h>
43468 #endif
43471 main ()
43473 _finitef(0);
43475 return 0;
43477 _ACEOF
43478 if ac_fn_cxx_try_compile "$LINENO"; then :
43479 glibcxx_cv_func__finitef_use=yes
43480 else
43481 glibcxx_cv_func__finitef_use=no
43483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43484 ac_ext=c
43485 ac_cpp='$CPP $CPPFLAGS'
43486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
43495 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
43497 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
43498 for ac_func in _finitef
43499 do :
43500 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
43501 if test "x$ac_cv_func__finitef" = x""yes; then :
43502 cat >>confdefs.h <<_ACEOF
43503 #define HAVE__FINITEF 1
43504 _ACEOF
43507 done
43516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
43517 $as_echo_n "checking for long double trig functions... " >&6; }
43518 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
43519 $as_echo_n "(cached) " >&6
43520 else
43523 ac_ext=cpp
43524 ac_cpp='$CXXCPP $CPPFLAGS'
43525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43530 /* end confdefs.h. */
43531 #include <math.h>
43533 main ()
43535 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
43537 return 0;
43539 _ACEOF
43540 if ac_fn_cxx_try_compile "$LINENO"; then :
43541 glibcxx_cv_func_long_double_trig_use=yes
43542 else
43543 glibcxx_cv_func_long_double_trig_use=no
43545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43546 ac_ext=c
43547 ac_cpp='$CPP $CPPFLAGS'
43548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
43555 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
43556 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
43557 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
43558 do :
43559 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43560 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43561 eval as_val=\$$as_ac_var
43562 if test "x$as_val" = x""yes; then :
43563 cat >>confdefs.h <<_ACEOF
43564 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43565 _ACEOF
43568 done
43570 else
43571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
43572 $as_echo_n "checking for _long double trig functions... " >&6; }
43573 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
43574 $as_echo_n "(cached) " >&6
43575 else
43578 ac_ext=cpp
43579 ac_cpp='$CXXCPP $CPPFLAGS'
43580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43585 /* end confdefs.h. */
43586 #include <math.h>
43588 main ()
43590 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
43592 return 0;
43594 _ACEOF
43595 if ac_fn_cxx_try_compile "$LINENO"; then :
43596 glibcxx_cv_func__long_double_trig_use=yes
43597 else
43598 glibcxx_cv_func__long_double_trig_use=no
43600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43601 ac_ext=c
43602 ac_cpp='$CPP $CPPFLAGS'
43603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
43610 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
43611 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
43612 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
43613 do :
43614 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43615 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43616 eval as_val=\$$as_ac_var
43617 if test "x$as_val" = x""yes; then :
43618 cat >>confdefs.h <<_ACEOF
43619 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43620 _ACEOF
43623 done
43632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
43633 $as_echo_n "checking for long double round functions... " >&6; }
43634 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
43635 $as_echo_n "(cached) " >&6
43636 else
43639 ac_ext=cpp
43640 ac_cpp='$CXXCPP $CPPFLAGS'
43641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43646 /* end confdefs.h. */
43647 #include <math.h>
43649 main ()
43651 ceill (0); floorl (0);
43653 return 0;
43655 _ACEOF
43656 if ac_fn_cxx_try_compile "$LINENO"; then :
43657 glibcxx_cv_func_long_double_round_use=yes
43658 else
43659 glibcxx_cv_func_long_double_round_use=no
43661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43662 ac_ext=c
43663 ac_cpp='$CPP $CPPFLAGS'
43664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
43671 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
43672 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
43673 for ac_func in ceill floorl
43674 do :
43675 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43676 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43677 eval as_val=\$$as_ac_var
43678 if test "x$as_val" = x""yes; then :
43679 cat >>confdefs.h <<_ACEOF
43680 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43681 _ACEOF
43684 done
43686 else
43687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
43688 $as_echo_n "checking for _long double round functions... " >&6; }
43689 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
43690 $as_echo_n "(cached) " >&6
43691 else
43694 ac_ext=cpp
43695 ac_cpp='$CXXCPP $CPPFLAGS'
43696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43701 /* end confdefs.h. */
43702 #include <math.h>
43704 main ()
43706 _ceill (0); _floorl (0);
43708 return 0;
43710 _ACEOF
43711 if ac_fn_cxx_try_compile "$LINENO"; then :
43712 glibcxx_cv_func__long_double_round_use=yes
43713 else
43714 glibcxx_cv_func__long_double_round_use=no
43716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43717 ac_ext=c
43718 ac_cpp='$CPP $CPPFLAGS'
43719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
43726 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
43727 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
43728 for ac_func in _ceill _floorl
43729 do :
43730 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43731 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43732 eval as_val=\$$as_ac_var
43733 if test "x$as_val" = x""yes; then :
43734 cat >>confdefs.h <<_ACEOF
43735 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43736 _ACEOF
43739 done
43749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
43750 $as_echo_n "checking for isnanl declaration... " >&6; }
43751 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
43752 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
43753 $as_echo_n "(cached) " >&6
43754 else
43757 ac_ext=cpp
43758 ac_cpp='$CXXCPP $CPPFLAGS'
43759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43764 /* end confdefs.h. */
43765 #include <math.h>
43766 #ifdef HAVE_IEEEFP_H
43767 #include <ieeefp.h>
43768 #endif
43771 main ()
43773 isnanl(0);
43775 return 0;
43777 _ACEOF
43778 if ac_fn_cxx_try_compile "$LINENO"; then :
43779 glibcxx_cv_func_isnanl_use=yes
43780 else
43781 glibcxx_cv_func_isnanl_use=no
43783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43784 ac_ext=c
43785 ac_cpp='$CPP $CPPFLAGS'
43786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
43795 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
43797 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
43798 for ac_func in isnanl
43799 do :
43800 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
43801 if test "x$ac_cv_func_isnanl" = x""yes; then :
43802 cat >>confdefs.h <<_ACEOF
43803 #define HAVE_ISNANL 1
43804 _ACEOF
43807 done
43809 else
43811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
43812 $as_echo_n "checking for _isnanl declaration... " >&6; }
43813 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
43814 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
43815 $as_echo_n "(cached) " >&6
43816 else
43819 ac_ext=cpp
43820 ac_cpp='$CXXCPP $CPPFLAGS'
43821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43826 /* end confdefs.h. */
43827 #include <math.h>
43828 #ifdef HAVE_IEEEFP_H
43829 #include <ieeefp.h>
43830 #endif
43833 main ()
43835 _isnanl(0);
43837 return 0;
43839 _ACEOF
43840 if ac_fn_cxx_try_compile "$LINENO"; then :
43841 glibcxx_cv_func__isnanl_use=yes
43842 else
43843 glibcxx_cv_func__isnanl_use=no
43845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43846 ac_ext=c
43847 ac_cpp='$CPP $CPPFLAGS'
43848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
43857 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
43859 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
43860 for ac_func in _isnanl
43861 do :
43862 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
43863 if test "x$ac_cv_func__isnanl" = x""yes; then :
43864 cat >>confdefs.h <<_ACEOF
43865 #define HAVE__ISNANL 1
43866 _ACEOF
43869 done
43878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
43879 $as_echo_n "checking for isinfl declaration... " >&6; }
43880 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
43881 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
43882 $as_echo_n "(cached) " >&6
43883 else
43886 ac_ext=cpp
43887 ac_cpp='$CXXCPP $CPPFLAGS'
43888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43893 /* end confdefs.h. */
43894 #include <math.h>
43895 #ifdef HAVE_IEEEFP_H
43896 #include <ieeefp.h>
43897 #endif
43900 main ()
43902 isinfl(0);
43904 return 0;
43906 _ACEOF
43907 if ac_fn_cxx_try_compile "$LINENO"; then :
43908 glibcxx_cv_func_isinfl_use=yes
43909 else
43910 glibcxx_cv_func_isinfl_use=no
43912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43913 ac_ext=c
43914 ac_cpp='$CPP $CPPFLAGS'
43915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
43924 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
43926 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
43927 for ac_func in isinfl
43928 do :
43929 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
43930 if test "x$ac_cv_func_isinfl" = x""yes; then :
43931 cat >>confdefs.h <<_ACEOF
43932 #define HAVE_ISINFL 1
43933 _ACEOF
43936 done
43938 else
43940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
43941 $as_echo_n "checking for _isinfl declaration... " >&6; }
43942 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
43943 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
43944 $as_echo_n "(cached) " >&6
43945 else
43948 ac_ext=cpp
43949 ac_cpp='$CXXCPP $CPPFLAGS'
43950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43955 /* end confdefs.h. */
43956 #include <math.h>
43957 #ifdef HAVE_IEEEFP_H
43958 #include <ieeefp.h>
43959 #endif
43962 main ()
43964 _isinfl(0);
43966 return 0;
43968 _ACEOF
43969 if ac_fn_cxx_try_compile "$LINENO"; then :
43970 glibcxx_cv_func__isinfl_use=yes
43971 else
43972 glibcxx_cv_func__isinfl_use=no
43974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43975 ac_ext=c
43976 ac_cpp='$CPP $CPPFLAGS'
43977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
43986 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
43988 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
43989 for ac_func in _isinfl
43990 do :
43991 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
43992 if test "x$ac_cv_func__isinfl" = x""yes; then :
43993 cat >>confdefs.h <<_ACEOF
43994 #define HAVE__ISINFL 1
43995 _ACEOF
43998 done
44007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
44008 $as_echo_n "checking for atan2l declaration... " >&6; }
44009 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
44010 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
44011 $as_echo_n "(cached) " >&6
44012 else
44015 ac_ext=cpp
44016 ac_cpp='$CXXCPP $CPPFLAGS'
44017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44022 /* end confdefs.h. */
44023 #include <math.h>
44025 main ()
44027 atan2l(0, 0);
44029 return 0;
44031 _ACEOF
44032 if ac_fn_cxx_try_compile "$LINENO"; then :
44033 glibcxx_cv_func_atan2l_use=yes
44034 else
44035 glibcxx_cv_func_atan2l_use=no
44037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44038 ac_ext=c
44039 ac_cpp='$CPP $CPPFLAGS'
44040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
44049 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
44051 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
44052 for ac_func in atan2l
44053 do :
44054 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
44055 if test "x$ac_cv_func_atan2l" = x""yes; then :
44056 cat >>confdefs.h <<_ACEOF
44057 #define HAVE_ATAN2L 1
44058 _ACEOF
44061 done
44063 else
44065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
44066 $as_echo_n "checking for _atan2l declaration... " >&6; }
44067 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
44068 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
44069 $as_echo_n "(cached) " >&6
44070 else
44073 ac_ext=cpp
44074 ac_cpp='$CXXCPP $CPPFLAGS'
44075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44080 /* end confdefs.h. */
44081 #include <math.h>
44083 main ()
44085 _atan2l(0, 0);
44087 return 0;
44089 _ACEOF
44090 if ac_fn_cxx_try_compile "$LINENO"; then :
44091 glibcxx_cv_func__atan2l_use=yes
44092 else
44093 glibcxx_cv_func__atan2l_use=no
44095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44096 ac_ext=c
44097 ac_cpp='$CPP $CPPFLAGS'
44098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
44107 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
44109 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
44110 for ac_func in _atan2l
44111 do :
44112 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
44113 if test "x$ac_cv_func__atan2l" = x""yes; then :
44114 cat >>confdefs.h <<_ACEOF
44115 #define HAVE__ATAN2L 1
44116 _ACEOF
44119 done
44128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
44129 $as_echo_n "checking for expl declaration... " >&6; }
44130 if test x${glibcxx_cv_func_expl_use+set} != xset; then
44131 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
44132 $as_echo_n "(cached) " >&6
44133 else
44136 ac_ext=cpp
44137 ac_cpp='$CXXCPP $CPPFLAGS'
44138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44143 /* end confdefs.h. */
44144 #include <math.h>
44145 #ifdef HAVE_IEEEFP_H
44146 #include <ieeefp.h>
44147 #endif
44150 main ()
44152 expl(0);
44154 return 0;
44156 _ACEOF
44157 if ac_fn_cxx_try_compile "$LINENO"; then :
44158 glibcxx_cv_func_expl_use=yes
44159 else
44160 glibcxx_cv_func_expl_use=no
44162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44163 ac_ext=c
44164 ac_cpp='$CPP $CPPFLAGS'
44165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
44174 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
44176 if test x$glibcxx_cv_func_expl_use = x"yes"; then
44177 for ac_func in expl
44178 do :
44179 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
44180 if test "x$ac_cv_func_expl" = x""yes; then :
44181 cat >>confdefs.h <<_ACEOF
44182 #define HAVE_EXPL 1
44183 _ACEOF
44186 done
44188 else
44190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
44191 $as_echo_n "checking for _expl declaration... " >&6; }
44192 if test x${glibcxx_cv_func__expl_use+set} != xset; then
44193 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
44194 $as_echo_n "(cached) " >&6
44195 else
44198 ac_ext=cpp
44199 ac_cpp='$CXXCPP $CPPFLAGS'
44200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44205 /* end confdefs.h. */
44206 #include <math.h>
44207 #ifdef HAVE_IEEEFP_H
44208 #include <ieeefp.h>
44209 #endif
44212 main ()
44214 _expl(0);
44216 return 0;
44218 _ACEOF
44219 if ac_fn_cxx_try_compile "$LINENO"; then :
44220 glibcxx_cv_func__expl_use=yes
44221 else
44222 glibcxx_cv_func__expl_use=no
44224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44225 ac_ext=c
44226 ac_cpp='$CPP $CPPFLAGS'
44227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
44236 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
44238 if test x$glibcxx_cv_func__expl_use = x"yes"; then
44239 for ac_func in _expl
44240 do :
44241 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
44242 if test "x$ac_cv_func__expl" = x""yes; then :
44243 cat >>confdefs.h <<_ACEOF
44244 #define HAVE__EXPL 1
44245 _ACEOF
44248 done
44257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
44258 $as_echo_n "checking for fabsl declaration... " >&6; }
44259 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
44260 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
44261 $as_echo_n "(cached) " >&6
44262 else
44265 ac_ext=cpp
44266 ac_cpp='$CXXCPP $CPPFLAGS'
44267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44272 /* end confdefs.h. */
44273 #include <math.h>
44274 #ifdef HAVE_IEEEFP_H
44275 #include <ieeefp.h>
44276 #endif
44279 main ()
44281 fabsl(0);
44283 return 0;
44285 _ACEOF
44286 if ac_fn_cxx_try_compile "$LINENO"; then :
44287 glibcxx_cv_func_fabsl_use=yes
44288 else
44289 glibcxx_cv_func_fabsl_use=no
44291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44292 ac_ext=c
44293 ac_cpp='$CPP $CPPFLAGS'
44294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
44303 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
44305 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
44306 for ac_func in fabsl
44307 do :
44308 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
44309 if test "x$ac_cv_func_fabsl" = x""yes; then :
44310 cat >>confdefs.h <<_ACEOF
44311 #define HAVE_FABSL 1
44312 _ACEOF
44315 done
44317 else
44319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
44320 $as_echo_n "checking for _fabsl declaration... " >&6; }
44321 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
44322 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
44323 $as_echo_n "(cached) " >&6
44324 else
44327 ac_ext=cpp
44328 ac_cpp='$CXXCPP $CPPFLAGS'
44329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44334 /* end confdefs.h. */
44335 #include <math.h>
44336 #ifdef HAVE_IEEEFP_H
44337 #include <ieeefp.h>
44338 #endif
44341 main ()
44343 _fabsl(0);
44345 return 0;
44347 _ACEOF
44348 if ac_fn_cxx_try_compile "$LINENO"; then :
44349 glibcxx_cv_func__fabsl_use=yes
44350 else
44351 glibcxx_cv_func__fabsl_use=no
44353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44354 ac_ext=c
44355 ac_cpp='$CPP $CPPFLAGS'
44356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
44365 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
44367 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
44368 for ac_func in _fabsl
44369 do :
44370 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
44371 if test "x$ac_cv_func__fabsl" = x""yes; then :
44372 cat >>confdefs.h <<_ACEOF
44373 #define HAVE__FABSL 1
44374 _ACEOF
44377 done
44386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
44387 $as_echo_n "checking for fmodl declaration... " >&6; }
44388 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
44389 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
44390 $as_echo_n "(cached) " >&6
44391 else
44394 ac_ext=cpp
44395 ac_cpp='$CXXCPP $CPPFLAGS'
44396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44401 /* end confdefs.h. */
44402 #include <math.h>
44404 main ()
44406 fmodl(0, 0);
44408 return 0;
44410 _ACEOF
44411 if ac_fn_cxx_try_compile "$LINENO"; then :
44412 glibcxx_cv_func_fmodl_use=yes
44413 else
44414 glibcxx_cv_func_fmodl_use=no
44416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44417 ac_ext=c
44418 ac_cpp='$CPP $CPPFLAGS'
44419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
44428 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
44430 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
44431 for ac_func in fmodl
44432 do :
44433 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
44434 if test "x$ac_cv_func_fmodl" = x""yes; then :
44435 cat >>confdefs.h <<_ACEOF
44436 #define HAVE_FMODL 1
44437 _ACEOF
44440 done
44442 else
44444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
44445 $as_echo_n "checking for _fmodl declaration... " >&6; }
44446 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
44447 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
44448 $as_echo_n "(cached) " >&6
44449 else
44452 ac_ext=cpp
44453 ac_cpp='$CXXCPP $CPPFLAGS'
44454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44459 /* end confdefs.h. */
44460 #include <math.h>
44462 main ()
44464 _fmodl(0, 0);
44466 return 0;
44468 _ACEOF
44469 if ac_fn_cxx_try_compile "$LINENO"; then :
44470 glibcxx_cv_func__fmodl_use=yes
44471 else
44472 glibcxx_cv_func__fmodl_use=no
44474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44475 ac_ext=c
44476 ac_cpp='$CPP $CPPFLAGS'
44477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
44486 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
44488 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
44489 for ac_func in _fmodl
44490 do :
44491 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
44492 if test "x$ac_cv_func__fmodl" = x""yes; then :
44493 cat >>confdefs.h <<_ACEOF
44494 #define HAVE__FMODL 1
44495 _ACEOF
44498 done
44507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
44508 $as_echo_n "checking for frexpl declaration... " >&6; }
44509 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
44510 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
44511 $as_echo_n "(cached) " >&6
44512 else
44515 ac_ext=cpp
44516 ac_cpp='$CXXCPP $CPPFLAGS'
44517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44522 /* end confdefs.h. */
44523 #include <math.h>
44525 main ()
44527 frexpl(0, 0);
44529 return 0;
44531 _ACEOF
44532 if ac_fn_cxx_try_compile "$LINENO"; then :
44533 glibcxx_cv_func_frexpl_use=yes
44534 else
44535 glibcxx_cv_func_frexpl_use=no
44537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44538 ac_ext=c
44539 ac_cpp='$CPP $CPPFLAGS'
44540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
44549 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
44551 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
44552 for ac_func in frexpl
44553 do :
44554 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
44555 if test "x$ac_cv_func_frexpl" = x""yes; then :
44556 cat >>confdefs.h <<_ACEOF
44557 #define HAVE_FREXPL 1
44558 _ACEOF
44561 done
44563 else
44565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
44566 $as_echo_n "checking for _frexpl declaration... " >&6; }
44567 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
44568 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
44569 $as_echo_n "(cached) " >&6
44570 else
44573 ac_ext=cpp
44574 ac_cpp='$CXXCPP $CPPFLAGS'
44575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44580 /* end confdefs.h. */
44581 #include <math.h>
44583 main ()
44585 _frexpl(0, 0);
44587 return 0;
44589 _ACEOF
44590 if ac_fn_cxx_try_compile "$LINENO"; then :
44591 glibcxx_cv_func__frexpl_use=yes
44592 else
44593 glibcxx_cv_func__frexpl_use=no
44595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44596 ac_ext=c
44597 ac_cpp='$CPP $CPPFLAGS'
44598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
44607 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
44609 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
44610 for ac_func in _frexpl
44611 do :
44612 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
44613 if test "x$ac_cv_func__frexpl" = x""yes; then :
44614 cat >>confdefs.h <<_ACEOF
44615 #define HAVE__FREXPL 1
44616 _ACEOF
44619 done
44628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
44629 $as_echo_n "checking for hypotl declaration... " >&6; }
44630 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
44631 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
44632 $as_echo_n "(cached) " >&6
44633 else
44636 ac_ext=cpp
44637 ac_cpp='$CXXCPP $CPPFLAGS'
44638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44643 /* end confdefs.h. */
44644 #include <math.h>
44646 main ()
44648 hypotl(0, 0);
44650 return 0;
44652 _ACEOF
44653 if ac_fn_cxx_try_compile "$LINENO"; then :
44654 glibcxx_cv_func_hypotl_use=yes
44655 else
44656 glibcxx_cv_func_hypotl_use=no
44658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44659 ac_ext=c
44660 ac_cpp='$CPP $CPPFLAGS'
44661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
44670 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
44672 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
44673 for ac_func in hypotl
44674 do :
44675 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
44676 if test "x$ac_cv_func_hypotl" = x""yes; then :
44677 cat >>confdefs.h <<_ACEOF
44678 #define HAVE_HYPOTL 1
44679 _ACEOF
44682 done
44684 else
44686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
44687 $as_echo_n "checking for _hypotl declaration... " >&6; }
44688 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
44689 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
44690 $as_echo_n "(cached) " >&6
44691 else
44694 ac_ext=cpp
44695 ac_cpp='$CXXCPP $CPPFLAGS'
44696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44701 /* end confdefs.h. */
44702 #include <math.h>
44704 main ()
44706 _hypotl(0, 0);
44708 return 0;
44710 _ACEOF
44711 if ac_fn_cxx_try_compile "$LINENO"; then :
44712 glibcxx_cv_func__hypotl_use=yes
44713 else
44714 glibcxx_cv_func__hypotl_use=no
44716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44717 ac_ext=c
44718 ac_cpp='$CPP $CPPFLAGS'
44719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
44728 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
44730 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
44731 for ac_func in _hypotl
44732 do :
44733 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
44734 if test "x$ac_cv_func__hypotl" = x""yes; then :
44735 cat >>confdefs.h <<_ACEOF
44736 #define HAVE__HYPOTL 1
44737 _ACEOF
44740 done
44749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
44750 $as_echo_n "checking for ldexpl declaration... " >&6; }
44751 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
44752 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
44753 $as_echo_n "(cached) " >&6
44754 else
44757 ac_ext=cpp
44758 ac_cpp='$CXXCPP $CPPFLAGS'
44759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44764 /* end confdefs.h. */
44765 #include <math.h>
44767 main ()
44769 ldexpl(0, 0);
44771 return 0;
44773 _ACEOF
44774 if ac_fn_cxx_try_compile "$LINENO"; then :
44775 glibcxx_cv_func_ldexpl_use=yes
44776 else
44777 glibcxx_cv_func_ldexpl_use=no
44779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44780 ac_ext=c
44781 ac_cpp='$CPP $CPPFLAGS'
44782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
44791 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
44793 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
44794 for ac_func in ldexpl
44795 do :
44796 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
44797 if test "x$ac_cv_func_ldexpl" = x""yes; then :
44798 cat >>confdefs.h <<_ACEOF
44799 #define HAVE_LDEXPL 1
44800 _ACEOF
44803 done
44805 else
44807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
44808 $as_echo_n "checking for _ldexpl declaration... " >&6; }
44809 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
44810 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
44811 $as_echo_n "(cached) " >&6
44812 else
44815 ac_ext=cpp
44816 ac_cpp='$CXXCPP $CPPFLAGS'
44817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44822 /* end confdefs.h. */
44823 #include <math.h>
44825 main ()
44827 _ldexpl(0, 0);
44829 return 0;
44831 _ACEOF
44832 if ac_fn_cxx_try_compile "$LINENO"; then :
44833 glibcxx_cv_func__ldexpl_use=yes
44834 else
44835 glibcxx_cv_func__ldexpl_use=no
44837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44838 ac_ext=c
44839 ac_cpp='$CPP $CPPFLAGS'
44840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
44849 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
44851 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
44852 for ac_func in _ldexpl
44853 do :
44854 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
44855 if test "x$ac_cv_func__ldexpl" = x""yes; then :
44856 cat >>confdefs.h <<_ACEOF
44857 #define HAVE__LDEXPL 1
44858 _ACEOF
44861 done
44870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
44871 $as_echo_n "checking for logl declaration... " >&6; }
44872 if test x${glibcxx_cv_func_logl_use+set} != xset; then
44873 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
44874 $as_echo_n "(cached) " >&6
44875 else
44878 ac_ext=cpp
44879 ac_cpp='$CXXCPP $CPPFLAGS'
44880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44885 /* end confdefs.h. */
44886 #include <math.h>
44887 #ifdef HAVE_IEEEFP_H
44888 #include <ieeefp.h>
44889 #endif
44892 main ()
44894 logl(0);
44896 return 0;
44898 _ACEOF
44899 if ac_fn_cxx_try_compile "$LINENO"; then :
44900 glibcxx_cv_func_logl_use=yes
44901 else
44902 glibcxx_cv_func_logl_use=no
44904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44905 ac_ext=c
44906 ac_cpp='$CPP $CPPFLAGS'
44907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
44916 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
44918 if test x$glibcxx_cv_func_logl_use = x"yes"; then
44919 for ac_func in logl
44920 do :
44921 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
44922 if test "x$ac_cv_func_logl" = x""yes; then :
44923 cat >>confdefs.h <<_ACEOF
44924 #define HAVE_LOGL 1
44925 _ACEOF
44928 done
44930 else
44932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
44933 $as_echo_n "checking for _logl declaration... " >&6; }
44934 if test x${glibcxx_cv_func__logl_use+set} != xset; then
44935 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
44936 $as_echo_n "(cached) " >&6
44937 else
44940 ac_ext=cpp
44941 ac_cpp='$CXXCPP $CPPFLAGS'
44942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44947 /* end confdefs.h. */
44948 #include <math.h>
44949 #ifdef HAVE_IEEEFP_H
44950 #include <ieeefp.h>
44951 #endif
44954 main ()
44956 _logl(0);
44958 return 0;
44960 _ACEOF
44961 if ac_fn_cxx_try_compile "$LINENO"; then :
44962 glibcxx_cv_func__logl_use=yes
44963 else
44964 glibcxx_cv_func__logl_use=no
44966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44967 ac_ext=c
44968 ac_cpp='$CPP $CPPFLAGS'
44969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
44978 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
44980 if test x$glibcxx_cv_func__logl_use = x"yes"; then
44981 for ac_func in _logl
44982 do :
44983 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
44984 if test "x$ac_cv_func__logl" = x""yes; then :
44985 cat >>confdefs.h <<_ACEOF
44986 #define HAVE__LOGL 1
44987 _ACEOF
44990 done
44999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
45000 $as_echo_n "checking for log10l declaration... " >&6; }
45001 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
45002 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
45003 $as_echo_n "(cached) " >&6
45004 else
45007 ac_ext=cpp
45008 ac_cpp='$CXXCPP $CPPFLAGS'
45009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45014 /* end confdefs.h. */
45015 #include <math.h>
45016 #ifdef HAVE_IEEEFP_H
45017 #include <ieeefp.h>
45018 #endif
45021 main ()
45023 log10l(0);
45025 return 0;
45027 _ACEOF
45028 if ac_fn_cxx_try_compile "$LINENO"; then :
45029 glibcxx_cv_func_log10l_use=yes
45030 else
45031 glibcxx_cv_func_log10l_use=no
45033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45034 ac_ext=c
45035 ac_cpp='$CPP $CPPFLAGS'
45036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
45045 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
45047 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
45048 for ac_func in log10l
45049 do :
45050 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
45051 if test "x$ac_cv_func_log10l" = x""yes; then :
45052 cat >>confdefs.h <<_ACEOF
45053 #define HAVE_LOG10L 1
45054 _ACEOF
45057 done
45059 else
45061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
45062 $as_echo_n "checking for _log10l declaration... " >&6; }
45063 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
45064 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
45065 $as_echo_n "(cached) " >&6
45066 else
45069 ac_ext=cpp
45070 ac_cpp='$CXXCPP $CPPFLAGS'
45071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45076 /* end confdefs.h. */
45077 #include <math.h>
45078 #ifdef HAVE_IEEEFP_H
45079 #include <ieeefp.h>
45080 #endif
45083 main ()
45085 _log10l(0);
45087 return 0;
45089 _ACEOF
45090 if ac_fn_cxx_try_compile "$LINENO"; then :
45091 glibcxx_cv_func__log10l_use=yes
45092 else
45093 glibcxx_cv_func__log10l_use=no
45095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45096 ac_ext=c
45097 ac_cpp='$CPP $CPPFLAGS'
45098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
45107 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
45109 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
45110 for ac_func in _log10l
45111 do :
45112 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
45113 if test "x$ac_cv_func__log10l" = x""yes; then :
45114 cat >>confdefs.h <<_ACEOF
45115 #define HAVE__LOG10L 1
45116 _ACEOF
45119 done
45128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
45129 $as_echo_n "checking for modfl declaration... " >&6; }
45130 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
45131 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
45132 $as_echo_n "(cached) " >&6
45133 else
45136 ac_ext=cpp
45137 ac_cpp='$CXXCPP $CPPFLAGS'
45138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45143 /* end confdefs.h. */
45144 #include <math.h>
45146 main ()
45148 modfl(0, 0);
45150 return 0;
45152 _ACEOF
45153 if ac_fn_cxx_try_compile "$LINENO"; then :
45154 glibcxx_cv_func_modfl_use=yes
45155 else
45156 glibcxx_cv_func_modfl_use=no
45158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45159 ac_ext=c
45160 ac_cpp='$CPP $CPPFLAGS'
45161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
45170 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
45172 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
45173 for ac_func in modfl
45174 do :
45175 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
45176 if test "x$ac_cv_func_modfl" = x""yes; then :
45177 cat >>confdefs.h <<_ACEOF
45178 #define HAVE_MODFL 1
45179 _ACEOF
45182 done
45184 else
45186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
45187 $as_echo_n "checking for _modfl declaration... " >&6; }
45188 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
45189 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
45190 $as_echo_n "(cached) " >&6
45191 else
45194 ac_ext=cpp
45195 ac_cpp='$CXXCPP $CPPFLAGS'
45196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45201 /* end confdefs.h. */
45202 #include <math.h>
45204 main ()
45206 _modfl(0, 0);
45208 return 0;
45210 _ACEOF
45211 if ac_fn_cxx_try_compile "$LINENO"; then :
45212 glibcxx_cv_func__modfl_use=yes
45213 else
45214 glibcxx_cv_func__modfl_use=no
45216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45217 ac_ext=c
45218 ac_cpp='$CPP $CPPFLAGS'
45219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
45228 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
45230 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
45231 for ac_func in _modfl
45232 do :
45233 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
45234 if test "x$ac_cv_func__modfl" = x""yes; then :
45235 cat >>confdefs.h <<_ACEOF
45236 #define HAVE__MODFL 1
45237 _ACEOF
45240 done
45249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
45250 $as_echo_n "checking for powl declaration... " >&6; }
45251 if test x${glibcxx_cv_func_powl_use+set} != xset; then
45252 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
45253 $as_echo_n "(cached) " >&6
45254 else
45257 ac_ext=cpp
45258 ac_cpp='$CXXCPP $CPPFLAGS'
45259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45264 /* end confdefs.h. */
45265 #include <math.h>
45267 main ()
45269 powl(0, 0);
45271 return 0;
45273 _ACEOF
45274 if ac_fn_cxx_try_compile "$LINENO"; then :
45275 glibcxx_cv_func_powl_use=yes
45276 else
45277 glibcxx_cv_func_powl_use=no
45279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45280 ac_ext=c
45281 ac_cpp='$CPP $CPPFLAGS'
45282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
45291 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
45293 if test x$glibcxx_cv_func_powl_use = x"yes"; then
45294 for ac_func in powl
45295 do :
45296 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
45297 if test "x$ac_cv_func_powl" = x""yes; then :
45298 cat >>confdefs.h <<_ACEOF
45299 #define HAVE_POWL 1
45300 _ACEOF
45303 done
45305 else
45307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
45308 $as_echo_n "checking for _powl declaration... " >&6; }
45309 if test x${glibcxx_cv_func__powl_use+set} != xset; then
45310 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
45311 $as_echo_n "(cached) " >&6
45312 else
45315 ac_ext=cpp
45316 ac_cpp='$CXXCPP $CPPFLAGS'
45317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45322 /* end confdefs.h. */
45323 #include <math.h>
45325 main ()
45327 _powl(0, 0);
45329 return 0;
45331 _ACEOF
45332 if ac_fn_cxx_try_compile "$LINENO"; then :
45333 glibcxx_cv_func__powl_use=yes
45334 else
45335 glibcxx_cv_func__powl_use=no
45337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45338 ac_ext=c
45339 ac_cpp='$CPP $CPPFLAGS'
45340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
45349 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
45351 if test x$glibcxx_cv_func__powl_use = x"yes"; then
45352 for ac_func in _powl
45353 do :
45354 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
45355 if test "x$ac_cv_func__powl" = x""yes; then :
45356 cat >>confdefs.h <<_ACEOF
45357 #define HAVE__POWL 1
45358 _ACEOF
45361 done
45370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
45371 $as_echo_n "checking for sqrtl declaration... " >&6; }
45372 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
45373 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
45374 $as_echo_n "(cached) " >&6
45375 else
45378 ac_ext=cpp
45379 ac_cpp='$CXXCPP $CPPFLAGS'
45380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45385 /* end confdefs.h. */
45386 #include <math.h>
45387 #ifdef HAVE_IEEEFP_H
45388 #include <ieeefp.h>
45389 #endif
45392 main ()
45394 sqrtl(0);
45396 return 0;
45398 _ACEOF
45399 if ac_fn_cxx_try_compile "$LINENO"; then :
45400 glibcxx_cv_func_sqrtl_use=yes
45401 else
45402 glibcxx_cv_func_sqrtl_use=no
45404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45405 ac_ext=c
45406 ac_cpp='$CPP $CPPFLAGS'
45407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
45416 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
45418 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
45419 for ac_func in sqrtl
45420 do :
45421 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
45422 if test "x$ac_cv_func_sqrtl" = x""yes; then :
45423 cat >>confdefs.h <<_ACEOF
45424 #define HAVE_SQRTL 1
45425 _ACEOF
45428 done
45430 else
45432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
45433 $as_echo_n "checking for _sqrtl declaration... " >&6; }
45434 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
45435 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
45436 $as_echo_n "(cached) " >&6
45437 else
45440 ac_ext=cpp
45441 ac_cpp='$CXXCPP $CPPFLAGS'
45442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45447 /* end confdefs.h. */
45448 #include <math.h>
45449 #ifdef HAVE_IEEEFP_H
45450 #include <ieeefp.h>
45451 #endif
45454 main ()
45456 _sqrtl(0);
45458 return 0;
45460 _ACEOF
45461 if ac_fn_cxx_try_compile "$LINENO"; then :
45462 glibcxx_cv_func__sqrtl_use=yes
45463 else
45464 glibcxx_cv_func__sqrtl_use=no
45466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45467 ac_ext=c
45468 ac_cpp='$CPP $CPPFLAGS'
45469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
45478 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
45480 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
45481 for ac_func in _sqrtl
45482 do :
45483 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
45484 if test "x$ac_cv_func__sqrtl" = x""yes; then :
45485 cat >>confdefs.h <<_ACEOF
45486 #define HAVE__SQRTL 1
45487 _ACEOF
45490 done
45499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
45500 $as_echo_n "checking for sincosl declaration... " >&6; }
45501 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
45502 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
45503 $as_echo_n "(cached) " >&6
45504 else
45507 ac_ext=cpp
45508 ac_cpp='$CXXCPP $CPPFLAGS'
45509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45514 /* end confdefs.h. */
45515 #include <math.h>
45517 main ()
45519 sincosl(0, 0, 0);
45521 return 0;
45523 _ACEOF
45524 if ac_fn_cxx_try_compile "$LINENO"; then :
45525 glibcxx_cv_func_sincosl_use=yes
45526 else
45527 glibcxx_cv_func_sincosl_use=no
45529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45530 ac_ext=c
45531 ac_cpp='$CPP $CPPFLAGS'
45532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
45541 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
45543 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
45544 for ac_func in sincosl
45545 do :
45546 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
45547 if test "x$ac_cv_func_sincosl" = x""yes; then :
45548 cat >>confdefs.h <<_ACEOF
45549 #define HAVE_SINCOSL 1
45550 _ACEOF
45553 done
45555 else
45557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
45558 $as_echo_n "checking for _sincosl declaration... " >&6; }
45559 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
45560 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
45561 $as_echo_n "(cached) " >&6
45562 else
45565 ac_ext=cpp
45566 ac_cpp='$CXXCPP $CPPFLAGS'
45567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45572 /* end confdefs.h. */
45573 #include <math.h>
45575 main ()
45577 _sincosl(0, 0, 0);
45579 return 0;
45581 _ACEOF
45582 if ac_fn_cxx_try_compile "$LINENO"; then :
45583 glibcxx_cv_func__sincosl_use=yes
45584 else
45585 glibcxx_cv_func__sincosl_use=no
45587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45588 ac_ext=c
45589 ac_cpp='$CPP $CPPFLAGS'
45590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
45599 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
45601 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
45602 for ac_func in _sincosl
45603 do :
45604 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
45605 if test "x$ac_cv_func__sincosl" = x""yes; then :
45606 cat >>confdefs.h <<_ACEOF
45607 #define HAVE__SINCOSL 1
45608 _ACEOF
45611 done
45620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
45621 $as_echo_n "checking for finitel declaration... " >&6; }
45622 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
45623 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
45624 $as_echo_n "(cached) " >&6
45625 else
45628 ac_ext=cpp
45629 ac_cpp='$CXXCPP $CPPFLAGS'
45630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45635 /* end confdefs.h. */
45636 #include <math.h>
45637 #ifdef HAVE_IEEEFP_H
45638 #include <ieeefp.h>
45639 #endif
45642 main ()
45644 finitel(0);
45646 return 0;
45648 _ACEOF
45649 if ac_fn_cxx_try_compile "$LINENO"; then :
45650 glibcxx_cv_func_finitel_use=yes
45651 else
45652 glibcxx_cv_func_finitel_use=no
45654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45655 ac_ext=c
45656 ac_cpp='$CPP $CPPFLAGS'
45657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
45666 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
45668 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
45669 for ac_func in finitel
45670 do :
45671 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
45672 if test "x$ac_cv_func_finitel" = x""yes; then :
45673 cat >>confdefs.h <<_ACEOF
45674 #define HAVE_FINITEL 1
45675 _ACEOF
45678 done
45680 else
45682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
45683 $as_echo_n "checking for _finitel declaration... " >&6; }
45684 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
45685 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
45686 $as_echo_n "(cached) " >&6
45687 else
45690 ac_ext=cpp
45691 ac_cpp='$CXXCPP $CPPFLAGS'
45692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45697 /* end confdefs.h. */
45698 #include <math.h>
45699 #ifdef HAVE_IEEEFP_H
45700 #include <ieeefp.h>
45701 #endif
45704 main ()
45706 _finitel(0);
45708 return 0;
45710 _ACEOF
45711 if ac_fn_cxx_try_compile "$LINENO"; then :
45712 glibcxx_cv_func__finitel_use=yes
45713 else
45714 glibcxx_cv_func__finitel_use=no
45716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45717 ac_ext=c
45718 ac_cpp='$CPP $CPPFLAGS'
45719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
45728 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
45730 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
45731 for ac_func in _finitel
45732 do :
45733 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
45734 if test "x$ac_cv_func__finitel" = x""yes; then :
45735 cat >>confdefs.h <<_ACEOF
45736 #define HAVE__FINITEL 1
45737 _ACEOF
45740 done
45748 LIBS="$ac_save_LIBS"
45749 CXXFLAGS="$ac_save_CXXFLAGS"
45752 ac_test_CXXFLAGS="${CXXFLAGS+set}"
45753 ac_save_CXXFLAGS="$CXXFLAGS"
45754 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
45757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
45758 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
45759 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
45760 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
45761 $as_echo_n "(cached) " >&6
45762 else
45765 ac_ext=cpp
45766 ac_cpp='$CXXCPP $CPPFLAGS'
45767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45772 /* end confdefs.h. */
45773 #include <stdlib.h>
45775 main ()
45777 at_quick_exit(0);
45779 return 0;
45781 _ACEOF
45782 if ac_fn_cxx_try_compile "$LINENO"; then :
45783 glibcxx_cv_func_at_quick_exit_use=yes
45784 else
45785 glibcxx_cv_func_at_quick_exit_use=no
45787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45788 ac_ext=c
45789 ac_cpp='$CPP $CPPFLAGS'
45790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
45799 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
45800 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
45801 for ac_func in at_quick_exit
45802 do :
45803 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
45804 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
45805 cat >>confdefs.h <<_ACEOF
45806 #define HAVE_AT_QUICK_EXIT 1
45807 _ACEOF
45810 done
45815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
45816 $as_echo_n "checking for quick_exit declaration... " >&6; }
45817 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
45818 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
45819 $as_echo_n "(cached) " >&6
45820 else
45823 ac_ext=cpp
45824 ac_cpp='$CXXCPP $CPPFLAGS'
45825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45830 /* end confdefs.h. */
45831 #include <stdlib.h>
45833 main ()
45835 quick_exit(0);
45837 return 0;
45839 _ACEOF
45840 if ac_fn_cxx_try_compile "$LINENO"; then :
45841 glibcxx_cv_func_quick_exit_use=yes
45842 else
45843 glibcxx_cv_func_quick_exit_use=no
45845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45846 ac_ext=c
45847 ac_cpp='$CPP $CPPFLAGS'
45848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
45857 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
45858 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
45859 for ac_func in quick_exit
45860 do :
45861 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
45862 if test "x$ac_cv_func_quick_exit" = x""yes; then :
45863 cat >>confdefs.h <<_ACEOF
45864 #define HAVE_QUICK_EXIT 1
45865 _ACEOF
45868 done
45873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
45874 $as_echo_n "checking for strtold declaration... " >&6; }
45875 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
45876 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
45877 $as_echo_n "(cached) " >&6
45878 else
45881 ac_ext=cpp
45882 ac_cpp='$CXXCPP $CPPFLAGS'
45883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45888 /* end confdefs.h. */
45889 #include <stdlib.h>
45891 main ()
45893 strtold(0, 0);
45895 return 0;
45897 _ACEOF
45898 if ac_fn_cxx_try_compile "$LINENO"; then :
45899 glibcxx_cv_func_strtold_use=yes
45900 else
45901 glibcxx_cv_func_strtold_use=no
45903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45904 ac_ext=c
45905 ac_cpp='$CPP $CPPFLAGS'
45906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
45915 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
45916 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
45917 for ac_func in strtold
45918 do :
45919 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
45920 if test "x$ac_cv_func_strtold" = x""yes; then :
45921 cat >>confdefs.h <<_ACEOF
45922 #define HAVE_STRTOLD 1
45923 _ACEOF
45926 done
45933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
45934 $as_echo_n "checking for strtof declaration... " >&6; }
45935 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
45936 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
45937 $as_echo_n "(cached) " >&6
45938 else
45941 ac_ext=cpp
45942 ac_cpp='$CXXCPP $CPPFLAGS'
45943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45948 /* end confdefs.h. */
45949 #include <stdlib.h>
45951 main ()
45953 strtof(0, 0);
45955 return 0;
45957 _ACEOF
45958 if ac_fn_cxx_try_compile "$LINENO"; then :
45959 glibcxx_cv_func_strtof_use=yes
45960 else
45961 glibcxx_cv_func_strtof_use=no
45963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45964 ac_ext=c
45965 ac_cpp='$CPP $CPPFLAGS'
45966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
45975 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
45976 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
45977 for ac_func in strtof
45978 do :
45979 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
45980 if test "x$ac_cv_func_strtof" = x""yes; then :
45981 cat >>confdefs.h <<_ACEOF
45982 #define HAVE_STRTOF 1
45983 _ACEOF
45986 done
45993 CXXFLAGS="$ac_save_CXXFLAGS"
45995 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
45997 # We don't yet support AIX's TLS ABI.
45998 #GCC_CHECK_TLS
46004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
46005 $as_echo_n "checking for iconv... " >&6; }
46006 if test "${am_cv_func_iconv+set}" = set; then :
46007 $as_echo_n "(cached) " >&6
46008 else
46010 am_cv_func_iconv="no, consider installing GNU libiconv"
46011 am_cv_lib_iconv=no
46012 am_save_CPPFLAGS="$CPPFLAGS"
46013 CPPFLAGS="$CPPFLAGS $INCICONV"
46014 if test x$gcc_no_link = xyes; then
46015 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46018 /* end confdefs.h. */
46019 #include <stdlib.h>
46020 #include <iconv.h>
46022 main ()
46024 iconv_t cd = iconv_open("","");
46025 iconv(cd,NULL,NULL,NULL,NULL);
46026 iconv_close(cd);
46028 return 0;
46030 _ACEOF
46031 if ac_fn_c_try_link "$LINENO"; then :
46032 am_cv_func_iconv=yes
46034 rm -f core conftest.err conftest.$ac_objext \
46035 conftest$ac_exeext conftest.$ac_ext
46036 CPPFLAGS="$am_save_CPPFLAGS"
46038 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
46039 for _libs in .libs _libs; do
46040 am_save_CPPFLAGS="$CPPFLAGS"
46041 am_save_LIBS="$LIBS"
46042 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
46043 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
46044 if test x$gcc_no_link = xyes; then
46045 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46048 /* end confdefs.h. */
46049 #include <stdlib.h>
46050 #include <iconv.h>
46052 main ()
46054 iconv_t cd = iconv_open("","");
46055 iconv(cd,NULL,NULL,NULL,NULL);
46056 iconv_close(cd);
46058 return 0;
46060 _ACEOF
46061 if ac_fn_c_try_link "$LINENO"; then :
46062 INCICONV="-I../libiconv/include"
46063 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
46064 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
46065 am_cv_lib_iconv=yes
46066 am_cv_func_iconv=yes
46068 rm -f core conftest.err conftest.$ac_objext \
46069 conftest$ac_exeext conftest.$ac_ext
46070 CPPFLAGS="$am_save_CPPFLAGS"
46071 LIBS="$am_save_LIBS"
46072 if test "$am_cv_func_iconv" = "yes"; then
46073 break
46075 done
46078 if test "$am_cv_func_iconv" != yes; then
46079 am_save_CPPFLAGS="$CPPFLAGS"
46080 am_save_LIBS="$LIBS"
46081 CPPFLAGS="$LIBS $INCICONV"
46082 LIBS="$LIBS $LIBICONV"
46083 if test x$gcc_no_link = xyes; then
46084 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46087 /* end confdefs.h. */
46088 #include <stdlib.h>
46089 #include <iconv.h>
46091 main ()
46093 iconv_t cd = iconv_open("","");
46094 iconv(cd,NULL,NULL,NULL,NULL);
46095 iconv_close(cd);
46097 return 0;
46099 _ACEOF
46100 if ac_fn_c_try_link "$LINENO"; then :
46101 am_cv_lib_iconv=yes
46102 am_cv_func_iconv=yes
46104 rm -f core conftest.err conftest.$ac_objext \
46105 conftest$ac_exeext conftest.$ac_ext
46106 CPPFLAGS="$am_save_CPPFLAGS"
46107 LIBS="$am_save_LIBS"
46111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
46112 $as_echo "$am_cv_func_iconv" >&6; }
46113 if test "$am_cv_func_iconv" = yes; then
46115 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
46118 if test "$am_cv_lib_iconv" = yes; then
46120 for element in $INCICONV; do
46121 haveit=
46122 for x in $CPPFLAGS; do
46124 acl_save_prefix="$prefix"
46125 prefix="$acl_final_prefix"
46126 acl_save_exec_prefix="$exec_prefix"
46127 exec_prefix="$acl_final_exec_prefix"
46128 eval x=\"$x\"
46129 exec_prefix="$acl_save_exec_prefix"
46130 prefix="$acl_save_prefix"
46132 if test "X$x" = "X$element"; then
46133 haveit=yes
46134 break
46136 done
46137 if test -z "$haveit"; then
46138 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
46140 done
46142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
46143 $as_echo_n "checking how to link with libiconv... " >&6; }
46144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
46145 $as_echo "$LIBICONV" >&6; }
46146 else
46147 LIBICONV=
46148 LTLIBICONV=
46153 if test "$am_cv_func_iconv" = yes; then
46154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
46155 $as_echo_n "checking for iconv declaration... " >&6; }
46156 if test "${am_cv_proto_iconv+set}" = set; then :
46157 $as_echo_n "(cached) " >&6
46158 else
46160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46161 /* end confdefs.h. */
46163 #include <stdlib.h>
46164 #include <iconv.h>
46165 extern
46166 #ifdef __cplusplus
46168 #endif
46169 #if defined(__STDC__) || defined(__cplusplus)
46170 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
46171 #else
46172 size_t iconv();
46173 #endif
46176 main ()
46180 return 0;
46182 _ACEOF
46183 if ac_fn_c_try_compile "$LINENO"; then :
46184 am_cv_proto_iconv_arg1=""
46185 else
46186 am_cv_proto_iconv_arg1="const"
46188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46189 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);"
46192 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
46193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
46194 }$am_cv_proto_iconv" >&5
46195 $as_echo "${ac_t:-
46196 }$am_cv_proto_iconv" >&6; }
46198 cat >>confdefs.h <<_ACEOF
46199 #define ICONV_CONST $am_cv_proto_iconv_arg1
46200 _ACEOF
46206 *-darwin*)
46207 # Darwin versions vary, but the linker should work in a cross environment,
46208 # so we just check for all the features here.
46209 # Check for available headers.
46211 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
46213 ac_test_CXXFLAGS="${CXXFLAGS+set}"
46214 ac_save_CXXFLAGS="$CXXFLAGS"
46215 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
46217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
46218 $as_echo_n "checking for sin in -lm... " >&6; }
46219 if test "${ac_cv_lib_m_sin+set}" = set; then :
46220 $as_echo_n "(cached) " >&6
46221 else
46222 ac_check_lib_save_LIBS=$LIBS
46223 LIBS="-lm $LIBS"
46224 if test x$gcc_no_link = xyes; then
46225 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46228 /* end confdefs.h. */
46230 /* Override any GCC internal prototype to avoid an error.
46231 Use char because int might match the return type of a GCC
46232 builtin and then its argument prototype would still apply. */
46233 #ifdef __cplusplus
46234 extern "C"
46235 #endif
46236 char sin ();
46238 main ()
46240 return sin ();
46242 return 0;
46244 _ACEOF
46245 if ac_fn_c_try_link "$LINENO"; then :
46246 ac_cv_lib_m_sin=yes
46247 else
46248 ac_cv_lib_m_sin=no
46250 rm -f core conftest.err conftest.$ac_objext \
46251 conftest$ac_exeext conftest.$ac_ext
46252 LIBS=$ac_check_lib_save_LIBS
46254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
46255 $as_echo "$ac_cv_lib_m_sin" >&6; }
46256 if test "x$ac_cv_lib_m_sin" = x""yes; then :
46257 libm="-lm"
46260 ac_save_LIBS="$LIBS"
46261 LIBS="$LIBS $libm"
46265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
46266 $as_echo_n "checking for isinf declaration... " >&6; }
46267 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
46268 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
46269 $as_echo_n "(cached) " >&6
46270 else
46273 ac_ext=cpp
46274 ac_cpp='$CXXCPP $CPPFLAGS'
46275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46280 /* end confdefs.h. */
46281 #include <math.h>
46282 #ifdef HAVE_IEEEFP_H
46283 #include <ieeefp.h>
46284 #endif
46287 main ()
46289 isinf(0);
46291 return 0;
46293 _ACEOF
46294 if ac_fn_cxx_try_compile "$LINENO"; then :
46295 glibcxx_cv_func_isinf_use=yes
46296 else
46297 glibcxx_cv_func_isinf_use=no
46299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46300 ac_ext=c
46301 ac_cpp='$CPP $CPPFLAGS'
46302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
46311 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
46313 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
46314 for ac_func in isinf
46315 do :
46316 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
46317 if test "x$ac_cv_func_isinf" = x""yes; then :
46318 cat >>confdefs.h <<_ACEOF
46319 #define HAVE_ISINF 1
46320 _ACEOF
46323 done
46325 else
46327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
46328 $as_echo_n "checking for _isinf declaration... " >&6; }
46329 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
46330 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
46331 $as_echo_n "(cached) " >&6
46332 else
46335 ac_ext=cpp
46336 ac_cpp='$CXXCPP $CPPFLAGS'
46337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46342 /* end confdefs.h. */
46343 #include <math.h>
46344 #ifdef HAVE_IEEEFP_H
46345 #include <ieeefp.h>
46346 #endif
46349 main ()
46351 _isinf(0);
46353 return 0;
46355 _ACEOF
46356 if ac_fn_cxx_try_compile "$LINENO"; then :
46357 glibcxx_cv_func__isinf_use=yes
46358 else
46359 glibcxx_cv_func__isinf_use=no
46361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46362 ac_ext=c
46363 ac_cpp='$CPP $CPPFLAGS'
46364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
46373 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
46375 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
46376 for ac_func in _isinf
46377 do :
46378 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
46379 if test "x$ac_cv_func__isinf" = x""yes; then :
46380 cat >>confdefs.h <<_ACEOF
46381 #define HAVE__ISINF 1
46382 _ACEOF
46385 done
46394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
46395 $as_echo_n "checking for isnan declaration... " >&6; }
46396 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
46397 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
46398 $as_echo_n "(cached) " >&6
46399 else
46402 ac_ext=cpp
46403 ac_cpp='$CXXCPP $CPPFLAGS'
46404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46409 /* end confdefs.h. */
46410 #include <math.h>
46411 #ifdef HAVE_IEEEFP_H
46412 #include <ieeefp.h>
46413 #endif
46416 main ()
46418 isnan(0);
46420 return 0;
46422 _ACEOF
46423 if ac_fn_cxx_try_compile "$LINENO"; then :
46424 glibcxx_cv_func_isnan_use=yes
46425 else
46426 glibcxx_cv_func_isnan_use=no
46428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46429 ac_ext=c
46430 ac_cpp='$CPP $CPPFLAGS'
46431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
46440 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
46442 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
46443 for ac_func in isnan
46444 do :
46445 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
46446 if test "x$ac_cv_func_isnan" = x""yes; then :
46447 cat >>confdefs.h <<_ACEOF
46448 #define HAVE_ISNAN 1
46449 _ACEOF
46452 done
46454 else
46456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
46457 $as_echo_n "checking for _isnan declaration... " >&6; }
46458 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
46459 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
46460 $as_echo_n "(cached) " >&6
46461 else
46464 ac_ext=cpp
46465 ac_cpp='$CXXCPP $CPPFLAGS'
46466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46471 /* end confdefs.h. */
46472 #include <math.h>
46473 #ifdef HAVE_IEEEFP_H
46474 #include <ieeefp.h>
46475 #endif
46478 main ()
46480 _isnan(0);
46482 return 0;
46484 _ACEOF
46485 if ac_fn_cxx_try_compile "$LINENO"; then :
46486 glibcxx_cv_func__isnan_use=yes
46487 else
46488 glibcxx_cv_func__isnan_use=no
46490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46491 ac_ext=c
46492 ac_cpp='$CPP $CPPFLAGS'
46493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
46502 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
46504 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
46505 for ac_func in _isnan
46506 do :
46507 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
46508 if test "x$ac_cv_func__isnan" = x""yes; then :
46509 cat >>confdefs.h <<_ACEOF
46510 #define HAVE__ISNAN 1
46511 _ACEOF
46514 done
46523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
46524 $as_echo_n "checking for finite declaration... " >&6; }
46525 if test x${glibcxx_cv_func_finite_use+set} != xset; then
46526 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
46527 $as_echo_n "(cached) " >&6
46528 else
46531 ac_ext=cpp
46532 ac_cpp='$CXXCPP $CPPFLAGS'
46533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46538 /* end confdefs.h. */
46539 #include <math.h>
46540 #ifdef HAVE_IEEEFP_H
46541 #include <ieeefp.h>
46542 #endif
46545 main ()
46547 finite(0);
46549 return 0;
46551 _ACEOF
46552 if ac_fn_cxx_try_compile "$LINENO"; then :
46553 glibcxx_cv_func_finite_use=yes
46554 else
46555 glibcxx_cv_func_finite_use=no
46557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46558 ac_ext=c
46559 ac_cpp='$CPP $CPPFLAGS'
46560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
46569 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
46571 if test x$glibcxx_cv_func_finite_use = x"yes"; then
46572 for ac_func in finite
46573 do :
46574 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
46575 if test "x$ac_cv_func_finite" = x""yes; then :
46576 cat >>confdefs.h <<_ACEOF
46577 #define HAVE_FINITE 1
46578 _ACEOF
46581 done
46583 else
46585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
46586 $as_echo_n "checking for _finite declaration... " >&6; }
46587 if test x${glibcxx_cv_func__finite_use+set} != xset; then
46588 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
46589 $as_echo_n "(cached) " >&6
46590 else
46593 ac_ext=cpp
46594 ac_cpp='$CXXCPP $CPPFLAGS'
46595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46600 /* end confdefs.h. */
46601 #include <math.h>
46602 #ifdef HAVE_IEEEFP_H
46603 #include <ieeefp.h>
46604 #endif
46607 main ()
46609 _finite(0);
46611 return 0;
46613 _ACEOF
46614 if ac_fn_cxx_try_compile "$LINENO"; then :
46615 glibcxx_cv_func__finite_use=yes
46616 else
46617 glibcxx_cv_func__finite_use=no
46619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46620 ac_ext=c
46621 ac_cpp='$CPP $CPPFLAGS'
46622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
46631 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
46633 if test x$glibcxx_cv_func__finite_use = x"yes"; then
46634 for ac_func in _finite
46635 do :
46636 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
46637 if test "x$ac_cv_func__finite" = x""yes; then :
46638 cat >>confdefs.h <<_ACEOF
46639 #define HAVE__FINITE 1
46640 _ACEOF
46643 done
46652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
46653 $as_echo_n "checking for sincos declaration... " >&6; }
46654 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
46655 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
46656 $as_echo_n "(cached) " >&6
46657 else
46660 ac_ext=cpp
46661 ac_cpp='$CXXCPP $CPPFLAGS'
46662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46667 /* end confdefs.h. */
46668 #include <math.h>
46670 main ()
46672 sincos(0, 0, 0);
46674 return 0;
46676 _ACEOF
46677 if ac_fn_cxx_try_compile "$LINENO"; then :
46678 glibcxx_cv_func_sincos_use=yes
46679 else
46680 glibcxx_cv_func_sincos_use=no
46682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46683 ac_ext=c
46684 ac_cpp='$CPP $CPPFLAGS'
46685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
46694 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
46696 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
46697 for ac_func in sincos
46698 do :
46699 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
46700 if test "x$ac_cv_func_sincos" = x""yes; then :
46701 cat >>confdefs.h <<_ACEOF
46702 #define HAVE_SINCOS 1
46703 _ACEOF
46706 done
46708 else
46710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
46711 $as_echo_n "checking for _sincos declaration... " >&6; }
46712 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
46713 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
46714 $as_echo_n "(cached) " >&6
46715 else
46718 ac_ext=cpp
46719 ac_cpp='$CXXCPP $CPPFLAGS'
46720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46725 /* end confdefs.h. */
46726 #include <math.h>
46728 main ()
46730 _sincos(0, 0, 0);
46732 return 0;
46734 _ACEOF
46735 if ac_fn_cxx_try_compile "$LINENO"; then :
46736 glibcxx_cv_func__sincos_use=yes
46737 else
46738 glibcxx_cv_func__sincos_use=no
46740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46741 ac_ext=c
46742 ac_cpp='$CPP $CPPFLAGS'
46743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
46752 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
46754 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
46755 for ac_func in _sincos
46756 do :
46757 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
46758 if test "x$ac_cv_func__sincos" = x""yes; then :
46759 cat >>confdefs.h <<_ACEOF
46760 #define HAVE__SINCOS 1
46761 _ACEOF
46764 done
46773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
46774 $as_echo_n "checking for fpclass declaration... " >&6; }
46775 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
46776 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
46777 $as_echo_n "(cached) " >&6
46778 else
46781 ac_ext=cpp
46782 ac_cpp='$CXXCPP $CPPFLAGS'
46783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46788 /* end confdefs.h. */
46789 #include <math.h>
46790 #ifdef HAVE_IEEEFP_H
46791 #include <ieeefp.h>
46792 #endif
46795 main ()
46797 fpclass(0);
46799 return 0;
46801 _ACEOF
46802 if ac_fn_cxx_try_compile "$LINENO"; then :
46803 glibcxx_cv_func_fpclass_use=yes
46804 else
46805 glibcxx_cv_func_fpclass_use=no
46807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46808 ac_ext=c
46809 ac_cpp='$CPP $CPPFLAGS'
46810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
46819 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
46821 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
46822 for ac_func in fpclass
46823 do :
46824 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
46825 if test "x$ac_cv_func_fpclass" = x""yes; then :
46826 cat >>confdefs.h <<_ACEOF
46827 #define HAVE_FPCLASS 1
46828 _ACEOF
46831 done
46833 else
46835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
46836 $as_echo_n "checking for _fpclass declaration... " >&6; }
46837 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
46838 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
46839 $as_echo_n "(cached) " >&6
46840 else
46843 ac_ext=cpp
46844 ac_cpp='$CXXCPP $CPPFLAGS'
46845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46850 /* end confdefs.h. */
46851 #include <math.h>
46852 #ifdef HAVE_IEEEFP_H
46853 #include <ieeefp.h>
46854 #endif
46857 main ()
46859 _fpclass(0);
46861 return 0;
46863 _ACEOF
46864 if ac_fn_cxx_try_compile "$LINENO"; then :
46865 glibcxx_cv_func__fpclass_use=yes
46866 else
46867 glibcxx_cv_func__fpclass_use=no
46869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46870 ac_ext=c
46871 ac_cpp='$CPP $CPPFLAGS'
46872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
46881 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
46883 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
46884 for ac_func in _fpclass
46885 do :
46886 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
46887 if test "x$ac_cv_func__fpclass" = x""yes; then :
46888 cat >>confdefs.h <<_ACEOF
46889 #define HAVE__FPCLASS 1
46890 _ACEOF
46893 done
46902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
46903 $as_echo_n "checking for qfpclass declaration... " >&6; }
46904 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
46905 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
46906 $as_echo_n "(cached) " >&6
46907 else
46910 ac_ext=cpp
46911 ac_cpp='$CXXCPP $CPPFLAGS'
46912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46917 /* end confdefs.h. */
46918 #include <math.h>
46919 #ifdef HAVE_IEEEFP_H
46920 #include <ieeefp.h>
46921 #endif
46924 main ()
46926 qfpclass(0);
46928 return 0;
46930 _ACEOF
46931 if ac_fn_cxx_try_compile "$LINENO"; then :
46932 glibcxx_cv_func_qfpclass_use=yes
46933 else
46934 glibcxx_cv_func_qfpclass_use=no
46936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46937 ac_ext=c
46938 ac_cpp='$CPP $CPPFLAGS'
46939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
46948 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
46950 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
46951 for ac_func in qfpclass
46952 do :
46953 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
46954 if test "x$ac_cv_func_qfpclass" = x""yes; then :
46955 cat >>confdefs.h <<_ACEOF
46956 #define HAVE_QFPCLASS 1
46957 _ACEOF
46960 done
46962 else
46964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
46965 $as_echo_n "checking for _qfpclass declaration... " >&6; }
46966 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
46967 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
46968 $as_echo_n "(cached) " >&6
46969 else
46972 ac_ext=cpp
46973 ac_cpp='$CXXCPP $CPPFLAGS'
46974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46979 /* end confdefs.h. */
46980 #include <math.h>
46981 #ifdef HAVE_IEEEFP_H
46982 #include <ieeefp.h>
46983 #endif
46986 main ()
46988 _qfpclass(0);
46990 return 0;
46992 _ACEOF
46993 if ac_fn_cxx_try_compile "$LINENO"; then :
46994 glibcxx_cv_func__qfpclass_use=yes
46995 else
46996 glibcxx_cv_func__qfpclass_use=no
46998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46999 ac_ext=c
47000 ac_cpp='$CPP $CPPFLAGS'
47001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
47010 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
47012 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
47013 for ac_func in _qfpclass
47014 do :
47015 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
47016 if test "x$ac_cv_func__qfpclass" = x""yes; then :
47017 cat >>confdefs.h <<_ACEOF
47018 #define HAVE__QFPCLASS 1
47019 _ACEOF
47022 done
47031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
47032 $as_echo_n "checking for hypot declaration... " >&6; }
47033 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
47034 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
47035 $as_echo_n "(cached) " >&6
47036 else
47039 ac_ext=cpp
47040 ac_cpp='$CXXCPP $CPPFLAGS'
47041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47046 /* end confdefs.h. */
47047 #include <math.h>
47049 main ()
47051 hypot(0, 0);
47053 return 0;
47055 _ACEOF
47056 if ac_fn_cxx_try_compile "$LINENO"; then :
47057 glibcxx_cv_func_hypot_use=yes
47058 else
47059 glibcxx_cv_func_hypot_use=no
47061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47062 ac_ext=c
47063 ac_cpp='$CPP $CPPFLAGS'
47064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
47073 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
47075 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
47076 for ac_func in hypot
47077 do :
47078 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
47079 if test "x$ac_cv_func_hypot" = x""yes; then :
47080 cat >>confdefs.h <<_ACEOF
47081 #define HAVE_HYPOT 1
47082 _ACEOF
47085 done
47087 else
47089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
47090 $as_echo_n "checking for _hypot declaration... " >&6; }
47091 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
47092 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
47093 $as_echo_n "(cached) " >&6
47094 else
47097 ac_ext=cpp
47098 ac_cpp='$CXXCPP $CPPFLAGS'
47099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47104 /* end confdefs.h. */
47105 #include <math.h>
47107 main ()
47109 _hypot(0, 0);
47111 return 0;
47113 _ACEOF
47114 if ac_fn_cxx_try_compile "$LINENO"; then :
47115 glibcxx_cv_func__hypot_use=yes
47116 else
47117 glibcxx_cv_func__hypot_use=no
47119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47120 ac_ext=c
47121 ac_cpp='$CPP $CPPFLAGS'
47122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
47131 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
47133 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
47134 for ac_func in _hypot
47135 do :
47136 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
47137 if test "x$ac_cv_func__hypot" = x""yes; then :
47138 cat >>confdefs.h <<_ACEOF
47139 #define HAVE__HYPOT 1
47140 _ACEOF
47143 done
47152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
47153 $as_echo_n "checking for float trig functions... " >&6; }
47154 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
47155 $as_echo_n "(cached) " >&6
47156 else
47159 ac_ext=cpp
47160 ac_cpp='$CXXCPP $CPPFLAGS'
47161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47166 /* end confdefs.h. */
47167 #include <math.h>
47169 main ()
47171 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
47173 return 0;
47175 _ACEOF
47176 if ac_fn_cxx_try_compile "$LINENO"; then :
47177 glibcxx_cv_func_float_trig_use=yes
47178 else
47179 glibcxx_cv_func_float_trig_use=no
47181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47182 ac_ext=c
47183 ac_cpp='$CPP $CPPFLAGS'
47184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
47191 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
47192 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
47193 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
47194 do :
47195 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47196 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47197 eval as_val=\$$as_ac_var
47198 if test "x$as_val" = x""yes; then :
47199 cat >>confdefs.h <<_ACEOF
47200 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47201 _ACEOF
47204 done
47206 else
47207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
47208 $as_echo_n "checking for _float trig functions... " >&6; }
47209 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
47210 $as_echo_n "(cached) " >&6
47211 else
47214 ac_ext=cpp
47215 ac_cpp='$CXXCPP $CPPFLAGS'
47216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47221 /* end confdefs.h. */
47222 #include <math.h>
47224 main ()
47226 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
47228 return 0;
47230 _ACEOF
47231 if ac_fn_cxx_try_compile "$LINENO"; then :
47232 glibcxx_cv_func__float_trig_use=yes
47233 else
47234 glibcxx_cv_func__float_trig_use=no
47236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47237 ac_ext=c
47238 ac_cpp='$CPP $CPPFLAGS'
47239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
47246 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
47247 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
47248 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
47249 do :
47250 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47251 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47252 eval as_val=\$$as_ac_var
47253 if test "x$as_val" = x""yes; then :
47254 cat >>confdefs.h <<_ACEOF
47255 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47256 _ACEOF
47259 done
47268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
47269 $as_echo_n "checking for float round functions... " >&6; }
47270 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
47271 $as_echo_n "(cached) " >&6
47272 else
47275 ac_ext=cpp
47276 ac_cpp='$CXXCPP $CPPFLAGS'
47277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47282 /* end confdefs.h. */
47283 #include <math.h>
47285 main ()
47287 ceilf (0); floorf (0);
47289 return 0;
47291 _ACEOF
47292 if ac_fn_cxx_try_compile "$LINENO"; then :
47293 glibcxx_cv_func_float_round_use=yes
47294 else
47295 glibcxx_cv_func_float_round_use=no
47297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47298 ac_ext=c
47299 ac_cpp='$CPP $CPPFLAGS'
47300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
47307 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
47308 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
47309 for ac_func in ceilf floorf
47310 do :
47311 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47312 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47313 eval as_val=\$$as_ac_var
47314 if test "x$as_val" = x""yes; then :
47315 cat >>confdefs.h <<_ACEOF
47316 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47317 _ACEOF
47320 done
47322 else
47323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
47324 $as_echo_n "checking for _float round functions... " >&6; }
47325 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
47326 $as_echo_n "(cached) " >&6
47327 else
47330 ac_ext=cpp
47331 ac_cpp='$CXXCPP $CPPFLAGS'
47332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47337 /* end confdefs.h. */
47338 #include <math.h>
47340 main ()
47342 _ceilf (0); _floorf (0);
47344 return 0;
47346 _ACEOF
47347 if ac_fn_cxx_try_compile "$LINENO"; then :
47348 glibcxx_cv_func__float_round_use=yes
47349 else
47350 glibcxx_cv_func__float_round_use=no
47352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47353 ac_ext=c
47354 ac_cpp='$CPP $CPPFLAGS'
47355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
47362 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
47363 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
47364 for ac_func in _ceilf _floorf
47365 do :
47366 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47367 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47368 eval as_val=\$$as_ac_var
47369 if test "x$as_val" = x""yes; then :
47370 cat >>confdefs.h <<_ACEOF
47371 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47372 _ACEOF
47375 done
47385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
47386 $as_echo_n "checking for expf declaration... " >&6; }
47387 if test x${glibcxx_cv_func_expf_use+set} != xset; then
47388 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
47389 $as_echo_n "(cached) " >&6
47390 else
47393 ac_ext=cpp
47394 ac_cpp='$CXXCPP $CPPFLAGS'
47395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47400 /* end confdefs.h. */
47401 #include <math.h>
47402 #ifdef HAVE_IEEEFP_H
47403 #include <ieeefp.h>
47404 #endif
47407 main ()
47409 expf(0);
47411 return 0;
47413 _ACEOF
47414 if ac_fn_cxx_try_compile "$LINENO"; then :
47415 glibcxx_cv_func_expf_use=yes
47416 else
47417 glibcxx_cv_func_expf_use=no
47419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47420 ac_ext=c
47421 ac_cpp='$CPP $CPPFLAGS'
47422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
47431 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
47433 if test x$glibcxx_cv_func_expf_use = x"yes"; then
47434 for ac_func in expf
47435 do :
47436 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
47437 if test "x$ac_cv_func_expf" = x""yes; then :
47438 cat >>confdefs.h <<_ACEOF
47439 #define HAVE_EXPF 1
47440 _ACEOF
47443 done
47445 else
47447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
47448 $as_echo_n "checking for _expf declaration... " >&6; }
47449 if test x${glibcxx_cv_func__expf_use+set} != xset; then
47450 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
47451 $as_echo_n "(cached) " >&6
47452 else
47455 ac_ext=cpp
47456 ac_cpp='$CXXCPP $CPPFLAGS'
47457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47462 /* end confdefs.h. */
47463 #include <math.h>
47464 #ifdef HAVE_IEEEFP_H
47465 #include <ieeefp.h>
47466 #endif
47469 main ()
47471 _expf(0);
47473 return 0;
47475 _ACEOF
47476 if ac_fn_cxx_try_compile "$LINENO"; then :
47477 glibcxx_cv_func__expf_use=yes
47478 else
47479 glibcxx_cv_func__expf_use=no
47481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47482 ac_ext=c
47483 ac_cpp='$CPP $CPPFLAGS'
47484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
47493 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
47495 if test x$glibcxx_cv_func__expf_use = x"yes"; then
47496 for ac_func in _expf
47497 do :
47498 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
47499 if test "x$ac_cv_func__expf" = x""yes; then :
47500 cat >>confdefs.h <<_ACEOF
47501 #define HAVE__EXPF 1
47502 _ACEOF
47505 done
47514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
47515 $as_echo_n "checking for isnanf declaration... " >&6; }
47516 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
47517 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
47518 $as_echo_n "(cached) " >&6
47519 else
47522 ac_ext=cpp
47523 ac_cpp='$CXXCPP $CPPFLAGS'
47524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47529 /* end confdefs.h. */
47530 #include <math.h>
47531 #ifdef HAVE_IEEEFP_H
47532 #include <ieeefp.h>
47533 #endif
47536 main ()
47538 isnanf(0);
47540 return 0;
47542 _ACEOF
47543 if ac_fn_cxx_try_compile "$LINENO"; then :
47544 glibcxx_cv_func_isnanf_use=yes
47545 else
47546 glibcxx_cv_func_isnanf_use=no
47548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47549 ac_ext=c
47550 ac_cpp='$CPP $CPPFLAGS'
47551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
47560 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
47562 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
47563 for ac_func in isnanf
47564 do :
47565 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
47566 if test "x$ac_cv_func_isnanf" = x""yes; then :
47567 cat >>confdefs.h <<_ACEOF
47568 #define HAVE_ISNANF 1
47569 _ACEOF
47572 done
47574 else
47576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
47577 $as_echo_n "checking for _isnanf declaration... " >&6; }
47578 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
47579 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
47580 $as_echo_n "(cached) " >&6
47581 else
47584 ac_ext=cpp
47585 ac_cpp='$CXXCPP $CPPFLAGS'
47586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47591 /* end confdefs.h. */
47592 #include <math.h>
47593 #ifdef HAVE_IEEEFP_H
47594 #include <ieeefp.h>
47595 #endif
47598 main ()
47600 _isnanf(0);
47602 return 0;
47604 _ACEOF
47605 if ac_fn_cxx_try_compile "$LINENO"; then :
47606 glibcxx_cv_func__isnanf_use=yes
47607 else
47608 glibcxx_cv_func__isnanf_use=no
47610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47611 ac_ext=c
47612 ac_cpp='$CPP $CPPFLAGS'
47613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
47622 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
47624 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
47625 for ac_func in _isnanf
47626 do :
47627 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
47628 if test "x$ac_cv_func__isnanf" = x""yes; then :
47629 cat >>confdefs.h <<_ACEOF
47630 #define HAVE__ISNANF 1
47631 _ACEOF
47634 done
47643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
47644 $as_echo_n "checking for isinff declaration... " >&6; }
47645 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
47646 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
47647 $as_echo_n "(cached) " >&6
47648 else
47651 ac_ext=cpp
47652 ac_cpp='$CXXCPP $CPPFLAGS'
47653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47658 /* end confdefs.h. */
47659 #include <math.h>
47660 #ifdef HAVE_IEEEFP_H
47661 #include <ieeefp.h>
47662 #endif
47665 main ()
47667 isinff(0);
47669 return 0;
47671 _ACEOF
47672 if ac_fn_cxx_try_compile "$LINENO"; then :
47673 glibcxx_cv_func_isinff_use=yes
47674 else
47675 glibcxx_cv_func_isinff_use=no
47677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47678 ac_ext=c
47679 ac_cpp='$CPP $CPPFLAGS'
47680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
47689 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
47691 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
47692 for ac_func in isinff
47693 do :
47694 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
47695 if test "x$ac_cv_func_isinff" = x""yes; then :
47696 cat >>confdefs.h <<_ACEOF
47697 #define HAVE_ISINFF 1
47698 _ACEOF
47701 done
47703 else
47705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
47706 $as_echo_n "checking for _isinff declaration... " >&6; }
47707 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
47708 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
47709 $as_echo_n "(cached) " >&6
47710 else
47713 ac_ext=cpp
47714 ac_cpp='$CXXCPP $CPPFLAGS'
47715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47720 /* end confdefs.h. */
47721 #include <math.h>
47722 #ifdef HAVE_IEEEFP_H
47723 #include <ieeefp.h>
47724 #endif
47727 main ()
47729 _isinff(0);
47731 return 0;
47733 _ACEOF
47734 if ac_fn_cxx_try_compile "$LINENO"; then :
47735 glibcxx_cv_func__isinff_use=yes
47736 else
47737 glibcxx_cv_func__isinff_use=no
47739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47740 ac_ext=c
47741 ac_cpp='$CPP $CPPFLAGS'
47742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
47751 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
47753 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
47754 for ac_func in _isinff
47755 do :
47756 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
47757 if test "x$ac_cv_func__isinff" = x""yes; then :
47758 cat >>confdefs.h <<_ACEOF
47759 #define HAVE__ISINFF 1
47760 _ACEOF
47763 done
47772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
47773 $as_echo_n "checking for atan2f declaration... " >&6; }
47774 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
47775 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
47776 $as_echo_n "(cached) " >&6
47777 else
47780 ac_ext=cpp
47781 ac_cpp='$CXXCPP $CPPFLAGS'
47782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47787 /* end confdefs.h. */
47788 #include <math.h>
47790 main ()
47792 atan2f(0, 0);
47794 return 0;
47796 _ACEOF
47797 if ac_fn_cxx_try_compile "$LINENO"; then :
47798 glibcxx_cv_func_atan2f_use=yes
47799 else
47800 glibcxx_cv_func_atan2f_use=no
47802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47803 ac_ext=c
47804 ac_cpp='$CPP $CPPFLAGS'
47805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
47814 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
47816 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
47817 for ac_func in atan2f
47818 do :
47819 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
47820 if test "x$ac_cv_func_atan2f" = x""yes; then :
47821 cat >>confdefs.h <<_ACEOF
47822 #define HAVE_ATAN2F 1
47823 _ACEOF
47826 done
47828 else
47830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
47831 $as_echo_n "checking for _atan2f declaration... " >&6; }
47832 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
47833 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
47834 $as_echo_n "(cached) " >&6
47835 else
47838 ac_ext=cpp
47839 ac_cpp='$CXXCPP $CPPFLAGS'
47840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47845 /* end confdefs.h. */
47846 #include <math.h>
47848 main ()
47850 _atan2f(0, 0);
47852 return 0;
47854 _ACEOF
47855 if ac_fn_cxx_try_compile "$LINENO"; then :
47856 glibcxx_cv_func__atan2f_use=yes
47857 else
47858 glibcxx_cv_func__atan2f_use=no
47860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47861 ac_ext=c
47862 ac_cpp='$CPP $CPPFLAGS'
47863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
47872 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
47874 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
47875 for ac_func in _atan2f
47876 do :
47877 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
47878 if test "x$ac_cv_func__atan2f" = x""yes; then :
47879 cat >>confdefs.h <<_ACEOF
47880 #define HAVE__ATAN2F 1
47881 _ACEOF
47884 done
47893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
47894 $as_echo_n "checking for fabsf declaration... " >&6; }
47895 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
47896 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
47897 $as_echo_n "(cached) " >&6
47898 else
47901 ac_ext=cpp
47902 ac_cpp='$CXXCPP $CPPFLAGS'
47903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47908 /* end confdefs.h. */
47909 #include <math.h>
47910 #ifdef HAVE_IEEEFP_H
47911 #include <ieeefp.h>
47912 #endif
47915 main ()
47917 fabsf(0);
47919 return 0;
47921 _ACEOF
47922 if ac_fn_cxx_try_compile "$LINENO"; then :
47923 glibcxx_cv_func_fabsf_use=yes
47924 else
47925 glibcxx_cv_func_fabsf_use=no
47927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47928 ac_ext=c
47929 ac_cpp='$CPP $CPPFLAGS'
47930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
47939 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
47941 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
47942 for ac_func in fabsf
47943 do :
47944 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
47945 if test "x$ac_cv_func_fabsf" = x""yes; then :
47946 cat >>confdefs.h <<_ACEOF
47947 #define HAVE_FABSF 1
47948 _ACEOF
47951 done
47953 else
47955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
47956 $as_echo_n "checking for _fabsf declaration... " >&6; }
47957 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
47958 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
47959 $as_echo_n "(cached) " >&6
47960 else
47963 ac_ext=cpp
47964 ac_cpp='$CXXCPP $CPPFLAGS'
47965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47970 /* end confdefs.h. */
47971 #include <math.h>
47972 #ifdef HAVE_IEEEFP_H
47973 #include <ieeefp.h>
47974 #endif
47977 main ()
47979 _fabsf(0);
47981 return 0;
47983 _ACEOF
47984 if ac_fn_cxx_try_compile "$LINENO"; then :
47985 glibcxx_cv_func__fabsf_use=yes
47986 else
47987 glibcxx_cv_func__fabsf_use=no
47989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47990 ac_ext=c
47991 ac_cpp='$CPP $CPPFLAGS'
47992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
48001 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
48003 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
48004 for ac_func in _fabsf
48005 do :
48006 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
48007 if test "x$ac_cv_func__fabsf" = x""yes; then :
48008 cat >>confdefs.h <<_ACEOF
48009 #define HAVE__FABSF 1
48010 _ACEOF
48013 done
48022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
48023 $as_echo_n "checking for fmodf declaration... " >&6; }
48024 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
48025 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
48026 $as_echo_n "(cached) " >&6
48027 else
48030 ac_ext=cpp
48031 ac_cpp='$CXXCPP $CPPFLAGS'
48032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48037 /* end confdefs.h. */
48038 #include <math.h>
48040 main ()
48042 fmodf(0, 0);
48044 return 0;
48046 _ACEOF
48047 if ac_fn_cxx_try_compile "$LINENO"; then :
48048 glibcxx_cv_func_fmodf_use=yes
48049 else
48050 glibcxx_cv_func_fmodf_use=no
48052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48053 ac_ext=c
48054 ac_cpp='$CPP $CPPFLAGS'
48055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
48064 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
48066 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
48067 for ac_func in fmodf
48068 do :
48069 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
48070 if test "x$ac_cv_func_fmodf" = x""yes; then :
48071 cat >>confdefs.h <<_ACEOF
48072 #define HAVE_FMODF 1
48073 _ACEOF
48076 done
48078 else
48080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
48081 $as_echo_n "checking for _fmodf declaration... " >&6; }
48082 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
48083 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
48084 $as_echo_n "(cached) " >&6
48085 else
48088 ac_ext=cpp
48089 ac_cpp='$CXXCPP $CPPFLAGS'
48090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48095 /* end confdefs.h. */
48096 #include <math.h>
48098 main ()
48100 _fmodf(0, 0);
48102 return 0;
48104 _ACEOF
48105 if ac_fn_cxx_try_compile "$LINENO"; then :
48106 glibcxx_cv_func__fmodf_use=yes
48107 else
48108 glibcxx_cv_func__fmodf_use=no
48110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48111 ac_ext=c
48112 ac_cpp='$CPP $CPPFLAGS'
48113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
48122 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
48124 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
48125 for ac_func in _fmodf
48126 do :
48127 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
48128 if test "x$ac_cv_func__fmodf" = x""yes; then :
48129 cat >>confdefs.h <<_ACEOF
48130 #define HAVE__FMODF 1
48131 _ACEOF
48134 done
48143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
48144 $as_echo_n "checking for frexpf declaration... " >&6; }
48145 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
48146 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
48147 $as_echo_n "(cached) " >&6
48148 else
48151 ac_ext=cpp
48152 ac_cpp='$CXXCPP $CPPFLAGS'
48153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48158 /* end confdefs.h. */
48159 #include <math.h>
48161 main ()
48163 frexpf(0, 0);
48165 return 0;
48167 _ACEOF
48168 if ac_fn_cxx_try_compile "$LINENO"; then :
48169 glibcxx_cv_func_frexpf_use=yes
48170 else
48171 glibcxx_cv_func_frexpf_use=no
48173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48174 ac_ext=c
48175 ac_cpp='$CPP $CPPFLAGS'
48176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
48185 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
48187 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
48188 for ac_func in frexpf
48189 do :
48190 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
48191 if test "x$ac_cv_func_frexpf" = x""yes; then :
48192 cat >>confdefs.h <<_ACEOF
48193 #define HAVE_FREXPF 1
48194 _ACEOF
48197 done
48199 else
48201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
48202 $as_echo_n "checking for _frexpf declaration... " >&6; }
48203 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
48204 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
48205 $as_echo_n "(cached) " >&6
48206 else
48209 ac_ext=cpp
48210 ac_cpp='$CXXCPP $CPPFLAGS'
48211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48216 /* end confdefs.h. */
48217 #include <math.h>
48219 main ()
48221 _frexpf(0, 0);
48223 return 0;
48225 _ACEOF
48226 if ac_fn_cxx_try_compile "$LINENO"; then :
48227 glibcxx_cv_func__frexpf_use=yes
48228 else
48229 glibcxx_cv_func__frexpf_use=no
48231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48232 ac_ext=c
48233 ac_cpp='$CPP $CPPFLAGS'
48234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
48243 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
48245 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
48246 for ac_func in _frexpf
48247 do :
48248 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
48249 if test "x$ac_cv_func__frexpf" = x""yes; then :
48250 cat >>confdefs.h <<_ACEOF
48251 #define HAVE__FREXPF 1
48252 _ACEOF
48255 done
48264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
48265 $as_echo_n "checking for hypotf declaration... " >&6; }
48266 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
48267 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
48268 $as_echo_n "(cached) " >&6
48269 else
48272 ac_ext=cpp
48273 ac_cpp='$CXXCPP $CPPFLAGS'
48274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48279 /* end confdefs.h. */
48280 #include <math.h>
48282 main ()
48284 hypotf(0, 0);
48286 return 0;
48288 _ACEOF
48289 if ac_fn_cxx_try_compile "$LINENO"; then :
48290 glibcxx_cv_func_hypotf_use=yes
48291 else
48292 glibcxx_cv_func_hypotf_use=no
48294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48295 ac_ext=c
48296 ac_cpp='$CPP $CPPFLAGS'
48297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
48306 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
48308 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
48309 for ac_func in hypotf
48310 do :
48311 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
48312 if test "x$ac_cv_func_hypotf" = x""yes; then :
48313 cat >>confdefs.h <<_ACEOF
48314 #define HAVE_HYPOTF 1
48315 _ACEOF
48318 done
48320 else
48322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
48323 $as_echo_n "checking for _hypotf declaration... " >&6; }
48324 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
48325 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
48326 $as_echo_n "(cached) " >&6
48327 else
48330 ac_ext=cpp
48331 ac_cpp='$CXXCPP $CPPFLAGS'
48332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48337 /* end confdefs.h. */
48338 #include <math.h>
48340 main ()
48342 _hypotf(0, 0);
48344 return 0;
48346 _ACEOF
48347 if ac_fn_cxx_try_compile "$LINENO"; then :
48348 glibcxx_cv_func__hypotf_use=yes
48349 else
48350 glibcxx_cv_func__hypotf_use=no
48352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48353 ac_ext=c
48354 ac_cpp='$CPP $CPPFLAGS'
48355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
48364 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
48366 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
48367 for ac_func in _hypotf
48368 do :
48369 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
48370 if test "x$ac_cv_func__hypotf" = x""yes; then :
48371 cat >>confdefs.h <<_ACEOF
48372 #define HAVE__HYPOTF 1
48373 _ACEOF
48376 done
48385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
48386 $as_echo_n "checking for ldexpf declaration... " >&6; }
48387 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
48388 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
48389 $as_echo_n "(cached) " >&6
48390 else
48393 ac_ext=cpp
48394 ac_cpp='$CXXCPP $CPPFLAGS'
48395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48400 /* end confdefs.h. */
48401 #include <math.h>
48403 main ()
48405 ldexpf(0, 0);
48407 return 0;
48409 _ACEOF
48410 if ac_fn_cxx_try_compile "$LINENO"; then :
48411 glibcxx_cv_func_ldexpf_use=yes
48412 else
48413 glibcxx_cv_func_ldexpf_use=no
48415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48416 ac_ext=c
48417 ac_cpp='$CPP $CPPFLAGS'
48418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
48427 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
48429 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
48430 for ac_func in ldexpf
48431 do :
48432 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
48433 if test "x$ac_cv_func_ldexpf" = x""yes; then :
48434 cat >>confdefs.h <<_ACEOF
48435 #define HAVE_LDEXPF 1
48436 _ACEOF
48439 done
48441 else
48443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
48444 $as_echo_n "checking for _ldexpf declaration... " >&6; }
48445 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
48446 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
48447 $as_echo_n "(cached) " >&6
48448 else
48451 ac_ext=cpp
48452 ac_cpp='$CXXCPP $CPPFLAGS'
48453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48458 /* end confdefs.h. */
48459 #include <math.h>
48461 main ()
48463 _ldexpf(0, 0);
48465 return 0;
48467 _ACEOF
48468 if ac_fn_cxx_try_compile "$LINENO"; then :
48469 glibcxx_cv_func__ldexpf_use=yes
48470 else
48471 glibcxx_cv_func__ldexpf_use=no
48473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48474 ac_ext=c
48475 ac_cpp='$CPP $CPPFLAGS'
48476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
48485 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
48487 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
48488 for ac_func in _ldexpf
48489 do :
48490 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
48491 if test "x$ac_cv_func__ldexpf" = x""yes; then :
48492 cat >>confdefs.h <<_ACEOF
48493 #define HAVE__LDEXPF 1
48494 _ACEOF
48497 done
48506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
48507 $as_echo_n "checking for logf declaration... " >&6; }
48508 if test x${glibcxx_cv_func_logf_use+set} != xset; then
48509 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
48510 $as_echo_n "(cached) " >&6
48511 else
48514 ac_ext=cpp
48515 ac_cpp='$CXXCPP $CPPFLAGS'
48516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48521 /* end confdefs.h. */
48522 #include <math.h>
48523 #ifdef HAVE_IEEEFP_H
48524 #include <ieeefp.h>
48525 #endif
48528 main ()
48530 logf(0);
48532 return 0;
48534 _ACEOF
48535 if ac_fn_cxx_try_compile "$LINENO"; then :
48536 glibcxx_cv_func_logf_use=yes
48537 else
48538 glibcxx_cv_func_logf_use=no
48540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48541 ac_ext=c
48542 ac_cpp='$CPP $CPPFLAGS'
48543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
48552 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
48554 if test x$glibcxx_cv_func_logf_use = x"yes"; then
48555 for ac_func in logf
48556 do :
48557 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
48558 if test "x$ac_cv_func_logf" = x""yes; then :
48559 cat >>confdefs.h <<_ACEOF
48560 #define HAVE_LOGF 1
48561 _ACEOF
48564 done
48566 else
48568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
48569 $as_echo_n "checking for _logf declaration... " >&6; }
48570 if test x${glibcxx_cv_func__logf_use+set} != xset; then
48571 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
48572 $as_echo_n "(cached) " >&6
48573 else
48576 ac_ext=cpp
48577 ac_cpp='$CXXCPP $CPPFLAGS'
48578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48583 /* end confdefs.h. */
48584 #include <math.h>
48585 #ifdef HAVE_IEEEFP_H
48586 #include <ieeefp.h>
48587 #endif
48590 main ()
48592 _logf(0);
48594 return 0;
48596 _ACEOF
48597 if ac_fn_cxx_try_compile "$LINENO"; then :
48598 glibcxx_cv_func__logf_use=yes
48599 else
48600 glibcxx_cv_func__logf_use=no
48602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48603 ac_ext=c
48604 ac_cpp='$CPP $CPPFLAGS'
48605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
48614 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
48616 if test x$glibcxx_cv_func__logf_use = x"yes"; then
48617 for ac_func in _logf
48618 do :
48619 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
48620 if test "x$ac_cv_func__logf" = x""yes; then :
48621 cat >>confdefs.h <<_ACEOF
48622 #define HAVE__LOGF 1
48623 _ACEOF
48626 done
48635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
48636 $as_echo_n "checking for log10f declaration... " >&6; }
48637 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
48638 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
48639 $as_echo_n "(cached) " >&6
48640 else
48643 ac_ext=cpp
48644 ac_cpp='$CXXCPP $CPPFLAGS'
48645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48650 /* end confdefs.h. */
48651 #include <math.h>
48652 #ifdef HAVE_IEEEFP_H
48653 #include <ieeefp.h>
48654 #endif
48657 main ()
48659 log10f(0);
48661 return 0;
48663 _ACEOF
48664 if ac_fn_cxx_try_compile "$LINENO"; then :
48665 glibcxx_cv_func_log10f_use=yes
48666 else
48667 glibcxx_cv_func_log10f_use=no
48669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48670 ac_ext=c
48671 ac_cpp='$CPP $CPPFLAGS'
48672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
48681 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
48683 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
48684 for ac_func in log10f
48685 do :
48686 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
48687 if test "x$ac_cv_func_log10f" = x""yes; then :
48688 cat >>confdefs.h <<_ACEOF
48689 #define HAVE_LOG10F 1
48690 _ACEOF
48693 done
48695 else
48697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
48698 $as_echo_n "checking for _log10f declaration... " >&6; }
48699 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
48700 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
48701 $as_echo_n "(cached) " >&6
48702 else
48705 ac_ext=cpp
48706 ac_cpp='$CXXCPP $CPPFLAGS'
48707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48712 /* end confdefs.h. */
48713 #include <math.h>
48714 #ifdef HAVE_IEEEFP_H
48715 #include <ieeefp.h>
48716 #endif
48719 main ()
48721 _log10f(0);
48723 return 0;
48725 _ACEOF
48726 if ac_fn_cxx_try_compile "$LINENO"; then :
48727 glibcxx_cv_func__log10f_use=yes
48728 else
48729 glibcxx_cv_func__log10f_use=no
48731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48732 ac_ext=c
48733 ac_cpp='$CPP $CPPFLAGS'
48734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
48743 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
48745 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
48746 for ac_func in _log10f
48747 do :
48748 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
48749 if test "x$ac_cv_func__log10f" = x""yes; then :
48750 cat >>confdefs.h <<_ACEOF
48751 #define HAVE__LOG10F 1
48752 _ACEOF
48755 done
48764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
48765 $as_echo_n "checking for modff declaration... " >&6; }
48766 if test x${glibcxx_cv_func_modff_use+set} != xset; then
48767 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
48768 $as_echo_n "(cached) " >&6
48769 else
48772 ac_ext=cpp
48773 ac_cpp='$CXXCPP $CPPFLAGS'
48774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48779 /* end confdefs.h. */
48780 #include <math.h>
48782 main ()
48784 modff(0, 0);
48786 return 0;
48788 _ACEOF
48789 if ac_fn_cxx_try_compile "$LINENO"; then :
48790 glibcxx_cv_func_modff_use=yes
48791 else
48792 glibcxx_cv_func_modff_use=no
48794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48795 ac_ext=c
48796 ac_cpp='$CPP $CPPFLAGS'
48797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
48806 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
48808 if test x$glibcxx_cv_func_modff_use = x"yes"; then
48809 for ac_func in modff
48810 do :
48811 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
48812 if test "x$ac_cv_func_modff" = x""yes; then :
48813 cat >>confdefs.h <<_ACEOF
48814 #define HAVE_MODFF 1
48815 _ACEOF
48818 done
48820 else
48822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
48823 $as_echo_n "checking for _modff declaration... " >&6; }
48824 if test x${glibcxx_cv_func__modff_use+set} != xset; then
48825 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
48826 $as_echo_n "(cached) " >&6
48827 else
48830 ac_ext=cpp
48831 ac_cpp='$CXXCPP $CPPFLAGS'
48832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48837 /* end confdefs.h. */
48838 #include <math.h>
48840 main ()
48842 _modff(0, 0);
48844 return 0;
48846 _ACEOF
48847 if ac_fn_cxx_try_compile "$LINENO"; then :
48848 glibcxx_cv_func__modff_use=yes
48849 else
48850 glibcxx_cv_func__modff_use=no
48852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48853 ac_ext=c
48854 ac_cpp='$CPP $CPPFLAGS'
48855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
48864 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
48866 if test x$glibcxx_cv_func__modff_use = x"yes"; then
48867 for ac_func in _modff
48868 do :
48869 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
48870 if test "x$ac_cv_func__modff" = x""yes; then :
48871 cat >>confdefs.h <<_ACEOF
48872 #define HAVE__MODFF 1
48873 _ACEOF
48876 done
48885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
48886 $as_echo_n "checking for modf declaration... " >&6; }
48887 if test x${glibcxx_cv_func_modf_use+set} != xset; then
48888 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
48889 $as_echo_n "(cached) " >&6
48890 else
48893 ac_ext=cpp
48894 ac_cpp='$CXXCPP $CPPFLAGS'
48895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48900 /* end confdefs.h. */
48901 #include <math.h>
48903 main ()
48905 modf(0, 0);
48907 return 0;
48909 _ACEOF
48910 if ac_fn_cxx_try_compile "$LINENO"; then :
48911 glibcxx_cv_func_modf_use=yes
48912 else
48913 glibcxx_cv_func_modf_use=no
48915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48916 ac_ext=c
48917 ac_cpp='$CPP $CPPFLAGS'
48918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
48927 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
48929 if test x$glibcxx_cv_func_modf_use = x"yes"; then
48930 for ac_func in modf
48931 do :
48932 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
48933 if test "x$ac_cv_func_modf" = x""yes; then :
48934 cat >>confdefs.h <<_ACEOF
48935 #define HAVE_MODF 1
48936 _ACEOF
48939 done
48941 else
48943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
48944 $as_echo_n "checking for _modf declaration... " >&6; }
48945 if test x${glibcxx_cv_func__modf_use+set} != xset; then
48946 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
48947 $as_echo_n "(cached) " >&6
48948 else
48951 ac_ext=cpp
48952 ac_cpp='$CXXCPP $CPPFLAGS'
48953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48958 /* end confdefs.h. */
48959 #include <math.h>
48961 main ()
48963 _modf(0, 0);
48965 return 0;
48967 _ACEOF
48968 if ac_fn_cxx_try_compile "$LINENO"; then :
48969 glibcxx_cv_func__modf_use=yes
48970 else
48971 glibcxx_cv_func__modf_use=no
48973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48974 ac_ext=c
48975 ac_cpp='$CPP $CPPFLAGS'
48976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
48985 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
48987 if test x$glibcxx_cv_func__modf_use = x"yes"; then
48988 for ac_func in _modf
48989 do :
48990 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
48991 if test "x$ac_cv_func__modf" = x""yes; then :
48992 cat >>confdefs.h <<_ACEOF
48993 #define HAVE__MODF 1
48994 _ACEOF
48997 done
49006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
49007 $as_echo_n "checking for powf declaration... " >&6; }
49008 if test x${glibcxx_cv_func_powf_use+set} != xset; then
49009 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
49010 $as_echo_n "(cached) " >&6
49011 else
49014 ac_ext=cpp
49015 ac_cpp='$CXXCPP $CPPFLAGS'
49016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49021 /* end confdefs.h. */
49022 #include <math.h>
49024 main ()
49026 powf(0, 0);
49028 return 0;
49030 _ACEOF
49031 if ac_fn_cxx_try_compile "$LINENO"; then :
49032 glibcxx_cv_func_powf_use=yes
49033 else
49034 glibcxx_cv_func_powf_use=no
49036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49037 ac_ext=c
49038 ac_cpp='$CPP $CPPFLAGS'
49039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
49048 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
49050 if test x$glibcxx_cv_func_powf_use = x"yes"; then
49051 for ac_func in powf
49052 do :
49053 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
49054 if test "x$ac_cv_func_powf" = x""yes; then :
49055 cat >>confdefs.h <<_ACEOF
49056 #define HAVE_POWF 1
49057 _ACEOF
49060 done
49062 else
49064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
49065 $as_echo_n "checking for _powf declaration... " >&6; }
49066 if test x${glibcxx_cv_func__powf_use+set} != xset; then
49067 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
49068 $as_echo_n "(cached) " >&6
49069 else
49072 ac_ext=cpp
49073 ac_cpp='$CXXCPP $CPPFLAGS'
49074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49079 /* end confdefs.h. */
49080 #include <math.h>
49082 main ()
49084 _powf(0, 0);
49086 return 0;
49088 _ACEOF
49089 if ac_fn_cxx_try_compile "$LINENO"; then :
49090 glibcxx_cv_func__powf_use=yes
49091 else
49092 glibcxx_cv_func__powf_use=no
49094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49095 ac_ext=c
49096 ac_cpp='$CPP $CPPFLAGS'
49097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
49106 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
49108 if test x$glibcxx_cv_func__powf_use = x"yes"; then
49109 for ac_func in _powf
49110 do :
49111 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
49112 if test "x$ac_cv_func__powf" = x""yes; then :
49113 cat >>confdefs.h <<_ACEOF
49114 #define HAVE__POWF 1
49115 _ACEOF
49118 done
49127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
49128 $as_echo_n "checking for sqrtf declaration... " >&6; }
49129 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
49130 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
49131 $as_echo_n "(cached) " >&6
49132 else
49135 ac_ext=cpp
49136 ac_cpp='$CXXCPP $CPPFLAGS'
49137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49142 /* end confdefs.h. */
49143 #include <math.h>
49144 #ifdef HAVE_IEEEFP_H
49145 #include <ieeefp.h>
49146 #endif
49149 main ()
49151 sqrtf(0);
49153 return 0;
49155 _ACEOF
49156 if ac_fn_cxx_try_compile "$LINENO"; then :
49157 glibcxx_cv_func_sqrtf_use=yes
49158 else
49159 glibcxx_cv_func_sqrtf_use=no
49161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49162 ac_ext=c
49163 ac_cpp='$CPP $CPPFLAGS'
49164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
49173 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
49175 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
49176 for ac_func in sqrtf
49177 do :
49178 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
49179 if test "x$ac_cv_func_sqrtf" = x""yes; then :
49180 cat >>confdefs.h <<_ACEOF
49181 #define HAVE_SQRTF 1
49182 _ACEOF
49185 done
49187 else
49189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
49190 $as_echo_n "checking for _sqrtf declaration... " >&6; }
49191 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
49192 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
49193 $as_echo_n "(cached) " >&6
49194 else
49197 ac_ext=cpp
49198 ac_cpp='$CXXCPP $CPPFLAGS'
49199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49204 /* end confdefs.h. */
49205 #include <math.h>
49206 #ifdef HAVE_IEEEFP_H
49207 #include <ieeefp.h>
49208 #endif
49211 main ()
49213 _sqrtf(0);
49215 return 0;
49217 _ACEOF
49218 if ac_fn_cxx_try_compile "$LINENO"; then :
49219 glibcxx_cv_func__sqrtf_use=yes
49220 else
49221 glibcxx_cv_func__sqrtf_use=no
49223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49224 ac_ext=c
49225 ac_cpp='$CPP $CPPFLAGS'
49226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
49235 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
49237 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
49238 for ac_func in _sqrtf
49239 do :
49240 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
49241 if test "x$ac_cv_func__sqrtf" = x""yes; then :
49242 cat >>confdefs.h <<_ACEOF
49243 #define HAVE__SQRTF 1
49244 _ACEOF
49247 done
49256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
49257 $as_echo_n "checking for sincosf declaration... " >&6; }
49258 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
49259 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
49260 $as_echo_n "(cached) " >&6
49261 else
49264 ac_ext=cpp
49265 ac_cpp='$CXXCPP $CPPFLAGS'
49266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49271 /* end confdefs.h. */
49272 #include <math.h>
49274 main ()
49276 sincosf(0, 0, 0);
49278 return 0;
49280 _ACEOF
49281 if ac_fn_cxx_try_compile "$LINENO"; then :
49282 glibcxx_cv_func_sincosf_use=yes
49283 else
49284 glibcxx_cv_func_sincosf_use=no
49286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49287 ac_ext=c
49288 ac_cpp='$CPP $CPPFLAGS'
49289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
49298 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
49300 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
49301 for ac_func in sincosf
49302 do :
49303 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
49304 if test "x$ac_cv_func_sincosf" = x""yes; then :
49305 cat >>confdefs.h <<_ACEOF
49306 #define HAVE_SINCOSF 1
49307 _ACEOF
49310 done
49312 else
49314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
49315 $as_echo_n "checking for _sincosf declaration... " >&6; }
49316 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
49317 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
49318 $as_echo_n "(cached) " >&6
49319 else
49322 ac_ext=cpp
49323 ac_cpp='$CXXCPP $CPPFLAGS'
49324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49329 /* end confdefs.h. */
49330 #include <math.h>
49332 main ()
49334 _sincosf(0, 0, 0);
49336 return 0;
49338 _ACEOF
49339 if ac_fn_cxx_try_compile "$LINENO"; then :
49340 glibcxx_cv_func__sincosf_use=yes
49341 else
49342 glibcxx_cv_func__sincosf_use=no
49344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49345 ac_ext=c
49346 ac_cpp='$CPP $CPPFLAGS'
49347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
49356 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
49358 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
49359 for ac_func in _sincosf
49360 do :
49361 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
49362 if test "x$ac_cv_func__sincosf" = x""yes; then :
49363 cat >>confdefs.h <<_ACEOF
49364 #define HAVE__SINCOSF 1
49365 _ACEOF
49368 done
49377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
49378 $as_echo_n "checking for finitef declaration... " >&6; }
49379 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
49380 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
49381 $as_echo_n "(cached) " >&6
49382 else
49385 ac_ext=cpp
49386 ac_cpp='$CXXCPP $CPPFLAGS'
49387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49392 /* end confdefs.h. */
49393 #include <math.h>
49394 #ifdef HAVE_IEEEFP_H
49395 #include <ieeefp.h>
49396 #endif
49399 main ()
49401 finitef(0);
49403 return 0;
49405 _ACEOF
49406 if ac_fn_cxx_try_compile "$LINENO"; then :
49407 glibcxx_cv_func_finitef_use=yes
49408 else
49409 glibcxx_cv_func_finitef_use=no
49411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49412 ac_ext=c
49413 ac_cpp='$CPP $CPPFLAGS'
49414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
49423 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
49425 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
49426 for ac_func in finitef
49427 do :
49428 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
49429 if test "x$ac_cv_func_finitef" = x""yes; then :
49430 cat >>confdefs.h <<_ACEOF
49431 #define HAVE_FINITEF 1
49432 _ACEOF
49435 done
49437 else
49439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
49440 $as_echo_n "checking for _finitef declaration... " >&6; }
49441 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
49442 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
49443 $as_echo_n "(cached) " >&6
49444 else
49447 ac_ext=cpp
49448 ac_cpp='$CXXCPP $CPPFLAGS'
49449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49454 /* end confdefs.h. */
49455 #include <math.h>
49456 #ifdef HAVE_IEEEFP_H
49457 #include <ieeefp.h>
49458 #endif
49461 main ()
49463 _finitef(0);
49465 return 0;
49467 _ACEOF
49468 if ac_fn_cxx_try_compile "$LINENO"; then :
49469 glibcxx_cv_func__finitef_use=yes
49470 else
49471 glibcxx_cv_func__finitef_use=no
49473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49474 ac_ext=c
49475 ac_cpp='$CPP $CPPFLAGS'
49476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
49485 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
49487 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
49488 for ac_func in _finitef
49489 do :
49490 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
49491 if test "x$ac_cv_func__finitef" = x""yes; then :
49492 cat >>confdefs.h <<_ACEOF
49493 #define HAVE__FINITEF 1
49494 _ACEOF
49497 done
49506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
49507 $as_echo_n "checking for long double trig functions... " >&6; }
49508 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
49509 $as_echo_n "(cached) " >&6
49510 else
49513 ac_ext=cpp
49514 ac_cpp='$CXXCPP $CPPFLAGS'
49515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49520 /* end confdefs.h. */
49521 #include <math.h>
49523 main ()
49525 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
49527 return 0;
49529 _ACEOF
49530 if ac_fn_cxx_try_compile "$LINENO"; then :
49531 glibcxx_cv_func_long_double_trig_use=yes
49532 else
49533 glibcxx_cv_func_long_double_trig_use=no
49535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49536 ac_ext=c
49537 ac_cpp='$CPP $CPPFLAGS'
49538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
49545 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
49546 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
49547 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
49548 do :
49549 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49550 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49551 eval as_val=\$$as_ac_var
49552 if test "x$as_val" = x""yes; then :
49553 cat >>confdefs.h <<_ACEOF
49554 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49555 _ACEOF
49558 done
49560 else
49561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
49562 $as_echo_n "checking for _long double trig functions... " >&6; }
49563 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
49564 $as_echo_n "(cached) " >&6
49565 else
49568 ac_ext=cpp
49569 ac_cpp='$CXXCPP $CPPFLAGS'
49570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49575 /* end confdefs.h. */
49576 #include <math.h>
49578 main ()
49580 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
49582 return 0;
49584 _ACEOF
49585 if ac_fn_cxx_try_compile "$LINENO"; then :
49586 glibcxx_cv_func__long_double_trig_use=yes
49587 else
49588 glibcxx_cv_func__long_double_trig_use=no
49590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49591 ac_ext=c
49592 ac_cpp='$CPP $CPPFLAGS'
49593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
49600 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
49601 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
49602 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
49603 do :
49604 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49605 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49606 eval as_val=\$$as_ac_var
49607 if test "x$as_val" = x""yes; then :
49608 cat >>confdefs.h <<_ACEOF
49609 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49610 _ACEOF
49613 done
49622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
49623 $as_echo_n "checking for long double round functions... " >&6; }
49624 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
49625 $as_echo_n "(cached) " >&6
49626 else
49629 ac_ext=cpp
49630 ac_cpp='$CXXCPP $CPPFLAGS'
49631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49636 /* end confdefs.h. */
49637 #include <math.h>
49639 main ()
49641 ceill (0); floorl (0);
49643 return 0;
49645 _ACEOF
49646 if ac_fn_cxx_try_compile "$LINENO"; then :
49647 glibcxx_cv_func_long_double_round_use=yes
49648 else
49649 glibcxx_cv_func_long_double_round_use=no
49651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49652 ac_ext=c
49653 ac_cpp='$CPP $CPPFLAGS'
49654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
49661 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
49662 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
49663 for ac_func in ceill floorl
49664 do :
49665 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49666 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49667 eval as_val=\$$as_ac_var
49668 if test "x$as_val" = x""yes; then :
49669 cat >>confdefs.h <<_ACEOF
49670 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49671 _ACEOF
49674 done
49676 else
49677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
49678 $as_echo_n "checking for _long double round functions... " >&6; }
49679 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
49680 $as_echo_n "(cached) " >&6
49681 else
49684 ac_ext=cpp
49685 ac_cpp='$CXXCPP $CPPFLAGS'
49686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49691 /* end confdefs.h. */
49692 #include <math.h>
49694 main ()
49696 _ceill (0); _floorl (0);
49698 return 0;
49700 _ACEOF
49701 if ac_fn_cxx_try_compile "$LINENO"; then :
49702 glibcxx_cv_func__long_double_round_use=yes
49703 else
49704 glibcxx_cv_func__long_double_round_use=no
49706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49707 ac_ext=c
49708 ac_cpp='$CPP $CPPFLAGS'
49709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
49716 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
49717 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
49718 for ac_func in _ceill _floorl
49719 do :
49720 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49721 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49722 eval as_val=\$$as_ac_var
49723 if test "x$as_val" = x""yes; then :
49724 cat >>confdefs.h <<_ACEOF
49725 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49726 _ACEOF
49729 done
49739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
49740 $as_echo_n "checking for isnanl declaration... " >&6; }
49741 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
49742 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
49743 $as_echo_n "(cached) " >&6
49744 else
49747 ac_ext=cpp
49748 ac_cpp='$CXXCPP $CPPFLAGS'
49749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49754 /* end confdefs.h. */
49755 #include <math.h>
49756 #ifdef HAVE_IEEEFP_H
49757 #include <ieeefp.h>
49758 #endif
49761 main ()
49763 isnanl(0);
49765 return 0;
49767 _ACEOF
49768 if ac_fn_cxx_try_compile "$LINENO"; then :
49769 glibcxx_cv_func_isnanl_use=yes
49770 else
49771 glibcxx_cv_func_isnanl_use=no
49773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49774 ac_ext=c
49775 ac_cpp='$CPP $CPPFLAGS'
49776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
49785 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
49787 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
49788 for ac_func in isnanl
49789 do :
49790 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
49791 if test "x$ac_cv_func_isnanl" = x""yes; then :
49792 cat >>confdefs.h <<_ACEOF
49793 #define HAVE_ISNANL 1
49794 _ACEOF
49797 done
49799 else
49801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
49802 $as_echo_n "checking for _isnanl declaration... " >&6; }
49803 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
49804 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
49805 $as_echo_n "(cached) " >&6
49806 else
49809 ac_ext=cpp
49810 ac_cpp='$CXXCPP $CPPFLAGS'
49811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49816 /* end confdefs.h. */
49817 #include <math.h>
49818 #ifdef HAVE_IEEEFP_H
49819 #include <ieeefp.h>
49820 #endif
49823 main ()
49825 _isnanl(0);
49827 return 0;
49829 _ACEOF
49830 if ac_fn_cxx_try_compile "$LINENO"; then :
49831 glibcxx_cv_func__isnanl_use=yes
49832 else
49833 glibcxx_cv_func__isnanl_use=no
49835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49836 ac_ext=c
49837 ac_cpp='$CPP $CPPFLAGS'
49838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
49847 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
49849 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
49850 for ac_func in _isnanl
49851 do :
49852 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
49853 if test "x$ac_cv_func__isnanl" = x""yes; then :
49854 cat >>confdefs.h <<_ACEOF
49855 #define HAVE__ISNANL 1
49856 _ACEOF
49859 done
49868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
49869 $as_echo_n "checking for isinfl declaration... " >&6; }
49870 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
49871 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
49872 $as_echo_n "(cached) " >&6
49873 else
49876 ac_ext=cpp
49877 ac_cpp='$CXXCPP $CPPFLAGS'
49878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49883 /* end confdefs.h. */
49884 #include <math.h>
49885 #ifdef HAVE_IEEEFP_H
49886 #include <ieeefp.h>
49887 #endif
49890 main ()
49892 isinfl(0);
49894 return 0;
49896 _ACEOF
49897 if ac_fn_cxx_try_compile "$LINENO"; then :
49898 glibcxx_cv_func_isinfl_use=yes
49899 else
49900 glibcxx_cv_func_isinfl_use=no
49902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49903 ac_ext=c
49904 ac_cpp='$CPP $CPPFLAGS'
49905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
49914 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
49916 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
49917 for ac_func in isinfl
49918 do :
49919 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
49920 if test "x$ac_cv_func_isinfl" = x""yes; then :
49921 cat >>confdefs.h <<_ACEOF
49922 #define HAVE_ISINFL 1
49923 _ACEOF
49926 done
49928 else
49930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
49931 $as_echo_n "checking for _isinfl declaration... " >&6; }
49932 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
49933 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
49934 $as_echo_n "(cached) " >&6
49935 else
49938 ac_ext=cpp
49939 ac_cpp='$CXXCPP $CPPFLAGS'
49940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49945 /* end confdefs.h. */
49946 #include <math.h>
49947 #ifdef HAVE_IEEEFP_H
49948 #include <ieeefp.h>
49949 #endif
49952 main ()
49954 _isinfl(0);
49956 return 0;
49958 _ACEOF
49959 if ac_fn_cxx_try_compile "$LINENO"; then :
49960 glibcxx_cv_func__isinfl_use=yes
49961 else
49962 glibcxx_cv_func__isinfl_use=no
49964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49965 ac_ext=c
49966 ac_cpp='$CPP $CPPFLAGS'
49967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
49976 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
49978 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
49979 for ac_func in _isinfl
49980 do :
49981 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
49982 if test "x$ac_cv_func__isinfl" = x""yes; then :
49983 cat >>confdefs.h <<_ACEOF
49984 #define HAVE__ISINFL 1
49985 _ACEOF
49988 done
49997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
49998 $as_echo_n "checking for atan2l declaration... " >&6; }
49999 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
50000 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
50001 $as_echo_n "(cached) " >&6
50002 else
50005 ac_ext=cpp
50006 ac_cpp='$CXXCPP $CPPFLAGS'
50007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50012 /* end confdefs.h. */
50013 #include <math.h>
50015 main ()
50017 atan2l(0, 0);
50019 return 0;
50021 _ACEOF
50022 if ac_fn_cxx_try_compile "$LINENO"; then :
50023 glibcxx_cv_func_atan2l_use=yes
50024 else
50025 glibcxx_cv_func_atan2l_use=no
50027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50028 ac_ext=c
50029 ac_cpp='$CPP $CPPFLAGS'
50030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
50039 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
50041 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
50042 for ac_func in atan2l
50043 do :
50044 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
50045 if test "x$ac_cv_func_atan2l" = x""yes; then :
50046 cat >>confdefs.h <<_ACEOF
50047 #define HAVE_ATAN2L 1
50048 _ACEOF
50051 done
50053 else
50055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
50056 $as_echo_n "checking for _atan2l declaration... " >&6; }
50057 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
50058 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
50059 $as_echo_n "(cached) " >&6
50060 else
50063 ac_ext=cpp
50064 ac_cpp='$CXXCPP $CPPFLAGS'
50065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50070 /* end confdefs.h. */
50071 #include <math.h>
50073 main ()
50075 _atan2l(0, 0);
50077 return 0;
50079 _ACEOF
50080 if ac_fn_cxx_try_compile "$LINENO"; then :
50081 glibcxx_cv_func__atan2l_use=yes
50082 else
50083 glibcxx_cv_func__atan2l_use=no
50085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50086 ac_ext=c
50087 ac_cpp='$CPP $CPPFLAGS'
50088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
50097 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
50099 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
50100 for ac_func in _atan2l
50101 do :
50102 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
50103 if test "x$ac_cv_func__atan2l" = x""yes; then :
50104 cat >>confdefs.h <<_ACEOF
50105 #define HAVE__ATAN2L 1
50106 _ACEOF
50109 done
50118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
50119 $as_echo_n "checking for expl declaration... " >&6; }
50120 if test x${glibcxx_cv_func_expl_use+set} != xset; then
50121 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
50122 $as_echo_n "(cached) " >&6
50123 else
50126 ac_ext=cpp
50127 ac_cpp='$CXXCPP $CPPFLAGS'
50128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50133 /* end confdefs.h. */
50134 #include <math.h>
50135 #ifdef HAVE_IEEEFP_H
50136 #include <ieeefp.h>
50137 #endif
50140 main ()
50142 expl(0);
50144 return 0;
50146 _ACEOF
50147 if ac_fn_cxx_try_compile "$LINENO"; then :
50148 glibcxx_cv_func_expl_use=yes
50149 else
50150 glibcxx_cv_func_expl_use=no
50152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50153 ac_ext=c
50154 ac_cpp='$CPP $CPPFLAGS'
50155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
50164 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
50166 if test x$glibcxx_cv_func_expl_use = x"yes"; then
50167 for ac_func in expl
50168 do :
50169 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
50170 if test "x$ac_cv_func_expl" = x""yes; then :
50171 cat >>confdefs.h <<_ACEOF
50172 #define HAVE_EXPL 1
50173 _ACEOF
50176 done
50178 else
50180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
50181 $as_echo_n "checking for _expl declaration... " >&6; }
50182 if test x${glibcxx_cv_func__expl_use+set} != xset; then
50183 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
50184 $as_echo_n "(cached) " >&6
50185 else
50188 ac_ext=cpp
50189 ac_cpp='$CXXCPP $CPPFLAGS'
50190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50195 /* end confdefs.h. */
50196 #include <math.h>
50197 #ifdef HAVE_IEEEFP_H
50198 #include <ieeefp.h>
50199 #endif
50202 main ()
50204 _expl(0);
50206 return 0;
50208 _ACEOF
50209 if ac_fn_cxx_try_compile "$LINENO"; then :
50210 glibcxx_cv_func__expl_use=yes
50211 else
50212 glibcxx_cv_func__expl_use=no
50214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50215 ac_ext=c
50216 ac_cpp='$CPP $CPPFLAGS'
50217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
50226 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
50228 if test x$glibcxx_cv_func__expl_use = x"yes"; then
50229 for ac_func in _expl
50230 do :
50231 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
50232 if test "x$ac_cv_func__expl" = x""yes; then :
50233 cat >>confdefs.h <<_ACEOF
50234 #define HAVE__EXPL 1
50235 _ACEOF
50238 done
50247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
50248 $as_echo_n "checking for fabsl declaration... " >&6; }
50249 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
50250 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
50251 $as_echo_n "(cached) " >&6
50252 else
50255 ac_ext=cpp
50256 ac_cpp='$CXXCPP $CPPFLAGS'
50257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50262 /* end confdefs.h. */
50263 #include <math.h>
50264 #ifdef HAVE_IEEEFP_H
50265 #include <ieeefp.h>
50266 #endif
50269 main ()
50271 fabsl(0);
50273 return 0;
50275 _ACEOF
50276 if ac_fn_cxx_try_compile "$LINENO"; then :
50277 glibcxx_cv_func_fabsl_use=yes
50278 else
50279 glibcxx_cv_func_fabsl_use=no
50281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50282 ac_ext=c
50283 ac_cpp='$CPP $CPPFLAGS'
50284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
50293 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
50295 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
50296 for ac_func in fabsl
50297 do :
50298 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
50299 if test "x$ac_cv_func_fabsl" = x""yes; then :
50300 cat >>confdefs.h <<_ACEOF
50301 #define HAVE_FABSL 1
50302 _ACEOF
50305 done
50307 else
50309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
50310 $as_echo_n "checking for _fabsl declaration... " >&6; }
50311 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
50312 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
50313 $as_echo_n "(cached) " >&6
50314 else
50317 ac_ext=cpp
50318 ac_cpp='$CXXCPP $CPPFLAGS'
50319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50324 /* end confdefs.h. */
50325 #include <math.h>
50326 #ifdef HAVE_IEEEFP_H
50327 #include <ieeefp.h>
50328 #endif
50331 main ()
50333 _fabsl(0);
50335 return 0;
50337 _ACEOF
50338 if ac_fn_cxx_try_compile "$LINENO"; then :
50339 glibcxx_cv_func__fabsl_use=yes
50340 else
50341 glibcxx_cv_func__fabsl_use=no
50343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50344 ac_ext=c
50345 ac_cpp='$CPP $CPPFLAGS'
50346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
50355 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
50357 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
50358 for ac_func in _fabsl
50359 do :
50360 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
50361 if test "x$ac_cv_func__fabsl" = x""yes; then :
50362 cat >>confdefs.h <<_ACEOF
50363 #define HAVE__FABSL 1
50364 _ACEOF
50367 done
50376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
50377 $as_echo_n "checking for fmodl declaration... " >&6; }
50378 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
50379 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
50380 $as_echo_n "(cached) " >&6
50381 else
50384 ac_ext=cpp
50385 ac_cpp='$CXXCPP $CPPFLAGS'
50386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50391 /* end confdefs.h. */
50392 #include <math.h>
50394 main ()
50396 fmodl(0, 0);
50398 return 0;
50400 _ACEOF
50401 if ac_fn_cxx_try_compile "$LINENO"; then :
50402 glibcxx_cv_func_fmodl_use=yes
50403 else
50404 glibcxx_cv_func_fmodl_use=no
50406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50407 ac_ext=c
50408 ac_cpp='$CPP $CPPFLAGS'
50409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
50418 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
50420 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
50421 for ac_func in fmodl
50422 do :
50423 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
50424 if test "x$ac_cv_func_fmodl" = x""yes; then :
50425 cat >>confdefs.h <<_ACEOF
50426 #define HAVE_FMODL 1
50427 _ACEOF
50430 done
50432 else
50434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
50435 $as_echo_n "checking for _fmodl declaration... " >&6; }
50436 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
50437 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
50438 $as_echo_n "(cached) " >&6
50439 else
50442 ac_ext=cpp
50443 ac_cpp='$CXXCPP $CPPFLAGS'
50444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50449 /* end confdefs.h. */
50450 #include <math.h>
50452 main ()
50454 _fmodl(0, 0);
50456 return 0;
50458 _ACEOF
50459 if ac_fn_cxx_try_compile "$LINENO"; then :
50460 glibcxx_cv_func__fmodl_use=yes
50461 else
50462 glibcxx_cv_func__fmodl_use=no
50464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50465 ac_ext=c
50466 ac_cpp='$CPP $CPPFLAGS'
50467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
50476 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
50478 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
50479 for ac_func in _fmodl
50480 do :
50481 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
50482 if test "x$ac_cv_func__fmodl" = x""yes; then :
50483 cat >>confdefs.h <<_ACEOF
50484 #define HAVE__FMODL 1
50485 _ACEOF
50488 done
50497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
50498 $as_echo_n "checking for frexpl declaration... " >&6; }
50499 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
50500 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
50501 $as_echo_n "(cached) " >&6
50502 else
50505 ac_ext=cpp
50506 ac_cpp='$CXXCPP $CPPFLAGS'
50507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50512 /* end confdefs.h. */
50513 #include <math.h>
50515 main ()
50517 frexpl(0, 0);
50519 return 0;
50521 _ACEOF
50522 if ac_fn_cxx_try_compile "$LINENO"; then :
50523 glibcxx_cv_func_frexpl_use=yes
50524 else
50525 glibcxx_cv_func_frexpl_use=no
50527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50528 ac_ext=c
50529 ac_cpp='$CPP $CPPFLAGS'
50530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
50539 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
50541 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
50542 for ac_func in frexpl
50543 do :
50544 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
50545 if test "x$ac_cv_func_frexpl" = x""yes; then :
50546 cat >>confdefs.h <<_ACEOF
50547 #define HAVE_FREXPL 1
50548 _ACEOF
50551 done
50553 else
50555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
50556 $as_echo_n "checking for _frexpl declaration... " >&6; }
50557 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
50558 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
50559 $as_echo_n "(cached) " >&6
50560 else
50563 ac_ext=cpp
50564 ac_cpp='$CXXCPP $CPPFLAGS'
50565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50570 /* end confdefs.h. */
50571 #include <math.h>
50573 main ()
50575 _frexpl(0, 0);
50577 return 0;
50579 _ACEOF
50580 if ac_fn_cxx_try_compile "$LINENO"; then :
50581 glibcxx_cv_func__frexpl_use=yes
50582 else
50583 glibcxx_cv_func__frexpl_use=no
50585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50586 ac_ext=c
50587 ac_cpp='$CPP $CPPFLAGS'
50588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
50597 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
50599 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
50600 for ac_func in _frexpl
50601 do :
50602 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
50603 if test "x$ac_cv_func__frexpl" = x""yes; then :
50604 cat >>confdefs.h <<_ACEOF
50605 #define HAVE__FREXPL 1
50606 _ACEOF
50609 done
50618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
50619 $as_echo_n "checking for hypotl declaration... " >&6; }
50620 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
50621 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
50622 $as_echo_n "(cached) " >&6
50623 else
50626 ac_ext=cpp
50627 ac_cpp='$CXXCPP $CPPFLAGS'
50628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50633 /* end confdefs.h. */
50634 #include <math.h>
50636 main ()
50638 hypotl(0, 0);
50640 return 0;
50642 _ACEOF
50643 if ac_fn_cxx_try_compile "$LINENO"; then :
50644 glibcxx_cv_func_hypotl_use=yes
50645 else
50646 glibcxx_cv_func_hypotl_use=no
50648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50649 ac_ext=c
50650 ac_cpp='$CPP $CPPFLAGS'
50651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
50660 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
50662 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
50663 for ac_func in hypotl
50664 do :
50665 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
50666 if test "x$ac_cv_func_hypotl" = x""yes; then :
50667 cat >>confdefs.h <<_ACEOF
50668 #define HAVE_HYPOTL 1
50669 _ACEOF
50672 done
50674 else
50676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
50677 $as_echo_n "checking for _hypotl declaration... " >&6; }
50678 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
50679 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
50680 $as_echo_n "(cached) " >&6
50681 else
50684 ac_ext=cpp
50685 ac_cpp='$CXXCPP $CPPFLAGS'
50686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50691 /* end confdefs.h. */
50692 #include <math.h>
50694 main ()
50696 _hypotl(0, 0);
50698 return 0;
50700 _ACEOF
50701 if ac_fn_cxx_try_compile "$LINENO"; then :
50702 glibcxx_cv_func__hypotl_use=yes
50703 else
50704 glibcxx_cv_func__hypotl_use=no
50706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50707 ac_ext=c
50708 ac_cpp='$CPP $CPPFLAGS'
50709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
50718 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
50720 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
50721 for ac_func in _hypotl
50722 do :
50723 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
50724 if test "x$ac_cv_func__hypotl" = x""yes; then :
50725 cat >>confdefs.h <<_ACEOF
50726 #define HAVE__HYPOTL 1
50727 _ACEOF
50730 done
50739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
50740 $as_echo_n "checking for ldexpl declaration... " >&6; }
50741 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
50742 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
50743 $as_echo_n "(cached) " >&6
50744 else
50747 ac_ext=cpp
50748 ac_cpp='$CXXCPP $CPPFLAGS'
50749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50754 /* end confdefs.h. */
50755 #include <math.h>
50757 main ()
50759 ldexpl(0, 0);
50761 return 0;
50763 _ACEOF
50764 if ac_fn_cxx_try_compile "$LINENO"; then :
50765 glibcxx_cv_func_ldexpl_use=yes
50766 else
50767 glibcxx_cv_func_ldexpl_use=no
50769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50770 ac_ext=c
50771 ac_cpp='$CPP $CPPFLAGS'
50772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
50781 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
50783 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
50784 for ac_func in ldexpl
50785 do :
50786 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
50787 if test "x$ac_cv_func_ldexpl" = x""yes; then :
50788 cat >>confdefs.h <<_ACEOF
50789 #define HAVE_LDEXPL 1
50790 _ACEOF
50793 done
50795 else
50797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
50798 $as_echo_n "checking for _ldexpl declaration... " >&6; }
50799 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
50800 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
50801 $as_echo_n "(cached) " >&6
50802 else
50805 ac_ext=cpp
50806 ac_cpp='$CXXCPP $CPPFLAGS'
50807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50812 /* end confdefs.h. */
50813 #include <math.h>
50815 main ()
50817 _ldexpl(0, 0);
50819 return 0;
50821 _ACEOF
50822 if ac_fn_cxx_try_compile "$LINENO"; then :
50823 glibcxx_cv_func__ldexpl_use=yes
50824 else
50825 glibcxx_cv_func__ldexpl_use=no
50827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50828 ac_ext=c
50829 ac_cpp='$CPP $CPPFLAGS'
50830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
50839 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
50841 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
50842 for ac_func in _ldexpl
50843 do :
50844 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
50845 if test "x$ac_cv_func__ldexpl" = x""yes; then :
50846 cat >>confdefs.h <<_ACEOF
50847 #define HAVE__LDEXPL 1
50848 _ACEOF
50851 done
50860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
50861 $as_echo_n "checking for logl declaration... " >&6; }
50862 if test x${glibcxx_cv_func_logl_use+set} != xset; then
50863 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
50864 $as_echo_n "(cached) " >&6
50865 else
50868 ac_ext=cpp
50869 ac_cpp='$CXXCPP $CPPFLAGS'
50870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50875 /* end confdefs.h. */
50876 #include <math.h>
50877 #ifdef HAVE_IEEEFP_H
50878 #include <ieeefp.h>
50879 #endif
50882 main ()
50884 logl(0);
50886 return 0;
50888 _ACEOF
50889 if ac_fn_cxx_try_compile "$LINENO"; then :
50890 glibcxx_cv_func_logl_use=yes
50891 else
50892 glibcxx_cv_func_logl_use=no
50894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50895 ac_ext=c
50896 ac_cpp='$CPP $CPPFLAGS'
50897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
50906 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
50908 if test x$glibcxx_cv_func_logl_use = x"yes"; then
50909 for ac_func in logl
50910 do :
50911 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
50912 if test "x$ac_cv_func_logl" = x""yes; then :
50913 cat >>confdefs.h <<_ACEOF
50914 #define HAVE_LOGL 1
50915 _ACEOF
50918 done
50920 else
50922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
50923 $as_echo_n "checking for _logl declaration... " >&6; }
50924 if test x${glibcxx_cv_func__logl_use+set} != xset; then
50925 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
50926 $as_echo_n "(cached) " >&6
50927 else
50930 ac_ext=cpp
50931 ac_cpp='$CXXCPP $CPPFLAGS'
50932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50937 /* end confdefs.h. */
50938 #include <math.h>
50939 #ifdef HAVE_IEEEFP_H
50940 #include <ieeefp.h>
50941 #endif
50944 main ()
50946 _logl(0);
50948 return 0;
50950 _ACEOF
50951 if ac_fn_cxx_try_compile "$LINENO"; then :
50952 glibcxx_cv_func__logl_use=yes
50953 else
50954 glibcxx_cv_func__logl_use=no
50956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50957 ac_ext=c
50958 ac_cpp='$CPP $CPPFLAGS'
50959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
50968 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
50970 if test x$glibcxx_cv_func__logl_use = x"yes"; then
50971 for ac_func in _logl
50972 do :
50973 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
50974 if test "x$ac_cv_func__logl" = x""yes; then :
50975 cat >>confdefs.h <<_ACEOF
50976 #define HAVE__LOGL 1
50977 _ACEOF
50980 done
50989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
50990 $as_echo_n "checking for log10l declaration... " >&6; }
50991 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
50992 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
50993 $as_echo_n "(cached) " >&6
50994 else
50997 ac_ext=cpp
50998 ac_cpp='$CXXCPP $CPPFLAGS'
50999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51004 /* end confdefs.h. */
51005 #include <math.h>
51006 #ifdef HAVE_IEEEFP_H
51007 #include <ieeefp.h>
51008 #endif
51011 main ()
51013 log10l(0);
51015 return 0;
51017 _ACEOF
51018 if ac_fn_cxx_try_compile "$LINENO"; then :
51019 glibcxx_cv_func_log10l_use=yes
51020 else
51021 glibcxx_cv_func_log10l_use=no
51023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51024 ac_ext=c
51025 ac_cpp='$CPP $CPPFLAGS'
51026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
51035 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
51037 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
51038 for ac_func in log10l
51039 do :
51040 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
51041 if test "x$ac_cv_func_log10l" = x""yes; then :
51042 cat >>confdefs.h <<_ACEOF
51043 #define HAVE_LOG10L 1
51044 _ACEOF
51047 done
51049 else
51051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
51052 $as_echo_n "checking for _log10l declaration... " >&6; }
51053 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
51054 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
51055 $as_echo_n "(cached) " >&6
51056 else
51059 ac_ext=cpp
51060 ac_cpp='$CXXCPP $CPPFLAGS'
51061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51066 /* end confdefs.h. */
51067 #include <math.h>
51068 #ifdef HAVE_IEEEFP_H
51069 #include <ieeefp.h>
51070 #endif
51073 main ()
51075 _log10l(0);
51077 return 0;
51079 _ACEOF
51080 if ac_fn_cxx_try_compile "$LINENO"; then :
51081 glibcxx_cv_func__log10l_use=yes
51082 else
51083 glibcxx_cv_func__log10l_use=no
51085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51086 ac_ext=c
51087 ac_cpp='$CPP $CPPFLAGS'
51088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
51097 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
51099 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
51100 for ac_func in _log10l
51101 do :
51102 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
51103 if test "x$ac_cv_func__log10l" = x""yes; then :
51104 cat >>confdefs.h <<_ACEOF
51105 #define HAVE__LOG10L 1
51106 _ACEOF
51109 done
51118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
51119 $as_echo_n "checking for modfl declaration... " >&6; }
51120 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
51121 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
51122 $as_echo_n "(cached) " >&6
51123 else
51126 ac_ext=cpp
51127 ac_cpp='$CXXCPP $CPPFLAGS'
51128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51133 /* end confdefs.h. */
51134 #include <math.h>
51136 main ()
51138 modfl(0, 0);
51140 return 0;
51142 _ACEOF
51143 if ac_fn_cxx_try_compile "$LINENO"; then :
51144 glibcxx_cv_func_modfl_use=yes
51145 else
51146 glibcxx_cv_func_modfl_use=no
51148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51149 ac_ext=c
51150 ac_cpp='$CPP $CPPFLAGS'
51151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
51160 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
51162 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
51163 for ac_func in modfl
51164 do :
51165 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
51166 if test "x$ac_cv_func_modfl" = x""yes; then :
51167 cat >>confdefs.h <<_ACEOF
51168 #define HAVE_MODFL 1
51169 _ACEOF
51172 done
51174 else
51176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
51177 $as_echo_n "checking for _modfl declaration... " >&6; }
51178 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
51179 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
51180 $as_echo_n "(cached) " >&6
51181 else
51184 ac_ext=cpp
51185 ac_cpp='$CXXCPP $CPPFLAGS'
51186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51191 /* end confdefs.h. */
51192 #include <math.h>
51194 main ()
51196 _modfl(0, 0);
51198 return 0;
51200 _ACEOF
51201 if ac_fn_cxx_try_compile "$LINENO"; then :
51202 glibcxx_cv_func__modfl_use=yes
51203 else
51204 glibcxx_cv_func__modfl_use=no
51206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51207 ac_ext=c
51208 ac_cpp='$CPP $CPPFLAGS'
51209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
51218 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
51220 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
51221 for ac_func in _modfl
51222 do :
51223 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
51224 if test "x$ac_cv_func__modfl" = x""yes; then :
51225 cat >>confdefs.h <<_ACEOF
51226 #define HAVE__MODFL 1
51227 _ACEOF
51230 done
51239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
51240 $as_echo_n "checking for powl declaration... " >&6; }
51241 if test x${glibcxx_cv_func_powl_use+set} != xset; then
51242 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
51243 $as_echo_n "(cached) " >&6
51244 else
51247 ac_ext=cpp
51248 ac_cpp='$CXXCPP $CPPFLAGS'
51249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51254 /* end confdefs.h. */
51255 #include <math.h>
51257 main ()
51259 powl(0, 0);
51261 return 0;
51263 _ACEOF
51264 if ac_fn_cxx_try_compile "$LINENO"; then :
51265 glibcxx_cv_func_powl_use=yes
51266 else
51267 glibcxx_cv_func_powl_use=no
51269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51270 ac_ext=c
51271 ac_cpp='$CPP $CPPFLAGS'
51272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
51281 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
51283 if test x$glibcxx_cv_func_powl_use = x"yes"; then
51284 for ac_func in powl
51285 do :
51286 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
51287 if test "x$ac_cv_func_powl" = x""yes; then :
51288 cat >>confdefs.h <<_ACEOF
51289 #define HAVE_POWL 1
51290 _ACEOF
51293 done
51295 else
51297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
51298 $as_echo_n "checking for _powl declaration... " >&6; }
51299 if test x${glibcxx_cv_func__powl_use+set} != xset; then
51300 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
51301 $as_echo_n "(cached) " >&6
51302 else
51305 ac_ext=cpp
51306 ac_cpp='$CXXCPP $CPPFLAGS'
51307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51312 /* end confdefs.h. */
51313 #include <math.h>
51315 main ()
51317 _powl(0, 0);
51319 return 0;
51321 _ACEOF
51322 if ac_fn_cxx_try_compile "$LINENO"; then :
51323 glibcxx_cv_func__powl_use=yes
51324 else
51325 glibcxx_cv_func__powl_use=no
51327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51328 ac_ext=c
51329 ac_cpp='$CPP $CPPFLAGS'
51330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
51339 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
51341 if test x$glibcxx_cv_func__powl_use = x"yes"; then
51342 for ac_func in _powl
51343 do :
51344 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
51345 if test "x$ac_cv_func__powl" = x""yes; then :
51346 cat >>confdefs.h <<_ACEOF
51347 #define HAVE__POWL 1
51348 _ACEOF
51351 done
51360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
51361 $as_echo_n "checking for sqrtl declaration... " >&6; }
51362 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
51363 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
51364 $as_echo_n "(cached) " >&6
51365 else
51368 ac_ext=cpp
51369 ac_cpp='$CXXCPP $CPPFLAGS'
51370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51375 /* end confdefs.h. */
51376 #include <math.h>
51377 #ifdef HAVE_IEEEFP_H
51378 #include <ieeefp.h>
51379 #endif
51382 main ()
51384 sqrtl(0);
51386 return 0;
51388 _ACEOF
51389 if ac_fn_cxx_try_compile "$LINENO"; then :
51390 glibcxx_cv_func_sqrtl_use=yes
51391 else
51392 glibcxx_cv_func_sqrtl_use=no
51394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51395 ac_ext=c
51396 ac_cpp='$CPP $CPPFLAGS'
51397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
51406 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
51408 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
51409 for ac_func in sqrtl
51410 do :
51411 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
51412 if test "x$ac_cv_func_sqrtl" = x""yes; then :
51413 cat >>confdefs.h <<_ACEOF
51414 #define HAVE_SQRTL 1
51415 _ACEOF
51418 done
51420 else
51422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
51423 $as_echo_n "checking for _sqrtl declaration... " >&6; }
51424 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
51425 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
51426 $as_echo_n "(cached) " >&6
51427 else
51430 ac_ext=cpp
51431 ac_cpp='$CXXCPP $CPPFLAGS'
51432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51437 /* end confdefs.h. */
51438 #include <math.h>
51439 #ifdef HAVE_IEEEFP_H
51440 #include <ieeefp.h>
51441 #endif
51444 main ()
51446 _sqrtl(0);
51448 return 0;
51450 _ACEOF
51451 if ac_fn_cxx_try_compile "$LINENO"; then :
51452 glibcxx_cv_func__sqrtl_use=yes
51453 else
51454 glibcxx_cv_func__sqrtl_use=no
51456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51457 ac_ext=c
51458 ac_cpp='$CPP $CPPFLAGS'
51459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
51468 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
51470 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
51471 for ac_func in _sqrtl
51472 do :
51473 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
51474 if test "x$ac_cv_func__sqrtl" = x""yes; then :
51475 cat >>confdefs.h <<_ACEOF
51476 #define HAVE__SQRTL 1
51477 _ACEOF
51480 done
51489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
51490 $as_echo_n "checking for sincosl declaration... " >&6; }
51491 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
51492 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
51493 $as_echo_n "(cached) " >&6
51494 else
51497 ac_ext=cpp
51498 ac_cpp='$CXXCPP $CPPFLAGS'
51499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51504 /* end confdefs.h. */
51505 #include <math.h>
51507 main ()
51509 sincosl(0, 0, 0);
51511 return 0;
51513 _ACEOF
51514 if ac_fn_cxx_try_compile "$LINENO"; then :
51515 glibcxx_cv_func_sincosl_use=yes
51516 else
51517 glibcxx_cv_func_sincosl_use=no
51519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51520 ac_ext=c
51521 ac_cpp='$CPP $CPPFLAGS'
51522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
51531 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
51533 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
51534 for ac_func in sincosl
51535 do :
51536 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
51537 if test "x$ac_cv_func_sincosl" = x""yes; then :
51538 cat >>confdefs.h <<_ACEOF
51539 #define HAVE_SINCOSL 1
51540 _ACEOF
51543 done
51545 else
51547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
51548 $as_echo_n "checking for _sincosl declaration... " >&6; }
51549 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
51550 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
51551 $as_echo_n "(cached) " >&6
51552 else
51555 ac_ext=cpp
51556 ac_cpp='$CXXCPP $CPPFLAGS'
51557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51562 /* end confdefs.h. */
51563 #include <math.h>
51565 main ()
51567 _sincosl(0, 0, 0);
51569 return 0;
51571 _ACEOF
51572 if ac_fn_cxx_try_compile "$LINENO"; then :
51573 glibcxx_cv_func__sincosl_use=yes
51574 else
51575 glibcxx_cv_func__sincosl_use=no
51577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51578 ac_ext=c
51579 ac_cpp='$CPP $CPPFLAGS'
51580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
51589 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
51591 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
51592 for ac_func in _sincosl
51593 do :
51594 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
51595 if test "x$ac_cv_func__sincosl" = x""yes; then :
51596 cat >>confdefs.h <<_ACEOF
51597 #define HAVE__SINCOSL 1
51598 _ACEOF
51601 done
51610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
51611 $as_echo_n "checking for finitel declaration... " >&6; }
51612 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
51613 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
51614 $as_echo_n "(cached) " >&6
51615 else
51618 ac_ext=cpp
51619 ac_cpp='$CXXCPP $CPPFLAGS'
51620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51625 /* end confdefs.h. */
51626 #include <math.h>
51627 #ifdef HAVE_IEEEFP_H
51628 #include <ieeefp.h>
51629 #endif
51632 main ()
51634 finitel(0);
51636 return 0;
51638 _ACEOF
51639 if ac_fn_cxx_try_compile "$LINENO"; then :
51640 glibcxx_cv_func_finitel_use=yes
51641 else
51642 glibcxx_cv_func_finitel_use=no
51644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51645 ac_ext=c
51646 ac_cpp='$CPP $CPPFLAGS'
51647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
51656 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
51658 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
51659 for ac_func in finitel
51660 do :
51661 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
51662 if test "x$ac_cv_func_finitel" = x""yes; then :
51663 cat >>confdefs.h <<_ACEOF
51664 #define HAVE_FINITEL 1
51665 _ACEOF
51668 done
51670 else
51672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
51673 $as_echo_n "checking for _finitel declaration... " >&6; }
51674 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
51675 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
51676 $as_echo_n "(cached) " >&6
51677 else
51680 ac_ext=cpp
51681 ac_cpp='$CXXCPP $CPPFLAGS'
51682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51687 /* end confdefs.h. */
51688 #include <math.h>
51689 #ifdef HAVE_IEEEFP_H
51690 #include <ieeefp.h>
51691 #endif
51694 main ()
51696 _finitel(0);
51698 return 0;
51700 _ACEOF
51701 if ac_fn_cxx_try_compile "$LINENO"; then :
51702 glibcxx_cv_func__finitel_use=yes
51703 else
51704 glibcxx_cv_func__finitel_use=no
51706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51707 ac_ext=c
51708 ac_cpp='$CPP $CPPFLAGS'
51709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
51718 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
51720 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
51721 for ac_func in _finitel
51722 do :
51723 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
51724 if test "x$ac_cv_func__finitel" = x""yes; then :
51725 cat >>confdefs.h <<_ACEOF
51726 #define HAVE__FINITEL 1
51727 _ACEOF
51730 done
51738 LIBS="$ac_save_LIBS"
51739 CXXFLAGS="$ac_save_CXXFLAGS"
51742 ac_test_CXXFLAGS="${CXXFLAGS+set}"
51743 ac_save_CXXFLAGS="$CXXFLAGS"
51744 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
51748 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
51749 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
51750 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
51751 $as_echo_n "(cached) " >&6
51752 else
51755 ac_ext=cpp
51756 ac_cpp='$CXXCPP $CPPFLAGS'
51757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51762 /* end confdefs.h. */
51763 #include <stdlib.h>
51765 main ()
51767 at_quick_exit(0);
51769 return 0;
51771 _ACEOF
51772 if ac_fn_cxx_try_compile "$LINENO"; then :
51773 glibcxx_cv_func_at_quick_exit_use=yes
51774 else
51775 glibcxx_cv_func_at_quick_exit_use=no
51777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51778 ac_ext=c
51779 ac_cpp='$CPP $CPPFLAGS'
51780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
51789 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
51790 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
51791 for ac_func in at_quick_exit
51792 do :
51793 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
51794 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
51795 cat >>confdefs.h <<_ACEOF
51796 #define HAVE_AT_QUICK_EXIT 1
51797 _ACEOF
51800 done
51805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
51806 $as_echo_n "checking for quick_exit declaration... " >&6; }
51807 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
51808 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
51809 $as_echo_n "(cached) " >&6
51810 else
51813 ac_ext=cpp
51814 ac_cpp='$CXXCPP $CPPFLAGS'
51815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51820 /* end confdefs.h. */
51821 #include <stdlib.h>
51823 main ()
51825 quick_exit(0);
51827 return 0;
51829 _ACEOF
51830 if ac_fn_cxx_try_compile "$LINENO"; then :
51831 glibcxx_cv_func_quick_exit_use=yes
51832 else
51833 glibcxx_cv_func_quick_exit_use=no
51835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51836 ac_ext=c
51837 ac_cpp='$CPP $CPPFLAGS'
51838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
51847 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
51848 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
51849 for ac_func in quick_exit
51850 do :
51851 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
51852 if test "x$ac_cv_func_quick_exit" = x""yes; then :
51853 cat >>confdefs.h <<_ACEOF
51854 #define HAVE_QUICK_EXIT 1
51855 _ACEOF
51858 done
51863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
51864 $as_echo_n "checking for strtold declaration... " >&6; }
51865 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
51866 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
51867 $as_echo_n "(cached) " >&6
51868 else
51871 ac_ext=cpp
51872 ac_cpp='$CXXCPP $CPPFLAGS'
51873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51878 /* end confdefs.h. */
51879 #include <stdlib.h>
51881 main ()
51883 strtold(0, 0);
51885 return 0;
51887 _ACEOF
51888 if ac_fn_cxx_try_compile "$LINENO"; then :
51889 glibcxx_cv_func_strtold_use=yes
51890 else
51891 glibcxx_cv_func_strtold_use=no
51893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51894 ac_ext=c
51895 ac_cpp='$CPP $CPPFLAGS'
51896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
51905 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
51906 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
51907 for ac_func in strtold
51908 do :
51909 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
51910 if test "x$ac_cv_func_strtold" = x""yes; then :
51911 cat >>confdefs.h <<_ACEOF
51912 #define HAVE_STRTOLD 1
51913 _ACEOF
51916 done
51923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
51924 $as_echo_n "checking for strtof declaration... " >&6; }
51925 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
51926 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
51927 $as_echo_n "(cached) " >&6
51928 else
51931 ac_ext=cpp
51932 ac_cpp='$CXXCPP $CPPFLAGS'
51933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51938 /* end confdefs.h. */
51939 #include <stdlib.h>
51941 main ()
51943 strtof(0, 0);
51945 return 0;
51947 _ACEOF
51948 if ac_fn_cxx_try_compile "$LINENO"; then :
51949 glibcxx_cv_func_strtof_use=yes
51950 else
51951 glibcxx_cv_func_strtof_use=no
51953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51954 ac_ext=c
51955 ac_cpp='$CPP $CPPFLAGS'
51956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
51965 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
51966 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
51967 for ac_func in strtof
51968 do :
51969 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
51970 if test "x$ac_cv_func_strtof" = x""yes; then :
51971 cat >>confdefs.h <<_ACEOF
51972 #define HAVE_STRTOF 1
51973 _ACEOF
51976 done
51983 CXXFLAGS="$ac_save_CXXFLAGS"
51987 *djgpp)
51988 # GLIBCXX_CHECK_MATH_SUPPORT
51989 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
51991 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
51993 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
51995 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
51997 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
52001 *-freebsd*)
52002 SECTION_FLAGS='-ffunction-sections -fdata-sections'
52005 # If we're not using GNU ld, then there's no point in even trying these
52006 # tests. Check for that first. We should have already tested for gld
52007 # by now (in libtool), but require it now just to be safe...
52008 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
52009 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
52013 # The name set by libtool depends on the version of libtool. Shame on us
52014 # for depending on an impl detail, but c'est la vie. Older versions used
52015 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
52016 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
52017 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
52018 # set (hence we're using an older libtool), then set it.
52019 if test x${with_gnu_ld+set} != xset; then
52020 if test x${ac_cv_prog_gnu_ld+set} != xset; then
52021 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
52022 with_gnu_ld=no
52023 else
52024 with_gnu_ld=$ac_cv_prog_gnu_ld
52028 # Start by getting the version number. I think the libtool test already
52029 # does some of this, but throws away the result.
52030 glibcxx_ld_is_gold=no
52031 if test x"$with_gnu_ld" = x"yes"; then
52032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
52033 $as_echo_n "checking for ld version... " >&6; }
52035 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
52036 glibcxx_ld_is_gold=yes
52038 ldver=`$LD --version 2>/dev/null |
52039 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'`
52041 glibcxx_gnu_ld_version=`echo $ldver | \
52042 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
52043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
52044 $as_echo "$glibcxx_gnu_ld_version" >&6; }
52047 # Set --gc-sections.
52048 glibcxx_have_gc_sections=no
52049 if test "$glibcxx_ld_is_gold" = "yes"; then
52050 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
52051 glibcxx_have_gc_sections=yes
52053 else
52054 glibcxx_gcsections_min_ld=21602
52055 if test x"$with_gnu_ld" = x"yes" &&
52056 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
52057 glibcxx_have_gc_sections=yes
52060 if test "$glibcxx_have_gc_sections" = "yes"; then
52061 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
52062 # NB: This flag only works reliably after 2.16.1. Configure tests
52063 # for this are difficult, so hard wire a value that should work.
52065 ac_test_CFLAGS="${CFLAGS+set}"
52066 ac_save_CFLAGS="$CFLAGS"
52067 CFLAGS='-Wl,--gc-sections'
52069 # Check for -Wl,--gc-sections
52070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
52071 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
52072 if test x$gcc_no_link = xyes; then
52073 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52076 /* end confdefs.h. */
52077 int one(void) { return 1; }
52078 int two(void) { return 2; }
52081 main ()
52083 two();
52085 return 0;
52087 _ACEOF
52088 if ac_fn_c_try_link "$LINENO"; then :
52089 ac_gcsections=yes
52090 else
52091 ac_gcsections=no
52093 rm -f core conftest.err conftest.$ac_objext \
52094 conftest$ac_exeext conftest.$ac_ext
52095 if test "$ac_gcsections" = "yes"; then
52096 rm -f conftest.c
52097 touch conftest.c
52098 if $CC -c conftest.c; then
52099 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
52100 grep "Warning: gc-sections option ignored" > /dev/null; then
52101 ac_gcsections=no
52104 rm -f conftest.c conftest.o conftest
52106 if test "$ac_gcsections" = "yes"; then
52107 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
52109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
52110 $as_echo "$ac_gcsections" >&6; }
52112 if test "$ac_test_CFLAGS" = set; then
52113 CFLAGS="$ac_save_CFLAGS"
52114 else
52115 # this is the suspicious part
52116 CFLAGS=''
52120 # Set -z,relro.
52121 # Note this is only for shared objects.
52122 ac_ld_relro=no
52123 if test x"$with_gnu_ld" = x"yes"; then
52124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
52125 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
52126 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
52127 if test -n "$cxx_z_relo"; then
52128 OPT_LDFLAGS="-Wl,-z,relro"
52129 ac_ld_relro=yes
52131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
52132 $as_echo "$ac_ld_relro" >&6; }
52135 # Set linker optimization flags.
52136 if test x"$with_gnu_ld" = x"yes"; then
52137 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
52143 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
52145 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
52147 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
52149 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
52151 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
52153 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
52155 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
52157 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
52159 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
52162 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
52164 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
52166 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
52168 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
52170 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
52172 $as_echo "#define HAVE_COSF 1" >>confdefs.h
52174 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
52176 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
52178 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
52180 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
52182 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
52184 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
52186 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
52188 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
52190 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
52192 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
52194 $as_echo "#define HAVE_POWF 1" >>confdefs.h
52196 $as_echo "#define HAVE_SINF 1" >>confdefs.h
52198 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
52200 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
52202 $as_echo "#define HAVE_TANF 1" >>confdefs.h
52204 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
52206 if test x"long_double_math_on_this_cpu" = x"yes"; then
52207 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
52209 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
52211 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
52215 *-hpux*)
52216 SECTION_FLAGS='-ffunction-sections -fdata-sections'
52219 # If we're not using GNU ld, then there's no point in even trying these
52220 # tests. Check for that first. We should have already tested for gld
52221 # by now (in libtool), but require it now just to be safe...
52222 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
52223 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
52227 # The name set by libtool depends on the version of libtool. Shame on us
52228 # for depending on an impl detail, but c'est la vie. Older versions used
52229 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
52230 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
52231 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
52232 # set (hence we're using an older libtool), then set it.
52233 if test x${with_gnu_ld+set} != xset; then
52234 if test x${ac_cv_prog_gnu_ld+set} != xset; then
52235 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
52236 with_gnu_ld=no
52237 else
52238 with_gnu_ld=$ac_cv_prog_gnu_ld
52242 # Start by getting the version number. I think the libtool test already
52243 # does some of this, but throws away the result.
52244 glibcxx_ld_is_gold=no
52245 if test x"$with_gnu_ld" = x"yes"; then
52246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
52247 $as_echo_n "checking for ld version... " >&6; }
52249 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
52250 glibcxx_ld_is_gold=yes
52252 ldver=`$LD --version 2>/dev/null |
52253 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'`
52255 glibcxx_gnu_ld_version=`echo $ldver | \
52256 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
52257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
52258 $as_echo "$glibcxx_gnu_ld_version" >&6; }
52261 # Set --gc-sections.
52262 glibcxx_have_gc_sections=no
52263 if test "$glibcxx_ld_is_gold" = "yes"; then
52264 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
52265 glibcxx_have_gc_sections=yes
52267 else
52268 glibcxx_gcsections_min_ld=21602
52269 if test x"$with_gnu_ld" = x"yes" &&
52270 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
52271 glibcxx_have_gc_sections=yes
52274 if test "$glibcxx_have_gc_sections" = "yes"; then
52275 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
52276 # NB: This flag only works reliably after 2.16.1. Configure tests
52277 # for this are difficult, so hard wire a value that should work.
52279 ac_test_CFLAGS="${CFLAGS+set}"
52280 ac_save_CFLAGS="$CFLAGS"
52281 CFLAGS='-Wl,--gc-sections'
52283 # Check for -Wl,--gc-sections
52284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
52285 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
52286 if test x$gcc_no_link = xyes; then
52287 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52290 /* end confdefs.h. */
52291 int one(void) { return 1; }
52292 int two(void) { return 2; }
52295 main ()
52297 two();
52299 return 0;
52301 _ACEOF
52302 if ac_fn_c_try_link "$LINENO"; then :
52303 ac_gcsections=yes
52304 else
52305 ac_gcsections=no
52307 rm -f core conftest.err conftest.$ac_objext \
52308 conftest$ac_exeext conftest.$ac_ext
52309 if test "$ac_gcsections" = "yes"; then
52310 rm -f conftest.c
52311 touch conftest.c
52312 if $CC -c conftest.c; then
52313 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
52314 grep "Warning: gc-sections option ignored" > /dev/null; then
52315 ac_gcsections=no
52318 rm -f conftest.c conftest.o conftest
52320 if test "$ac_gcsections" = "yes"; then
52321 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
52323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
52324 $as_echo "$ac_gcsections" >&6; }
52326 if test "$ac_test_CFLAGS" = set; then
52327 CFLAGS="$ac_save_CFLAGS"
52328 else
52329 # this is the suspicious part
52330 CFLAGS=''
52334 # Set -z,relro.
52335 # Note this is only for shared objects.
52336 ac_ld_relro=no
52337 if test x"$with_gnu_ld" = x"yes"; then
52338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
52339 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
52340 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
52341 if test -n "$cxx_z_relo"; then
52342 OPT_LDFLAGS="-Wl,-z,relro"
52343 ac_ld_relro=yes
52345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
52346 $as_echo "$ac_ld_relro" >&6; }
52349 # Set linker optimization flags.
52350 if test x"$with_gnu_ld" = x"yes"; then
52351 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
52358 # GLIBCXX_CHECK_MATH_SUPPORT
52359 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
52361 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
52363 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
52365 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
52367 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
52369 $as_echo "#define HAVE_COSF 1" >>confdefs.h
52371 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
52373 $as_echo "#define HAVE_SINF 1" >>confdefs.h
52375 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
52377 $as_echo "#define HAVE_TANF 1" >>confdefs.h
52379 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
52381 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
52383 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
52385 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
52387 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
52389 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
52391 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
52393 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
52395 $as_echo "#define HAVE_MODF 1" >>confdefs.h
52397 $as_echo "#define HAVE_POWF 1" >>confdefs.h
52399 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
52402 # GLIBCXX_CHECK_STDLIB_SUPPORT
52403 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
52408 # Check whether --enable-tls was given.
52409 if test "${enable_tls+set}" = set; then :
52410 enableval=$enable_tls;
52411 case "$enableval" in
52412 yes|no) ;;
52413 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
52414 esac
52416 else
52417 enable_tls=yes
52421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
52422 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
52423 if test "${gcc_cv_have_tls+set}" = set; then :
52424 $as_echo_n "(cached) " >&6
52425 else
52427 if test "$cross_compiling" = yes; then :
52428 if test x$gcc_no_link = xyes; then
52429 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52432 /* end confdefs.h. */
52433 __thread int a; int b; int main() { return a = b; }
52434 _ACEOF
52435 if ac_fn_c_try_link "$LINENO"; then :
52436 chktls_save_LDFLAGS="$LDFLAGS"
52437 case $host in
52438 *-*-linux*)
52439 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
52441 esac
52442 chktls_save_CFLAGS="$CFLAGS"
52443 CFLAGS="-fPIC $CFLAGS"
52444 if test x$gcc_no_link = xyes; then
52445 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52448 /* end confdefs.h. */
52449 int f() { return 0; }
52450 _ACEOF
52451 if ac_fn_c_try_link "$LINENO"; then :
52452 if test x$gcc_no_link = xyes; then
52453 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52456 /* end confdefs.h. */
52457 __thread int a; int b; int f() { return a = b; }
52458 _ACEOF
52459 if ac_fn_c_try_link "$LINENO"; then :
52460 gcc_cv_have_tls=yes
52461 else
52462 gcc_cv_have_tls=no
52464 rm -f core conftest.err conftest.$ac_objext \
52465 conftest$ac_exeext conftest.$ac_ext
52466 else
52467 gcc_cv_have_tls=yes
52469 rm -f core conftest.err conftest.$ac_objext \
52470 conftest$ac_exeext conftest.$ac_ext
52471 CFLAGS="$chktls_save_CFLAGS"
52472 LDFLAGS="$chktls_save_LDFLAGS"
52473 else
52474 gcc_cv_have_tls=no
52476 rm -f core conftest.err conftest.$ac_objext \
52477 conftest$ac_exeext conftest.$ac_ext
52480 else
52481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52482 /* end confdefs.h. */
52483 __thread int a; int b; int main() { return a = b; }
52484 _ACEOF
52485 if ac_fn_c_try_run "$LINENO"; then :
52486 chktls_save_LDFLAGS="$LDFLAGS"
52487 LDFLAGS="-static $LDFLAGS"
52488 if test x$gcc_no_link = xyes; then
52489 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52492 /* end confdefs.h. */
52493 int main() { return 0; }
52494 _ACEOF
52495 if ac_fn_c_try_link "$LINENO"; then :
52496 if test "$cross_compiling" = yes; then :
52497 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
52498 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
52499 as_fn_error "cannot run test program while cross compiling
52500 See \`config.log' for more details." "$LINENO" 5; }
52501 else
52502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52503 /* end confdefs.h. */
52504 __thread int a; int b; int main() { return a = b; }
52505 _ACEOF
52506 if ac_fn_c_try_run "$LINENO"; then :
52507 gcc_cv_have_tls=yes
52508 else
52509 gcc_cv_have_tls=no
52511 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52512 conftest.$ac_objext conftest.beam conftest.$ac_ext
52515 else
52516 gcc_cv_have_tls=yes
52518 rm -f core conftest.err conftest.$ac_objext \
52519 conftest$ac_exeext conftest.$ac_ext
52520 LDFLAGS="$chktls_save_LDFLAGS"
52521 if test $gcc_cv_have_tls = yes; then
52522 chktls_save_CFLAGS="$CFLAGS"
52523 thread_CFLAGS=failed
52524 for flag in '' '-pthread' '-lpthread'; do
52525 CFLAGS="$flag $chktls_save_CFLAGS"
52526 if test x$gcc_no_link = xyes; then
52527 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52530 /* end confdefs.h. */
52531 #include <pthread.h>
52532 void *g(void *d) { return NULL; }
52534 main ()
52536 pthread_t t; pthread_create(&t,NULL,g,NULL);
52538 return 0;
52540 _ACEOF
52541 if ac_fn_c_try_link "$LINENO"; then :
52542 thread_CFLAGS="$flag"
52544 rm -f core conftest.err conftest.$ac_objext \
52545 conftest$ac_exeext conftest.$ac_ext
52546 if test "X$thread_CFLAGS" != Xfailed; then
52547 break
52549 done
52550 CFLAGS="$chktls_save_CFLAGS"
52551 if test "X$thread_CFLAGS" != Xfailed; then
52552 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
52553 if test "$cross_compiling" = yes; then :
52554 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
52555 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
52556 as_fn_error "cannot run test program while cross compiling
52557 See \`config.log' for more details." "$LINENO" 5; }
52558 else
52559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52560 /* end confdefs.h. */
52561 #include <pthread.h>
52562 __thread int a;
52563 static int *volatile a_in_other_thread;
52564 static void *
52565 thread_func (void *arg)
52567 a_in_other_thread = &a;
52568 return (void *)0;
52571 main ()
52573 pthread_t thread;
52574 void *thread_retval;
52575 int *volatile a_in_main_thread;
52576 a_in_main_thread = &a;
52577 if (pthread_create (&thread, (pthread_attr_t *)0,
52578 thread_func, (void *)0))
52579 return 0;
52580 if (pthread_join (thread, &thread_retval))
52581 return 0;
52582 return (a_in_other_thread == a_in_main_thread);
52584 return 0;
52586 _ACEOF
52587 if ac_fn_c_try_run "$LINENO"; then :
52588 gcc_cv_have_tls=yes
52589 else
52590 gcc_cv_have_tls=no
52592 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52593 conftest.$ac_objext conftest.beam conftest.$ac_ext
52596 CFLAGS="$chktls_save_CFLAGS"
52599 else
52600 gcc_cv_have_tls=no
52602 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52603 conftest.$ac_objext conftest.beam conftest.$ac_ext
52607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
52608 $as_echo "$gcc_cv_have_tls" >&6; }
52609 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
52611 $as_echo "#define HAVE_TLS 1" >>confdefs.h
52614 case "$target" in
52615 *-hpux10*)
52616 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
52618 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
52620 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
52622 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
52624 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
52627 esac
52629 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu | *-cygwin*)
52631 # All these tests are for C++; save the language and the compiler flags.
52632 # The CXXFLAGS thing is suspicious, but based on similar bits previously
52633 # found in GLIBCXX_CONFIGURE.
52635 ac_ext=cpp
52636 ac_cpp='$CXXCPP $CPPFLAGS'
52637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52641 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52642 ac_save_CXXFLAGS="$CXXFLAGS"
52644 # Check for maintainer-mode bits.
52645 if test x"$USE_MAINTAINER_MODE" = xno; then
52646 WERROR=''
52647 else
52648 WERROR='-Werror'
52651 # Check for -ffunction-sections -fdata-sections
52652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
52653 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
52654 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
52655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52656 /* end confdefs.h. */
52657 int foo; void bar() { };
52659 main ()
52663 return 0;
52665 _ACEOF
52666 if ac_fn_cxx_try_compile "$LINENO"; then :
52667 ac_fdsections=yes
52668 else
52669 ac_fdsections=no
52671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52672 if test "$ac_test_CXXFLAGS" = set; then
52673 CXXFLAGS="$ac_save_CXXFLAGS"
52674 else
52675 # this is the suspicious part
52676 CXXFLAGS=''
52678 if test x"$ac_fdsections" = x"yes"; then
52679 SECTION_FLAGS='-ffunction-sections -fdata-sections'
52681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
52682 $as_echo "$ac_fdsections" >&6; }
52684 ac_ext=c
52685 ac_cpp='$CPP $CPPFLAGS'
52686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52694 # If we're not using GNU ld, then there's no point in even trying these
52695 # tests. Check for that first. We should have already tested for gld
52696 # by now (in libtool), but require it now just to be safe...
52697 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
52698 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
52702 # The name set by libtool depends on the version of libtool. Shame on us
52703 # for depending on an impl detail, but c'est la vie. Older versions used
52704 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
52705 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
52706 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
52707 # set (hence we're using an older libtool), then set it.
52708 if test x${with_gnu_ld+set} != xset; then
52709 if test x${ac_cv_prog_gnu_ld+set} != xset; then
52710 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
52711 with_gnu_ld=no
52712 else
52713 with_gnu_ld=$ac_cv_prog_gnu_ld
52717 # Start by getting the version number. I think the libtool test already
52718 # does some of this, but throws away the result.
52719 glibcxx_ld_is_gold=no
52720 if test x"$with_gnu_ld" = x"yes"; then
52721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
52722 $as_echo_n "checking for ld version... " >&6; }
52724 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
52725 glibcxx_ld_is_gold=yes
52727 ldver=`$LD --version 2>/dev/null |
52728 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'`
52730 glibcxx_gnu_ld_version=`echo $ldver | \
52731 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
52732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
52733 $as_echo "$glibcxx_gnu_ld_version" >&6; }
52736 # Set --gc-sections.
52737 glibcxx_have_gc_sections=no
52738 if test "$glibcxx_ld_is_gold" = "yes"; then
52739 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
52740 glibcxx_have_gc_sections=yes
52742 else
52743 glibcxx_gcsections_min_ld=21602
52744 if test x"$with_gnu_ld" = x"yes" &&
52745 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
52746 glibcxx_have_gc_sections=yes
52749 if test "$glibcxx_have_gc_sections" = "yes"; then
52750 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
52751 # NB: This flag only works reliably after 2.16.1. Configure tests
52752 # for this are difficult, so hard wire a value that should work.
52754 ac_test_CFLAGS="${CFLAGS+set}"
52755 ac_save_CFLAGS="$CFLAGS"
52756 CFLAGS='-Wl,--gc-sections'
52758 # Check for -Wl,--gc-sections
52759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
52760 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
52761 if test x$gcc_no_link = xyes; then
52762 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52765 /* end confdefs.h. */
52766 int one(void) { return 1; }
52767 int two(void) { return 2; }
52770 main ()
52772 two();
52774 return 0;
52776 _ACEOF
52777 if ac_fn_c_try_link "$LINENO"; then :
52778 ac_gcsections=yes
52779 else
52780 ac_gcsections=no
52782 rm -f core conftest.err conftest.$ac_objext \
52783 conftest$ac_exeext conftest.$ac_ext
52784 if test "$ac_gcsections" = "yes"; then
52785 rm -f conftest.c
52786 touch conftest.c
52787 if $CC -c conftest.c; then
52788 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
52789 grep "Warning: gc-sections option ignored" > /dev/null; then
52790 ac_gcsections=no
52793 rm -f conftest.c conftest.o conftest
52795 if test "$ac_gcsections" = "yes"; then
52796 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
52798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
52799 $as_echo "$ac_gcsections" >&6; }
52801 if test "$ac_test_CFLAGS" = set; then
52802 CFLAGS="$ac_save_CFLAGS"
52803 else
52804 # this is the suspicious part
52805 CFLAGS=''
52809 # Set -z,relro.
52810 # Note this is only for shared objects.
52811 ac_ld_relro=no
52812 if test x"$with_gnu_ld" = x"yes"; then
52813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
52814 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
52815 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
52816 if test -n "$cxx_z_relo"; then
52817 OPT_LDFLAGS="-Wl,-z,relro"
52818 ac_ld_relro=yes
52820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
52821 $as_echo "$ac_ld_relro" >&6; }
52824 # Set linker optimization flags.
52825 if test x"$with_gnu_ld" = x"yes"; then
52826 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
52833 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52834 ac_save_CXXFLAGS="$CXXFLAGS"
52835 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
52837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
52838 $as_echo_n "checking for sin in -lm... " >&6; }
52839 if test "${ac_cv_lib_m_sin+set}" = set; then :
52840 $as_echo_n "(cached) " >&6
52841 else
52842 ac_check_lib_save_LIBS=$LIBS
52843 LIBS="-lm $LIBS"
52844 if test x$gcc_no_link = xyes; then
52845 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52848 /* end confdefs.h. */
52850 /* Override any GCC internal prototype to avoid an error.
52851 Use char because int might match the return type of a GCC
52852 builtin and then its argument prototype would still apply. */
52853 #ifdef __cplusplus
52854 extern "C"
52855 #endif
52856 char sin ();
52858 main ()
52860 return sin ();
52862 return 0;
52864 _ACEOF
52865 if ac_fn_c_try_link "$LINENO"; then :
52866 ac_cv_lib_m_sin=yes
52867 else
52868 ac_cv_lib_m_sin=no
52870 rm -f core conftest.err conftest.$ac_objext \
52871 conftest$ac_exeext conftest.$ac_ext
52872 LIBS=$ac_check_lib_save_LIBS
52874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
52875 $as_echo "$ac_cv_lib_m_sin" >&6; }
52876 if test "x$ac_cv_lib_m_sin" = x""yes; then :
52877 libm="-lm"
52880 ac_save_LIBS="$LIBS"
52881 LIBS="$LIBS $libm"
52885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
52886 $as_echo_n "checking for isinf declaration... " >&6; }
52887 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
52888 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
52889 $as_echo_n "(cached) " >&6
52890 else
52893 ac_ext=cpp
52894 ac_cpp='$CXXCPP $CPPFLAGS'
52895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52900 /* end confdefs.h. */
52901 #include <math.h>
52902 #ifdef HAVE_IEEEFP_H
52903 #include <ieeefp.h>
52904 #endif
52907 main ()
52909 isinf(0);
52911 return 0;
52913 _ACEOF
52914 if ac_fn_cxx_try_compile "$LINENO"; then :
52915 glibcxx_cv_func_isinf_use=yes
52916 else
52917 glibcxx_cv_func_isinf_use=no
52919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52920 ac_ext=c
52921 ac_cpp='$CPP $CPPFLAGS'
52922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
52931 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
52933 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
52934 for ac_func in isinf
52935 do :
52936 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
52937 if test "x$ac_cv_func_isinf" = x""yes; then :
52938 cat >>confdefs.h <<_ACEOF
52939 #define HAVE_ISINF 1
52940 _ACEOF
52943 done
52945 else
52947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
52948 $as_echo_n "checking for _isinf declaration... " >&6; }
52949 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
52950 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
52951 $as_echo_n "(cached) " >&6
52952 else
52955 ac_ext=cpp
52956 ac_cpp='$CXXCPP $CPPFLAGS'
52957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52962 /* end confdefs.h. */
52963 #include <math.h>
52964 #ifdef HAVE_IEEEFP_H
52965 #include <ieeefp.h>
52966 #endif
52969 main ()
52971 _isinf(0);
52973 return 0;
52975 _ACEOF
52976 if ac_fn_cxx_try_compile "$LINENO"; then :
52977 glibcxx_cv_func__isinf_use=yes
52978 else
52979 glibcxx_cv_func__isinf_use=no
52981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52982 ac_ext=c
52983 ac_cpp='$CPP $CPPFLAGS'
52984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
52993 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
52995 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
52996 for ac_func in _isinf
52997 do :
52998 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
52999 if test "x$ac_cv_func__isinf" = x""yes; then :
53000 cat >>confdefs.h <<_ACEOF
53001 #define HAVE__ISINF 1
53002 _ACEOF
53005 done
53014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
53015 $as_echo_n "checking for isnan declaration... " >&6; }
53016 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
53017 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
53018 $as_echo_n "(cached) " >&6
53019 else
53022 ac_ext=cpp
53023 ac_cpp='$CXXCPP $CPPFLAGS'
53024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53029 /* end confdefs.h. */
53030 #include <math.h>
53031 #ifdef HAVE_IEEEFP_H
53032 #include <ieeefp.h>
53033 #endif
53036 main ()
53038 isnan(0);
53040 return 0;
53042 _ACEOF
53043 if ac_fn_cxx_try_compile "$LINENO"; then :
53044 glibcxx_cv_func_isnan_use=yes
53045 else
53046 glibcxx_cv_func_isnan_use=no
53048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53049 ac_ext=c
53050 ac_cpp='$CPP $CPPFLAGS'
53051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
53060 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
53062 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
53063 for ac_func in isnan
53064 do :
53065 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
53066 if test "x$ac_cv_func_isnan" = x""yes; then :
53067 cat >>confdefs.h <<_ACEOF
53068 #define HAVE_ISNAN 1
53069 _ACEOF
53072 done
53074 else
53076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
53077 $as_echo_n "checking for _isnan declaration... " >&6; }
53078 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
53079 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
53080 $as_echo_n "(cached) " >&6
53081 else
53084 ac_ext=cpp
53085 ac_cpp='$CXXCPP $CPPFLAGS'
53086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53091 /* end confdefs.h. */
53092 #include <math.h>
53093 #ifdef HAVE_IEEEFP_H
53094 #include <ieeefp.h>
53095 #endif
53098 main ()
53100 _isnan(0);
53102 return 0;
53104 _ACEOF
53105 if ac_fn_cxx_try_compile "$LINENO"; then :
53106 glibcxx_cv_func__isnan_use=yes
53107 else
53108 glibcxx_cv_func__isnan_use=no
53110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53111 ac_ext=c
53112 ac_cpp='$CPP $CPPFLAGS'
53113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
53122 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
53124 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
53125 for ac_func in _isnan
53126 do :
53127 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
53128 if test "x$ac_cv_func__isnan" = x""yes; then :
53129 cat >>confdefs.h <<_ACEOF
53130 #define HAVE__ISNAN 1
53131 _ACEOF
53134 done
53143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
53144 $as_echo_n "checking for finite declaration... " >&6; }
53145 if test x${glibcxx_cv_func_finite_use+set} != xset; then
53146 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
53147 $as_echo_n "(cached) " >&6
53148 else
53151 ac_ext=cpp
53152 ac_cpp='$CXXCPP $CPPFLAGS'
53153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53158 /* end confdefs.h. */
53159 #include <math.h>
53160 #ifdef HAVE_IEEEFP_H
53161 #include <ieeefp.h>
53162 #endif
53165 main ()
53167 finite(0);
53169 return 0;
53171 _ACEOF
53172 if ac_fn_cxx_try_compile "$LINENO"; then :
53173 glibcxx_cv_func_finite_use=yes
53174 else
53175 glibcxx_cv_func_finite_use=no
53177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53178 ac_ext=c
53179 ac_cpp='$CPP $CPPFLAGS'
53180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
53189 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
53191 if test x$glibcxx_cv_func_finite_use = x"yes"; then
53192 for ac_func in finite
53193 do :
53194 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
53195 if test "x$ac_cv_func_finite" = x""yes; then :
53196 cat >>confdefs.h <<_ACEOF
53197 #define HAVE_FINITE 1
53198 _ACEOF
53201 done
53203 else
53205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
53206 $as_echo_n "checking for _finite declaration... " >&6; }
53207 if test x${glibcxx_cv_func__finite_use+set} != xset; then
53208 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
53209 $as_echo_n "(cached) " >&6
53210 else
53213 ac_ext=cpp
53214 ac_cpp='$CXXCPP $CPPFLAGS'
53215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53220 /* end confdefs.h. */
53221 #include <math.h>
53222 #ifdef HAVE_IEEEFP_H
53223 #include <ieeefp.h>
53224 #endif
53227 main ()
53229 _finite(0);
53231 return 0;
53233 _ACEOF
53234 if ac_fn_cxx_try_compile "$LINENO"; then :
53235 glibcxx_cv_func__finite_use=yes
53236 else
53237 glibcxx_cv_func__finite_use=no
53239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53240 ac_ext=c
53241 ac_cpp='$CPP $CPPFLAGS'
53242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
53251 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
53253 if test x$glibcxx_cv_func__finite_use = x"yes"; then
53254 for ac_func in _finite
53255 do :
53256 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
53257 if test "x$ac_cv_func__finite" = x""yes; then :
53258 cat >>confdefs.h <<_ACEOF
53259 #define HAVE__FINITE 1
53260 _ACEOF
53263 done
53272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
53273 $as_echo_n "checking for sincos declaration... " >&6; }
53274 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
53275 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
53276 $as_echo_n "(cached) " >&6
53277 else
53280 ac_ext=cpp
53281 ac_cpp='$CXXCPP $CPPFLAGS'
53282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53287 /* end confdefs.h. */
53288 #include <math.h>
53290 main ()
53292 sincos(0, 0, 0);
53294 return 0;
53296 _ACEOF
53297 if ac_fn_cxx_try_compile "$LINENO"; then :
53298 glibcxx_cv_func_sincos_use=yes
53299 else
53300 glibcxx_cv_func_sincos_use=no
53302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53303 ac_ext=c
53304 ac_cpp='$CPP $CPPFLAGS'
53305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
53314 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
53316 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
53317 for ac_func in sincos
53318 do :
53319 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
53320 if test "x$ac_cv_func_sincos" = x""yes; then :
53321 cat >>confdefs.h <<_ACEOF
53322 #define HAVE_SINCOS 1
53323 _ACEOF
53326 done
53328 else
53330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
53331 $as_echo_n "checking for _sincos declaration... " >&6; }
53332 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
53333 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
53334 $as_echo_n "(cached) " >&6
53335 else
53338 ac_ext=cpp
53339 ac_cpp='$CXXCPP $CPPFLAGS'
53340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53345 /* end confdefs.h. */
53346 #include <math.h>
53348 main ()
53350 _sincos(0, 0, 0);
53352 return 0;
53354 _ACEOF
53355 if ac_fn_cxx_try_compile "$LINENO"; then :
53356 glibcxx_cv_func__sincos_use=yes
53357 else
53358 glibcxx_cv_func__sincos_use=no
53360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53361 ac_ext=c
53362 ac_cpp='$CPP $CPPFLAGS'
53363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
53372 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
53374 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
53375 for ac_func in _sincos
53376 do :
53377 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
53378 if test "x$ac_cv_func__sincos" = x""yes; then :
53379 cat >>confdefs.h <<_ACEOF
53380 #define HAVE__SINCOS 1
53381 _ACEOF
53384 done
53393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
53394 $as_echo_n "checking for fpclass declaration... " >&6; }
53395 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
53396 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
53397 $as_echo_n "(cached) " >&6
53398 else
53401 ac_ext=cpp
53402 ac_cpp='$CXXCPP $CPPFLAGS'
53403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53408 /* end confdefs.h. */
53409 #include <math.h>
53410 #ifdef HAVE_IEEEFP_H
53411 #include <ieeefp.h>
53412 #endif
53415 main ()
53417 fpclass(0);
53419 return 0;
53421 _ACEOF
53422 if ac_fn_cxx_try_compile "$LINENO"; then :
53423 glibcxx_cv_func_fpclass_use=yes
53424 else
53425 glibcxx_cv_func_fpclass_use=no
53427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53428 ac_ext=c
53429 ac_cpp='$CPP $CPPFLAGS'
53430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
53439 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
53441 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
53442 for ac_func in fpclass
53443 do :
53444 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
53445 if test "x$ac_cv_func_fpclass" = x""yes; then :
53446 cat >>confdefs.h <<_ACEOF
53447 #define HAVE_FPCLASS 1
53448 _ACEOF
53451 done
53453 else
53455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
53456 $as_echo_n "checking for _fpclass declaration... " >&6; }
53457 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
53458 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
53459 $as_echo_n "(cached) " >&6
53460 else
53463 ac_ext=cpp
53464 ac_cpp='$CXXCPP $CPPFLAGS'
53465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53470 /* end confdefs.h. */
53471 #include <math.h>
53472 #ifdef HAVE_IEEEFP_H
53473 #include <ieeefp.h>
53474 #endif
53477 main ()
53479 _fpclass(0);
53481 return 0;
53483 _ACEOF
53484 if ac_fn_cxx_try_compile "$LINENO"; then :
53485 glibcxx_cv_func__fpclass_use=yes
53486 else
53487 glibcxx_cv_func__fpclass_use=no
53489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53490 ac_ext=c
53491 ac_cpp='$CPP $CPPFLAGS'
53492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
53501 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
53503 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
53504 for ac_func in _fpclass
53505 do :
53506 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
53507 if test "x$ac_cv_func__fpclass" = x""yes; then :
53508 cat >>confdefs.h <<_ACEOF
53509 #define HAVE__FPCLASS 1
53510 _ACEOF
53513 done
53522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
53523 $as_echo_n "checking for qfpclass declaration... " >&6; }
53524 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
53525 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
53526 $as_echo_n "(cached) " >&6
53527 else
53530 ac_ext=cpp
53531 ac_cpp='$CXXCPP $CPPFLAGS'
53532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53537 /* end confdefs.h. */
53538 #include <math.h>
53539 #ifdef HAVE_IEEEFP_H
53540 #include <ieeefp.h>
53541 #endif
53544 main ()
53546 qfpclass(0);
53548 return 0;
53550 _ACEOF
53551 if ac_fn_cxx_try_compile "$LINENO"; then :
53552 glibcxx_cv_func_qfpclass_use=yes
53553 else
53554 glibcxx_cv_func_qfpclass_use=no
53556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53557 ac_ext=c
53558 ac_cpp='$CPP $CPPFLAGS'
53559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
53568 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
53570 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
53571 for ac_func in qfpclass
53572 do :
53573 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
53574 if test "x$ac_cv_func_qfpclass" = x""yes; then :
53575 cat >>confdefs.h <<_ACEOF
53576 #define HAVE_QFPCLASS 1
53577 _ACEOF
53580 done
53582 else
53584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
53585 $as_echo_n "checking for _qfpclass declaration... " >&6; }
53586 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
53587 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
53588 $as_echo_n "(cached) " >&6
53589 else
53592 ac_ext=cpp
53593 ac_cpp='$CXXCPP $CPPFLAGS'
53594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53599 /* end confdefs.h. */
53600 #include <math.h>
53601 #ifdef HAVE_IEEEFP_H
53602 #include <ieeefp.h>
53603 #endif
53606 main ()
53608 _qfpclass(0);
53610 return 0;
53612 _ACEOF
53613 if ac_fn_cxx_try_compile "$LINENO"; then :
53614 glibcxx_cv_func__qfpclass_use=yes
53615 else
53616 glibcxx_cv_func__qfpclass_use=no
53618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53619 ac_ext=c
53620 ac_cpp='$CPP $CPPFLAGS'
53621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
53630 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
53632 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
53633 for ac_func in _qfpclass
53634 do :
53635 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
53636 if test "x$ac_cv_func__qfpclass" = x""yes; then :
53637 cat >>confdefs.h <<_ACEOF
53638 #define HAVE__QFPCLASS 1
53639 _ACEOF
53642 done
53651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
53652 $as_echo_n "checking for hypot declaration... " >&6; }
53653 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
53654 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
53655 $as_echo_n "(cached) " >&6
53656 else
53659 ac_ext=cpp
53660 ac_cpp='$CXXCPP $CPPFLAGS'
53661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53666 /* end confdefs.h. */
53667 #include <math.h>
53669 main ()
53671 hypot(0, 0);
53673 return 0;
53675 _ACEOF
53676 if ac_fn_cxx_try_compile "$LINENO"; then :
53677 glibcxx_cv_func_hypot_use=yes
53678 else
53679 glibcxx_cv_func_hypot_use=no
53681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53682 ac_ext=c
53683 ac_cpp='$CPP $CPPFLAGS'
53684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
53693 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
53695 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
53696 for ac_func in hypot
53697 do :
53698 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
53699 if test "x$ac_cv_func_hypot" = x""yes; then :
53700 cat >>confdefs.h <<_ACEOF
53701 #define HAVE_HYPOT 1
53702 _ACEOF
53705 done
53707 else
53709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
53710 $as_echo_n "checking for _hypot declaration... " >&6; }
53711 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
53712 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
53713 $as_echo_n "(cached) " >&6
53714 else
53717 ac_ext=cpp
53718 ac_cpp='$CXXCPP $CPPFLAGS'
53719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53724 /* end confdefs.h. */
53725 #include <math.h>
53727 main ()
53729 _hypot(0, 0);
53731 return 0;
53733 _ACEOF
53734 if ac_fn_cxx_try_compile "$LINENO"; then :
53735 glibcxx_cv_func__hypot_use=yes
53736 else
53737 glibcxx_cv_func__hypot_use=no
53739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53740 ac_ext=c
53741 ac_cpp='$CPP $CPPFLAGS'
53742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
53751 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
53753 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
53754 for ac_func in _hypot
53755 do :
53756 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
53757 if test "x$ac_cv_func__hypot" = x""yes; then :
53758 cat >>confdefs.h <<_ACEOF
53759 #define HAVE__HYPOT 1
53760 _ACEOF
53763 done
53772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
53773 $as_echo_n "checking for float trig functions... " >&6; }
53774 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
53775 $as_echo_n "(cached) " >&6
53776 else
53779 ac_ext=cpp
53780 ac_cpp='$CXXCPP $CPPFLAGS'
53781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53786 /* end confdefs.h. */
53787 #include <math.h>
53789 main ()
53791 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
53793 return 0;
53795 _ACEOF
53796 if ac_fn_cxx_try_compile "$LINENO"; then :
53797 glibcxx_cv_func_float_trig_use=yes
53798 else
53799 glibcxx_cv_func_float_trig_use=no
53801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53802 ac_ext=c
53803 ac_cpp='$CPP $CPPFLAGS'
53804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
53811 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
53812 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
53813 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
53814 do :
53815 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53816 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53817 eval as_val=\$$as_ac_var
53818 if test "x$as_val" = x""yes; then :
53819 cat >>confdefs.h <<_ACEOF
53820 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53821 _ACEOF
53824 done
53826 else
53827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
53828 $as_echo_n "checking for _float trig functions... " >&6; }
53829 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
53830 $as_echo_n "(cached) " >&6
53831 else
53834 ac_ext=cpp
53835 ac_cpp='$CXXCPP $CPPFLAGS'
53836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53841 /* end confdefs.h. */
53842 #include <math.h>
53844 main ()
53846 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
53848 return 0;
53850 _ACEOF
53851 if ac_fn_cxx_try_compile "$LINENO"; then :
53852 glibcxx_cv_func__float_trig_use=yes
53853 else
53854 glibcxx_cv_func__float_trig_use=no
53856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53857 ac_ext=c
53858 ac_cpp='$CPP $CPPFLAGS'
53859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
53866 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
53867 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
53868 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
53869 do :
53870 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53871 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53872 eval as_val=\$$as_ac_var
53873 if test "x$as_val" = x""yes; then :
53874 cat >>confdefs.h <<_ACEOF
53875 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53876 _ACEOF
53879 done
53888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
53889 $as_echo_n "checking for float round functions... " >&6; }
53890 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
53891 $as_echo_n "(cached) " >&6
53892 else
53895 ac_ext=cpp
53896 ac_cpp='$CXXCPP $CPPFLAGS'
53897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53902 /* end confdefs.h. */
53903 #include <math.h>
53905 main ()
53907 ceilf (0); floorf (0);
53909 return 0;
53911 _ACEOF
53912 if ac_fn_cxx_try_compile "$LINENO"; then :
53913 glibcxx_cv_func_float_round_use=yes
53914 else
53915 glibcxx_cv_func_float_round_use=no
53917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53918 ac_ext=c
53919 ac_cpp='$CPP $CPPFLAGS'
53920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
53927 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
53928 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
53929 for ac_func in ceilf floorf
53930 do :
53931 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53932 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53933 eval as_val=\$$as_ac_var
53934 if test "x$as_val" = x""yes; then :
53935 cat >>confdefs.h <<_ACEOF
53936 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53937 _ACEOF
53940 done
53942 else
53943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
53944 $as_echo_n "checking for _float round functions... " >&6; }
53945 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
53946 $as_echo_n "(cached) " >&6
53947 else
53950 ac_ext=cpp
53951 ac_cpp='$CXXCPP $CPPFLAGS'
53952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53957 /* end confdefs.h. */
53958 #include <math.h>
53960 main ()
53962 _ceilf (0); _floorf (0);
53964 return 0;
53966 _ACEOF
53967 if ac_fn_cxx_try_compile "$LINENO"; then :
53968 glibcxx_cv_func__float_round_use=yes
53969 else
53970 glibcxx_cv_func__float_round_use=no
53972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53973 ac_ext=c
53974 ac_cpp='$CPP $CPPFLAGS'
53975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
53982 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
53983 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
53984 for ac_func in _ceilf _floorf
53985 do :
53986 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53987 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53988 eval as_val=\$$as_ac_var
53989 if test "x$as_val" = x""yes; then :
53990 cat >>confdefs.h <<_ACEOF
53991 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53992 _ACEOF
53995 done
54005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
54006 $as_echo_n "checking for expf declaration... " >&6; }
54007 if test x${glibcxx_cv_func_expf_use+set} != xset; then
54008 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
54009 $as_echo_n "(cached) " >&6
54010 else
54013 ac_ext=cpp
54014 ac_cpp='$CXXCPP $CPPFLAGS'
54015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54020 /* end confdefs.h. */
54021 #include <math.h>
54022 #ifdef HAVE_IEEEFP_H
54023 #include <ieeefp.h>
54024 #endif
54027 main ()
54029 expf(0);
54031 return 0;
54033 _ACEOF
54034 if ac_fn_cxx_try_compile "$LINENO"; then :
54035 glibcxx_cv_func_expf_use=yes
54036 else
54037 glibcxx_cv_func_expf_use=no
54039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54040 ac_ext=c
54041 ac_cpp='$CPP $CPPFLAGS'
54042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
54051 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
54053 if test x$glibcxx_cv_func_expf_use = x"yes"; then
54054 for ac_func in expf
54055 do :
54056 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
54057 if test "x$ac_cv_func_expf" = x""yes; then :
54058 cat >>confdefs.h <<_ACEOF
54059 #define HAVE_EXPF 1
54060 _ACEOF
54063 done
54065 else
54067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
54068 $as_echo_n "checking for _expf declaration... " >&6; }
54069 if test x${glibcxx_cv_func__expf_use+set} != xset; then
54070 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
54071 $as_echo_n "(cached) " >&6
54072 else
54075 ac_ext=cpp
54076 ac_cpp='$CXXCPP $CPPFLAGS'
54077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54082 /* end confdefs.h. */
54083 #include <math.h>
54084 #ifdef HAVE_IEEEFP_H
54085 #include <ieeefp.h>
54086 #endif
54089 main ()
54091 _expf(0);
54093 return 0;
54095 _ACEOF
54096 if ac_fn_cxx_try_compile "$LINENO"; then :
54097 glibcxx_cv_func__expf_use=yes
54098 else
54099 glibcxx_cv_func__expf_use=no
54101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54102 ac_ext=c
54103 ac_cpp='$CPP $CPPFLAGS'
54104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
54113 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
54115 if test x$glibcxx_cv_func__expf_use = x"yes"; then
54116 for ac_func in _expf
54117 do :
54118 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
54119 if test "x$ac_cv_func__expf" = x""yes; then :
54120 cat >>confdefs.h <<_ACEOF
54121 #define HAVE__EXPF 1
54122 _ACEOF
54125 done
54134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
54135 $as_echo_n "checking for isnanf declaration... " >&6; }
54136 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
54137 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
54138 $as_echo_n "(cached) " >&6
54139 else
54142 ac_ext=cpp
54143 ac_cpp='$CXXCPP $CPPFLAGS'
54144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54149 /* end confdefs.h. */
54150 #include <math.h>
54151 #ifdef HAVE_IEEEFP_H
54152 #include <ieeefp.h>
54153 #endif
54156 main ()
54158 isnanf(0);
54160 return 0;
54162 _ACEOF
54163 if ac_fn_cxx_try_compile "$LINENO"; then :
54164 glibcxx_cv_func_isnanf_use=yes
54165 else
54166 glibcxx_cv_func_isnanf_use=no
54168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54169 ac_ext=c
54170 ac_cpp='$CPP $CPPFLAGS'
54171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
54180 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
54182 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
54183 for ac_func in isnanf
54184 do :
54185 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
54186 if test "x$ac_cv_func_isnanf" = x""yes; then :
54187 cat >>confdefs.h <<_ACEOF
54188 #define HAVE_ISNANF 1
54189 _ACEOF
54192 done
54194 else
54196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
54197 $as_echo_n "checking for _isnanf declaration... " >&6; }
54198 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
54199 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
54200 $as_echo_n "(cached) " >&6
54201 else
54204 ac_ext=cpp
54205 ac_cpp='$CXXCPP $CPPFLAGS'
54206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54211 /* end confdefs.h. */
54212 #include <math.h>
54213 #ifdef HAVE_IEEEFP_H
54214 #include <ieeefp.h>
54215 #endif
54218 main ()
54220 _isnanf(0);
54222 return 0;
54224 _ACEOF
54225 if ac_fn_cxx_try_compile "$LINENO"; then :
54226 glibcxx_cv_func__isnanf_use=yes
54227 else
54228 glibcxx_cv_func__isnanf_use=no
54230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54231 ac_ext=c
54232 ac_cpp='$CPP $CPPFLAGS'
54233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
54242 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
54244 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
54245 for ac_func in _isnanf
54246 do :
54247 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
54248 if test "x$ac_cv_func__isnanf" = x""yes; then :
54249 cat >>confdefs.h <<_ACEOF
54250 #define HAVE__ISNANF 1
54251 _ACEOF
54254 done
54263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
54264 $as_echo_n "checking for isinff declaration... " >&6; }
54265 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
54266 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
54267 $as_echo_n "(cached) " >&6
54268 else
54271 ac_ext=cpp
54272 ac_cpp='$CXXCPP $CPPFLAGS'
54273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54278 /* end confdefs.h. */
54279 #include <math.h>
54280 #ifdef HAVE_IEEEFP_H
54281 #include <ieeefp.h>
54282 #endif
54285 main ()
54287 isinff(0);
54289 return 0;
54291 _ACEOF
54292 if ac_fn_cxx_try_compile "$LINENO"; then :
54293 glibcxx_cv_func_isinff_use=yes
54294 else
54295 glibcxx_cv_func_isinff_use=no
54297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54298 ac_ext=c
54299 ac_cpp='$CPP $CPPFLAGS'
54300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
54309 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
54311 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
54312 for ac_func in isinff
54313 do :
54314 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
54315 if test "x$ac_cv_func_isinff" = x""yes; then :
54316 cat >>confdefs.h <<_ACEOF
54317 #define HAVE_ISINFF 1
54318 _ACEOF
54321 done
54323 else
54325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
54326 $as_echo_n "checking for _isinff declaration... " >&6; }
54327 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
54328 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
54329 $as_echo_n "(cached) " >&6
54330 else
54333 ac_ext=cpp
54334 ac_cpp='$CXXCPP $CPPFLAGS'
54335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54340 /* end confdefs.h. */
54341 #include <math.h>
54342 #ifdef HAVE_IEEEFP_H
54343 #include <ieeefp.h>
54344 #endif
54347 main ()
54349 _isinff(0);
54351 return 0;
54353 _ACEOF
54354 if ac_fn_cxx_try_compile "$LINENO"; then :
54355 glibcxx_cv_func__isinff_use=yes
54356 else
54357 glibcxx_cv_func__isinff_use=no
54359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54360 ac_ext=c
54361 ac_cpp='$CPP $CPPFLAGS'
54362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
54371 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
54373 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
54374 for ac_func in _isinff
54375 do :
54376 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
54377 if test "x$ac_cv_func__isinff" = x""yes; then :
54378 cat >>confdefs.h <<_ACEOF
54379 #define HAVE__ISINFF 1
54380 _ACEOF
54383 done
54392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
54393 $as_echo_n "checking for atan2f declaration... " >&6; }
54394 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
54395 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
54396 $as_echo_n "(cached) " >&6
54397 else
54400 ac_ext=cpp
54401 ac_cpp='$CXXCPP $CPPFLAGS'
54402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54407 /* end confdefs.h. */
54408 #include <math.h>
54410 main ()
54412 atan2f(0, 0);
54414 return 0;
54416 _ACEOF
54417 if ac_fn_cxx_try_compile "$LINENO"; then :
54418 glibcxx_cv_func_atan2f_use=yes
54419 else
54420 glibcxx_cv_func_atan2f_use=no
54422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54423 ac_ext=c
54424 ac_cpp='$CPP $CPPFLAGS'
54425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
54434 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
54436 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
54437 for ac_func in atan2f
54438 do :
54439 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
54440 if test "x$ac_cv_func_atan2f" = x""yes; then :
54441 cat >>confdefs.h <<_ACEOF
54442 #define HAVE_ATAN2F 1
54443 _ACEOF
54446 done
54448 else
54450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
54451 $as_echo_n "checking for _atan2f declaration... " >&6; }
54452 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
54453 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
54454 $as_echo_n "(cached) " >&6
54455 else
54458 ac_ext=cpp
54459 ac_cpp='$CXXCPP $CPPFLAGS'
54460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54465 /* end confdefs.h. */
54466 #include <math.h>
54468 main ()
54470 _atan2f(0, 0);
54472 return 0;
54474 _ACEOF
54475 if ac_fn_cxx_try_compile "$LINENO"; then :
54476 glibcxx_cv_func__atan2f_use=yes
54477 else
54478 glibcxx_cv_func__atan2f_use=no
54480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54481 ac_ext=c
54482 ac_cpp='$CPP $CPPFLAGS'
54483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
54492 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
54494 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
54495 for ac_func in _atan2f
54496 do :
54497 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
54498 if test "x$ac_cv_func__atan2f" = x""yes; then :
54499 cat >>confdefs.h <<_ACEOF
54500 #define HAVE__ATAN2F 1
54501 _ACEOF
54504 done
54513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
54514 $as_echo_n "checking for fabsf declaration... " >&6; }
54515 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
54516 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
54517 $as_echo_n "(cached) " >&6
54518 else
54521 ac_ext=cpp
54522 ac_cpp='$CXXCPP $CPPFLAGS'
54523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54528 /* end confdefs.h. */
54529 #include <math.h>
54530 #ifdef HAVE_IEEEFP_H
54531 #include <ieeefp.h>
54532 #endif
54535 main ()
54537 fabsf(0);
54539 return 0;
54541 _ACEOF
54542 if ac_fn_cxx_try_compile "$LINENO"; then :
54543 glibcxx_cv_func_fabsf_use=yes
54544 else
54545 glibcxx_cv_func_fabsf_use=no
54547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54548 ac_ext=c
54549 ac_cpp='$CPP $CPPFLAGS'
54550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
54559 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
54561 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
54562 for ac_func in fabsf
54563 do :
54564 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
54565 if test "x$ac_cv_func_fabsf" = x""yes; then :
54566 cat >>confdefs.h <<_ACEOF
54567 #define HAVE_FABSF 1
54568 _ACEOF
54571 done
54573 else
54575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
54576 $as_echo_n "checking for _fabsf declaration... " >&6; }
54577 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
54578 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
54579 $as_echo_n "(cached) " >&6
54580 else
54583 ac_ext=cpp
54584 ac_cpp='$CXXCPP $CPPFLAGS'
54585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54590 /* end confdefs.h. */
54591 #include <math.h>
54592 #ifdef HAVE_IEEEFP_H
54593 #include <ieeefp.h>
54594 #endif
54597 main ()
54599 _fabsf(0);
54601 return 0;
54603 _ACEOF
54604 if ac_fn_cxx_try_compile "$LINENO"; then :
54605 glibcxx_cv_func__fabsf_use=yes
54606 else
54607 glibcxx_cv_func__fabsf_use=no
54609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54610 ac_ext=c
54611 ac_cpp='$CPP $CPPFLAGS'
54612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
54621 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
54623 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
54624 for ac_func in _fabsf
54625 do :
54626 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
54627 if test "x$ac_cv_func__fabsf" = x""yes; then :
54628 cat >>confdefs.h <<_ACEOF
54629 #define HAVE__FABSF 1
54630 _ACEOF
54633 done
54642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
54643 $as_echo_n "checking for fmodf declaration... " >&6; }
54644 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
54645 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
54646 $as_echo_n "(cached) " >&6
54647 else
54650 ac_ext=cpp
54651 ac_cpp='$CXXCPP $CPPFLAGS'
54652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54657 /* end confdefs.h. */
54658 #include <math.h>
54660 main ()
54662 fmodf(0, 0);
54664 return 0;
54666 _ACEOF
54667 if ac_fn_cxx_try_compile "$LINENO"; then :
54668 glibcxx_cv_func_fmodf_use=yes
54669 else
54670 glibcxx_cv_func_fmodf_use=no
54672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54673 ac_ext=c
54674 ac_cpp='$CPP $CPPFLAGS'
54675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
54684 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
54686 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
54687 for ac_func in fmodf
54688 do :
54689 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
54690 if test "x$ac_cv_func_fmodf" = x""yes; then :
54691 cat >>confdefs.h <<_ACEOF
54692 #define HAVE_FMODF 1
54693 _ACEOF
54696 done
54698 else
54700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
54701 $as_echo_n "checking for _fmodf declaration... " >&6; }
54702 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
54703 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
54704 $as_echo_n "(cached) " >&6
54705 else
54708 ac_ext=cpp
54709 ac_cpp='$CXXCPP $CPPFLAGS'
54710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54715 /* end confdefs.h. */
54716 #include <math.h>
54718 main ()
54720 _fmodf(0, 0);
54722 return 0;
54724 _ACEOF
54725 if ac_fn_cxx_try_compile "$LINENO"; then :
54726 glibcxx_cv_func__fmodf_use=yes
54727 else
54728 glibcxx_cv_func__fmodf_use=no
54730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54731 ac_ext=c
54732 ac_cpp='$CPP $CPPFLAGS'
54733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
54742 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
54744 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
54745 for ac_func in _fmodf
54746 do :
54747 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
54748 if test "x$ac_cv_func__fmodf" = x""yes; then :
54749 cat >>confdefs.h <<_ACEOF
54750 #define HAVE__FMODF 1
54751 _ACEOF
54754 done
54763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
54764 $as_echo_n "checking for frexpf declaration... " >&6; }
54765 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
54766 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
54767 $as_echo_n "(cached) " >&6
54768 else
54771 ac_ext=cpp
54772 ac_cpp='$CXXCPP $CPPFLAGS'
54773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54778 /* end confdefs.h. */
54779 #include <math.h>
54781 main ()
54783 frexpf(0, 0);
54785 return 0;
54787 _ACEOF
54788 if ac_fn_cxx_try_compile "$LINENO"; then :
54789 glibcxx_cv_func_frexpf_use=yes
54790 else
54791 glibcxx_cv_func_frexpf_use=no
54793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54794 ac_ext=c
54795 ac_cpp='$CPP $CPPFLAGS'
54796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
54805 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
54807 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
54808 for ac_func in frexpf
54809 do :
54810 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
54811 if test "x$ac_cv_func_frexpf" = x""yes; then :
54812 cat >>confdefs.h <<_ACEOF
54813 #define HAVE_FREXPF 1
54814 _ACEOF
54817 done
54819 else
54821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
54822 $as_echo_n "checking for _frexpf declaration... " >&6; }
54823 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
54824 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
54825 $as_echo_n "(cached) " >&6
54826 else
54829 ac_ext=cpp
54830 ac_cpp='$CXXCPP $CPPFLAGS'
54831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54836 /* end confdefs.h. */
54837 #include <math.h>
54839 main ()
54841 _frexpf(0, 0);
54843 return 0;
54845 _ACEOF
54846 if ac_fn_cxx_try_compile "$LINENO"; then :
54847 glibcxx_cv_func__frexpf_use=yes
54848 else
54849 glibcxx_cv_func__frexpf_use=no
54851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54852 ac_ext=c
54853 ac_cpp='$CPP $CPPFLAGS'
54854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
54863 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
54865 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
54866 for ac_func in _frexpf
54867 do :
54868 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
54869 if test "x$ac_cv_func__frexpf" = x""yes; then :
54870 cat >>confdefs.h <<_ACEOF
54871 #define HAVE__FREXPF 1
54872 _ACEOF
54875 done
54884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
54885 $as_echo_n "checking for hypotf declaration... " >&6; }
54886 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
54887 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
54888 $as_echo_n "(cached) " >&6
54889 else
54892 ac_ext=cpp
54893 ac_cpp='$CXXCPP $CPPFLAGS'
54894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54899 /* end confdefs.h. */
54900 #include <math.h>
54902 main ()
54904 hypotf(0, 0);
54906 return 0;
54908 _ACEOF
54909 if ac_fn_cxx_try_compile "$LINENO"; then :
54910 glibcxx_cv_func_hypotf_use=yes
54911 else
54912 glibcxx_cv_func_hypotf_use=no
54914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54915 ac_ext=c
54916 ac_cpp='$CPP $CPPFLAGS'
54917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
54926 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
54928 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
54929 for ac_func in hypotf
54930 do :
54931 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
54932 if test "x$ac_cv_func_hypotf" = x""yes; then :
54933 cat >>confdefs.h <<_ACEOF
54934 #define HAVE_HYPOTF 1
54935 _ACEOF
54938 done
54940 else
54942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
54943 $as_echo_n "checking for _hypotf declaration... " >&6; }
54944 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
54945 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
54946 $as_echo_n "(cached) " >&6
54947 else
54950 ac_ext=cpp
54951 ac_cpp='$CXXCPP $CPPFLAGS'
54952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54957 /* end confdefs.h. */
54958 #include <math.h>
54960 main ()
54962 _hypotf(0, 0);
54964 return 0;
54966 _ACEOF
54967 if ac_fn_cxx_try_compile "$LINENO"; then :
54968 glibcxx_cv_func__hypotf_use=yes
54969 else
54970 glibcxx_cv_func__hypotf_use=no
54972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54973 ac_ext=c
54974 ac_cpp='$CPP $CPPFLAGS'
54975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
54984 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
54986 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
54987 for ac_func in _hypotf
54988 do :
54989 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
54990 if test "x$ac_cv_func__hypotf" = x""yes; then :
54991 cat >>confdefs.h <<_ACEOF
54992 #define HAVE__HYPOTF 1
54993 _ACEOF
54996 done
55005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
55006 $as_echo_n "checking for ldexpf declaration... " >&6; }
55007 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
55008 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
55009 $as_echo_n "(cached) " >&6
55010 else
55013 ac_ext=cpp
55014 ac_cpp='$CXXCPP $CPPFLAGS'
55015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55020 /* end confdefs.h. */
55021 #include <math.h>
55023 main ()
55025 ldexpf(0, 0);
55027 return 0;
55029 _ACEOF
55030 if ac_fn_cxx_try_compile "$LINENO"; then :
55031 glibcxx_cv_func_ldexpf_use=yes
55032 else
55033 glibcxx_cv_func_ldexpf_use=no
55035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55036 ac_ext=c
55037 ac_cpp='$CPP $CPPFLAGS'
55038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
55047 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
55049 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
55050 for ac_func in ldexpf
55051 do :
55052 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
55053 if test "x$ac_cv_func_ldexpf" = x""yes; then :
55054 cat >>confdefs.h <<_ACEOF
55055 #define HAVE_LDEXPF 1
55056 _ACEOF
55059 done
55061 else
55063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
55064 $as_echo_n "checking for _ldexpf declaration... " >&6; }
55065 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
55066 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
55067 $as_echo_n "(cached) " >&6
55068 else
55071 ac_ext=cpp
55072 ac_cpp='$CXXCPP $CPPFLAGS'
55073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55078 /* end confdefs.h. */
55079 #include <math.h>
55081 main ()
55083 _ldexpf(0, 0);
55085 return 0;
55087 _ACEOF
55088 if ac_fn_cxx_try_compile "$LINENO"; then :
55089 glibcxx_cv_func__ldexpf_use=yes
55090 else
55091 glibcxx_cv_func__ldexpf_use=no
55093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55094 ac_ext=c
55095 ac_cpp='$CPP $CPPFLAGS'
55096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
55105 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
55107 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
55108 for ac_func in _ldexpf
55109 do :
55110 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
55111 if test "x$ac_cv_func__ldexpf" = x""yes; then :
55112 cat >>confdefs.h <<_ACEOF
55113 #define HAVE__LDEXPF 1
55114 _ACEOF
55117 done
55126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
55127 $as_echo_n "checking for logf declaration... " >&6; }
55128 if test x${glibcxx_cv_func_logf_use+set} != xset; then
55129 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
55130 $as_echo_n "(cached) " >&6
55131 else
55134 ac_ext=cpp
55135 ac_cpp='$CXXCPP $CPPFLAGS'
55136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55141 /* end confdefs.h. */
55142 #include <math.h>
55143 #ifdef HAVE_IEEEFP_H
55144 #include <ieeefp.h>
55145 #endif
55148 main ()
55150 logf(0);
55152 return 0;
55154 _ACEOF
55155 if ac_fn_cxx_try_compile "$LINENO"; then :
55156 glibcxx_cv_func_logf_use=yes
55157 else
55158 glibcxx_cv_func_logf_use=no
55160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55161 ac_ext=c
55162 ac_cpp='$CPP $CPPFLAGS'
55163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
55172 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
55174 if test x$glibcxx_cv_func_logf_use = x"yes"; then
55175 for ac_func in logf
55176 do :
55177 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
55178 if test "x$ac_cv_func_logf" = x""yes; then :
55179 cat >>confdefs.h <<_ACEOF
55180 #define HAVE_LOGF 1
55181 _ACEOF
55184 done
55186 else
55188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
55189 $as_echo_n "checking for _logf declaration... " >&6; }
55190 if test x${glibcxx_cv_func__logf_use+set} != xset; then
55191 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
55192 $as_echo_n "(cached) " >&6
55193 else
55196 ac_ext=cpp
55197 ac_cpp='$CXXCPP $CPPFLAGS'
55198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55203 /* end confdefs.h. */
55204 #include <math.h>
55205 #ifdef HAVE_IEEEFP_H
55206 #include <ieeefp.h>
55207 #endif
55210 main ()
55212 _logf(0);
55214 return 0;
55216 _ACEOF
55217 if ac_fn_cxx_try_compile "$LINENO"; then :
55218 glibcxx_cv_func__logf_use=yes
55219 else
55220 glibcxx_cv_func__logf_use=no
55222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55223 ac_ext=c
55224 ac_cpp='$CPP $CPPFLAGS'
55225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
55234 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
55236 if test x$glibcxx_cv_func__logf_use = x"yes"; then
55237 for ac_func in _logf
55238 do :
55239 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
55240 if test "x$ac_cv_func__logf" = x""yes; then :
55241 cat >>confdefs.h <<_ACEOF
55242 #define HAVE__LOGF 1
55243 _ACEOF
55246 done
55255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
55256 $as_echo_n "checking for log10f declaration... " >&6; }
55257 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
55258 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
55259 $as_echo_n "(cached) " >&6
55260 else
55263 ac_ext=cpp
55264 ac_cpp='$CXXCPP $CPPFLAGS'
55265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55270 /* end confdefs.h. */
55271 #include <math.h>
55272 #ifdef HAVE_IEEEFP_H
55273 #include <ieeefp.h>
55274 #endif
55277 main ()
55279 log10f(0);
55281 return 0;
55283 _ACEOF
55284 if ac_fn_cxx_try_compile "$LINENO"; then :
55285 glibcxx_cv_func_log10f_use=yes
55286 else
55287 glibcxx_cv_func_log10f_use=no
55289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55290 ac_ext=c
55291 ac_cpp='$CPP $CPPFLAGS'
55292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
55301 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
55303 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
55304 for ac_func in log10f
55305 do :
55306 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
55307 if test "x$ac_cv_func_log10f" = x""yes; then :
55308 cat >>confdefs.h <<_ACEOF
55309 #define HAVE_LOG10F 1
55310 _ACEOF
55313 done
55315 else
55317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
55318 $as_echo_n "checking for _log10f declaration... " >&6; }
55319 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
55320 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
55321 $as_echo_n "(cached) " >&6
55322 else
55325 ac_ext=cpp
55326 ac_cpp='$CXXCPP $CPPFLAGS'
55327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55332 /* end confdefs.h. */
55333 #include <math.h>
55334 #ifdef HAVE_IEEEFP_H
55335 #include <ieeefp.h>
55336 #endif
55339 main ()
55341 _log10f(0);
55343 return 0;
55345 _ACEOF
55346 if ac_fn_cxx_try_compile "$LINENO"; then :
55347 glibcxx_cv_func__log10f_use=yes
55348 else
55349 glibcxx_cv_func__log10f_use=no
55351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55352 ac_ext=c
55353 ac_cpp='$CPP $CPPFLAGS'
55354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
55363 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
55365 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
55366 for ac_func in _log10f
55367 do :
55368 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
55369 if test "x$ac_cv_func__log10f" = x""yes; then :
55370 cat >>confdefs.h <<_ACEOF
55371 #define HAVE__LOG10F 1
55372 _ACEOF
55375 done
55384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
55385 $as_echo_n "checking for modff declaration... " >&6; }
55386 if test x${glibcxx_cv_func_modff_use+set} != xset; then
55387 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
55388 $as_echo_n "(cached) " >&6
55389 else
55392 ac_ext=cpp
55393 ac_cpp='$CXXCPP $CPPFLAGS'
55394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55399 /* end confdefs.h. */
55400 #include <math.h>
55402 main ()
55404 modff(0, 0);
55406 return 0;
55408 _ACEOF
55409 if ac_fn_cxx_try_compile "$LINENO"; then :
55410 glibcxx_cv_func_modff_use=yes
55411 else
55412 glibcxx_cv_func_modff_use=no
55414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55415 ac_ext=c
55416 ac_cpp='$CPP $CPPFLAGS'
55417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
55426 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
55428 if test x$glibcxx_cv_func_modff_use = x"yes"; then
55429 for ac_func in modff
55430 do :
55431 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
55432 if test "x$ac_cv_func_modff" = x""yes; then :
55433 cat >>confdefs.h <<_ACEOF
55434 #define HAVE_MODFF 1
55435 _ACEOF
55438 done
55440 else
55442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
55443 $as_echo_n "checking for _modff declaration... " >&6; }
55444 if test x${glibcxx_cv_func__modff_use+set} != xset; then
55445 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
55446 $as_echo_n "(cached) " >&6
55447 else
55450 ac_ext=cpp
55451 ac_cpp='$CXXCPP $CPPFLAGS'
55452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55457 /* end confdefs.h. */
55458 #include <math.h>
55460 main ()
55462 _modff(0, 0);
55464 return 0;
55466 _ACEOF
55467 if ac_fn_cxx_try_compile "$LINENO"; then :
55468 glibcxx_cv_func__modff_use=yes
55469 else
55470 glibcxx_cv_func__modff_use=no
55472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55473 ac_ext=c
55474 ac_cpp='$CPP $CPPFLAGS'
55475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
55484 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
55486 if test x$glibcxx_cv_func__modff_use = x"yes"; then
55487 for ac_func in _modff
55488 do :
55489 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
55490 if test "x$ac_cv_func__modff" = x""yes; then :
55491 cat >>confdefs.h <<_ACEOF
55492 #define HAVE__MODFF 1
55493 _ACEOF
55496 done
55505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
55506 $as_echo_n "checking for modf declaration... " >&6; }
55507 if test x${glibcxx_cv_func_modf_use+set} != xset; then
55508 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
55509 $as_echo_n "(cached) " >&6
55510 else
55513 ac_ext=cpp
55514 ac_cpp='$CXXCPP $CPPFLAGS'
55515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55520 /* end confdefs.h. */
55521 #include <math.h>
55523 main ()
55525 modf(0, 0);
55527 return 0;
55529 _ACEOF
55530 if ac_fn_cxx_try_compile "$LINENO"; then :
55531 glibcxx_cv_func_modf_use=yes
55532 else
55533 glibcxx_cv_func_modf_use=no
55535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55536 ac_ext=c
55537 ac_cpp='$CPP $CPPFLAGS'
55538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
55547 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
55549 if test x$glibcxx_cv_func_modf_use = x"yes"; then
55550 for ac_func in modf
55551 do :
55552 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
55553 if test "x$ac_cv_func_modf" = x""yes; then :
55554 cat >>confdefs.h <<_ACEOF
55555 #define HAVE_MODF 1
55556 _ACEOF
55559 done
55561 else
55563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
55564 $as_echo_n "checking for _modf declaration... " >&6; }
55565 if test x${glibcxx_cv_func__modf_use+set} != xset; then
55566 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
55567 $as_echo_n "(cached) " >&6
55568 else
55571 ac_ext=cpp
55572 ac_cpp='$CXXCPP $CPPFLAGS'
55573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55578 /* end confdefs.h. */
55579 #include <math.h>
55581 main ()
55583 _modf(0, 0);
55585 return 0;
55587 _ACEOF
55588 if ac_fn_cxx_try_compile "$LINENO"; then :
55589 glibcxx_cv_func__modf_use=yes
55590 else
55591 glibcxx_cv_func__modf_use=no
55593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55594 ac_ext=c
55595 ac_cpp='$CPP $CPPFLAGS'
55596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
55605 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
55607 if test x$glibcxx_cv_func__modf_use = x"yes"; then
55608 for ac_func in _modf
55609 do :
55610 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
55611 if test "x$ac_cv_func__modf" = x""yes; then :
55612 cat >>confdefs.h <<_ACEOF
55613 #define HAVE__MODF 1
55614 _ACEOF
55617 done
55626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
55627 $as_echo_n "checking for powf declaration... " >&6; }
55628 if test x${glibcxx_cv_func_powf_use+set} != xset; then
55629 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
55630 $as_echo_n "(cached) " >&6
55631 else
55634 ac_ext=cpp
55635 ac_cpp='$CXXCPP $CPPFLAGS'
55636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55641 /* end confdefs.h. */
55642 #include <math.h>
55644 main ()
55646 powf(0, 0);
55648 return 0;
55650 _ACEOF
55651 if ac_fn_cxx_try_compile "$LINENO"; then :
55652 glibcxx_cv_func_powf_use=yes
55653 else
55654 glibcxx_cv_func_powf_use=no
55656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55657 ac_ext=c
55658 ac_cpp='$CPP $CPPFLAGS'
55659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
55668 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
55670 if test x$glibcxx_cv_func_powf_use = x"yes"; then
55671 for ac_func in powf
55672 do :
55673 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
55674 if test "x$ac_cv_func_powf" = x""yes; then :
55675 cat >>confdefs.h <<_ACEOF
55676 #define HAVE_POWF 1
55677 _ACEOF
55680 done
55682 else
55684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
55685 $as_echo_n "checking for _powf declaration... " >&6; }
55686 if test x${glibcxx_cv_func__powf_use+set} != xset; then
55687 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
55688 $as_echo_n "(cached) " >&6
55689 else
55692 ac_ext=cpp
55693 ac_cpp='$CXXCPP $CPPFLAGS'
55694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55699 /* end confdefs.h. */
55700 #include <math.h>
55702 main ()
55704 _powf(0, 0);
55706 return 0;
55708 _ACEOF
55709 if ac_fn_cxx_try_compile "$LINENO"; then :
55710 glibcxx_cv_func__powf_use=yes
55711 else
55712 glibcxx_cv_func__powf_use=no
55714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55715 ac_ext=c
55716 ac_cpp='$CPP $CPPFLAGS'
55717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
55726 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
55728 if test x$glibcxx_cv_func__powf_use = x"yes"; then
55729 for ac_func in _powf
55730 do :
55731 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
55732 if test "x$ac_cv_func__powf" = x""yes; then :
55733 cat >>confdefs.h <<_ACEOF
55734 #define HAVE__POWF 1
55735 _ACEOF
55738 done
55747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
55748 $as_echo_n "checking for sqrtf declaration... " >&6; }
55749 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
55750 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
55751 $as_echo_n "(cached) " >&6
55752 else
55755 ac_ext=cpp
55756 ac_cpp='$CXXCPP $CPPFLAGS'
55757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55762 /* end confdefs.h. */
55763 #include <math.h>
55764 #ifdef HAVE_IEEEFP_H
55765 #include <ieeefp.h>
55766 #endif
55769 main ()
55771 sqrtf(0);
55773 return 0;
55775 _ACEOF
55776 if ac_fn_cxx_try_compile "$LINENO"; then :
55777 glibcxx_cv_func_sqrtf_use=yes
55778 else
55779 glibcxx_cv_func_sqrtf_use=no
55781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55782 ac_ext=c
55783 ac_cpp='$CPP $CPPFLAGS'
55784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
55793 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
55795 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
55796 for ac_func in sqrtf
55797 do :
55798 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
55799 if test "x$ac_cv_func_sqrtf" = x""yes; then :
55800 cat >>confdefs.h <<_ACEOF
55801 #define HAVE_SQRTF 1
55802 _ACEOF
55805 done
55807 else
55809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
55810 $as_echo_n "checking for _sqrtf declaration... " >&6; }
55811 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
55812 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
55813 $as_echo_n "(cached) " >&6
55814 else
55817 ac_ext=cpp
55818 ac_cpp='$CXXCPP $CPPFLAGS'
55819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55824 /* end confdefs.h. */
55825 #include <math.h>
55826 #ifdef HAVE_IEEEFP_H
55827 #include <ieeefp.h>
55828 #endif
55831 main ()
55833 _sqrtf(0);
55835 return 0;
55837 _ACEOF
55838 if ac_fn_cxx_try_compile "$LINENO"; then :
55839 glibcxx_cv_func__sqrtf_use=yes
55840 else
55841 glibcxx_cv_func__sqrtf_use=no
55843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55844 ac_ext=c
55845 ac_cpp='$CPP $CPPFLAGS'
55846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
55855 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
55857 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
55858 for ac_func in _sqrtf
55859 do :
55860 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
55861 if test "x$ac_cv_func__sqrtf" = x""yes; then :
55862 cat >>confdefs.h <<_ACEOF
55863 #define HAVE__SQRTF 1
55864 _ACEOF
55867 done
55876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
55877 $as_echo_n "checking for sincosf declaration... " >&6; }
55878 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
55879 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
55880 $as_echo_n "(cached) " >&6
55881 else
55884 ac_ext=cpp
55885 ac_cpp='$CXXCPP $CPPFLAGS'
55886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55891 /* end confdefs.h. */
55892 #include <math.h>
55894 main ()
55896 sincosf(0, 0, 0);
55898 return 0;
55900 _ACEOF
55901 if ac_fn_cxx_try_compile "$LINENO"; then :
55902 glibcxx_cv_func_sincosf_use=yes
55903 else
55904 glibcxx_cv_func_sincosf_use=no
55906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55907 ac_ext=c
55908 ac_cpp='$CPP $CPPFLAGS'
55909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
55918 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
55920 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
55921 for ac_func in sincosf
55922 do :
55923 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
55924 if test "x$ac_cv_func_sincosf" = x""yes; then :
55925 cat >>confdefs.h <<_ACEOF
55926 #define HAVE_SINCOSF 1
55927 _ACEOF
55930 done
55932 else
55934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
55935 $as_echo_n "checking for _sincosf declaration... " >&6; }
55936 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
55937 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
55938 $as_echo_n "(cached) " >&6
55939 else
55942 ac_ext=cpp
55943 ac_cpp='$CXXCPP $CPPFLAGS'
55944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55949 /* end confdefs.h. */
55950 #include <math.h>
55952 main ()
55954 _sincosf(0, 0, 0);
55956 return 0;
55958 _ACEOF
55959 if ac_fn_cxx_try_compile "$LINENO"; then :
55960 glibcxx_cv_func__sincosf_use=yes
55961 else
55962 glibcxx_cv_func__sincosf_use=no
55964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55965 ac_ext=c
55966 ac_cpp='$CPP $CPPFLAGS'
55967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
55976 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
55978 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
55979 for ac_func in _sincosf
55980 do :
55981 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
55982 if test "x$ac_cv_func__sincosf" = x""yes; then :
55983 cat >>confdefs.h <<_ACEOF
55984 #define HAVE__SINCOSF 1
55985 _ACEOF
55988 done
55997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
55998 $as_echo_n "checking for finitef declaration... " >&6; }
55999 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
56000 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
56001 $as_echo_n "(cached) " >&6
56002 else
56005 ac_ext=cpp
56006 ac_cpp='$CXXCPP $CPPFLAGS'
56007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56012 /* end confdefs.h. */
56013 #include <math.h>
56014 #ifdef HAVE_IEEEFP_H
56015 #include <ieeefp.h>
56016 #endif
56019 main ()
56021 finitef(0);
56023 return 0;
56025 _ACEOF
56026 if ac_fn_cxx_try_compile "$LINENO"; then :
56027 glibcxx_cv_func_finitef_use=yes
56028 else
56029 glibcxx_cv_func_finitef_use=no
56031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56032 ac_ext=c
56033 ac_cpp='$CPP $CPPFLAGS'
56034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
56043 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
56045 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
56046 for ac_func in finitef
56047 do :
56048 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
56049 if test "x$ac_cv_func_finitef" = x""yes; then :
56050 cat >>confdefs.h <<_ACEOF
56051 #define HAVE_FINITEF 1
56052 _ACEOF
56055 done
56057 else
56059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
56060 $as_echo_n "checking for _finitef declaration... " >&6; }
56061 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
56062 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
56063 $as_echo_n "(cached) " >&6
56064 else
56067 ac_ext=cpp
56068 ac_cpp='$CXXCPP $CPPFLAGS'
56069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56074 /* end confdefs.h. */
56075 #include <math.h>
56076 #ifdef HAVE_IEEEFP_H
56077 #include <ieeefp.h>
56078 #endif
56081 main ()
56083 _finitef(0);
56085 return 0;
56087 _ACEOF
56088 if ac_fn_cxx_try_compile "$LINENO"; then :
56089 glibcxx_cv_func__finitef_use=yes
56090 else
56091 glibcxx_cv_func__finitef_use=no
56093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56094 ac_ext=c
56095 ac_cpp='$CPP $CPPFLAGS'
56096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
56105 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
56107 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
56108 for ac_func in _finitef
56109 do :
56110 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
56111 if test "x$ac_cv_func__finitef" = x""yes; then :
56112 cat >>confdefs.h <<_ACEOF
56113 #define HAVE__FINITEF 1
56114 _ACEOF
56117 done
56126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
56127 $as_echo_n "checking for long double trig functions... " >&6; }
56128 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
56129 $as_echo_n "(cached) " >&6
56130 else
56133 ac_ext=cpp
56134 ac_cpp='$CXXCPP $CPPFLAGS'
56135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56140 /* end confdefs.h. */
56141 #include <math.h>
56143 main ()
56145 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
56147 return 0;
56149 _ACEOF
56150 if ac_fn_cxx_try_compile "$LINENO"; then :
56151 glibcxx_cv_func_long_double_trig_use=yes
56152 else
56153 glibcxx_cv_func_long_double_trig_use=no
56155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56156 ac_ext=c
56157 ac_cpp='$CPP $CPPFLAGS'
56158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
56165 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
56166 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
56167 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
56168 do :
56169 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56170 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56171 eval as_val=\$$as_ac_var
56172 if test "x$as_val" = x""yes; then :
56173 cat >>confdefs.h <<_ACEOF
56174 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56175 _ACEOF
56178 done
56180 else
56181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
56182 $as_echo_n "checking for _long double trig functions... " >&6; }
56183 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
56184 $as_echo_n "(cached) " >&6
56185 else
56188 ac_ext=cpp
56189 ac_cpp='$CXXCPP $CPPFLAGS'
56190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56195 /* end confdefs.h. */
56196 #include <math.h>
56198 main ()
56200 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
56202 return 0;
56204 _ACEOF
56205 if ac_fn_cxx_try_compile "$LINENO"; then :
56206 glibcxx_cv_func__long_double_trig_use=yes
56207 else
56208 glibcxx_cv_func__long_double_trig_use=no
56210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56211 ac_ext=c
56212 ac_cpp='$CPP $CPPFLAGS'
56213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
56220 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
56221 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
56222 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
56223 do :
56224 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56225 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56226 eval as_val=\$$as_ac_var
56227 if test "x$as_val" = x""yes; then :
56228 cat >>confdefs.h <<_ACEOF
56229 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56230 _ACEOF
56233 done
56242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
56243 $as_echo_n "checking for long double round functions... " >&6; }
56244 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
56245 $as_echo_n "(cached) " >&6
56246 else
56249 ac_ext=cpp
56250 ac_cpp='$CXXCPP $CPPFLAGS'
56251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56256 /* end confdefs.h. */
56257 #include <math.h>
56259 main ()
56261 ceill (0); floorl (0);
56263 return 0;
56265 _ACEOF
56266 if ac_fn_cxx_try_compile "$LINENO"; then :
56267 glibcxx_cv_func_long_double_round_use=yes
56268 else
56269 glibcxx_cv_func_long_double_round_use=no
56271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56272 ac_ext=c
56273 ac_cpp='$CPP $CPPFLAGS'
56274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
56281 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
56282 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
56283 for ac_func in ceill floorl
56284 do :
56285 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56286 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56287 eval as_val=\$$as_ac_var
56288 if test "x$as_val" = x""yes; then :
56289 cat >>confdefs.h <<_ACEOF
56290 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56291 _ACEOF
56294 done
56296 else
56297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
56298 $as_echo_n "checking for _long double round functions... " >&6; }
56299 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
56300 $as_echo_n "(cached) " >&6
56301 else
56304 ac_ext=cpp
56305 ac_cpp='$CXXCPP $CPPFLAGS'
56306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56311 /* end confdefs.h. */
56312 #include <math.h>
56314 main ()
56316 _ceill (0); _floorl (0);
56318 return 0;
56320 _ACEOF
56321 if ac_fn_cxx_try_compile "$LINENO"; then :
56322 glibcxx_cv_func__long_double_round_use=yes
56323 else
56324 glibcxx_cv_func__long_double_round_use=no
56326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56327 ac_ext=c
56328 ac_cpp='$CPP $CPPFLAGS'
56329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
56336 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
56337 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
56338 for ac_func in _ceill _floorl
56339 do :
56340 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56341 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56342 eval as_val=\$$as_ac_var
56343 if test "x$as_val" = x""yes; then :
56344 cat >>confdefs.h <<_ACEOF
56345 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56346 _ACEOF
56349 done
56359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
56360 $as_echo_n "checking for isnanl declaration... " >&6; }
56361 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
56362 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
56363 $as_echo_n "(cached) " >&6
56364 else
56367 ac_ext=cpp
56368 ac_cpp='$CXXCPP $CPPFLAGS'
56369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56374 /* end confdefs.h. */
56375 #include <math.h>
56376 #ifdef HAVE_IEEEFP_H
56377 #include <ieeefp.h>
56378 #endif
56381 main ()
56383 isnanl(0);
56385 return 0;
56387 _ACEOF
56388 if ac_fn_cxx_try_compile "$LINENO"; then :
56389 glibcxx_cv_func_isnanl_use=yes
56390 else
56391 glibcxx_cv_func_isnanl_use=no
56393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56394 ac_ext=c
56395 ac_cpp='$CPP $CPPFLAGS'
56396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
56405 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
56407 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
56408 for ac_func in isnanl
56409 do :
56410 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
56411 if test "x$ac_cv_func_isnanl" = x""yes; then :
56412 cat >>confdefs.h <<_ACEOF
56413 #define HAVE_ISNANL 1
56414 _ACEOF
56417 done
56419 else
56421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
56422 $as_echo_n "checking for _isnanl declaration... " >&6; }
56423 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
56424 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
56425 $as_echo_n "(cached) " >&6
56426 else
56429 ac_ext=cpp
56430 ac_cpp='$CXXCPP $CPPFLAGS'
56431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56436 /* end confdefs.h. */
56437 #include <math.h>
56438 #ifdef HAVE_IEEEFP_H
56439 #include <ieeefp.h>
56440 #endif
56443 main ()
56445 _isnanl(0);
56447 return 0;
56449 _ACEOF
56450 if ac_fn_cxx_try_compile "$LINENO"; then :
56451 glibcxx_cv_func__isnanl_use=yes
56452 else
56453 glibcxx_cv_func__isnanl_use=no
56455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56456 ac_ext=c
56457 ac_cpp='$CPP $CPPFLAGS'
56458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
56467 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
56469 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
56470 for ac_func in _isnanl
56471 do :
56472 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
56473 if test "x$ac_cv_func__isnanl" = x""yes; then :
56474 cat >>confdefs.h <<_ACEOF
56475 #define HAVE__ISNANL 1
56476 _ACEOF
56479 done
56488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
56489 $as_echo_n "checking for isinfl declaration... " >&6; }
56490 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
56491 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
56492 $as_echo_n "(cached) " >&6
56493 else
56496 ac_ext=cpp
56497 ac_cpp='$CXXCPP $CPPFLAGS'
56498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56503 /* end confdefs.h. */
56504 #include <math.h>
56505 #ifdef HAVE_IEEEFP_H
56506 #include <ieeefp.h>
56507 #endif
56510 main ()
56512 isinfl(0);
56514 return 0;
56516 _ACEOF
56517 if ac_fn_cxx_try_compile "$LINENO"; then :
56518 glibcxx_cv_func_isinfl_use=yes
56519 else
56520 glibcxx_cv_func_isinfl_use=no
56522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56523 ac_ext=c
56524 ac_cpp='$CPP $CPPFLAGS'
56525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
56534 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
56536 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
56537 for ac_func in isinfl
56538 do :
56539 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
56540 if test "x$ac_cv_func_isinfl" = x""yes; then :
56541 cat >>confdefs.h <<_ACEOF
56542 #define HAVE_ISINFL 1
56543 _ACEOF
56546 done
56548 else
56550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
56551 $as_echo_n "checking for _isinfl declaration... " >&6; }
56552 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
56553 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
56554 $as_echo_n "(cached) " >&6
56555 else
56558 ac_ext=cpp
56559 ac_cpp='$CXXCPP $CPPFLAGS'
56560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56565 /* end confdefs.h. */
56566 #include <math.h>
56567 #ifdef HAVE_IEEEFP_H
56568 #include <ieeefp.h>
56569 #endif
56572 main ()
56574 _isinfl(0);
56576 return 0;
56578 _ACEOF
56579 if ac_fn_cxx_try_compile "$LINENO"; then :
56580 glibcxx_cv_func__isinfl_use=yes
56581 else
56582 glibcxx_cv_func__isinfl_use=no
56584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56585 ac_ext=c
56586 ac_cpp='$CPP $CPPFLAGS'
56587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
56596 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
56598 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
56599 for ac_func in _isinfl
56600 do :
56601 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
56602 if test "x$ac_cv_func__isinfl" = x""yes; then :
56603 cat >>confdefs.h <<_ACEOF
56604 #define HAVE__ISINFL 1
56605 _ACEOF
56608 done
56617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
56618 $as_echo_n "checking for atan2l declaration... " >&6; }
56619 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
56620 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
56621 $as_echo_n "(cached) " >&6
56622 else
56625 ac_ext=cpp
56626 ac_cpp='$CXXCPP $CPPFLAGS'
56627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56632 /* end confdefs.h. */
56633 #include <math.h>
56635 main ()
56637 atan2l(0, 0);
56639 return 0;
56641 _ACEOF
56642 if ac_fn_cxx_try_compile "$LINENO"; then :
56643 glibcxx_cv_func_atan2l_use=yes
56644 else
56645 glibcxx_cv_func_atan2l_use=no
56647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56648 ac_ext=c
56649 ac_cpp='$CPP $CPPFLAGS'
56650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
56659 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
56661 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
56662 for ac_func in atan2l
56663 do :
56664 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
56665 if test "x$ac_cv_func_atan2l" = x""yes; then :
56666 cat >>confdefs.h <<_ACEOF
56667 #define HAVE_ATAN2L 1
56668 _ACEOF
56671 done
56673 else
56675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
56676 $as_echo_n "checking for _atan2l declaration... " >&6; }
56677 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
56678 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
56679 $as_echo_n "(cached) " >&6
56680 else
56683 ac_ext=cpp
56684 ac_cpp='$CXXCPP $CPPFLAGS'
56685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56690 /* end confdefs.h. */
56691 #include <math.h>
56693 main ()
56695 _atan2l(0, 0);
56697 return 0;
56699 _ACEOF
56700 if ac_fn_cxx_try_compile "$LINENO"; then :
56701 glibcxx_cv_func__atan2l_use=yes
56702 else
56703 glibcxx_cv_func__atan2l_use=no
56705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56706 ac_ext=c
56707 ac_cpp='$CPP $CPPFLAGS'
56708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
56717 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
56719 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
56720 for ac_func in _atan2l
56721 do :
56722 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
56723 if test "x$ac_cv_func__atan2l" = x""yes; then :
56724 cat >>confdefs.h <<_ACEOF
56725 #define HAVE__ATAN2L 1
56726 _ACEOF
56729 done
56738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
56739 $as_echo_n "checking for expl declaration... " >&6; }
56740 if test x${glibcxx_cv_func_expl_use+set} != xset; then
56741 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
56742 $as_echo_n "(cached) " >&6
56743 else
56746 ac_ext=cpp
56747 ac_cpp='$CXXCPP $CPPFLAGS'
56748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56753 /* end confdefs.h. */
56754 #include <math.h>
56755 #ifdef HAVE_IEEEFP_H
56756 #include <ieeefp.h>
56757 #endif
56760 main ()
56762 expl(0);
56764 return 0;
56766 _ACEOF
56767 if ac_fn_cxx_try_compile "$LINENO"; then :
56768 glibcxx_cv_func_expl_use=yes
56769 else
56770 glibcxx_cv_func_expl_use=no
56772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56773 ac_ext=c
56774 ac_cpp='$CPP $CPPFLAGS'
56775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
56784 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
56786 if test x$glibcxx_cv_func_expl_use = x"yes"; then
56787 for ac_func in expl
56788 do :
56789 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
56790 if test "x$ac_cv_func_expl" = x""yes; then :
56791 cat >>confdefs.h <<_ACEOF
56792 #define HAVE_EXPL 1
56793 _ACEOF
56796 done
56798 else
56800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
56801 $as_echo_n "checking for _expl declaration... " >&6; }
56802 if test x${glibcxx_cv_func__expl_use+set} != xset; then
56803 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
56804 $as_echo_n "(cached) " >&6
56805 else
56808 ac_ext=cpp
56809 ac_cpp='$CXXCPP $CPPFLAGS'
56810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56815 /* end confdefs.h. */
56816 #include <math.h>
56817 #ifdef HAVE_IEEEFP_H
56818 #include <ieeefp.h>
56819 #endif
56822 main ()
56824 _expl(0);
56826 return 0;
56828 _ACEOF
56829 if ac_fn_cxx_try_compile "$LINENO"; then :
56830 glibcxx_cv_func__expl_use=yes
56831 else
56832 glibcxx_cv_func__expl_use=no
56834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56835 ac_ext=c
56836 ac_cpp='$CPP $CPPFLAGS'
56837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
56846 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
56848 if test x$glibcxx_cv_func__expl_use = x"yes"; then
56849 for ac_func in _expl
56850 do :
56851 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
56852 if test "x$ac_cv_func__expl" = x""yes; then :
56853 cat >>confdefs.h <<_ACEOF
56854 #define HAVE__EXPL 1
56855 _ACEOF
56858 done
56867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
56868 $as_echo_n "checking for fabsl declaration... " >&6; }
56869 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
56870 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
56871 $as_echo_n "(cached) " >&6
56872 else
56875 ac_ext=cpp
56876 ac_cpp='$CXXCPP $CPPFLAGS'
56877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56882 /* end confdefs.h. */
56883 #include <math.h>
56884 #ifdef HAVE_IEEEFP_H
56885 #include <ieeefp.h>
56886 #endif
56889 main ()
56891 fabsl(0);
56893 return 0;
56895 _ACEOF
56896 if ac_fn_cxx_try_compile "$LINENO"; then :
56897 glibcxx_cv_func_fabsl_use=yes
56898 else
56899 glibcxx_cv_func_fabsl_use=no
56901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56902 ac_ext=c
56903 ac_cpp='$CPP $CPPFLAGS'
56904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
56913 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
56915 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
56916 for ac_func in fabsl
56917 do :
56918 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
56919 if test "x$ac_cv_func_fabsl" = x""yes; then :
56920 cat >>confdefs.h <<_ACEOF
56921 #define HAVE_FABSL 1
56922 _ACEOF
56925 done
56927 else
56929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
56930 $as_echo_n "checking for _fabsl declaration... " >&6; }
56931 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
56932 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
56933 $as_echo_n "(cached) " >&6
56934 else
56937 ac_ext=cpp
56938 ac_cpp='$CXXCPP $CPPFLAGS'
56939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56944 /* end confdefs.h. */
56945 #include <math.h>
56946 #ifdef HAVE_IEEEFP_H
56947 #include <ieeefp.h>
56948 #endif
56951 main ()
56953 _fabsl(0);
56955 return 0;
56957 _ACEOF
56958 if ac_fn_cxx_try_compile "$LINENO"; then :
56959 glibcxx_cv_func__fabsl_use=yes
56960 else
56961 glibcxx_cv_func__fabsl_use=no
56963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56964 ac_ext=c
56965 ac_cpp='$CPP $CPPFLAGS'
56966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
56975 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
56977 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
56978 for ac_func in _fabsl
56979 do :
56980 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
56981 if test "x$ac_cv_func__fabsl" = x""yes; then :
56982 cat >>confdefs.h <<_ACEOF
56983 #define HAVE__FABSL 1
56984 _ACEOF
56987 done
56996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
56997 $as_echo_n "checking for fmodl declaration... " >&6; }
56998 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
56999 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
57000 $as_echo_n "(cached) " >&6
57001 else
57004 ac_ext=cpp
57005 ac_cpp='$CXXCPP $CPPFLAGS'
57006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57011 /* end confdefs.h. */
57012 #include <math.h>
57014 main ()
57016 fmodl(0, 0);
57018 return 0;
57020 _ACEOF
57021 if ac_fn_cxx_try_compile "$LINENO"; then :
57022 glibcxx_cv_func_fmodl_use=yes
57023 else
57024 glibcxx_cv_func_fmodl_use=no
57026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57027 ac_ext=c
57028 ac_cpp='$CPP $CPPFLAGS'
57029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
57038 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
57040 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
57041 for ac_func in fmodl
57042 do :
57043 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
57044 if test "x$ac_cv_func_fmodl" = x""yes; then :
57045 cat >>confdefs.h <<_ACEOF
57046 #define HAVE_FMODL 1
57047 _ACEOF
57050 done
57052 else
57054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
57055 $as_echo_n "checking for _fmodl declaration... " >&6; }
57056 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
57057 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
57058 $as_echo_n "(cached) " >&6
57059 else
57062 ac_ext=cpp
57063 ac_cpp='$CXXCPP $CPPFLAGS'
57064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57069 /* end confdefs.h. */
57070 #include <math.h>
57072 main ()
57074 _fmodl(0, 0);
57076 return 0;
57078 _ACEOF
57079 if ac_fn_cxx_try_compile "$LINENO"; then :
57080 glibcxx_cv_func__fmodl_use=yes
57081 else
57082 glibcxx_cv_func__fmodl_use=no
57084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57085 ac_ext=c
57086 ac_cpp='$CPP $CPPFLAGS'
57087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
57096 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
57098 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
57099 for ac_func in _fmodl
57100 do :
57101 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
57102 if test "x$ac_cv_func__fmodl" = x""yes; then :
57103 cat >>confdefs.h <<_ACEOF
57104 #define HAVE__FMODL 1
57105 _ACEOF
57108 done
57117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
57118 $as_echo_n "checking for frexpl declaration... " >&6; }
57119 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
57120 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
57121 $as_echo_n "(cached) " >&6
57122 else
57125 ac_ext=cpp
57126 ac_cpp='$CXXCPP $CPPFLAGS'
57127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57132 /* end confdefs.h. */
57133 #include <math.h>
57135 main ()
57137 frexpl(0, 0);
57139 return 0;
57141 _ACEOF
57142 if ac_fn_cxx_try_compile "$LINENO"; then :
57143 glibcxx_cv_func_frexpl_use=yes
57144 else
57145 glibcxx_cv_func_frexpl_use=no
57147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57148 ac_ext=c
57149 ac_cpp='$CPP $CPPFLAGS'
57150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
57159 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
57161 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
57162 for ac_func in frexpl
57163 do :
57164 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
57165 if test "x$ac_cv_func_frexpl" = x""yes; then :
57166 cat >>confdefs.h <<_ACEOF
57167 #define HAVE_FREXPL 1
57168 _ACEOF
57171 done
57173 else
57175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
57176 $as_echo_n "checking for _frexpl declaration... " >&6; }
57177 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
57178 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
57179 $as_echo_n "(cached) " >&6
57180 else
57183 ac_ext=cpp
57184 ac_cpp='$CXXCPP $CPPFLAGS'
57185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57190 /* end confdefs.h. */
57191 #include <math.h>
57193 main ()
57195 _frexpl(0, 0);
57197 return 0;
57199 _ACEOF
57200 if ac_fn_cxx_try_compile "$LINENO"; then :
57201 glibcxx_cv_func__frexpl_use=yes
57202 else
57203 glibcxx_cv_func__frexpl_use=no
57205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57206 ac_ext=c
57207 ac_cpp='$CPP $CPPFLAGS'
57208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
57217 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
57219 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
57220 for ac_func in _frexpl
57221 do :
57222 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
57223 if test "x$ac_cv_func__frexpl" = x""yes; then :
57224 cat >>confdefs.h <<_ACEOF
57225 #define HAVE__FREXPL 1
57226 _ACEOF
57229 done
57238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
57239 $as_echo_n "checking for hypotl declaration... " >&6; }
57240 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
57241 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
57242 $as_echo_n "(cached) " >&6
57243 else
57246 ac_ext=cpp
57247 ac_cpp='$CXXCPP $CPPFLAGS'
57248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57253 /* end confdefs.h. */
57254 #include <math.h>
57256 main ()
57258 hypotl(0, 0);
57260 return 0;
57262 _ACEOF
57263 if ac_fn_cxx_try_compile "$LINENO"; then :
57264 glibcxx_cv_func_hypotl_use=yes
57265 else
57266 glibcxx_cv_func_hypotl_use=no
57268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57269 ac_ext=c
57270 ac_cpp='$CPP $CPPFLAGS'
57271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
57280 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
57282 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
57283 for ac_func in hypotl
57284 do :
57285 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
57286 if test "x$ac_cv_func_hypotl" = x""yes; then :
57287 cat >>confdefs.h <<_ACEOF
57288 #define HAVE_HYPOTL 1
57289 _ACEOF
57292 done
57294 else
57296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
57297 $as_echo_n "checking for _hypotl declaration... " >&6; }
57298 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
57299 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
57300 $as_echo_n "(cached) " >&6
57301 else
57304 ac_ext=cpp
57305 ac_cpp='$CXXCPP $CPPFLAGS'
57306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57311 /* end confdefs.h. */
57312 #include <math.h>
57314 main ()
57316 _hypotl(0, 0);
57318 return 0;
57320 _ACEOF
57321 if ac_fn_cxx_try_compile "$LINENO"; then :
57322 glibcxx_cv_func__hypotl_use=yes
57323 else
57324 glibcxx_cv_func__hypotl_use=no
57326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57327 ac_ext=c
57328 ac_cpp='$CPP $CPPFLAGS'
57329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
57338 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
57340 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
57341 for ac_func in _hypotl
57342 do :
57343 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
57344 if test "x$ac_cv_func__hypotl" = x""yes; then :
57345 cat >>confdefs.h <<_ACEOF
57346 #define HAVE__HYPOTL 1
57347 _ACEOF
57350 done
57359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
57360 $as_echo_n "checking for ldexpl declaration... " >&6; }
57361 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
57362 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
57363 $as_echo_n "(cached) " >&6
57364 else
57367 ac_ext=cpp
57368 ac_cpp='$CXXCPP $CPPFLAGS'
57369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57374 /* end confdefs.h. */
57375 #include <math.h>
57377 main ()
57379 ldexpl(0, 0);
57381 return 0;
57383 _ACEOF
57384 if ac_fn_cxx_try_compile "$LINENO"; then :
57385 glibcxx_cv_func_ldexpl_use=yes
57386 else
57387 glibcxx_cv_func_ldexpl_use=no
57389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57390 ac_ext=c
57391 ac_cpp='$CPP $CPPFLAGS'
57392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
57401 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
57403 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
57404 for ac_func in ldexpl
57405 do :
57406 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
57407 if test "x$ac_cv_func_ldexpl" = x""yes; then :
57408 cat >>confdefs.h <<_ACEOF
57409 #define HAVE_LDEXPL 1
57410 _ACEOF
57413 done
57415 else
57417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
57418 $as_echo_n "checking for _ldexpl declaration... " >&6; }
57419 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
57420 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
57421 $as_echo_n "(cached) " >&6
57422 else
57425 ac_ext=cpp
57426 ac_cpp='$CXXCPP $CPPFLAGS'
57427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57432 /* end confdefs.h. */
57433 #include <math.h>
57435 main ()
57437 _ldexpl(0, 0);
57439 return 0;
57441 _ACEOF
57442 if ac_fn_cxx_try_compile "$LINENO"; then :
57443 glibcxx_cv_func__ldexpl_use=yes
57444 else
57445 glibcxx_cv_func__ldexpl_use=no
57447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57448 ac_ext=c
57449 ac_cpp='$CPP $CPPFLAGS'
57450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
57459 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
57461 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
57462 for ac_func in _ldexpl
57463 do :
57464 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
57465 if test "x$ac_cv_func__ldexpl" = x""yes; then :
57466 cat >>confdefs.h <<_ACEOF
57467 #define HAVE__LDEXPL 1
57468 _ACEOF
57471 done
57480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
57481 $as_echo_n "checking for logl declaration... " >&6; }
57482 if test x${glibcxx_cv_func_logl_use+set} != xset; then
57483 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
57484 $as_echo_n "(cached) " >&6
57485 else
57488 ac_ext=cpp
57489 ac_cpp='$CXXCPP $CPPFLAGS'
57490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57495 /* end confdefs.h. */
57496 #include <math.h>
57497 #ifdef HAVE_IEEEFP_H
57498 #include <ieeefp.h>
57499 #endif
57502 main ()
57504 logl(0);
57506 return 0;
57508 _ACEOF
57509 if ac_fn_cxx_try_compile "$LINENO"; then :
57510 glibcxx_cv_func_logl_use=yes
57511 else
57512 glibcxx_cv_func_logl_use=no
57514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57515 ac_ext=c
57516 ac_cpp='$CPP $CPPFLAGS'
57517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
57526 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
57528 if test x$glibcxx_cv_func_logl_use = x"yes"; then
57529 for ac_func in logl
57530 do :
57531 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
57532 if test "x$ac_cv_func_logl" = x""yes; then :
57533 cat >>confdefs.h <<_ACEOF
57534 #define HAVE_LOGL 1
57535 _ACEOF
57538 done
57540 else
57542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
57543 $as_echo_n "checking for _logl declaration... " >&6; }
57544 if test x${glibcxx_cv_func__logl_use+set} != xset; then
57545 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
57546 $as_echo_n "(cached) " >&6
57547 else
57550 ac_ext=cpp
57551 ac_cpp='$CXXCPP $CPPFLAGS'
57552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57557 /* end confdefs.h. */
57558 #include <math.h>
57559 #ifdef HAVE_IEEEFP_H
57560 #include <ieeefp.h>
57561 #endif
57564 main ()
57566 _logl(0);
57568 return 0;
57570 _ACEOF
57571 if ac_fn_cxx_try_compile "$LINENO"; then :
57572 glibcxx_cv_func__logl_use=yes
57573 else
57574 glibcxx_cv_func__logl_use=no
57576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57577 ac_ext=c
57578 ac_cpp='$CPP $CPPFLAGS'
57579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
57588 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
57590 if test x$glibcxx_cv_func__logl_use = x"yes"; then
57591 for ac_func in _logl
57592 do :
57593 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
57594 if test "x$ac_cv_func__logl" = x""yes; then :
57595 cat >>confdefs.h <<_ACEOF
57596 #define HAVE__LOGL 1
57597 _ACEOF
57600 done
57609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
57610 $as_echo_n "checking for log10l declaration... " >&6; }
57611 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
57612 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
57613 $as_echo_n "(cached) " >&6
57614 else
57617 ac_ext=cpp
57618 ac_cpp='$CXXCPP $CPPFLAGS'
57619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57624 /* end confdefs.h. */
57625 #include <math.h>
57626 #ifdef HAVE_IEEEFP_H
57627 #include <ieeefp.h>
57628 #endif
57631 main ()
57633 log10l(0);
57635 return 0;
57637 _ACEOF
57638 if ac_fn_cxx_try_compile "$LINENO"; then :
57639 glibcxx_cv_func_log10l_use=yes
57640 else
57641 glibcxx_cv_func_log10l_use=no
57643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57644 ac_ext=c
57645 ac_cpp='$CPP $CPPFLAGS'
57646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
57655 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
57657 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
57658 for ac_func in log10l
57659 do :
57660 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
57661 if test "x$ac_cv_func_log10l" = x""yes; then :
57662 cat >>confdefs.h <<_ACEOF
57663 #define HAVE_LOG10L 1
57664 _ACEOF
57667 done
57669 else
57671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
57672 $as_echo_n "checking for _log10l declaration... " >&6; }
57673 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
57674 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
57675 $as_echo_n "(cached) " >&6
57676 else
57679 ac_ext=cpp
57680 ac_cpp='$CXXCPP $CPPFLAGS'
57681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57686 /* end confdefs.h. */
57687 #include <math.h>
57688 #ifdef HAVE_IEEEFP_H
57689 #include <ieeefp.h>
57690 #endif
57693 main ()
57695 _log10l(0);
57697 return 0;
57699 _ACEOF
57700 if ac_fn_cxx_try_compile "$LINENO"; then :
57701 glibcxx_cv_func__log10l_use=yes
57702 else
57703 glibcxx_cv_func__log10l_use=no
57705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57706 ac_ext=c
57707 ac_cpp='$CPP $CPPFLAGS'
57708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
57717 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
57719 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
57720 for ac_func in _log10l
57721 do :
57722 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
57723 if test "x$ac_cv_func__log10l" = x""yes; then :
57724 cat >>confdefs.h <<_ACEOF
57725 #define HAVE__LOG10L 1
57726 _ACEOF
57729 done
57738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
57739 $as_echo_n "checking for modfl declaration... " >&6; }
57740 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
57741 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
57742 $as_echo_n "(cached) " >&6
57743 else
57746 ac_ext=cpp
57747 ac_cpp='$CXXCPP $CPPFLAGS'
57748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57753 /* end confdefs.h. */
57754 #include <math.h>
57756 main ()
57758 modfl(0, 0);
57760 return 0;
57762 _ACEOF
57763 if ac_fn_cxx_try_compile "$LINENO"; then :
57764 glibcxx_cv_func_modfl_use=yes
57765 else
57766 glibcxx_cv_func_modfl_use=no
57768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57769 ac_ext=c
57770 ac_cpp='$CPP $CPPFLAGS'
57771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
57780 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
57782 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
57783 for ac_func in modfl
57784 do :
57785 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
57786 if test "x$ac_cv_func_modfl" = x""yes; then :
57787 cat >>confdefs.h <<_ACEOF
57788 #define HAVE_MODFL 1
57789 _ACEOF
57792 done
57794 else
57796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
57797 $as_echo_n "checking for _modfl declaration... " >&6; }
57798 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
57799 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
57800 $as_echo_n "(cached) " >&6
57801 else
57804 ac_ext=cpp
57805 ac_cpp='$CXXCPP $CPPFLAGS'
57806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57811 /* end confdefs.h. */
57812 #include <math.h>
57814 main ()
57816 _modfl(0, 0);
57818 return 0;
57820 _ACEOF
57821 if ac_fn_cxx_try_compile "$LINENO"; then :
57822 glibcxx_cv_func__modfl_use=yes
57823 else
57824 glibcxx_cv_func__modfl_use=no
57826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57827 ac_ext=c
57828 ac_cpp='$CPP $CPPFLAGS'
57829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
57838 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
57840 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
57841 for ac_func in _modfl
57842 do :
57843 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
57844 if test "x$ac_cv_func__modfl" = x""yes; then :
57845 cat >>confdefs.h <<_ACEOF
57846 #define HAVE__MODFL 1
57847 _ACEOF
57850 done
57859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
57860 $as_echo_n "checking for powl declaration... " >&6; }
57861 if test x${glibcxx_cv_func_powl_use+set} != xset; then
57862 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
57863 $as_echo_n "(cached) " >&6
57864 else
57867 ac_ext=cpp
57868 ac_cpp='$CXXCPP $CPPFLAGS'
57869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57874 /* end confdefs.h. */
57875 #include <math.h>
57877 main ()
57879 powl(0, 0);
57881 return 0;
57883 _ACEOF
57884 if ac_fn_cxx_try_compile "$LINENO"; then :
57885 glibcxx_cv_func_powl_use=yes
57886 else
57887 glibcxx_cv_func_powl_use=no
57889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57890 ac_ext=c
57891 ac_cpp='$CPP $CPPFLAGS'
57892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
57901 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
57903 if test x$glibcxx_cv_func_powl_use = x"yes"; then
57904 for ac_func in powl
57905 do :
57906 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
57907 if test "x$ac_cv_func_powl" = x""yes; then :
57908 cat >>confdefs.h <<_ACEOF
57909 #define HAVE_POWL 1
57910 _ACEOF
57913 done
57915 else
57917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
57918 $as_echo_n "checking for _powl declaration... " >&6; }
57919 if test x${glibcxx_cv_func__powl_use+set} != xset; then
57920 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
57921 $as_echo_n "(cached) " >&6
57922 else
57925 ac_ext=cpp
57926 ac_cpp='$CXXCPP $CPPFLAGS'
57927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57932 /* end confdefs.h. */
57933 #include <math.h>
57935 main ()
57937 _powl(0, 0);
57939 return 0;
57941 _ACEOF
57942 if ac_fn_cxx_try_compile "$LINENO"; then :
57943 glibcxx_cv_func__powl_use=yes
57944 else
57945 glibcxx_cv_func__powl_use=no
57947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57948 ac_ext=c
57949 ac_cpp='$CPP $CPPFLAGS'
57950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
57959 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
57961 if test x$glibcxx_cv_func__powl_use = x"yes"; then
57962 for ac_func in _powl
57963 do :
57964 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
57965 if test "x$ac_cv_func__powl" = x""yes; then :
57966 cat >>confdefs.h <<_ACEOF
57967 #define HAVE__POWL 1
57968 _ACEOF
57971 done
57980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
57981 $as_echo_n "checking for sqrtl declaration... " >&6; }
57982 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
57983 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
57984 $as_echo_n "(cached) " >&6
57985 else
57988 ac_ext=cpp
57989 ac_cpp='$CXXCPP $CPPFLAGS'
57990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57995 /* end confdefs.h. */
57996 #include <math.h>
57997 #ifdef HAVE_IEEEFP_H
57998 #include <ieeefp.h>
57999 #endif
58002 main ()
58004 sqrtl(0);
58006 return 0;
58008 _ACEOF
58009 if ac_fn_cxx_try_compile "$LINENO"; then :
58010 glibcxx_cv_func_sqrtl_use=yes
58011 else
58012 glibcxx_cv_func_sqrtl_use=no
58014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58015 ac_ext=c
58016 ac_cpp='$CPP $CPPFLAGS'
58017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
58026 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
58028 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
58029 for ac_func in sqrtl
58030 do :
58031 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
58032 if test "x$ac_cv_func_sqrtl" = x""yes; then :
58033 cat >>confdefs.h <<_ACEOF
58034 #define HAVE_SQRTL 1
58035 _ACEOF
58038 done
58040 else
58042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
58043 $as_echo_n "checking for _sqrtl declaration... " >&6; }
58044 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
58045 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
58046 $as_echo_n "(cached) " >&6
58047 else
58050 ac_ext=cpp
58051 ac_cpp='$CXXCPP $CPPFLAGS'
58052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58057 /* end confdefs.h. */
58058 #include <math.h>
58059 #ifdef HAVE_IEEEFP_H
58060 #include <ieeefp.h>
58061 #endif
58064 main ()
58066 _sqrtl(0);
58068 return 0;
58070 _ACEOF
58071 if ac_fn_cxx_try_compile "$LINENO"; then :
58072 glibcxx_cv_func__sqrtl_use=yes
58073 else
58074 glibcxx_cv_func__sqrtl_use=no
58076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58077 ac_ext=c
58078 ac_cpp='$CPP $CPPFLAGS'
58079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
58088 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
58090 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
58091 for ac_func in _sqrtl
58092 do :
58093 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
58094 if test "x$ac_cv_func__sqrtl" = x""yes; then :
58095 cat >>confdefs.h <<_ACEOF
58096 #define HAVE__SQRTL 1
58097 _ACEOF
58100 done
58109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
58110 $as_echo_n "checking for sincosl declaration... " >&6; }
58111 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
58112 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
58113 $as_echo_n "(cached) " >&6
58114 else
58117 ac_ext=cpp
58118 ac_cpp='$CXXCPP $CPPFLAGS'
58119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58124 /* end confdefs.h. */
58125 #include <math.h>
58127 main ()
58129 sincosl(0, 0, 0);
58131 return 0;
58133 _ACEOF
58134 if ac_fn_cxx_try_compile "$LINENO"; then :
58135 glibcxx_cv_func_sincosl_use=yes
58136 else
58137 glibcxx_cv_func_sincosl_use=no
58139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58140 ac_ext=c
58141 ac_cpp='$CPP $CPPFLAGS'
58142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
58151 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
58153 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
58154 for ac_func in sincosl
58155 do :
58156 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
58157 if test "x$ac_cv_func_sincosl" = x""yes; then :
58158 cat >>confdefs.h <<_ACEOF
58159 #define HAVE_SINCOSL 1
58160 _ACEOF
58163 done
58165 else
58167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
58168 $as_echo_n "checking for _sincosl declaration... " >&6; }
58169 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
58170 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
58171 $as_echo_n "(cached) " >&6
58172 else
58175 ac_ext=cpp
58176 ac_cpp='$CXXCPP $CPPFLAGS'
58177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58182 /* end confdefs.h. */
58183 #include <math.h>
58185 main ()
58187 _sincosl(0, 0, 0);
58189 return 0;
58191 _ACEOF
58192 if ac_fn_cxx_try_compile "$LINENO"; then :
58193 glibcxx_cv_func__sincosl_use=yes
58194 else
58195 glibcxx_cv_func__sincosl_use=no
58197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58198 ac_ext=c
58199 ac_cpp='$CPP $CPPFLAGS'
58200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
58209 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
58211 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
58212 for ac_func in _sincosl
58213 do :
58214 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
58215 if test "x$ac_cv_func__sincosl" = x""yes; then :
58216 cat >>confdefs.h <<_ACEOF
58217 #define HAVE__SINCOSL 1
58218 _ACEOF
58221 done
58230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
58231 $as_echo_n "checking for finitel declaration... " >&6; }
58232 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
58233 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
58234 $as_echo_n "(cached) " >&6
58235 else
58238 ac_ext=cpp
58239 ac_cpp='$CXXCPP $CPPFLAGS'
58240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58245 /* end confdefs.h. */
58246 #include <math.h>
58247 #ifdef HAVE_IEEEFP_H
58248 #include <ieeefp.h>
58249 #endif
58252 main ()
58254 finitel(0);
58256 return 0;
58258 _ACEOF
58259 if ac_fn_cxx_try_compile "$LINENO"; then :
58260 glibcxx_cv_func_finitel_use=yes
58261 else
58262 glibcxx_cv_func_finitel_use=no
58264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58265 ac_ext=c
58266 ac_cpp='$CPP $CPPFLAGS'
58267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
58276 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
58278 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
58279 for ac_func in finitel
58280 do :
58281 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
58282 if test "x$ac_cv_func_finitel" = x""yes; then :
58283 cat >>confdefs.h <<_ACEOF
58284 #define HAVE_FINITEL 1
58285 _ACEOF
58288 done
58290 else
58292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
58293 $as_echo_n "checking for _finitel declaration... " >&6; }
58294 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
58295 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
58296 $as_echo_n "(cached) " >&6
58297 else
58300 ac_ext=cpp
58301 ac_cpp='$CXXCPP $CPPFLAGS'
58302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58307 /* end confdefs.h. */
58308 #include <math.h>
58309 #ifdef HAVE_IEEEFP_H
58310 #include <ieeefp.h>
58311 #endif
58314 main ()
58316 _finitel(0);
58318 return 0;
58320 _ACEOF
58321 if ac_fn_cxx_try_compile "$LINENO"; then :
58322 glibcxx_cv_func__finitel_use=yes
58323 else
58324 glibcxx_cv_func__finitel_use=no
58326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58327 ac_ext=c
58328 ac_cpp='$CPP $CPPFLAGS'
58329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
58338 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
58340 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
58341 for ac_func in _finitel
58342 do :
58343 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
58344 if test "x$ac_cv_func__finitel" = x""yes; then :
58345 cat >>confdefs.h <<_ACEOF
58346 #define HAVE__FINITEL 1
58347 _ACEOF
58350 done
58358 LIBS="$ac_save_LIBS"
58359 CXXFLAGS="$ac_save_CXXFLAGS"
58362 ac_test_CXXFLAGS="${CXXFLAGS+set}"
58363 ac_save_CXXFLAGS="$CXXFLAGS"
58364 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
58367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
58368 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
58369 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
58370 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
58371 $as_echo_n "(cached) " >&6
58372 else
58375 ac_ext=cpp
58376 ac_cpp='$CXXCPP $CPPFLAGS'
58377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58382 /* end confdefs.h. */
58383 #include <stdlib.h>
58385 main ()
58387 at_quick_exit(0);
58389 return 0;
58391 _ACEOF
58392 if ac_fn_cxx_try_compile "$LINENO"; then :
58393 glibcxx_cv_func_at_quick_exit_use=yes
58394 else
58395 glibcxx_cv_func_at_quick_exit_use=no
58397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58398 ac_ext=c
58399 ac_cpp='$CPP $CPPFLAGS'
58400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
58409 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
58410 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
58411 for ac_func in at_quick_exit
58412 do :
58413 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
58414 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
58415 cat >>confdefs.h <<_ACEOF
58416 #define HAVE_AT_QUICK_EXIT 1
58417 _ACEOF
58420 done
58425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
58426 $as_echo_n "checking for quick_exit declaration... " >&6; }
58427 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
58428 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
58429 $as_echo_n "(cached) " >&6
58430 else
58433 ac_ext=cpp
58434 ac_cpp='$CXXCPP $CPPFLAGS'
58435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58440 /* end confdefs.h. */
58441 #include <stdlib.h>
58443 main ()
58445 quick_exit(0);
58447 return 0;
58449 _ACEOF
58450 if ac_fn_cxx_try_compile "$LINENO"; then :
58451 glibcxx_cv_func_quick_exit_use=yes
58452 else
58453 glibcxx_cv_func_quick_exit_use=no
58455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58456 ac_ext=c
58457 ac_cpp='$CPP $CPPFLAGS'
58458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
58467 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
58468 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
58469 for ac_func in quick_exit
58470 do :
58471 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
58472 if test "x$ac_cv_func_quick_exit" = x""yes; then :
58473 cat >>confdefs.h <<_ACEOF
58474 #define HAVE_QUICK_EXIT 1
58475 _ACEOF
58478 done
58483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
58484 $as_echo_n "checking for strtold declaration... " >&6; }
58485 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
58486 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
58487 $as_echo_n "(cached) " >&6
58488 else
58491 ac_ext=cpp
58492 ac_cpp='$CXXCPP $CPPFLAGS'
58493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58498 /* end confdefs.h. */
58499 #include <stdlib.h>
58501 main ()
58503 strtold(0, 0);
58505 return 0;
58507 _ACEOF
58508 if ac_fn_cxx_try_compile "$LINENO"; then :
58509 glibcxx_cv_func_strtold_use=yes
58510 else
58511 glibcxx_cv_func_strtold_use=no
58513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58514 ac_ext=c
58515 ac_cpp='$CPP $CPPFLAGS'
58516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
58525 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
58526 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
58527 for ac_func in strtold
58528 do :
58529 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
58530 if test "x$ac_cv_func_strtold" = x""yes; then :
58531 cat >>confdefs.h <<_ACEOF
58532 #define HAVE_STRTOLD 1
58533 _ACEOF
58536 done
58543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
58544 $as_echo_n "checking for strtof declaration... " >&6; }
58545 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
58546 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
58547 $as_echo_n "(cached) " >&6
58548 else
58551 ac_ext=cpp
58552 ac_cpp='$CXXCPP $CPPFLAGS'
58553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58558 /* end confdefs.h. */
58559 #include <stdlib.h>
58561 main ()
58563 strtof(0, 0);
58565 return 0;
58567 _ACEOF
58568 if ac_fn_cxx_try_compile "$LINENO"; then :
58569 glibcxx_cv_func_strtof_use=yes
58570 else
58571 glibcxx_cv_func_strtof_use=no
58573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58574 ac_ext=c
58575 ac_cpp='$CPP $CPPFLAGS'
58576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
58585 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
58586 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
58587 for ac_func in strtof
58588 do :
58589 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
58590 if test "x$ac_cv_func_strtof" = x""yes; then :
58591 cat >>confdefs.h <<_ACEOF
58592 #define HAVE_STRTOF 1
58593 _ACEOF
58596 done
58603 CXXFLAGS="$ac_save_CXXFLAGS"
58605 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
58609 # Check whether --enable-tls was given.
58610 if test "${enable_tls+set}" = set; then :
58611 enableval=$enable_tls;
58612 case "$enableval" in
58613 yes|no) ;;
58614 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
58615 esac
58617 else
58618 enable_tls=yes
58622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
58623 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
58624 if test "${gcc_cv_have_tls+set}" = set; then :
58625 $as_echo_n "(cached) " >&6
58626 else
58628 if test "$cross_compiling" = yes; then :
58629 if test x$gcc_no_link = xyes; then
58630 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58633 /* end confdefs.h. */
58634 __thread int a; int b; int main() { return a = b; }
58635 _ACEOF
58636 if ac_fn_c_try_link "$LINENO"; then :
58637 chktls_save_LDFLAGS="$LDFLAGS"
58638 case $host in
58639 *-*-linux*)
58640 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
58642 esac
58643 chktls_save_CFLAGS="$CFLAGS"
58644 CFLAGS="-fPIC $CFLAGS"
58645 if test x$gcc_no_link = xyes; then
58646 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58649 /* end confdefs.h. */
58650 int f() { return 0; }
58651 _ACEOF
58652 if ac_fn_c_try_link "$LINENO"; then :
58653 if test x$gcc_no_link = xyes; then
58654 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58657 /* end confdefs.h. */
58658 __thread int a; int b; int f() { return a = b; }
58659 _ACEOF
58660 if ac_fn_c_try_link "$LINENO"; then :
58661 gcc_cv_have_tls=yes
58662 else
58663 gcc_cv_have_tls=no
58665 rm -f core conftest.err conftest.$ac_objext \
58666 conftest$ac_exeext conftest.$ac_ext
58667 else
58668 gcc_cv_have_tls=yes
58670 rm -f core conftest.err conftest.$ac_objext \
58671 conftest$ac_exeext conftest.$ac_ext
58672 CFLAGS="$chktls_save_CFLAGS"
58673 LDFLAGS="$chktls_save_LDFLAGS"
58674 else
58675 gcc_cv_have_tls=no
58677 rm -f core conftest.err conftest.$ac_objext \
58678 conftest$ac_exeext conftest.$ac_ext
58681 else
58682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58683 /* end confdefs.h. */
58684 __thread int a; int b; int main() { return a = b; }
58685 _ACEOF
58686 if ac_fn_c_try_run "$LINENO"; then :
58687 chktls_save_LDFLAGS="$LDFLAGS"
58688 LDFLAGS="-static $LDFLAGS"
58689 if test x$gcc_no_link = xyes; then
58690 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58693 /* end confdefs.h. */
58694 int main() { return 0; }
58695 _ACEOF
58696 if ac_fn_c_try_link "$LINENO"; then :
58697 if test "$cross_compiling" = yes; then :
58698 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
58699 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
58700 as_fn_error "cannot run test program while cross compiling
58701 See \`config.log' for more details." "$LINENO" 5; }
58702 else
58703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58704 /* end confdefs.h. */
58705 __thread int a; int b; int main() { return a = b; }
58706 _ACEOF
58707 if ac_fn_c_try_run "$LINENO"; then :
58708 gcc_cv_have_tls=yes
58709 else
58710 gcc_cv_have_tls=no
58712 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
58713 conftest.$ac_objext conftest.beam conftest.$ac_ext
58716 else
58717 gcc_cv_have_tls=yes
58719 rm -f core conftest.err conftest.$ac_objext \
58720 conftest$ac_exeext conftest.$ac_ext
58721 LDFLAGS="$chktls_save_LDFLAGS"
58722 if test $gcc_cv_have_tls = yes; then
58723 chktls_save_CFLAGS="$CFLAGS"
58724 thread_CFLAGS=failed
58725 for flag in '' '-pthread' '-lpthread'; do
58726 CFLAGS="$flag $chktls_save_CFLAGS"
58727 if test x$gcc_no_link = xyes; then
58728 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58731 /* end confdefs.h. */
58732 #include <pthread.h>
58733 void *g(void *d) { return NULL; }
58735 main ()
58737 pthread_t t; pthread_create(&t,NULL,g,NULL);
58739 return 0;
58741 _ACEOF
58742 if ac_fn_c_try_link "$LINENO"; then :
58743 thread_CFLAGS="$flag"
58745 rm -f core conftest.err conftest.$ac_objext \
58746 conftest$ac_exeext conftest.$ac_ext
58747 if test "X$thread_CFLAGS" != Xfailed; then
58748 break
58750 done
58751 CFLAGS="$chktls_save_CFLAGS"
58752 if test "X$thread_CFLAGS" != Xfailed; then
58753 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
58754 if test "$cross_compiling" = yes; then :
58755 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
58756 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
58757 as_fn_error "cannot run test program while cross compiling
58758 See \`config.log' for more details." "$LINENO" 5; }
58759 else
58760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58761 /* end confdefs.h. */
58762 #include <pthread.h>
58763 __thread int a;
58764 static int *volatile a_in_other_thread;
58765 static void *
58766 thread_func (void *arg)
58768 a_in_other_thread = &a;
58769 return (void *)0;
58772 main ()
58774 pthread_t thread;
58775 void *thread_retval;
58776 int *volatile a_in_main_thread;
58777 a_in_main_thread = &a;
58778 if (pthread_create (&thread, (pthread_attr_t *)0,
58779 thread_func, (void *)0))
58780 return 0;
58781 if (pthread_join (thread, &thread_retval))
58782 return 0;
58783 return (a_in_other_thread == a_in_main_thread);
58785 return 0;
58787 _ACEOF
58788 if ac_fn_c_try_run "$LINENO"; then :
58789 gcc_cv_have_tls=yes
58790 else
58791 gcc_cv_have_tls=no
58793 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
58794 conftest.$ac_objext conftest.beam conftest.$ac_ext
58797 CFLAGS="$chktls_save_CFLAGS"
58800 else
58801 gcc_cv_have_tls=no
58803 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
58804 conftest.$ac_objext conftest.beam conftest.$ac_ext
58808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
58809 $as_echo "$gcc_cv_have_tls" >&6; }
58810 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
58812 $as_echo "#define HAVE_TLS 1" >>confdefs.h
58820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
58821 $as_echo_n "checking for iconv... " >&6; }
58822 if test "${am_cv_func_iconv+set}" = set; then :
58823 $as_echo_n "(cached) " >&6
58824 else
58826 am_cv_func_iconv="no, consider installing GNU libiconv"
58827 am_cv_lib_iconv=no
58828 am_save_CPPFLAGS="$CPPFLAGS"
58829 CPPFLAGS="$CPPFLAGS $INCICONV"
58830 if test x$gcc_no_link = xyes; then
58831 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58834 /* end confdefs.h. */
58835 #include <stdlib.h>
58836 #include <iconv.h>
58838 main ()
58840 iconv_t cd = iconv_open("","");
58841 iconv(cd,NULL,NULL,NULL,NULL);
58842 iconv_close(cd);
58844 return 0;
58846 _ACEOF
58847 if ac_fn_c_try_link "$LINENO"; then :
58848 am_cv_func_iconv=yes
58850 rm -f core conftest.err conftest.$ac_objext \
58851 conftest$ac_exeext conftest.$ac_ext
58852 CPPFLAGS="$am_save_CPPFLAGS"
58854 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
58855 for _libs in .libs _libs; do
58856 am_save_CPPFLAGS="$CPPFLAGS"
58857 am_save_LIBS="$LIBS"
58858 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
58859 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
58860 if test x$gcc_no_link = xyes; then
58861 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58864 /* end confdefs.h. */
58865 #include <stdlib.h>
58866 #include <iconv.h>
58868 main ()
58870 iconv_t cd = iconv_open("","");
58871 iconv(cd,NULL,NULL,NULL,NULL);
58872 iconv_close(cd);
58874 return 0;
58876 _ACEOF
58877 if ac_fn_c_try_link "$LINENO"; then :
58878 INCICONV="-I../libiconv/include"
58879 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
58880 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
58881 am_cv_lib_iconv=yes
58882 am_cv_func_iconv=yes
58884 rm -f core conftest.err conftest.$ac_objext \
58885 conftest$ac_exeext conftest.$ac_ext
58886 CPPFLAGS="$am_save_CPPFLAGS"
58887 LIBS="$am_save_LIBS"
58888 if test "$am_cv_func_iconv" = "yes"; then
58889 break
58891 done
58894 if test "$am_cv_func_iconv" != yes; then
58895 am_save_CPPFLAGS="$CPPFLAGS"
58896 am_save_LIBS="$LIBS"
58897 CPPFLAGS="$LIBS $INCICONV"
58898 LIBS="$LIBS $LIBICONV"
58899 if test x$gcc_no_link = xyes; then
58900 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58903 /* end confdefs.h. */
58904 #include <stdlib.h>
58905 #include <iconv.h>
58907 main ()
58909 iconv_t cd = iconv_open("","");
58910 iconv(cd,NULL,NULL,NULL,NULL);
58911 iconv_close(cd);
58913 return 0;
58915 _ACEOF
58916 if ac_fn_c_try_link "$LINENO"; then :
58917 am_cv_lib_iconv=yes
58918 am_cv_func_iconv=yes
58920 rm -f core conftest.err conftest.$ac_objext \
58921 conftest$ac_exeext conftest.$ac_ext
58922 CPPFLAGS="$am_save_CPPFLAGS"
58923 LIBS="$am_save_LIBS"
58927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
58928 $as_echo "$am_cv_func_iconv" >&6; }
58929 if test "$am_cv_func_iconv" = yes; then
58931 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
58934 if test "$am_cv_lib_iconv" = yes; then
58936 for element in $INCICONV; do
58937 haveit=
58938 for x in $CPPFLAGS; do
58940 acl_save_prefix="$prefix"
58941 prefix="$acl_final_prefix"
58942 acl_save_exec_prefix="$exec_prefix"
58943 exec_prefix="$acl_final_exec_prefix"
58944 eval x=\"$x\"
58945 exec_prefix="$acl_save_exec_prefix"
58946 prefix="$acl_save_prefix"
58948 if test "X$x" = "X$element"; then
58949 haveit=yes
58950 break
58952 done
58953 if test -z "$haveit"; then
58954 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
58956 done
58958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
58959 $as_echo_n "checking how to link with libiconv... " >&6; }
58960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
58961 $as_echo "$LIBICONV" >&6; }
58962 else
58963 LIBICONV=
58964 LTLIBICONV=
58969 if test "$am_cv_func_iconv" = yes; then
58970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
58971 $as_echo_n "checking for iconv declaration... " >&6; }
58972 if test "${am_cv_proto_iconv+set}" = set; then :
58973 $as_echo_n "(cached) " >&6
58974 else
58976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58977 /* end confdefs.h. */
58979 #include <stdlib.h>
58980 #include <iconv.h>
58981 extern
58982 #ifdef __cplusplus
58984 #endif
58985 #if defined(__STDC__) || defined(__cplusplus)
58986 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
58987 #else
58988 size_t iconv();
58989 #endif
58992 main ()
58996 return 0;
58998 _ACEOF
58999 if ac_fn_c_try_compile "$LINENO"; then :
59000 am_cv_proto_iconv_arg1=""
59001 else
59002 am_cv_proto_iconv_arg1="const"
59004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59005 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);"
59008 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
59009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
59010 }$am_cv_proto_iconv" >&5
59011 $as_echo "${ac_t:-
59012 }$am_cv_proto_iconv" >&6; }
59014 cat >>confdefs.h <<_ACEOF
59015 #define ICONV_CONST $am_cv_proto_iconv_arg1
59016 _ACEOF
59021 *-mingw32*)
59023 # If we're not using GNU ld, then there's no point in even trying these
59024 # tests. Check for that first. We should have already tested for gld
59025 # by now (in libtool), but require it now just to be safe...
59026 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
59027 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
59031 # The name set by libtool depends on the version of libtool. Shame on us
59032 # for depending on an impl detail, but c'est la vie. Older versions used
59033 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
59034 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
59035 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
59036 # set (hence we're using an older libtool), then set it.
59037 if test x${with_gnu_ld+set} != xset; then
59038 if test x${ac_cv_prog_gnu_ld+set} != xset; then
59039 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
59040 with_gnu_ld=no
59041 else
59042 with_gnu_ld=$ac_cv_prog_gnu_ld
59046 # Start by getting the version number. I think the libtool test already
59047 # does some of this, but throws away the result.
59048 glibcxx_ld_is_gold=no
59049 if test x"$with_gnu_ld" = x"yes"; then
59050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
59051 $as_echo_n "checking for ld version... " >&6; }
59053 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
59054 glibcxx_ld_is_gold=yes
59056 ldver=`$LD --version 2>/dev/null |
59057 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'`
59059 glibcxx_gnu_ld_version=`echo $ldver | \
59060 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
59061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
59062 $as_echo "$glibcxx_gnu_ld_version" >&6; }
59065 # Set --gc-sections.
59066 glibcxx_have_gc_sections=no
59067 if test "$glibcxx_ld_is_gold" = "yes"; then
59068 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
59069 glibcxx_have_gc_sections=yes
59071 else
59072 glibcxx_gcsections_min_ld=21602
59073 if test x"$with_gnu_ld" = x"yes" &&
59074 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
59075 glibcxx_have_gc_sections=yes
59078 if test "$glibcxx_have_gc_sections" = "yes"; then
59079 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
59080 # NB: This flag only works reliably after 2.16.1. Configure tests
59081 # for this are difficult, so hard wire a value that should work.
59083 ac_test_CFLAGS="${CFLAGS+set}"
59084 ac_save_CFLAGS="$CFLAGS"
59085 CFLAGS='-Wl,--gc-sections'
59087 # Check for -Wl,--gc-sections
59088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
59089 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
59090 if test x$gcc_no_link = xyes; then
59091 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59094 /* end confdefs.h. */
59095 int one(void) { return 1; }
59096 int two(void) { return 2; }
59099 main ()
59101 two();
59103 return 0;
59105 _ACEOF
59106 if ac_fn_c_try_link "$LINENO"; then :
59107 ac_gcsections=yes
59108 else
59109 ac_gcsections=no
59111 rm -f core conftest.err conftest.$ac_objext \
59112 conftest$ac_exeext conftest.$ac_ext
59113 if test "$ac_gcsections" = "yes"; then
59114 rm -f conftest.c
59115 touch conftest.c
59116 if $CC -c conftest.c; then
59117 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
59118 grep "Warning: gc-sections option ignored" > /dev/null; then
59119 ac_gcsections=no
59122 rm -f conftest.c conftest.o conftest
59124 if test "$ac_gcsections" = "yes"; then
59125 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
59127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
59128 $as_echo "$ac_gcsections" >&6; }
59130 if test "$ac_test_CFLAGS" = set; then
59131 CFLAGS="$ac_save_CFLAGS"
59132 else
59133 # this is the suspicious part
59134 CFLAGS=''
59138 # Set -z,relro.
59139 # Note this is only for shared objects.
59140 ac_ld_relro=no
59141 if test x"$with_gnu_ld" = x"yes"; then
59142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
59143 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
59144 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
59145 if test -n "$cxx_z_relo"; then
59146 OPT_LDFLAGS="-Wl,-z,relro"
59147 ac_ld_relro=yes
59149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
59150 $as_echo "$ac_ld_relro" >&6; }
59153 # Set linker optimization flags.
59154 if test x"$with_gnu_ld" = x"yes"; then
59155 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
59162 ac_test_CXXFLAGS="${CXXFLAGS+set}"
59163 ac_save_CXXFLAGS="$CXXFLAGS"
59164 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
59166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
59167 $as_echo_n "checking for sin in -lm... " >&6; }
59168 if test "${ac_cv_lib_m_sin+set}" = set; then :
59169 $as_echo_n "(cached) " >&6
59170 else
59171 ac_check_lib_save_LIBS=$LIBS
59172 LIBS="-lm $LIBS"
59173 if test x$gcc_no_link = xyes; then
59174 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59177 /* end confdefs.h. */
59179 /* Override any GCC internal prototype to avoid an error.
59180 Use char because int might match the return type of a GCC
59181 builtin and then its argument prototype would still apply. */
59182 #ifdef __cplusplus
59183 extern "C"
59184 #endif
59185 char sin ();
59187 main ()
59189 return sin ();
59191 return 0;
59193 _ACEOF
59194 if ac_fn_c_try_link "$LINENO"; then :
59195 ac_cv_lib_m_sin=yes
59196 else
59197 ac_cv_lib_m_sin=no
59199 rm -f core conftest.err conftest.$ac_objext \
59200 conftest$ac_exeext conftest.$ac_ext
59201 LIBS=$ac_check_lib_save_LIBS
59203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
59204 $as_echo "$ac_cv_lib_m_sin" >&6; }
59205 if test "x$ac_cv_lib_m_sin" = x""yes; then :
59206 libm="-lm"
59209 ac_save_LIBS="$LIBS"
59210 LIBS="$LIBS $libm"
59214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
59215 $as_echo_n "checking for isinf declaration... " >&6; }
59216 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
59217 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
59218 $as_echo_n "(cached) " >&6
59219 else
59222 ac_ext=cpp
59223 ac_cpp='$CXXCPP $CPPFLAGS'
59224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59229 /* end confdefs.h. */
59230 #include <math.h>
59231 #ifdef HAVE_IEEEFP_H
59232 #include <ieeefp.h>
59233 #endif
59236 main ()
59238 isinf(0);
59240 return 0;
59242 _ACEOF
59243 if ac_fn_cxx_try_compile "$LINENO"; then :
59244 glibcxx_cv_func_isinf_use=yes
59245 else
59246 glibcxx_cv_func_isinf_use=no
59248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59249 ac_ext=c
59250 ac_cpp='$CPP $CPPFLAGS'
59251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
59260 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
59262 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
59263 for ac_func in isinf
59264 do :
59265 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
59266 if test "x$ac_cv_func_isinf" = x""yes; then :
59267 cat >>confdefs.h <<_ACEOF
59268 #define HAVE_ISINF 1
59269 _ACEOF
59272 done
59274 else
59276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
59277 $as_echo_n "checking for _isinf declaration... " >&6; }
59278 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
59279 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
59280 $as_echo_n "(cached) " >&6
59281 else
59284 ac_ext=cpp
59285 ac_cpp='$CXXCPP $CPPFLAGS'
59286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59291 /* end confdefs.h. */
59292 #include <math.h>
59293 #ifdef HAVE_IEEEFP_H
59294 #include <ieeefp.h>
59295 #endif
59298 main ()
59300 _isinf(0);
59302 return 0;
59304 _ACEOF
59305 if ac_fn_cxx_try_compile "$LINENO"; then :
59306 glibcxx_cv_func__isinf_use=yes
59307 else
59308 glibcxx_cv_func__isinf_use=no
59310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59311 ac_ext=c
59312 ac_cpp='$CPP $CPPFLAGS'
59313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
59322 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
59324 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
59325 for ac_func in _isinf
59326 do :
59327 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
59328 if test "x$ac_cv_func__isinf" = x""yes; then :
59329 cat >>confdefs.h <<_ACEOF
59330 #define HAVE__ISINF 1
59331 _ACEOF
59334 done
59343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
59344 $as_echo_n "checking for isnan declaration... " >&6; }
59345 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
59346 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
59347 $as_echo_n "(cached) " >&6
59348 else
59351 ac_ext=cpp
59352 ac_cpp='$CXXCPP $CPPFLAGS'
59353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59358 /* end confdefs.h. */
59359 #include <math.h>
59360 #ifdef HAVE_IEEEFP_H
59361 #include <ieeefp.h>
59362 #endif
59365 main ()
59367 isnan(0);
59369 return 0;
59371 _ACEOF
59372 if ac_fn_cxx_try_compile "$LINENO"; then :
59373 glibcxx_cv_func_isnan_use=yes
59374 else
59375 glibcxx_cv_func_isnan_use=no
59377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59378 ac_ext=c
59379 ac_cpp='$CPP $CPPFLAGS'
59380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
59389 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
59391 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
59392 for ac_func in isnan
59393 do :
59394 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
59395 if test "x$ac_cv_func_isnan" = x""yes; then :
59396 cat >>confdefs.h <<_ACEOF
59397 #define HAVE_ISNAN 1
59398 _ACEOF
59401 done
59403 else
59405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
59406 $as_echo_n "checking for _isnan declaration... " >&6; }
59407 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
59408 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
59409 $as_echo_n "(cached) " >&6
59410 else
59413 ac_ext=cpp
59414 ac_cpp='$CXXCPP $CPPFLAGS'
59415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59420 /* end confdefs.h. */
59421 #include <math.h>
59422 #ifdef HAVE_IEEEFP_H
59423 #include <ieeefp.h>
59424 #endif
59427 main ()
59429 _isnan(0);
59431 return 0;
59433 _ACEOF
59434 if ac_fn_cxx_try_compile "$LINENO"; then :
59435 glibcxx_cv_func__isnan_use=yes
59436 else
59437 glibcxx_cv_func__isnan_use=no
59439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59440 ac_ext=c
59441 ac_cpp='$CPP $CPPFLAGS'
59442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
59451 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
59453 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
59454 for ac_func in _isnan
59455 do :
59456 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
59457 if test "x$ac_cv_func__isnan" = x""yes; then :
59458 cat >>confdefs.h <<_ACEOF
59459 #define HAVE__ISNAN 1
59460 _ACEOF
59463 done
59472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
59473 $as_echo_n "checking for finite declaration... " >&6; }
59474 if test x${glibcxx_cv_func_finite_use+set} != xset; then
59475 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
59476 $as_echo_n "(cached) " >&6
59477 else
59480 ac_ext=cpp
59481 ac_cpp='$CXXCPP $CPPFLAGS'
59482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59487 /* end confdefs.h. */
59488 #include <math.h>
59489 #ifdef HAVE_IEEEFP_H
59490 #include <ieeefp.h>
59491 #endif
59494 main ()
59496 finite(0);
59498 return 0;
59500 _ACEOF
59501 if ac_fn_cxx_try_compile "$LINENO"; then :
59502 glibcxx_cv_func_finite_use=yes
59503 else
59504 glibcxx_cv_func_finite_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_finite_use" >&5
59518 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
59520 if test x$glibcxx_cv_func_finite_use = x"yes"; then
59521 for ac_func in finite
59522 do :
59523 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
59524 if test "x$ac_cv_func_finite" = x""yes; then :
59525 cat >>confdefs.h <<_ACEOF
59526 #define HAVE_FINITE 1
59527 _ACEOF
59530 done
59532 else
59534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
59535 $as_echo_n "checking for _finite declaration... " >&6; }
59536 if test x${glibcxx_cv_func__finite_use+set} != xset; then
59537 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
59538 $as_echo_n "(cached) " >&6
59539 else
59542 ac_ext=cpp
59543 ac_cpp='$CXXCPP $CPPFLAGS'
59544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59549 /* end confdefs.h. */
59550 #include <math.h>
59551 #ifdef HAVE_IEEEFP_H
59552 #include <ieeefp.h>
59553 #endif
59556 main ()
59558 _finite(0);
59560 return 0;
59562 _ACEOF
59563 if ac_fn_cxx_try_compile "$LINENO"; then :
59564 glibcxx_cv_func__finite_use=yes
59565 else
59566 glibcxx_cv_func__finite_use=no
59568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59569 ac_ext=c
59570 ac_cpp='$CPP $CPPFLAGS'
59571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
59580 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
59582 if test x$glibcxx_cv_func__finite_use = x"yes"; then
59583 for ac_func in _finite
59584 do :
59585 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
59586 if test "x$ac_cv_func__finite" = x""yes; then :
59587 cat >>confdefs.h <<_ACEOF
59588 #define HAVE__FINITE 1
59589 _ACEOF
59592 done
59601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
59602 $as_echo_n "checking for sincos declaration... " >&6; }
59603 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
59604 if test "${glibcxx_cv_func_sincos_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>
59619 main ()
59621 sincos(0, 0, 0);
59623 return 0;
59625 _ACEOF
59626 if ac_fn_cxx_try_compile "$LINENO"; then :
59627 glibcxx_cv_func_sincos_use=yes
59628 else
59629 glibcxx_cv_func_sincos_use=no
59631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59632 ac_ext=c
59633 ac_cpp='$CPP $CPPFLAGS'
59634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
59643 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
59645 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
59646 for ac_func in sincos
59647 do :
59648 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
59649 if test "x$ac_cv_func_sincos" = x""yes; then :
59650 cat >>confdefs.h <<_ACEOF
59651 #define HAVE_SINCOS 1
59652 _ACEOF
59655 done
59657 else
59659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
59660 $as_echo_n "checking for _sincos declaration... " >&6; }
59661 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
59662 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
59663 $as_echo_n "(cached) " >&6
59664 else
59667 ac_ext=cpp
59668 ac_cpp='$CXXCPP $CPPFLAGS'
59669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59674 /* end confdefs.h. */
59675 #include <math.h>
59677 main ()
59679 _sincos(0, 0, 0);
59681 return 0;
59683 _ACEOF
59684 if ac_fn_cxx_try_compile "$LINENO"; then :
59685 glibcxx_cv_func__sincos_use=yes
59686 else
59687 glibcxx_cv_func__sincos_use=no
59689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59690 ac_ext=c
59691 ac_cpp='$CPP $CPPFLAGS'
59692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
59701 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
59703 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
59704 for ac_func in _sincos
59705 do :
59706 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
59707 if test "x$ac_cv_func__sincos" = x""yes; then :
59708 cat >>confdefs.h <<_ACEOF
59709 #define HAVE__SINCOS 1
59710 _ACEOF
59713 done
59722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
59723 $as_echo_n "checking for fpclass declaration... " >&6; }
59724 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
59725 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
59726 $as_echo_n "(cached) " >&6
59727 else
59730 ac_ext=cpp
59731 ac_cpp='$CXXCPP $CPPFLAGS'
59732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59737 /* end confdefs.h. */
59738 #include <math.h>
59739 #ifdef HAVE_IEEEFP_H
59740 #include <ieeefp.h>
59741 #endif
59744 main ()
59746 fpclass(0);
59748 return 0;
59750 _ACEOF
59751 if ac_fn_cxx_try_compile "$LINENO"; then :
59752 glibcxx_cv_func_fpclass_use=yes
59753 else
59754 glibcxx_cv_func_fpclass_use=no
59756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59757 ac_ext=c
59758 ac_cpp='$CPP $CPPFLAGS'
59759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
59768 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
59770 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
59771 for ac_func in fpclass
59772 do :
59773 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
59774 if test "x$ac_cv_func_fpclass" = x""yes; then :
59775 cat >>confdefs.h <<_ACEOF
59776 #define HAVE_FPCLASS 1
59777 _ACEOF
59780 done
59782 else
59784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
59785 $as_echo_n "checking for _fpclass declaration... " >&6; }
59786 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
59787 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
59788 $as_echo_n "(cached) " >&6
59789 else
59792 ac_ext=cpp
59793 ac_cpp='$CXXCPP $CPPFLAGS'
59794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59799 /* end confdefs.h. */
59800 #include <math.h>
59801 #ifdef HAVE_IEEEFP_H
59802 #include <ieeefp.h>
59803 #endif
59806 main ()
59808 _fpclass(0);
59810 return 0;
59812 _ACEOF
59813 if ac_fn_cxx_try_compile "$LINENO"; then :
59814 glibcxx_cv_func__fpclass_use=yes
59815 else
59816 glibcxx_cv_func__fpclass_use=no
59818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59819 ac_ext=c
59820 ac_cpp='$CPP $CPPFLAGS'
59821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
59830 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
59832 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
59833 for ac_func in _fpclass
59834 do :
59835 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
59836 if test "x$ac_cv_func__fpclass" = x""yes; then :
59837 cat >>confdefs.h <<_ACEOF
59838 #define HAVE__FPCLASS 1
59839 _ACEOF
59842 done
59851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
59852 $as_echo_n "checking for qfpclass declaration... " >&6; }
59853 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
59854 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
59855 $as_echo_n "(cached) " >&6
59856 else
59859 ac_ext=cpp
59860 ac_cpp='$CXXCPP $CPPFLAGS'
59861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59866 /* end confdefs.h. */
59867 #include <math.h>
59868 #ifdef HAVE_IEEEFP_H
59869 #include <ieeefp.h>
59870 #endif
59873 main ()
59875 qfpclass(0);
59877 return 0;
59879 _ACEOF
59880 if ac_fn_cxx_try_compile "$LINENO"; then :
59881 glibcxx_cv_func_qfpclass_use=yes
59882 else
59883 glibcxx_cv_func_qfpclass_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_qfpclass_use" >&5
59897 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
59899 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
59900 for ac_func in qfpclass
59901 do :
59902 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
59903 if test "x$ac_cv_func_qfpclass" = x""yes; then :
59904 cat >>confdefs.h <<_ACEOF
59905 #define HAVE_QFPCLASS 1
59906 _ACEOF
59909 done
59911 else
59913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
59914 $as_echo_n "checking for _qfpclass declaration... " >&6; }
59915 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
59916 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
59917 $as_echo_n "(cached) " >&6
59918 else
59921 ac_ext=cpp
59922 ac_cpp='$CXXCPP $CPPFLAGS'
59923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59928 /* end confdefs.h. */
59929 #include <math.h>
59930 #ifdef HAVE_IEEEFP_H
59931 #include <ieeefp.h>
59932 #endif
59935 main ()
59937 _qfpclass(0);
59939 return 0;
59941 _ACEOF
59942 if ac_fn_cxx_try_compile "$LINENO"; then :
59943 glibcxx_cv_func__qfpclass_use=yes
59944 else
59945 glibcxx_cv_func__qfpclass_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
59958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
59959 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
59961 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
59962 for ac_func in _qfpclass
59963 do :
59964 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
59965 if test "x$ac_cv_func__qfpclass" = x""yes; then :
59966 cat >>confdefs.h <<_ACEOF
59967 #define HAVE__QFPCLASS 1
59968 _ACEOF
59971 done
59980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
59981 $as_echo_n "checking for hypot declaration... " >&6; }
59982 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
59983 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
59984 $as_echo_n "(cached) " >&6
59985 else
59988 ac_ext=cpp
59989 ac_cpp='$CXXCPP $CPPFLAGS'
59990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59995 /* end confdefs.h. */
59996 #include <math.h>
59998 main ()
60000 hypot(0, 0);
60002 return 0;
60004 _ACEOF
60005 if ac_fn_cxx_try_compile "$LINENO"; then :
60006 glibcxx_cv_func_hypot_use=yes
60007 else
60008 glibcxx_cv_func_hypot_use=no
60010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60011 ac_ext=c
60012 ac_cpp='$CPP $CPPFLAGS'
60013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
60022 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
60024 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
60025 for ac_func in hypot
60026 do :
60027 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
60028 if test "x$ac_cv_func_hypot" = x""yes; then :
60029 cat >>confdefs.h <<_ACEOF
60030 #define HAVE_HYPOT 1
60031 _ACEOF
60034 done
60036 else
60038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
60039 $as_echo_n "checking for _hypot declaration... " >&6; }
60040 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
60041 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
60042 $as_echo_n "(cached) " >&6
60043 else
60046 ac_ext=cpp
60047 ac_cpp='$CXXCPP $CPPFLAGS'
60048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60053 /* end confdefs.h. */
60054 #include <math.h>
60056 main ()
60058 _hypot(0, 0);
60060 return 0;
60062 _ACEOF
60063 if ac_fn_cxx_try_compile "$LINENO"; then :
60064 glibcxx_cv_func__hypot_use=yes
60065 else
60066 glibcxx_cv_func__hypot_use=no
60068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60069 ac_ext=c
60070 ac_cpp='$CPP $CPPFLAGS'
60071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
60080 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
60082 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
60083 for ac_func in _hypot
60084 do :
60085 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
60086 if test "x$ac_cv_func__hypot" = x""yes; then :
60087 cat >>confdefs.h <<_ACEOF
60088 #define HAVE__HYPOT 1
60089 _ACEOF
60092 done
60101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
60102 $as_echo_n "checking for float trig functions... " >&6; }
60103 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
60104 $as_echo_n "(cached) " >&6
60105 else
60108 ac_ext=cpp
60109 ac_cpp='$CXXCPP $CPPFLAGS'
60110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60115 /* end confdefs.h. */
60116 #include <math.h>
60118 main ()
60120 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
60122 return 0;
60124 _ACEOF
60125 if ac_fn_cxx_try_compile "$LINENO"; then :
60126 glibcxx_cv_func_float_trig_use=yes
60127 else
60128 glibcxx_cv_func_float_trig_use=no
60130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60131 ac_ext=c
60132 ac_cpp='$CPP $CPPFLAGS'
60133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
60140 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
60141 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
60142 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
60143 do :
60144 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60145 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60146 eval as_val=\$$as_ac_var
60147 if test "x$as_val" = x""yes; then :
60148 cat >>confdefs.h <<_ACEOF
60149 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60150 _ACEOF
60153 done
60155 else
60156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
60157 $as_echo_n "checking for _float trig functions... " >&6; }
60158 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
60159 $as_echo_n "(cached) " >&6
60160 else
60163 ac_ext=cpp
60164 ac_cpp='$CXXCPP $CPPFLAGS'
60165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60170 /* end confdefs.h. */
60171 #include <math.h>
60173 main ()
60175 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
60177 return 0;
60179 _ACEOF
60180 if ac_fn_cxx_try_compile "$LINENO"; then :
60181 glibcxx_cv_func__float_trig_use=yes
60182 else
60183 glibcxx_cv_func__float_trig_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
60194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
60195 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
60196 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
60197 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
60198 do :
60199 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60200 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60201 eval as_val=\$$as_ac_var
60202 if test "x$as_val" = x""yes; then :
60203 cat >>confdefs.h <<_ACEOF
60204 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60205 _ACEOF
60208 done
60217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
60218 $as_echo_n "checking for float round functions... " >&6; }
60219 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
60220 $as_echo_n "(cached) " >&6
60221 else
60224 ac_ext=cpp
60225 ac_cpp='$CXXCPP $CPPFLAGS'
60226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60231 /* end confdefs.h. */
60232 #include <math.h>
60234 main ()
60236 ceilf (0); floorf (0);
60238 return 0;
60240 _ACEOF
60241 if ac_fn_cxx_try_compile "$LINENO"; then :
60242 glibcxx_cv_func_float_round_use=yes
60243 else
60244 glibcxx_cv_func_float_round_use=no
60246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60247 ac_ext=c
60248 ac_cpp='$CPP $CPPFLAGS'
60249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
60256 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
60257 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
60258 for ac_func in ceilf floorf
60259 do :
60260 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60261 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60262 eval as_val=\$$as_ac_var
60263 if test "x$as_val" = x""yes; then :
60264 cat >>confdefs.h <<_ACEOF
60265 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60266 _ACEOF
60269 done
60271 else
60272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
60273 $as_echo_n "checking for _float round functions... " >&6; }
60274 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
60275 $as_echo_n "(cached) " >&6
60276 else
60279 ac_ext=cpp
60280 ac_cpp='$CXXCPP $CPPFLAGS'
60281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60286 /* end confdefs.h. */
60287 #include <math.h>
60289 main ()
60291 _ceilf (0); _floorf (0);
60293 return 0;
60295 _ACEOF
60296 if ac_fn_cxx_try_compile "$LINENO"; then :
60297 glibcxx_cv_func__float_round_use=yes
60298 else
60299 glibcxx_cv_func__float_round_use=no
60301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60302 ac_ext=c
60303 ac_cpp='$CPP $CPPFLAGS'
60304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
60311 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
60312 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
60313 for ac_func in _ceilf _floorf
60314 do :
60315 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60316 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60317 eval as_val=\$$as_ac_var
60318 if test "x$as_val" = x""yes; then :
60319 cat >>confdefs.h <<_ACEOF
60320 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60321 _ACEOF
60324 done
60334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
60335 $as_echo_n "checking for expf declaration... " >&6; }
60336 if test x${glibcxx_cv_func_expf_use+set} != xset; then
60337 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
60338 $as_echo_n "(cached) " >&6
60339 else
60342 ac_ext=cpp
60343 ac_cpp='$CXXCPP $CPPFLAGS'
60344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60349 /* end confdefs.h. */
60350 #include <math.h>
60351 #ifdef HAVE_IEEEFP_H
60352 #include <ieeefp.h>
60353 #endif
60356 main ()
60358 expf(0);
60360 return 0;
60362 _ACEOF
60363 if ac_fn_cxx_try_compile "$LINENO"; then :
60364 glibcxx_cv_func_expf_use=yes
60365 else
60366 glibcxx_cv_func_expf_use=no
60368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60369 ac_ext=c
60370 ac_cpp='$CPP $CPPFLAGS'
60371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
60380 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
60382 if test x$glibcxx_cv_func_expf_use = x"yes"; then
60383 for ac_func in expf
60384 do :
60385 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
60386 if test "x$ac_cv_func_expf" = x""yes; then :
60387 cat >>confdefs.h <<_ACEOF
60388 #define HAVE_EXPF 1
60389 _ACEOF
60392 done
60394 else
60396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
60397 $as_echo_n "checking for _expf declaration... " >&6; }
60398 if test x${glibcxx_cv_func__expf_use+set} != xset; then
60399 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
60400 $as_echo_n "(cached) " >&6
60401 else
60404 ac_ext=cpp
60405 ac_cpp='$CXXCPP $CPPFLAGS'
60406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60411 /* end confdefs.h. */
60412 #include <math.h>
60413 #ifdef HAVE_IEEEFP_H
60414 #include <ieeefp.h>
60415 #endif
60418 main ()
60420 _expf(0);
60422 return 0;
60424 _ACEOF
60425 if ac_fn_cxx_try_compile "$LINENO"; then :
60426 glibcxx_cv_func__expf_use=yes
60427 else
60428 glibcxx_cv_func__expf_use=no
60430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60431 ac_ext=c
60432 ac_cpp='$CPP $CPPFLAGS'
60433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
60442 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
60444 if test x$glibcxx_cv_func__expf_use = x"yes"; then
60445 for ac_func in _expf
60446 do :
60447 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
60448 if test "x$ac_cv_func__expf" = x""yes; then :
60449 cat >>confdefs.h <<_ACEOF
60450 #define HAVE__EXPF 1
60451 _ACEOF
60454 done
60463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
60464 $as_echo_n "checking for isnanf declaration... " >&6; }
60465 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
60466 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
60467 $as_echo_n "(cached) " >&6
60468 else
60471 ac_ext=cpp
60472 ac_cpp='$CXXCPP $CPPFLAGS'
60473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60478 /* end confdefs.h. */
60479 #include <math.h>
60480 #ifdef HAVE_IEEEFP_H
60481 #include <ieeefp.h>
60482 #endif
60485 main ()
60487 isnanf(0);
60489 return 0;
60491 _ACEOF
60492 if ac_fn_cxx_try_compile "$LINENO"; then :
60493 glibcxx_cv_func_isnanf_use=yes
60494 else
60495 glibcxx_cv_func_isnanf_use=no
60497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60498 ac_ext=c
60499 ac_cpp='$CPP $CPPFLAGS'
60500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
60509 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
60511 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
60512 for ac_func in isnanf
60513 do :
60514 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
60515 if test "x$ac_cv_func_isnanf" = x""yes; then :
60516 cat >>confdefs.h <<_ACEOF
60517 #define HAVE_ISNANF 1
60518 _ACEOF
60521 done
60523 else
60525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
60526 $as_echo_n "checking for _isnanf declaration... " >&6; }
60527 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
60528 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
60529 $as_echo_n "(cached) " >&6
60530 else
60533 ac_ext=cpp
60534 ac_cpp='$CXXCPP $CPPFLAGS'
60535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60540 /* end confdefs.h. */
60541 #include <math.h>
60542 #ifdef HAVE_IEEEFP_H
60543 #include <ieeefp.h>
60544 #endif
60547 main ()
60549 _isnanf(0);
60551 return 0;
60553 _ACEOF
60554 if ac_fn_cxx_try_compile "$LINENO"; then :
60555 glibcxx_cv_func__isnanf_use=yes
60556 else
60557 glibcxx_cv_func__isnanf_use=no
60559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60560 ac_ext=c
60561 ac_cpp='$CPP $CPPFLAGS'
60562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
60571 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
60573 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
60574 for ac_func in _isnanf
60575 do :
60576 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
60577 if test "x$ac_cv_func__isnanf" = x""yes; then :
60578 cat >>confdefs.h <<_ACEOF
60579 #define HAVE__ISNANF 1
60580 _ACEOF
60583 done
60592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
60593 $as_echo_n "checking for isinff declaration... " >&6; }
60594 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
60595 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
60596 $as_echo_n "(cached) " >&6
60597 else
60600 ac_ext=cpp
60601 ac_cpp='$CXXCPP $CPPFLAGS'
60602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60607 /* end confdefs.h. */
60608 #include <math.h>
60609 #ifdef HAVE_IEEEFP_H
60610 #include <ieeefp.h>
60611 #endif
60614 main ()
60616 isinff(0);
60618 return 0;
60620 _ACEOF
60621 if ac_fn_cxx_try_compile "$LINENO"; then :
60622 glibcxx_cv_func_isinff_use=yes
60623 else
60624 glibcxx_cv_func_isinff_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_isinff_use" >&5
60638 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
60640 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
60641 for ac_func in isinff
60642 do :
60643 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
60644 if test "x$ac_cv_func_isinff" = x""yes; then :
60645 cat >>confdefs.h <<_ACEOF
60646 #define HAVE_ISINFF 1
60647 _ACEOF
60650 done
60652 else
60654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
60655 $as_echo_n "checking for _isinff declaration... " >&6; }
60656 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
60657 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
60658 $as_echo_n "(cached) " >&6
60659 else
60662 ac_ext=cpp
60663 ac_cpp='$CXXCPP $CPPFLAGS'
60664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60669 /* end confdefs.h. */
60670 #include <math.h>
60671 #ifdef HAVE_IEEEFP_H
60672 #include <ieeefp.h>
60673 #endif
60676 main ()
60678 _isinff(0);
60680 return 0;
60682 _ACEOF
60683 if ac_fn_cxx_try_compile "$LINENO"; then :
60684 glibcxx_cv_func__isinff_use=yes
60685 else
60686 glibcxx_cv_func__isinff_use=no
60688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60689 ac_ext=c
60690 ac_cpp='$CPP $CPPFLAGS'
60691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
60700 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
60702 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
60703 for ac_func in _isinff
60704 do :
60705 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
60706 if test "x$ac_cv_func__isinff" = x""yes; then :
60707 cat >>confdefs.h <<_ACEOF
60708 #define HAVE__ISINFF 1
60709 _ACEOF
60712 done
60721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
60722 $as_echo_n "checking for atan2f declaration... " >&6; }
60723 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
60724 if test "${glibcxx_cv_func_atan2f_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>
60739 main ()
60741 atan2f(0, 0);
60743 return 0;
60745 _ACEOF
60746 if ac_fn_cxx_try_compile "$LINENO"; then :
60747 glibcxx_cv_func_atan2f_use=yes
60748 else
60749 glibcxx_cv_func_atan2f_use=no
60751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60752 ac_ext=c
60753 ac_cpp='$CPP $CPPFLAGS'
60754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
60763 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
60765 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
60766 for ac_func in atan2f
60767 do :
60768 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
60769 if test "x$ac_cv_func_atan2f" = x""yes; then :
60770 cat >>confdefs.h <<_ACEOF
60771 #define HAVE_ATAN2F 1
60772 _ACEOF
60775 done
60777 else
60779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
60780 $as_echo_n "checking for _atan2f declaration... " >&6; }
60781 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
60782 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
60783 $as_echo_n "(cached) " >&6
60784 else
60787 ac_ext=cpp
60788 ac_cpp='$CXXCPP $CPPFLAGS'
60789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60794 /* end confdefs.h. */
60795 #include <math.h>
60797 main ()
60799 _atan2f(0, 0);
60801 return 0;
60803 _ACEOF
60804 if ac_fn_cxx_try_compile "$LINENO"; then :
60805 glibcxx_cv_func__atan2f_use=yes
60806 else
60807 glibcxx_cv_func__atan2f_use=no
60809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60810 ac_ext=c
60811 ac_cpp='$CPP $CPPFLAGS'
60812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
60821 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
60823 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
60824 for ac_func in _atan2f
60825 do :
60826 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
60827 if test "x$ac_cv_func__atan2f" = x""yes; then :
60828 cat >>confdefs.h <<_ACEOF
60829 #define HAVE__ATAN2F 1
60830 _ACEOF
60833 done
60842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
60843 $as_echo_n "checking for fabsf declaration... " >&6; }
60844 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
60845 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
60846 $as_echo_n "(cached) " >&6
60847 else
60850 ac_ext=cpp
60851 ac_cpp='$CXXCPP $CPPFLAGS'
60852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60857 /* end confdefs.h. */
60858 #include <math.h>
60859 #ifdef HAVE_IEEEFP_H
60860 #include <ieeefp.h>
60861 #endif
60864 main ()
60866 fabsf(0);
60868 return 0;
60870 _ACEOF
60871 if ac_fn_cxx_try_compile "$LINENO"; then :
60872 glibcxx_cv_func_fabsf_use=yes
60873 else
60874 glibcxx_cv_func_fabsf_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_fabsf_use" >&5
60888 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
60890 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
60891 for ac_func in fabsf
60892 do :
60893 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
60894 if test "x$ac_cv_func_fabsf" = x""yes; then :
60895 cat >>confdefs.h <<_ACEOF
60896 #define HAVE_FABSF 1
60897 _ACEOF
60900 done
60902 else
60904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
60905 $as_echo_n "checking for _fabsf declaration... " >&6; }
60906 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
60907 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
60908 $as_echo_n "(cached) " >&6
60909 else
60912 ac_ext=cpp
60913 ac_cpp='$CXXCPP $CPPFLAGS'
60914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60919 /* end confdefs.h. */
60920 #include <math.h>
60921 #ifdef HAVE_IEEEFP_H
60922 #include <ieeefp.h>
60923 #endif
60926 main ()
60928 _fabsf(0);
60930 return 0;
60932 _ACEOF
60933 if ac_fn_cxx_try_compile "$LINENO"; then :
60934 glibcxx_cv_func__fabsf_use=yes
60935 else
60936 glibcxx_cv_func__fabsf_use=no
60938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60939 ac_ext=c
60940 ac_cpp='$CPP $CPPFLAGS'
60941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
60950 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
60952 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
60953 for ac_func in _fabsf
60954 do :
60955 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
60956 if test "x$ac_cv_func__fabsf" = x""yes; then :
60957 cat >>confdefs.h <<_ACEOF
60958 #define HAVE__FABSF 1
60959 _ACEOF
60962 done
60971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
60972 $as_echo_n "checking for fmodf declaration... " >&6; }
60973 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
60974 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
60975 $as_echo_n "(cached) " >&6
60976 else
60979 ac_ext=cpp
60980 ac_cpp='$CXXCPP $CPPFLAGS'
60981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60986 /* end confdefs.h. */
60987 #include <math.h>
60989 main ()
60991 fmodf(0, 0);
60993 return 0;
60995 _ACEOF
60996 if ac_fn_cxx_try_compile "$LINENO"; then :
60997 glibcxx_cv_func_fmodf_use=yes
60998 else
60999 glibcxx_cv_func_fmodf_use=no
61001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61002 ac_ext=c
61003 ac_cpp='$CPP $CPPFLAGS'
61004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
61013 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
61015 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
61016 for ac_func in fmodf
61017 do :
61018 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
61019 if test "x$ac_cv_func_fmodf" = x""yes; then :
61020 cat >>confdefs.h <<_ACEOF
61021 #define HAVE_FMODF 1
61022 _ACEOF
61025 done
61027 else
61029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
61030 $as_echo_n "checking for _fmodf declaration... " >&6; }
61031 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
61032 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
61033 $as_echo_n "(cached) " >&6
61034 else
61037 ac_ext=cpp
61038 ac_cpp='$CXXCPP $CPPFLAGS'
61039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61044 /* end confdefs.h. */
61045 #include <math.h>
61047 main ()
61049 _fmodf(0, 0);
61051 return 0;
61053 _ACEOF
61054 if ac_fn_cxx_try_compile "$LINENO"; then :
61055 glibcxx_cv_func__fmodf_use=yes
61056 else
61057 glibcxx_cv_func__fmodf_use=no
61059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61060 ac_ext=c
61061 ac_cpp='$CPP $CPPFLAGS'
61062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
61071 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
61073 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
61074 for ac_func in _fmodf
61075 do :
61076 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
61077 if test "x$ac_cv_func__fmodf" = x""yes; then :
61078 cat >>confdefs.h <<_ACEOF
61079 #define HAVE__FMODF 1
61080 _ACEOF
61083 done
61092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
61093 $as_echo_n "checking for frexpf declaration... " >&6; }
61094 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
61095 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
61096 $as_echo_n "(cached) " >&6
61097 else
61100 ac_ext=cpp
61101 ac_cpp='$CXXCPP $CPPFLAGS'
61102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61107 /* end confdefs.h. */
61108 #include <math.h>
61110 main ()
61112 frexpf(0, 0);
61114 return 0;
61116 _ACEOF
61117 if ac_fn_cxx_try_compile "$LINENO"; then :
61118 glibcxx_cv_func_frexpf_use=yes
61119 else
61120 glibcxx_cv_func_frexpf_use=no
61122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61123 ac_ext=c
61124 ac_cpp='$CPP $CPPFLAGS'
61125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
61134 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
61136 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
61137 for ac_func in frexpf
61138 do :
61139 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
61140 if test "x$ac_cv_func_frexpf" = x""yes; then :
61141 cat >>confdefs.h <<_ACEOF
61142 #define HAVE_FREXPF 1
61143 _ACEOF
61146 done
61148 else
61150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
61151 $as_echo_n "checking for _frexpf declaration... " >&6; }
61152 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
61153 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
61154 $as_echo_n "(cached) " >&6
61155 else
61158 ac_ext=cpp
61159 ac_cpp='$CXXCPP $CPPFLAGS'
61160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61165 /* end confdefs.h. */
61166 #include <math.h>
61168 main ()
61170 _frexpf(0, 0);
61172 return 0;
61174 _ACEOF
61175 if ac_fn_cxx_try_compile "$LINENO"; then :
61176 glibcxx_cv_func__frexpf_use=yes
61177 else
61178 glibcxx_cv_func__frexpf_use=no
61180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61181 ac_ext=c
61182 ac_cpp='$CPP $CPPFLAGS'
61183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
61192 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
61194 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
61195 for ac_func in _frexpf
61196 do :
61197 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
61198 if test "x$ac_cv_func__frexpf" = x""yes; then :
61199 cat >>confdefs.h <<_ACEOF
61200 #define HAVE__FREXPF 1
61201 _ACEOF
61204 done
61213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
61214 $as_echo_n "checking for hypotf declaration... " >&6; }
61215 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
61216 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
61217 $as_echo_n "(cached) " >&6
61218 else
61221 ac_ext=cpp
61222 ac_cpp='$CXXCPP $CPPFLAGS'
61223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61228 /* end confdefs.h. */
61229 #include <math.h>
61231 main ()
61233 hypotf(0, 0);
61235 return 0;
61237 _ACEOF
61238 if ac_fn_cxx_try_compile "$LINENO"; then :
61239 glibcxx_cv_func_hypotf_use=yes
61240 else
61241 glibcxx_cv_func_hypotf_use=no
61243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61244 ac_ext=c
61245 ac_cpp='$CPP $CPPFLAGS'
61246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
61255 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
61257 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
61258 for ac_func in hypotf
61259 do :
61260 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
61261 if test "x$ac_cv_func_hypotf" = x""yes; then :
61262 cat >>confdefs.h <<_ACEOF
61263 #define HAVE_HYPOTF 1
61264 _ACEOF
61267 done
61269 else
61271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
61272 $as_echo_n "checking for _hypotf declaration... " >&6; }
61273 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
61274 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
61275 $as_echo_n "(cached) " >&6
61276 else
61279 ac_ext=cpp
61280 ac_cpp='$CXXCPP $CPPFLAGS'
61281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61286 /* end confdefs.h. */
61287 #include <math.h>
61289 main ()
61291 _hypotf(0, 0);
61293 return 0;
61295 _ACEOF
61296 if ac_fn_cxx_try_compile "$LINENO"; then :
61297 glibcxx_cv_func__hypotf_use=yes
61298 else
61299 glibcxx_cv_func__hypotf_use=no
61301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61302 ac_ext=c
61303 ac_cpp='$CPP $CPPFLAGS'
61304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
61313 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
61315 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
61316 for ac_func in _hypotf
61317 do :
61318 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
61319 if test "x$ac_cv_func__hypotf" = x""yes; then :
61320 cat >>confdefs.h <<_ACEOF
61321 #define HAVE__HYPOTF 1
61322 _ACEOF
61325 done
61334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
61335 $as_echo_n "checking for ldexpf declaration... " >&6; }
61336 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
61337 if test "${glibcxx_cv_func_ldexpf_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>
61352 main ()
61354 ldexpf(0, 0);
61356 return 0;
61358 _ACEOF
61359 if ac_fn_cxx_try_compile "$LINENO"; then :
61360 glibcxx_cv_func_ldexpf_use=yes
61361 else
61362 glibcxx_cv_func_ldexpf_use=no
61364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61365 ac_ext=c
61366 ac_cpp='$CPP $CPPFLAGS'
61367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
61376 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
61378 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
61379 for ac_func in ldexpf
61380 do :
61381 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
61382 if test "x$ac_cv_func_ldexpf" = x""yes; then :
61383 cat >>confdefs.h <<_ACEOF
61384 #define HAVE_LDEXPF 1
61385 _ACEOF
61388 done
61390 else
61392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
61393 $as_echo_n "checking for _ldexpf declaration... " >&6; }
61394 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
61395 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
61396 $as_echo_n "(cached) " >&6
61397 else
61400 ac_ext=cpp
61401 ac_cpp='$CXXCPP $CPPFLAGS'
61402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61407 /* end confdefs.h. */
61408 #include <math.h>
61410 main ()
61412 _ldexpf(0, 0);
61414 return 0;
61416 _ACEOF
61417 if ac_fn_cxx_try_compile "$LINENO"; then :
61418 glibcxx_cv_func__ldexpf_use=yes
61419 else
61420 glibcxx_cv_func__ldexpf_use=no
61422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61423 ac_ext=c
61424 ac_cpp='$CPP $CPPFLAGS'
61425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
61434 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
61436 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
61437 for ac_func in _ldexpf
61438 do :
61439 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
61440 if test "x$ac_cv_func__ldexpf" = x""yes; then :
61441 cat >>confdefs.h <<_ACEOF
61442 #define HAVE__LDEXPF 1
61443 _ACEOF
61446 done
61455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
61456 $as_echo_n "checking for logf declaration... " >&6; }
61457 if test x${glibcxx_cv_func_logf_use+set} != xset; then
61458 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
61459 $as_echo_n "(cached) " >&6
61460 else
61463 ac_ext=cpp
61464 ac_cpp='$CXXCPP $CPPFLAGS'
61465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61470 /* end confdefs.h. */
61471 #include <math.h>
61472 #ifdef HAVE_IEEEFP_H
61473 #include <ieeefp.h>
61474 #endif
61477 main ()
61479 logf(0);
61481 return 0;
61483 _ACEOF
61484 if ac_fn_cxx_try_compile "$LINENO"; then :
61485 glibcxx_cv_func_logf_use=yes
61486 else
61487 glibcxx_cv_func_logf_use=no
61489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61490 ac_ext=c
61491 ac_cpp='$CPP $CPPFLAGS'
61492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
61501 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
61503 if test x$glibcxx_cv_func_logf_use = x"yes"; then
61504 for ac_func in logf
61505 do :
61506 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
61507 if test "x$ac_cv_func_logf" = x""yes; then :
61508 cat >>confdefs.h <<_ACEOF
61509 #define HAVE_LOGF 1
61510 _ACEOF
61513 done
61515 else
61517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
61518 $as_echo_n "checking for _logf declaration... " >&6; }
61519 if test x${glibcxx_cv_func__logf_use+set} != xset; then
61520 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
61521 $as_echo_n "(cached) " >&6
61522 else
61525 ac_ext=cpp
61526 ac_cpp='$CXXCPP $CPPFLAGS'
61527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61532 /* end confdefs.h. */
61533 #include <math.h>
61534 #ifdef HAVE_IEEEFP_H
61535 #include <ieeefp.h>
61536 #endif
61539 main ()
61541 _logf(0);
61543 return 0;
61545 _ACEOF
61546 if ac_fn_cxx_try_compile "$LINENO"; then :
61547 glibcxx_cv_func__logf_use=yes
61548 else
61549 glibcxx_cv_func__logf_use=no
61551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61552 ac_ext=c
61553 ac_cpp='$CPP $CPPFLAGS'
61554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
61563 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
61565 if test x$glibcxx_cv_func__logf_use = x"yes"; then
61566 for ac_func in _logf
61567 do :
61568 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
61569 if test "x$ac_cv_func__logf" = x""yes; then :
61570 cat >>confdefs.h <<_ACEOF
61571 #define HAVE__LOGF 1
61572 _ACEOF
61575 done
61584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
61585 $as_echo_n "checking for log10f declaration... " >&6; }
61586 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
61587 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
61588 $as_echo_n "(cached) " >&6
61589 else
61592 ac_ext=cpp
61593 ac_cpp='$CXXCPP $CPPFLAGS'
61594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61599 /* end confdefs.h. */
61600 #include <math.h>
61601 #ifdef HAVE_IEEEFP_H
61602 #include <ieeefp.h>
61603 #endif
61606 main ()
61608 log10f(0);
61610 return 0;
61612 _ACEOF
61613 if ac_fn_cxx_try_compile "$LINENO"; then :
61614 glibcxx_cv_func_log10f_use=yes
61615 else
61616 glibcxx_cv_func_log10f_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_log10f_use" >&5
61630 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
61632 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
61633 for ac_func in log10f
61634 do :
61635 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
61636 if test "x$ac_cv_func_log10f" = x""yes; then :
61637 cat >>confdefs.h <<_ACEOF
61638 #define HAVE_LOG10F 1
61639 _ACEOF
61642 done
61644 else
61646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
61647 $as_echo_n "checking for _log10f declaration... " >&6; }
61648 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
61649 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
61650 $as_echo_n "(cached) " >&6
61651 else
61654 ac_ext=cpp
61655 ac_cpp='$CXXCPP $CPPFLAGS'
61656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61661 /* end confdefs.h. */
61662 #include <math.h>
61663 #ifdef HAVE_IEEEFP_H
61664 #include <ieeefp.h>
61665 #endif
61668 main ()
61670 _log10f(0);
61672 return 0;
61674 _ACEOF
61675 if ac_fn_cxx_try_compile "$LINENO"; then :
61676 glibcxx_cv_func__log10f_use=yes
61677 else
61678 glibcxx_cv_func__log10f_use=no
61680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61681 ac_ext=c
61682 ac_cpp='$CPP $CPPFLAGS'
61683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
61692 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
61694 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
61695 for ac_func in _log10f
61696 do :
61697 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
61698 if test "x$ac_cv_func__log10f" = x""yes; then :
61699 cat >>confdefs.h <<_ACEOF
61700 #define HAVE__LOG10F 1
61701 _ACEOF
61704 done
61713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
61714 $as_echo_n "checking for modff declaration... " >&6; }
61715 if test x${glibcxx_cv_func_modff_use+set} != xset; then
61716 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
61717 $as_echo_n "(cached) " >&6
61718 else
61721 ac_ext=cpp
61722 ac_cpp='$CXXCPP $CPPFLAGS'
61723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61728 /* end confdefs.h. */
61729 #include <math.h>
61731 main ()
61733 modff(0, 0);
61735 return 0;
61737 _ACEOF
61738 if ac_fn_cxx_try_compile "$LINENO"; then :
61739 glibcxx_cv_func_modff_use=yes
61740 else
61741 glibcxx_cv_func_modff_use=no
61743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61744 ac_ext=c
61745 ac_cpp='$CPP $CPPFLAGS'
61746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
61755 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
61757 if test x$glibcxx_cv_func_modff_use = x"yes"; then
61758 for ac_func in modff
61759 do :
61760 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
61761 if test "x$ac_cv_func_modff" = x""yes; then :
61762 cat >>confdefs.h <<_ACEOF
61763 #define HAVE_MODFF 1
61764 _ACEOF
61767 done
61769 else
61771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
61772 $as_echo_n "checking for _modff declaration... " >&6; }
61773 if test x${glibcxx_cv_func__modff_use+set} != xset; then
61774 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
61775 $as_echo_n "(cached) " >&6
61776 else
61779 ac_ext=cpp
61780 ac_cpp='$CXXCPP $CPPFLAGS'
61781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61786 /* end confdefs.h. */
61787 #include <math.h>
61789 main ()
61791 _modff(0, 0);
61793 return 0;
61795 _ACEOF
61796 if ac_fn_cxx_try_compile "$LINENO"; then :
61797 glibcxx_cv_func__modff_use=yes
61798 else
61799 glibcxx_cv_func__modff_use=no
61801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61802 ac_ext=c
61803 ac_cpp='$CPP $CPPFLAGS'
61804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
61813 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
61815 if test x$glibcxx_cv_func__modff_use = x"yes"; then
61816 for ac_func in _modff
61817 do :
61818 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
61819 if test "x$ac_cv_func__modff" = x""yes; then :
61820 cat >>confdefs.h <<_ACEOF
61821 #define HAVE__MODFF 1
61822 _ACEOF
61825 done
61834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
61835 $as_echo_n "checking for modf declaration... " >&6; }
61836 if test x${glibcxx_cv_func_modf_use+set} != xset; then
61837 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
61838 $as_echo_n "(cached) " >&6
61839 else
61842 ac_ext=cpp
61843 ac_cpp='$CXXCPP $CPPFLAGS'
61844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61849 /* end confdefs.h. */
61850 #include <math.h>
61852 main ()
61854 modf(0, 0);
61856 return 0;
61858 _ACEOF
61859 if ac_fn_cxx_try_compile "$LINENO"; then :
61860 glibcxx_cv_func_modf_use=yes
61861 else
61862 glibcxx_cv_func_modf_use=no
61864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61865 ac_ext=c
61866 ac_cpp='$CPP $CPPFLAGS'
61867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
61876 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
61878 if test x$glibcxx_cv_func_modf_use = x"yes"; then
61879 for ac_func in modf
61880 do :
61881 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
61882 if test "x$ac_cv_func_modf" = x""yes; then :
61883 cat >>confdefs.h <<_ACEOF
61884 #define HAVE_MODF 1
61885 _ACEOF
61888 done
61890 else
61892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
61893 $as_echo_n "checking for _modf declaration... " >&6; }
61894 if test x${glibcxx_cv_func__modf_use+set} != xset; then
61895 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
61896 $as_echo_n "(cached) " >&6
61897 else
61900 ac_ext=cpp
61901 ac_cpp='$CXXCPP $CPPFLAGS'
61902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61907 /* end confdefs.h. */
61908 #include <math.h>
61910 main ()
61912 _modf(0, 0);
61914 return 0;
61916 _ACEOF
61917 if ac_fn_cxx_try_compile "$LINENO"; then :
61918 glibcxx_cv_func__modf_use=yes
61919 else
61920 glibcxx_cv_func__modf_use=no
61922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61923 ac_ext=c
61924 ac_cpp='$CPP $CPPFLAGS'
61925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
61934 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
61936 if test x$glibcxx_cv_func__modf_use = x"yes"; then
61937 for ac_func in _modf
61938 do :
61939 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
61940 if test "x$ac_cv_func__modf" = x""yes; then :
61941 cat >>confdefs.h <<_ACEOF
61942 #define HAVE__MODF 1
61943 _ACEOF
61946 done
61955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
61956 $as_echo_n "checking for powf declaration... " >&6; }
61957 if test x${glibcxx_cv_func_powf_use+set} != xset; then
61958 if test "${glibcxx_cv_func_powf_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>
61973 main ()
61975 powf(0, 0);
61977 return 0;
61979 _ACEOF
61980 if ac_fn_cxx_try_compile "$LINENO"; then :
61981 glibcxx_cv_func_powf_use=yes
61982 else
61983 glibcxx_cv_func_powf_use=no
61985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61986 ac_ext=c
61987 ac_cpp='$CPP $CPPFLAGS'
61988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
61997 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
61999 if test x$glibcxx_cv_func_powf_use = x"yes"; then
62000 for ac_func in powf
62001 do :
62002 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
62003 if test "x$ac_cv_func_powf" = x""yes; then :
62004 cat >>confdefs.h <<_ACEOF
62005 #define HAVE_POWF 1
62006 _ACEOF
62009 done
62011 else
62013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
62014 $as_echo_n "checking for _powf declaration... " >&6; }
62015 if test x${glibcxx_cv_func__powf_use+set} != xset; then
62016 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
62017 $as_echo_n "(cached) " >&6
62018 else
62021 ac_ext=cpp
62022 ac_cpp='$CXXCPP $CPPFLAGS'
62023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62028 /* end confdefs.h. */
62029 #include <math.h>
62031 main ()
62033 _powf(0, 0);
62035 return 0;
62037 _ACEOF
62038 if ac_fn_cxx_try_compile "$LINENO"; then :
62039 glibcxx_cv_func__powf_use=yes
62040 else
62041 glibcxx_cv_func__powf_use=no
62043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62044 ac_ext=c
62045 ac_cpp='$CPP $CPPFLAGS'
62046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
62055 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
62057 if test x$glibcxx_cv_func__powf_use = x"yes"; then
62058 for ac_func in _powf
62059 do :
62060 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
62061 if test "x$ac_cv_func__powf" = x""yes; then :
62062 cat >>confdefs.h <<_ACEOF
62063 #define HAVE__POWF 1
62064 _ACEOF
62067 done
62076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
62077 $as_echo_n "checking for sqrtf declaration... " >&6; }
62078 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
62079 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
62080 $as_echo_n "(cached) " >&6
62081 else
62084 ac_ext=cpp
62085 ac_cpp='$CXXCPP $CPPFLAGS'
62086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62091 /* end confdefs.h. */
62092 #include <math.h>
62093 #ifdef HAVE_IEEEFP_H
62094 #include <ieeefp.h>
62095 #endif
62098 main ()
62100 sqrtf(0);
62102 return 0;
62104 _ACEOF
62105 if ac_fn_cxx_try_compile "$LINENO"; then :
62106 glibcxx_cv_func_sqrtf_use=yes
62107 else
62108 glibcxx_cv_func_sqrtf_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_sqrtf_use" >&5
62122 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
62124 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
62125 for ac_func in sqrtf
62126 do :
62127 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
62128 if test "x$ac_cv_func_sqrtf" = x""yes; then :
62129 cat >>confdefs.h <<_ACEOF
62130 #define HAVE_SQRTF 1
62131 _ACEOF
62134 done
62136 else
62138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
62139 $as_echo_n "checking for _sqrtf declaration... " >&6; }
62140 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
62141 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
62142 $as_echo_n "(cached) " >&6
62143 else
62146 ac_ext=cpp
62147 ac_cpp='$CXXCPP $CPPFLAGS'
62148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62153 /* end confdefs.h. */
62154 #include <math.h>
62155 #ifdef HAVE_IEEEFP_H
62156 #include <ieeefp.h>
62157 #endif
62160 main ()
62162 _sqrtf(0);
62164 return 0;
62166 _ACEOF
62167 if ac_fn_cxx_try_compile "$LINENO"; then :
62168 glibcxx_cv_func__sqrtf_use=yes
62169 else
62170 glibcxx_cv_func__sqrtf_use=no
62172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62173 ac_ext=c
62174 ac_cpp='$CPP $CPPFLAGS'
62175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
62184 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
62186 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
62187 for ac_func in _sqrtf
62188 do :
62189 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
62190 if test "x$ac_cv_func__sqrtf" = x""yes; then :
62191 cat >>confdefs.h <<_ACEOF
62192 #define HAVE__SQRTF 1
62193 _ACEOF
62196 done
62205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
62206 $as_echo_n "checking for sincosf declaration... " >&6; }
62207 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
62208 if test "${glibcxx_cv_func_sincosf_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>
62223 main ()
62225 sincosf(0, 0, 0);
62227 return 0;
62229 _ACEOF
62230 if ac_fn_cxx_try_compile "$LINENO"; then :
62231 glibcxx_cv_func_sincosf_use=yes
62232 else
62233 glibcxx_cv_func_sincosf_use=no
62235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62236 ac_ext=c
62237 ac_cpp='$CPP $CPPFLAGS'
62238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
62247 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
62249 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
62250 for ac_func in sincosf
62251 do :
62252 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
62253 if test "x$ac_cv_func_sincosf" = x""yes; then :
62254 cat >>confdefs.h <<_ACEOF
62255 #define HAVE_SINCOSF 1
62256 _ACEOF
62259 done
62261 else
62263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
62264 $as_echo_n "checking for _sincosf declaration... " >&6; }
62265 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
62266 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
62267 $as_echo_n "(cached) " >&6
62268 else
62271 ac_ext=cpp
62272 ac_cpp='$CXXCPP $CPPFLAGS'
62273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62278 /* end confdefs.h. */
62279 #include <math.h>
62281 main ()
62283 _sincosf(0, 0, 0);
62285 return 0;
62287 _ACEOF
62288 if ac_fn_cxx_try_compile "$LINENO"; then :
62289 glibcxx_cv_func__sincosf_use=yes
62290 else
62291 glibcxx_cv_func__sincosf_use=no
62293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62294 ac_ext=c
62295 ac_cpp='$CPP $CPPFLAGS'
62296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
62305 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
62307 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
62308 for ac_func in _sincosf
62309 do :
62310 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
62311 if test "x$ac_cv_func__sincosf" = x""yes; then :
62312 cat >>confdefs.h <<_ACEOF
62313 #define HAVE__SINCOSF 1
62314 _ACEOF
62317 done
62326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
62327 $as_echo_n "checking for finitef declaration... " >&6; }
62328 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
62329 if test "${glibcxx_cv_func_finitef_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>
62343 #ifdef HAVE_IEEEFP_H
62344 #include <ieeefp.h>
62345 #endif
62348 main ()
62350 finitef(0);
62352 return 0;
62354 _ACEOF
62355 if ac_fn_cxx_try_compile "$LINENO"; then :
62356 glibcxx_cv_func_finitef_use=yes
62357 else
62358 glibcxx_cv_func_finitef_use=no
62360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62361 ac_ext=c
62362 ac_cpp='$CPP $CPPFLAGS'
62363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
62372 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
62374 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
62375 for ac_func in finitef
62376 do :
62377 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
62378 if test "x$ac_cv_func_finitef" = x""yes; then :
62379 cat >>confdefs.h <<_ACEOF
62380 #define HAVE_FINITEF 1
62381 _ACEOF
62384 done
62386 else
62388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
62389 $as_echo_n "checking for _finitef declaration... " >&6; }
62390 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
62391 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
62392 $as_echo_n "(cached) " >&6
62393 else
62396 ac_ext=cpp
62397 ac_cpp='$CXXCPP $CPPFLAGS'
62398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62403 /* end confdefs.h. */
62404 #include <math.h>
62405 #ifdef HAVE_IEEEFP_H
62406 #include <ieeefp.h>
62407 #endif
62410 main ()
62412 _finitef(0);
62414 return 0;
62416 _ACEOF
62417 if ac_fn_cxx_try_compile "$LINENO"; then :
62418 glibcxx_cv_func__finitef_use=yes
62419 else
62420 glibcxx_cv_func__finitef_use=no
62422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62423 ac_ext=c
62424 ac_cpp='$CPP $CPPFLAGS'
62425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
62434 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
62436 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
62437 for ac_func in _finitef
62438 do :
62439 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
62440 if test "x$ac_cv_func__finitef" = x""yes; then :
62441 cat >>confdefs.h <<_ACEOF
62442 #define HAVE__FINITEF 1
62443 _ACEOF
62446 done
62455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
62456 $as_echo_n "checking for long double trig functions... " >&6; }
62457 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
62458 $as_echo_n "(cached) " >&6
62459 else
62462 ac_ext=cpp
62463 ac_cpp='$CXXCPP $CPPFLAGS'
62464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62469 /* end confdefs.h. */
62470 #include <math.h>
62472 main ()
62474 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
62476 return 0;
62478 _ACEOF
62479 if ac_fn_cxx_try_compile "$LINENO"; then :
62480 glibcxx_cv_func_long_double_trig_use=yes
62481 else
62482 glibcxx_cv_func_long_double_trig_use=no
62484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62485 ac_ext=c
62486 ac_cpp='$CPP $CPPFLAGS'
62487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
62494 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
62495 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
62496 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
62497 do :
62498 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62499 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62500 eval as_val=\$$as_ac_var
62501 if test "x$as_val" = x""yes; then :
62502 cat >>confdefs.h <<_ACEOF
62503 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62504 _ACEOF
62507 done
62509 else
62510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
62511 $as_echo_n "checking for _long double trig functions... " >&6; }
62512 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
62513 $as_echo_n "(cached) " >&6
62514 else
62517 ac_ext=cpp
62518 ac_cpp='$CXXCPP $CPPFLAGS'
62519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62524 /* end confdefs.h. */
62525 #include <math.h>
62527 main ()
62529 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
62531 return 0;
62533 _ACEOF
62534 if ac_fn_cxx_try_compile "$LINENO"; then :
62535 glibcxx_cv_func__long_double_trig_use=yes
62536 else
62537 glibcxx_cv_func__long_double_trig_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
62548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
62549 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
62550 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
62551 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
62552 do :
62553 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62554 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62555 eval as_val=\$$as_ac_var
62556 if test "x$as_val" = x""yes; then :
62557 cat >>confdefs.h <<_ACEOF
62558 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62559 _ACEOF
62562 done
62571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
62572 $as_echo_n "checking for long double round functions... " >&6; }
62573 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
62574 $as_echo_n "(cached) " >&6
62575 else
62578 ac_ext=cpp
62579 ac_cpp='$CXXCPP $CPPFLAGS'
62580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62585 /* end confdefs.h. */
62586 #include <math.h>
62588 main ()
62590 ceill (0); floorl (0);
62592 return 0;
62594 _ACEOF
62595 if ac_fn_cxx_try_compile "$LINENO"; then :
62596 glibcxx_cv_func_long_double_round_use=yes
62597 else
62598 glibcxx_cv_func_long_double_round_use=no
62600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62601 ac_ext=c
62602 ac_cpp='$CPP $CPPFLAGS'
62603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
62610 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
62611 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
62612 for ac_func in ceill floorl
62613 do :
62614 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62615 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62616 eval as_val=\$$as_ac_var
62617 if test "x$as_val" = x""yes; then :
62618 cat >>confdefs.h <<_ACEOF
62619 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62620 _ACEOF
62623 done
62625 else
62626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
62627 $as_echo_n "checking for _long double round functions... " >&6; }
62628 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
62629 $as_echo_n "(cached) " >&6
62630 else
62633 ac_ext=cpp
62634 ac_cpp='$CXXCPP $CPPFLAGS'
62635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62640 /* end confdefs.h. */
62641 #include <math.h>
62643 main ()
62645 _ceill (0); _floorl (0);
62647 return 0;
62649 _ACEOF
62650 if ac_fn_cxx_try_compile "$LINENO"; then :
62651 glibcxx_cv_func__long_double_round_use=yes
62652 else
62653 glibcxx_cv_func__long_double_round_use=no
62655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62656 ac_ext=c
62657 ac_cpp='$CPP $CPPFLAGS'
62658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
62665 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
62666 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
62667 for ac_func in _ceill _floorl
62668 do :
62669 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62670 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62671 eval as_val=\$$as_ac_var
62672 if test "x$as_val" = x""yes; then :
62673 cat >>confdefs.h <<_ACEOF
62674 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62675 _ACEOF
62678 done
62688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
62689 $as_echo_n "checking for isnanl declaration... " >&6; }
62690 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
62691 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
62692 $as_echo_n "(cached) " >&6
62693 else
62696 ac_ext=cpp
62697 ac_cpp='$CXXCPP $CPPFLAGS'
62698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62703 /* end confdefs.h. */
62704 #include <math.h>
62705 #ifdef HAVE_IEEEFP_H
62706 #include <ieeefp.h>
62707 #endif
62710 main ()
62712 isnanl(0);
62714 return 0;
62716 _ACEOF
62717 if ac_fn_cxx_try_compile "$LINENO"; then :
62718 glibcxx_cv_func_isnanl_use=yes
62719 else
62720 glibcxx_cv_func_isnanl_use=no
62722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62723 ac_ext=c
62724 ac_cpp='$CPP $CPPFLAGS'
62725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
62734 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
62736 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
62737 for ac_func in isnanl
62738 do :
62739 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
62740 if test "x$ac_cv_func_isnanl" = x""yes; then :
62741 cat >>confdefs.h <<_ACEOF
62742 #define HAVE_ISNANL 1
62743 _ACEOF
62746 done
62748 else
62750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
62751 $as_echo_n "checking for _isnanl declaration... " >&6; }
62752 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
62753 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
62754 $as_echo_n "(cached) " >&6
62755 else
62758 ac_ext=cpp
62759 ac_cpp='$CXXCPP $CPPFLAGS'
62760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62765 /* end confdefs.h. */
62766 #include <math.h>
62767 #ifdef HAVE_IEEEFP_H
62768 #include <ieeefp.h>
62769 #endif
62772 main ()
62774 _isnanl(0);
62776 return 0;
62778 _ACEOF
62779 if ac_fn_cxx_try_compile "$LINENO"; then :
62780 glibcxx_cv_func__isnanl_use=yes
62781 else
62782 glibcxx_cv_func__isnanl_use=no
62784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62785 ac_ext=c
62786 ac_cpp='$CPP $CPPFLAGS'
62787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
62796 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
62798 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
62799 for ac_func in _isnanl
62800 do :
62801 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
62802 if test "x$ac_cv_func__isnanl" = x""yes; then :
62803 cat >>confdefs.h <<_ACEOF
62804 #define HAVE__ISNANL 1
62805 _ACEOF
62808 done
62817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
62818 $as_echo_n "checking for isinfl declaration... " >&6; }
62819 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
62820 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
62821 $as_echo_n "(cached) " >&6
62822 else
62825 ac_ext=cpp
62826 ac_cpp='$CXXCPP $CPPFLAGS'
62827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62832 /* end confdefs.h. */
62833 #include <math.h>
62834 #ifdef HAVE_IEEEFP_H
62835 #include <ieeefp.h>
62836 #endif
62839 main ()
62841 isinfl(0);
62843 return 0;
62845 _ACEOF
62846 if ac_fn_cxx_try_compile "$LINENO"; then :
62847 glibcxx_cv_func_isinfl_use=yes
62848 else
62849 glibcxx_cv_func_isinfl_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_isinfl_use" >&5
62863 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
62865 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
62866 for ac_func in isinfl
62867 do :
62868 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
62869 if test "x$ac_cv_func_isinfl" = x""yes; then :
62870 cat >>confdefs.h <<_ACEOF
62871 #define HAVE_ISINFL 1
62872 _ACEOF
62875 done
62877 else
62879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
62880 $as_echo_n "checking for _isinfl declaration... " >&6; }
62881 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
62882 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
62883 $as_echo_n "(cached) " >&6
62884 else
62887 ac_ext=cpp
62888 ac_cpp='$CXXCPP $CPPFLAGS'
62889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62894 /* end confdefs.h. */
62895 #include <math.h>
62896 #ifdef HAVE_IEEEFP_H
62897 #include <ieeefp.h>
62898 #endif
62901 main ()
62903 _isinfl(0);
62905 return 0;
62907 _ACEOF
62908 if ac_fn_cxx_try_compile "$LINENO"; then :
62909 glibcxx_cv_func__isinfl_use=yes
62910 else
62911 glibcxx_cv_func__isinfl_use=no
62913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62914 ac_ext=c
62915 ac_cpp='$CPP $CPPFLAGS'
62916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
62925 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
62927 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
62928 for ac_func in _isinfl
62929 do :
62930 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
62931 if test "x$ac_cv_func__isinfl" = x""yes; then :
62932 cat >>confdefs.h <<_ACEOF
62933 #define HAVE__ISINFL 1
62934 _ACEOF
62937 done
62946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
62947 $as_echo_n "checking for atan2l declaration... " >&6; }
62948 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
62949 if test "${glibcxx_cv_func_atan2l_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>
62964 main ()
62966 atan2l(0, 0);
62968 return 0;
62970 _ACEOF
62971 if ac_fn_cxx_try_compile "$LINENO"; then :
62972 glibcxx_cv_func_atan2l_use=yes
62973 else
62974 glibcxx_cv_func_atan2l_use=no
62976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62977 ac_ext=c
62978 ac_cpp='$CPP $CPPFLAGS'
62979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
62988 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
62990 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
62991 for ac_func in atan2l
62992 do :
62993 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
62994 if test "x$ac_cv_func_atan2l" = x""yes; then :
62995 cat >>confdefs.h <<_ACEOF
62996 #define HAVE_ATAN2L 1
62997 _ACEOF
63000 done
63002 else
63004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
63005 $as_echo_n "checking for _atan2l declaration... " >&6; }
63006 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
63007 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
63008 $as_echo_n "(cached) " >&6
63009 else
63012 ac_ext=cpp
63013 ac_cpp='$CXXCPP $CPPFLAGS'
63014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63019 /* end confdefs.h. */
63020 #include <math.h>
63022 main ()
63024 _atan2l(0, 0);
63026 return 0;
63028 _ACEOF
63029 if ac_fn_cxx_try_compile "$LINENO"; then :
63030 glibcxx_cv_func__atan2l_use=yes
63031 else
63032 glibcxx_cv_func__atan2l_use=no
63034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63035 ac_ext=c
63036 ac_cpp='$CPP $CPPFLAGS'
63037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
63046 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
63048 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
63049 for ac_func in _atan2l
63050 do :
63051 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
63052 if test "x$ac_cv_func__atan2l" = x""yes; then :
63053 cat >>confdefs.h <<_ACEOF
63054 #define HAVE__ATAN2L 1
63055 _ACEOF
63058 done
63067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
63068 $as_echo_n "checking for expl declaration... " >&6; }
63069 if test x${glibcxx_cv_func_expl_use+set} != xset; then
63070 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
63071 $as_echo_n "(cached) " >&6
63072 else
63075 ac_ext=cpp
63076 ac_cpp='$CXXCPP $CPPFLAGS'
63077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63082 /* end confdefs.h. */
63083 #include <math.h>
63084 #ifdef HAVE_IEEEFP_H
63085 #include <ieeefp.h>
63086 #endif
63089 main ()
63091 expl(0);
63093 return 0;
63095 _ACEOF
63096 if ac_fn_cxx_try_compile "$LINENO"; then :
63097 glibcxx_cv_func_expl_use=yes
63098 else
63099 glibcxx_cv_func_expl_use=no
63101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63102 ac_ext=c
63103 ac_cpp='$CPP $CPPFLAGS'
63104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
63113 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
63115 if test x$glibcxx_cv_func_expl_use = x"yes"; then
63116 for ac_func in expl
63117 do :
63118 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
63119 if test "x$ac_cv_func_expl" = x""yes; then :
63120 cat >>confdefs.h <<_ACEOF
63121 #define HAVE_EXPL 1
63122 _ACEOF
63125 done
63127 else
63129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
63130 $as_echo_n "checking for _expl declaration... " >&6; }
63131 if test x${glibcxx_cv_func__expl_use+set} != xset; then
63132 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
63133 $as_echo_n "(cached) " >&6
63134 else
63137 ac_ext=cpp
63138 ac_cpp='$CXXCPP $CPPFLAGS'
63139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63144 /* end confdefs.h. */
63145 #include <math.h>
63146 #ifdef HAVE_IEEEFP_H
63147 #include <ieeefp.h>
63148 #endif
63151 main ()
63153 _expl(0);
63155 return 0;
63157 _ACEOF
63158 if ac_fn_cxx_try_compile "$LINENO"; then :
63159 glibcxx_cv_func__expl_use=yes
63160 else
63161 glibcxx_cv_func__expl_use=no
63163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63164 ac_ext=c
63165 ac_cpp='$CPP $CPPFLAGS'
63166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
63175 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
63177 if test x$glibcxx_cv_func__expl_use = x"yes"; then
63178 for ac_func in _expl
63179 do :
63180 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
63181 if test "x$ac_cv_func__expl" = x""yes; then :
63182 cat >>confdefs.h <<_ACEOF
63183 #define HAVE__EXPL 1
63184 _ACEOF
63187 done
63196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
63197 $as_echo_n "checking for fabsl declaration... " >&6; }
63198 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
63199 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
63200 $as_echo_n "(cached) " >&6
63201 else
63204 ac_ext=cpp
63205 ac_cpp='$CXXCPP $CPPFLAGS'
63206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63211 /* end confdefs.h. */
63212 #include <math.h>
63213 #ifdef HAVE_IEEEFP_H
63214 #include <ieeefp.h>
63215 #endif
63218 main ()
63220 fabsl(0);
63222 return 0;
63224 _ACEOF
63225 if ac_fn_cxx_try_compile "$LINENO"; then :
63226 glibcxx_cv_func_fabsl_use=yes
63227 else
63228 glibcxx_cv_func_fabsl_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_fabsl_use" >&5
63242 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
63244 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
63245 for ac_func in fabsl
63246 do :
63247 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
63248 if test "x$ac_cv_func_fabsl" = x""yes; then :
63249 cat >>confdefs.h <<_ACEOF
63250 #define HAVE_FABSL 1
63251 _ACEOF
63254 done
63256 else
63258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
63259 $as_echo_n "checking for _fabsl declaration... " >&6; }
63260 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
63261 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
63262 $as_echo_n "(cached) " >&6
63263 else
63266 ac_ext=cpp
63267 ac_cpp='$CXXCPP $CPPFLAGS'
63268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63273 /* end confdefs.h. */
63274 #include <math.h>
63275 #ifdef HAVE_IEEEFP_H
63276 #include <ieeefp.h>
63277 #endif
63280 main ()
63282 _fabsl(0);
63284 return 0;
63286 _ACEOF
63287 if ac_fn_cxx_try_compile "$LINENO"; then :
63288 glibcxx_cv_func__fabsl_use=yes
63289 else
63290 glibcxx_cv_func__fabsl_use=no
63292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63293 ac_ext=c
63294 ac_cpp='$CPP $CPPFLAGS'
63295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
63304 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
63306 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
63307 for ac_func in _fabsl
63308 do :
63309 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
63310 if test "x$ac_cv_func__fabsl" = x""yes; then :
63311 cat >>confdefs.h <<_ACEOF
63312 #define HAVE__FABSL 1
63313 _ACEOF
63316 done
63325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
63326 $as_echo_n "checking for fmodl declaration... " >&6; }
63327 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
63328 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
63329 $as_echo_n "(cached) " >&6
63330 else
63333 ac_ext=cpp
63334 ac_cpp='$CXXCPP $CPPFLAGS'
63335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63340 /* end confdefs.h. */
63341 #include <math.h>
63343 main ()
63345 fmodl(0, 0);
63347 return 0;
63349 _ACEOF
63350 if ac_fn_cxx_try_compile "$LINENO"; then :
63351 glibcxx_cv_func_fmodl_use=yes
63352 else
63353 glibcxx_cv_func_fmodl_use=no
63355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63356 ac_ext=c
63357 ac_cpp='$CPP $CPPFLAGS'
63358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
63367 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
63369 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
63370 for ac_func in fmodl
63371 do :
63372 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
63373 if test "x$ac_cv_func_fmodl" = x""yes; then :
63374 cat >>confdefs.h <<_ACEOF
63375 #define HAVE_FMODL 1
63376 _ACEOF
63379 done
63381 else
63383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
63384 $as_echo_n "checking for _fmodl declaration... " >&6; }
63385 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
63386 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
63387 $as_echo_n "(cached) " >&6
63388 else
63391 ac_ext=cpp
63392 ac_cpp='$CXXCPP $CPPFLAGS'
63393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63398 /* end confdefs.h. */
63399 #include <math.h>
63401 main ()
63403 _fmodl(0, 0);
63405 return 0;
63407 _ACEOF
63408 if ac_fn_cxx_try_compile "$LINENO"; then :
63409 glibcxx_cv_func__fmodl_use=yes
63410 else
63411 glibcxx_cv_func__fmodl_use=no
63413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63414 ac_ext=c
63415 ac_cpp='$CPP $CPPFLAGS'
63416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
63425 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
63427 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
63428 for ac_func in _fmodl
63429 do :
63430 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
63431 if test "x$ac_cv_func__fmodl" = x""yes; then :
63432 cat >>confdefs.h <<_ACEOF
63433 #define HAVE__FMODL 1
63434 _ACEOF
63437 done
63446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
63447 $as_echo_n "checking for frexpl declaration... " >&6; }
63448 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
63449 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
63450 $as_echo_n "(cached) " >&6
63451 else
63454 ac_ext=cpp
63455 ac_cpp='$CXXCPP $CPPFLAGS'
63456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63461 /* end confdefs.h. */
63462 #include <math.h>
63464 main ()
63466 frexpl(0, 0);
63468 return 0;
63470 _ACEOF
63471 if ac_fn_cxx_try_compile "$LINENO"; then :
63472 glibcxx_cv_func_frexpl_use=yes
63473 else
63474 glibcxx_cv_func_frexpl_use=no
63476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63477 ac_ext=c
63478 ac_cpp='$CPP $CPPFLAGS'
63479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
63488 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
63490 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
63491 for ac_func in frexpl
63492 do :
63493 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
63494 if test "x$ac_cv_func_frexpl" = x""yes; then :
63495 cat >>confdefs.h <<_ACEOF
63496 #define HAVE_FREXPL 1
63497 _ACEOF
63500 done
63502 else
63504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
63505 $as_echo_n "checking for _frexpl declaration... " >&6; }
63506 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
63507 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
63508 $as_echo_n "(cached) " >&6
63509 else
63512 ac_ext=cpp
63513 ac_cpp='$CXXCPP $CPPFLAGS'
63514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63519 /* end confdefs.h. */
63520 #include <math.h>
63522 main ()
63524 _frexpl(0, 0);
63526 return 0;
63528 _ACEOF
63529 if ac_fn_cxx_try_compile "$LINENO"; then :
63530 glibcxx_cv_func__frexpl_use=yes
63531 else
63532 glibcxx_cv_func__frexpl_use=no
63534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63535 ac_ext=c
63536 ac_cpp='$CPP $CPPFLAGS'
63537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
63546 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
63548 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
63549 for ac_func in _frexpl
63550 do :
63551 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
63552 if test "x$ac_cv_func__frexpl" = x""yes; then :
63553 cat >>confdefs.h <<_ACEOF
63554 #define HAVE__FREXPL 1
63555 _ACEOF
63558 done
63567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
63568 $as_echo_n "checking for hypotl declaration... " >&6; }
63569 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
63570 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
63571 $as_echo_n "(cached) " >&6
63572 else
63575 ac_ext=cpp
63576 ac_cpp='$CXXCPP $CPPFLAGS'
63577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63582 /* end confdefs.h. */
63583 #include <math.h>
63585 main ()
63587 hypotl(0, 0);
63589 return 0;
63591 _ACEOF
63592 if ac_fn_cxx_try_compile "$LINENO"; then :
63593 glibcxx_cv_func_hypotl_use=yes
63594 else
63595 glibcxx_cv_func_hypotl_use=no
63597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63598 ac_ext=c
63599 ac_cpp='$CPP $CPPFLAGS'
63600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
63609 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
63611 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
63612 for ac_func in hypotl
63613 do :
63614 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
63615 if test "x$ac_cv_func_hypotl" = x""yes; then :
63616 cat >>confdefs.h <<_ACEOF
63617 #define HAVE_HYPOTL 1
63618 _ACEOF
63621 done
63623 else
63625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
63626 $as_echo_n "checking for _hypotl declaration... " >&6; }
63627 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
63628 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
63629 $as_echo_n "(cached) " >&6
63630 else
63633 ac_ext=cpp
63634 ac_cpp='$CXXCPP $CPPFLAGS'
63635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63640 /* end confdefs.h. */
63641 #include <math.h>
63643 main ()
63645 _hypotl(0, 0);
63647 return 0;
63649 _ACEOF
63650 if ac_fn_cxx_try_compile "$LINENO"; then :
63651 glibcxx_cv_func__hypotl_use=yes
63652 else
63653 glibcxx_cv_func__hypotl_use=no
63655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63656 ac_ext=c
63657 ac_cpp='$CPP $CPPFLAGS'
63658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
63667 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
63669 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
63670 for ac_func in _hypotl
63671 do :
63672 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
63673 if test "x$ac_cv_func__hypotl" = x""yes; then :
63674 cat >>confdefs.h <<_ACEOF
63675 #define HAVE__HYPOTL 1
63676 _ACEOF
63679 done
63688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
63689 $as_echo_n "checking for ldexpl declaration... " >&6; }
63690 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
63691 if test "${glibcxx_cv_func_ldexpl_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>
63706 main ()
63708 ldexpl(0, 0);
63710 return 0;
63712 _ACEOF
63713 if ac_fn_cxx_try_compile "$LINENO"; then :
63714 glibcxx_cv_func_ldexpl_use=yes
63715 else
63716 glibcxx_cv_func_ldexpl_use=no
63718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63719 ac_ext=c
63720 ac_cpp='$CPP $CPPFLAGS'
63721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
63730 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
63732 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
63733 for ac_func in ldexpl
63734 do :
63735 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
63736 if test "x$ac_cv_func_ldexpl" = x""yes; then :
63737 cat >>confdefs.h <<_ACEOF
63738 #define HAVE_LDEXPL 1
63739 _ACEOF
63742 done
63744 else
63746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
63747 $as_echo_n "checking for _ldexpl declaration... " >&6; }
63748 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
63749 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
63750 $as_echo_n "(cached) " >&6
63751 else
63754 ac_ext=cpp
63755 ac_cpp='$CXXCPP $CPPFLAGS'
63756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63761 /* end confdefs.h. */
63762 #include <math.h>
63764 main ()
63766 _ldexpl(0, 0);
63768 return 0;
63770 _ACEOF
63771 if ac_fn_cxx_try_compile "$LINENO"; then :
63772 glibcxx_cv_func__ldexpl_use=yes
63773 else
63774 glibcxx_cv_func__ldexpl_use=no
63776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63777 ac_ext=c
63778 ac_cpp='$CPP $CPPFLAGS'
63779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
63788 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
63790 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
63791 for ac_func in _ldexpl
63792 do :
63793 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
63794 if test "x$ac_cv_func__ldexpl" = x""yes; then :
63795 cat >>confdefs.h <<_ACEOF
63796 #define HAVE__LDEXPL 1
63797 _ACEOF
63800 done
63809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
63810 $as_echo_n "checking for logl declaration... " >&6; }
63811 if test x${glibcxx_cv_func_logl_use+set} != xset; then
63812 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
63813 $as_echo_n "(cached) " >&6
63814 else
63817 ac_ext=cpp
63818 ac_cpp='$CXXCPP $CPPFLAGS'
63819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63824 /* end confdefs.h. */
63825 #include <math.h>
63826 #ifdef HAVE_IEEEFP_H
63827 #include <ieeefp.h>
63828 #endif
63831 main ()
63833 logl(0);
63835 return 0;
63837 _ACEOF
63838 if ac_fn_cxx_try_compile "$LINENO"; then :
63839 glibcxx_cv_func_logl_use=yes
63840 else
63841 glibcxx_cv_func_logl_use=no
63843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63844 ac_ext=c
63845 ac_cpp='$CPP $CPPFLAGS'
63846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
63855 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
63857 if test x$glibcxx_cv_func_logl_use = x"yes"; then
63858 for ac_func in logl
63859 do :
63860 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
63861 if test "x$ac_cv_func_logl" = x""yes; then :
63862 cat >>confdefs.h <<_ACEOF
63863 #define HAVE_LOGL 1
63864 _ACEOF
63867 done
63869 else
63871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
63872 $as_echo_n "checking for _logl declaration... " >&6; }
63873 if test x${glibcxx_cv_func__logl_use+set} != xset; then
63874 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
63875 $as_echo_n "(cached) " >&6
63876 else
63879 ac_ext=cpp
63880 ac_cpp='$CXXCPP $CPPFLAGS'
63881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63886 /* end confdefs.h. */
63887 #include <math.h>
63888 #ifdef HAVE_IEEEFP_H
63889 #include <ieeefp.h>
63890 #endif
63893 main ()
63895 _logl(0);
63897 return 0;
63899 _ACEOF
63900 if ac_fn_cxx_try_compile "$LINENO"; then :
63901 glibcxx_cv_func__logl_use=yes
63902 else
63903 glibcxx_cv_func__logl_use=no
63905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63906 ac_ext=c
63907 ac_cpp='$CPP $CPPFLAGS'
63908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
63917 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
63919 if test x$glibcxx_cv_func__logl_use = x"yes"; then
63920 for ac_func in _logl
63921 do :
63922 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
63923 if test "x$ac_cv_func__logl" = x""yes; then :
63924 cat >>confdefs.h <<_ACEOF
63925 #define HAVE__LOGL 1
63926 _ACEOF
63929 done
63938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
63939 $as_echo_n "checking for log10l declaration... " >&6; }
63940 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
63941 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
63942 $as_echo_n "(cached) " >&6
63943 else
63946 ac_ext=cpp
63947 ac_cpp='$CXXCPP $CPPFLAGS'
63948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63953 /* end confdefs.h. */
63954 #include <math.h>
63955 #ifdef HAVE_IEEEFP_H
63956 #include <ieeefp.h>
63957 #endif
63960 main ()
63962 log10l(0);
63964 return 0;
63966 _ACEOF
63967 if ac_fn_cxx_try_compile "$LINENO"; then :
63968 glibcxx_cv_func_log10l_use=yes
63969 else
63970 glibcxx_cv_func_log10l_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_log10l_use" >&5
63984 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
63986 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
63987 for ac_func in log10l
63988 do :
63989 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
63990 if test "x$ac_cv_func_log10l" = x""yes; then :
63991 cat >>confdefs.h <<_ACEOF
63992 #define HAVE_LOG10L 1
63993 _ACEOF
63996 done
63998 else
64000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
64001 $as_echo_n "checking for _log10l declaration... " >&6; }
64002 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
64003 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
64004 $as_echo_n "(cached) " >&6
64005 else
64008 ac_ext=cpp
64009 ac_cpp='$CXXCPP $CPPFLAGS'
64010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64015 /* end confdefs.h. */
64016 #include <math.h>
64017 #ifdef HAVE_IEEEFP_H
64018 #include <ieeefp.h>
64019 #endif
64022 main ()
64024 _log10l(0);
64026 return 0;
64028 _ACEOF
64029 if ac_fn_cxx_try_compile "$LINENO"; then :
64030 glibcxx_cv_func__log10l_use=yes
64031 else
64032 glibcxx_cv_func__log10l_use=no
64034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64035 ac_ext=c
64036 ac_cpp='$CPP $CPPFLAGS'
64037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
64046 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
64048 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
64049 for ac_func in _log10l
64050 do :
64051 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
64052 if test "x$ac_cv_func__log10l" = x""yes; then :
64053 cat >>confdefs.h <<_ACEOF
64054 #define HAVE__LOG10L 1
64055 _ACEOF
64058 done
64067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
64068 $as_echo_n "checking for modfl declaration... " >&6; }
64069 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
64070 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
64071 $as_echo_n "(cached) " >&6
64072 else
64075 ac_ext=cpp
64076 ac_cpp='$CXXCPP $CPPFLAGS'
64077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64082 /* end confdefs.h. */
64083 #include <math.h>
64085 main ()
64087 modfl(0, 0);
64089 return 0;
64091 _ACEOF
64092 if ac_fn_cxx_try_compile "$LINENO"; then :
64093 glibcxx_cv_func_modfl_use=yes
64094 else
64095 glibcxx_cv_func_modfl_use=no
64097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64098 ac_ext=c
64099 ac_cpp='$CPP $CPPFLAGS'
64100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
64109 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
64111 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
64112 for ac_func in modfl
64113 do :
64114 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
64115 if test "x$ac_cv_func_modfl" = x""yes; then :
64116 cat >>confdefs.h <<_ACEOF
64117 #define HAVE_MODFL 1
64118 _ACEOF
64121 done
64123 else
64125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
64126 $as_echo_n "checking for _modfl declaration... " >&6; }
64127 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
64128 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
64129 $as_echo_n "(cached) " >&6
64130 else
64133 ac_ext=cpp
64134 ac_cpp='$CXXCPP $CPPFLAGS'
64135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64140 /* end confdefs.h. */
64141 #include <math.h>
64143 main ()
64145 _modfl(0, 0);
64147 return 0;
64149 _ACEOF
64150 if ac_fn_cxx_try_compile "$LINENO"; then :
64151 glibcxx_cv_func__modfl_use=yes
64152 else
64153 glibcxx_cv_func__modfl_use=no
64155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64156 ac_ext=c
64157 ac_cpp='$CPP $CPPFLAGS'
64158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
64167 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
64169 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
64170 for ac_func in _modfl
64171 do :
64172 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
64173 if test "x$ac_cv_func__modfl" = x""yes; then :
64174 cat >>confdefs.h <<_ACEOF
64175 #define HAVE__MODFL 1
64176 _ACEOF
64179 done
64188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
64189 $as_echo_n "checking for powl declaration... " >&6; }
64190 if test x${glibcxx_cv_func_powl_use+set} != xset; then
64191 if test "${glibcxx_cv_func_powl_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>
64206 main ()
64208 powl(0, 0);
64210 return 0;
64212 _ACEOF
64213 if ac_fn_cxx_try_compile "$LINENO"; then :
64214 glibcxx_cv_func_powl_use=yes
64215 else
64216 glibcxx_cv_func_powl_use=no
64218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64219 ac_ext=c
64220 ac_cpp='$CPP $CPPFLAGS'
64221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
64230 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
64232 if test x$glibcxx_cv_func_powl_use = x"yes"; then
64233 for ac_func in powl
64234 do :
64235 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
64236 if test "x$ac_cv_func_powl" = x""yes; then :
64237 cat >>confdefs.h <<_ACEOF
64238 #define HAVE_POWL 1
64239 _ACEOF
64242 done
64244 else
64246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
64247 $as_echo_n "checking for _powl declaration... " >&6; }
64248 if test x${glibcxx_cv_func__powl_use+set} != xset; then
64249 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
64250 $as_echo_n "(cached) " >&6
64251 else
64254 ac_ext=cpp
64255 ac_cpp='$CXXCPP $CPPFLAGS'
64256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64261 /* end confdefs.h. */
64262 #include <math.h>
64264 main ()
64266 _powl(0, 0);
64268 return 0;
64270 _ACEOF
64271 if ac_fn_cxx_try_compile "$LINENO"; then :
64272 glibcxx_cv_func__powl_use=yes
64273 else
64274 glibcxx_cv_func__powl_use=no
64276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64277 ac_ext=c
64278 ac_cpp='$CPP $CPPFLAGS'
64279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
64288 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
64290 if test x$glibcxx_cv_func__powl_use = x"yes"; then
64291 for ac_func in _powl
64292 do :
64293 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
64294 if test "x$ac_cv_func__powl" = x""yes; then :
64295 cat >>confdefs.h <<_ACEOF
64296 #define HAVE__POWL 1
64297 _ACEOF
64300 done
64309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
64310 $as_echo_n "checking for sqrtl declaration... " >&6; }
64311 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
64312 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
64313 $as_echo_n "(cached) " >&6
64314 else
64317 ac_ext=cpp
64318 ac_cpp='$CXXCPP $CPPFLAGS'
64319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64324 /* end confdefs.h. */
64325 #include <math.h>
64326 #ifdef HAVE_IEEEFP_H
64327 #include <ieeefp.h>
64328 #endif
64331 main ()
64333 sqrtl(0);
64335 return 0;
64337 _ACEOF
64338 if ac_fn_cxx_try_compile "$LINENO"; then :
64339 glibcxx_cv_func_sqrtl_use=yes
64340 else
64341 glibcxx_cv_func_sqrtl_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_sqrtl_use" >&5
64355 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
64357 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
64358 for ac_func in sqrtl
64359 do :
64360 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
64361 if test "x$ac_cv_func_sqrtl" = x""yes; then :
64362 cat >>confdefs.h <<_ACEOF
64363 #define HAVE_SQRTL 1
64364 _ACEOF
64367 done
64369 else
64371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
64372 $as_echo_n "checking for _sqrtl declaration... " >&6; }
64373 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
64374 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
64375 $as_echo_n "(cached) " >&6
64376 else
64379 ac_ext=cpp
64380 ac_cpp='$CXXCPP $CPPFLAGS'
64381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64386 /* end confdefs.h. */
64387 #include <math.h>
64388 #ifdef HAVE_IEEEFP_H
64389 #include <ieeefp.h>
64390 #endif
64393 main ()
64395 _sqrtl(0);
64397 return 0;
64399 _ACEOF
64400 if ac_fn_cxx_try_compile "$LINENO"; then :
64401 glibcxx_cv_func__sqrtl_use=yes
64402 else
64403 glibcxx_cv_func__sqrtl_use=no
64405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64406 ac_ext=c
64407 ac_cpp='$CPP $CPPFLAGS'
64408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
64417 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
64419 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
64420 for ac_func in _sqrtl
64421 do :
64422 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
64423 if test "x$ac_cv_func__sqrtl" = x""yes; then :
64424 cat >>confdefs.h <<_ACEOF
64425 #define HAVE__SQRTL 1
64426 _ACEOF
64429 done
64438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
64439 $as_echo_n "checking for sincosl declaration... " >&6; }
64440 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
64441 if test "${glibcxx_cv_func_sincosl_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>
64456 main ()
64458 sincosl(0, 0, 0);
64460 return 0;
64462 _ACEOF
64463 if ac_fn_cxx_try_compile "$LINENO"; then :
64464 glibcxx_cv_func_sincosl_use=yes
64465 else
64466 glibcxx_cv_func_sincosl_use=no
64468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64469 ac_ext=c
64470 ac_cpp='$CPP $CPPFLAGS'
64471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
64480 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
64482 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
64483 for ac_func in sincosl
64484 do :
64485 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
64486 if test "x$ac_cv_func_sincosl" = x""yes; then :
64487 cat >>confdefs.h <<_ACEOF
64488 #define HAVE_SINCOSL 1
64489 _ACEOF
64492 done
64494 else
64496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
64497 $as_echo_n "checking for _sincosl declaration... " >&6; }
64498 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
64499 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
64500 $as_echo_n "(cached) " >&6
64501 else
64504 ac_ext=cpp
64505 ac_cpp='$CXXCPP $CPPFLAGS'
64506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64511 /* end confdefs.h. */
64512 #include <math.h>
64514 main ()
64516 _sincosl(0, 0, 0);
64518 return 0;
64520 _ACEOF
64521 if ac_fn_cxx_try_compile "$LINENO"; then :
64522 glibcxx_cv_func__sincosl_use=yes
64523 else
64524 glibcxx_cv_func__sincosl_use=no
64526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64527 ac_ext=c
64528 ac_cpp='$CPP $CPPFLAGS'
64529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
64538 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
64540 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
64541 for ac_func in _sincosl
64542 do :
64543 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
64544 if test "x$ac_cv_func__sincosl" = x""yes; then :
64545 cat >>confdefs.h <<_ACEOF
64546 #define HAVE__SINCOSL 1
64547 _ACEOF
64550 done
64559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
64560 $as_echo_n "checking for finitel declaration... " >&6; }
64561 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
64562 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
64563 $as_echo_n "(cached) " >&6
64564 else
64567 ac_ext=cpp
64568 ac_cpp='$CXXCPP $CPPFLAGS'
64569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64574 /* end confdefs.h. */
64575 #include <math.h>
64576 #ifdef HAVE_IEEEFP_H
64577 #include <ieeefp.h>
64578 #endif
64581 main ()
64583 finitel(0);
64585 return 0;
64587 _ACEOF
64588 if ac_fn_cxx_try_compile "$LINENO"; then :
64589 glibcxx_cv_func_finitel_use=yes
64590 else
64591 glibcxx_cv_func_finitel_use=no
64593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64594 ac_ext=c
64595 ac_cpp='$CPP $CPPFLAGS'
64596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
64605 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
64607 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
64608 for ac_func in finitel
64609 do :
64610 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
64611 if test "x$ac_cv_func_finitel" = x""yes; then :
64612 cat >>confdefs.h <<_ACEOF
64613 #define HAVE_FINITEL 1
64614 _ACEOF
64617 done
64619 else
64621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
64622 $as_echo_n "checking for _finitel declaration... " >&6; }
64623 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
64624 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
64625 $as_echo_n "(cached) " >&6
64626 else
64629 ac_ext=cpp
64630 ac_cpp='$CXXCPP $CPPFLAGS'
64631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64636 /* end confdefs.h. */
64637 #include <math.h>
64638 #ifdef HAVE_IEEEFP_H
64639 #include <ieeefp.h>
64640 #endif
64643 main ()
64645 _finitel(0);
64647 return 0;
64649 _ACEOF
64650 if ac_fn_cxx_try_compile "$LINENO"; then :
64651 glibcxx_cv_func__finitel_use=yes
64652 else
64653 glibcxx_cv_func__finitel_use=no
64655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64656 ac_ext=c
64657 ac_cpp='$CPP $CPPFLAGS'
64658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
64667 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
64669 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
64670 for ac_func in _finitel
64671 do :
64672 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
64673 if test "x$ac_cv_func__finitel" = x""yes; then :
64674 cat >>confdefs.h <<_ACEOF
64675 #define HAVE__FINITEL 1
64676 _ACEOF
64679 done
64687 LIBS="$ac_save_LIBS"
64688 CXXFLAGS="$ac_save_CXXFLAGS"
64691 ac_test_CXXFLAGS="${CXXFLAGS+set}"
64692 ac_save_CXXFLAGS="$CXXFLAGS"
64693 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
64696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
64697 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
64698 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
64699 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
64700 $as_echo_n "(cached) " >&6
64701 else
64704 ac_ext=cpp
64705 ac_cpp='$CXXCPP $CPPFLAGS'
64706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64711 /* end confdefs.h. */
64712 #include <stdlib.h>
64714 main ()
64716 at_quick_exit(0);
64718 return 0;
64720 _ACEOF
64721 if ac_fn_cxx_try_compile "$LINENO"; then :
64722 glibcxx_cv_func_at_quick_exit_use=yes
64723 else
64724 glibcxx_cv_func_at_quick_exit_use=no
64726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64727 ac_ext=c
64728 ac_cpp='$CPP $CPPFLAGS'
64729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
64738 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
64739 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
64740 for ac_func in at_quick_exit
64741 do :
64742 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
64743 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
64744 cat >>confdefs.h <<_ACEOF
64745 #define HAVE_AT_QUICK_EXIT 1
64746 _ACEOF
64749 done
64754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
64755 $as_echo_n "checking for quick_exit declaration... " >&6; }
64756 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
64757 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
64758 $as_echo_n "(cached) " >&6
64759 else
64762 ac_ext=cpp
64763 ac_cpp='$CXXCPP $CPPFLAGS'
64764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64769 /* end confdefs.h. */
64770 #include <stdlib.h>
64772 main ()
64774 quick_exit(0);
64776 return 0;
64778 _ACEOF
64779 if ac_fn_cxx_try_compile "$LINENO"; then :
64780 glibcxx_cv_func_quick_exit_use=yes
64781 else
64782 glibcxx_cv_func_quick_exit_use=no
64784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64785 ac_ext=c
64786 ac_cpp='$CPP $CPPFLAGS'
64787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
64796 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
64797 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
64798 for ac_func in quick_exit
64799 do :
64800 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
64801 if test "x$ac_cv_func_quick_exit" = x""yes; then :
64802 cat >>confdefs.h <<_ACEOF
64803 #define HAVE_QUICK_EXIT 1
64804 _ACEOF
64807 done
64812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
64813 $as_echo_n "checking for strtold declaration... " >&6; }
64814 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
64815 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
64816 $as_echo_n "(cached) " >&6
64817 else
64820 ac_ext=cpp
64821 ac_cpp='$CXXCPP $CPPFLAGS'
64822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64827 /* end confdefs.h. */
64828 #include <stdlib.h>
64830 main ()
64832 strtold(0, 0);
64834 return 0;
64836 _ACEOF
64837 if ac_fn_cxx_try_compile "$LINENO"; then :
64838 glibcxx_cv_func_strtold_use=yes
64839 else
64840 glibcxx_cv_func_strtold_use=no
64842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64843 ac_ext=c
64844 ac_cpp='$CPP $CPPFLAGS'
64845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
64854 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
64855 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
64856 for ac_func in strtold
64857 do :
64858 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
64859 if test "x$ac_cv_func_strtold" = x""yes; then :
64860 cat >>confdefs.h <<_ACEOF
64861 #define HAVE_STRTOLD 1
64862 _ACEOF
64865 done
64872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
64873 $as_echo_n "checking for strtof declaration... " >&6; }
64874 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
64875 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
64876 $as_echo_n "(cached) " >&6
64877 else
64880 ac_ext=cpp
64881 ac_cpp='$CXXCPP $CPPFLAGS'
64882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64887 /* end confdefs.h. */
64888 #include <stdlib.h>
64890 main ()
64892 strtof(0, 0);
64894 return 0;
64896 _ACEOF
64897 if ac_fn_cxx_try_compile "$LINENO"; then :
64898 glibcxx_cv_func_strtof_use=yes
64899 else
64900 glibcxx_cv_func_strtof_use=no
64902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64903 ac_ext=c
64904 ac_cpp='$CPP $CPPFLAGS'
64905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
64914 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
64915 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
64916 for ac_func in strtof
64917 do :
64918 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
64919 if test "x$ac_cv_func_strtof" = x""yes; then :
64920 cat >>confdefs.h <<_ACEOF
64921 #define HAVE_STRTOF 1
64922 _ACEOF
64925 done
64932 CXXFLAGS="$ac_save_CXXFLAGS"
64935 *-netbsd*)
64936 SECTION_FLAGS='-ffunction-sections -fdata-sections'
64939 # If we're not using GNU ld, then there's no point in even trying these
64940 # tests. Check for that first. We should have already tested for gld
64941 # by now (in libtool), but require it now just to be safe...
64942 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
64943 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
64947 # The name set by libtool depends on the version of libtool. Shame on us
64948 # for depending on an impl detail, but c'est la vie. Older versions used
64949 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
64950 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
64951 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
64952 # set (hence we're using an older libtool), then set it.
64953 if test x${with_gnu_ld+set} != xset; then
64954 if test x${ac_cv_prog_gnu_ld+set} != xset; then
64955 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
64956 with_gnu_ld=no
64957 else
64958 with_gnu_ld=$ac_cv_prog_gnu_ld
64962 # Start by getting the version number. I think the libtool test already
64963 # does some of this, but throws away the result.
64964 glibcxx_ld_is_gold=no
64965 if test x"$with_gnu_ld" = x"yes"; then
64966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
64967 $as_echo_n "checking for ld version... " >&6; }
64969 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
64970 glibcxx_ld_is_gold=yes
64972 ldver=`$LD --version 2>/dev/null |
64973 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'`
64975 glibcxx_gnu_ld_version=`echo $ldver | \
64976 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
64977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
64978 $as_echo "$glibcxx_gnu_ld_version" >&6; }
64981 # Set --gc-sections.
64982 glibcxx_have_gc_sections=no
64983 if test "$glibcxx_ld_is_gold" = "yes"; then
64984 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
64985 glibcxx_have_gc_sections=yes
64987 else
64988 glibcxx_gcsections_min_ld=21602
64989 if test x"$with_gnu_ld" = x"yes" &&
64990 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
64991 glibcxx_have_gc_sections=yes
64994 if test "$glibcxx_have_gc_sections" = "yes"; then
64995 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
64996 # NB: This flag only works reliably after 2.16.1. Configure tests
64997 # for this are difficult, so hard wire a value that should work.
64999 ac_test_CFLAGS="${CFLAGS+set}"
65000 ac_save_CFLAGS="$CFLAGS"
65001 CFLAGS='-Wl,--gc-sections'
65003 # Check for -Wl,--gc-sections
65004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
65005 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
65006 if test x$gcc_no_link = xyes; then
65007 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
65009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65010 /* end confdefs.h. */
65011 int one(void) { return 1; }
65012 int two(void) { return 2; }
65015 main ()
65017 two();
65019 return 0;
65021 _ACEOF
65022 if ac_fn_c_try_link "$LINENO"; then :
65023 ac_gcsections=yes
65024 else
65025 ac_gcsections=no
65027 rm -f core conftest.err conftest.$ac_objext \
65028 conftest$ac_exeext conftest.$ac_ext
65029 if test "$ac_gcsections" = "yes"; then
65030 rm -f conftest.c
65031 touch conftest.c
65032 if $CC -c conftest.c; then
65033 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
65034 grep "Warning: gc-sections option ignored" > /dev/null; then
65035 ac_gcsections=no
65038 rm -f conftest.c conftest.o conftest
65040 if test "$ac_gcsections" = "yes"; then
65041 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
65043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
65044 $as_echo "$ac_gcsections" >&6; }
65046 if test "$ac_test_CFLAGS" = set; then
65047 CFLAGS="$ac_save_CFLAGS"
65048 else
65049 # this is the suspicious part
65050 CFLAGS=''
65054 # Set -z,relro.
65055 # Note this is only for shared objects.
65056 ac_ld_relro=no
65057 if test x"$with_gnu_ld" = x"yes"; then
65058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
65059 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
65060 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
65061 if test -n "$cxx_z_relo"; then
65062 OPT_LDFLAGS="-Wl,-z,relro"
65063 ac_ld_relro=yes
65065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
65066 $as_echo "$ac_ld_relro" >&6; }
65069 # Set linker optimization flags.
65070 if test x"$with_gnu_ld" = x"yes"; then
65071 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
65077 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
65079 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
65081 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
65083 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
65085 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
65087 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
65089 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
65091 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
65093 if test x"long_double_math_on_this_cpu" = x"yes"; then
65094 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
65096 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
65098 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
65102 *-qnx6.1* | *-qnx6.2*)
65103 SECTION_FLAGS='-ffunction-sections -fdata-sections'
65106 # If we're not using GNU ld, then there's no point in even trying these
65107 # tests. Check for that first. We should have already tested for gld
65108 # by now (in libtool), but require it now just to be safe...
65109 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
65110 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
65114 # The name set by libtool depends on the version of libtool. Shame on us
65115 # for depending on an impl detail, but c'est la vie. Older versions used
65116 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
65117 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
65118 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
65119 # set (hence we're using an older libtool), then set it.
65120 if test x${with_gnu_ld+set} != xset; then
65121 if test x${ac_cv_prog_gnu_ld+set} != xset; then
65122 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
65123 with_gnu_ld=no
65124 else
65125 with_gnu_ld=$ac_cv_prog_gnu_ld
65129 # Start by getting the version number. I think the libtool test already
65130 # does some of this, but throws away the result.
65131 glibcxx_ld_is_gold=no
65132 if test x"$with_gnu_ld" = x"yes"; then
65133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
65134 $as_echo_n "checking for ld version... " >&6; }
65136 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
65137 glibcxx_ld_is_gold=yes
65139 ldver=`$LD --version 2>/dev/null |
65140 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'`
65142 glibcxx_gnu_ld_version=`echo $ldver | \
65143 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
65144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
65145 $as_echo "$glibcxx_gnu_ld_version" >&6; }
65148 # Set --gc-sections.
65149 glibcxx_have_gc_sections=no
65150 if test "$glibcxx_ld_is_gold" = "yes"; then
65151 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
65152 glibcxx_have_gc_sections=yes
65154 else
65155 glibcxx_gcsections_min_ld=21602
65156 if test x"$with_gnu_ld" = x"yes" &&
65157 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
65158 glibcxx_have_gc_sections=yes
65161 if test "$glibcxx_have_gc_sections" = "yes"; then
65162 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
65163 # NB: This flag only works reliably after 2.16.1. Configure tests
65164 # for this are difficult, so hard wire a value that should work.
65166 ac_test_CFLAGS="${CFLAGS+set}"
65167 ac_save_CFLAGS="$CFLAGS"
65168 CFLAGS='-Wl,--gc-sections'
65170 # Check for -Wl,--gc-sections
65171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
65172 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
65173 if test x$gcc_no_link = xyes; then
65174 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
65176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65177 /* end confdefs.h. */
65178 int one(void) { return 1; }
65179 int two(void) { return 2; }
65182 main ()
65184 two();
65186 return 0;
65188 _ACEOF
65189 if ac_fn_c_try_link "$LINENO"; then :
65190 ac_gcsections=yes
65191 else
65192 ac_gcsections=no
65194 rm -f core conftest.err conftest.$ac_objext \
65195 conftest$ac_exeext conftest.$ac_ext
65196 if test "$ac_gcsections" = "yes"; then
65197 rm -f conftest.c
65198 touch conftest.c
65199 if $CC -c conftest.c; then
65200 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
65201 grep "Warning: gc-sections option ignored" > /dev/null; then
65202 ac_gcsections=no
65205 rm -f conftest.c conftest.o conftest
65207 if test "$ac_gcsections" = "yes"; then
65208 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
65210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
65211 $as_echo "$ac_gcsections" >&6; }
65213 if test "$ac_test_CFLAGS" = set; then
65214 CFLAGS="$ac_save_CFLAGS"
65215 else
65216 # this is the suspicious part
65217 CFLAGS=''
65221 # Set -z,relro.
65222 # Note this is only for shared objects.
65223 ac_ld_relro=no
65224 if test x"$with_gnu_ld" = x"yes"; then
65225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
65226 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
65227 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
65228 if test -n "$cxx_z_relo"; then
65229 OPT_LDFLAGS="-Wl,-z,relro"
65230 ac_ld_relro=yes
65232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
65233 $as_echo "$ac_ld_relro" >&6; }
65236 # Set linker optimization flags.
65237 if test x"$with_gnu_ld" = x"yes"; then
65238 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
65244 $as_echo "#define HAVE_COSF 1" >>confdefs.h
65246 $as_echo "#define HAVE_COSL 1" >>confdefs.h
65248 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
65250 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
65252 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
65254 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
65256 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
65258 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
65260 $as_echo "#define HAVE_SINF 1" >>confdefs.h
65262 $as_echo "#define HAVE_SINL 1" >>confdefs.h
65264 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
65266 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
65269 *-rtems*)
65271 # All these tests are for C++; save the language and the compiler flags.
65272 # The CXXFLAGS thing is suspicious, but based on similar bits previously
65273 # found in GLIBCXX_CONFIGURE.
65275 ac_ext=cpp
65276 ac_cpp='$CXXCPP $CPPFLAGS'
65277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65281 ac_test_CXXFLAGS="${CXXFLAGS+set}"
65282 ac_save_CXXFLAGS="$CXXFLAGS"
65284 # Check for maintainer-mode bits.
65285 if test x"$USE_MAINTAINER_MODE" = xno; then
65286 WERROR=''
65287 else
65288 WERROR='-Werror'
65291 # Check for -ffunction-sections -fdata-sections
65292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
65293 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
65294 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
65295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65296 /* end confdefs.h. */
65297 int foo; void bar() { };
65299 main ()
65303 return 0;
65305 _ACEOF
65306 if ac_fn_cxx_try_compile "$LINENO"; then :
65307 ac_fdsections=yes
65308 else
65309 ac_fdsections=no
65311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65312 if test "$ac_test_CXXFLAGS" = set; then
65313 CXXFLAGS="$ac_save_CXXFLAGS"
65314 else
65315 # this is the suspicious part
65316 CXXFLAGS=''
65318 if test x"$ac_fdsections" = x"yes"; then
65319 SECTION_FLAGS='-ffunction-sections -fdata-sections'
65321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
65322 $as_echo "$ac_fdsections" >&6; }
65324 ac_ext=c
65325 ac_cpp='$CPP $CPPFLAGS'
65326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65334 # If we're not using GNU ld, then there's no point in even trying these
65335 # tests. Check for that first. We should have already tested for gld
65336 # by now (in libtool), but require it now just to be safe...
65337 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
65338 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
65342 # The name set by libtool depends on the version of libtool. Shame on us
65343 # for depending on an impl detail, but c'est la vie. Older versions used
65344 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
65345 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
65346 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
65347 # set (hence we're using an older libtool), then set it.
65348 if test x${with_gnu_ld+set} != xset; then
65349 if test x${ac_cv_prog_gnu_ld+set} != xset; then
65350 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
65351 with_gnu_ld=no
65352 else
65353 with_gnu_ld=$ac_cv_prog_gnu_ld
65357 # Start by getting the version number. I think the libtool test already
65358 # does some of this, but throws away the result.
65359 glibcxx_ld_is_gold=no
65360 if test x"$with_gnu_ld" = x"yes"; then
65361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
65362 $as_echo_n "checking for ld version... " >&6; }
65364 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
65365 glibcxx_ld_is_gold=yes
65367 ldver=`$LD --version 2>/dev/null |
65368 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'`
65370 glibcxx_gnu_ld_version=`echo $ldver | \
65371 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
65372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
65373 $as_echo "$glibcxx_gnu_ld_version" >&6; }
65376 # Set --gc-sections.
65377 glibcxx_have_gc_sections=no
65378 if test "$glibcxx_ld_is_gold" = "yes"; then
65379 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
65380 glibcxx_have_gc_sections=yes
65382 else
65383 glibcxx_gcsections_min_ld=21602
65384 if test x"$with_gnu_ld" = x"yes" &&
65385 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
65386 glibcxx_have_gc_sections=yes
65389 if test "$glibcxx_have_gc_sections" = "yes"; then
65390 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
65391 # NB: This flag only works reliably after 2.16.1. Configure tests
65392 # for this are difficult, so hard wire a value that should work.
65394 ac_test_CFLAGS="${CFLAGS+set}"
65395 ac_save_CFLAGS="$CFLAGS"
65396 CFLAGS='-Wl,--gc-sections'
65398 # Check for -Wl,--gc-sections
65399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
65400 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
65401 if test x$gcc_no_link = xyes; then
65402 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
65404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65405 /* end confdefs.h. */
65406 int one(void) { return 1; }
65407 int two(void) { return 2; }
65410 main ()
65412 two();
65414 return 0;
65416 _ACEOF
65417 if ac_fn_c_try_link "$LINENO"; then :
65418 ac_gcsections=yes
65419 else
65420 ac_gcsections=no
65422 rm -f core conftest.err conftest.$ac_objext \
65423 conftest$ac_exeext conftest.$ac_ext
65424 if test "$ac_gcsections" = "yes"; then
65425 rm -f conftest.c
65426 touch conftest.c
65427 if $CC -c conftest.c; then
65428 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
65429 grep "Warning: gc-sections option ignored" > /dev/null; then
65430 ac_gcsections=no
65433 rm -f conftest.c conftest.o conftest
65435 if test "$ac_gcsections" = "yes"; then
65436 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
65438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
65439 $as_echo "$ac_gcsections" >&6; }
65441 if test "$ac_test_CFLAGS" = set; then
65442 CFLAGS="$ac_save_CFLAGS"
65443 else
65444 # this is the suspicious part
65445 CFLAGS=''
65449 # Set -z,relro.
65450 # Note this is only for shared objects.
65451 ac_ld_relro=no
65452 if test x"$with_gnu_ld" = x"yes"; then
65453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
65454 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
65455 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
65456 if test -n "$cxx_z_relo"; then
65457 OPT_LDFLAGS="-Wl,-z,relro"
65458 ac_ld_relro=yes
65460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
65461 $as_echo "$ac_ld_relro" >&6; }
65464 # Set linker optimization flags.
65465 if test x"$with_gnu_ld" = x"yes"; then
65466 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
65473 ac_test_CXXFLAGS="${CXXFLAGS+set}"
65474 ac_save_CXXFLAGS="$CXXFLAGS"
65475 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
65477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
65478 $as_echo_n "checking for sin in -lm... " >&6; }
65479 if test "${ac_cv_lib_m_sin+set}" = set; then :
65480 $as_echo_n "(cached) " >&6
65481 else
65482 ac_check_lib_save_LIBS=$LIBS
65483 LIBS="-lm $LIBS"
65484 if test x$gcc_no_link = xyes; then
65485 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
65487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65488 /* end confdefs.h. */
65490 /* Override any GCC internal prototype to avoid an error.
65491 Use char because int might match the return type of a GCC
65492 builtin and then its argument prototype would still apply. */
65493 #ifdef __cplusplus
65494 extern "C"
65495 #endif
65496 char sin ();
65498 main ()
65500 return sin ();
65502 return 0;
65504 _ACEOF
65505 if ac_fn_c_try_link "$LINENO"; then :
65506 ac_cv_lib_m_sin=yes
65507 else
65508 ac_cv_lib_m_sin=no
65510 rm -f core conftest.err conftest.$ac_objext \
65511 conftest$ac_exeext conftest.$ac_ext
65512 LIBS=$ac_check_lib_save_LIBS
65514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
65515 $as_echo "$ac_cv_lib_m_sin" >&6; }
65516 if test "x$ac_cv_lib_m_sin" = x""yes; then :
65517 libm="-lm"
65520 ac_save_LIBS="$LIBS"
65521 LIBS="$LIBS $libm"
65525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
65526 $as_echo_n "checking for isinf declaration... " >&6; }
65527 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
65528 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
65529 $as_echo_n "(cached) " >&6
65530 else
65533 ac_ext=cpp
65534 ac_cpp='$CXXCPP $CPPFLAGS'
65535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65540 /* end confdefs.h. */
65541 #include <math.h>
65542 #ifdef HAVE_IEEEFP_H
65543 #include <ieeefp.h>
65544 #endif
65547 main ()
65549 isinf(0);
65551 return 0;
65553 _ACEOF
65554 if ac_fn_cxx_try_compile "$LINENO"; then :
65555 glibcxx_cv_func_isinf_use=yes
65556 else
65557 glibcxx_cv_func_isinf_use=no
65559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65560 ac_ext=c
65561 ac_cpp='$CPP $CPPFLAGS'
65562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
65571 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
65573 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
65574 for ac_func in isinf
65575 do :
65576 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
65577 if test "x$ac_cv_func_isinf" = x""yes; then :
65578 cat >>confdefs.h <<_ACEOF
65579 #define HAVE_ISINF 1
65580 _ACEOF
65583 done
65585 else
65587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
65588 $as_echo_n "checking for _isinf declaration... " >&6; }
65589 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
65590 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
65591 $as_echo_n "(cached) " >&6
65592 else
65595 ac_ext=cpp
65596 ac_cpp='$CXXCPP $CPPFLAGS'
65597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65602 /* end confdefs.h. */
65603 #include <math.h>
65604 #ifdef HAVE_IEEEFP_H
65605 #include <ieeefp.h>
65606 #endif
65609 main ()
65611 _isinf(0);
65613 return 0;
65615 _ACEOF
65616 if ac_fn_cxx_try_compile "$LINENO"; then :
65617 glibcxx_cv_func__isinf_use=yes
65618 else
65619 glibcxx_cv_func__isinf_use=no
65621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65622 ac_ext=c
65623 ac_cpp='$CPP $CPPFLAGS'
65624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
65633 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
65635 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
65636 for ac_func in _isinf
65637 do :
65638 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
65639 if test "x$ac_cv_func__isinf" = x""yes; then :
65640 cat >>confdefs.h <<_ACEOF
65641 #define HAVE__ISINF 1
65642 _ACEOF
65645 done
65654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
65655 $as_echo_n "checking for isnan declaration... " >&6; }
65656 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
65657 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
65658 $as_echo_n "(cached) " >&6
65659 else
65662 ac_ext=cpp
65663 ac_cpp='$CXXCPP $CPPFLAGS'
65664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65669 /* end confdefs.h. */
65670 #include <math.h>
65671 #ifdef HAVE_IEEEFP_H
65672 #include <ieeefp.h>
65673 #endif
65676 main ()
65678 isnan(0);
65680 return 0;
65682 _ACEOF
65683 if ac_fn_cxx_try_compile "$LINENO"; then :
65684 glibcxx_cv_func_isnan_use=yes
65685 else
65686 glibcxx_cv_func_isnan_use=no
65688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65689 ac_ext=c
65690 ac_cpp='$CPP $CPPFLAGS'
65691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
65700 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
65702 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
65703 for ac_func in isnan
65704 do :
65705 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
65706 if test "x$ac_cv_func_isnan" = x""yes; then :
65707 cat >>confdefs.h <<_ACEOF
65708 #define HAVE_ISNAN 1
65709 _ACEOF
65712 done
65714 else
65716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
65717 $as_echo_n "checking for _isnan declaration... " >&6; }
65718 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
65719 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
65720 $as_echo_n "(cached) " >&6
65721 else
65724 ac_ext=cpp
65725 ac_cpp='$CXXCPP $CPPFLAGS'
65726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65731 /* end confdefs.h. */
65732 #include <math.h>
65733 #ifdef HAVE_IEEEFP_H
65734 #include <ieeefp.h>
65735 #endif
65738 main ()
65740 _isnan(0);
65742 return 0;
65744 _ACEOF
65745 if ac_fn_cxx_try_compile "$LINENO"; then :
65746 glibcxx_cv_func__isnan_use=yes
65747 else
65748 glibcxx_cv_func__isnan_use=no
65750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65751 ac_ext=c
65752 ac_cpp='$CPP $CPPFLAGS'
65753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
65762 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
65764 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
65765 for ac_func in _isnan
65766 do :
65767 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
65768 if test "x$ac_cv_func__isnan" = x""yes; then :
65769 cat >>confdefs.h <<_ACEOF
65770 #define HAVE__ISNAN 1
65771 _ACEOF
65774 done
65783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
65784 $as_echo_n "checking for finite declaration... " >&6; }
65785 if test x${glibcxx_cv_func_finite_use+set} != xset; then
65786 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
65787 $as_echo_n "(cached) " >&6
65788 else
65791 ac_ext=cpp
65792 ac_cpp='$CXXCPP $CPPFLAGS'
65793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65798 /* end confdefs.h. */
65799 #include <math.h>
65800 #ifdef HAVE_IEEEFP_H
65801 #include <ieeefp.h>
65802 #endif
65805 main ()
65807 finite(0);
65809 return 0;
65811 _ACEOF
65812 if ac_fn_cxx_try_compile "$LINENO"; then :
65813 glibcxx_cv_func_finite_use=yes
65814 else
65815 glibcxx_cv_func_finite_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_finite_use" >&5
65829 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
65831 if test x$glibcxx_cv_func_finite_use = x"yes"; then
65832 for ac_func in finite
65833 do :
65834 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
65835 if test "x$ac_cv_func_finite" = x""yes; then :
65836 cat >>confdefs.h <<_ACEOF
65837 #define HAVE_FINITE 1
65838 _ACEOF
65841 done
65843 else
65845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
65846 $as_echo_n "checking for _finite declaration... " >&6; }
65847 if test x${glibcxx_cv_func__finite_use+set} != xset; then
65848 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
65849 $as_echo_n "(cached) " >&6
65850 else
65853 ac_ext=cpp
65854 ac_cpp='$CXXCPP $CPPFLAGS'
65855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65860 /* end confdefs.h. */
65861 #include <math.h>
65862 #ifdef HAVE_IEEEFP_H
65863 #include <ieeefp.h>
65864 #endif
65867 main ()
65869 _finite(0);
65871 return 0;
65873 _ACEOF
65874 if ac_fn_cxx_try_compile "$LINENO"; then :
65875 glibcxx_cv_func__finite_use=yes
65876 else
65877 glibcxx_cv_func__finite_use=no
65879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65880 ac_ext=c
65881 ac_cpp='$CPP $CPPFLAGS'
65882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
65891 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
65893 if test x$glibcxx_cv_func__finite_use = x"yes"; then
65894 for ac_func in _finite
65895 do :
65896 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
65897 if test "x$ac_cv_func__finite" = x""yes; then :
65898 cat >>confdefs.h <<_ACEOF
65899 #define HAVE__FINITE 1
65900 _ACEOF
65903 done
65912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
65913 $as_echo_n "checking for sincos declaration... " >&6; }
65914 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
65915 if test "${glibcxx_cv_func_sincos_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>
65930 main ()
65932 sincos(0, 0, 0);
65934 return 0;
65936 _ACEOF
65937 if ac_fn_cxx_try_compile "$LINENO"; then :
65938 glibcxx_cv_func_sincos_use=yes
65939 else
65940 glibcxx_cv_func_sincos_use=no
65942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65943 ac_ext=c
65944 ac_cpp='$CPP $CPPFLAGS'
65945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
65954 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
65956 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
65957 for ac_func in sincos
65958 do :
65959 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
65960 if test "x$ac_cv_func_sincos" = x""yes; then :
65961 cat >>confdefs.h <<_ACEOF
65962 #define HAVE_SINCOS 1
65963 _ACEOF
65966 done
65968 else
65970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
65971 $as_echo_n "checking for _sincos declaration... " >&6; }
65972 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
65973 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
65974 $as_echo_n "(cached) " >&6
65975 else
65978 ac_ext=cpp
65979 ac_cpp='$CXXCPP $CPPFLAGS'
65980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65985 /* end confdefs.h. */
65986 #include <math.h>
65988 main ()
65990 _sincos(0, 0, 0);
65992 return 0;
65994 _ACEOF
65995 if ac_fn_cxx_try_compile "$LINENO"; then :
65996 glibcxx_cv_func__sincos_use=yes
65997 else
65998 glibcxx_cv_func__sincos_use=no
66000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66001 ac_ext=c
66002 ac_cpp='$CPP $CPPFLAGS'
66003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
66012 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
66014 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
66015 for ac_func in _sincos
66016 do :
66017 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
66018 if test "x$ac_cv_func__sincos" = x""yes; then :
66019 cat >>confdefs.h <<_ACEOF
66020 #define HAVE__SINCOS 1
66021 _ACEOF
66024 done
66033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
66034 $as_echo_n "checking for fpclass declaration... " >&6; }
66035 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
66036 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
66037 $as_echo_n "(cached) " >&6
66038 else
66041 ac_ext=cpp
66042 ac_cpp='$CXXCPP $CPPFLAGS'
66043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66048 /* end confdefs.h. */
66049 #include <math.h>
66050 #ifdef HAVE_IEEEFP_H
66051 #include <ieeefp.h>
66052 #endif
66055 main ()
66057 fpclass(0);
66059 return 0;
66061 _ACEOF
66062 if ac_fn_cxx_try_compile "$LINENO"; then :
66063 glibcxx_cv_func_fpclass_use=yes
66064 else
66065 glibcxx_cv_func_fpclass_use=no
66067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66068 ac_ext=c
66069 ac_cpp='$CPP $CPPFLAGS'
66070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
66079 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
66081 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
66082 for ac_func in fpclass
66083 do :
66084 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
66085 if test "x$ac_cv_func_fpclass" = x""yes; then :
66086 cat >>confdefs.h <<_ACEOF
66087 #define HAVE_FPCLASS 1
66088 _ACEOF
66091 done
66093 else
66095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
66096 $as_echo_n "checking for _fpclass declaration... " >&6; }
66097 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
66098 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
66099 $as_echo_n "(cached) " >&6
66100 else
66103 ac_ext=cpp
66104 ac_cpp='$CXXCPP $CPPFLAGS'
66105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66110 /* end confdefs.h. */
66111 #include <math.h>
66112 #ifdef HAVE_IEEEFP_H
66113 #include <ieeefp.h>
66114 #endif
66117 main ()
66119 _fpclass(0);
66121 return 0;
66123 _ACEOF
66124 if ac_fn_cxx_try_compile "$LINENO"; then :
66125 glibcxx_cv_func__fpclass_use=yes
66126 else
66127 glibcxx_cv_func__fpclass_use=no
66129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66130 ac_ext=c
66131 ac_cpp='$CPP $CPPFLAGS'
66132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
66141 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
66143 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
66144 for ac_func in _fpclass
66145 do :
66146 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
66147 if test "x$ac_cv_func__fpclass" = x""yes; then :
66148 cat >>confdefs.h <<_ACEOF
66149 #define HAVE__FPCLASS 1
66150 _ACEOF
66153 done
66162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
66163 $as_echo_n "checking for qfpclass declaration... " >&6; }
66164 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
66165 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
66166 $as_echo_n "(cached) " >&6
66167 else
66170 ac_ext=cpp
66171 ac_cpp='$CXXCPP $CPPFLAGS'
66172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66177 /* end confdefs.h. */
66178 #include <math.h>
66179 #ifdef HAVE_IEEEFP_H
66180 #include <ieeefp.h>
66181 #endif
66184 main ()
66186 qfpclass(0);
66188 return 0;
66190 _ACEOF
66191 if ac_fn_cxx_try_compile "$LINENO"; then :
66192 glibcxx_cv_func_qfpclass_use=yes
66193 else
66194 glibcxx_cv_func_qfpclass_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_qfpclass_use" >&5
66208 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
66210 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
66211 for ac_func in qfpclass
66212 do :
66213 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
66214 if test "x$ac_cv_func_qfpclass" = x""yes; then :
66215 cat >>confdefs.h <<_ACEOF
66216 #define HAVE_QFPCLASS 1
66217 _ACEOF
66220 done
66222 else
66224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
66225 $as_echo_n "checking for _qfpclass declaration... " >&6; }
66226 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
66227 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
66228 $as_echo_n "(cached) " >&6
66229 else
66232 ac_ext=cpp
66233 ac_cpp='$CXXCPP $CPPFLAGS'
66234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66239 /* end confdefs.h. */
66240 #include <math.h>
66241 #ifdef HAVE_IEEEFP_H
66242 #include <ieeefp.h>
66243 #endif
66246 main ()
66248 _qfpclass(0);
66250 return 0;
66252 _ACEOF
66253 if ac_fn_cxx_try_compile "$LINENO"; then :
66254 glibcxx_cv_func__qfpclass_use=yes
66255 else
66256 glibcxx_cv_func__qfpclass_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
66269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
66270 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
66272 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
66273 for ac_func in _qfpclass
66274 do :
66275 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
66276 if test "x$ac_cv_func__qfpclass" = x""yes; then :
66277 cat >>confdefs.h <<_ACEOF
66278 #define HAVE__QFPCLASS 1
66279 _ACEOF
66282 done
66291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
66292 $as_echo_n "checking for hypot declaration... " >&6; }
66293 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
66294 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
66295 $as_echo_n "(cached) " >&6
66296 else
66299 ac_ext=cpp
66300 ac_cpp='$CXXCPP $CPPFLAGS'
66301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66306 /* end confdefs.h. */
66307 #include <math.h>
66309 main ()
66311 hypot(0, 0);
66313 return 0;
66315 _ACEOF
66316 if ac_fn_cxx_try_compile "$LINENO"; then :
66317 glibcxx_cv_func_hypot_use=yes
66318 else
66319 glibcxx_cv_func_hypot_use=no
66321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66322 ac_ext=c
66323 ac_cpp='$CPP $CPPFLAGS'
66324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
66333 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
66335 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
66336 for ac_func in hypot
66337 do :
66338 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
66339 if test "x$ac_cv_func_hypot" = x""yes; then :
66340 cat >>confdefs.h <<_ACEOF
66341 #define HAVE_HYPOT 1
66342 _ACEOF
66345 done
66347 else
66349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
66350 $as_echo_n "checking for _hypot declaration... " >&6; }
66351 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
66352 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
66353 $as_echo_n "(cached) " >&6
66354 else
66357 ac_ext=cpp
66358 ac_cpp='$CXXCPP $CPPFLAGS'
66359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66364 /* end confdefs.h. */
66365 #include <math.h>
66367 main ()
66369 _hypot(0, 0);
66371 return 0;
66373 _ACEOF
66374 if ac_fn_cxx_try_compile "$LINENO"; then :
66375 glibcxx_cv_func__hypot_use=yes
66376 else
66377 glibcxx_cv_func__hypot_use=no
66379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66380 ac_ext=c
66381 ac_cpp='$CPP $CPPFLAGS'
66382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
66391 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
66393 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
66394 for ac_func in _hypot
66395 do :
66396 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
66397 if test "x$ac_cv_func__hypot" = x""yes; then :
66398 cat >>confdefs.h <<_ACEOF
66399 #define HAVE__HYPOT 1
66400 _ACEOF
66403 done
66412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
66413 $as_echo_n "checking for float trig functions... " >&6; }
66414 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
66415 $as_echo_n "(cached) " >&6
66416 else
66419 ac_ext=cpp
66420 ac_cpp='$CXXCPP $CPPFLAGS'
66421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66426 /* end confdefs.h. */
66427 #include <math.h>
66429 main ()
66431 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
66433 return 0;
66435 _ACEOF
66436 if ac_fn_cxx_try_compile "$LINENO"; then :
66437 glibcxx_cv_func_float_trig_use=yes
66438 else
66439 glibcxx_cv_func_float_trig_use=no
66441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66442 ac_ext=c
66443 ac_cpp='$CPP $CPPFLAGS'
66444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
66451 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
66452 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
66453 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
66454 do :
66455 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66456 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66457 eval as_val=\$$as_ac_var
66458 if test "x$as_val" = x""yes; then :
66459 cat >>confdefs.h <<_ACEOF
66460 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66461 _ACEOF
66464 done
66466 else
66467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
66468 $as_echo_n "checking for _float trig functions... " >&6; }
66469 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
66470 $as_echo_n "(cached) " >&6
66471 else
66474 ac_ext=cpp
66475 ac_cpp='$CXXCPP $CPPFLAGS'
66476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66481 /* end confdefs.h. */
66482 #include <math.h>
66484 main ()
66486 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
66488 return 0;
66490 _ACEOF
66491 if ac_fn_cxx_try_compile "$LINENO"; then :
66492 glibcxx_cv_func__float_trig_use=yes
66493 else
66494 glibcxx_cv_func__float_trig_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
66505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
66506 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
66507 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
66508 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
66509 do :
66510 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66511 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66512 eval as_val=\$$as_ac_var
66513 if test "x$as_val" = x""yes; then :
66514 cat >>confdefs.h <<_ACEOF
66515 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66516 _ACEOF
66519 done
66528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
66529 $as_echo_n "checking for float round functions... " >&6; }
66530 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
66531 $as_echo_n "(cached) " >&6
66532 else
66535 ac_ext=cpp
66536 ac_cpp='$CXXCPP $CPPFLAGS'
66537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66542 /* end confdefs.h. */
66543 #include <math.h>
66545 main ()
66547 ceilf (0); floorf (0);
66549 return 0;
66551 _ACEOF
66552 if ac_fn_cxx_try_compile "$LINENO"; then :
66553 glibcxx_cv_func_float_round_use=yes
66554 else
66555 glibcxx_cv_func_float_round_use=no
66557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66558 ac_ext=c
66559 ac_cpp='$CPP $CPPFLAGS'
66560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
66567 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
66568 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
66569 for ac_func in ceilf floorf
66570 do :
66571 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66572 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66573 eval as_val=\$$as_ac_var
66574 if test "x$as_val" = x""yes; then :
66575 cat >>confdefs.h <<_ACEOF
66576 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66577 _ACEOF
66580 done
66582 else
66583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
66584 $as_echo_n "checking for _float round functions... " >&6; }
66585 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
66586 $as_echo_n "(cached) " >&6
66587 else
66590 ac_ext=cpp
66591 ac_cpp='$CXXCPP $CPPFLAGS'
66592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66597 /* end confdefs.h. */
66598 #include <math.h>
66600 main ()
66602 _ceilf (0); _floorf (0);
66604 return 0;
66606 _ACEOF
66607 if ac_fn_cxx_try_compile "$LINENO"; then :
66608 glibcxx_cv_func__float_round_use=yes
66609 else
66610 glibcxx_cv_func__float_round_use=no
66612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66613 ac_ext=c
66614 ac_cpp='$CPP $CPPFLAGS'
66615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
66622 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
66623 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
66624 for ac_func in _ceilf _floorf
66625 do :
66626 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66627 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66628 eval as_val=\$$as_ac_var
66629 if test "x$as_val" = x""yes; then :
66630 cat >>confdefs.h <<_ACEOF
66631 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66632 _ACEOF
66635 done
66645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
66646 $as_echo_n "checking for expf declaration... " >&6; }
66647 if test x${glibcxx_cv_func_expf_use+set} != xset; then
66648 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
66649 $as_echo_n "(cached) " >&6
66650 else
66653 ac_ext=cpp
66654 ac_cpp='$CXXCPP $CPPFLAGS'
66655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66660 /* end confdefs.h. */
66661 #include <math.h>
66662 #ifdef HAVE_IEEEFP_H
66663 #include <ieeefp.h>
66664 #endif
66667 main ()
66669 expf(0);
66671 return 0;
66673 _ACEOF
66674 if ac_fn_cxx_try_compile "$LINENO"; then :
66675 glibcxx_cv_func_expf_use=yes
66676 else
66677 glibcxx_cv_func_expf_use=no
66679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66680 ac_ext=c
66681 ac_cpp='$CPP $CPPFLAGS'
66682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
66691 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
66693 if test x$glibcxx_cv_func_expf_use = x"yes"; then
66694 for ac_func in expf
66695 do :
66696 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
66697 if test "x$ac_cv_func_expf" = x""yes; then :
66698 cat >>confdefs.h <<_ACEOF
66699 #define HAVE_EXPF 1
66700 _ACEOF
66703 done
66705 else
66707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
66708 $as_echo_n "checking for _expf declaration... " >&6; }
66709 if test x${glibcxx_cv_func__expf_use+set} != xset; then
66710 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
66711 $as_echo_n "(cached) " >&6
66712 else
66715 ac_ext=cpp
66716 ac_cpp='$CXXCPP $CPPFLAGS'
66717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66722 /* end confdefs.h. */
66723 #include <math.h>
66724 #ifdef HAVE_IEEEFP_H
66725 #include <ieeefp.h>
66726 #endif
66729 main ()
66731 _expf(0);
66733 return 0;
66735 _ACEOF
66736 if ac_fn_cxx_try_compile "$LINENO"; then :
66737 glibcxx_cv_func__expf_use=yes
66738 else
66739 glibcxx_cv_func__expf_use=no
66741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66742 ac_ext=c
66743 ac_cpp='$CPP $CPPFLAGS'
66744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
66753 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
66755 if test x$glibcxx_cv_func__expf_use = x"yes"; then
66756 for ac_func in _expf
66757 do :
66758 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
66759 if test "x$ac_cv_func__expf" = x""yes; then :
66760 cat >>confdefs.h <<_ACEOF
66761 #define HAVE__EXPF 1
66762 _ACEOF
66765 done
66774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
66775 $as_echo_n "checking for isnanf declaration... " >&6; }
66776 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
66777 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
66778 $as_echo_n "(cached) " >&6
66779 else
66782 ac_ext=cpp
66783 ac_cpp='$CXXCPP $CPPFLAGS'
66784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66789 /* end confdefs.h. */
66790 #include <math.h>
66791 #ifdef HAVE_IEEEFP_H
66792 #include <ieeefp.h>
66793 #endif
66796 main ()
66798 isnanf(0);
66800 return 0;
66802 _ACEOF
66803 if ac_fn_cxx_try_compile "$LINENO"; then :
66804 glibcxx_cv_func_isnanf_use=yes
66805 else
66806 glibcxx_cv_func_isnanf_use=no
66808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66809 ac_ext=c
66810 ac_cpp='$CPP $CPPFLAGS'
66811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
66820 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
66822 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
66823 for ac_func in isnanf
66824 do :
66825 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
66826 if test "x$ac_cv_func_isnanf" = x""yes; then :
66827 cat >>confdefs.h <<_ACEOF
66828 #define HAVE_ISNANF 1
66829 _ACEOF
66832 done
66834 else
66836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
66837 $as_echo_n "checking for _isnanf declaration... " >&6; }
66838 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
66839 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
66840 $as_echo_n "(cached) " >&6
66841 else
66844 ac_ext=cpp
66845 ac_cpp='$CXXCPP $CPPFLAGS'
66846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66851 /* end confdefs.h. */
66852 #include <math.h>
66853 #ifdef HAVE_IEEEFP_H
66854 #include <ieeefp.h>
66855 #endif
66858 main ()
66860 _isnanf(0);
66862 return 0;
66864 _ACEOF
66865 if ac_fn_cxx_try_compile "$LINENO"; then :
66866 glibcxx_cv_func__isnanf_use=yes
66867 else
66868 glibcxx_cv_func__isnanf_use=no
66870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66871 ac_ext=c
66872 ac_cpp='$CPP $CPPFLAGS'
66873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
66882 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
66884 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
66885 for ac_func in _isnanf
66886 do :
66887 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
66888 if test "x$ac_cv_func__isnanf" = x""yes; then :
66889 cat >>confdefs.h <<_ACEOF
66890 #define HAVE__ISNANF 1
66891 _ACEOF
66894 done
66903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
66904 $as_echo_n "checking for isinff declaration... " >&6; }
66905 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
66906 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
66907 $as_echo_n "(cached) " >&6
66908 else
66911 ac_ext=cpp
66912 ac_cpp='$CXXCPP $CPPFLAGS'
66913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66918 /* end confdefs.h. */
66919 #include <math.h>
66920 #ifdef HAVE_IEEEFP_H
66921 #include <ieeefp.h>
66922 #endif
66925 main ()
66927 isinff(0);
66929 return 0;
66931 _ACEOF
66932 if ac_fn_cxx_try_compile "$LINENO"; then :
66933 glibcxx_cv_func_isinff_use=yes
66934 else
66935 glibcxx_cv_func_isinff_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_isinff_use" >&5
66949 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
66951 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
66952 for ac_func in isinff
66953 do :
66954 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
66955 if test "x$ac_cv_func_isinff" = x""yes; then :
66956 cat >>confdefs.h <<_ACEOF
66957 #define HAVE_ISINFF 1
66958 _ACEOF
66961 done
66963 else
66965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
66966 $as_echo_n "checking for _isinff declaration... " >&6; }
66967 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
66968 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
66969 $as_echo_n "(cached) " >&6
66970 else
66973 ac_ext=cpp
66974 ac_cpp='$CXXCPP $CPPFLAGS'
66975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66980 /* end confdefs.h. */
66981 #include <math.h>
66982 #ifdef HAVE_IEEEFP_H
66983 #include <ieeefp.h>
66984 #endif
66987 main ()
66989 _isinff(0);
66991 return 0;
66993 _ACEOF
66994 if ac_fn_cxx_try_compile "$LINENO"; then :
66995 glibcxx_cv_func__isinff_use=yes
66996 else
66997 glibcxx_cv_func__isinff_use=no
66999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67000 ac_ext=c
67001 ac_cpp='$CPP $CPPFLAGS'
67002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
67011 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
67013 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
67014 for ac_func in _isinff
67015 do :
67016 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
67017 if test "x$ac_cv_func__isinff" = x""yes; then :
67018 cat >>confdefs.h <<_ACEOF
67019 #define HAVE__ISINFF 1
67020 _ACEOF
67023 done
67032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
67033 $as_echo_n "checking for atan2f declaration... " >&6; }
67034 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
67035 if test "${glibcxx_cv_func_atan2f_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>
67050 main ()
67052 atan2f(0, 0);
67054 return 0;
67056 _ACEOF
67057 if ac_fn_cxx_try_compile "$LINENO"; then :
67058 glibcxx_cv_func_atan2f_use=yes
67059 else
67060 glibcxx_cv_func_atan2f_use=no
67062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67063 ac_ext=c
67064 ac_cpp='$CPP $CPPFLAGS'
67065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
67074 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
67076 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
67077 for ac_func in atan2f
67078 do :
67079 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
67080 if test "x$ac_cv_func_atan2f" = x""yes; then :
67081 cat >>confdefs.h <<_ACEOF
67082 #define HAVE_ATAN2F 1
67083 _ACEOF
67086 done
67088 else
67090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
67091 $as_echo_n "checking for _atan2f declaration... " >&6; }
67092 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
67093 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
67094 $as_echo_n "(cached) " >&6
67095 else
67098 ac_ext=cpp
67099 ac_cpp='$CXXCPP $CPPFLAGS'
67100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67105 /* end confdefs.h. */
67106 #include <math.h>
67108 main ()
67110 _atan2f(0, 0);
67112 return 0;
67114 _ACEOF
67115 if ac_fn_cxx_try_compile "$LINENO"; then :
67116 glibcxx_cv_func__atan2f_use=yes
67117 else
67118 glibcxx_cv_func__atan2f_use=no
67120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67121 ac_ext=c
67122 ac_cpp='$CPP $CPPFLAGS'
67123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
67132 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
67134 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
67135 for ac_func in _atan2f
67136 do :
67137 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
67138 if test "x$ac_cv_func__atan2f" = x""yes; then :
67139 cat >>confdefs.h <<_ACEOF
67140 #define HAVE__ATAN2F 1
67141 _ACEOF
67144 done
67153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
67154 $as_echo_n "checking for fabsf declaration... " >&6; }
67155 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
67156 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
67157 $as_echo_n "(cached) " >&6
67158 else
67161 ac_ext=cpp
67162 ac_cpp='$CXXCPP $CPPFLAGS'
67163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67168 /* end confdefs.h. */
67169 #include <math.h>
67170 #ifdef HAVE_IEEEFP_H
67171 #include <ieeefp.h>
67172 #endif
67175 main ()
67177 fabsf(0);
67179 return 0;
67181 _ACEOF
67182 if ac_fn_cxx_try_compile "$LINENO"; then :
67183 glibcxx_cv_func_fabsf_use=yes
67184 else
67185 glibcxx_cv_func_fabsf_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_fabsf_use" >&5
67199 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
67201 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
67202 for ac_func in fabsf
67203 do :
67204 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
67205 if test "x$ac_cv_func_fabsf" = x""yes; then :
67206 cat >>confdefs.h <<_ACEOF
67207 #define HAVE_FABSF 1
67208 _ACEOF
67211 done
67213 else
67215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
67216 $as_echo_n "checking for _fabsf declaration... " >&6; }
67217 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
67218 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
67219 $as_echo_n "(cached) " >&6
67220 else
67223 ac_ext=cpp
67224 ac_cpp='$CXXCPP $CPPFLAGS'
67225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67230 /* end confdefs.h. */
67231 #include <math.h>
67232 #ifdef HAVE_IEEEFP_H
67233 #include <ieeefp.h>
67234 #endif
67237 main ()
67239 _fabsf(0);
67241 return 0;
67243 _ACEOF
67244 if ac_fn_cxx_try_compile "$LINENO"; then :
67245 glibcxx_cv_func__fabsf_use=yes
67246 else
67247 glibcxx_cv_func__fabsf_use=no
67249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67250 ac_ext=c
67251 ac_cpp='$CPP $CPPFLAGS'
67252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
67261 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
67263 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
67264 for ac_func in _fabsf
67265 do :
67266 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
67267 if test "x$ac_cv_func__fabsf" = x""yes; then :
67268 cat >>confdefs.h <<_ACEOF
67269 #define HAVE__FABSF 1
67270 _ACEOF
67273 done
67282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
67283 $as_echo_n "checking for fmodf declaration... " >&6; }
67284 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
67285 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
67286 $as_echo_n "(cached) " >&6
67287 else
67290 ac_ext=cpp
67291 ac_cpp='$CXXCPP $CPPFLAGS'
67292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67297 /* end confdefs.h. */
67298 #include <math.h>
67300 main ()
67302 fmodf(0, 0);
67304 return 0;
67306 _ACEOF
67307 if ac_fn_cxx_try_compile "$LINENO"; then :
67308 glibcxx_cv_func_fmodf_use=yes
67309 else
67310 glibcxx_cv_func_fmodf_use=no
67312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67313 ac_ext=c
67314 ac_cpp='$CPP $CPPFLAGS'
67315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
67324 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
67326 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
67327 for ac_func in fmodf
67328 do :
67329 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
67330 if test "x$ac_cv_func_fmodf" = x""yes; then :
67331 cat >>confdefs.h <<_ACEOF
67332 #define HAVE_FMODF 1
67333 _ACEOF
67336 done
67338 else
67340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
67341 $as_echo_n "checking for _fmodf declaration... " >&6; }
67342 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
67343 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
67344 $as_echo_n "(cached) " >&6
67345 else
67348 ac_ext=cpp
67349 ac_cpp='$CXXCPP $CPPFLAGS'
67350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67355 /* end confdefs.h. */
67356 #include <math.h>
67358 main ()
67360 _fmodf(0, 0);
67362 return 0;
67364 _ACEOF
67365 if ac_fn_cxx_try_compile "$LINENO"; then :
67366 glibcxx_cv_func__fmodf_use=yes
67367 else
67368 glibcxx_cv_func__fmodf_use=no
67370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67371 ac_ext=c
67372 ac_cpp='$CPP $CPPFLAGS'
67373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
67382 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
67384 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
67385 for ac_func in _fmodf
67386 do :
67387 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
67388 if test "x$ac_cv_func__fmodf" = x""yes; then :
67389 cat >>confdefs.h <<_ACEOF
67390 #define HAVE__FMODF 1
67391 _ACEOF
67394 done
67403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
67404 $as_echo_n "checking for frexpf declaration... " >&6; }
67405 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
67406 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
67407 $as_echo_n "(cached) " >&6
67408 else
67411 ac_ext=cpp
67412 ac_cpp='$CXXCPP $CPPFLAGS'
67413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67418 /* end confdefs.h. */
67419 #include <math.h>
67421 main ()
67423 frexpf(0, 0);
67425 return 0;
67427 _ACEOF
67428 if ac_fn_cxx_try_compile "$LINENO"; then :
67429 glibcxx_cv_func_frexpf_use=yes
67430 else
67431 glibcxx_cv_func_frexpf_use=no
67433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67434 ac_ext=c
67435 ac_cpp='$CPP $CPPFLAGS'
67436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
67445 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
67447 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
67448 for ac_func in frexpf
67449 do :
67450 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
67451 if test "x$ac_cv_func_frexpf" = x""yes; then :
67452 cat >>confdefs.h <<_ACEOF
67453 #define HAVE_FREXPF 1
67454 _ACEOF
67457 done
67459 else
67461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
67462 $as_echo_n "checking for _frexpf declaration... " >&6; }
67463 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
67464 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
67465 $as_echo_n "(cached) " >&6
67466 else
67469 ac_ext=cpp
67470 ac_cpp='$CXXCPP $CPPFLAGS'
67471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67476 /* end confdefs.h. */
67477 #include <math.h>
67479 main ()
67481 _frexpf(0, 0);
67483 return 0;
67485 _ACEOF
67486 if ac_fn_cxx_try_compile "$LINENO"; then :
67487 glibcxx_cv_func__frexpf_use=yes
67488 else
67489 glibcxx_cv_func__frexpf_use=no
67491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67492 ac_ext=c
67493 ac_cpp='$CPP $CPPFLAGS'
67494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
67503 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
67505 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
67506 for ac_func in _frexpf
67507 do :
67508 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
67509 if test "x$ac_cv_func__frexpf" = x""yes; then :
67510 cat >>confdefs.h <<_ACEOF
67511 #define HAVE__FREXPF 1
67512 _ACEOF
67515 done
67524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
67525 $as_echo_n "checking for hypotf declaration... " >&6; }
67526 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
67527 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
67528 $as_echo_n "(cached) " >&6
67529 else
67532 ac_ext=cpp
67533 ac_cpp='$CXXCPP $CPPFLAGS'
67534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67539 /* end confdefs.h. */
67540 #include <math.h>
67542 main ()
67544 hypotf(0, 0);
67546 return 0;
67548 _ACEOF
67549 if ac_fn_cxx_try_compile "$LINENO"; then :
67550 glibcxx_cv_func_hypotf_use=yes
67551 else
67552 glibcxx_cv_func_hypotf_use=no
67554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67555 ac_ext=c
67556 ac_cpp='$CPP $CPPFLAGS'
67557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
67566 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
67568 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
67569 for ac_func in hypotf
67570 do :
67571 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
67572 if test "x$ac_cv_func_hypotf" = x""yes; then :
67573 cat >>confdefs.h <<_ACEOF
67574 #define HAVE_HYPOTF 1
67575 _ACEOF
67578 done
67580 else
67582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
67583 $as_echo_n "checking for _hypotf declaration... " >&6; }
67584 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
67585 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
67586 $as_echo_n "(cached) " >&6
67587 else
67590 ac_ext=cpp
67591 ac_cpp='$CXXCPP $CPPFLAGS'
67592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67597 /* end confdefs.h. */
67598 #include <math.h>
67600 main ()
67602 _hypotf(0, 0);
67604 return 0;
67606 _ACEOF
67607 if ac_fn_cxx_try_compile "$LINENO"; then :
67608 glibcxx_cv_func__hypotf_use=yes
67609 else
67610 glibcxx_cv_func__hypotf_use=no
67612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67613 ac_ext=c
67614 ac_cpp='$CPP $CPPFLAGS'
67615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
67624 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
67626 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
67627 for ac_func in _hypotf
67628 do :
67629 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
67630 if test "x$ac_cv_func__hypotf" = x""yes; then :
67631 cat >>confdefs.h <<_ACEOF
67632 #define HAVE__HYPOTF 1
67633 _ACEOF
67636 done
67645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
67646 $as_echo_n "checking for ldexpf declaration... " >&6; }
67647 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
67648 if test "${glibcxx_cv_func_ldexpf_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>
67663 main ()
67665 ldexpf(0, 0);
67667 return 0;
67669 _ACEOF
67670 if ac_fn_cxx_try_compile "$LINENO"; then :
67671 glibcxx_cv_func_ldexpf_use=yes
67672 else
67673 glibcxx_cv_func_ldexpf_use=no
67675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67676 ac_ext=c
67677 ac_cpp='$CPP $CPPFLAGS'
67678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
67687 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
67689 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
67690 for ac_func in ldexpf
67691 do :
67692 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
67693 if test "x$ac_cv_func_ldexpf" = x""yes; then :
67694 cat >>confdefs.h <<_ACEOF
67695 #define HAVE_LDEXPF 1
67696 _ACEOF
67699 done
67701 else
67703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
67704 $as_echo_n "checking for _ldexpf declaration... " >&6; }
67705 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
67706 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
67707 $as_echo_n "(cached) " >&6
67708 else
67711 ac_ext=cpp
67712 ac_cpp='$CXXCPP $CPPFLAGS'
67713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67718 /* end confdefs.h. */
67719 #include <math.h>
67721 main ()
67723 _ldexpf(0, 0);
67725 return 0;
67727 _ACEOF
67728 if ac_fn_cxx_try_compile "$LINENO"; then :
67729 glibcxx_cv_func__ldexpf_use=yes
67730 else
67731 glibcxx_cv_func__ldexpf_use=no
67733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67734 ac_ext=c
67735 ac_cpp='$CPP $CPPFLAGS'
67736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
67745 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
67747 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
67748 for ac_func in _ldexpf
67749 do :
67750 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
67751 if test "x$ac_cv_func__ldexpf" = x""yes; then :
67752 cat >>confdefs.h <<_ACEOF
67753 #define HAVE__LDEXPF 1
67754 _ACEOF
67757 done
67766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
67767 $as_echo_n "checking for logf declaration... " >&6; }
67768 if test x${glibcxx_cv_func_logf_use+set} != xset; then
67769 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
67770 $as_echo_n "(cached) " >&6
67771 else
67774 ac_ext=cpp
67775 ac_cpp='$CXXCPP $CPPFLAGS'
67776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67781 /* end confdefs.h. */
67782 #include <math.h>
67783 #ifdef HAVE_IEEEFP_H
67784 #include <ieeefp.h>
67785 #endif
67788 main ()
67790 logf(0);
67792 return 0;
67794 _ACEOF
67795 if ac_fn_cxx_try_compile "$LINENO"; then :
67796 glibcxx_cv_func_logf_use=yes
67797 else
67798 glibcxx_cv_func_logf_use=no
67800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67801 ac_ext=c
67802 ac_cpp='$CPP $CPPFLAGS'
67803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
67812 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
67814 if test x$glibcxx_cv_func_logf_use = x"yes"; then
67815 for ac_func in logf
67816 do :
67817 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
67818 if test "x$ac_cv_func_logf" = x""yes; then :
67819 cat >>confdefs.h <<_ACEOF
67820 #define HAVE_LOGF 1
67821 _ACEOF
67824 done
67826 else
67828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
67829 $as_echo_n "checking for _logf declaration... " >&6; }
67830 if test x${glibcxx_cv_func__logf_use+set} != xset; then
67831 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
67832 $as_echo_n "(cached) " >&6
67833 else
67836 ac_ext=cpp
67837 ac_cpp='$CXXCPP $CPPFLAGS'
67838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67843 /* end confdefs.h. */
67844 #include <math.h>
67845 #ifdef HAVE_IEEEFP_H
67846 #include <ieeefp.h>
67847 #endif
67850 main ()
67852 _logf(0);
67854 return 0;
67856 _ACEOF
67857 if ac_fn_cxx_try_compile "$LINENO"; then :
67858 glibcxx_cv_func__logf_use=yes
67859 else
67860 glibcxx_cv_func__logf_use=no
67862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67863 ac_ext=c
67864 ac_cpp='$CPP $CPPFLAGS'
67865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
67874 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
67876 if test x$glibcxx_cv_func__logf_use = x"yes"; then
67877 for ac_func in _logf
67878 do :
67879 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
67880 if test "x$ac_cv_func__logf" = x""yes; then :
67881 cat >>confdefs.h <<_ACEOF
67882 #define HAVE__LOGF 1
67883 _ACEOF
67886 done
67895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
67896 $as_echo_n "checking for log10f declaration... " >&6; }
67897 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
67898 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
67899 $as_echo_n "(cached) " >&6
67900 else
67903 ac_ext=cpp
67904 ac_cpp='$CXXCPP $CPPFLAGS'
67905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67910 /* end confdefs.h. */
67911 #include <math.h>
67912 #ifdef HAVE_IEEEFP_H
67913 #include <ieeefp.h>
67914 #endif
67917 main ()
67919 log10f(0);
67921 return 0;
67923 _ACEOF
67924 if ac_fn_cxx_try_compile "$LINENO"; then :
67925 glibcxx_cv_func_log10f_use=yes
67926 else
67927 glibcxx_cv_func_log10f_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_log10f_use" >&5
67941 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
67943 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
67944 for ac_func in log10f
67945 do :
67946 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
67947 if test "x$ac_cv_func_log10f" = x""yes; then :
67948 cat >>confdefs.h <<_ACEOF
67949 #define HAVE_LOG10F 1
67950 _ACEOF
67953 done
67955 else
67957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
67958 $as_echo_n "checking for _log10f declaration... " >&6; }
67959 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
67960 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
67961 $as_echo_n "(cached) " >&6
67962 else
67965 ac_ext=cpp
67966 ac_cpp='$CXXCPP $CPPFLAGS'
67967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67972 /* end confdefs.h. */
67973 #include <math.h>
67974 #ifdef HAVE_IEEEFP_H
67975 #include <ieeefp.h>
67976 #endif
67979 main ()
67981 _log10f(0);
67983 return 0;
67985 _ACEOF
67986 if ac_fn_cxx_try_compile "$LINENO"; then :
67987 glibcxx_cv_func__log10f_use=yes
67988 else
67989 glibcxx_cv_func__log10f_use=no
67991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67992 ac_ext=c
67993 ac_cpp='$CPP $CPPFLAGS'
67994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
68003 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
68005 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
68006 for ac_func in _log10f
68007 do :
68008 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
68009 if test "x$ac_cv_func__log10f" = x""yes; then :
68010 cat >>confdefs.h <<_ACEOF
68011 #define HAVE__LOG10F 1
68012 _ACEOF
68015 done
68024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
68025 $as_echo_n "checking for modff declaration... " >&6; }
68026 if test x${glibcxx_cv_func_modff_use+set} != xset; then
68027 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
68028 $as_echo_n "(cached) " >&6
68029 else
68032 ac_ext=cpp
68033 ac_cpp='$CXXCPP $CPPFLAGS'
68034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68039 /* end confdefs.h. */
68040 #include <math.h>
68042 main ()
68044 modff(0, 0);
68046 return 0;
68048 _ACEOF
68049 if ac_fn_cxx_try_compile "$LINENO"; then :
68050 glibcxx_cv_func_modff_use=yes
68051 else
68052 glibcxx_cv_func_modff_use=no
68054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68055 ac_ext=c
68056 ac_cpp='$CPP $CPPFLAGS'
68057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
68066 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
68068 if test x$glibcxx_cv_func_modff_use = x"yes"; then
68069 for ac_func in modff
68070 do :
68071 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
68072 if test "x$ac_cv_func_modff" = x""yes; then :
68073 cat >>confdefs.h <<_ACEOF
68074 #define HAVE_MODFF 1
68075 _ACEOF
68078 done
68080 else
68082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
68083 $as_echo_n "checking for _modff declaration... " >&6; }
68084 if test x${glibcxx_cv_func__modff_use+set} != xset; then
68085 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
68086 $as_echo_n "(cached) " >&6
68087 else
68090 ac_ext=cpp
68091 ac_cpp='$CXXCPP $CPPFLAGS'
68092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68097 /* end confdefs.h. */
68098 #include <math.h>
68100 main ()
68102 _modff(0, 0);
68104 return 0;
68106 _ACEOF
68107 if ac_fn_cxx_try_compile "$LINENO"; then :
68108 glibcxx_cv_func__modff_use=yes
68109 else
68110 glibcxx_cv_func__modff_use=no
68112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68113 ac_ext=c
68114 ac_cpp='$CPP $CPPFLAGS'
68115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
68124 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
68126 if test x$glibcxx_cv_func__modff_use = x"yes"; then
68127 for ac_func in _modff
68128 do :
68129 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
68130 if test "x$ac_cv_func__modff" = x""yes; then :
68131 cat >>confdefs.h <<_ACEOF
68132 #define HAVE__MODFF 1
68133 _ACEOF
68136 done
68145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
68146 $as_echo_n "checking for modf declaration... " >&6; }
68147 if test x${glibcxx_cv_func_modf_use+set} != xset; then
68148 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
68149 $as_echo_n "(cached) " >&6
68150 else
68153 ac_ext=cpp
68154 ac_cpp='$CXXCPP $CPPFLAGS'
68155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68160 /* end confdefs.h. */
68161 #include <math.h>
68163 main ()
68165 modf(0, 0);
68167 return 0;
68169 _ACEOF
68170 if ac_fn_cxx_try_compile "$LINENO"; then :
68171 glibcxx_cv_func_modf_use=yes
68172 else
68173 glibcxx_cv_func_modf_use=no
68175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68176 ac_ext=c
68177 ac_cpp='$CPP $CPPFLAGS'
68178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
68187 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
68189 if test x$glibcxx_cv_func_modf_use = x"yes"; then
68190 for ac_func in modf
68191 do :
68192 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
68193 if test "x$ac_cv_func_modf" = x""yes; then :
68194 cat >>confdefs.h <<_ACEOF
68195 #define HAVE_MODF 1
68196 _ACEOF
68199 done
68201 else
68203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
68204 $as_echo_n "checking for _modf declaration... " >&6; }
68205 if test x${glibcxx_cv_func__modf_use+set} != xset; then
68206 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
68207 $as_echo_n "(cached) " >&6
68208 else
68211 ac_ext=cpp
68212 ac_cpp='$CXXCPP $CPPFLAGS'
68213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68218 /* end confdefs.h. */
68219 #include <math.h>
68221 main ()
68223 _modf(0, 0);
68225 return 0;
68227 _ACEOF
68228 if ac_fn_cxx_try_compile "$LINENO"; then :
68229 glibcxx_cv_func__modf_use=yes
68230 else
68231 glibcxx_cv_func__modf_use=no
68233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68234 ac_ext=c
68235 ac_cpp='$CPP $CPPFLAGS'
68236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
68245 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
68247 if test x$glibcxx_cv_func__modf_use = x"yes"; then
68248 for ac_func in _modf
68249 do :
68250 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
68251 if test "x$ac_cv_func__modf" = x""yes; then :
68252 cat >>confdefs.h <<_ACEOF
68253 #define HAVE__MODF 1
68254 _ACEOF
68257 done
68266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
68267 $as_echo_n "checking for powf declaration... " >&6; }
68268 if test x${glibcxx_cv_func_powf_use+set} != xset; then
68269 if test "${glibcxx_cv_func_powf_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>
68284 main ()
68286 powf(0, 0);
68288 return 0;
68290 _ACEOF
68291 if ac_fn_cxx_try_compile "$LINENO"; then :
68292 glibcxx_cv_func_powf_use=yes
68293 else
68294 glibcxx_cv_func_powf_use=no
68296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68297 ac_ext=c
68298 ac_cpp='$CPP $CPPFLAGS'
68299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
68308 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
68310 if test x$glibcxx_cv_func_powf_use = x"yes"; then
68311 for ac_func in powf
68312 do :
68313 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
68314 if test "x$ac_cv_func_powf" = x""yes; then :
68315 cat >>confdefs.h <<_ACEOF
68316 #define HAVE_POWF 1
68317 _ACEOF
68320 done
68322 else
68324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
68325 $as_echo_n "checking for _powf declaration... " >&6; }
68326 if test x${glibcxx_cv_func__powf_use+set} != xset; then
68327 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
68328 $as_echo_n "(cached) " >&6
68329 else
68332 ac_ext=cpp
68333 ac_cpp='$CXXCPP $CPPFLAGS'
68334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68339 /* end confdefs.h. */
68340 #include <math.h>
68342 main ()
68344 _powf(0, 0);
68346 return 0;
68348 _ACEOF
68349 if ac_fn_cxx_try_compile "$LINENO"; then :
68350 glibcxx_cv_func__powf_use=yes
68351 else
68352 glibcxx_cv_func__powf_use=no
68354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68355 ac_ext=c
68356 ac_cpp='$CPP $CPPFLAGS'
68357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
68366 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
68368 if test x$glibcxx_cv_func__powf_use = x"yes"; then
68369 for ac_func in _powf
68370 do :
68371 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
68372 if test "x$ac_cv_func__powf" = x""yes; then :
68373 cat >>confdefs.h <<_ACEOF
68374 #define HAVE__POWF 1
68375 _ACEOF
68378 done
68387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
68388 $as_echo_n "checking for sqrtf declaration... " >&6; }
68389 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
68390 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
68391 $as_echo_n "(cached) " >&6
68392 else
68395 ac_ext=cpp
68396 ac_cpp='$CXXCPP $CPPFLAGS'
68397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68402 /* end confdefs.h. */
68403 #include <math.h>
68404 #ifdef HAVE_IEEEFP_H
68405 #include <ieeefp.h>
68406 #endif
68409 main ()
68411 sqrtf(0);
68413 return 0;
68415 _ACEOF
68416 if ac_fn_cxx_try_compile "$LINENO"; then :
68417 glibcxx_cv_func_sqrtf_use=yes
68418 else
68419 glibcxx_cv_func_sqrtf_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_sqrtf_use" >&5
68433 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
68435 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
68436 for ac_func in sqrtf
68437 do :
68438 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
68439 if test "x$ac_cv_func_sqrtf" = x""yes; then :
68440 cat >>confdefs.h <<_ACEOF
68441 #define HAVE_SQRTF 1
68442 _ACEOF
68445 done
68447 else
68449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
68450 $as_echo_n "checking for _sqrtf declaration... " >&6; }
68451 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
68452 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
68453 $as_echo_n "(cached) " >&6
68454 else
68457 ac_ext=cpp
68458 ac_cpp='$CXXCPP $CPPFLAGS'
68459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68464 /* end confdefs.h. */
68465 #include <math.h>
68466 #ifdef HAVE_IEEEFP_H
68467 #include <ieeefp.h>
68468 #endif
68471 main ()
68473 _sqrtf(0);
68475 return 0;
68477 _ACEOF
68478 if ac_fn_cxx_try_compile "$LINENO"; then :
68479 glibcxx_cv_func__sqrtf_use=yes
68480 else
68481 glibcxx_cv_func__sqrtf_use=no
68483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68484 ac_ext=c
68485 ac_cpp='$CPP $CPPFLAGS'
68486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
68495 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
68497 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
68498 for ac_func in _sqrtf
68499 do :
68500 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
68501 if test "x$ac_cv_func__sqrtf" = x""yes; then :
68502 cat >>confdefs.h <<_ACEOF
68503 #define HAVE__SQRTF 1
68504 _ACEOF
68507 done
68516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
68517 $as_echo_n "checking for sincosf declaration... " >&6; }
68518 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
68519 if test "${glibcxx_cv_func_sincosf_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>
68534 main ()
68536 sincosf(0, 0, 0);
68538 return 0;
68540 _ACEOF
68541 if ac_fn_cxx_try_compile "$LINENO"; then :
68542 glibcxx_cv_func_sincosf_use=yes
68543 else
68544 glibcxx_cv_func_sincosf_use=no
68546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68547 ac_ext=c
68548 ac_cpp='$CPP $CPPFLAGS'
68549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
68558 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
68560 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
68561 for ac_func in sincosf
68562 do :
68563 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
68564 if test "x$ac_cv_func_sincosf" = x""yes; then :
68565 cat >>confdefs.h <<_ACEOF
68566 #define HAVE_SINCOSF 1
68567 _ACEOF
68570 done
68572 else
68574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
68575 $as_echo_n "checking for _sincosf declaration... " >&6; }
68576 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
68577 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
68578 $as_echo_n "(cached) " >&6
68579 else
68582 ac_ext=cpp
68583 ac_cpp='$CXXCPP $CPPFLAGS'
68584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68589 /* end confdefs.h. */
68590 #include <math.h>
68592 main ()
68594 _sincosf(0, 0, 0);
68596 return 0;
68598 _ACEOF
68599 if ac_fn_cxx_try_compile "$LINENO"; then :
68600 glibcxx_cv_func__sincosf_use=yes
68601 else
68602 glibcxx_cv_func__sincosf_use=no
68604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68605 ac_ext=c
68606 ac_cpp='$CPP $CPPFLAGS'
68607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
68616 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
68618 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
68619 for ac_func in _sincosf
68620 do :
68621 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
68622 if test "x$ac_cv_func__sincosf" = x""yes; then :
68623 cat >>confdefs.h <<_ACEOF
68624 #define HAVE__SINCOSF 1
68625 _ACEOF
68628 done
68637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
68638 $as_echo_n "checking for finitef declaration... " >&6; }
68639 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
68640 if test "${glibcxx_cv_func_finitef_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>
68654 #ifdef HAVE_IEEEFP_H
68655 #include <ieeefp.h>
68656 #endif
68659 main ()
68661 finitef(0);
68663 return 0;
68665 _ACEOF
68666 if ac_fn_cxx_try_compile "$LINENO"; then :
68667 glibcxx_cv_func_finitef_use=yes
68668 else
68669 glibcxx_cv_func_finitef_use=no
68671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68672 ac_ext=c
68673 ac_cpp='$CPP $CPPFLAGS'
68674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
68683 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
68685 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
68686 for ac_func in finitef
68687 do :
68688 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
68689 if test "x$ac_cv_func_finitef" = x""yes; then :
68690 cat >>confdefs.h <<_ACEOF
68691 #define HAVE_FINITEF 1
68692 _ACEOF
68695 done
68697 else
68699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
68700 $as_echo_n "checking for _finitef declaration... " >&6; }
68701 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
68702 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
68703 $as_echo_n "(cached) " >&6
68704 else
68707 ac_ext=cpp
68708 ac_cpp='$CXXCPP $CPPFLAGS'
68709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68714 /* end confdefs.h. */
68715 #include <math.h>
68716 #ifdef HAVE_IEEEFP_H
68717 #include <ieeefp.h>
68718 #endif
68721 main ()
68723 _finitef(0);
68725 return 0;
68727 _ACEOF
68728 if ac_fn_cxx_try_compile "$LINENO"; then :
68729 glibcxx_cv_func__finitef_use=yes
68730 else
68731 glibcxx_cv_func__finitef_use=no
68733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68734 ac_ext=c
68735 ac_cpp='$CPP $CPPFLAGS'
68736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
68745 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
68747 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
68748 for ac_func in _finitef
68749 do :
68750 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
68751 if test "x$ac_cv_func__finitef" = x""yes; then :
68752 cat >>confdefs.h <<_ACEOF
68753 #define HAVE__FINITEF 1
68754 _ACEOF
68757 done
68766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
68767 $as_echo_n "checking for long double trig functions... " >&6; }
68768 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
68769 $as_echo_n "(cached) " >&6
68770 else
68773 ac_ext=cpp
68774 ac_cpp='$CXXCPP $CPPFLAGS'
68775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68780 /* end confdefs.h. */
68781 #include <math.h>
68783 main ()
68785 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
68787 return 0;
68789 _ACEOF
68790 if ac_fn_cxx_try_compile "$LINENO"; then :
68791 glibcxx_cv_func_long_double_trig_use=yes
68792 else
68793 glibcxx_cv_func_long_double_trig_use=no
68795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68796 ac_ext=c
68797 ac_cpp='$CPP $CPPFLAGS'
68798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
68805 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
68806 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
68807 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
68808 do :
68809 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68810 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68811 eval as_val=\$$as_ac_var
68812 if test "x$as_val" = x""yes; then :
68813 cat >>confdefs.h <<_ACEOF
68814 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68815 _ACEOF
68818 done
68820 else
68821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
68822 $as_echo_n "checking for _long double trig functions... " >&6; }
68823 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
68824 $as_echo_n "(cached) " >&6
68825 else
68828 ac_ext=cpp
68829 ac_cpp='$CXXCPP $CPPFLAGS'
68830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68835 /* end confdefs.h. */
68836 #include <math.h>
68838 main ()
68840 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
68842 return 0;
68844 _ACEOF
68845 if ac_fn_cxx_try_compile "$LINENO"; then :
68846 glibcxx_cv_func__long_double_trig_use=yes
68847 else
68848 glibcxx_cv_func__long_double_trig_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
68859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
68860 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
68861 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
68862 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
68863 do :
68864 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68865 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68866 eval as_val=\$$as_ac_var
68867 if test "x$as_val" = x""yes; then :
68868 cat >>confdefs.h <<_ACEOF
68869 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68870 _ACEOF
68873 done
68882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
68883 $as_echo_n "checking for long double round functions... " >&6; }
68884 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
68885 $as_echo_n "(cached) " >&6
68886 else
68889 ac_ext=cpp
68890 ac_cpp='$CXXCPP $CPPFLAGS'
68891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68896 /* end confdefs.h. */
68897 #include <math.h>
68899 main ()
68901 ceill (0); floorl (0);
68903 return 0;
68905 _ACEOF
68906 if ac_fn_cxx_try_compile "$LINENO"; then :
68907 glibcxx_cv_func_long_double_round_use=yes
68908 else
68909 glibcxx_cv_func_long_double_round_use=no
68911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68912 ac_ext=c
68913 ac_cpp='$CPP $CPPFLAGS'
68914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
68921 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
68922 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
68923 for ac_func in ceill floorl
68924 do :
68925 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68926 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68927 eval as_val=\$$as_ac_var
68928 if test "x$as_val" = x""yes; then :
68929 cat >>confdefs.h <<_ACEOF
68930 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68931 _ACEOF
68934 done
68936 else
68937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
68938 $as_echo_n "checking for _long double round functions... " >&6; }
68939 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
68940 $as_echo_n "(cached) " >&6
68941 else
68944 ac_ext=cpp
68945 ac_cpp='$CXXCPP $CPPFLAGS'
68946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68951 /* end confdefs.h. */
68952 #include <math.h>
68954 main ()
68956 _ceill (0); _floorl (0);
68958 return 0;
68960 _ACEOF
68961 if ac_fn_cxx_try_compile "$LINENO"; then :
68962 glibcxx_cv_func__long_double_round_use=yes
68963 else
68964 glibcxx_cv_func__long_double_round_use=no
68966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68967 ac_ext=c
68968 ac_cpp='$CPP $CPPFLAGS'
68969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
68976 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
68977 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
68978 for ac_func in _ceill _floorl
68979 do :
68980 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68981 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68982 eval as_val=\$$as_ac_var
68983 if test "x$as_val" = x""yes; then :
68984 cat >>confdefs.h <<_ACEOF
68985 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68986 _ACEOF
68989 done
68999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
69000 $as_echo_n "checking for isnanl declaration... " >&6; }
69001 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
69002 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
69003 $as_echo_n "(cached) " >&6
69004 else
69007 ac_ext=cpp
69008 ac_cpp='$CXXCPP $CPPFLAGS'
69009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69014 /* end confdefs.h. */
69015 #include <math.h>
69016 #ifdef HAVE_IEEEFP_H
69017 #include <ieeefp.h>
69018 #endif
69021 main ()
69023 isnanl(0);
69025 return 0;
69027 _ACEOF
69028 if ac_fn_cxx_try_compile "$LINENO"; then :
69029 glibcxx_cv_func_isnanl_use=yes
69030 else
69031 glibcxx_cv_func_isnanl_use=no
69033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69034 ac_ext=c
69035 ac_cpp='$CPP $CPPFLAGS'
69036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
69045 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
69047 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
69048 for ac_func in isnanl
69049 do :
69050 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
69051 if test "x$ac_cv_func_isnanl" = x""yes; then :
69052 cat >>confdefs.h <<_ACEOF
69053 #define HAVE_ISNANL 1
69054 _ACEOF
69057 done
69059 else
69061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
69062 $as_echo_n "checking for _isnanl declaration... " >&6; }
69063 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
69064 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
69065 $as_echo_n "(cached) " >&6
69066 else
69069 ac_ext=cpp
69070 ac_cpp='$CXXCPP $CPPFLAGS'
69071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69076 /* end confdefs.h. */
69077 #include <math.h>
69078 #ifdef HAVE_IEEEFP_H
69079 #include <ieeefp.h>
69080 #endif
69083 main ()
69085 _isnanl(0);
69087 return 0;
69089 _ACEOF
69090 if ac_fn_cxx_try_compile "$LINENO"; then :
69091 glibcxx_cv_func__isnanl_use=yes
69092 else
69093 glibcxx_cv_func__isnanl_use=no
69095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69096 ac_ext=c
69097 ac_cpp='$CPP $CPPFLAGS'
69098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
69107 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
69109 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
69110 for ac_func in _isnanl
69111 do :
69112 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
69113 if test "x$ac_cv_func__isnanl" = x""yes; then :
69114 cat >>confdefs.h <<_ACEOF
69115 #define HAVE__ISNANL 1
69116 _ACEOF
69119 done
69128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
69129 $as_echo_n "checking for isinfl declaration... " >&6; }
69130 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
69131 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
69132 $as_echo_n "(cached) " >&6
69133 else
69136 ac_ext=cpp
69137 ac_cpp='$CXXCPP $CPPFLAGS'
69138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69143 /* end confdefs.h. */
69144 #include <math.h>
69145 #ifdef HAVE_IEEEFP_H
69146 #include <ieeefp.h>
69147 #endif
69150 main ()
69152 isinfl(0);
69154 return 0;
69156 _ACEOF
69157 if ac_fn_cxx_try_compile "$LINENO"; then :
69158 glibcxx_cv_func_isinfl_use=yes
69159 else
69160 glibcxx_cv_func_isinfl_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_isinfl_use" >&5
69174 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
69176 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
69177 for ac_func in isinfl
69178 do :
69179 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
69180 if test "x$ac_cv_func_isinfl" = x""yes; then :
69181 cat >>confdefs.h <<_ACEOF
69182 #define HAVE_ISINFL 1
69183 _ACEOF
69186 done
69188 else
69190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
69191 $as_echo_n "checking for _isinfl declaration... " >&6; }
69192 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
69193 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
69194 $as_echo_n "(cached) " >&6
69195 else
69198 ac_ext=cpp
69199 ac_cpp='$CXXCPP $CPPFLAGS'
69200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69205 /* end confdefs.h. */
69206 #include <math.h>
69207 #ifdef HAVE_IEEEFP_H
69208 #include <ieeefp.h>
69209 #endif
69212 main ()
69214 _isinfl(0);
69216 return 0;
69218 _ACEOF
69219 if ac_fn_cxx_try_compile "$LINENO"; then :
69220 glibcxx_cv_func__isinfl_use=yes
69221 else
69222 glibcxx_cv_func__isinfl_use=no
69224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69225 ac_ext=c
69226 ac_cpp='$CPP $CPPFLAGS'
69227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
69236 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
69238 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
69239 for ac_func in _isinfl
69240 do :
69241 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
69242 if test "x$ac_cv_func__isinfl" = x""yes; then :
69243 cat >>confdefs.h <<_ACEOF
69244 #define HAVE__ISINFL 1
69245 _ACEOF
69248 done
69257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
69258 $as_echo_n "checking for atan2l declaration... " >&6; }
69259 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
69260 if test "${glibcxx_cv_func_atan2l_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>
69275 main ()
69277 atan2l(0, 0);
69279 return 0;
69281 _ACEOF
69282 if ac_fn_cxx_try_compile "$LINENO"; then :
69283 glibcxx_cv_func_atan2l_use=yes
69284 else
69285 glibcxx_cv_func_atan2l_use=no
69287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69288 ac_ext=c
69289 ac_cpp='$CPP $CPPFLAGS'
69290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
69299 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
69301 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
69302 for ac_func in atan2l
69303 do :
69304 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
69305 if test "x$ac_cv_func_atan2l" = x""yes; then :
69306 cat >>confdefs.h <<_ACEOF
69307 #define HAVE_ATAN2L 1
69308 _ACEOF
69311 done
69313 else
69315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
69316 $as_echo_n "checking for _atan2l declaration... " >&6; }
69317 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
69318 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
69319 $as_echo_n "(cached) " >&6
69320 else
69323 ac_ext=cpp
69324 ac_cpp='$CXXCPP $CPPFLAGS'
69325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69330 /* end confdefs.h. */
69331 #include <math.h>
69333 main ()
69335 _atan2l(0, 0);
69337 return 0;
69339 _ACEOF
69340 if ac_fn_cxx_try_compile "$LINENO"; then :
69341 glibcxx_cv_func__atan2l_use=yes
69342 else
69343 glibcxx_cv_func__atan2l_use=no
69345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69346 ac_ext=c
69347 ac_cpp='$CPP $CPPFLAGS'
69348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
69357 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
69359 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
69360 for ac_func in _atan2l
69361 do :
69362 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
69363 if test "x$ac_cv_func__atan2l" = x""yes; then :
69364 cat >>confdefs.h <<_ACEOF
69365 #define HAVE__ATAN2L 1
69366 _ACEOF
69369 done
69378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
69379 $as_echo_n "checking for expl declaration... " >&6; }
69380 if test x${glibcxx_cv_func_expl_use+set} != xset; then
69381 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
69382 $as_echo_n "(cached) " >&6
69383 else
69386 ac_ext=cpp
69387 ac_cpp='$CXXCPP $CPPFLAGS'
69388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69393 /* end confdefs.h. */
69394 #include <math.h>
69395 #ifdef HAVE_IEEEFP_H
69396 #include <ieeefp.h>
69397 #endif
69400 main ()
69402 expl(0);
69404 return 0;
69406 _ACEOF
69407 if ac_fn_cxx_try_compile "$LINENO"; then :
69408 glibcxx_cv_func_expl_use=yes
69409 else
69410 glibcxx_cv_func_expl_use=no
69412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69413 ac_ext=c
69414 ac_cpp='$CPP $CPPFLAGS'
69415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
69424 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
69426 if test x$glibcxx_cv_func_expl_use = x"yes"; then
69427 for ac_func in expl
69428 do :
69429 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
69430 if test "x$ac_cv_func_expl" = x""yes; then :
69431 cat >>confdefs.h <<_ACEOF
69432 #define HAVE_EXPL 1
69433 _ACEOF
69436 done
69438 else
69440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
69441 $as_echo_n "checking for _expl declaration... " >&6; }
69442 if test x${glibcxx_cv_func__expl_use+set} != xset; then
69443 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
69444 $as_echo_n "(cached) " >&6
69445 else
69448 ac_ext=cpp
69449 ac_cpp='$CXXCPP $CPPFLAGS'
69450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69455 /* end confdefs.h. */
69456 #include <math.h>
69457 #ifdef HAVE_IEEEFP_H
69458 #include <ieeefp.h>
69459 #endif
69462 main ()
69464 _expl(0);
69466 return 0;
69468 _ACEOF
69469 if ac_fn_cxx_try_compile "$LINENO"; then :
69470 glibcxx_cv_func__expl_use=yes
69471 else
69472 glibcxx_cv_func__expl_use=no
69474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69475 ac_ext=c
69476 ac_cpp='$CPP $CPPFLAGS'
69477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
69486 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
69488 if test x$glibcxx_cv_func__expl_use = x"yes"; then
69489 for ac_func in _expl
69490 do :
69491 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
69492 if test "x$ac_cv_func__expl" = x""yes; then :
69493 cat >>confdefs.h <<_ACEOF
69494 #define HAVE__EXPL 1
69495 _ACEOF
69498 done
69507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
69508 $as_echo_n "checking for fabsl declaration... " >&6; }
69509 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
69510 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
69511 $as_echo_n "(cached) " >&6
69512 else
69515 ac_ext=cpp
69516 ac_cpp='$CXXCPP $CPPFLAGS'
69517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69522 /* end confdefs.h. */
69523 #include <math.h>
69524 #ifdef HAVE_IEEEFP_H
69525 #include <ieeefp.h>
69526 #endif
69529 main ()
69531 fabsl(0);
69533 return 0;
69535 _ACEOF
69536 if ac_fn_cxx_try_compile "$LINENO"; then :
69537 glibcxx_cv_func_fabsl_use=yes
69538 else
69539 glibcxx_cv_func_fabsl_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_fabsl_use" >&5
69553 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
69555 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
69556 for ac_func in fabsl
69557 do :
69558 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
69559 if test "x$ac_cv_func_fabsl" = x""yes; then :
69560 cat >>confdefs.h <<_ACEOF
69561 #define HAVE_FABSL 1
69562 _ACEOF
69565 done
69567 else
69569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
69570 $as_echo_n "checking for _fabsl declaration... " >&6; }
69571 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
69572 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
69573 $as_echo_n "(cached) " >&6
69574 else
69577 ac_ext=cpp
69578 ac_cpp='$CXXCPP $CPPFLAGS'
69579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69584 /* end confdefs.h. */
69585 #include <math.h>
69586 #ifdef HAVE_IEEEFP_H
69587 #include <ieeefp.h>
69588 #endif
69591 main ()
69593 _fabsl(0);
69595 return 0;
69597 _ACEOF
69598 if ac_fn_cxx_try_compile "$LINENO"; then :
69599 glibcxx_cv_func__fabsl_use=yes
69600 else
69601 glibcxx_cv_func__fabsl_use=no
69603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69604 ac_ext=c
69605 ac_cpp='$CPP $CPPFLAGS'
69606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
69615 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
69617 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
69618 for ac_func in _fabsl
69619 do :
69620 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
69621 if test "x$ac_cv_func__fabsl" = x""yes; then :
69622 cat >>confdefs.h <<_ACEOF
69623 #define HAVE__FABSL 1
69624 _ACEOF
69627 done
69636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
69637 $as_echo_n "checking for fmodl declaration... " >&6; }
69638 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
69639 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
69640 $as_echo_n "(cached) " >&6
69641 else
69644 ac_ext=cpp
69645 ac_cpp='$CXXCPP $CPPFLAGS'
69646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69651 /* end confdefs.h. */
69652 #include <math.h>
69654 main ()
69656 fmodl(0, 0);
69658 return 0;
69660 _ACEOF
69661 if ac_fn_cxx_try_compile "$LINENO"; then :
69662 glibcxx_cv_func_fmodl_use=yes
69663 else
69664 glibcxx_cv_func_fmodl_use=no
69666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69667 ac_ext=c
69668 ac_cpp='$CPP $CPPFLAGS'
69669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
69678 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
69680 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
69681 for ac_func in fmodl
69682 do :
69683 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
69684 if test "x$ac_cv_func_fmodl" = x""yes; then :
69685 cat >>confdefs.h <<_ACEOF
69686 #define HAVE_FMODL 1
69687 _ACEOF
69690 done
69692 else
69694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
69695 $as_echo_n "checking for _fmodl declaration... " >&6; }
69696 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
69697 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
69698 $as_echo_n "(cached) " >&6
69699 else
69702 ac_ext=cpp
69703 ac_cpp='$CXXCPP $CPPFLAGS'
69704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69709 /* end confdefs.h. */
69710 #include <math.h>
69712 main ()
69714 _fmodl(0, 0);
69716 return 0;
69718 _ACEOF
69719 if ac_fn_cxx_try_compile "$LINENO"; then :
69720 glibcxx_cv_func__fmodl_use=yes
69721 else
69722 glibcxx_cv_func__fmodl_use=no
69724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69725 ac_ext=c
69726 ac_cpp='$CPP $CPPFLAGS'
69727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
69736 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
69738 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
69739 for ac_func in _fmodl
69740 do :
69741 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
69742 if test "x$ac_cv_func__fmodl" = x""yes; then :
69743 cat >>confdefs.h <<_ACEOF
69744 #define HAVE__FMODL 1
69745 _ACEOF
69748 done
69757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
69758 $as_echo_n "checking for frexpl declaration... " >&6; }
69759 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
69760 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
69761 $as_echo_n "(cached) " >&6
69762 else
69765 ac_ext=cpp
69766 ac_cpp='$CXXCPP $CPPFLAGS'
69767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69772 /* end confdefs.h. */
69773 #include <math.h>
69775 main ()
69777 frexpl(0, 0);
69779 return 0;
69781 _ACEOF
69782 if ac_fn_cxx_try_compile "$LINENO"; then :
69783 glibcxx_cv_func_frexpl_use=yes
69784 else
69785 glibcxx_cv_func_frexpl_use=no
69787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69788 ac_ext=c
69789 ac_cpp='$CPP $CPPFLAGS'
69790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
69799 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
69801 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
69802 for ac_func in frexpl
69803 do :
69804 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
69805 if test "x$ac_cv_func_frexpl" = x""yes; then :
69806 cat >>confdefs.h <<_ACEOF
69807 #define HAVE_FREXPL 1
69808 _ACEOF
69811 done
69813 else
69815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
69816 $as_echo_n "checking for _frexpl declaration... " >&6; }
69817 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
69818 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
69819 $as_echo_n "(cached) " >&6
69820 else
69823 ac_ext=cpp
69824 ac_cpp='$CXXCPP $CPPFLAGS'
69825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69830 /* end confdefs.h. */
69831 #include <math.h>
69833 main ()
69835 _frexpl(0, 0);
69837 return 0;
69839 _ACEOF
69840 if ac_fn_cxx_try_compile "$LINENO"; then :
69841 glibcxx_cv_func__frexpl_use=yes
69842 else
69843 glibcxx_cv_func__frexpl_use=no
69845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69846 ac_ext=c
69847 ac_cpp='$CPP $CPPFLAGS'
69848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
69857 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
69859 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
69860 for ac_func in _frexpl
69861 do :
69862 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
69863 if test "x$ac_cv_func__frexpl" = x""yes; then :
69864 cat >>confdefs.h <<_ACEOF
69865 #define HAVE__FREXPL 1
69866 _ACEOF
69869 done
69878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
69879 $as_echo_n "checking for hypotl declaration... " >&6; }
69880 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
69881 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
69882 $as_echo_n "(cached) " >&6
69883 else
69886 ac_ext=cpp
69887 ac_cpp='$CXXCPP $CPPFLAGS'
69888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69893 /* end confdefs.h. */
69894 #include <math.h>
69896 main ()
69898 hypotl(0, 0);
69900 return 0;
69902 _ACEOF
69903 if ac_fn_cxx_try_compile "$LINENO"; then :
69904 glibcxx_cv_func_hypotl_use=yes
69905 else
69906 glibcxx_cv_func_hypotl_use=no
69908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69909 ac_ext=c
69910 ac_cpp='$CPP $CPPFLAGS'
69911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
69920 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
69922 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
69923 for ac_func in hypotl
69924 do :
69925 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
69926 if test "x$ac_cv_func_hypotl" = x""yes; then :
69927 cat >>confdefs.h <<_ACEOF
69928 #define HAVE_HYPOTL 1
69929 _ACEOF
69932 done
69934 else
69936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
69937 $as_echo_n "checking for _hypotl declaration... " >&6; }
69938 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
69939 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
69940 $as_echo_n "(cached) " >&6
69941 else
69944 ac_ext=cpp
69945 ac_cpp='$CXXCPP $CPPFLAGS'
69946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69951 /* end confdefs.h. */
69952 #include <math.h>
69954 main ()
69956 _hypotl(0, 0);
69958 return 0;
69960 _ACEOF
69961 if ac_fn_cxx_try_compile "$LINENO"; then :
69962 glibcxx_cv_func__hypotl_use=yes
69963 else
69964 glibcxx_cv_func__hypotl_use=no
69966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69967 ac_ext=c
69968 ac_cpp='$CPP $CPPFLAGS'
69969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
69978 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
69980 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
69981 for ac_func in _hypotl
69982 do :
69983 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
69984 if test "x$ac_cv_func__hypotl" = x""yes; then :
69985 cat >>confdefs.h <<_ACEOF
69986 #define HAVE__HYPOTL 1
69987 _ACEOF
69990 done
69999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
70000 $as_echo_n "checking for ldexpl declaration... " >&6; }
70001 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
70002 if test "${glibcxx_cv_func_ldexpl_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>
70017 main ()
70019 ldexpl(0, 0);
70021 return 0;
70023 _ACEOF
70024 if ac_fn_cxx_try_compile "$LINENO"; then :
70025 glibcxx_cv_func_ldexpl_use=yes
70026 else
70027 glibcxx_cv_func_ldexpl_use=no
70029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70030 ac_ext=c
70031 ac_cpp='$CPP $CPPFLAGS'
70032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
70041 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
70043 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
70044 for ac_func in ldexpl
70045 do :
70046 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
70047 if test "x$ac_cv_func_ldexpl" = x""yes; then :
70048 cat >>confdefs.h <<_ACEOF
70049 #define HAVE_LDEXPL 1
70050 _ACEOF
70053 done
70055 else
70057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
70058 $as_echo_n "checking for _ldexpl declaration... " >&6; }
70059 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
70060 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
70061 $as_echo_n "(cached) " >&6
70062 else
70065 ac_ext=cpp
70066 ac_cpp='$CXXCPP $CPPFLAGS'
70067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70072 /* end confdefs.h. */
70073 #include <math.h>
70075 main ()
70077 _ldexpl(0, 0);
70079 return 0;
70081 _ACEOF
70082 if ac_fn_cxx_try_compile "$LINENO"; then :
70083 glibcxx_cv_func__ldexpl_use=yes
70084 else
70085 glibcxx_cv_func__ldexpl_use=no
70087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70088 ac_ext=c
70089 ac_cpp='$CPP $CPPFLAGS'
70090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
70099 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
70101 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
70102 for ac_func in _ldexpl
70103 do :
70104 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
70105 if test "x$ac_cv_func__ldexpl" = x""yes; then :
70106 cat >>confdefs.h <<_ACEOF
70107 #define HAVE__LDEXPL 1
70108 _ACEOF
70111 done
70120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
70121 $as_echo_n "checking for logl declaration... " >&6; }
70122 if test x${glibcxx_cv_func_logl_use+set} != xset; then
70123 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
70124 $as_echo_n "(cached) " >&6
70125 else
70128 ac_ext=cpp
70129 ac_cpp='$CXXCPP $CPPFLAGS'
70130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70135 /* end confdefs.h. */
70136 #include <math.h>
70137 #ifdef HAVE_IEEEFP_H
70138 #include <ieeefp.h>
70139 #endif
70142 main ()
70144 logl(0);
70146 return 0;
70148 _ACEOF
70149 if ac_fn_cxx_try_compile "$LINENO"; then :
70150 glibcxx_cv_func_logl_use=yes
70151 else
70152 glibcxx_cv_func_logl_use=no
70154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70155 ac_ext=c
70156 ac_cpp='$CPP $CPPFLAGS'
70157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
70166 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
70168 if test x$glibcxx_cv_func_logl_use = x"yes"; then
70169 for ac_func in logl
70170 do :
70171 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
70172 if test "x$ac_cv_func_logl" = x""yes; then :
70173 cat >>confdefs.h <<_ACEOF
70174 #define HAVE_LOGL 1
70175 _ACEOF
70178 done
70180 else
70182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
70183 $as_echo_n "checking for _logl declaration... " >&6; }
70184 if test x${glibcxx_cv_func__logl_use+set} != xset; then
70185 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
70186 $as_echo_n "(cached) " >&6
70187 else
70190 ac_ext=cpp
70191 ac_cpp='$CXXCPP $CPPFLAGS'
70192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70197 /* end confdefs.h. */
70198 #include <math.h>
70199 #ifdef HAVE_IEEEFP_H
70200 #include <ieeefp.h>
70201 #endif
70204 main ()
70206 _logl(0);
70208 return 0;
70210 _ACEOF
70211 if ac_fn_cxx_try_compile "$LINENO"; then :
70212 glibcxx_cv_func__logl_use=yes
70213 else
70214 glibcxx_cv_func__logl_use=no
70216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70217 ac_ext=c
70218 ac_cpp='$CPP $CPPFLAGS'
70219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
70228 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
70230 if test x$glibcxx_cv_func__logl_use = x"yes"; then
70231 for ac_func in _logl
70232 do :
70233 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
70234 if test "x$ac_cv_func__logl" = x""yes; then :
70235 cat >>confdefs.h <<_ACEOF
70236 #define HAVE__LOGL 1
70237 _ACEOF
70240 done
70249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
70250 $as_echo_n "checking for log10l declaration... " >&6; }
70251 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
70252 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
70253 $as_echo_n "(cached) " >&6
70254 else
70257 ac_ext=cpp
70258 ac_cpp='$CXXCPP $CPPFLAGS'
70259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70264 /* end confdefs.h. */
70265 #include <math.h>
70266 #ifdef HAVE_IEEEFP_H
70267 #include <ieeefp.h>
70268 #endif
70271 main ()
70273 log10l(0);
70275 return 0;
70277 _ACEOF
70278 if ac_fn_cxx_try_compile "$LINENO"; then :
70279 glibcxx_cv_func_log10l_use=yes
70280 else
70281 glibcxx_cv_func_log10l_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_log10l_use" >&5
70295 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
70297 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
70298 for ac_func in log10l
70299 do :
70300 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
70301 if test "x$ac_cv_func_log10l" = x""yes; then :
70302 cat >>confdefs.h <<_ACEOF
70303 #define HAVE_LOG10L 1
70304 _ACEOF
70307 done
70309 else
70311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
70312 $as_echo_n "checking for _log10l declaration... " >&6; }
70313 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
70314 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
70315 $as_echo_n "(cached) " >&6
70316 else
70319 ac_ext=cpp
70320 ac_cpp='$CXXCPP $CPPFLAGS'
70321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70326 /* end confdefs.h. */
70327 #include <math.h>
70328 #ifdef HAVE_IEEEFP_H
70329 #include <ieeefp.h>
70330 #endif
70333 main ()
70335 _log10l(0);
70337 return 0;
70339 _ACEOF
70340 if ac_fn_cxx_try_compile "$LINENO"; then :
70341 glibcxx_cv_func__log10l_use=yes
70342 else
70343 glibcxx_cv_func__log10l_use=no
70345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70346 ac_ext=c
70347 ac_cpp='$CPP $CPPFLAGS'
70348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
70357 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
70359 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
70360 for ac_func in _log10l
70361 do :
70362 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
70363 if test "x$ac_cv_func__log10l" = x""yes; then :
70364 cat >>confdefs.h <<_ACEOF
70365 #define HAVE__LOG10L 1
70366 _ACEOF
70369 done
70378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
70379 $as_echo_n "checking for modfl declaration... " >&6; }
70380 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
70381 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
70382 $as_echo_n "(cached) " >&6
70383 else
70386 ac_ext=cpp
70387 ac_cpp='$CXXCPP $CPPFLAGS'
70388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70393 /* end confdefs.h. */
70394 #include <math.h>
70396 main ()
70398 modfl(0, 0);
70400 return 0;
70402 _ACEOF
70403 if ac_fn_cxx_try_compile "$LINENO"; then :
70404 glibcxx_cv_func_modfl_use=yes
70405 else
70406 glibcxx_cv_func_modfl_use=no
70408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70409 ac_ext=c
70410 ac_cpp='$CPP $CPPFLAGS'
70411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
70420 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
70422 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
70423 for ac_func in modfl
70424 do :
70425 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
70426 if test "x$ac_cv_func_modfl" = x""yes; then :
70427 cat >>confdefs.h <<_ACEOF
70428 #define HAVE_MODFL 1
70429 _ACEOF
70432 done
70434 else
70436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
70437 $as_echo_n "checking for _modfl declaration... " >&6; }
70438 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
70439 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
70440 $as_echo_n "(cached) " >&6
70441 else
70444 ac_ext=cpp
70445 ac_cpp='$CXXCPP $CPPFLAGS'
70446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70451 /* end confdefs.h. */
70452 #include <math.h>
70454 main ()
70456 _modfl(0, 0);
70458 return 0;
70460 _ACEOF
70461 if ac_fn_cxx_try_compile "$LINENO"; then :
70462 glibcxx_cv_func__modfl_use=yes
70463 else
70464 glibcxx_cv_func__modfl_use=no
70466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70467 ac_ext=c
70468 ac_cpp='$CPP $CPPFLAGS'
70469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
70478 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
70480 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
70481 for ac_func in _modfl
70482 do :
70483 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
70484 if test "x$ac_cv_func__modfl" = x""yes; then :
70485 cat >>confdefs.h <<_ACEOF
70486 #define HAVE__MODFL 1
70487 _ACEOF
70490 done
70499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
70500 $as_echo_n "checking for powl declaration... " >&6; }
70501 if test x${glibcxx_cv_func_powl_use+set} != xset; then
70502 if test "${glibcxx_cv_func_powl_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>
70517 main ()
70519 powl(0, 0);
70521 return 0;
70523 _ACEOF
70524 if ac_fn_cxx_try_compile "$LINENO"; then :
70525 glibcxx_cv_func_powl_use=yes
70526 else
70527 glibcxx_cv_func_powl_use=no
70529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70530 ac_ext=c
70531 ac_cpp='$CPP $CPPFLAGS'
70532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
70541 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
70543 if test x$glibcxx_cv_func_powl_use = x"yes"; then
70544 for ac_func in powl
70545 do :
70546 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
70547 if test "x$ac_cv_func_powl" = x""yes; then :
70548 cat >>confdefs.h <<_ACEOF
70549 #define HAVE_POWL 1
70550 _ACEOF
70553 done
70555 else
70557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
70558 $as_echo_n "checking for _powl declaration... " >&6; }
70559 if test x${glibcxx_cv_func__powl_use+set} != xset; then
70560 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
70561 $as_echo_n "(cached) " >&6
70562 else
70565 ac_ext=cpp
70566 ac_cpp='$CXXCPP $CPPFLAGS'
70567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70572 /* end confdefs.h. */
70573 #include <math.h>
70575 main ()
70577 _powl(0, 0);
70579 return 0;
70581 _ACEOF
70582 if ac_fn_cxx_try_compile "$LINENO"; then :
70583 glibcxx_cv_func__powl_use=yes
70584 else
70585 glibcxx_cv_func__powl_use=no
70587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70588 ac_ext=c
70589 ac_cpp='$CPP $CPPFLAGS'
70590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
70599 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
70601 if test x$glibcxx_cv_func__powl_use = x"yes"; then
70602 for ac_func in _powl
70603 do :
70604 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
70605 if test "x$ac_cv_func__powl" = x""yes; then :
70606 cat >>confdefs.h <<_ACEOF
70607 #define HAVE__POWL 1
70608 _ACEOF
70611 done
70620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
70621 $as_echo_n "checking for sqrtl declaration... " >&6; }
70622 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
70623 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
70624 $as_echo_n "(cached) " >&6
70625 else
70628 ac_ext=cpp
70629 ac_cpp='$CXXCPP $CPPFLAGS'
70630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70635 /* end confdefs.h. */
70636 #include <math.h>
70637 #ifdef HAVE_IEEEFP_H
70638 #include <ieeefp.h>
70639 #endif
70642 main ()
70644 sqrtl(0);
70646 return 0;
70648 _ACEOF
70649 if ac_fn_cxx_try_compile "$LINENO"; then :
70650 glibcxx_cv_func_sqrtl_use=yes
70651 else
70652 glibcxx_cv_func_sqrtl_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_sqrtl_use" >&5
70666 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
70668 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
70669 for ac_func in sqrtl
70670 do :
70671 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
70672 if test "x$ac_cv_func_sqrtl" = x""yes; then :
70673 cat >>confdefs.h <<_ACEOF
70674 #define HAVE_SQRTL 1
70675 _ACEOF
70678 done
70680 else
70682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
70683 $as_echo_n "checking for _sqrtl declaration... " >&6; }
70684 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
70685 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
70686 $as_echo_n "(cached) " >&6
70687 else
70690 ac_ext=cpp
70691 ac_cpp='$CXXCPP $CPPFLAGS'
70692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70697 /* end confdefs.h. */
70698 #include <math.h>
70699 #ifdef HAVE_IEEEFP_H
70700 #include <ieeefp.h>
70701 #endif
70704 main ()
70706 _sqrtl(0);
70708 return 0;
70710 _ACEOF
70711 if ac_fn_cxx_try_compile "$LINENO"; then :
70712 glibcxx_cv_func__sqrtl_use=yes
70713 else
70714 glibcxx_cv_func__sqrtl_use=no
70716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70717 ac_ext=c
70718 ac_cpp='$CPP $CPPFLAGS'
70719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
70728 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
70730 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
70731 for ac_func in _sqrtl
70732 do :
70733 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
70734 if test "x$ac_cv_func__sqrtl" = x""yes; then :
70735 cat >>confdefs.h <<_ACEOF
70736 #define HAVE__SQRTL 1
70737 _ACEOF
70740 done
70749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
70750 $as_echo_n "checking for sincosl declaration... " >&6; }
70751 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
70752 if test "${glibcxx_cv_func_sincosl_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>
70767 main ()
70769 sincosl(0, 0, 0);
70771 return 0;
70773 _ACEOF
70774 if ac_fn_cxx_try_compile "$LINENO"; then :
70775 glibcxx_cv_func_sincosl_use=yes
70776 else
70777 glibcxx_cv_func_sincosl_use=no
70779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70780 ac_ext=c
70781 ac_cpp='$CPP $CPPFLAGS'
70782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
70791 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
70793 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
70794 for ac_func in sincosl
70795 do :
70796 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
70797 if test "x$ac_cv_func_sincosl" = x""yes; then :
70798 cat >>confdefs.h <<_ACEOF
70799 #define HAVE_SINCOSL 1
70800 _ACEOF
70803 done
70805 else
70807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
70808 $as_echo_n "checking for _sincosl declaration... " >&6; }
70809 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
70810 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
70811 $as_echo_n "(cached) " >&6
70812 else
70815 ac_ext=cpp
70816 ac_cpp='$CXXCPP $CPPFLAGS'
70817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70822 /* end confdefs.h. */
70823 #include <math.h>
70825 main ()
70827 _sincosl(0, 0, 0);
70829 return 0;
70831 _ACEOF
70832 if ac_fn_cxx_try_compile "$LINENO"; then :
70833 glibcxx_cv_func__sincosl_use=yes
70834 else
70835 glibcxx_cv_func__sincosl_use=no
70837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70838 ac_ext=c
70839 ac_cpp='$CPP $CPPFLAGS'
70840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
70849 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
70851 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
70852 for ac_func in _sincosl
70853 do :
70854 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
70855 if test "x$ac_cv_func__sincosl" = x""yes; then :
70856 cat >>confdefs.h <<_ACEOF
70857 #define HAVE__SINCOSL 1
70858 _ACEOF
70861 done
70870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
70871 $as_echo_n "checking for finitel declaration... " >&6; }
70872 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
70873 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
70874 $as_echo_n "(cached) " >&6
70875 else
70878 ac_ext=cpp
70879 ac_cpp='$CXXCPP $CPPFLAGS'
70880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70885 /* end confdefs.h. */
70886 #include <math.h>
70887 #ifdef HAVE_IEEEFP_H
70888 #include <ieeefp.h>
70889 #endif
70892 main ()
70894 finitel(0);
70896 return 0;
70898 _ACEOF
70899 if ac_fn_cxx_try_compile "$LINENO"; then :
70900 glibcxx_cv_func_finitel_use=yes
70901 else
70902 glibcxx_cv_func_finitel_use=no
70904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70905 ac_ext=c
70906 ac_cpp='$CPP $CPPFLAGS'
70907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
70916 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
70918 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
70919 for ac_func in finitel
70920 do :
70921 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
70922 if test "x$ac_cv_func_finitel" = x""yes; then :
70923 cat >>confdefs.h <<_ACEOF
70924 #define HAVE_FINITEL 1
70925 _ACEOF
70928 done
70930 else
70932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
70933 $as_echo_n "checking for _finitel declaration... " >&6; }
70934 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
70935 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
70936 $as_echo_n "(cached) " >&6
70937 else
70940 ac_ext=cpp
70941 ac_cpp='$CXXCPP $CPPFLAGS'
70942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70947 /* end confdefs.h. */
70948 #include <math.h>
70949 #ifdef HAVE_IEEEFP_H
70950 #include <ieeefp.h>
70951 #endif
70954 main ()
70956 _finitel(0);
70958 return 0;
70960 _ACEOF
70961 if ac_fn_cxx_try_compile "$LINENO"; then :
70962 glibcxx_cv_func__finitel_use=yes
70963 else
70964 glibcxx_cv_func__finitel_use=no
70966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70967 ac_ext=c
70968 ac_cpp='$CPP $CPPFLAGS'
70969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
70978 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
70980 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
70981 for ac_func in _finitel
70982 do :
70983 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
70984 if test "x$ac_cv_func__finitel" = x""yes; then :
70985 cat >>confdefs.h <<_ACEOF
70986 #define HAVE__FINITEL 1
70987 _ACEOF
70990 done
70998 LIBS="$ac_save_LIBS"
70999 CXXFLAGS="$ac_save_CXXFLAGS"
71002 ac_test_CXXFLAGS="${CXXFLAGS+set}"
71003 ac_save_CXXFLAGS="$CXXFLAGS"
71004 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
71007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
71008 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
71009 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
71010 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
71011 $as_echo_n "(cached) " >&6
71012 else
71015 ac_ext=cpp
71016 ac_cpp='$CXXCPP $CPPFLAGS'
71017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71022 /* end confdefs.h. */
71023 #include <stdlib.h>
71025 main ()
71027 at_quick_exit(0);
71029 return 0;
71031 _ACEOF
71032 if ac_fn_cxx_try_compile "$LINENO"; then :
71033 glibcxx_cv_func_at_quick_exit_use=yes
71034 else
71035 glibcxx_cv_func_at_quick_exit_use=no
71037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71038 ac_ext=c
71039 ac_cpp='$CPP $CPPFLAGS'
71040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
71049 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
71050 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
71051 for ac_func in at_quick_exit
71052 do :
71053 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
71054 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
71055 cat >>confdefs.h <<_ACEOF
71056 #define HAVE_AT_QUICK_EXIT 1
71057 _ACEOF
71060 done
71065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
71066 $as_echo_n "checking for quick_exit declaration... " >&6; }
71067 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
71068 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
71069 $as_echo_n "(cached) " >&6
71070 else
71073 ac_ext=cpp
71074 ac_cpp='$CXXCPP $CPPFLAGS'
71075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71080 /* end confdefs.h. */
71081 #include <stdlib.h>
71083 main ()
71085 quick_exit(0);
71087 return 0;
71089 _ACEOF
71090 if ac_fn_cxx_try_compile "$LINENO"; then :
71091 glibcxx_cv_func_quick_exit_use=yes
71092 else
71093 glibcxx_cv_func_quick_exit_use=no
71095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71096 ac_ext=c
71097 ac_cpp='$CPP $CPPFLAGS'
71098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
71107 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
71108 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
71109 for ac_func in quick_exit
71110 do :
71111 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
71112 if test "x$ac_cv_func_quick_exit" = x""yes; then :
71113 cat >>confdefs.h <<_ACEOF
71114 #define HAVE_QUICK_EXIT 1
71115 _ACEOF
71118 done
71123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
71124 $as_echo_n "checking for strtold declaration... " >&6; }
71125 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
71126 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
71127 $as_echo_n "(cached) " >&6
71128 else
71131 ac_ext=cpp
71132 ac_cpp='$CXXCPP $CPPFLAGS'
71133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71138 /* end confdefs.h. */
71139 #include <stdlib.h>
71141 main ()
71143 strtold(0, 0);
71145 return 0;
71147 _ACEOF
71148 if ac_fn_cxx_try_compile "$LINENO"; then :
71149 glibcxx_cv_func_strtold_use=yes
71150 else
71151 glibcxx_cv_func_strtold_use=no
71153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71154 ac_ext=c
71155 ac_cpp='$CPP $CPPFLAGS'
71156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
71165 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
71166 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
71167 for ac_func in strtold
71168 do :
71169 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
71170 if test "x$ac_cv_func_strtold" = x""yes; then :
71171 cat >>confdefs.h <<_ACEOF
71172 #define HAVE_STRTOLD 1
71173 _ACEOF
71176 done
71183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
71184 $as_echo_n "checking for strtof declaration... " >&6; }
71185 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
71186 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
71187 $as_echo_n "(cached) " >&6
71188 else
71191 ac_ext=cpp
71192 ac_cpp='$CXXCPP $CPPFLAGS'
71193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71198 /* end confdefs.h. */
71199 #include <stdlib.h>
71201 main ()
71203 strtof(0, 0);
71205 return 0;
71207 _ACEOF
71208 if ac_fn_cxx_try_compile "$LINENO"; then :
71209 glibcxx_cv_func_strtof_use=yes
71210 else
71211 glibcxx_cv_func_strtof_use=no
71213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71214 ac_ext=c
71215 ac_cpp='$CPP $CPPFLAGS'
71216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
71225 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
71226 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
71227 for ac_func in strtof
71228 do :
71229 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
71230 if test "x$ac_cv_func_strtof" = x""yes; then :
71231 cat >>confdefs.h <<_ACEOF
71232 #define HAVE_STRTOF 1
71233 _ACEOF
71236 done
71243 CXXFLAGS="$ac_save_CXXFLAGS"
71246 *-solaris*)
71248 # If we're not using GNU ld, then there's no point in even trying these
71249 # tests. Check for that first. We should have already tested for gld
71250 # by now (in libtool), but require it now just to be safe...
71251 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
71252 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
71256 # The name set by libtool depends on the version of libtool. Shame on us
71257 # for depending on an impl detail, but c'est la vie. Older versions used
71258 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
71259 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
71260 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
71261 # set (hence we're using an older libtool), then set it.
71262 if test x${with_gnu_ld+set} != xset; then
71263 if test x${ac_cv_prog_gnu_ld+set} != xset; then
71264 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
71265 with_gnu_ld=no
71266 else
71267 with_gnu_ld=$ac_cv_prog_gnu_ld
71271 # Start by getting the version number. I think the libtool test already
71272 # does some of this, but throws away the result.
71273 glibcxx_ld_is_gold=no
71274 if test x"$with_gnu_ld" = x"yes"; then
71275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
71276 $as_echo_n "checking for ld version... " >&6; }
71278 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
71279 glibcxx_ld_is_gold=yes
71281 ldver=`$LD --version 2>/dev/null |
71282 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'`
71284 glibcxx_gnu_ld_version=`echo $ldver | \
71285 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
71286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
71287 $as_echo "$glibcxx_gnu_ld_version" >&6; }
71290 # Set --gc-sections.
71291 glibcxx_have_gc_sections=no
71292 if test "$glibcxx_ld_is_gold" = "yes"; then
71293 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
71294 glibcxx_have_gc_sections=yes
71296 else
71297 glibcxx_gcsections_min_ld=21602
71298 if test x"$with_gnu_ld" = x"yes" &&
71299 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
71300 glibcxx_have_gc_sections=yes
71303 if test "$glibcxx_have_gc_sections" = "yes"; then
71304 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
71305 # NB: This flag only works reliably after 2.16.1. Configure tests
71306 # for this are difficult, so hard wire a value that should work.
71308 ac_test_CFLAGS="${CFLAGS+set}"
71309 ac_save_CFLAGS="$CFLAGS"
71310 CFLAGS='-Wl,--gc-sections'
71312 # Check for -Wl,--gc-sections
71313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
71314 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
71315 if test x$gcc_no_link = xyes; then
71316 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71319 /* end confdefs.h. */
71320 int one(void) { return 1; }
71321 int two(void) { return 2; }
71324 main ()
71326 two();
71328 return 0;
71330 _ACEOF
71331 if ac_fn_c_try_link "$LINENO"; then :
71332 ac_gcsections=yes
71333 else
71334 ac_gcsections=no
71336 rm -f core conftest.err conftest.$ac_objext \
71337 conftest$ac_exeext conftest.$ac_ext
71338 if test "$ac_gcsections" = "yes"; then
71339 rm -f conftest.c
71340 touch conftest.c
71341 if $CC -c conftest.c; then
71342 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
71343 grep "Warning: gc-sections option ignored" > /dev/null; then
71344 ac_gcsections=no
71347 rm -f conftest.c conftest.o conftest
71349 if test "$ac_gcsections" = "yes"; then
71350 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
71352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
71353 $as_echo "$ac_gcsections" >&6; }
71355 if test "$ac_test_CFLAGS" = set; then
71356 CFLAGS="$ac_save_CFLAGS"
71357 else
71358 # this is the suspicious part
71359 CFLAGS=''
71363 # Set -z,relro.
71364 # Note this is only for shared objects.
71365 ac_ld_relro=no
71366 if test x"$with_gnu_ld" = x"yes"; then
71367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
71368 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
71369 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
71370 if test -n "$cxx_z_relo"; then
71371 OPT_LDFLAGS="-Wl,-z,relro"
71372 ac_ld_relro=yes
71374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
71375 $as_echo "$ac_ld_relro" >&6; }
71378 # Set linker optimization flags.
71379 if test x"$with_gnu_ld" = x"yes"; then
71380 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
71386 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
71388 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
71390 $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
71392 # All of the dependencies for wide character support are here, so
71393 # turn it on.
71394 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
71396 # These two C99 functions are present only in Solaris >= 10
71397 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
71399 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
71401 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
71403 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
71405 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
71407 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
71410 *-tpf)
71411 SECTION_FLAGS='-ffunction-sections -fdata-sections'
71412 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
71414 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
71416 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
71418 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
71420 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
71422 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
71424 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
71426 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
71428 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
71430 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
71432 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
71434 if test x"long_double_math_on_this_cpu" = x"yes"; then
71435 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
71437 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
71439 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
71441 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
71445 *-*vms*)
71446 # Check for available headers.
71447 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
71449 ac_test_CXXFLAGS="${CXXFLAGS+set}"
71450 ac_save_CXXFLAGS="$CXXFLAGS"
71451 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
71453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
71454 $as_echo_n "checking for sin in -lm... " >&6; }
71455 if test "${ac_cv_lib_m_sin+set}" = set; then :
71456 $as_echo_n "(cached) " >&6
71457 else
71458 ac_check_lib_save_LIBS=$LIBS
71459 LIBS="-lm $LIBS"
71460 if test x$gcc_no_link = xyes; then
71461 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71464 /* end confdefs.h. */
71466 /* Override any GCC internal prototype to avoid an error.
71467 Use char because int might match the return type of a GCC
71468 builtin and then its argument prototype would still apply. */
71469 #ifdef __cplusplus
71470 extern "C"
71471 #endif
71472 char sin ();
71474 main ()
71476 return sin ();
71478 return 0;
71480 _ACEOF
71481 if ac_fn_c_try_link "$LINENO"; then :
71482 ac_cv_lib_m_sin=yes
71483 else
71484 ac_cv_lib_m_sin=no
71486 rm -f core conftest.err conftest.$ac_objext \
71487 conftest$ac_exeext conftest.$ac_ext
71488 LIBS=$ac_check_lib_save_LIBS
71490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
71491 $as_echo "$ac_cv_lib_m_sin" >&6; }
71492 if test "x$ac_cv_lib_m_sin" = x""yes; then :
71493 libm="-lm"
71496 ac_save_LIBS="$LIBS"
71497 LIBS="$LIBS $libm"
71501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
71502 $as_echo_n "checking for isinf declaration... " >&6; }
71503 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
71504 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
71505 $as_echo_n "(cached) " >&6
71506 else
71509 ac_ext=cpp
71510 ac_cpp='$CXXCPP $CPPFLAGS'
71511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71516 /* end confdefs.h. */
71517 #include <math.h>
71518 #ifdef HAVE_IEEEFP_H
71519 #include <ieeefp.h>
71520 #endif
71523 main ()
71525 isinf(0);
71527 return 0;
71529 _ACEOF
71530 if ac_fn_cxx_try_compile "$LINENO"; then :
71531 glibcxx_cv_func_isinf_use=yes
71532 else
71533 glibcxx_cv_func_isinf_use=no
71535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71536 ac_ext=c
71537 ac_cpp='$CPP $CPPFLAGS'
71538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
71547 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
71549 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
71550 for ac_func in isinf
71551 do :
71552 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
71553 if test "x$ac_cv_func_isinf" = x""yes; then :
71554 cat >>confdefs.h <<_ACEOF
71555 #define HAVE_ISINF 1
71556 _ACEOF
71559 done
71561 else
71563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
71564 $as_echo_n "checking for _isinf declaration... " >&6; }
71565 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
71566 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
71567 $as_echo_n "(cached) " >&6
71568 else
71571 ac_ext=cpp
71572 ac_cpp='$CXXCPP $CPPFLAGS'
71573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71578 /* end confdefs.h. */
71579 #include <math.h>
71580 #ifdef HAVE_IEEEFP_H
71581 #include <ieeefp.h>
71582 #endif
71585 main ()
71587 _isinf(0);
71589 return 0;
71591 _ACEOF
71592 if ac_fn_cxx_try_compile "$LINENO"; then :
71593 glibcxx_cv_func__isinf_use=yes
71594 else
71595 glibcxx_cv_func__isinf_use=no
71597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71598 ac_ext=c
71599 ac_cpp='$CPP $CPPFLAGS'
71600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
71609 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
71611 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
71612 for ac_func in _isinf
71613 do :
71614 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
71615 if test "x$ac_cv_func__isinf" = x""yes; then :
71616 cat >>confdefs.h <<_ACEOF
71617 #define HAVE__ISINF 1
71618 _ACEOF
71621 done
71630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
71631 $as_echo_n "checking for isnan declaration... " >&6; }
71632 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
71633 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
71634 $as_echo_n "(cached) " >&6
71635 else
71638 ac_ext=cpp
71639 ac_cpp='$CXXCPP $CPPFLAGS'
71640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71645 /* end confdefs.h. */
71646 #include <math.h>
71647 #ifdef HAVE_IEEEFP_H
71648 #include <ieeefp.h>
71649 #endif
71652 main ()
71654 isnan(0);
71656 return 0;
71658 _ACEOF
71659 if ac_fn_cxx_try_compile "$LINENO"; then :
71660 glibcxx_cv_func_isnan_use=yes
71661 else
71662 glibcxx_cv_func_isnan_use=no
71664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71665 ac_ext=c
71666 ac_cpp='$CPP $CPPFLAGS'
71667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
71676 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
71678 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
71679 for ac_func in isnan
71680 do :
71681 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
71682 if test "x$ac_cv_func_isnan" = x""yes; then :
71683 cat >>confdefs.h <<_ACEOF
71684 #define HAVE_ISNAN 1
71685 _ACEOF
71688 done
71690 else
71692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
71693 $as_echo_n "checking for _isnan declaration... " >&6; }
71694 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
71695 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
71696 $as_echo_n "(cached) " >&6
71697 else
71700 ac_ext=cpp
71701 ac_cpp='$CXXCPP $CPPFLAGS'
71702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71707 /* end confdefs.h. */
71708 #include <math.h>
71709 #ifdef HAVE_IEEEFP_H
71710 #include <ieeefp.h>
71711 #endif
71714 main ()
71716 _isnan(0);
71718 return 0;
71720 _ACEOF
71721 if ac_fn_cxx_try_compile "$LINENO"; then :
71722 glibcxx_cv_func__isnan_use=yes
71723 else
71724 glibcxx_cv_func__isnan_use=no
71726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71727 ac_ext=c
71728 ac_cpp='$CPP $CPPFLAGS'
71729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
71738 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
71740 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
71741 for ac_func in _isnan
71742 do :
71743 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
71744 if test "x$ac_cv_func__isnan" = x""yes; then :
71745 cat >>confdefs.h <<_ACEOF
71746 #define HAVE__ISNAN 1
71747 _ACEOF
71750 done
71759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
71760 $as_echo_n "checking for finite declaration... " >&6; }
71761 if test x${glibcxx_cv_func_finite_use+set} != xset; then
71762 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
71763 $as_echo_n "(cached) " >&6
71764 else
71767 ac_ext=cpp
71768 ac_cpp='$CXXCPP $CPPFLAGS'
71769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71774 /* end confdefs.h. */
71775 #include <math.h>
71776 #ifdef HAVE_IEEEFP_H
71777 #include <ieeefp.h>
71778 #endif
71781 main ()
71783 finite(0);
71785 return 0;
71787 _ACEOF
71788 if ac_fn_cxx_try_compile "$LINENO"; then :
71789 glibcxx_cv_func_finite_use=yes
71790 else
71791 glibcxx_cv_func_finite_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_finite_use" >&5
71805 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
71807 if test x$glibcxx_cv_func_finite_use = x"yes"; then
71808 for ac_func in finite
71809 do :
71810 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
71811 if test "x$ac_cv_func_finite" = x""yes; then :
71812 cat >>confdefs.h <<_ACEOF
71813 #define HAVE_FINITE 1
71814 _ACEOF
71817 done
71819 else
71821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
71822 $as_echo_n "checking for _finite declaration... " >&6; }
71823 if test x${glibcxx_cv_func__finite_use+set} != xset; then
71824 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
71825 $as_echo_n "(cached) " >&6
71826 else
71829 ac_ext=cpp
71830 ac_cpp='$CXXCPP $CPPFLAGS'
71831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71836 /* end confdefs.h. */
71837 #include <math.h>
71838 #ifdef HAVE_IEEEFP_H
71839 #include <ieeefp.h>
71840 #endif
71843 main ()
71845 _finite(0);
71847 return 0;
71849 _ACEOF
71850 if ac_fn_cxx_try_compile "$LINENO"; then :
71851 glibcxx_cv_func__finite_use=yes
71852 else
71853 glibcxx_cv_func__finite_use=no
71855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71856 ac_ext=c
71857 ac_cpp='$CPP $CPPFLAGS'
71858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
71867 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
71869 if test x$glibcxx_cv_func__finite_use = x"yes"; then
71870 for ac_func in _finite
71871 do :
71872 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
71873 if test "x$ac_cv_func__finite" = x""yes; then :
71874 cat >>confdefs.h <<_ACEOF
71875 #define HAVE__FINITE 1
71876 _ACEOF
71879 done
71888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
71889 $as_echo_n "checking for sincos declaration... " >&6; }
71890 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
71891 if test "${glibcxx_cv_func_sincos_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>
71906 main ()
71908 sincos(0, 0, 0);
71910 return 0;
71912 _ACEOF
71913 if ac_fn_cxx_try_compile "$LINENO"; then :
71914 glibcxx_cv_func_sincos_use=yes
71915 else
71916 glibcxx_cv_func_sincos_use=no
71918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71919 ac_ext=c
71920 ac_cpp='$CPP $CPPFLAGS'
71921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
71930 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
71932 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
71933 for ac_func in sincos
71934 do :
71935 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
71936 if test "x$ac_cv_func_sincos" = x""yes; then :
71937 cat >>confdefs.h <<_ACEOF
71938 #define HAVE_SINCOS 1
71939 _ACEOF
71942 done
71944 else
71946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
71947 $as_echo_n "checking for _sincos declaration... " >&6; }
71948 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
71949 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
71950 $as_echo_n "(cached) " >&6
71951 else
71954 ac_ext=cpp
71955 ac_cpp='$CXXCPP $CPPFLAGS'
71956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71961 /* end confdefs.h. */
71962 #include <math.h>
71964 main ()
71966 _sincos(0, 0, 0);
71968 return 0;
71970 _ACEOF
71971 if ac_fn_cxx_try_compile "$LINENO"; then :
71972 glibcxx_cv_func__sincos_use=yes
71973 else
71974 glibcxx_cv_func__sincos_use=no
71976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71977 ac_ext=c
71978 ac_cpp='$CPP $CPPFLAGS'
71979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
71988 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
71990 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
71991 for ac_func in _sincos
71992 do :
71993 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
71994 if test "x$ac_cv_func__sincos" = x""yes; then :
71995 cat >>confdefs.h <<_ACEOF
71996 #define HAVE__SINCOS 1
71997 _ACEOF
72000 done
72009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
72010 $as_echo_n "checking for fpclass declaration... " >&6; }
72011 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
72012 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
72013 $as_echo_n "(cached) " >&6
72014 else
72017 ac_ext=cpp
72018 ac_cpp='$CXXCPP $CPPFLAGS'
72019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72024 /* end confdefs.h. */
72025 #include <math.h>
72026 #ifdef HAVE_IEEEFP_H
72027 #include <ieeefp.h>
72028 #endif
72031 main ()
72033 fpclass(0);
72035 return 0;
72037 _ACEOF
72038 if ac_fn_cxx_try_compile "$LINENO"; then :
72039 glibcxx_cv_func_fpclass_use=yes
72040 else
72041 glibcxx_cv_func_fpclass_use=no
72043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72044 ac_ext=c
72045 ac_cpp='$CPP $CPPFLAGS'
72046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
72055 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
72057 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
72058 for ac_func in fpclass
72059 do :
72060 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
72061 if test "x$ac_cv_func_fpclass" = x""yes; then :
72062 cat >>confdefs.h <<_ACEOF
72063 #define HAVE_FPCLASS 1
72064 _ACEOF
72067 done
72069 else
72071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
72072 $as_echo_n "checking for _fpclass declaration... " >&6; }
72073 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
72074 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
72075 $as_echo_n "(cached) " >&6
72076 else
72079 ac_ext=cpp
72080 ac_cpp='$CXXCPP $CPPFLAGS'
72081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72086 /* end confdefs.h. */
72087 #include <math.h>
72088 #ifdef HAVE_IEEEFP_H
72089 #include <ieeefp.h>
72090 #endif
72093 main ()
72095 _fpclass(0);
72097 return 0;
72099 _ACEOF
72100 if ac_fn_cxx_try_compile "$LINENO"; then :
72101 glibcxx_cv_func__fpclass_use=yes
72102 else
72103 glibcxx_cv_func__fpclass_use=no
72105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72106 ac_ext=c
72107 ac_cpp='$CPP $CPPFLAGS'
72108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
72117 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
72119 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
72120 for ac_func in _fpclass
72121 do :
72122 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
72123 if test "x$ac_cv_func__fpclass" = x""yes; then :
72124 cat >>confdefs.h <<_ACEOF
72125 #define HAVE__FPCLASS 1
72126 _ACEOF
72129 done
72138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
72139 $as_echo_n "checking for qfpclass declaration... " >&6; }
72140 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
72141 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
72142 $as_echo_n "(cached) " >&6
72143 else
72146 ac_ext=cpp
72147 ac_cpp='$CXXCPP $CPPFLAGS'
72148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72153 /* end confdefs.h. */
72154 #include <math.h>
72155 #ifdef HAVE_IEEEFP_H
72156 #include <ieeefp.h>
72157 #endif
72160 main ()
72162 qfpclass(0);
72164 return 0;
72166 _ACEOF
72167 if ac_fn_cxx_try_compile "$LINENO"; then :
72168 glibcxx_cv_func_qfpclass_use=yes
72169 else
72170 glibcxx_cv_func_qfpclass_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_qfpclass_use" >&5
72184 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
72186 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
72187 for ac_func in qfpclass
72188 do :
72189 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
72190 if test "x$ac_cv_func_qfpclass" = x""yes; then :
72191 cat >>confdefs.h <<_ACEOF
72192 #define HAVE_QFPCLASS 1
72193 _ACEOF
72196 done
72198 else
72200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
72201 $as_echo_n "checking for _qfpclass declaration... " >&6; }
72202 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
72203 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
72204 $as_echo_n "(cached) " >&6
72205 else
72208 ac_ext=cpp
72209 ac_cpp='$CXXCPP $CPPFLAGS'
72210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72215 /* end confdefs.h. */
72216 #include <math.h>
72217 #ifdef HAVE_IEEEFP_H
72218 #include <ieeefp.h>
72219 #endif
72222 main ()
72224 _qfpclass(0);
72226 return 0;
72228 _ACEOF
72229 if ac_fn_cxx_try_compile "$LINENO"; then :
72230 glibcxx_cv_func__qfpclass_use=yes
72231 else
72232 glibcxx_cv_func__qfpclass_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
72245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
72246 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
72248 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
72249 for ac_func in _qfpclass
72250 do :
72251 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
72252 if test "x$ac_cv_func__qfpclass" = x""yes; then :
72253 cat >>confdefs.h <<_ACEOF
72254 #define HAVE__QFPCLASS 1
72255 _ACEOF
72258 done
72267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
72268 $as_echo_n "checking for hypot declaration... " >&6; }
72269 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
72270 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
72271 $as_echo_n "(cached) " >&6
72272 else
72275 ac_ext=cpp
72276 ac_cpp='$CXXCPP $CPPFLAGS'
72277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72282 /* end confdefs.h. */
72283 #include <math.h>
72285 main ()
72287 hypot(0, 0);
72289 return 0;
72291 _ACEOF
72292 if ac_fn_cxx_try_compile "$LINENO"; then :
72293 glibcxx_cv_func_hypot_use=yes
72294 else
72295 glibcxx_cv_func_hypot_use=no
72297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72298 ac_ext=c
72299 ac_cpp='$CPP $CPPFLAGS'
72300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
72309 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
72311 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
72312 for ac_func in hypot
72313 do :
72314 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
72315 if test "x$ac_cv_func_hypot" = x""yes; then :
72316 cat >>confdefs.h <<_ACEOF
72317 #define HAVE_HYPOT 1
72318 _ACEOF
72321 done
72323 else
72325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
72326 $as_echo_n "checking for _hypot declaration... " >&6; }
72327 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
72328 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
72329 $as_echo_n "(cached) " >&6
72330 else
72333 ac_ext=cpp
72334 ac_cpp='$CXXCPP $CPPFLAGS'
72335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72340 /* end confdefs.h. */
72341 #include <math.h>
72343 main ()
72345 _hypot(0, 0);
72347 return 0;
72349 _ACEOF
72350 if ac_fn_cxx_try_compile "$LINENO"; then :
72351 glibcxx_cv_func__hypot_use=yes
72352 else
72353 glibcxx_cv_func__hypot_use=no
72355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72356 ac_ext=c
72357 ac_cpp='$CPP $CPPFLAGS'
72358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
72367 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
72369 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
72370 for ac_func in _hypot
72371 do :
72372 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
72373 if test "x$ac_cv_func__hypot" = x""yes; then :
72374 cat >>confdefs.h <<_ACEOF
72375 #define HAVE__HYPOT 1
72376 _ACEOF
72379 done
72388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
72389 $as_echo_n "checking for float trig functions... " >&6; }
72390 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
72391 $as_echo_n "(cached) " >&6
72392 else
72395 ac_ext=cpp
72396 ac_cpp='$CXXCPP $CPPFLAGS'
72397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72402 /* end confdefs.h. */
72403 #include <math.h>
72405 main ()
72407 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
72409 return 0;
72411 _ACEOF
72412 if ac_fn_cxx_try_compile "$LINENO"; then :
72413 glibcxx_cv_func_float_trig_use=yes
72414 else
72415 glibcxx_cv_func_float_trig_use=no
72417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72418 ac_ext=c
72419 ac_cpp='$CPP $CPPFLAGS'
72420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
72427 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
72428 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
72429 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
72430 do :
72431 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
72432 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
72433 eval as_val=\$$as_ac_var
72434 if test "x$as_val" = x""yes; then :
72435 cat >>confdefs.h <<_ACEOF
72436 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
72437 _ACEOF
72440 done
72442 else
72443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
72444 $as_echo_n "checking for _float trig functions... " >&6; }
72445 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
72446 $as_echo_n "(cached) " >&6
72447 else
72450 ac_ext=cpp
72451 ac_cpp='$CXXCPP $CPPFLAGS'
72452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72457 /* end confdefs.h. */
72458 #include <math.h>
72460 main ()
72462 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
72464 return 0;
72466 _ACEOF
72467 if ac_fn_cxx_try_compile "$LINENO"; then :
72468 glibcxx_cv_func__float_trig_use=yes
72469 else
72470 glibcxx_cv_func__float_trig_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
72481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
72482 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
72483 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
72484 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
72485 do :
72486 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
72487 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
72488 eval as_val=\$$as_ac_var
72489 if test "x$as_val" = x""yes; then :
72490 cat >>confdefs.h <<_ACEOF
72491 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
72492 _ACEOF
72495 done
72504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
72505 $as_echo_n "checking for float round functions... " >&6; }
72506 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
72507 $as_echo_n "(cached) " >&6
72508 else
72511 ac_ext=cpp
72512 ac_cpp='$CXXCPP $CPPFLAGS'
72513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72518 /* end confdefs.h. */
72519 #include <math.h>
72521 main ()
72523 ceilf (0); floorf (0);
72525 return 0;
72527 _ACEOF
72528 if ac_fn_cxx_try_compile "$LINENO"; then :
72529 glibcxx_cv_func_float_round_use=yes
72530 else
72531 glibcxx_cv_func_float_round_use=no
72533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72534 ac_ext=c
72535 ac_cpp='$CPP $CPPFLAGS'
72536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
72543 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
72544 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
72545 for ac_func in ceilf floorf
72546 do :
72547 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
72548 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
72549 eval as_val=\$$as_ac_var
72550 if test "x$as_val" = x""yes; then :
72551 cat >>confdefs.h <<_ACEOF
72552 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
72553 _ACEOF
72556 done
72558 else
72559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
72560 $as_echo_n "checking for _float round functions... " >&6; }
72561 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
72562 $as_echo_n "(cached) " >&6
72563 else
72566 ac_ext=cpp
72567 ac_cpp='$CXXCPP $CPPFLAGS'
72568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72573 /* end confdefs.h. */
72574 #include <math.h>
72576 main ()
72578 _ceilf (0); _floorf (0);
72580 return 0;
72582 _ACEOF
72583 if ac_fn_cxx_try_compile "$LINENO"; then :
72584 glibcxx_cv_func__float_round_use=yes
72585 else
72586 glibcxx_cv_func__float_round_use=no
72588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72589 ac_ext=c
72590 ac_cpp='$CPP $CPPFLAGS'
72591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
72598 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
72599 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
72600 for ac_func in _ceilf _floorf
72601 do :
72602 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
72603 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
72604 eval as_val=\$$as_ac_var
72605 if test "x$as_val" = x""yes; then :
72606 cat >>confdefs.h <<_ACEOF
72607 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
72608 _ACEOF
72611 done
72621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
72622 $as_echo_n "checking for expf declaration... " >&6; }
72623 if test x${glibcxx_cv_func_expf_use+set} != xset; then
72624 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
72625 $as_echo_n "(cached) " >&6
72626 else
72629 ac_ext=cpp
72630 ac_cpp='$CXXCPP $CPPFLAGS'
72631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72636 /* end confdefs.h. */
72637 #include <math.h>
72638 #ifdef HAVE_IEEEFP_H
72639 #include <ieeefp.h>
72640 #endif
72643 main ()
72645 expf(0);
72647 return 0;
72649 _ACEOF
72650 if ac_fn_cxx_try_compile "$LINENO"; then :
72651 glibcxx_cv_func_expf_use=yes
72652 else
72653 glibcxx_cv_func_expf_use=no
72655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72656 ac_ext=c
72657 ac_cpp='$CPP $CPPFLAGS'
72658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
72667 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
72669 if test x$glibcxx_cv_func_expf_use = x"yes"; then
72670 for ac_func in expf
72671 do :
72672 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
72673 if test "x$ac_cv_func_expf" = x""yes; then :
72674 cat >>confdefs.h <<_ACEOF
72675 #define HAVE_EXPF 1
72676 _ACEOF
72679 done
72681 else
72683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
72684 $as_echo_n "checking for _expf declaration... " >&6; }
72685 if test x${glibcxx_cv_func__expf_use+set} != xset; then
72686 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
72687 $as_echo_n "(cached) " >&6
72688 else
72691 ac_ext=cpp
72692 ac_cpp='$CXXCPP $CPPFLAGS'
72693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72698 /* end confdefs.h. */
72699 #include <math.h>
72700 #ifdef HAVE_IEEEFP_H
72701 #include <ieeefp.h>
72702 #endif
72705 main ()
72707 _expf(0);
72709 return 0;
72711 _ACEOF
72712 if ac_fn_cxx_try_compile "$LINENO"; then :
72713 glibcxx_cv_func__expf_use=yes
72714 else
72715 glibcxx_cv_func__expf_use=no
72717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72718 ac_ext=c
72719 ac_cpp='$CPP $CPPFLAGS'
72720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
72729 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
72731 if test x$glibcxx_cv_func__expf_use = x"yes"; then
72732 for ac_func in _expf
72733 do :
72734 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
72735 if test "x$ac_cv_func__expf" = x""yes; then :
72736 cat >>confdefs.h <<_ACEOF
72737 #define HAVE__EXPF 1
72738 _ACEOF
72741 done
72750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
72751 $as_echo_n "checking for isnanf declaration... " >&6; }
72752 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
72753 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
72754 $as_echo_n "(cached) " >&6
72755 else
72758 ac_ext=cpp
72759 ac_cpp='$CXXCPP $CPPFLAGS'
72760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72765 /* end confdefs.h. */
72766 #include <math.h>
72767 #ifdef HAVE_IEEEFP_H
72768 #include <ieeefp.h>
72769 #endif
72772 main ()
72774 isnanf(0);
72776 return 0;
72778 _ACEOF
72779 if ac_fn_cxx_try_compile "$LINENO"; then :
72780 glibcxx_cv_func_isnanf_use=yes
72781 else
72782 glibcxx_cv_func_isnanf_use=no
72784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72785 ac_ext=c
72786 ac_cpp='$CPP $CPPFLAGS'
72787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
72796 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
72798 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
72799 for ac_func in isnanf
72800 do :
72801 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
72802 if test "x$ac_cv_func_isnanf" = x""yes; then :
72803 cat >>confdefs.h <<_ACEOF
72804 #define HAVE_ISNANF 1
72805 _ACEOF
72808 done
72810 else
72812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
72813 $as_echo_n "checking for _isnanf declaration... " >&6; }
72814 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
72815 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
72816 $as_echo_n "(cached) " >&6
72817 else
72820 ac_ext=cpp
72821 ac_cpp='$CXXCPP $CPPFLAGS'
72822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72827 /* end confdefs.h. */
72828 #include <math.h>
72829 #ifdef HAVE_IEEEFP_H
72830 #include <ieeefp.h>
72831 #endif
72834 main ()
72836 _isnanf(0);
72838 return 0;
72840 _ACEOF
72841 if ac_fn_cxx_try_compile "$LINENO"; then :
72842 glibcxx_cv_func__isnanf_use=yes
72843 else
72844 glibcxx_cv_func__isnanf_use=no
72846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72847 ac_ext=c
72848 ac_cpp='$CPP $CPPFLAGS'
72849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
72858 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
72860 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
72861 for ac_func in _isnanf
72862 do :
72863 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
72864 if test "x$ac_cv_func__isnanf" = x""yes; then :
72865 cat >>confdefs.h <<_ACEOF
72866 #define HAVE__ISNANF 1
72867 _ACEOF
72870 done
72879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
72880 $as_echo_n "checking for isinff declaration... " >&6; }
72881 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
72882 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
72883 $as_echo_n "(cached) " >&6
72884 else
72887 ac_ext=cpp
72888 ac_cpp='$CXXCPP $CPPFLAGS'
72889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72894 /* end confdefs.h. */
72895 #include <math.h>
72896 #ifdef HAVE_IEEEFP_H
72897 #include <ieeefp.h>
72898 #endif
72901 main ()
72903 isinff(0);
72905 return 0;
72907 _ACEOF
72908 if ac_fn_cxx_try_compile "$LINENO"; then :
72909 glibcxx_cv_func_isinff_use=yes
72910 else
72911 glibcxx_cv_func_isinff_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_isinff_use" >&5
72925 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
72927 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
72928 for ac_func in isinff
72929 do :
72930 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
72931 if test "x$ac_cv_func_isinff" = x""yes; then :
72932 cat >>confdefs.h <<_ACEOF
72933 #define HAVE_ISINFF 1
72934 _ACEOF
72937 done
72939 else
72941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
72942 $as_echo_n "checking for _isinff declaration... " >&6; }
72943 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
72944 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
72945 $as_echo_n "(cached) " >&6
72946 else
72949 ac_ext=cpp
72950 ac_cpp='$CXXCPP $CPPFLAGS'
72951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72956 /* end confdefs.h. */
72957 #include <math.h>
72958 #ifdef HAVE_IEEEFP_H
72959 #include <ieeefp.h>
72960 #endif
72963 main ()
72965 _isinff(0);
72967 return 0;
72969 _ACEOF
72970 if ac_fn_cxx_try_compile "$LINENO"; then :
72971 glibcxx_cv_func__isinff_use=yes
72972 else
72973 glibcxx_cv_func__isinff_use=no
72975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72976 ac_ext=c
72977 ac_cpp='$CPP $CPPFLAGS'
72978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
72987 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
72989 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
72990 for ac_func in _isinff
72991 do :
72992 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
72993 if test "x$ac_cv_func__isinff" = x""yes; then :
72994 cat >>confdefs.h <<_ACEOF
72995 #define HAVE__ISINFF 1
72996 _ACEOF
72999 done
73008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
73009 $as_echo_n "checking for atan2f declaration... " >&6; }
73010 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
73011 if test "${glibcxx_cv_func_atan2f_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>
73026 main ()
73028 atan2f(0, 0);
73030 return 0;
73032 _ACEOF
73033 if ac_fn_cxx_try_compile "$LINENO"; then :
73034 glibcxx_cv_func_atan2f_use=yes
73035 else
73036 glibcxx_cv_func_atan2f_use=no
73038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73039 ac_ext=c
73040 ac_cpp='$CPP $CPPFLAGS'
73041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
73050 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
73052 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
73053 for ac_func in atan2f
73054 do :
73055 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
73056 if test "x$ac_cv_func_atan2f" = x""yes; then :
73057 cat >>confdefs.h <<_ACEOF
73058 #define HAVE_ATAN2F 1
73059 _ACEOF
73062 done
73064 else
73066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
73067 $as_echo_n "checking for _atan2f declaration... " >&6; }
73068 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
73069 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
73070 $as_echo_n "(cached) " >&6
73071 else
73074 ac_ext=cpp
73075 ac_cpp='$CXXCPP $CPPFLAGS'
73076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73081 /* end confdefs.h. */
73082 #include <math.h>
73084 main ()
73086 _atan2f(0, 0);
73088 return 0;
73090 _ACEOF
73091 if ac_fn_cxx_try_compile "$LINENO"; then :
73092 glibcxx_cv_func__atan2f_use=yes
73093 else
73094 glibcxx_cv_func__atan2f_use=no
73096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73097 ac_ext=c
73098 ac_cpp='$CPP $CPPFLAGS'
73099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
73108 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
73110 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
73111 for ac_func in _atan2f
73112 do :
73113 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
73114 if test "x$ac_cv_func__atan2f" = x""yes; then :
73115 cat >>confdefs.h <<_ACEOF
73116 #define HAVE__ATAN2F 1
73117 _ACEOF
73120 done
73129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
73130 $as_echo_n "checking for fabsf declaration... " >&6; }
73131 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
73132 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
73133 $as_echo_n "(cached) " >&6
73134 else
73137 ac_ext=cpp
73138 ac_cpp='$CXXCPP $CPPFLAGS'
73139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73144 /* end confdefs.h. */
73145 #include <math.h>
73146 #ifdef HAVE_IEEEFP_H
73147 #include <ieeefp.h>
73148 #endif
73151 main ()
73153 fabsf(0);
73155 return 0;
73157 _ACEOF
73158 if ac_fn_cxx_try_compile "$LINENO"; then :
73159 glibcxx_cv_func_fabsf_use=yes
73160 else
73161 glibcxx_cv_func_fabsf_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_fabsf_use" >&5
73175 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
73177 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
73178 for ac_func in fabsf
73179 do :
73180 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
73181 if test "x$ac_cv_func_fabsf" = x""yes; then :
73182 cat >>confdefs.h <<_ACEOF
73183 #define HAVE_FABSF 1
73184 _ACEOF
73187 done
73189 else
73191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
73192 $as_echo_n "checking for _fabsf declaration... " >&6; }
73193 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
73194 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
73195 $as_echo_n "(cached) " >&6
73196 else
73199 ac_ext=cpp
73200 ac_cpp='$CXXCPP $CPPFLAGS'
73201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73206 /* end confdefs.h. */
73207 #include <math.h>
73208 #ifdef HAVE_IEEEFP_H
73209 #include <ieeefp.h>
73210 #endif
73213 main ()
73215 _fabsf(0);
73217 return 0;
73219 _ACEOF
73220 if ac_fn_cxx_try_compile "$LINENO"; then :
73221 glibcxx_cv_func__fabsf_use=yes
73222 else
73223 glibcxx_cv_func__fabsf_use=no
73225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73226 ac_ext=c
73227 ac_cpp='$CPP $CPPFLAGS'
73228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
73237 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
73239 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
73240 for ac_func in _fabsf
73241 do :
73242 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
73243 if test "x$ac_cv_func__fabsf" = x""yes; then :
73244 cat >>confdefs.h <<_ACEOF
73245 #define HAVE__FABSF 1
73246 _ACEOF
73249 done
73258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
73259 $as_echo_n "checking for fmodf declaration... " >&6; }
73260 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
73261 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
73262 $as_echo_n "(cached) " >&6
73263 else
73266 ac_ext=cpp
73267 ac_cpp='$CXXCPP $CPPFLAGS'
73268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73273 /* end confdefs.h. */
73274 #include <math.h>
73276 main ()
73278 fmodf(0, 0);
73280 return 0;
73282 _ACEOF
73283 if ac_fn_cxx_try_compile "$LINENO"; then :
73284 glibcxx_cv_func_fmodf_use=yes
73285 else
73286 glibcxx_cv_func_fmodf_use=no
73288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73289 ac_ext=c
73290 ac_cpp='$CPP $CPPFLAGS'
73291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
73300 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
73302 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
73303 for ac_func in fmodf
73304 do :
73305 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
73306 if test "x$ac_cv_func_fmodf" = x""yes; then :
73307 cat >>confdefs.h <<_ACEOF
73308 #define HAVE_FMODF 1
73309 _ACEOF
73312 done
73314 else
73316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
73317 $as_echo_n "checking for _fmodf declaration... " >&6; }
73318 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
73319 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
73320 $as_echo_n "(cached) " >&6
73321 else
73324 ac_ext=cpp
73325 ac_cpp='$CXXCPP $CPPFLAGS'
73326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73331 /* end confdefs.h. */
73332 #include <math.h>
73334 main ()
73336 _fmodf(0, 0);
73338 return 0;
73340 _ACEOF
73341 if ac_fn_cxx_try_compile "$LINENO"; then :
73342 glibcxx_cv_func__fmodf_use=yes
73343 else
73344 glibcxx_cv_func__fmodf_use=no
73346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73347 ac_ext=c
73348 ac_cpp='$CPP $CPPFLAGS'
73349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
73358 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
73360 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
73361 for ac_func in _fmodf
73362 do :
73363 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
73364 if test "x$ac_cv_func__fmodf" = x""yes; then :
73365 cat >>confdefs.h <<_ACEOF
73366 #define HAVE__FMODF 1
73367 _ACEOF
73370 done
73379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
73380 $as_echo_n "checking for frexpf declaration... " >&6; }
73381 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
73382 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
73383 $as_echo_n "(cached) " >&6
73384 else
73387 ac_ext=cpp
73388 ac_cpp='$CXXCPP $CPPFLAGS'
73389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73394 /* end confdefs.h. */
73395 #include <math.h>
73397 main ()
73399 frexpf(0, 0);
73401 return 0;
73403 _ACEOF
73404 if ac_fn_cxx_try_compile "$LINENO"; then :
73405 glibcxx_cv_func_frexpf_use=yes
73406 else
73407 glibcxx_cv_func_frexpf_use=no
73409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73410 ac_ext=c
73411 ac_cpp='$CPP $CPPFLAGS'
73412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
73421 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
73423 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
73424 for ac_func in frexpf
73425 do :
73426 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
73427 if test "x$ac_cv_func_frexpf" = x""yes; then :
73428 cat >>confdefs.h <<_ACEOF
73429 #define HAVE_FREXPF 1
73430 _ACEOF
73433 done
73435 else
73437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
73438 $as_echo_n "checking for _frexpf declaration... " >&6; }
73439 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
73440 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
73441 $as_echo_n "(cached) " >&6
73442 else
73445 ac_ext=cpp
73446 ac_cpp='$CXXCPP $CPPFLAGS'
73447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73452 /* end confdefs.h. */
73453 #include <math.h>
73455 main ()
73457 _frexpf(0, 0);
73459 return 0;
73461 _ACEOF
73462 if ac_fn_cxx_try_compile "$LINENO"; then :
73463 glibcxx_cv_func__frexpf_use=yes
73464 else
73465 glibcxx_cv_func__frexpf_use=no
73467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73468 ac_ext=c
73469 ac_cpp='$CPP $CPPFLAGS'
73470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
73479 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
73481 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
73482 for ac_func in _frexpf
73483 do :
73484 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
73485 if test "x$ac_cv_func__frexpf" = x""yes; then :
73486 cat >>confdefs.h <<_ACEOF
73487 #define HAVE__FREXPF 1
73488 _ACEOF
73491 done
73500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
73501 $as_echo_n "checking for hypotf declaration... " >&6; }
73502 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
73503 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
73504 $as_echo_n "(cached) " >&6
73505 else
73508 ac_ext=cpp
73509 ac_cpp='$CXXCPP $CPPFLAGS'
73510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73515 /* end confdefs.h. */
73516 #include <math.h>
73518 main ()
73520 hypotf(0, 0);
73522 return 0;
73524 _ACEOF
73525 if ac_fn_cxx_try_compile "$LINENO"; then :
73526 glibcxx_cv_func_hypotf_use=yes
73527 else
73528 glibcxx_cv_func_hypotf_use=no
73530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73531 ac_ext=c
73532 ac_cpp='$CPP $CPPFLAGS'
73533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
73542 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
73544 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
73545 for ac_func in hypotf
73546 do :
73547 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
73548 if test "x$ac_cv_func_hypotf" = x""yes; then :
73549 cat >>confdefs.h <<_ACEOF
73550 #define HAVE_HYPOTF 1
73551 _ACEOF
73554 done
73556 else
73558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
73559 $as_echo_n "checking for _hypotf declaration... " >&6; }
73560 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
73561 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
73562 $as_echo_n "(cached) " >&6
73563 else
73566 ac_ext=cpp
73567 ac_cpp='$CXXCPP $CPPFLAGS'
73568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73573 /* end confdefs.h. */
73574 #include <math.h>
73576 main ()
73578 _hypotf(0, 0);
73580 return 0;
73582 _ACEOF
73583 if ac_fn_cxx_try_compile "$LINENO"; then :
73584 glibcxx_cv_func__hypotf_use=yes
73585 else
73586 glibcxx_cv_func__hypotf_use=no
73588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73589 ac_ext=c
73590 ac_cpp='$CPP $CPPFLAGS'
73591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
73600 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
73602 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
73603 for ac_func in _hypotf
73604 do :
73605 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
73606 if test "x$ac_cv_func__hypotf" = x""yes; then :
73607 cat >>confdefs.h <<_ACEOF
73608 #define HAVE__HYPOTF 1
73609 _ACEOF
73612 done
73621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
73622 $as_echo_n "checking for ldexpf declaration... " >&6; }
73623 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
73624 if test "${glibcxx_cv_func_ldexpf_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>
73639 main ()
73641 ldexpf(0, 0);
73643 return 0;
73645 _ACEOF
73646 if ac_fn_cxx_try_compile "$LINENO"; then :
73647 glibcxx_cv_func_ldexpf_use=yes
73648 else
73649 glibcxx_cv_func_ldexpf_use=no
73651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73652 ac_ext=c
73653 ac_cpp='$CPP $CPPFLAGS'
73654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
73663 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
73665 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
73666 for ac_func in ldexpf
73667 do :
73668 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
73669 if test "x$ac_cv_func_ldexpf" = x""yes; then :
73670 cat >>confdefs.h <<_ACEOF
73671 #define HAVE_LDEXPF 1
73672 _ACEOF
73675 done
73677 else
73679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
73680 $as_echo_n "checking for _ldexpf declaration... " >&6; }
73681 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
73682 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
73683 $as_echo_n "(cached) " >&6
73684 else
73687 ac_ext=cpp
73688 ac_cpp='$CXXCPP $CPPFLAGS'
73689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73694 /* end confdefs.h. */
73695 #include <math.h>
73697 main ()
73699 _ldexpf(0, 0);
73701 return 0;
73703 _ACEOF
73704 if ac_fn_cxx_try_compile "$LINENO"; then :
73705 glibcxx_cv_func__ldexpf_use=yes
73706 else
73707 glibcxx_cv_func__ldexpf_use=no
73709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73710 ac_ext=c
73711 ac_cpp='$CPP $CPPFLAGS'
73712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
73721 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
73723 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
73724 for ac_func in _ldexpf
73725 do :
73726 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
73727 if test "x$ac_cv_func__ldexpf" = x""yes; then :
73728 cat >>confdefs.h <<_ACEOF
73729 #define HAVE__LDEXPF 1
73730 _ACEOF
73733 done
73742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
73743 $as_echo_n "checking for logf declaration... " >&6; }
73744 if test x${glibcxx_cv_func_logf_use+set} != xset; then
73745 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
73746 $as_echo_n "(cached) " >&6
73747 else
73750 ac_ext=cpp
73751 ac_cpp='$CXXCPP $CPPFLAGS'
73752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73757 /* end confdefs.h. */
73758 #include <math.h>
73759 #ifdef HAVE_IEEEFP_H
73760 #include <ieeefp.h>
73761 #endif
73764 main ()
73766 logf(0);
73768 return 0;
73770 _ACEOF
73771 if ac_fn_cxx_try_compile "$LINENO"; then :
73772 glibcxx_cv_func_logf_use=yes
73773 else
73774 glibcxx_cv_func_logf_use=no
73776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73777 ac_ext=c
73778 ac_cpp='$CPP $CPPFLAGS'
73779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
73788 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
73790 if test x$glibcxx_cv_func_logf_use = x"yes"; then
73791 for ac_func in logf
73792 do :
73793 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
73794 if test "x$ac_cv_func_logf" = x""yes; then :
73795 cat >>confdefs.h <<_ACEOF
73796 #define HAVE_LOGF 1
73797 _ACEOF
73800 done
73802 else
73804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
73805 $as_echo_n "checking for _logf declaration... " >&6; }
73806 if test x${glibcxx_cv_func__logf_use+set} != xset; then
73807 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
73808 $as_echo_n "(cached) " >&6
73809 else
73812 ac_ext=cpp
73813 ac_cpp='$CXXCPP $CPPFLAGS'
73814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73819 /* end confdefs.h. */
73820 #include <math.h>
73821 #ifdef HAVE_IEEEFP_H
73822 #include <ieeefp.h>
73823 #endif
73826 main ()
73828 _logf(0);
73830 return 0;
73832 _ACEOF
73833 if ac_fn_cxx_try_compile "$LINENO"; then :
73834 glibcxx_cv_func__logf_use=yes
73835 else
73836 glibcxx_cv_func__logf_use=no
73838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73839 ac_ext=c
73840 ac_cpp='$CPP $CPPFLAGS'
73841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
73850 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
73852 if test x$glibcxx_cv_func__logf_use = x"yes"; then
73853 for ac_func in _logf
73854 do :
73855 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
73856 if test "x$ac_cv_func__logf" = x""yes; then :
73857 cat >>confdefs.h <<_ACEOF
73858 #define HAVE__LOGF 1
73859 _ACEOF
73862 done
73871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
73872 $as_echo_n "checking for log10f declaration... " >&6; }
73873 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
73874 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
73875 $as_echo_n "(cached) " >&6
73876 else
73879 ac_ext=cpp
73880 ac_cpp='$CXXCPP $CPPFLAGS'
73881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73886 /* end confdefs.h. */
73887 #include <math.h>
73888 #ifdef HAVE_IEEEFP_H
73889 #include <ieeefp.h>
73890 #endif
73893 main ()
73895 log10f(0);
73897 return 0;
73899 _ACEOF
73900 if ac_fn_cxx_try_compile "$LINENO"; then :
73901 glibcxx_cv_func_log10f_use=yes
73902 else
73903 glibcxx_cv_func_log10f_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_log10f_use" >&5
73917 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
73919 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
73920 for ac_func in log10f
73921 do :
73922 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
73923 if test "x$ac_cv_func_log10f" = x""yes; then :
73924 cat >>confdefs.h <<_ACEOF
73925 #define HAVE_LOG10F 1
73926 _ACEOF
73929 done
73931 else
73933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
73934 $as_echo_n "checking for _log10f declaration... " >&6; }
73935 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
73936 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
73937 $as_echo_n "(cached) " >&6
73938 else
73941 ac_ext=cpp
73942 ac_cpp='$CXXCPP $CPPFLAGS'
73943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73948 /* end confdefs.h. */
73949 #include <math.h>
73950 #ifdef HAVE_IEEEFP_H
73951 #include <ieeefp.h>
73952 #endif
73955 main ()
73957 _log10f(0);
73959 return 0;
73961 _ACEOF
73962 if ac_fn_cxx_try_compile "$LINENO"; then :
73963 glibcxx_cv_func__log10f_use=yes
73964 else
73965 glibcxx_cv_func__log10f_use=no
73967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73968 ac_ext=c
73969 ac_cpp='$CPP $CPPFLAGS'
73970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
73979 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
73981 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
73982 for ac_func in _log10f
73983 do :
73984 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
73985 if test "x$ac_cv_func__log10f" = x""yes; then :
73986 cat >>confdefs.h <<_ACEOF
73987 #define HAVE__LOG10F 1
73988 _ACEOF
73991 done
74000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
74001 $as_echo_n "checking for modff declaration... " >&6; }
74002 if test x${glibcxx_cv_func_modff_use+set} != xset; then
74003 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
74004 $as_echo_n "(cached) " >&6
74005 else
74008 ac_ext=cpp
74009 ac_cpp='$CXXCPP $CPPFLAGS'
74010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74015 /* end confdefs.h. */
74016 #include <math.h>
74018 main ()
74020 modff(0, 0);
74022 return 0;
74024 _ACEOF
74025 if ac_fn_cxx_try_compile "$LINENO"; then :
74026 glibcxx_cv_func_modff_use=yes
74027 else
74028 glibcxx_cv_func_modff_use=no
74030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74031 ac_ext=c
74032 ac_cpp='$CPP $CPPFLAGS'
74033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
74042 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
74044 if test x$glibcxx_cv_func_modff_use = x"yes"; then
74045 for ac_func in modff
74046 do :
74047 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
74048 if test "x$ac_cv_func_modff" = x""yes; then :
74049 cat >>confdefs.h <<_ACEOF
74050 #define HAVE_MODFF 1
74051 _ACEOF
74054 done
74056 else
74058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
74059 $as_echo_n "checking for _modff declaration... " >&6; }
74060 if test x${glibcxx_cv_func__modff_use+set} != xset; then
74061 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
74062 $as_echo_n "(cached) " >&6
74063 else
74066 ac_ext=cpp
74067 ac_cpp='$CXXCPP $CPPFLAGS'
74068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74073 /* end confdefs.h. */
74074 #include <math.h>
74076 main ()
74078 _modff(0, 0);
74080 return 0;
74082 _ACEOF
74083 if ac_fn_cxx_try_compile "$LINENO"; then :
74084 glibcxx_cv_func__modff_use=yes
74085 else
74086 glibcxx_cv_func__modff_use=no
74088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74089 ac_ext=c
74090 ac_cpp='$CPP $CPPFLAGS'
74091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
74100 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
74102 if test x$glibcxx_cv_func__modff_use = x"yes"; then
74103 for ac_func in _modff
74104 do :
74105 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
74106 if test "x$ac_cv_func__modff" = x""yes; then :
74107 cat >>confdefs.h <<_ACEOF
74108 #define HAVE__MODFF 1
74109 _ACEOF
74112 done
74121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
74122 $as_echo_n "checking for modf declaration... " >&6; }
74123 if test x${glibcxx_cv_func_modf_use+set} != xset; then
74124 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
74125 $as_echo_n "(cached) " >&6
74126 else
74129 ac_ext=cpp
74130 ac_cpp='$CXXCPP $CPPFLAGS'
74131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74136 /* end confdefs.h. */
74137 #include <math.h>
74139 main ()
74141 modf(0, 0);
74143 return 0;
74145 _ACEOF
74146 if ac_fn_cxx_try_compile "$LINENO"; then :
74147 glibcxx_cv_func_modf_use=yes
74148 else
74149 glibcxx_cv_func_modf_use=no
74151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74152 ac_ext=c
74153 ac_cpp='$CPP $CPPFLAGS'
74154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
74163 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
74165 if test x$glibcxx_cv_func_modf_use = x"yes"; then
74166 for ac_func in modf
74167 do :
74168 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
74169 if test "x$ac_cv_func_modf" = x""yes; then :
74170 cat >>confdefs.h <<_ACEOF
74171 #define HAVE_MODF 1
74172 _ACEOF
74175 done
74177 else
74179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
74180 $as_echo_n "checking for _modf declaration... " >&6; }
74181 if test x${glibcxx_cv_func__modf_use+set} != xset; then
74182 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
74183 $as_echo_n "(cached) " >&6
74184 else
74187 ac_ext=cpp
74188 ac_cpp='$CXXCPP $CPPFLAGS'
74189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74194 /* end confdefs.h. */
74195 #include <math.h>
74197 main ()
74199 _modf(0, 0);
74201 return 0;
74203 _ACEOF
74204 if ac_fn_cxx_try_compile "$LINENO"; then :
74205 glibcxx_cv_func__modf_use=yes
74206 else
74207 glibcxx_cv_func__modf_use=no
74209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74210 ac_ext=c
74211 ac_cpp='$CPP $CPPFLAGS'
74212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
74221 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
74223 if test x$glibcxx_cv_func__modf_use = x"yes"; then
74224 for ac_func in _modf
74225 do :
74226 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
74227 if test "x$ac_cv_func__modf" = x""yes; then :
74228 cat >>confdefs.h <<_ACEOF
74229 #define HAVE__MODF 1
74230 _ACEOF
74233 done
74242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
74243 $as_echo_n "checking for powf declaration... " >&6; }
74244 if test x${glibcxx_cv_func_powf_use+set} != xset; then
74245 if test "${glibcxx_cv_func_powf_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>
74260 main ()
74262 powf(0, 0);
74264 return 0;
74266 _ACEOF
74267 if ac_fn_cxx_try_compile "$LINENO"; then :
74268 glibcxx_cv_func_powf_use=yes
74269 else
74270 glibcxx_cv_func_powf_use=no
74272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74273 ac_ext=c
74274 ac_cpp='$CPP $CPPFLAGS'
74275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
74284 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
74286 if test x$glibcxx_cv_func_powf_use = x"yes"; then
74287 for ac_func in powf
74288 do :
74289 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
74290 if test "x$ac_cv_func_powf" = x""yes; then :
74291 cat >>confdefs.h <<_ACEOF
74292 #define HAVE_POWF 1
74293 _ACEOF
74296 done
74298 else
74300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
74301 $as_echo_n "checking for _powf declaration... " >&6; }
74302 if test x${glibcxx_cv_func__powf_use+set} != xset; then
74303 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
74304 $as_echo_n "(cached) " >&6
74305 else
74308 ac_ext=cpp
74309 ac_cpp='$CXXCPP $CPPFLAGS'
74310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74315 /* end confdefs.h. */
74316 #include <math.h>
74318 main ()
74320 _powf(0, 0);
74322 return 0;
74324 _ACEOF
74325 if ac_fn_cxx_try_compile "$LINENO"; then :
74326 glibcxx_cv_func__powf_use=yes
74327 else
74328 glibcxx_cv_func__powf_use=no
74330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74331 ac_ext=c
74332 ac_cpp='$CPP $CPPFLAGS'
74333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
74342 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
74344 if test x$glibcxx_cv_func__powf_use = x"yes"; then
74345 for ac_func in _powf
74346 do :
74347 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
74348 if test "x$ac_cv_func__powf" = x""yes; then :
74349 cat >>confdefs.h <<_ACEOF
74350 #define HAVE__POWF 1
74351 _ACEOF
74354 done
74363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
74364 $as_echo_n "checking for sqrtf declaration... " >&6; }
74365 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
74366 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
74367 $as_echo_n "(cached) " >&6
74368 else
74371 ac_ext=cpp
74372 ac_cpp='$CXXCPP $CPPFLAGS'
74373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74378 /* end confdefs.h. */
74379 #include <math.h>
74380 #ifdef HAVE_IEEEFP_H
74381 #include <ieeefp.h>
74382 #endif
74385 main ()
74387 sqrtf(0);
74389 return 0;
74391 _ACEOF
74392 if ac_fn_cxx_try_compile "$LINENO"; then :
74393 glibcxx_cv_func_sqrtf_use=yes
74394 else
74395 glibcxx_cv_func_sqrtf_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_sqrtf_use" >&5
74409 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
74411 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
74412 for ac_func in sqrtf
74413 do :
74414 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
74415 if test "x$ac_cv_func_sqrtf" = x""yes; then :
74416 cat >>confdefs.h <<_ACEOF
74417 #define HAVE_SQRTF 1
74418 _ACEOF
74421 done
74423 else
74425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
74426 $as_echo_n "checking for _sqrtf declaration... " >&6; }
74427 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
74428 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
74429 $as_echo_n "(cached) " >&6
74430 else
74433 ac_ext=cpp
74434 ac_cpp='$CXXCPP $CPPFLAGS'
74435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74440 /* end confdefs.h. */
74441 #include <math.h>
74442 #ifdef HAVE_IEEEFP_H
74443 #include <ieeefp.h>
74444 #endif
74447 main ()
74449 _sqrtf(0);
74451 return 0;
74453 _ACEOF
74454 if ac_fn_cxx_try_compile "$LINENO"; then :
74455 glibcxx_cv_func__sqrtf_use=yes
74456 else
74457 glibcxx_cv_func__sqrtf_use=no
74459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74460 ac_ext=c
74461 ac_cpp='$CPP $CPPFLAGS'
74462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
74471 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
74473 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
74474 for ac_func in _sqrtf
74475 do :
74476 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
74477 if test "x$ac_cv_func__sqrtf" = x""yes; then :
74478 cat >>confdefs.h <<_ACEOF
74479 #define HAVE__SQRTF 1
74480 _ACEOF
74483 done
74492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
74493 $as_echo_n "checking for sincosf declaration... " >&6; }
74494 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
74495 if test "${glibcxx_cv_func_sincosf_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>
74510 main ()
74512 sincosf(0, 0, 0);
74514 return 0;
74516 _ACEOF
74517 if ac_fn_cxx_try_compile "$LINENO"; then :
74518 glibcxx_cv_func_sincosf_use=yes
74519 else
74520 glibcxx_cv_func_sincosf_use=no
74522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74523 ac_ext=c
74524 ac_cpp='$CPP $CPPFLAGS'
74525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
74534 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
74536 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
74537 for ac_func in sincosf
74538 do :
74539 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
74540 if test "x$ac_cv_func_sincosf" = x""yes; then :
74541 cat >>confdefs.h <<_ACEOF
74542 #define HAVE_SINCOSF 1
74543 _ACEOF
74546 done
74548 else
74550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
74551 $as_echo_n "checking for _sincosf declaration... " >&6; }
74552 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
74553 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
74554 $as_echo_n "(cached) " >&6
74555 else
74558 ac_ext=cpp
74559 ac_cpp='$CXXCPP $CPPFLAGS'
74560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74565 /* end confdefs.h. */
74566 #include <math.h>
74568 main ()
74570 _sincosf(0, 0, 0);
74572 return 0;
74574 _ACEOF
74575 if ac_fn_cxx_try_compile "$LINENO"; then :
74576 glibcxx_cv_func__sincosf_use=yes
74577 else
74578 glibcxx_cv_func__sincosf_use=no
74580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74581 ac_ext=c
74582 ac_cpp='$CPP $CPPFLAGS'
74583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
74592 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
74594 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
74595 for ac_func in _sincosf
74596 do :
74597 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
74598 if test "x$ac_cv_func__sincosf" = x""yes; then :
74599 cat >>confdefs.h <<_ACEOF
74600 #define HAVE__SINCOSF 1
74601 _ACEOF
74604 done
74613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
74614 $as_echo_n "checking for finitef declaration... " >&6; }
74615 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
74616 if test "${glibcxx_cv_func_finitef_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>
74630 #ifdef HAVE_IEEEFP_H
74631 #include <ieeefp.h>
74632 #endif
74635 main ()
74637 finitef(0);
74639 return 0;
74641 _ACEOF
74642 if ac_fn_cxx_try_compile "$LINENO"; then :
74643 glibcxx_cv_func_finitef_use=yes
74644 else
74645 glibcxx_cv_func_finitef_use=no
74647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74648 ac_ext=c
74649 ac_cpp='$CPP $CPPFLAGS'
74650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
74659 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
74661 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
74662 for ac_func in finitef
74663 do :
74664 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
74665 if test "x$ac_cv_func_finitef" = x""yes; then :
74666 cat >>confdefs.h <<_ACEOF
74667 #define HAVE_FINITEF 1
74668 _ACEOF
74671 done
74673 else
74675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
74676 $as_echo_n "checking for _finitef declaration... " >&6; }
74677 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
74678 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
74679 $as_echo_n "(cached) " >&6
74680 else
74683 ac_ext=cpp
74684 ac_cpp='$CXXCPP $CPPFLAGS'
74685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74690 /* end confdefs.h. */
74691 #include <math.h>
74692 #ifdef HAVE_IEEEFP_H
74693 #include <ieeefp.h>
74694 #endif
74697 main ()
74699 _finitef(0);
74701 return 0;
74703 _ACEOF
74704 if ac_fn_cxx_try_compile "$LINENO"; then :
74705 glibcxx_cv_func__finitef_use=yes
74706 else
74707 glibcxx_cv_func__finitef_use=no
74709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74710 ac_ext=c
74711 ac_cpp='$CPP $CPPFLAGS'
74712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
74721 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
74723 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
74724 for ac_func in _finitef
74725 do :
74726 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
74727 if test "x$ac_cv_func__finitef" = x""yes; then :
74728 cat >>confdefs.h <<_ACEOF
74729 #define HAVE__FINITEF 1
74730 _ACEOF
74733 done
74742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
74743 $as_echo_n "checking for long double trig functions... " >&6; }
74744 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
74745 $as_echo_n "(cached) " >&6
74746 else
74749 ac_ext=cpp
74750 ac_cpp='$CXXCPP $CPPFLAGS'
74751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74756 /* end confdefs.h. */
74757 #include <math.h>
74759 main ()
74761 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
74763 return 0;
74765 _ACEOF
74766 if ac_fn_cxx_try_compile "$LINENO"; then :
74767 glibcxx_cv_func_long_double_trig_use=yes
74768 else
74769 glibcxx_cv_func_long_double_trig_use=no
74771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74772 ac_ext=c
74773 ac_cpp='$CPP $CPPFLAGS'
74774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
74781 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
74782 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
74783 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
74784 do :
74785 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
74786 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
74787 eval as_val=\$$as_ac_var
74788 if test "x$as_val" = x""yes; then :
74789 cat >>confdefs.h <<_ACEOF
74790 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
74791 _ACEOF
74794 done
74796 else
74797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
74798 $as_echo_n "checking for _long double trig functions... " >&6; }
74799 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
74800 $as_echo_n "(cached) " >&6
74801 else
74804 ac_ext=cpp
74805 ac_cpp='$CXXCPP $CPPFLAGS'
74806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74811 /* end confdefs.h. */
74812 #include <math.h>
74814 main ()
74816 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
74818 return 0;
74820 _ACEOF
74821 if ac_fn_cxx_try_compile "$LINENO"; then :
74822 glibcxx_cv_func__long_double_trig_use=yes
74823 else
74824 glibcxx_cv_func__long_double_trig_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
74835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
74836 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
74837 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
74838 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
74839 do :
74840 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
74841 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
74842 eval as_val=\$$as_ac_var
74843 if test "x$as_val" = x""yes; then :
74844 cat >>confdefs.h <<_ACEOF
74845 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
74846 _ACEOF
74849 done
74858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
74859 $as_echo_n "checking for long double round functions... " >&6; }
74860 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
74861 $as_echo_n "(cached) " >&6
74862 else
74865 ac_ext=cpp
74866 ac_cpp='$CXXCPP $CPPFLAGS'
74867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74872 /* end confdefs.h. */
74873 #include <math.h>
74875 main ()
74877 ceill (0); floorl (0);
74879 return 0;
74881 _ACEOF
74882 if ac_fn_cxx_try_compile "$LINENO"; then :
74883 glibcxx_cv_func_long_double_round_use=yes
74884 else
74885 glibcxx_cv_func_long_double_round_use=no
74887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74888 ac_ext=c
74889 ac_cpp='$CPP $CPPFLAGS'
74890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
74897 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
74898 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
74899 for ac_func in ceill floorl
74900 do :
74901 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
74902 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
74903 eval as_val=\$$as_ac_var
74904 if test "x$as_val" = x""yes; then :
74905 cat >>confdefs.h <<_ACEOF
74906 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
74907 _ACEOF
74910 done
74912 else
74913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
74914 $as_echo_n "checking for _long double round functions... " >&6; }
74915 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
74916 $as_echo_n "(cached) " >&6
74917 else
74920 ac_ext=cpp
74921 ac_cpp='$CXXCPP $CPPFLAGS'
74922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74927 /* end confdefs.h. */
74928 #include <math.h>
74930 main ()
74932 _ceill (0); _floorl (0);
74934 return 0;
74936 _ACEOF
74937 if ac_fn_cxx_try_compile "$LINENO"; then :
74938 glibcxx_cv_func__long_double_round_use=yes
74939 else
74940 glibcxx_cv_func__long_double_round_use=no
74942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74943 ac_ext=c
74944 ac_cpp='$CPP $CPPFLAGS'
74945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
74952 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
74953 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
74954 for ac_func in _ceill _floorl
74955 do :
74956 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
74957 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
74958 eval as_val=\$$as_ac_var
74959 if test "x$as_val" = x""yes; then :
74960 cat >>confdefs.h <<_ACEOF
74961 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
74962 _ACEOF
74965 done
74975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
74976 $as_echo_n "checking for isnanl declaration... " >&6; }
74977 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
74978 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
74979 $as_echo_n "(cached) " >&6
74980 else
74983 ac_ext=cpp
74984 ac_cpp='$CXXCPP $CPPFLAGS'
74985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74990 /* end confdefs.h. */
74991 #include <math.h>
74992 #ifdef HAVE_IEEEFP_H
74993 #include <ieeefp.h>
74994 #endif
74997 main ()
74999 isnanl(0);
75001 return 0;
75003 _ACEOF
75004 if ac_fn_cxx_try_compile "$LINENO"; then :
75005 glibcxx_cv_func_isnanl_use=yes
75006 else
75007 glibcxx_cv_func_isnanl_use=no
75009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75010 ac_ext=c
75011 ac_cpp='$CPP $CPPFLAGS'
75012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
75021 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
75023 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
75024 for ac_func in isnanl
75025 do :
75026 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
75027 if test "x$ac_cv_func_isnanl" = x""yes; then :
75028 cat >>confdefs.h <<_ACEOF
75029 #define HAVE_ISNANL 1
75030 _ACEOF
75033 done
75035 else
75037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
75038 $as_echo_n "checking for _isnanl declaration... " >&6; }
75039 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
75040 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
75041 $as_echo_n "(cached) " >&6
75042 else
75045 ac_ext=cpp
75046 ac_cpp='$CXXCPP $CPPFLAGS'
75047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75052 /* end confdefs.h. */
75053 #include <math.h>
75054 #ifdef HAVE_IEEEFP_H
75055 #include <ieeefp.h>
75056 #endif
75059 main ()
75061 _isnanl(0);
75063 return 0;
75065 _ACEOF
75066 if ac_fn_cxx_try_compile "$LINENO"; then :
75067 glibcxx_cv_func__isnanl_use=yes
75068 else
75069 glibcxx_cv_func__isnanl_use=no
75071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75072 ac_ext=c
75073 ac_cpp='$CPP $CPPFLAGS'
75074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
75083 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
75085 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
75086 for ac_func in _isnanl
75087 do :
75088 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
75089 if test "x$ac_cv_func__isnanl" = x""yes; then :
75090 cat >>confdefs.h <<_ACEOF
75091 #define HAVE__ISNANL 1
75092 _ACEOF
75095 done
75104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
75105 $as_echo_n "checking for isinfl declaration... " >&6; }
75106 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
75107 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
75108 $as_echo_n "(cached) " >&6
75109 else
75112 ac_ext=cpp
75113 ac_cpp='$CXXCPP $CPPFLAGS'
75114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75119 /* end confdefs.h. */
75120 #include <math.h>
75121 #ifdef HAVE_IEEEFP_H
75122 #include <ieeefp.h>
75123 #endif
75126 main ()
75128 isinfl(0);
75130 return 0;
75132 _ACEOF
75133 if ac_fn_cxx_try_compile "$LINENO"; then :
75134 glibcxx_cv_func_isinfl_use=yes
75135 else
75136 glibcxx_cv_func_isinfl_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_isinfl_use" >&5
75150 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
75152 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
75153 for ac_func in isinfl
75154 do :
75155 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
75156 if test "x$ac_cv_func_isinfl" = x""yes; then :
75157 cat >>confdefs.h <<_ACEOF
75158 #define HAVE_ISINFL 1
75159 _ACEOF
75162 done
75164 else
75166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
75167 $as_echo_n "checking for _isinfl declaration... " >&6; }
75168 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
75169 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
75170 $as_echo_n "(cached) " >&6
75171 else
75174 ac_ext=cpp
75175 ac_cpp='$CXXCPP $CPPFLAGS'
75176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75181 /* end confdefs.h. */
75182 #include <math.h>
75183 #ifdef HAVE_IEEEFP_H
75184 #include <ieeefp.h>
75185 #endif
75188 main ()
75190 _isinfl(0);
75192 return 0;
75194 _ACEOF
75195 if ac_fn_cxx_try_compile "$LINENO"; then :
75196 glibcxx_cv_func__isinfl_use=yes
75197 else
75198 glibcxx_cv_func__isinfl_use=no
75200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75201 ac_ext=c
75202 ac_cpp='$CPP $CPPFLAGS'
75203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
75212 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
75214 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
75215 for ac_func in _isinfl
75216 do :
75217 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
75218 if test "x$ac_cv_func__isinfl" = x""yes; then :
75219 cat >>confdefs.h <<_ACEOF
75220 #define HAVE__ISINFL 1
75221 _ACEOF
75224 done
75233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
75234 $as_echo_n "checking for atan2l declaration... " >&6; }
75235 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
75236 if test "${glibcxx_cv_func_atan2l_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>
75251 main ()
75253 atan2l(0, 0);
75255 return 0;
75257 _ACEOF
75258 if ac_fn_cxx_try_compile "$LINENO"; then :
75259 glibcxx_cv_func_atan2l_use=yes
75260 else
75261 glibcxx_cv_func_atan2l_use=no
75263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75264 ac_ext=c
75265 ac_cpp='$CPP $CPPFLAGS'
75266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
75275 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
75277 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
75278 for ac_func in atan2l
75279 do :
75280 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
75281 if test "x$ac_cv_func_atan2l" = x""yes; then :
75282 cat >>confdefs.h <<_ACEOF
75283 #define HAVE_ATAN2L 1
75284 _ACEOF
75287 done
75289 else
75291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
75292 $as_echo_n "checking for _atan2l declaration... " >&6; }
75293 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
75294 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
75295 $as_echo_n "(cached) " >&6
75296 else
75299 ac_ext=cpp
75300 ac_cpp='$CXXCPP $CPPFLAGS'
75301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75306 /* end confdefs.h. */
75307 #include <math.h>
75309 main ()
75311 _atan2l(0, 0);
75313 return 0;
75315 _ACEOF
75316 if ac_fn_cxx_try_compile "$LINENO"; then :
75317 glibcxx_cv_func__atan2l_use=yes
75318 else
75319 glibcxx_cv_func__atan2l_use=no
75321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75322 ac_ext=c
75323 ac_cpp='$CPP $CPPFLAGS'
75324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
75333 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
75335 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
75336 for ac_func in _atan2l
75337 do :
75338 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
75339 if test "x$ac_cv_func__atan2l" = x""yes; then :
75340 cat >>confdefs.h <<_ACEOF
75341 #define HAVE__ATAN2L 1
75342 _ACEOF
75345 done
75354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
75355 $as_echo_n "checking for expl declaration... " >&6; }
75356 if test x${glibcxx_cv_func_expl_use+set} != xset; then
75357 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
75358 $as_echo_n "(cached) " >&6
75359 else
75362 ac_ext=cpp
75363 ac_cpp='$CXXCPP $CPPFLAGS'
75364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75369 /* end confdefs.h. */
75370 #include <math.h>
75371 #ifdef HAVE_IEEEFP_H
75372 #include <ieeefp.h>
75373 #endif
75376 main ()
75378 expl(0);
75380 return 0;
75382 _ACEOF
75383 if ac_fn_cxx_try_compile "$LINENO"; then :
75384 glibcxx_cv_func_expl_use=yes
75385 else
75386 glibcxx_cv_func_expl_use=no
75388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75389 ac_ext=c
75390 ac_cpp='$CPP $CPPFLAGS'
75391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
75400 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
75402 if test x$glibcxx_cv_func_expl_use = x"yes"; then
75403 for ac_func in expl
75404 do :
75405 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
75406 if test "x$ac_cv_func_expl" = x""yes; then :
75407 cat >>confdefs.h <<_ACEOF
75408 #define HAVE_EXPL 1
75409 _ACEOF
75412 done
75414 else
75416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
75417 $as_echo_n "checking for _expl declaration... " >&6; }
75418 if test x${glibcxx_cv_func__expl_use+set} != xset; then
75419 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
75420 $as_echo_n "(cached) " >&6
75421 else
75424 ac_ext=cpp
75425 ac_cpp='$CXXCPP $CPPFLAGS'
75426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75431 /* end confdefs.h. */
75432 #include <math.h>
75433 #ifdef HAVE_IEEEFP_H
75434 #include <ieeefp.h>
75435 #endif
75438 main ()
75440 _expl(0);
75442 return 0;
75444 _ACEOF
75445 if ac_fn_cxx_try_compile "$LINENO"; then :
75446 glibcxx_cv_func__expl_use=yes
75447 else
75448 glibcxx_cv_func__expl_use=no
75450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75451 ac_ext=c
75452 ac_cpp='$CPP $CPPFLAGS'
75453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
75462 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
75464 if test x$glibcxx_cv_func__expl_use = x"yes"; then
75465 for ac_func in _expl
75466 do :
75467 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
75468 if test "x$ac_cv_func__expl" = x""yes; then :
75469 cat >>confdefs.h <<_ACEOF
75470 #define HAVE__EXPL 1
75471 _ACEOF
75474 done
75483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
75484 $as_echo_n "checking for fabsl declaration... " >&6; }
75485 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
75486 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
75487 $as_echo_n "(cached) " >&6
75488 else
75491 ac_ext=cpp
75492 ac_cpp='$CXXCPP $CPPFLAGS'
75493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75498 /* end confdefs.h. */
75499 #include <math.h>
75500 #ifdef HAVE_IEEEFP_H
75501 #include <ieeefp.h>
75502 #endif
75505 main ()
75507 fabsl(0);
75509 return 0;
75511 _ACEOF
75512 if ac_fn_cxx_try_compile "$LINENO"; then :
75513 glibcxx_cv_func_fabsl_use=yes
75514 else
75515 glibcxx_cv_func_fabsl_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_fabsl_use" >&5
75529 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
75531 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
75532 for ac_func in fabsl
75533 do :
75534 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
75535 if test "x$ac_cv_func_fabsl" = x""yes; then :
75536 cat >>confdefs.h <<_ACEOF
75537 #define HAVE_FABSL 1
75538 _ACEOF
75541 done
75543 else
75545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
75546 $as_echo_n "checking for _fabsl declaration... " >&6; }
75547 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
75548 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
75549 $as_echo_n "(cached) " >&6
75550 else
75553 ac_ext=cpp
75554 ac_cpp='$CXXCPP $CPPFLAGS'
75555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75560 /* end confdefs.h. */
75561 #include <math.h>
75562 #ifdef HAVE_IEEEFP_H
75563 #include <ieeefp.h>
75564 #endif
75567 main ()
75569 _fabsl(0);
75571 return 0;
75573 _ACEOF
75574 if ac_fn_cxx_try_compile "$LINENO"; then :
75575 glibcxx_cv_func__fabsl_use=yes
75576 else
75577 glibcxx_cv_func__fabsl_use=no
75579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75580 ac_ext=c
75581 ac_cpp='$CPP $CPPFLAGS'
75582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
75591 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
75593 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
75594 for ac_func in _fabsl
75595 do :
75596 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
75597 if test "x$ac_cv_func__fabsl" = x""yes; then :
75598 cat >>confdefs.h <<_ACEOF
75599 #define HAVE__FABSL 1
75600 _ACEOF
75603 done
75612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
75613 $as_echo_n "checking for fmodl declaration... " >&6; }
75614 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
75615 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
75616 $as_echo_n "(cached) " >&6
75617 else
75620 ac_ext=cpp
75621 ac_cpp='$CXXCPP $CPPFLAGS'
75622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75627 /* end confdefs.h. */
75628 #include <math.h>
75630 main ()
75632 fmodl(0, 0);
75634 return 0;
75636 _ACEOF
75637 if ac_fn_cxx_try_compile "$LINENO"; then :
75638 glibcxx_cv_func_fmodl_use=yes
75639 else
75640 glibcxx_cv_func_fmodl_use=no
75642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75643 ac_ext=c
75644 ac_cpp='$CPP $CPPFLAGS'
75645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
75654 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
75656 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
75657 for ac_func in fmodl
75658 do :
75659 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
75660 if test "x$ac_cv_func_fmodl" = x""yes; then :
75661 cat >>confdefs.h <<_ACEOF
75662 #define HAVE_FMODL 1
75663 _ACEOF
75666 done
75668 else
75670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
75671 $as_echo_n "checking for _fmodl declaration... " >&6; }
75672 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
75673 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
75674 $as_echo_n "(cached) " >&6
75675 else
75678 ac_ext=cpp
75679 ac_cpp='$CXXCPP $CPPFLAGS'
75680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75685 /* end confdefs.h. */
75686 #include <math.h>
75688 main ()
75690 _fmodl(0, 0);
75692 return 0;
75694 _ACEOF
75695 if ac_fn_cxx_try_compile "$LINENO"; then :
75696 glibcxx_cv_func__fmodl_use=yes
75697 else
75698 glibcxx_cv_func__fmodl_use=no
75700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75701 ac_ext=c
75702 ac_cpp='$CPP $CPPFLAGS'
75703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
75712 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
75714 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
75715 for ac_func in _fmodl
75716 do :
75717 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
75718 if test "x$ac_cv_func__fmodl" = x""yes; then :
75719 cat >>confdefs.h <<_ACEOF
75720 #define HAVE__FMODL 1
75721 _ACEOF
75724 done
75733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
75734 $as_echo_n "checking for frexpl declaration... " >&6; }
75735 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
75736 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
75737 $as_echo_n "(cached) " >&6
75738 else
75741 ac_ext=cpp
75742 ac_cpp='$CXXCPP $CPPFLAGS'
75743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75748 /* end confdefs.h. */
75749 #include <math.h>
75751 main ()
75753 frexpl(0, 0);
75755 return 0;
75757 _ACEOF
75758 if ac_fn_cxx_try_compile "$LINENO"; then :
75759 glibcxx_cv_func_frexpl_use=yes
75760 else
75761 glibcxx_cv_func_frexpl_use=no
75763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75764 ac_ext=c
75765 ac_cpp='$CPP $CPPFLAGS'
75766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
75775 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
75777 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
75778 for ac_func in frexpl
75779 do :
75780 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
75781 if test "x$ac_cv_func_frexpl" = x""yes; then :
75782 cat >>confdefs.h <<_ACEOF
75783 #define HAVE_FREXPL 1
75784 _ACEOF
75787 done
75789 else
75791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
75792 $as_echo_n "checking for _frexpl declaration... " >&6; }
75793 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
75794 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
75795 $as_echo_n "(cached) " >&6
75796 else
75799 ac_ext=cpp
75800 ac_cpp='$CXXCPP $CPPFLAGS'
75801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75806 /* end confdefs.h. */
75807 #include <math.h>
75809 main ()
75811 _frexpl(0, 0);
75813 return 0;
75815 _ACEOF
75816 if ac_fn_cxx_try_compile "$LINENO"; then :
75817 glibcxx_cv_func__frexpl_use=yes
75818 else
75819 glibcxx_cv_func__frexpl_use=no
75821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75822 ac_ext=c
75823 ac_cpp='$CPP $CPPFLAGS'
75824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
75833 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
75835 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
75836 for ac_func in _frexpl
75837 do :
75838 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
75839 if test "x$ac_cv_func__frexpl" = x""yes; then :
75840 cat >>confdefs.h <<_ACEOF
75841 #define HAVE__FREXPL 1
75842 _ACEOF
75845 done
75854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
75855 $as_echo_n "checking for hypotl declaration... " >&6; }
75856 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
75857 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
75858 $as_echo_n "(cached) " >&6
75859 else
75862 ac_ext=cpp
75863 ac_cpp='$CXXCPP $CPPFLAGS'
75864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75869 /* end confdefs.h. */
75870 #include <math.h>
75872 main ()
75874 hypotl(0, 0);
75876 return 0;
75878 _ACEOF
75879 if ac_fn_cxx_try_compile "$LINENO"; then :
75880 glibcxx_cv_func_hypotl_use=yes
75881 else
75882 glibcxx_cv_func_hypotl_use=no
75884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75885 ac_ext=c
75886 ac_cpp='$CPP $CPPFLAGS'
75887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
75896 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
75898 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
75899 for ac_func in hypotl
75900 do :
75901 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
75902 if test "x$ac_cv_func_hypotl" = x""yes; then :
75903 cat >>confdefs.h <<_ACEOF
75904 #define HAVE_HYPOTL 1
75905 _ACEOF
75908 done
75910 else
75912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
75913 $as_echo_n "checking for _hypotl declaration... " >&6; }
75914 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
75915 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
75916 $as_echo_n "(cached) " >&6
75917 else
75920 ac_ext=cpp
75921 ac_cpp='$CXXCPP $CPPFLAGS'
75922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75927 /* end confdefs.h. */
75928 #include <math.h>
75930 main ()
75932 _hypotl(0, 0);
75934 return 0;
75936 _ACEOF
75937 if ac_fn_cxx_try_compile "$LINENO"; then :
75938 glibcxx_cv_func__hypotl_use=yes
75939 else
75940 glibcxx_cv_func__hypotl_use=no
75942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75943 ac_ext=c
75944 ac_cpp='$CPP $CPPFLAGS'
75945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
75954 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
75956 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
75957 for ac_func in _hypotl
75958 do :
75959 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
75960 if test "x$ac_cv_func__hypotl" = x""yes; then :
75961 cat >>confdefs.h <<_ACEOF
75962 #define HAVE__HYPOTL 1
75963 _ACEOF
75966 done
75975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
75976 $as_echo_n "checking for ldexpl declaration... " >&6; }
75977 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
75978 if test "${glibcxx_cv_func_ldexpl_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>
75993 main ()
75995 ldexpl(0, 0);
75997 return 0;
75999 _ACEOF
76000 if ac_fn_cxx_try_compile "$LINENO"; then :
76001 glibcxx_cv_func_ldexpl_use=yes
76002 else
76003 glibcxx_cv_func_ldexpl_use=no
76005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76006 ac_ext=c
76007 ac_cpp='$CPP $CPPFLAGS'
76008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
76017 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
76019 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
76020 for ac_func in ldexpl
76021 do :
76022 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
76023 if test "x$ac_cv_func_ldexpl" = x""yes; then :
76024 cat >>confdefs.h <<_ACEOF
76025 #define HAVE_LDEXPL 1
76026 _ACEOF
76029 done
76031 else
76033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
76034 $as_echo_n "checking for _ldexpl declaration... " >&6; }
76035 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
76036 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
76037 $as_echo_n "(cached) " >&6
76038 else
76041 ac_ext=cpp
76042 ac_cpp='$CXXCPP $CPPFLAGS'
76043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76048 /* end confdefs.h. */
76049 #include <math.h>
76051 main ()
76053 _ldexpl(0, 0);
76055 return 0;
76057 _ACEOF
76058 if ac_fn_cxx_try_compile "$LINENO"; then :
76059 glibcxx_cv_func__ldexpl_use=yes
76060 else
76061 glibcxx_cv_func__ldexpl_use=no
76063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76064 ac_ext=c
76065 ac_cpp='$CPP $CPPFLAGS'
76066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
76075 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
76077 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
76078 for ac_func in _ldexpl
76079 do :
76080 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
76081 if test "x$ac_cv_func__ldexpl" = x""yes; then :
76082 cat >>confdefs.h <<_ACEOF
76083 #define HAVE__LDEXPL 1
76084 _ACEOF
76087 done
76096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
76097 $as_echo_n "checking for logl declaration... " >&6; }
76098 if test x${glibcxx_cv_func_logl_use+set} != xset; then
76099 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
76100 $as_echo_n "(cached) " >&6
76101 else
76104 ac_ext=cpp
76105 ac_cpp='$CXXCPP $CPPFLAGS'
76106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76111 /* end confdefs.h. */
76112 #include <math.h>
76113 #ifdef HAVE_IEEEFP_H
76114 #include <ieeefp.h>
76115 #endif
76118 main ()
76120 logl(0);
76122 return 0;
76124 _ACEOF
76125 if ac_fn_cxx_try_compile "$LINENO"; then :
76126 glibcxx_cv_func_logl_use=yes
76127 else
76128 glibcxx_cv_func_logl_use=no
76130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76131 ac_ext=c
76132 ac_cpp='$CPP $CPPFLAGS'
76133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
76142 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
76144 if test x$glibcxx_cv_func_logl_use = x"yes"; then
76145 for ac_func in logl
76146 do :
76147 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
76148 if test "x$ac_cv_func_logl" = x""yes; then :
76149 cat >>confdefs.h <<_ACEOF
76150 #define HAVE_LOGL 1
76151 _ACEOF
76154 done
76156 else
76158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
76159 $as_echo_n "checking for _logl declaration... " >&6; }
76160 if test x${glibcxx_cv_func__logl_use+set} != xset; then
76161 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
76162 $as_echo_n "(cached) " >&6
76163 else
76166 ac_ext=cpp
76167 ac_cpp='$CXXCPP $CPPFLAGS'
76168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76173 /* end confdefs.h. */
76174 #include <math.h>
76175 #ifdef HAVE_IEEEFP_H
76176 #include <ieeefp.h>
76177 #endif
76180 main ()
76182 _logl(0);
76184 return 0;
76186 _ACEOF
76187 if ac_fn_cxx_try_compile "$LINENO"; then :
76188 glibcxx_cv_func__logl_use=yes
76189 else
76190 glibcxx_cv_func__logl_use=no
76192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76193 ac_ext=c
76194 ac_cpp='$CPP $CPPFLAGS'
76195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
76204 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
76206 if test x$glibcxx_cv_func__logl_use = x"yes"; then
76207 for ac_func in _logl
76208 do :
76209 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
76210 if test "x$ac_cv_func__logl" = x""yes; then :
76211 cat >>confdefs.h <<_ACEOF
76212 #define HAVE__LOGL 1
76213 _ACEOF
76216 done
76225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
76226 $as_echo_n "checking for log10l declaration... " >&6; }
76227 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
76228 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
76229 $as_echo_n "(cached) " >&6
76230 else
76233 ac_ext=cpp
76234 ac_cpp='$CXXCPP $CPPFLAGS'
76235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76240 /* end confdefs.h. */
76241 #include <math.h>
76242 #ifdef HAVE_IEEEFP_H
76243 #include <ieeefp.h>
76244 #endif
76247 main ()
76249 log10l(0);
76251 return 0;
76253 _ACEOF
76254 if ac_fn_cxx_try_compile "$LINENO"; then :
76255 glibcxx_cv_func_log10l_use=yes
76256 else
76257 glibcxx_cv_func_log10l_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_log10l_use" >&5
76271 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
76273 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
76274 for ac_func in log10l
76275 do :
76276 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
76277 if test "x$ac_cv_func_log10l" = x""yes; then :
76278 cat >>confdefs.h <<_ACEOF
76279 #define HAVE_LOG10L 1
76280 _ACEOF
76283 done
76285 else
76287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
76288 $as_echo_n "checking for _log10l declaration... " >&6; }
76289 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
76290 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
76291 $as_echo_n "(cached) " >&6
76292 else
76295 ac_ext=cpp
76296 ac_cpp='$CXXCPP $CPPFLAGS'
76297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76302 /* end confdefs.h. */
76303 #include <math.h>
76304 #ifdef HAVE_IEEEFP_H
76305 #include <ieeefp.h>
76306 #endif
76309 main ()
76311 _log10l(0);
76313 return 0;
76315 _ACEOF
76316 if ac_fn_cxx_try_compile "$LINENO"; then :
76317 glibcxx_cv_func__log10l_use=yes
76318 else
76319 glibcxx_cv_func__log10l_use=no
76321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76322 ac_ext=c
76323 ac_cpp='$CPP $CPPFLAGS'
76324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
76333 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
76335 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
76336 for ac_func in _log10l
76337 do :
76338 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
76339 if test "x$ac_cv_func__log10l" = x""yes; then :
76340 cat >>confdefs.h <<_ACEOF
76341 #define HAVE__LOG10L 1
76342 _ACEOF
76345 done
76354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
76355 $as_echo_n "checking for modfl declaration... " >&6; }
76356 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
76357 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
76358 $as_echo_n "(cached) " >&6
76359 else
76362 ac_ext=cpp
76363 ac_cpp='$CXXCPP $CPPFLAGS'
76364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76369 /* end confdefs.h. */
76370 #include <math.h>
76372 main ()
76374 modfl(0, 0);
76376 return 0;
76378 _ACEOF
76379 if ac_fn_cxx_try_compile "$LINENO"; then :
76380 glibcxx_cv_func_modfl_use=yes
76381 else
76382 glibcxx_cv_func_modfl_use=no
76384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76385 ac_ext=c
76386 ac_cpp='$CPP $CPPFLAGS'
76387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
76396 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
76398 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
76399 for ac_func in modfl
76400 do :
76401 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
76402 if test "x$ac_cv_func_modfl" = x""yes; then :
76403 cat >>confdefs.h <<_ACEOF
76404 #define HAVE_MODFL 1
76405 _ACEOF
76408 done
76410 else
76412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
76413 $as_echo_n "checking for _modfl declaration... " >&6; }
76414 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
76415 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
76416 $as_echo_n "(cached) " >&6
76417 else
76420 ac_ext=cpp
76421 ac_cpp='$CXXCPP $CPPFLAGS'
76422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76427 /* end confdefs.h. */
76428 #include <math.h>
76430 main ()
76432 _modfl(0, 0);
76434 return 0;
76436 _ACEOF
76437 if ac_fn_cxx_try_compile "$LINENO"; then :
76438 glibcxx_cv_func__modfl_use=yes
76439 else
76440 glibcxx_cv_func__modfl_use=no
76442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76443 ac_ext=c
76444 ac_cpp='$CPP $CPPFLAGS'
76445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
76454 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
76456 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
76457 for ac_func in _modfl
76458 do :
76459 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
76460 if test "x$ac_cv_func__modfl" = x""yes; then :
76461 cat >>confdefs.h <<_ACEOF
76462 #define HAVE__MODFL 1
76463 _ACEOF
76466 done
76475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
76476 $as_echo_n "checking for powl declaration... " >&6; }
76477 if test x${glibcxx_cv_func_powl_use+set} != xset; then
76478 if test "${glibcxx_cv_func_powl_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>
76493 main ()
76495 powl(0, 0);
76497 return 0;
76499 _ACEOF
76500 if ac_fn_cxx_try_compile "$LINENO"; then :
76501 glibcxx_cv_func_powl_use=yes
76502 else
76503 glibcxx_cv_func_powl_use=no
76505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76506 ac_ext=c
76507 ac_cpp='$CPP $CPPFLAGS'
76508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
76517 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
76519 if test x$glibcxx_cv_func_powl_use = x"yes"; then
76520 for ac_func in powl
76521 do :
76522 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
76523 if test "x$ac_cv_func_powl" = x""yes; then :
76524 cat >>confdefs.h <<_ACEOF
76525 #define HAVE_POWL 1
76526 _ACEOF
76529 done
76531 else
76533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
76534 $as_echo_n "checking for _powl declaration... " >&6; }
76535 if test x${glibcxx_cv_func__powl_use+set} != xset; then
76536 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
76537 $as_echo_n "(cached) " >&6
76538 else
76541 ac_ext=cpp
76542 ac_cpp='$CXXCPP $CPPFLAGS'
76543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76548 /* end confdefs.h. */
76549 #include <math.h>
76551 main ()
76553 _powl(0, 0);
76555 return 0;
76557 _ACEOF
76558 if ac_fn_cxx_try_compile "$LINENO"; then :
76559 glibcxx_cv_func__powl_use=yes
76560 else
76561 glibcxx_cv_func__powl_use=no
76563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76564 ac_ext=c
76565 ac_cpp='$CPP $CPPFLAGS'
76566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
76575 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
76577 if test x$glibcxx_cv_func__powl_use = x"yes"; then
76578 for ac_func in _powl
76579 do :
76580 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
76581 if test "x$ac_cv_func__powl" = x""yes; then :
76582 cat >>confdefs.h <<_ACEOF
76583 #define HAVE__POWL 1
76584 _ACEOF
76587 done
76596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
76597 $as_echo_n "checking for sqrtl declaration... " >&6; }
76598 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
76599 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
76600 $as_echo_n "(cached) " >&6
76601 else
76604 ac_ext=cpp
76605 ac_cpp='$CXXCPP $CPPFLAGS'
76606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76611 /* end confdefs.h. */
76612 #include <math.h>
76613 #ifdef HAVE_IEEEFP_H
76614 #include <ieeefp.h>
76615 #endif
76618 main ()
76620 sqrtl(0);
76622 return 0;
76624 _ACEOF
76625 if ac_fn_cxx_try_compile "$LINENO"; then :
76626 glibcxx_cv_func_sqrtl_use=yes
76627 else
76628 glibcxx_cv_func_sqrtl_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_sqrtl_use" >&5
76642 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
76644 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
76645 for ac_func in sqrtl
76646 do :
76647 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
76648 if test "x$ac_cv_func_sqrtl" = x""yes; then :
76649 cat >>confdefs.h <<_ACEOF
76650 #define HAVE_SQRTL 1
76651 _ACEOF
76654 done
76656 else
76658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
76659 $as_echo_n "checking for _sqrtl declaration... " >&6; }
76660 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
76661 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
76662 $as_echo_n "(cached) " >&6
76663 else
76666 ac_ext=cpp
76667 ac_cpp='$CXXCPP $CPPFLAGS'
76668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76673 /* end confdefs.h. */
76674 #include <math.h>
76675 #ifdef HAVE_IEEEFP_H
76676 #include <ieeefp.h>
76677 #endif
76680 main ()
76682 _sqrtl(0);
76684 return 0;
76686 _ACEOF
76687 if ac_fn_cxx_try_compile "$LINENO"; then :
76688 glibcxx_cv_func__sqrtl_use=yes
76689 else
76690 glibcxx_cv_func__sqrtl_use=no
76692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76693 ac_ext=c
76694 ac_cpp='$CPP $CPPFLAGS'
76695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
76704 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
76706 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
76707 for ac_func in _sqrtl
76708 do :
76709 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
76710 if test "x$ac_cv_func__sqrtl" = x""yes; then :
76711 cat >>confdefs.h <<_ACEOF
76712 #define HAVE__SQRTL 1
76713 _ACEOF
76716 done
76725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
76726 $as_echo_n "checking for sincosl declaration... " >&6; }
76727 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
76728 if test "${glibcxx_cv_func_sincosl_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>
76743 main ()
76745 sincosl(0, 0, 0);
76747 return 0;
76749 _ACEOF
76750 if ac_fn_cxx_try_compile "$LINENO"; then :
76751 glibcxx_cv_func_sincosl_use=yes
76752 else
76753 glibcxx_cv_func_sincosl_use=no
76755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76756 ac_ext=c
76757 ac_cpp='$CPP $CPPFLAGS'
76758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
76767 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
76769 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
76770 for ac_func in sincosl
76771 do :
76772 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
76773 if test "x$ac_cv_func_sincosl" = x""yes; then :
76774 cat >>confdefs.h <<_ACEOF
76775 #define HAVE_SINCOSL 1
76776 _ACEOF
76779 done
76781 else
76783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
76784 $as_echo_n "checking for _sincosl declaration... " >&6; }
76785 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
76786 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
76787 $as_echo_n "(cached) " >&6
76788 else
76791 ac_ext=cpp
76792 ac_cpp='$CXXCPP $CPPFLAGS'
76793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76798 /* end confdefs.h. */
76799 #include <math.h>
76801 main ()
76803 _sincosl(0, 0, 0);
76805 return 0;
76807 _ACEOF
76808 if ac_fn_cxx_try_compile "$LINENO"; then :
76809 glibcxx_cv_func__sincosl_use=yes
76810 else
76811 glibcxx_cv_func__sincosl_use=no
76813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76814 ac_ext=c
76815 ac_cpp='$CPP $CPPFLAGS'
76816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
76825 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
76827 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
76828 for ac_func in _sincosl
76829 do :
76830 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
76831 if test "x$ac_cv_func__sincosl" = x""yes; then :
76832 cat >>confdefs.h <<_ACEOF
76833 #define HAVE__SINCOSL 1
76834 _ACEOF
76837 done
76846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
76847 $as_echo_n "checking for finitel declaration... " >&6; }
76848 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
76849 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
76850 $as_echo_n "(cached) " >&6
76851 else
76854 ac_ext=cpp
76855 ac_cpp='$CXXCPP $CPPFLAGS'
76856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76861 /* end confdefs.h. */
76862 #include <math.h>
76863 #ifdef HAVE_IEEEFP_H
76864 #include <ieeefp.h>
76865 #endif
76868 main ()
76870 finitel(0);
76872 return 0;
76874 _ACEOF
76875 if ac_fn_cxx_try_compile "$LINENO"; then :
76876 glibcxx_cv_func_finitel_use=yes
76877 else
76878 glibcxx_cv_func_finitel_use=no
76880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76881 ac_ext=c
76882 ac_cpp='$CPP $CPPFLAGS'
76883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
76892 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
76894 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
76895 for ac_func in finitel
76896 do :
76897 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
76898 if test "x$ac_cv_func_finitel" = x""yes; then :
76899 cat >>confdefs.h <<_ACEOF
76900 #define HAVE_FINITEL 1
76901 _ACEOF
76904 done
76906 else
76908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
76909 $as_echo_n "checking for _finitel declaration... " >&6; }
76910 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
76911 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
76912 $as_echo_n "(cached) " >&6
76913 else
76916 ac_ext=cpp
76917 ac_cpp='$CXXCPP $CPPFLAGS'
76918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76923 /* end confdefs.h. */
76924 #include <math.h>
76925 #ifdef HAVE_IEEEFP_H
76926 #include <ieeefp.h>
76927 #endif
76930 main ()
76932 _finitel(0);
76934 return 0;
76936 _ACEOF
76937 if ac_fn_cxx_try_compile "$LINENO"; then :
76938 glibcxx_cv_func__finitel_use=yes
76939 else
76940 glibcxx_cv_func__finitel_use=no
76942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76943 ac_ext=c
76944 ac_cpp='$CPP $CPPFLAGS'
76945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
76954 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
76956 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
76957 for ac_func in _finitel
76958 do :
76959 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
76960 if test "x$ac_cv_func__finitel" = x""yes; then :
76961 cat >>confdefs.h <<_ACEOF
76962 #define HAVE__FINITEL 1
76963 _ACEOF
76966 done
76974 LIBS="$ac_save_LIBS"
76975 CXXFLAGS="$ac_save_CXXFLAGS"
76978 ac_test_CXXFLAGS="${CXXFLAGS+set}"
76979 ac_save_CXXFLAGS="$CXXFLAGS"
76980 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
76983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
76984 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
76985 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
76986 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
76987 $as_echo_n "(cached) " >&6
76988 else
76991 ac_ext=cpp
76992 ac_cpp='$CXXCPP $CPPFLAGS'
76993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76998 /* end confdefs.h. */
76999 #include <stdlib.h>
77001 main ()
77003 at_quick_exit(0);
77005 return 0;
77007 _ACEOF
77008 if ac_fn_cxx_try_compile "$LINENO"; then :
77009 glibcxx_cv_func_at_quick_exit_use=yes
77010 else
77011 glibcxx_cv_func_at_quick_exit_use=no
77013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77014 ac_ext=c
77015 ac_cpp='$CPP $CPPFLAGS'
77016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
77025 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
77026 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
77027 for ac_func in at_quick_exit
77028 do :
77029 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
77030 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
77031 cat >>confdefs.h <<_ACEOF
77032 #define HAVE_AT_QUICK_EXIT 1
77033 _ACEOF
77036 done
77041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
77042 $as_echo_n "checking for quick_exit declaration... " >&6; }
77043 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
77044 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
77045 $as_echo_n "(cached) " >&6
77046 else
77049 ac_ext=cpp
77050 ac_cpp='$CXXCPP $CPPFLAGS'
77051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77056 /* end confdefs.h. */
77057 #include <stdlib.h>
77059 main ()
77061 quick_exit(0);
77063 return 0;
77065 _ACEOF
77066 if ac_fn_cxx_try_compile "$LINENO"; then :
77067 glibcxx_cv_func_quick_exit_use=yes
77068 else
77069 glibcxx_cv_func_quick_exit_use=no
77071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77072 ac_ext=c
77073 ac_cpp='$CPP $CPPFLAGS'
77074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
77083 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
77084 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
77085 for ac_func in quick_exit
77086 do :
77087 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
77088 if test "x$ac_cv_func_quick_exit" = x""yes; then :
77089 cat >>confdefs.h <<_ACEOF
77090 #define HAVE_QUICK_EXIT 1
77091 _ACEOF
77094 done
77099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
77100 $as_echo_n "checking for strtold declaration... " >&6; }
77101 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
77102 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
77103 $as_echo_n "(cached) " >&6
77104 else
77107 ac_ext=cpp
77108 ac_cpp='$CXXCPP $CPPFLAGS'
77109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77114 /* end confdefs.h. */
77115 #include <stdlib.h>
77117 main ()
77119 strtold(0, 0);
77121 return 0;
77123 _ACEOF
77124 if ac_fn_cxx_try_compile "$LINENO"; then :
77125 glibcxx_cv_func_strtold_use=yes
77126 else
77127 glibcxx_cv_func_strtold_use=no
77129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77130 ac_ext=c
77131 ac_cpp='$CPP $CPPFLAGS'
77132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
77141 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
77142 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
77143 for ac_func in strtold
77144 do :
77145 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
77146 if test "x$ac_cv_func_strtold" = x""yes; then :
77147 cat >>confdefs.h <<_ACEOF
77148 #define HAVE_STRTOLD 1
77149 _ACEOF
77152 done
77159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
77160 $as_echo_n "checking for strtof declaration... " >&6; }
77161 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
77162 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
77163 $as_echo_n "(cached) " >&6
77164 else
77167 ac_ext=cpp
77168 ac_cpp='$CXXCPP $CPPFLAGS'
77169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77174 /* end confdefs.h. */
77175 #include <stdlib.h>
77177 main ()
77179 strtof(0, 0);
77181 return 0;
77183 _ACEOF
77184 if ac_fn_cxx_try_compile "$LINENO"; then :
77185 glibcxx_cv_func_strtof_use=yes
77186 else
77187 glibcxx_cv_func_strtof_use=no
77189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77190 ac_ext=c
77191 ac_cpp='$CPP $CPPFLAGS'
77192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
77201 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
77202 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
77203 for ac_func in strtof
77204 do :
77205 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
77206 if test "x$ac_cv_func_strtof" = x""yes; then :
77207 cat >>confdefs.h <<_ACEOF
77208 #define HAVE_STRTOF 1
77209 _ACEOF
77212 done
77219 CXXFLAGS="$ac_save_CXXFLAGS"
77222 *-vxworks)
77223 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
77225 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
77227 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
77229 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
77231 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
77233 $as_echo "#define HAVE_COSF 1" >>confdefs.h
77235 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
77237 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
77239 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
77241 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
77243 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
77245 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
77247 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
77249 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
77251 $as_echo "#define HAVE_POWF 1" >>confdefs.h
77253 $as_echo "#define HAVE_SINF 1" >>confdefs.h
77255 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
77257 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
77259 $as_echo "#define HAVE_TANF 1" >>confdefs.h
77261 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
77265 as_fn_error "No support for this host/target combination." "$LINENO" 5
77267 esac
77271 # At some point, we should differentiate between architectures
77272 # like x86, which have long double versions, and alpha/powerpc/etc.,
77273 # which don't. For the time being, punt.
77274 if test x"long_double_math_on_this_cpu" = x"yes"; then
77275 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
77277 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
77279 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
77281 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
77283 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
77285 $as_echo "#define HAVE_COSL 1" >>confdefs.h
77287 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
77289 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
77291 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
77293 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
77295 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
77297 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
77299 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
77301 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
77303 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
77305 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
77307 $as_echo "#define HAVE_POWL 1" >>confdefs.h
77309 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
77311 $as_echo "#define HAVE_SINL 1" >>confdefs.h
77313 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
77315 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
77317 $as_echo "#define HAVE_TANL 1" >>confdefs.h
77319 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
77324 # Check for _Unwind_GetIPInfo.
77327 # Check whether --with-system-libunwind was given.
77328 if test "${with_system_libunwind+set}" = set; then :
77329 withval=$with_system_libunwind;
77332 # If system-libunwind was not specifically set, pick a default setting.
77333 if test x$with_system_libunwind = x; then
77334 case ${target} in
77335 ia64-*-hpux*) with_system_libunwind=yes ;;
77336 *) with_system_libunwind=no ;;
77337 esac
77339 # Based on system-libunwind and target, do we have ipinfo?
77340 if test x$with_system_libunwind = xyes; then
77341 case ${target} in
77342 ia64-*-*) have_unwind_getipinfo=no ;;
77343 *) have_unwind_getipinfo=yes ;;
77344 esac
77345 else
77346 # Darwin before version 9 does not have _Unwind_GetIPInfo.
77348 case ${target} in
77349 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
77350 *) have_unwind_getipinfo=yes ;;
77351 esac
77355 if test x$have_unwind_getipinfo = xyes; then
77357 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
77362 # Check whether --enable-linux-futex was given.
77363 if test "${enable_linux_futex+set}" = set; then :
77364 enableval=$enable_linux_futex;
77365 case "$enableval" in
77366 yes|no|default) ;;
77367 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
77368 esac
77370 else
77371 enable_linux_futex=default
77375 case "$target" in
77376 *-linux*)
77377 case "$enable_linux_futex" in
77378 default)
77379 # If headers don't have gettid/futex syscalls definition, then
77380 # default to no, otherwise there will be compile time failures.
77381 # Otherwise, default to yes. If we don't detect we are
77382 # compiled/linked against NPTL and not cross-compiling, check
77383 # if programs are run by default against NPTL and if not, issue
77384 # a warning.
77385 enable_linux_futex=no
77386 if test x$gcc_no_link = xyes; then
77387 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77390 /* end confdefs.h. */
77391 #include <sys/syscall.h>
77392 int lk;
77394 main ()
77396 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
77398 return 0;
77400 _ACEOF
77401 if ac_fn_c_try_link "$LINENO"; then :
77402 save_LIBS="$LIBS"
77403 LIBS="-lpthread $LIBS"
77404 if test x$gcc_no_link = xyes; then
77405 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77408 /* end confdefs.h. */
77409 #ifndef _GNU_SOURCE
77410 #define _GNU_SOURCE 1
77411 #endif
77412 #include <pthread.h>
77413 pthread_t th; void *status;
77415 main ()
77417 pthread_tryjoin_np (th, &status);
77419 return 0;
77421 _ACEOF
77422 if ac_fn_c_try_link "$LINENO"; then :
77423 enable_linux_futex=yes
77424 else
77425 if test x$cross_compiling = xno; then
77426 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
77427 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
77428 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
77429 If so, please configure with --disable-linux-futex" >&5
77430 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
77431 If so, please configure with --disable-linux-futex" >&2;}
77434 enable_linux_futex=yes
77436 rm -f core conftest.err conftest.$ac_objext \
77437 conftest$ac_exeext conftest.$ac_ext
77438 LIBS="$save_LIBS"
77440 rm -f core conftest.err conftest.$ac_objext \
77441 conftest$ac_exeext conftest.$ac_ext
77443 yes)
77444 if test x$gcc_no_link = xyes; then
77445 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77448 /* end confdefs.h. */
77449 #include <sys/syscall.h>
77450 int lk;
77452 main ()
77454 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
77456 return 0;
77458 _ACEOF
77459 if ac_fn_c_try_link "$LINENO"; then :
77461 else
77462 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
77464 rm -f core conftest.err conftest.$ac_objext \
77465 conftest$ac_exeext conftest.$ac_ext
77467 esac
77470 enable_linux_futex=no
77472 esac
77473 if test x$enable_linux_futex = xyes; then
77475 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
77482 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
77484 acx_cv_header_stdint=stddef.h
77485 acx_cv_header_stdint_kind="(already complete)"
77486 for i in stdint.h $inttype_headers; do
77487 unset ac_cv_type_uintptr_t
77488 unset ac_cv_type_uintmax_t
77489 unset ac_cv_type_int_least32_t
77490 unset ac_cv_type_int_fast32_t
77491 unset ac_cv_type_uint64_t
77492 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
77493 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
77494 #include <$i>
77496 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
77497 acx_cv_header_stdint=$i
77498 else
77499 continue
77502 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
77503 #include <$i>
77505 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
77507 else
77508 acx_cv_header_stdint_kind="(mostly complete)"
77511 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
77512 #include <$i>
77514 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
77516 else
77517 acx_cv_header_stdint_kind="(mostly complete)"
77520 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
77521 #include <$i>
77523 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
77525 else
77526 acx_cv_header_stdint_kind="(mostly complete)"
77529 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
77530 #include <$i>
77532 if test "x$ac_cv_type_uint64_t" = x""yes; then :
77534 else
77535 acx_cv_header_stdint_kind="(lacks uint64_t)"
77538 break
77539 done
77540 if test "$acx_cv_header_stdint" = stddef.h; then
77541 acx_cv_header_stdint_kind="(lacks uintmax_t)"
77542 for i in stdint.h $inttype_headers; do
77543 unset ac_cv_type_uintptr_t
77544 unset ac_cv_type_uint32_t
77545 unset ac_cv_type_uint64_t
77546 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
77547 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
77548 #include <$i>
77550 if test "x$ac_cv_type_uint32_t" = x""yes; then :
77551 acx_cv_header_stdint=$i
77552 else
77553 continue
77556 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
77557 #include <$i>
77559 if test "x$ac_cv_type_uint64_t" = x""yes; then :
77563 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
77564 #include <$i>
77566 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
77570 break
77571 done
77573 if test "$acx_cv_header_stdint" = stddef.h; then
77574 acx_cv_header_stdint_kind="(u_intXX_t style)"
77575 for i in sys/types.h $inttype_headers; do
77576 unset ac_cv_type_u_int32_t
77577 unset ac_cv_type_u_int64_t
77578 $as_echo_n "looking for u_intXX_t types in $i, " >&6
77579 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
77580 #include <$i>
77582 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
77583 acx_cv_header_stdint=$i
77584 else
77585 continue
77588 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
77589 #include <$i>
77591 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
77595 break
77596 done
77598 if test "$acx_cv_header_stdint" = stddef.h; then
77599 acx_cv_header_stdint_kind="(using manual detection)"
77602 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
77603 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
77604 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
77605 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
77606 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
77608 # ----------------- Summarize what we found so far
77610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
77611 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
77613 case `$as_basename -- include/gstdint.h ||
77614 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
77615 Xinclude/gstdint.h : 'X\(//\)$' \| \
77616 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
77617 $as_echo X/include/gstdint.h |
77618 sed '/^.*\/\([^/][^/]*\)\/*$/{
77619 s//\1/
77622 /^X\/\(\/\/\)$/{
77623 s//\1/
77626 /^X\/\(\/\).*/{
77627 s//\1/
77630 s/.*/./; q'` in
77631 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
77632 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
77633 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
77634 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
77635 *) ;;
77636 esac
77638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
77639 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
77641 # ----------------- done included file, check C basic types --------
77643 # Lacking an uintptr_t? Test size of void *
77644 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
77645 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
77646 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77647 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77648 # This bug is HP SR number 8606223364.
77649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
77650 $as_echo_n "checking size of void *... " >&6; }
77651 if test "${ac_cv_sizeof_void_p+set}" = set; then :
77652 $as_echo_n "(cached) " >&6
77653 else
77654 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
77656 else
77657 if test "$ac_cv_type_void_p" = yes; then
77658 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77659 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77660 { as_fn_set_status 77
77661 as_fn_error "cannot compute sizeof (void *)
77662 See \`config.log' for more details." "$LINENO" 5; }; }
77663 else
77664 ac_cv_sizeof_void_p=0
77669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
77670 $as_echo "$ac_cv_sizeof_void_p" >&6; }
77674 cat >>confdefs.h <<_ACEOF
77675 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
77676 _ACEOF
77679 esac
77681 # Lacking an uint64_t? Test size of long
77682 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
77683 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
77684 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77685 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77686 # This bug is HP SR number 8606223364.
77687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
77688 $as_echo_n "checking size of long... " >&6; }
77689 if test "${ac_cv_sizeof_long+set}" = set; then :
77690 $as_echo_n "(cached) " >&6
77691 else
77692 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
77694 else
77695 if test "$ac_cv_type_long" = yes; then
77696 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77697 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77698 { as_fn_set_status 77
77699 as_fn_error "cannot compute sizeof (long)
77700 See \`config.log' for more details." "$LINENO" 5; }; }
77701 else
77702 ac_cv_sizeof_long=0
77707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
77708 $as_echo "$ac_cv_sizeof_long" >&6; }
77712 cat >>confdefs.h <<_ACEOF
77713 #define SIZEOF_LONG $ac_cv_sizeof_long
77714 _ACEOF
77717 esac
77719 if test $acx_cv_header_stdint = stddef.h; then
77720 # Lacking a good header? Test size of everything and deduce all types.
77721 # The cast to long int works around a bug in the HP C Compiler
77722 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77723 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77724 # This bug is HP SR number 8606223364.
77725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
77726 $as_echo_n "checking size of int... " >&6; }
77727 if test "${ac_cv_sizeof_int+set}" = set; then :
77728 $as_echo_n "(cached) " >&6
77729 else
77730 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
77732 else
77733 if test "$ac_cv_type_int" = yes; then
77734 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77735 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77736 { as_fn_set_status 77
77737 as_fn_error "cannot compute sizeof (int)
77738 See \`config.log' for more details." "$LINENO" 5; }; }
77739 else
77740 ac_cv_sizeof_int=0
77745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
77746 $as_echo "$ac_cv_sizeof_int" >&6; }
77750 cat >>confdefs.h <<_ACEOF
77751 #define SIZEOF_INT $ac_cv_sizeof_int
77752 _ACEOF
77755 # The cast to long int works around a bug in the HP C Compiler
77756 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77757 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77758 # This bug is HP SR number 8606223364.
77759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
77760 $as_echo_n "checking size of short... " >&6; }
77761 if test "${ac_cv_sizeof_short+set}" = set; then :
77762 $as_echo_n "(cached) " >&6
77763 else
77764 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
77766 else
77767 if test "$ac_cv_type_short" = yes; then
77768 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77769 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77770 { as_fn_set_status 77
77771 as_fn_error "cannot compute sizeof (short)
77772 See \`config.log' for more details." "$LINENO" 5; }; }
77773 else
77774 ac_cv_sizeof_short=0
77779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
77780 $as_echo "$ac_cv_sizeof_short" >&6; }
77784 cat >>confdefs.h <<_ACEOF
77785 #define SIZEOF_SHORT $ac_cv_sizeof_short
77786 _ACEOF
77789 # The cast to long int works around a bug in the HP C Compiler
77790 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77791 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77792 # This bug is HP SR number 8606223364.
77793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
77794 $as_echo_n "checking size of char... " >&6; }
77795 if test "${ac_cv_sizeof_char+set}" = set; then :
77796 $as_echo_n "(cached) " >&6
77797 else
77798 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
77800 else
77801 if test "$ac_cv_type_char" = yes; then
77802 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77803 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77804 { as_fn_set_status 77
77805 as_fn_error "cannot compute sizeof (char)
77806 See \`config.log' for more details." "$LINENO" 5; }; }
77807 else
77808 ac_cv_sizeof_char=0
77813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
77814 $as_echo "$ac_cv_sizeof_char" >&6; }
77818 cat >>confdefs.h <<_ACEOF
77819 #define SIZEOF_CHAR $ac_cv_sizeof_char
77820 _ACEOF
77824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
77825 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
77826 case "$ac_cv_sizeof_char" in
77827 1) acx_cv_type_int8_t=char ;;
77828 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
77829 esac
77830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
77831 $as_echo "$acx_cv_type_int8_t" >&6; }
77833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
77834 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
77835 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
77836 2:*) acx_cv_type_int16_t=int ;;
77837 *:2) acx_cv_type_int16_t=short ;;
77838 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
77839 esac
77840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
77841 $as_echo "$acx_cv_type_int16_t" >&6; }
77843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
77844 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
77845 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
77846 4:*) acx_cv_type_int32_t=int ;;
77847 *:4) acx_cv_type_int32_t=long ;;
77848 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
77849 esac
77850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
77851 $as_echo "$acx_cv_type_int32_t" >&6; }
77854 # These tests are here to make the output prettier
77856 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
77857 case "$ac_cv_sizeof_long" in
77858 8) acx_cv_type_int64_t=long ;;
77859 esac
77860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
77861 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
77862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
77863 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
77866 # Now we can use the above types
77868 if test "$ac_cv_type_uintptr_t" != yes; then
77869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
77870 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
77871 case $ac_cv_sizeof_void_p in
77872 2) acx_cv_type_intptr_t=int16_t ;;
77873 4) acx_cv_type_intptr_t=int32_t ;;
77874 8) acx_cv_type_intptr_t=int64_t ;;
77875 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
77876 esac
77877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
77878 $as_echo "$acx_cv_type_intptr_t" >&6; }
77881 # ----------------- done all checks, emit header -------------
77882 ac_config_commands="$ac_config_commands include/gstdint.h"
77888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
77889 $as_echo_n "checking for GNU c++filt... " >&6; }
77890 if test "${ac_cv_path_CXXFILT+set}" = set; then :
77891 $as_echo_n "(cached) " >&6
77892 else
77893 if test -z "$CXXFILT"; then
77894 ac_path_CXXFILT_found=false
77895 # Loop through the user's path and test for each of PROGNAME-LIST
77896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77897 for as_dir in $PATH
77899 IFS=$as_save_IFS
77900 test -z "$as_dir" && as_dir=.
77901 for ac_prog in c++filt gc++filt; do
77902 for ac_exec_ext in '' $ac_executable_extensions; do
77903 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
77904 { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
77905 # Check for GNU $ac_path_CXXFILT
77906 case `"$ac_path_CXXFILT" --version 2>&1` in
77907 *GNU*)
77908 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
77909 esac
77911 $ac_path_CXXFILT_found && break 3
77912 done
77913 done
77914 done
77915 IFS=$as_save_IFS
77916 if test -z "$ac_cv_path_CXXFILT"; then
77919 else
77920 ac_cv_path_CXXFILT=$CXXFILT
77924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
77925 $as_echo "$ac_cv_path_CXXFILT" >&6; }
77926 CXXFILT=$ac_cv_path_CXXFILT
77930 # Check whether --enable-symvers was given.
77931 if test "${enable_symvers+set}" = set; then :
77932 enableval=$enable_symvers;
77933 case "$enableval" in
77934 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
77935 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
77936 esac
77938 else
77939 enable_symvers=yes
77944 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
77945 # don't know enough about $LD to do tricks...
77947 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
77948 # with extern "C++" in version scripts.
77951 # Turn a 'yes' into a suitable default.
77952 if test x$enable_symvers = xyes ; then
77953 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
77954 enable_symvers=no
77955 else
77956 if test $with_gnu_ld = yes ; then
77957 case ${target_os} in
77958 hpux*)
77959 enable_symvers=no ;;
77961 enable_symvers=gnu ;;
77962 esac
77963 else
77964 case ${target_os} in
77965 darwin*)
77966 enable_symvers=darwin ;;
77967 # Sun symbol versioning exists since Solaris 2.5.
77968 solaris2.[5-9]* | solaris2.1[0-9]*)
77969 # make_sunver.pl needs GNU c++filt to support extern "C++" in
77970 # version scripts, so disable symbol versioning if none can be
77971 # found.
77972 if test -z "$ac_cv_path_CXXFILT"; then
77973 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
77974 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
77975 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
77976 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
77977 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
77978 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
77979 enable_symvers=no
77980 else
77981 enable_symvers=sun
77985 enable_symvers=no ;;
77986 esac
77991 # Check to see if 'darwin' or 'darwin-export' can win.
77992 if test x$enable_symvers = xdarwin-export ; then
77993 enable_symvers=darwin
77996 # Check if 'sun' was requested on non-Solaris 2 platforms.
77997 if test x$enable_symvers = xsun ; then
77998 case ${target_os} in
77999 solaris2*)
78000 # All fine.
78003 # Unlikely to work.
78004 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
78005 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
78006 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
78007 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
78008 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
78009 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
78010 enable_symvers=no
78012 esac
78015 # Check to see if 'gnu' can win.
78016 if test $enable_symvers = gnu ||
78017 test $enable_symvers = gnu-versioned-namespace ||
78018 test $enable_symvers = sun; then
78019 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
78020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
78021 $as_echo_n "checking for shared libgcc... " >&6; }
78022 ac_save_CFLAGS="$CFLAGS"
78023 CFLAGS=' -lgcc_s'
78024 if test x$gcc_no_link = xyes; then
78025 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78028 /* end confdefs.h. */
78031 main ()
78033 return 0;
78035 return 0;
78037 _ACEOF
78038 if ac_fn_c_try_link "$LINENO"; then :
78039 glibcxx_shared_libgcc=yes
78040 else
78041 glibcxx_shared_libgcc=no
78043 rm -f core conftest.err conftest.$ac_objext \
78044 conftest$ac_exeext conftest.$ac_ext
78045 CFLAGS="$ac_save_CFLAGS"
78046 if test $glibcxx_shared_libgcc = no; then
78047 cat > conftest.c <<EOF
78048 int main (void) { return 0; }
78050 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
78051 -shared -shared-libgcc -o conftest.so \
78052 conftest.c -v 2>&1 >/dev/null \
78053 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
78054 rm -f conftest.c conftest.so
78055 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
78056 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
78057 if test x$gcc_no_link = xyes; then
78058 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78061 /* end confdefs.h. */
78064 main ()
78066 return 0;
78068 return 0;
78070 _ACEOF
78071 if ac_fn_c_try_link "$LINENO"; then :
78072 glibcxx_shared_libgcc=yes
78074 rm -f core conftest.err conftest.$ac_objext \
78075 conftest$ac_exeext conftest.$ac_ext
78076 CFLAGS="$ac_save_CFLAGS"
78079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
78080 $as_echo "$glibcxx_shared_libgcc" >&6; }
78082 # For GNU ld, we need at least this version. The format is described in
78083 # GLIBCXX_CHECK_LINKER_FEATURES above.
78084 glibcxx_min_gnu_ld_version=21400
78086 # If no shared libgcc, can't win.
78087 if test $glibcxx_shared_libgcc != yes; then
78088 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
78089 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
78090 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
78091 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
78092 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
78093 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
78094 enable_symvers=no
78095 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
78096 : All interesting versions of Sun ld support sun style symbol versioning.
78097 elif test $with_gnu_ld != yes ; then
78098 # just fail for now
78099 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
78100 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
78101 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
78102 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
78103 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
78104 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
78105 enable_symvers=no
78106 elif test $glibcxx_ld_is_gold = yes ; then
78107 : All versions of gold support symbol versioning.
78108 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
78109 # The right tools, the right setup, but too old. Fallbacks?
78110 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
78111 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
78112 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
78113 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
78114 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
78115 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
78116 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
78117 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
78118 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
78119 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
78120 enable_symvers=no
78124 # For libtool versioning info, format is CURRENT:REVISION:AGE
78125 libtool_VERSION=6:22:0
78127 # Everything parsed; figure out what files and settings to use.
78128 case $enable_symvers in
78130 SYMVER_FILE=config/abi/pre/none.ver
78132 gnu)
78133 SYMVER_FILE=config/abi/pre/gnu.ver
78135 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
78138 gnu-versioned-namespace)
78139 libtool_VERSION=7:0:0
78140 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
78142 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
78145 darwin)
78146 SYMVER_FILE=config/abi/pre/gnu.ver
78148 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
78151 sun)
78152 SYMVER_FILE=config/abi/pre/gnu.ver
78154 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
78157 esac
78159 if test x$enable_symvers != xno ; then
78161 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
78165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
78166 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
78167 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
78168 $as_echo_n "(cached) " >&6
78169 else
78171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78172 /* end confdefs.h. */
78173 void foo (void); __asm (".symver foo, bar@SYMVER");
78175 main ()
78179 return 0;
78181 _ACEOF
78182 if ac_fn_c_try_compile "$LINENO"; then :
78183 glibcxx_cv_have_as_symver_directive=yes
78184 else
78185 glibcxx_cv_have_as_symver_directive=no
78187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
78190 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
78191 if test $glibcxx_cv_have_as_symver_directive = yes; then
78193 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
78204 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
78205 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
78207 if test $enable_symvers != no ; then
78208 case ${target_os} in
78209 # The Solaris 2 runtime linker doesn't support the GNU extension of
78210 # binding the same symbol to different versions
78211 solaris2*)
78213 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
78216 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
78219 esac
78222 # Now, set up compatibility support, if any.
78223 # In addition, need this to deal with std::size_t mangling in
78224 # src/compatibility.cc. In a perfect world, could use
78225 # typeid(std::size_t).name()[0] to do direct substitution.
78226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
78227 $as_echo_n "checking for size_t as unsigned int... " >&6; }
78228 ac_save_CFLAGS="$CFLAGS"
78229 CFLAGS="-Werror"
78230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78231 /* end confdefs.h. */
78234 main ()
78236 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
78238 return 0;
78240 _ACEOF
78241 if ac_fn_c_try_compile "$LINENO"; then :
78242 glibcxx_size_t_is_i=yes
78243 else
78244 glibcxx_size_t_is_i=no
78246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78247 CFLAGS=$ac_save_CFLAGS
78248 if test "$glibcxx_size_t_is_i" = yes; then
78250 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
78253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
78254 $as_echo "$glibcxx_size_t_is_i" >&6; }
78256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
78257 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
78258 ac_save_CFLAGS="$CFLAGS"
78259 CFLAGS="-Werror"
78260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78261 /* end confdefs.h. */
78264 main ()
78266 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
78268 return 0;
78270 _ACEOF
78271 if ac_fn_c_try_compile "$LINENO"; then :
78272 glibcxx_ptrdiff_t_is_i=yes
78273 else
78274 glibcxx_ptrdiff_t_is_i=no
78276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78277 CFLAGS=$ac_save_CFLAGS
78278 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
78280 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
78283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
78284 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
78289 # Check whether --enable-libstdcxx-visibility was given.
78290 if test "${enable_libstdcxx_visibility+set}" = set; then :
78291 enableval=$enable_libstdcxx_visibility;
78292 case "$enableval" in
78293 yes|no) ;;
78294 *) as_fn_error "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
78295 esac
78297 else
78298 enable_libstdcxx_visibility=yes
78303 if test x$enable_libstdcxx_visibility = xyes ; then
78304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
78305 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
78306 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
78307 $as_echo_n "(cached) " >&6
78308 else
78310 save_CFLAGS="$CFLAGS"
78311 CFLAGS="$CFLAGS -Werror"
78312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78313 /* end confdefs.h. */
78314 void __attribute__((visibility("hidden"))) foo(void) { }
78316 main ()
78320 return 0;
78322 _ACEOF
78323 if ac_fn_c_try_compile "$LINENO"; then :
78324 glibcxx_cv_have_attribute_visibility=yes
78325 else
78326 glibcxx_cv_have_attribute_visibility=no
78328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78329 CFLAGS="$save_CFLAGS"
78331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
78332 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
78333 if test $glibcxx_cv_have_attribute_visibility = no; then
78334 enable_libstdcxx_visibility=no
78339 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
78340 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
78344 # Check whether --enable-libstdcxx-dual-abi was given.
78345 if test "${enable_libstdcxx_dual_abi+set}" = set; then :
78346 enableval=$enable_libstdcxx_dual_abi;
78347 case "$enableval" in
78348 yes|no) ;;
78349 *) as_fn_error "Argument to enable/disable libstdcxx-dual-abi must be yes or no" "$LINENO" 5 ;;
78350 esac
78352 else
78353 enable_libstdcxx_dual_abi=yes
78357 if test x$enable_symvers = xgnu-versioned-namespace; then
78358 # gnu-versioned-namespace is incompatible with the dual ABI.
78359 enable_libstdcxx_dual_abi="no"
78361 if test x"$enable_libstdcxx_dual_abi" != xyes; then
78362 { $as_echo "$as_me:${as_lineno-$LINENO}: dual ABI is disabled" >&5
78363 $as_echo "$as_me: dual ABI is disabled" >&6;}
78364 default_libstdcxx_abi="gcc4-compatible"
78369 if test x$enable_libstdcxx_dual_abi = xyes; then
78370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default std::string ABI to use" >&5
78371 $as_echo_n "checking for default std::string ABI to use... " >&6; }
78373 # Check whether --with-default-libstdcxx-abi was given.
78374 if test "${with_default_libstdcxx_abi+set}" = set; then :
78375 withval=$with_default_libstdcxx_abi; case "$withval" in
78376 gcc4-compatible) default_libstdcxx_abi="gcc4-compatible" ;;
78377 new|cxx11) default_libstdcxx_abi="new" ;;
78378 c++*|gnu++*) as_fn_error "Supported arguments for --with-default-libstdcxx-abi have changed, use \"new\" or \"gcc4-compatible\"" "$LINENO" 5 ;;
78379 *) as_fn_error "Invalid argument for --with-default-libstdcxx-abi" "$LINENO" 5 ;;
78380 esac
78382 else
78383 default_libstdcxx_abi="new"
78386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${default_libstdcxx_abi}" >&5
78387 $as_echo "${default_libstdcxx_abi}" >&6; }
78389 if test $default_libstdcxx_abi = "new"; then
78390 glibcxx_cxx11_abi=1
78391 glibcxx_cxx98_abi=0
78392 else
78393 glibcxx_cxx11_abi=0
78394 glibcxx_cxx98_abi=1
78400 ac_ldbl_compat=no
78401 case "$target" in
78402 powerpc*-*-linux* | \
78403 sparc*-*-linux* | \
78404 s390*-*-linux* | \
78405 alpha*-*-linux*)
78406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78407 /* end confdefs.h. */
78410 main ()
78413 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
78414 #error no need for long double compatibility
78415 #endif
78418 return 0;
78420 _ACEOF
78421 if ac_fn_c_try_compile "$LINENO"; then :
78422 ac_ldbl_compat=yes
78423 else
78424 ac_ldbl_compat=no
78426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78427 if test "$ac_ldbl_compat" = yes; then
78429 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
78431 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
78433 esac
78436 # Check if assembler supports disabling hardware capability support.
78438 test -z "$HWCAP_FLAGS" && HWCAP_FLAGS=''
78440 # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
78441 # with a different meaning.
78442 case ${target_os} in
78443 solaris2*)
78444 ac_save_CFLAGS="$CFLAGS"
78445 CFLAGS="$CFLAGS -Wa,-nH"
78447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
78448 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
78449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78450 /* end confdefs.h. */
78453 main ()
78455 return 0;
78457 return 0;
78459 _ACEOF
78460 if ac_fn_c_try_compile "$LINENO"; then :
78461 ac_hwcap_flags=yes
78462 else
78463 ac_hwcap_flags=no
78465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78466 if test "$ac_hwcap_flags" = "yes"; then
78467 HWCAP_FLAGS="-Wa,-nH $HWCAP_FLAGS"
78469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
78470 $as_echo "$ac_hwcap_flags" >&6; }
78472 CFLAGS="$ac_save_CFLAGS"
78474 esac
78479 # Check if assembler supports rdrand opcode.
78481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
78482 $as_echo_n "checking for rdrand support in assembler... " >&6; }
78483 if test "${ac_cv_x86_rdrand+set}" = set; then :
78484 $as_echo_n "(cached) " >&6
78485 else
78487 ac_cv_x86_rdrand=no
78488 case "$target" in
78489 i?86-*-* | \
78490 x86_64-*-*)
78491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78492 /* end confdefs.h. */
78495 main ()
78497 asm("rdrand %eax");
78499 return 0;
78501 _ACEOF
78502 if ac_fn_c_try_compile "$LINENO"; then :
78503 ac_cv_x86_rdrand=yes
78504 else
78505 ac_cv_x86_rdrand=no
78507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78508 esac
78512 if test $ac_cv_x86_rdrand = yes; then
78514 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
78517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
78518 $as_echo "$ac_cv_x86_rdrand" >&6; }
78521 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
78523 if $GLIBCXX_IS_NATIVE ; then
78524 # Do checks for resource limit functions.
78526 setrlimit_have_headers=yes
78527 for ac_header in unistd.h sys/time.h sys/resource.h
78528 do :
78529 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
78530 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
78531 eval as_val=\$$as_ac_Header
78532 if test "x$as_val" = x""yes; then :
78533 cat >>confdefs.h <<_ACEOF
78534 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
78535 _ACEOF
78537 else
78538 setrlimit_have_headers=no
78541 done
78543 # If don't have the headers, then we can't run the tests now, and we
78544 # won't be seeing any of these during testsuite compilation.
78545 if test $setrlimit_have_headers = yes; then
78546 # Can't do these in a loop, else the resulting syntax is wrong.
78548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
78549 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
78550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78551 /* end confdefs.h. */
78552 #include <unistd.h>
78553 #include <sys/time.h>
78554 #include <sys/resource.h>
78557 main ()
78559 int f = RLIMIT_DATA ;
78561 return 0;
78563 _ACEOF
78564 if ac_fn_c_try_compile "$LINENO"; then :
78565 glibcxx_mresult=1
78566 else
78567 glibcxx_mresult=0
78569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78571 cat >>confdefs.h <<_ACEOF
78572 #define HAVE_LIMIT_DATA $glibcxx_mresult
78573 _ACEOF
78575 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78577 $as_echo "$res" >&6; }
78580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
78581 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
78582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78583 /* end confdefs.h. */
78584 #include <unistd.h>
78585 #include <sys/time.h>
78586 #include <sys/resource.h>
78589 main ()
78591 int f = RLIMIT_RSS ;
78593 return 0;
78595 _ACEOF
78596 if ac_fn_c_try_compile "$LINENO"; then :
78597 glibcxx_mresult=1
78598 else
78599 glibcxx_mresult=0
78601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78603 cat >>confdefs.h <<_ACEOF
78604 #define HAVE_LIMIT_RSS $glibcxx_mresult
78605 _ACEOF
78607 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78609 $as_echo "$res" >&6; }
78612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
78613 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
78614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78615 /* end confdefs.h. */
78616 #include <unistd.h>
78617 #include <sys/time.h>
78618 #include <sys/resource.h>
78621 main ()
78623 int f = RLIMIT_VMEM ;
78625 return 0;
78627 _ACEOF
78628 if ac_fn_c_try_compile "$LINENO"; then :
78629 glibcxx_mresult=1
78630 else
78631 glibcxx_mresult=0
78633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78635 cat >>confdefs.h <<_ACEOF
78636 #define HAVE_LIMIT_VMEM $glibcxx_mresult
78637 _ACEOF
78639 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78641 $as_echo "$res" >&6; }
78644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
78645 $as_echo_n "checking for RLIMIT_AS... " >&6; }
78646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78647 /* end confdefs.h. */
78648 #include <unistd.h>
78649 #include <sys/time.h>
78650 #include <sys/resource.h>
78653 main ()
78655 int f = RLIMIT_AS ;
78657 return 0;
78659 _ACEOF
78660 if ac_fn_c_try_compile "$LINENO"; then :
78661 glibcxx_mresult=1
78662 else
78663 glibcxx_mresult=0
78665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78667 cat >>confdefs.h <<_ACEOF
78668 #define HAVE_LIMIT_AS $glibcxx_mresult
78669 _ACEOF
78671 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78673 $as_echo "$res" >&6; }
78676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
78677 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
78678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78679 /* end confdefs.h. */
78680 #include <unistd.h>
78681 #include <sys/time.h>
78682 #include <sys/resource.h>
78685 main ()
78687 int f = RLIMIT_FSIZE ;
78689 return 0;
78691 _ACEOF
78692 if ac_fn_c_try_compile "$LINENO"; then :
78693 glibcxx_mresult=1
78694 else
78695 glibcxx_mresult=0
78697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78699 cat >>confdefs.h <<_ACEOF
78700 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
78701 _ACEOF
78703 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78705 $as_echo "$res" >&6; }
78708 # Check for rlimit, setrlimit.
78709 if test "${glibcxx_cv_setrlimit+set}" = set; then :
78710 $as_echo_n "(cached) " >&6
78711 else
78713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78714 /* end confdefs.h. */
78715 #include <unistd.h>
78716 #include <sys/time.h>
78717 #include <sys/resource.h>
78720 main ()
78722 struct rlimit r;
78723 setrlimit(0, &r);
78725 return 0;
78727 _ACEOF
78728 if ac_fn_c_try_compile "$LINENO"; then :
78729 glibcxx_cv_setrlimit=yes
78730 else
78731 glibcxx_cv_setrlimit=no
78733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
78740 $as_echo_n "checking for testsuite resource limits support... " >&6; }
78741 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
78742 ac_res_limits=yes
78744 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
78746 else
78747 ac_res_limits=no
78749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
78750 $as_echo "$ac_res_limits" >&6; }
78753 # Look for setenv, so that extended locale tests can be performed.
78755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
78756 $as_echo_n "checking for setenv declaration... " >&6; }
78757 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
78758 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
78759 $as_echo_n "(cached) " >&6
78760 else
78763 ac_ext=cpp
78764 ac_cpp='$CXXCPP $CPPFLAGS'
78765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78770 /* end confdefs.h. */
78771 #include <stdlib.h>
78773 main ()
78775 setenv(0, 0, 0);
78777 return 0;
78779 _ACEOF
78780 if ac_fn_cxx_try_compile "$LINENO"; then :
78781 glibcxx_cv_func_setenv_use=yes
78782 else
78783 glibcxx_cv_func_setenv_use=no
78785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78786 ac_ext=c
78787 ac_cpp='$CPP $CPPFLAGS'
78788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
78797 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
78798 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
78799 for ac_func in setenv
78800 do :
78801 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
78802 if test "x$ac_cv_func_setenv" = x""yes; then :
78803 cat >>confdefs.h <<_ACEOF
78804 #define HAVE_SETENV 1
78805 _ACEOF
78808 done
78814 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
78815 test $enable_symvers != no; then
78816 case "$host" in
78817 *-*-cygwin*)
78818 enable_abi_check=no ;;
78820 enable_abi_check=yes ;;
78821 esac
78822 else
78823 # Only build this as native, since automake does not understand
78824 # CXX_FOR_BUILD.
78825 enable_abi_check=no
78828 # Export file names for ABI checking.
78829 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
78831 baseline_subdir_switch="$abi_baseline_subdir_switch"
78835 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
78837 # Check whether --enable-libstdcxx-threads was given.
78838 if test "${enable_libstdcxx_threads+set}" = set; then :
78839 enableval=$enable_libstdcxx_threads;
78840 case "$enableval" in
78841 yes|no) ;;
78842 *) as_fn_error "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
78843 esac
78845 else
78846 enable_libstdcxx_threads=auto
78851 if test x$enable_libstdcxx_threads = xauto ||
78852 test x$enable_libstdcxx_threads = xyes; then
78855 ac_ext=cpp
78856 ac_cpp='$CXXCPP $CPPFLAGS'
78857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78862 ac_save_CXXFLAGS="$CXXFLAGS"
78863 CXXFLAGS="$CXXFLAGS -fno-exceptions \
78864 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
78866 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
78867 case $target_thread_file in
78868 posix)
78869 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
78870 esac
78872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
78873 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
78875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78876 /* end confdefs.h. */
78877 #include <unistd.h>
78879 main ()
78882 // In case of POSIX threads check _POSIX_TIMEOUTS.
78883 #if (defined(_PTHREADS) \
78884 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
78885 #error
78886 #endif
78889 return 0;
78891 _ACEOF
78892 if ac_fn_cxx_try_compile "$LINENO"; then :
78893 ac_gthread_use_mutex_timedlock=1
78894 else
78895 ac_gthread_use_mutex_timedlock=0
78897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78900 cat >>confdefs.h <<_ACEOF
78901 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
78902 _ACEOF
78905 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
78906 else res_mutex_timedlock=no ; fi
78907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
78908 $as_echo "$res_mutex_timedlock" >&6; }
78910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
78911 $as_echo_n "checking for gthreads library... " >&6; }
78913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78914 /* end confdefs.h. */
78915 #include "gthr.h"
78917 main ()
78920 #ifndef __GTHREADS_CXX0X
78921 #error
78922 #endif
78925 return 0;
78927 _ACEOF
78928 if ac_fn_cxx_try_compile "$LINENO"; then :
78929 ac_has_gthreads=yes
78930 else
78931 ac_has_gthreads=no
78933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78934 else
78935 ac_has_gthreads=no
78938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
78939 $as_echo "$ac_has_gthreads" >&6; }
78941 if test x"$ac_has_gthreads" = x"yes"; then
78943 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
78946 # Also check for pthread_rwlock_t for std::shared_timed_mutex in C++14
78947 ac_fn_cxx_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" "#include \"gthr.h\"
78949 if test "x$ac_cv_type_pthread_rwlock_t" = x""yes; then :
78951 $as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_T 1" >>confdefs.h
78957 CXXFLAGS="$ac_save_CXXFLAGS"
78958 ac_ext=c
78959 ac_cpp='$CPP $CPPFLAGS'
78960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78966 # For Filesystem TS.
78967 for ac_header in fcntl.h dirent.h sys/statvfs.h utime.h
78968 do :
78969 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
78970 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
78971 eval as_val=\$$as_ac_Header
78972 if test "x$as_val" = x""yes; then :
78973 cat >>confdefs.h <<_ACEOF
78974 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
78975 _ACEOF
78979 done
78982 # Check whether --enable-libstdcxx-filesystem-ts was given.
78983 if test "${enable_libstdcxx_filesystem_ts+set}" = set; then :
78984 enableval=$enable_libstdcxx_filesystem_ts;
78985 case "$enableval" in
78986 yes|no|auto) ;;
78987 *) as_fn_error "Unknown argument to enable/disable libstdcxx-filesystem-ts" "$LINENO" 5 ;;
78988 esac
78990 else
78991 enable_libstdcxx_filesystem_ts=auto
78996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Filesystem TS support" >&5
78997 $as_echo_n "checking whether to build Filesystem TS support... " >&6; }
78998 if test x"$ac_cv_header_dirent_h" != x"yes"; then
78999 enable_libstdcxx_filesystem_ts=no
79001 if test x"$enable_libstdcxx_filesystem_ts" = x"auto"; then
79002 case "${target_os}" in
79003 freebsd*|netbsd*|openbsd*|dragonfly*|darwin*)
79004 enable_libstdcxx_filesystem_ts=yes
79006 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
79007 enable_libstdcxx_filesystem_ts=yes
79009 solaris*)
79010 enable_libstdcxx_filesystem_ts=yes
79013 enable_libstdcxx_filesystem_ts=no
79015 esac
79017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_filesystem_ts" >&5
79018 $as_echo "$enable_libstdcxx_filesystem_ts" >&6; }
79022 ac_ext=cpp
79023 ac_cpp='$CXXCPP $CPPFLAGS'
79024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79028 ac_save_CXXFLAGS="$CXXFLAGS"
79029 CXXFLAGS="$CXXFLAGS -fno-exceptions"
79030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct dirent.d_type" >&5
79031 $as_echo_n "checking for struct dirent.d_type... " >&6; }
79032 if test "${glibcxx_cv_dirent_d_type+set}" = set; then :
79033 $as_echo_n "(cached) " >&6
79034 else
79035 if test x$gcc_no_link = xyes; then
79036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79037 /* end confdefs.h. */
79038 #include <dirent.h>
79040 main ()
79043 struct dirent d;
79044 if (sizeof d.d_type) return 0;
79047 return 0;
79049 _ACEOF
79050 if ac_fn_cxx_try_compile "$LINENO"; then :
79051 glibcxx_cv_dirent_d_type=yes
79052 else
79053 glibcxx_cv_dirent_d_type=no
79055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79056 else
79057 if test x$gcc_no_link = xyes; then
79058 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79061 /* end confdefs.h. */
79062 #include <dirent.h>
79064 main ()
79067 struct dirent d;
79068 if (sizeof d.d_type) return 0;
79071 return 0;
79073 _ACEOF
79074 if ac_fn_cxx_try_link "$LINENO"; then :
79075 glibcxx_cv_dirent_d_type=yes
79076 else
79077 glibcxx_cv_dirent_d_type=no
79079 rm -f core conftest.err conftest.$ac_objext \
79080 conftest$ac_exeext conftest.$ac_ext
79085 if test $glibcxx_cv_dirent_d_type = yes; then
79087 $as_echo "#define _GLIBCXX_HAVE_STRUCT_DIRENT_D_TYPE 1" >>confdefs.h
79090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dirent_d_type" >&5
79091 $as_echo "$glibcxx_cv_dirent_d_type" >&6; }
79092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realpath" >&5
79093 $as_echo_n "checking for realpath... " >&6; }
79094 if test "${glibcxx_cv_realpath+set}" = set; then :
79095 $as_echo_n "(cached) " >&6
79096 else
79097 if test x$gcc_no_link = xyes; then
79098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79099 /* end confdefs.h. */
79100 #include <stdlib.h>
79102 main ()
79104 char *tmp = realpath((const char*)NULL, (char*)NULL);
79106 return 0;
79108 _ACEOF
79109 if ac_fn_cxx_try_compile "$LINENO"; then :
79110 glibcxx_cv_realpath=yes
79111 else
79112 glibcxx_cv_realpath=no
79114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79115 else
79116 if test x$gcc_no_link = xyes; then
79117 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79120 /* end confdefs.h. */
79121 #include <stdlib.h>
79123 main ()
79125 char *tmp = realpath((const char*)NULL, (char*)NULL);
79127 return 0;
79129 _ACEOF
79130 if ac_fn_cxx_try_link "$LINENO"; then :
79131 glibcxx_cv_realpath=yes
79132 else
79133 glibcxx_cv_realpath=no
79135 rm -f core conftest.err conftest.$ac_objext \
79136 conftest$ac_exeext conftest.$ac_ext
79141 if test $glibcxx_cv_realpath = yes; then
79143 $as_echo "#define _GLIBCXX_USE_REALPATH 1" >>confdefs.h
79146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_realpath" >&5
79147 $as_echo "$glibcxx_cv_realpath" >&6; }
79148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utimensat" >&5
79149 $as_echo_n "checking for utimensat... " >&6; }
79150 if test "${glibcxx_cv_utimensat+set}" = set; then :
79151 $as_echo_n "(cached) " >&6
79152 else
79153 if test x$gcc_no_link = xyes; then
79154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79155 /* end confdefs.h. */
79157 #include <fcntl.h>
79158 #include <sys/stat.h>
79161 main ()
79164 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
79165 int i = utimensat(AT_FDCWD, "path", ts, 0);
79168 return 0;
79170 _ACEOF
79171 if ac_fn_cxx_try_compile "$LINENO"; then :
79172 glibcxx_cv_utimensat=yes
79173 else
79174 glibcxx_cv_utimensat=no
79176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79177 else
79178 if test x$gcc_no_link = xyes; then
79179 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79182 /* end confdefs.h. */
79184 #include <fcntl.h>
79185 #include <sys/stat.h>
79188 main ()
79191 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
79192 int i = utimensat(AT_FDCWD, "path", ts, 0);
79195 return 0;
79197 _ACEOF
79198 if ac_fn_cxx_try_link "$LINENO"; then :
79199 glibcxx_cv_utimensat=yes
79200 else
79201 glibcxx_cv_utimensat=no
79203 rm -f core conftest.err conftest.$ac_objext \
79204 conftest$ac_exeext conftest.$ac_ext
79209 if test $glibcxx_cv_utimensat = yes; then
79211 $as_echo "#define _GLIBCXX_USE_UTIMENSAT 1" >>confdefs.h
79214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utimensat" >&5
79215 $as_echo "$glibcxx_cv_utimensat" >&6; }
79216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat.st_mtim.tv_nsec" >&5
79217 $as_echo_n "checking for struct stat.st_mtim.tv_nsec... " >&6; }
79218 if test "${glibcxx_cv_st_mtim+set}" = set; then :
79219 $as_echo_n "(cached) " >&6
79220 else
79221 if test x$gcc_no_link = xyes; then
79222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79223 /* end confdefs.h. */
79224 #include <sys/stat.h>
79226 main ()
79229 struct stat st;
79230 return st.st_mtim.tv_nsec;
79233 return 0;
79235 _ACEOF
79236 if ac_fn_cxx_try_compile "$LINENO"; then :
79237 glibcxx_cv_st_mtim=yes
79238 else
79239 glibcxx_cv_st_mtim=no
79241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79242 else
79243 if test x$gcc_no_link = xyes; then
79244 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79247 /* end confdefs.h. */
79248 #include <sys/stat.h>
79250 main ()
79253 struct stat st;
79254 return st.st_mtim.tv_nsec;
79257 return 0;
79259 _ACEOF
79260 if ac_fn_cxx_try_link "$LINENO"; then :
79261 glibcxx_cv_st_mtim=yes
79262 else
79263 glibcxx_cv_st_mtim=no
79265 rm -f core conftest.err conftest.$ac_objext \
79266 conftest$ac_exeext conftest.$ac_ext
79271 if test $glibcxx_cv_st_mtim = yes; then
79273 $as_echo "#define _GLIBCXX_USE_ST_MTIM 1" >>confdefs.h
79276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_st_mtim" >&5
79277 $as_echo "$glibcxx_cv_st_mtim" >&6; }
79278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmod" >&5
79279 $as_echo_n "checking for fchmod... " >&6; }
79280 if test "${glibcxx_cv_fchmod+set}" = set; then :
79281 $as_echo_n "(cached) " >&6
79282 else
79283 if test x$gcc_no_link = xyes; then
79284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79285 /* end confdefs.h. */
79286 #include <sys/stat.h>
79288 main ()
79290 fchmod(1, S_IWUSR);
79292 return 0;
79294 _ACEOF
79295 if ac_fn_cxx_try_compile "$LINENO"; then :
79296 glibcxx_cv_fchmod=yes
79297 else
79298 glibcxx_cv_fchmod=no
79300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79301 else
79302 if test x$gcc_no_link = xyes; then
79303 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79306 /* end confdefs.h. */
79307 #include <sys/stat.h>
79309 main ()
79311 fchmod(1, S_IWUSR);
79313 return 0;
79315 _ACEOF
79316 if ac_fn_cxx_try_link "$LINENO"; then :
79317 glibcxx_cv_fchmod=yes
79318 else
79319 glibcxx_cv_fchmod=no
79321 rm -f core conftest.err conftest.$ac_objext \
79322 conftest$ac_exeext conftest.$ac_ext
79327 if test $glibcxx_cv_fchmod = yes; then
79329 $as_echo "#define _GLIBCXX_USE_FCHMOD 1" >>confdefs.h
79332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmod" >&5
79333 $as_echo "$glibcxx_cv_fchmod" >&6; }
79334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmodat" >&5
79335 $as_echo_n "checking for fchmodat... " >&6; }
79336 if test "${glibcxx_cv_fchmodat+set}" = set; then :
79337 $as_echo_n "(cached) " >&6
79338 else
79339 if test x$gcc_no_link = xyes; then
79340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79341 /* end confdefs.h. */
79343 #include <fcntl.h>
79344 #include <sys/stat.h>
79347 main ()
79349 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
79351 return 0;
79353 _ACEOF
79354 if ac_fn_cxx_try_compile "$LINENO"; then :
79355 glibcxx_cv_fchmodat=yes
79356 else
79357 glibcxx_cv_fchmodat=no
79359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79360 else
79361 if test x$gcc_no_link = xyes; then
79362 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79365 /* end confdefs.h. */
79367 #include <fcntl.h>
79368 #include <sys/stat.h>
79371 main ()
79373 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
79375 return 0;
79377 _ACEOF
79378 if ac_fn_cxx_try_link "$LINENO"; then :
79379 glibcxx_cv_fchmodat=yes
79380 else
79381 glibcxx_cv_fchmodat=no
79383 rm -f core conftest.err conftest.$ac_objext \
79384 conftest$ac_exeext conftest.$ac_ext
79389 if test $glibcxx_cv_fchmodat = yes; then
79391 $as_echo "#define _GLIBCXX_USE_FCHMODAT 1" >>confdefs.h
79394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmodat" >&5
79395 $as_echo "$glibcxx_cv_fchmodat" >&6; }
79396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfile that can copy files" >&5
79397 $as_echo_n "checking for sendfile that can copy files... " >&6; }
79398 if test "${glibcxx_cv_sendfile+set}" = set; then :
79399 $as_echo_n "(cached) " >&6
79400 else
79401 case "${target_os}" in
79402 gnu* | linux* | solaris*)
79403 if test x$gcc_no_link = xyes; then
79404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79405 /* end confdefs.h. */
79406 #include <sys/sendfile.h>
79408 main ()
79410 sendfile(1, 2, (off_t*)NULL, sizeof 1);
79412 return 0;
79414 _ACEOF
79415 if ac_fn_cxx_try_compile "$LINENO"; then :
79416 glibcxx_cv_sendfile=yes
79417 else
79418 glibcxx_cv_sendfile=no
79420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79421 else
79422 if test x$gcc_no_link = xyes; then
79423 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79426 /* end confdefs.h. */
79427 #include <sys/sendfile.h>
79429 main ()
79431 sendfile(1, 2, (off_t*)NULL, sizeof 1);
79433 return 0;
79435 _ACEOF
79436 if ac_fn_cxx_try_link "$LINENO"; then :
79437 glibcxx_cv_sendfile=yes
79438 else
79439 glibcxx_cv_sendfile=no
79441 rm -f core conftest.err conftest.$ac_objext \
79442 conftest$ac_exeext conftest.$ac_ext
79446 glibcxx_cv_sendfile=no
79448 esac
79452 if test $glibcxx_cv_sendfile = yes; then
79454 $as_echo "#define _GLIBCXX_USE_SENDFILE 1" >>confdefs.h
79457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sendfile" >&5
79458 $as_echo "$glibcxx_cv_sendfile" >&6; }
79459 CXXFLAGS="$ac_save_CXXFLAGS"
79460 ac_ext=c
79461 ac_cpp='$CPP $CPPFLAGS'
79462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79468 # Define documentation rules conditionally.
79470 # See if makeinfo has been installed and is modern enough
79471 # that we can use it.
79473 # Extract the first word of "makeinfo", so it can be a program name with args.
79474 set dummy makeinfo; ac_word=$2
79475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
79476 $as_echo_n "checking for $ac_word... " >&6; }
79477 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
79478 $as_echo_n "(cached) " >&6
79479 else
79480 if test -n "$MAKEINFO"; then
79481 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
79482 else
79483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79484 for as_dir in $PATH
79486 IFS=$as_save_IFS
79487 test -z "$as_dir" && as_dir=.
79488 for ac_exec_ext in '' $ac_executable_extensions; do
79489 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
79490 ac_cv_prog_MAKEINFO="makeinfo"
79491 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
79492 break 2
79494 done
79495 done
79496 IFS=$as_save_IFS
79500 MAKEINFO=$ac_cv_prog_MAKEINFO
79501 if test -n "$MAKEINFO"; then
79502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
79503 $as_echo "$MAKEINFO" >&6; }
79504 else
79505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
79506 $as_echo "no" >&6; }
79510 if test -n "$MAKEINFO"; then
79511 # Found it, now check the version.
79512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
79513 $as_echo_n "checking for modern makeinfo... " >&6; }
79514 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
79515 $as_echo_n "(cached) " >&6
79516 else
79517 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
79518 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
79520 case $ac_prog_version in
79521 '') gcc_cv_prog_makeinfo_modern=no;;
79522 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
79523 *) gcc_cv_prog_makeinfo_modern=no;;
79524 esac
79527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
79528 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
79529 else
79530 gcc_cv_prog_makeinfo_modern=no
79532 if test $gcc_cv_prog_makeinfo_modern = no; then
79533 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
79536 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
79537 BUILD_INFO_TRUE=
79538 BUILD_INFO_FALSE='#'
79539 else
79540 BUILD_INFO_TRUE='#'
79541 BUILD_INFO_FALSE=
79545 # Check for doxygen
79546 # Extract the first word of "doxygen", so it can be a program name with args.
79547 set dummy doxygen; ac_word=$2
79548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
79549 $as_echo_n "checking for $ac_word... " >&6; }
79550 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
79551 $as_echo_n "(cached) " >&6
79552 else
79553 if test -n "$DOXYGEN"; then
79554 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
79555 else
79556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79557 for as_dir in $PATH
79559 IFS=$as_save_IFS
79560 test -z "$as_dir" && as_dir=.
79561 for ac_exec_ext in '' $ac_executable_extensions; do
79562 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
79563 ac_cv_prog_DOXYGEN="yes"
79564 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
79565 break 2
79567 done
79568 done
79569 IFS=$as_save_IFS
79571 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
79574 DOXYGEN=$ac_cv_prog_DOXYGEN
79575 if test -n "$DOXYGEN"; then
79576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
79577 $as_echo "$DOXYGEN" >&6; }
79578 else
79579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
79580 $as_echo "no" >&6; }
79584 # Extract the first word of "dot", so it can be a program name with args.
79585 set dummy dot; ac_word=$2
79586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
79587 $as_echo_n "checking for $ac_word... " >&6; }
79588 if test "${ac_cv_prog_DOT+set}" = set; then :
79589 $as_echo_n "(cached) " >&6
79590 else
79591 if test -n "$DOT"; then
79592 ac_cv_prog_DOT="$DOT" # Let the user override the test.
79593 else
79594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79595 for as_dir in $PATH
79597 IFS=$as_save_IFS
79598 test -z "$as_dir" && as_dir=.
79599 for ac_exec_ext in '' $ac_executable_extensions; do
79600 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
79601 ac_cv_prog_DOT="yes"
79602 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
79603 break 2
79605 done
79606 done
79607 IFS=$as_save_IFS
79609 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
79612 DOT=$ac_cv_prog_DOT
79613 if test -n "$DOT"; then
79614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
79615 $as_echo "$DOT" >&6; }
79616 else
79617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
79618 $as_echo "no" >&6; }
79623 # Check for docbook
79624 # Extract the first word of "xsltproc", so it can be a program name with args.
79625 set dummy xsltproc; ac_word=$2
79626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
79627 $as_echo_n "checking for $ac_word... " >&6; }
79628 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
79629 $as_echo_n "(cached) " >&6
79630 else
79631 if test -n "$XSLTPROC"; then
79632 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
79633 else
79634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79635 for as_dir in $PATH
79637 IFS=$as_save_IFS
79638 test -z "$as_dir" && as_dir=.
79639 for ac_exec_ext in '' $ac_executable_extensions; do
79640 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
79641 ac_cv_prog_XSLTPROC="yes"
79642 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
79643 break 2
79645 done
79646 done
79647 IFS=$as_save_IFS
79649 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
79652 XSLTPROC=$ac_cv_prog_XSLTPROC
79653 if test -n "$XSLTPROC"; then
79654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
79655 $as_echo "$XSLTPROC" >&6; }
79656 else
79657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
79658 $as_echo "no" >&6; }
79662 # Extract the first word of "xmllint", so it can be a program name with args.
79663 set dummy xmllint; ac_word=$2
79664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
79665 $as_echo_n "checking for $ac_word... " >&6; }
79666 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
79667 $as_echo_n "(cached) " >&6
79668 else
79669 if test -n "$XMLLINT"; then
79670 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
79671 else
79672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79673 for as_dir in $PATH
79675 IFS=$as_save_IFS
79676 test -z "$as_dir" && as_dir=.
79677 for ac_exec_ext in '' $ac_executable_extensions; do
79678 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
79679 ac_cv_prog_XMLLINT="yes"
79680 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
79681 break 2
79683 done
79684 done
79685 IFS=$as_save_IFS
79687 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
79690 XMLLINT=$ac_cv_prog_XMLLINT
79691 if test -n "$XMLLINT"; then
79692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
79693 $as_echo "$XMLLINT" >&6; }
79694 else
79695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
79696 $as_echo "no" >&6; }
79702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
79703 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
79704 glibcxx_stylesheets=no
79705 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
79706 glibcxx_stylesheets=yes
79708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
79709 $as_echo "$glibcxx_stylesheets" >&6; }
79711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
79712 $as_echo_n "checking for local stylesheet directory... " >&6; }
79713 glibcxx_local_stylesheets=no
79714 if test x"$glibcxx_stylesheets" = x"yes"; then
79715 if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
79716 glibcxx_local_stylesheets=yes
79717 XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
79719 if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
79720 glibcxx_local_stylesheets=yes
79721 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
79723 if test -d /usr/share/xml/docbook/stylesheet/nwalsh5/current; then
79724 glibcxx_local_stylesheets=yes
79725 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/nwalsh5/current
79728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
79729 $as_echo "$glibcxx_local_stylesheets" >&6; }
79731 if test x"$glibcxx_local_stylesheets" = x"yes"; then
79733 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
79734 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
79735 else
79736 glibcxx_stylesheets=no
79739 # Check for epub3 dependencies.
79740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
79741 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
79742 glibcxx_epub_stylesheets=no
79743 if test x"$glibcxx_local_stylesheets" = x"yes"; then
79744 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
79745 glibcxx_epub_stylesheets=yes
79748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
79749 $as_echo "$glibcxx_epub_stylesheets" >&6; }
79750 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
79751 BUILD_EPUB_TRUE=
79752 BUILD_EPUB_FALSE='#'
79753 else
79754 BUILD_EPUB_TRUE='#'
79755 BUILD_EPUB_FALSE=
79761 # Check for xml/html dependencies.
79762 if test $ac_cv_prog_DOXYGEN = "yes" &&
79763 test $ac_cv_prog_DOT = "yes" &&
79764 test $ac_cv_prog_XSLTPROC = "yes" &&
79765 test $ac_cv_prog_XMLLINT = "yes" &&
79766 test $glibcxx_stylesheets = "yes"; then
79767 BUILD_XML_TRUE=
79768 BUILD_XML_FALSE='#'
79769 else
79770 BUILD_XML_TRUE='#'
79771 BUILD_XML_FALSE=
79775 if test $ac_cv_prog_DOXYGEN = "yes" &&
79776 test $ac_cv_prog_DOT = "yes" &&
79777 test $ac_cv_prog_XSLTPROC = "yes" &&
79778 test $ac_cv_prog_XMLLINT = "yes" &&
79779 test $glibcxx_stylesheets = "yes"; then
79780 BUILD_HTML_TRUE=
79781 BUILD_HTML_FALSE='#'
79782 else
79783 BUILD_HTML_TRUE='#'
79784 BUILD_HTML_FALSE=
79788 # Check for man dependencies.
79789 if test $ac_cv_prog_DOXYGEN = "yes" &&
79790 test $ac_cv_prog_DOT = "yes"; then
79791 BUILD_MAN_TRUE=
79792 BUILD_MAN_FALSE='#'
79793 else
79794 BUILD_MAN_TRUE='#'
79795 BUILD_MAN_FALSE=
79799 # Check for pdf dependencies.
79800 # Extract the first word of "dblatex", so it can be a program name with args.
79801 set dummy dblatex; ac_word=$2
79802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
79803 $as_echo_n "checking for $ac_word... " >&6; }
79804 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
79805 $as_echo_n "(cached) " >&6
79806 else
79807 if test -n "$DBLATEX"; then
79808 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
79809 else
79810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79811 for as_dir in $PATH
79813 IFS=$as_save_IFS
79814 test -z "$as_dir" && as_dir=.
79815 for ac_exec_ext in '' $ac_executable_extensions; do
79816 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
79817 ac_cv_prog_DBLATEX="yes"
79818 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
79819 break 2
79821 done
79822 done
79823 IFS=$as_save_IFS
79825 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
79828 DBLATEX=$ac_cv_prog_DBLATEX
79829 if test -n "$DBLATEX"; then
79830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
79831 $as_echo "$DBLATEX" >&6; }
79832 else
79833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
79834 $as_echo "no" >&6; }
79838 # Extract the first word of "pdflatex", so it can be a program name with args.
79839 set dummy pdflatex; ac_word=$2
79840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
79841 $as_echo_n "checking for $ac_word... " >&6; }
79842 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
79843 $as_echo_n "(cached) " >&6
79844 else
79845 if test -n "$PDFLATEX"; then
79846 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
79847 else
79848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79849 for as_dir in $PATH
79851 IFS=$as_save_IFS
79852 test -z "$as_dir" && as_dir=.
79853 for ac_exec_ext in '' $ac_executable_extensions; do
79854 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
79855 ac_cv_prog_PDFLATEX="yes"
79856 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
79857 break 2
79859 done
79860 done
79861 IFS=$as_save_IFS
79863 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
79866 PDFLATEX=$ac_cv_prog_PDFLATEX
79867 if test -n "$PDFLATEX"; then
79868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
79869 $as_echo "$PDFLATEX" >&6; }
79870 else
79871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
79872 $as_echo "no" >&6; }
79876 if test $ac_cv_prog_DBLATEX = "yes" &&
79877 test $ac_cv_prog_PDFLATEX = "yes"; then
79878 BUILD_PDF_TRUE=
79879 BUILD_PDF_FALSE='#'
79880 else
79881 BUILD_PDF_TRUE='#'
79882 BUILD_PDF_FALSE=
79887 # Propagate the target-specific source directories through the build chain.
79888 ATOMICITY_SRCDIR=config/${atomicity_dir}
79889 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
79890 ATOMIC_FLAGS=${atomic_flags}
79891 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
79892 OS_INC_SRCDIR=config/${os_include_dir}
79893 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
79894 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
79895 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
79896 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
79908 # Determine cross-compile flags and AM_CONDITIONALs.
79909 #AC_SUBST(GLIBCXX_IS_NATIVE)
79910 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
79911 if test $is_hosted = yes; then
79912 GLIBCXX_HOSTED_TRUE=
79913 GLIBCXX_HOSTED_FALSE='#'
79914 else
79915 GLIBCXX_HOSTED_TRUE='#'
79916 GLIBCXX_HOSTED_FALSE=
79920 if test $enable_libstdcxx_pch = yes; then
79921 GLIBCXX_BUILD_PCH_TRUE=
79922 GLIBCXX_BUILD_PCH_FALSE='#'
79923 else
79924 GLIBCXX_BUILD_PCH_TRUE='#'
79925 GLIBCXX_BUILD_PCH_FALSE=
79929 if test $enable_cheaders = c; then
79930 GLIBCXX_C_HEADERS_C_TRUE=
79931 GLIBCXX_C_HEADERS_C_FALSE='#'
79932 else
79933 GLIBCXX_C_HEADERS_C_TRUE='#'
79934 GLIBCXX_C_HEADERS_C_FALSE=
79938 if test $enable_cheaders = c_std; then
79939 GLIBCXX_C_HEADERS_C_STD_TRUE=
79940 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
79941 else
79942 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
79943 GLIBCXX_C_HEADERS_C_STD_FALSE=
79947 if test $enable_cheaders = c_global; then
79948 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
79949 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
79950 else
79951 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
79952 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
79956 if test $c_compatibility = yes; then
79957 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
79958 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
79959 else
79960 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
79961 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
79965 if test $enable_libstdcxx_debug = yes; then
79966 GLIBCXX_BUILD_DEBUG_TRUE=
79967 GLIBCXX_BUILD_DEBUG_FALSE='#'
79968 else
79969 GLIBCXX_BUILD_DEBUG_TRUE='#'
79970 GLIBCXX_BUILD_DEBUG_FALSE=
79974 if test $enable_extern_template = yes; then
79975 ENABLE_EXTERN_TEMPLATE_TRUE=
79976 ENABLE_EXTERN_TEMPLATE_FALSE='#'
79977 else
79978 ENABLE_EXTERN_TEMPLATE_TRUE='#'
79979 ENABLE_EXTERN_TEMPLATE_FALSE=
79983 if test $python_mod_dir != no; then
79984 ENABLE_PYTHONDIR_TRUE=
79985 ENABLE_PYTHONDIR_FALSE='#'
79986 else
79987 ENABLE_PYTHONDIR_TRUE='#'
79988 ENABLE_PYTHONDIR_FALSE=
79992 if test $enable_werror = yes; then
79993 ENABLE_WERROR_TRUE=
79994 ENABLE_WERROR_FALSE='#'
79995 else
79996 ENABLE_WERROR_TRUE='#'
79997 ENABLE_WERROR_FALSE=
80001 if test $enable_vtable_verify = yes; then
80002 ENABLE_VTABLE_VERIFY_TRUE=
80003 ENABLE_VTABLE_VERIFY_FALSE='#'
80004 else
80005 ENABLE_VTABLE_VERIFY_TRUE='#'
80006 ENABLE_VTABLE_VERIFY_FALSE=
80010 if test $enable_symvers != no; then
80011 ENABLE_SYMVERS_TRUE=
80012 ENABLE_SYMVERS_FALSE='#'
80013 else
80014 ENABLE_SYMVERS_TRUE='#'
80015 ENABLE_SYMVERS_FALSE=
80019 if test $enable_symvers = gnu; then
80020 ENABLE_SYMVERS_GNU_TRUE=
80021 ENABLE_SYMVERS_GNU_FALSE='#'
80022 else
80023 ENABLE_SYMVERS_GNU_TRUE='#'
80024 ENABLE_SYMVERS_GNU_FALSE=
80028 if test $enable_symvers = gnu-versioned-namespace; then
80029 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
80030 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
80031 else
80032 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
80033 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
80037 if test $enable_symvers = darwin; then
80038 ENABLE_SYMVERS_DARWIN_TRUE=
80039 ENABLE_SYMVERS_DARWIN_FALSE='#'
80040 else
80041 ENABLE_SYMVERS_DARWIN_TRUE='#'
80042 ENABLE_SYMVERS_DARWIN_FALSE=
80046 if test $enable_symvers = sun; then
80047 ENABLE_SYMVERS_SUN_TRUE=
80048 ENABLE_SYMVERS_SUN_FALSE='#'
80049 else
80050 ENABLE_SYMVERS_SUN_TRUE='#'
80051 ENABLE_SYMVERS_SUN_FALSE=
80055 if test $enable_libstdcxx_visibility = yes; then
80056 ENABLE_VISIBILITY_TRUE=
80057 ENABLE_VISIBILITY_FALSE='#'
80058 else
80059 ENABLE_VISIBILITY_TRUE='#'
80060 ENABLE_VISIBILITY_FALSE=
80064 if test $enable_libstdcxx_dual_abi = yes; then
80065 ENABLE_DUAL_ABI_TRUE=
80066 ENABLE_DUAL_ABI_FALSE='#'
80067 else
80068 ENABLE_DUAL_ABI_TRUE='#'
80069 ENABLE_DUAL_ABI_FALSE=
80073 if test $glibcxx_cxx11_abi = 1; then
80074 ENABLE_CXX11_ABI_TRUE=
80075 ENABLE_CXX11_ABI_FALSE='#'
80076 else
80077 ENABLE_CXX11_ABI_TRUE='#'
80078 ENABLE_CXX11_ABI_FALSE=
80082 if test $ac_ldbl_compat = yes; then
80083 GLIBCXX_LDBL_COMPAT_TRUE=
80084 GLIBCXX_LDBL_COMPAT_FALSE='#'
80085 else
80086 GLIBCXX_LDBL_COMPAT_TRUE='#'
80087 GLIBCXX_LDBL_COMPAT_FALSE=
80091 if test $enable_libstdcxx_filesystem_ts = yes; then
80092 ENABLE_FILESYSTEM_TS_TRUE=
80093 ENABLE_FILESYSTEM_TS_FALSE='#'
80094 else
80095 ENABLE_FILESYSTEM_TS_TRUE='#'
80096 ENABLE_FILESYSTEM_TS_FALSE=
80102 cat >confcache <<\_ACEOF
80103 # This file is a shell script that caches the results of configure
80104 # tests run on this system so they can be shared between configure
80105 # scripts and configure runs, see configure's option --config-cache.
80106 # It is not useful on other systems. If it contains results you don't
80107 # want to keep, you may remove or edit it.
80109 # config.status only pays attention to the cache file if you give it
80110 # the --recheck option to rerun configure.
80112 # `ac_cv_env_foo' variables (set or unset) will be overridden when
80113 # loading this file, other *unset* `ac_cv_foo' will be assigned the
80114 # following values.
80116 _ACEOF
80118 # The following way of writing the cache mishandles newlines in values,
80119 # but we know of no workaround that is simple, portable, and efficient.
80120 # So, we kill variables containing newlines.
80121 # Ultrix sh set writes to stderr and can't be redirected directly,
80122 # and sets the high bit in the cache file unless we assign to the vars.
80124 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
80125 eval ac_val=\$$ac_var
80126 case $ac_val in #(
80127 *${as_nl}*)
80128 case $ac_var in #(
80129 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
80130 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
80131 esac
80132 case $ac_var in #(
80133 _ | IFS | as_nl) ;; #(
80134 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
80135 *) { eval $ac_var=; unset $ac_var;} ;;
80136 esac ;;
80137 esac
80138 done
80140 (set) 2>&1 |
80141 case $as_nl`(ac_space=' '; set) 2>&1` in #(
80142 *${as_nl}ac_space=\ *)
80143 # `set' does not quote correctly, so add quotes: double-quote
80144 # substitution turns \\\\ into \\, and sed turns \\ into \.
80145 sed -n \
80146 "s/'/'\\\\''/g;
80147 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
80148 ;; #(
80150 # `set' quotes correctly as required by POSIX, so do not add quotes.
80151 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
80153 esac |
80154 sort
80156 sed '
80157 /^ac_cv_env_/b end
80158 t clear
80159 :clear
80160 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
80161 t end
80162 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
80163 :end' >>confcache
80164 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
80165 if test -w "$cache_file"; then
80166 test "x$cache_file" != "x/dev/null" &&
80167 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
80168 $as_echo "$as_me: updating cache $cache_file" >&6;}
80169 cat confcache >$cache_file
80170 else
80171 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
80172 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
80175 rm -f confcache
80177 if test ${multilib} = yes; then
80178 multilib_arg="--enable-multilib"
80179 else
80180 multilib_arg=
80183 # Export all the install information.
80185 glibcxx_toolexecdir=no
80186 glibcxx_toolexeclibdir=no
80187 glibcxx_prefixdir=$prefix
80189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
80190 $as_echo_n "checking for gxx-include-dir... " >&6; }
80192 # Check whether --with-gxx-include-dir was given.
80193 if test "${with_gxx_include_dir+set}" = set; then :
80194 withval=$with_gxx_include_dir; case "$withval" in
80195 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
80196 no) gxx_include_dir=no ;;
80197 *) gxx_include_dir=$withval ;;
80198 esac
80199 else
80200 gxx_include_dir=no
80203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
80204 $as_echo "$gxx_include_dir" >&6; }
80206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
80207 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
80208 # Check whether --enable-version-specific-runtime-libs was given.
80209 if test "${enable_version_specific_runtime_libs+set}" = set; then :
80210 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
80211 yes) version_specific_libs=yes ;;
80212 no) version_specific_libs=no ;;
80213 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
80214 esac
80215 else
80216 version_specific_libs=no
80219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
80220 $as_echo "$version_specific_libs" >&6; }
80222 # Default case for install directory for include files.
80223 if test $version_specific_libs = no && test $gxx_include_dir = no; then
80224 gxx_include_dir='include/c++/${gcc_version}'
80225 if test -n "$with_cross_host" &&
80226 test x"$with_cross_host" != x"no"; then
80227 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
80228 else
80229 gxx_include_dir='${prefix}/'"$gxx_include_dir"
80233 # Version-specific runtime libs processing.
80234 if test $version_specific_libs = yes; then
80235 # Need the gcc compiler version to know where to install libraries
80236 # and header files if --enable-version-specific-runtime-libs option
80237 # is selected. FIXME: these variables are misnamed, there are
80238 # no executables installed in _toolexecdir or _toolexeclibdir.
80239 if test x"$gxx_include_dir" = x"no"; then
80240 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
80242 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
80243 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
80246 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
80247 # Install a library built with a cross compiler in tooldir, not libdir.
80248 if test x"$glibcxx_toolexecdir" = x"no"; then
80249 if test -n "$with_cross_host" &&
80250 test x"$with_cross_host" != x"no"; then
80251 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
80252 glibcxx_toolexeclibdir='${toolexecdir}/lib'
80253 else
80254 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
80255 glibcxx_toolexeclibdir='${libdir}'
80257 multi_os_directory=`$CXX -print-multi-os-directory`
80258 case $multi_os_directory in
80259 .) ;; # Avoid trailing /.
80260 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
80261 esac
80264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
80265 $as_echo_n "checking for install location... " >&6; }
80266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
80267 $as_echo "$gxx_include_dir" >&6; }
80275 # Export all the include and flag information to Makefiles.
80277 # Used for every C++ compile we perform.
80278 GLIBCXX_INCLUDES="\
80279 -I$glibcxx_builddir/include/$host_alias \
80280 -I$glibcxx_builddir/include \
80281 -I$glibcxx_srcdir/libsupc++"
80283 # For Canadian crosses, pick this up too.
80284 if test $CANADIAN = yes; then
80285 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
80288 # Stuff in the actual top level. Currently only used by libsupc++ to
80289 # get unwind* headers from the libgcc dir.
80290 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
80291 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
80293 # Now, export this to all the little Makefiles....
80298 # Optimization flags that are probably a good idea for thrill-seekers. Just
80299 # uncomment the lines below and make, everything else is ready to go...
80300 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
80301 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
80304 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi'
80308 ac_config_files="$ac_config_files Makefile"
80310 ac_config_files="$ac_config_files scripts/testsuite_flags"
80312 ac_config_files="$ac_config_files scripts/extract_symvers"
80314 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
80317 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
80318 # that multilib installs will end up installed in the correct place.
80319 # The testsuite needs it for multilib-aware ABI baseline files.
80320 # To work around this not being passed down from config-ml.in ->
80321 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
80322 # append it here. Only modify Makefiles that have just been created.
80324 # Also, get rid of this simulated-VPATH thing that automake does.
80325 ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile src/Makefile src/c++98/Makefile src/c++11/Makefile src/filesystem/Makefile doc/Makefile po/Makefile testsuite/Makefile python/Makefile"
80328 ac_config_commands="$ac_config_commands generate-headers"
80331 cat >confcache <<\_ACEOF
80332 # This file is a shell script that caches the results of configure
80333 # tests run on this system so they can be shared between configure
80334 # scripts and configure runs, see configure's option --config-cache.
80335 # It is not useful on other systems. If it contains results you don't
80336 # want to keep, you may remove or edit it.
80338 # config.status only pays attention to the cache file if you give it
80339 # the --recheck option to rerun configure.
80341 # `ac_cv_env_foo' variables (set or unset) will be overridden when
80342 # loading this file, other *unset* `ac_cv_foo' will be assigned the
80343 # following values.
80345 _ACEOF
80347 # The following way of writing the cache mishandles newlines in values,
80348 # but we know of no workaround that is simple, portable, and efficient.
80349 # So, we kill variables containing newlines.
80350 # Ultrix sh set writes to stderr and can't be redirected directly,
80351 # and sets the high bit in the cache file unless we assign to the vars.
80353 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
80354 eval ac_val=\$$ac_var
80355 case $ac_val in #(
80356 *${as_nl}*)
80357 case $ac_var in #(
80358 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
80359 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
80360 esac
80361 case $ac_var in #(
80362 _ | IFS | as_nl) ;; #(
80363 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
80364 *) { eval $ac_var=; unset $ac_var;} ;;
80365 esac ;;
80366 esac
80367 done
80369 (set) 2>&1 |
80370 case $as_nl`(ac_space=' '; set) 2>&1` in #(
80371 *${as_nl}ac_space=\ *)
80372 # `set' does not quote correctly, so add quotes: double-quote
80373 # substitution turns \\\\ into \\, and sed turns \\ into \.
80374 sed -n \
80375 "s/'/'\\\\''/g;
80376 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
80377 ;; #(
80379 # `set' quotes correctly as required by POSIX, so do not add quotes.
80380 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
80382 esac |
80383 sort
80385 sed '
80386 /^ac_cv_env_/b end
80387 t clear
80388 :clear
80389 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
80390 t end
80391 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
80392 :end' >>confcache
80393 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
80394 if test -w "$cache_file"; then
80395 test "x$cache_file" != "x/dev/null" &&
80396 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
80397 $as_echo "$as_me: updating cache $cache_file" >&6;}
80398 cat confcache >$cache_file
80399 else
80400 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
80401 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
80404 rm -f confcache
80406 test "x$prefix" = xNONE && prefix=$ac_default_prefix
80407 # Let make expand exec_prefix.
80408 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
80410 DEFS=-DHAVE_CONFIG_H
80412 ac_libobjs=
80413 ac_ltlibobjs=
80414 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
80415 # 1. Remove the extension, and $U if already installed.
80416 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
80417 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
80418 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
80419 # will be set to the directory where LIBOBJS objects are built.
80420 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
80421 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
80422 done
80423 LIBOBJS=$ac_libobjs
80425 LTLIBOBJS=$ac_ltlibobjs
80428 if test -n "$EXEEXT"; then
80429 am__EXEEXT_TRUE=
80430 am__EXEEXT_FALSE='#'
80431 else
80432 am__EXEEXT_TRUE='#'
80433 am__EXEEXT_FALSE=
80436 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
80437 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
80438 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80440 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
80441 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
80442 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80444 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
80445 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
80446 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80448 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
80449 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
80450 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80452 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
80453 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
80454 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80456 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
80457 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
80458 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80460 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
80461 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
80462 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80464 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
80465 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
80466 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80468 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
80469 as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
80470 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80472 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
80473 as_fn_error "conditional \"ENABLE_PYTHONDIR\" was never defined.
80474 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80476 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
80477 as_fn_error "conditional \"ENABLE_WERROR\" was never defined.
80478 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80480 if test -z "${VTV_CYGMIN_TRUE}" && test -z "${VTV_CYGMIN_FALSE}"; then
80481 as_fn_error "conditional \"VTV_CYGMIN\" was never defined.
80482 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80484 if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
80485 as_fn_error "conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
80486 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80488 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
80489 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
80490 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80492 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
80493 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
80494 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80496 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
80497 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
80498 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80500 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
80501 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
80502 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80504 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
80505 as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
80506 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80508 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
80509 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
80510 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80512 if test -z "${ENABLE_DUAL_ABI_TRUE}" && test -z "${ENABLE_DUAL_ABI_FALSE}"; then
80513 as_fn_error "conditional \"ENABLE_DUAL_ABI\" was never defined.
80514 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80516 if test -z "${ENABLE_CXX11_ABI_TRUE}" && test -z "${ENABLE_CXX11_ABI_FALSE}"; then
80517 as_fn_error "conditional \"ENABLE_CXX11_ABI\" was never defined.
80518 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80520 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
80521 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
80522 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80524 if test -z "${ENABLE_FILESYSTEM_TS_TRUE}" && test -z "${ENABLE_FILESYSTEM_TS_FALSE}"; then
80525 as_fn_error "conditional \"ENABLE_FILESYSTEM_TS\" was never defined.
80526 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80528 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
80529 as_fn_error "conditional \"BUILD_INFO\" was never defined.
80530 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80532 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
80533 as_fn_error "conditional \"BUILD_EPUB\" was never defined.
80534 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80536 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
80537 as_fn_error "conditional \"BUILD_XML\" was never defined.
80538 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80540 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
80541 as_fn_error "conditional \"BUILD_HTML\" was never defined.
80542 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80544 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
80545 as_fn_error "conditional \"BUILD_MAN\" was never defined.
80546 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80548 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
80549 as_fn_error "conditional \"BUILD_PDF\" was never defined.
80550 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80553 : ${CONFIG_STATUS=./config.status}
80554 ac_write_fail=0
80555 ac_clean_files_save=$ac_clean_files
80556 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
80557 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
80558 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
80559 as_write_fail=0
80560 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
80561 #! $SHELL
80562 # Generated by $as_me.
80563 # Run this file to recreate the current configuration.
80564 # Compiler output produced by configure, useful for debugging
80565 # configure, is in config.log if it exists.
80567 debug=false
80568 ac_cs_recheck=false
80569 ac_cs_silent=false
80571 SHELL=\${CONFIG_SHELL-$SHELL}
80572 export SHELL
80573 _ASEOF
80574 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
80575 ## -------------------- ##
80576 ## M4sh Initialization. ##
80577 ## -------------------- ##
80579 # Be more Bourne compatible
80580 DUALCASE=1; export DUALCASE # for MKS sh
80581 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
80582 emulate sh
80583 NULLCMD=:
80584 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
80585 # is contrary to our usage. Disable this feature.
80586 alias -g '${1+"$@"}'='"$@"'
80587 setopt NO_GLOB_SUBST
80588 else
80589 case `(set -o) 2>/dev/null` in #(
80590 *posix*) :
80591 set -o posix ;; #(
80592 *) :
80594 esac
80598 as_nl='
80600 export as_nl
80601 # Printing a long string crashes Solaris 7 /usr/bin/printf.
80602 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
80603 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
80604 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
80605 # Prefer a ksh shell builtin over an external printf program on Solaris,
80606 # but without wasting forks for bash or zsh.
80607 if test -z "$BASH_VERSION$ZSH_VERSION" \
80608 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
80609 as_echo='print -r --'
80610 as_echo_n='print -rn --'
80611 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
80612 as_echo='printf %s\n'
80613 as_echo_n='printf %s'
80614 else
80615 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
80616 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
80617 as_echo_n='/usr/ucb/echo -n'
80618 else
80619 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
80620 as_echo_n_body='eval
80621 arg=$1;
80622 case $arg in #(
80623 *"$as_nl"*)
80624 expr "X$arg" : "X\\(.*\\)$as_nl";
80625 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
80626 esac;
80627 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
80629 export as_echo_n_body
80630 as_echo_n='sh -c $as_echo_n_body as_echo'
80632 export as_echo_body
80633 as_echo='sh -c $as_echo_body as_echo'
80636 # The user is always right.
80637 if test "${PATH_SEPARATOR+set}" != set; then
80638 PATH_SEPARATOR=:
80639 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80640 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
80641 PATH_SEPARATOR=';'
80646 # IFS
80647 # We need space, tab and new line, in precisely that order. Quoting is
80648 # there to prevent editors from complaining about space-tab.
80649 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
80650 # splitting by setting IFS to empty value.)
80651 IFS=" "" $as_nl"
80653 # Find who we are. Look in the path if we contain no directory separator.
80654 case $0 in #((
80655 *[\\/]* ) as_myself=$0 ;;
80656 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80657 for as_dir in $PATH
80659 IFS=$as_save_IFS
80660 test -z "$as_dir" && as_dir=.
80661 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
80662 done
80663 IFS=$as_save_IFS
80666 esac
80667 # We did not find ourselves, most probably we were run as `sh COMMAND'
80668 # in which case we are not to be found in the path.
80669 if test "x$as_myself" = x; then
80670 as_myself=$0
80672 if test ! -f "$as_myself"; then
80673 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
80674 exit 1
80677 # Unset variables that we do not need and which cause bugs (e.g. in
80678 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
80679 # suppresses any "Segmentation fault" message there. '((' could
80680 # trigger a bug in pdksh 5.2.14.
80681 for as_var in BASH_ENV ENV MAIL MAILPATH
80682 do eval test x\${$as_var+set} = xset \
80683 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
80684 done
80685 PS1='$ '
80686 PS2='> '
80687 PS4='+ '
80689 # NLS nuisances.
80690 LC_ALL=C
80691 export LC_ALL
80692 LANGUAGE=C
80693 export LANGUAGE
80695 # CDPATH.
80696 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
80699 # as_fn_error ERROR [LINENO LOG_FD]
80700 # ---------------------------------
80701 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
80702 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
80703 # script with status $?, using 1 if that was 0.
80704 as_fn_error ()
80706 as_status=$?; test $as_status -eq 0 && as_status=1
80707 if test "$3"; then
80708 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
80709 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
80711 $as_echo "$as_me: error: $1" >&2
80712 as_fn_exit $as_status
80713 } # as_fn_error
80716 # as_fn_set_status STATUS
80717 # -----------------------
80718 # Set $? to STATUS, without forking.
80719 as_fn_set_status ()
80721 return $1
80722 } # as_fn_set_status
80724 # as_fn_exit STATUS
80725 # -----------------
80726 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
80727 as_fn_exit ()
80729 set +e
80730 as_fn_set_status $1
80731 exit $1
80732 } # as_fn_exit
80734 # as_fn_unset VAR
80735 # ---------------
80736 # Portably unset VAR.
80737 as_fn_unset ()
80739 { eval $1=; unset $1;}
80741 as_unset=as_fn_unset
80742 # as_fn_append VAR VALUE
80743 # ----------------------
80744 # Append the text in VALUE to the end of the definition contained in VAR. Take
80745 # advantage of any shell optimizations that allow amortized linear growth over
80746 # repeated appends, instead of the typical quadratic growth present in naive
80747 # implementations.
80748 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
80749 eval 'as_fn_append ()
80751 eval $1+=\$2
80753 else
80754 as_fn_append ()
80756 eval $1=\$$1\$2
80758 fi # as_fn_append
80760 # as_fn_arith ARG...
80761 # ------------------
80762 # Perform arithmetic evaluation on the ARGs, and store the result in the
80763 # global $as_val. Take advantage of shells that can avoid forks. The arguments
80764 # must be portable across $(()) and expr.
80765 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
80766 eval 'as_fn_arith ()
80768 as_val=$(( $* ))
80770 else
80771 as_fn_arith ()
80773 as_val=`expr "$@" || test $? -eq 1`
80775 fi # as_fn_arith
80778 if expr a : '\(a\)' >/dev/null 2>&1 &&
80779 test "X`expr 00001 : '.*\(...\)'`" = X001; then
80780 as_expr=expr
80781 else
80782 as_expr=false
80785 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
80786 as_basename=basename
80787 else
80788 as_basename=false
80791 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
80792 as_dirname=dirname
80793 else
80794 as_dirname=false
80797 as_me=`$as_basename -- "$0" ||
80798 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
80799 X"$0" : 'X\(//\)$' \| \
80800 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
80801 $as_echo X/"$0" |
80802 sed '/^.*\/\([^/][^/]*\)\/*$/{
80803 s//\1/
80806 /^X\/\(\/\/\)$/{
80807 s//\1/
80810 /^X\/\(\/\).*/{
80811 s//\1/
80814 s/.*/./; q'`
80816 # Avoid depending upon Character Ranges.
80817 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
80818 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
80819 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
80820 as_cr_digits='0123456789'
80821 as_cr_alnum=$as_cr_Letters$as_cr_digits
80823 ECHO_C= ECHO_N= ECHO_T=
80824 case `echo -n x` in #(((((
80825 -n*)
80826 case `echo 'xy\c'` in
80827 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
80828 xy) ECHO_C='\c';;
80829 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
80830 ECHO_T=' ';;
80831 esac;;
80833 ECHO_N='-n';;
80834 esac
80836 rm -f conf$$ conf$$.exe conf$$.file
80837 if test -d conf$$.dir; then
80838 rm -f conf$$.dir/conf$$.file
80839 else
80840 rm -f conf$$.dir
80841 mkdir conf$$.dir 2>/dev/null
80843 if (echo >conf$$.file) 2>/dev/null; then
80844 if ln -s conf$$.file conf$$ 2>/dev/null; then
80845 as_ln_s='ln -s'
80846 # ... but there are two gotchas:
80847 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
80848 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
80849 # In both cases, we have to default to `cp -p'.
80850 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
80851 as_ln_s='cp -p'
80852 elif ln conf$$.file conf$$ 2>/dev/null; then
80853 as_ln_s=ln
80854 else
80855 as_ln_s='cp -p'
80857 else
80858 as_ln_s='cp -p'
80860 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
80861 rmdir conf$$.dir 2>/dev/null
80864 # as_fn_mkdir_p
80865 # -------------
80866 # Create "$as_dir" as a directory, including parents if necessary.
80867 as_fn_mkdir_p ()
80870 case $as_dir in #(
80871 -*) as_dir=./$as_dir;;
80872 esac
80873 test -d "$as_dir" || eval $as_mkdir_p || {
80874 as_dirs=
80875 while :; do
80876 case $as_dir in #(
80877 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
80878 *) as_qdir=$as_dir;;
80879 esac
80880 as_dirs="'$as_qdir' $as_dirs"
80881 as_dir=`$as_dirname -- "$as_dir" ||
80882 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
80883 X"$as_dir" : 'X\(//\)[^/]' \| \
80884 X"$as_dir" : 'X\(//\)$' \| \
80885 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
80886 $as_echo X"$as_dir" |
80887 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
80888 s//\1/
80891 /^X\(\/\/\)[^/].*/{
80892 s//\1/
80895 /^X\(\/\/\)$/{
80896 s//\1/
80899 /^X\(\/\).*/{
80900 s//\1/
80903 s/.*/./; q'`
80904 test -d "$as_dir" && break
80905 done
80906 test -z "$as_dirs" || eval "mkdir $as_dirs"
80907 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
80910 } # as_fn_mkdir_p
80911 if mkdir -p . 2>/dev/null; then
80912 as_mkdir_p='mkdir -p "$as_dir"'
80913 else
80914 test -d ./-p && rmdir ./-p
80915 as_mkdir_p=false
80918 if test -x / >/dev/null 2>&1; then
80919 as_test_x='test -x'
80920 else
80921 if ls -dL / >/dev/null 2>&1; then
80922 as_ls_L_option=L
80923 else
80924 as_ls_L_option=
80926 as_test_x='
80927 eval sh -c '\''
80928 if test -d "$1"; then
80929 test -d "$1/.";
80930 else
80931 case $1 in #(
80932 -*)set "./$1";;
80933 esac;
80934 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
80935 ???[sx]*):;;*)false;;esac;fi
80936 '\'' sh
80939 as_executable_p=$as_test_x
80941 # Sed expression to map a string onto a valid CPP name.
80942 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
80944 # Sed expression to map a string onto a valid variable name.
80945 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
80948 exec 6>&1
80949 ## ----------------------------------- ##
80950 ## Main body of $CONFIG_STATUS script. ##
80951 ## ----------------------------------- ##
80952 _ASEOF
80953 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
80955 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80956 # Save the log message, to keep $0 and so on meaningful, and to
80957 # report actual input values of CONFIG_FILES etc. instead of their
80958 # values after options handling.
80959 ac_log="
80960 This file was extended by package-unused $as_me version-unused, which was
80961 generated by GNU Autoconf 2.64. Invocation command line was
80963 CONFIG_FILES = $CONFIG_FILES
80964 CONFIG_HEADERS = $CONFIG_HEADERS
80965 CONFIG_LINKS = $CONFIG_LINKS
80966 CONFIG_COMMANDS = $CONFIG_COMMANDS
80967 $ $0 $@
80969 on `(hostname || uname -n) 2>/dev/null | sed 1q`
80972 _ACEOF
80974 case $ac_config_files in *"
80975 "*) set x $ac_config_files; shift; ac_config_files=$*;;
80976 esac
80978 case $ac_config_headers in *"
80979 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
80980 esac
80983 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80984 # Files that config.status was made for.
80985 config_files="$ac_config_files"
80986 config_headers="$ac_config_headers"
80987 config_commands="$ac_config_commands"
80989 _ACEOF
80991 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80992 ac_cs_usage="\
80993 \`$as_me' instantiates files and other configuration actions
80994 from templates according to the current configuration. Unless the files
80995 and actions are specified as TAGs, all are instantiated by default.
80997 Usage: $0 [OPTION]... [TAG]...
80999 -h, --help print this help, then exit
81000 -V, --version print version number and configuration settings, then exit
81001 -q, --quiet, --silent
81002 do not print progress messages
81003 -d, --debug don't remove temporary files
81004 --recheck update $as_me by reconfiguring in the same conditions
81005 --file=FILE[:TEMPLATE]
81006 instantiate the configuration file FILE
81007 --header=FILE[:TEMPLATE]
81008 instantiate the configuration header FILE
81010 Configuration files:
81011 $config_files
81013 Configuration headers:
81014 $config_headers
81016 Configuration commands:
81017 $config_commands
81019 Report bugs to the package provider."
81021 _ACEOF
81022 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81023 ac_cs_version="\\
81024 package-unused config.status version-unused
81025 configured by $0, generated by GNU Autoconf 2.64,
81026 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
81028 Copyright (C) 2009 Free Software Foundation, Inc.
81029 This config.status script is free software; the Free Software Foundation
81030 gives unlimited permission to copy, distribute and modify it."
81032 ac_pwd='$ac_pwd'
81033 srcdir='$srcdir'
81034 INSTALL='$INSTALL'
81035 MKDIR_P='$MKDIR_P'
81036 AWK='$AWK'
81037 test -n "\$AWK" || AWK=awk
81038 _ACEOF
81040 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81041 # The default lists apply if the user does not specify any file.
81042 ac_need_defaults=:
81043 while test $# != 0
81045 case $1 in
81046 --*=*)
81047 ac_option=`expr "X$1" : 'X\([^=]*\)='`
81048 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
81049 ac_shift=:
81052 ac_option=$1
81053 ac_optarg=$2
81054 ac_shift=shift
81056 esac
81058 case $ac_option in
81059 # Handling of the options.
81060 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
81061 ac_cs_recheck=: ;;
81062 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
81063 $as_echo "$ac_cs_version"; exit ;;
81064 --debug | --debu | --deb | --de | --d | -d )
81065 debug=: ;;
81066 --file | --fil | --fi | --f )
81067 $ac_shift
81068 case $ac_optarg in
81069 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
81070 esac
81071 as_fn_append CONFIG_FILES " '$ac_optarg'"
81072 ac_need_defaults=false;;
81073 --header | --heade | --head | --hea )
81074 $ac_shift
81075 case $ac_optarg in
81076 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
81077 esac
81078 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
81079 ac_need_defaults=false;;
81080 --he | --h)
81081 # Conflict between --help and --header
81082 as_fn_error "ambiguous option: \`$1'
81083 Try \`$0 --help' for more information.";;
81084 --help | --hel | -h )
81085 $as_echo "$ac_cs_usage"; exit ;;
81086 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
81087 | -silent | --silent | --silen | --sile | --sil | --si | --s)
81088 ac_cs_silent=: ;;
81090 # This is an error.
81091 -*) as_fn_error "unrecognized option: \`$1'
81092 Try \`$0 --help' for more information." ;;
81094 *) as_fn_append ac_config_targets " $1"
81095 ac_need_defaults=false ;;
81097 esac
81098 shift
81099 done
81101 ac_configure_extra_args=
81103 if $ac_cs_silent; then
81104 exec 6>/dev/null
81105 ac_configure_extra_args="$ac_configure_extra_args --silent"
81108 _ACEOF
81109 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81110 if \$ac_cs_recheck; then
81111 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
81112 shift
81113 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
81114 CONFIG_SHELL='$SHELL'
81115 export CONFIG_SHELL
81116 exec "\$@"
81119 _ACEOF
81120 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81121 exec 5>>config.log
81123 echo
81124 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
81125 ## Running $as_me. ##
81126 _ASBOX
81127 $as_echo "$ac_log"
81128 } >&5
81130 _ACEOF
81131 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81133 # INIT-COMMANDS
81136 srcdir="$srcdir"
81137 host="$host"
81138 target="$target"
81139 with_multisubdir="$with_multisubdir"
81140 with_multisrctop="$with_multisrctop"
81141 with_target_subdir="$with_target_subdir"
81142 ac_configure_args="${multilib_arg} ${ac_configure_args}"
81143 multi_basedir="$multi_basedir"
81144 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
81145 CC="$CC"
81146 CXX="$CXX"
81147 GFORTRAN="$GFORTRAN"
81148 GCJ="$GCJ"
81151 # The HP-UX ksh and POSIX shell print the target directory to stdout
81152 # if CDPATH is set.
81153 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
81155 sed_quote_subst='$sed_quote_subst'
81156 double_quote_subst='$double_quote_subst'
81157 delay_variable_subst='$delay_variable_subst'
81158 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
81159 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
81160 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
81161 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
81162 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
81163 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
81164 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
81165 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
81166 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
81167 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
81168 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
81169 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
81170 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
81171 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
81172 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
81173 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
81174 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
81175 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
81176 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
81177 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
81178 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
81179 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
81180 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
81181 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
81182 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
81183 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
81184 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
81185 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
81186 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
81187 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
81188 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
81189 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
81190 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
81191 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
81192 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
81193 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
81194 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
81195 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
81196 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
81197 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
81198 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
81199 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
81200 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
81201 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
81202 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
81203 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
81204 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
81205 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
81206 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"`'
81207 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
81208 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
81209 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
81210 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
81211 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
81212 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
81213 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
81214 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
81215 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
81216 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
81217 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
81218 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
81219 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
81220 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
81221 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
81222 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
81223 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
81224 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
81225 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
81226 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
81227 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
81228 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
81229 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
81230 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
81231 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
81232 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
81233 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
81234 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
81235 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
81236 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
81237 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
81238 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
81239 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
81240 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
81241 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
81242 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
81243 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
81244 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
81245 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
81246 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
81247 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
81248 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
81249 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
81250 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
81251 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
81252 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
81253 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
81254 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
81255 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
81256 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
81257 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
81258 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
81259 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
81260 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
81261 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
81262 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
81263 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
81264 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
81265 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
81266 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
81267 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
81268 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
81269 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
81270 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
81271 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
81272 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
81273 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
81274 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
81275 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
81276 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
81277 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
81278 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
81279 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
81280 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
81281 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
81282 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
81283 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
81284 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
81285 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
81286 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
81287 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
81288 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
81289 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
81290 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
81291 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
81292 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
81293 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
81294 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
81295 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
81296 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
81297 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
81298 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
81299 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
81300 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
81301 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
81302 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
81303 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
81304 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
81305 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
81306 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
81307 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
81308 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
81309 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
81310 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
81311 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
81312 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
81313 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
81314 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
81315 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
81316 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
81317 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
81318 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
81319 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
81320 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
81321 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
81322 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
81323 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
81324 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
81325 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
81326 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
81327 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
81328 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
81329 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
81330 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
81331 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
81332 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
81334 LTCC='$LTCC'
81335 LTCFLAGS='$LTCFLAGS'
81336 compiler='$compiler_DEFAULT'
81338 # A function that is used when there is no print builtin or printf.
81339 func_fallback_echo ()
81341 eval 'cat <<_LTECHO_EOF
81343 _LTECHO_EOF'
81346 # Quote evaled strings.
81347 for var in SHELL \
81348 ECHO \
81349 SED \
81350 GREP \
81351 EGREP \
81352 FGREP \
81353 LD \
81354 NM \
81355 LN_S \
81356 lt_SP2NL \
81357 lt_NL2SP \
81358 reload_flag \
81359 OBJDUMP \
81360 deplibs_check_method \
81361 file_magic_cmd \
81362 AR \
81363 AR_FLAGS \
81364 STRIP \
81365 RANLIB \
81366 CC \
81367 CFLAGS \
81368 compiler \
81369 lt_cv_sys_global_symbol_pipe \
81370 lt_cv_sys_global_symbol_to_cdecl \
81371 lt_cv_sys_global_symbol_to_c_name_address \
81372 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
81373 lt_prog_compiler_no_builtin_flag \
81374 lt_prog_compiler_wl \
81375 lt_prog_compiler_pic \
81376 lt_prog_compiler_static \
81377 lt_cv_prog_compiler_c_o \
81378 need_locks \
81379 DSYMUTIL \
81380 NMEDIT \
81381 LIPO \
81382 OTOOL \
81383 OTOOL64 \
81384 shrext_cmds \
81385 export_dynamic_flag_spec \
81386 whole_archive_flag_spec \
81387 compiler_needs_object \
81388 with_gnu_ld \
81389 allow_undefined_flag \
81390 no_undefined_flag \
81391 hardcode_libdir_flag_spec \
81392 hardcode_libdir_flag_spec_ld \
81393 hardcode_libdir_separator \
81394 fix_srcfile_path \
81395 exclude_expsyms \
81396 include_expsyms \
81397 file_list_spec \
81398 variables_saved_for_relink \
81399 libname_spec \
81400 library_names_spec \
81401 soname_spec \
81402 install_override_mode \
81403 finish_eval \
81404 old_striplib \
81405 striplib \
81406 compiler_lib_search_dirs \
81407 predep_objects \
81408 postdep_objects \
81409 predeps \
81410 postdeps \
81411 compiler_lib_search_path \
81412 LD_CXX \
81413 reload_flag_CXX \
81414 compiler_CXX \
81415 lt_prog_compiler_no_builtin_flag_CXX \
81416 lt_prog_compiler_wl_CXX \
81417 lt_prog_compiler_pic_CXX \
81418 lt_prog_compiler_static_CXX \
81419 lt_cv_prog_compiler_c_o_CXX \
81420 export_dynamic_flag_spec_CXX \
81421 whole_archive_flag_spec_CXX \
81422 compiler_needs_object_CXX \
81423 with_gnu_ld_CXX \
81424 allow_undefined_flag_CXX \
81425 no_undefined_flag_CXX \
81426 hardcode_libdir_flag_spec_CXX \
81427 hardcode_libdir_flag_spec_ld_CXX \
81428 hardcode_libdir_separator_CXX \
81429 fix_srcfile_path_CXX \
81430 exclude_expsyms_CXX \
81431 include_expsyms_CXX \
81432 file_list_spec_CXX \
81433 compiler_lib_search_dirs_CXX \
81434 predep_objects_CXX \
81435 postdep_objects_CXX \
81436 predeps_CXX \
81437 postdeps_CXX \
81438 compiler_lib_search_path_CXX; do
81439 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
81440 *[\\\\\\\`\\"\\\$]*)
81441 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
81444 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
81446 esac
81447 done
81449 # Double-quote double-evaled strings.
81450 for var in reload_cmds \
81451 old_postinstall_cmds \
81452 old_postuninstall_cmds \
81453 old_archive_cmds \
81454 extract_expsyms_cmds \
81455 old_archive_from_new_cmds \
81456 old_archive_from_expsyms_cmds \
81457 archive_cmds \
81458 archive_expsym_cmds \
81459 module_cmds \
81460 module_expsym_cmds \
81461 export_symbols_cmds \
81462 prelink_cmds \
81463 postinstall_cmds \
81464 postuninstall_cmds \
81465 finish_cmds \
81466 sys_lib_search_path_spec \
81467 sys_lib_dlsearch_path_spec \
81468 reload_cmds_CXX \
81469 old_archive_cmds_CXX \
81470 old_archive_from_new_cmds_CXX \
81471 old_archive_from_expsyms_cmds_CXX \
81472 archive_cmds_CXX \
81473 archive_expsym_cmds_CXX \
81474 module_cmds_CXX \
81475 module_expsym_cmds_CXX \
81476 export_symbols_cmds_CXX \
81477 prelink_cmds_CXX; do
81478 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
81479 *[\\\\\\\`\\"\\\$]*)
81480 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
81483 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
81485 esac
81486 done
81488 ac_aux_dir='$ac_aux_dir'
81489 xsi_shell='$xsi_shell'
81490 lt_shell_append='$lt_shell_append'
81492 # See if we are running on zsh, and set the options which allow our
81493 # commands through without removal of \ escapes INIT.
81494 if test -n "\${ZSH_VERSION+set}" ; then
81495 setopt NO_GLOB_SUBST
81499 PACKAGE='$PACKAGE'
81500 VERSION='$VERSION'
81501 TIMESTAMP='$TIMESTAMP'
81502 RM='$RM'
81503 ofile='$ofile'
81510 GCC="$GCC"
81511 CC="$CC"
81512 acx_cv_header_stdint="$acx_cv_header_stdint"
81513 acx_cv_type_int8_t="$acx_cv_type_int8_t"
81514 acx_cv_type_int16_t="$acx_cv_type_int16_t"
81515 acx_cv_type_int32_t="$acx_cv_type_int32_t"
81516 acx_cv_type_int64_t="$acx_cv_type_int64_t"
81517 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
81518 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
81519 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
81520 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
81521 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
81522 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
81523 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
81524 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
81525 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
81528 _ACEOF
81530 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81532 # Handling of arguments.
81533 for ac_config_target in $ac_config_targets
81535 case $ac_config_target in
81536 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
81537 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
81538 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
81539 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
81540 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
81541 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
81542 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
81543 "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
81544 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
81545 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
81546 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
81547 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
81548 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
81549 "src/filesystem/Makefile") CONFIG_FILES="$CONFIG_FILES src/filesystem/Makefile" ;;
81550 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
81551 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
81552 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
81553 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
81554 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
81556 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
81557 esac
81558 done
81561 # If the user did not use the arguments to specify the items to instantiate,
81562 # then the envvar interface is used. Set only those that are not.
81563 # We use the long form for the default assignment because of an extremely
81564 # bizarre bug on SunOS 4.1.3.
81565 if $ac_need_defaults; then
81566 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
81567 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
81568 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
81571 # Have a temporary directory for convenience. Make it in the build tree
81572 # simply because there is no reason against having it here, and in addition,
81573 # creating and moving files from /tmp can sometimes cause problems.
81574 # Hook for its removal unless debugging.
81575 # Note that there is a small window in which the directory will not be cleaned:
81576 # after its creation but before its name has been assigned to `$tmp'.
81577 $debug ||
81579 tmp=
81580 trap 'exit_status=$?
81581 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
81583 trap 'as_fn_exit 1' 1 2 13 15
81585 # Create a (secure) tmp directory for tmp files.
81588 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
81589 test -n "$tmp" && test -d "$tmp"
81590 } ||
81592 tmp=./conf$$-$RANDOM
81593 (umask 077 && mkdir "$tmp")
81594 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
81596 # Set up the scripts for CONFIG_FILES section.
81597 # No need to generate them if there are no CONFIG_FILES.
81598 # This happens for instance with `./config.status config.h'.
81599 if test -n "$CONFIG_FILES"; then
81602 ac_cr=`echo X | tr X '\015'`
81603 # On cygwin, bash can eat \r inside `` if the user requested igncr.
81604 # But we know of no other shell where ac_cr would be empty at this
81605 # point, so we can use a bashism as a fallback.
81606 if test "x$ac_cr" = x; then
81607 eval ac_cr=\$\'\\r\'
81609 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
81610 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
81611 ac_cs_awk_cr='\r'
81612 else
81613 ac_cs_awk_cr=$ac_cr
81616 echo 'BEGIN {' >"$tmp/subs1.awk" &&
81617 _ACEOF
81621 echo "cat >conf$$subs.awk <<_ACEOF" &&
81622 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
81623 echo "_ACEOF"
81624 } >conf$$subs.sh ||
81625 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
81626 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
81627 ac_delim='%!_!# '
81628 for ac_last_try in false false false false false :; do
81629 . ./conf$$subs.sh ||
81630 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
81632 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
81633 if test $ac_delim_n = $ac_delim_num; then
81634 break
81635 elif $ac_last_try; then
81636 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
81637 else
81638 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
81640 done
81641 rm -f conf$$subs.sh
81643 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81644 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
81645 _ACEOF
81646 sed -n '
81648 s/^/S["/; s/!.*/"]=/
81651 s/^[^!]*!//
81652 :repl
81653 t repl
81654 s/'"$ac_delim"'$//
81655 t delim
81658 s/\(.\{148\}\).*/\1/
81659 t more1
81660 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
81663 b repl
81664 :more1
81665 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
81668 s/.\{148\}//
81669 t nl
81670 :delim
81672 s/\(.\{148\}\).*/\1/
81673 t more2
81674 s/["\\]/\\&/g; s/^/"/; s/$/"/
81677 :more2
81678 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
81681 s/.\{148\}//
81682 t delim
81683 ' <conf$$subs.awk | sed '
81684 /^[^""]/{
81686 s/\n//
81688 ' >>$CONFIG_STATUS || ac_write_fail=1
81689 rm -f conf$$subs.awk
81690 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81691 _ACAWK
81692 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
81693 for (key in S) S_is_set[key] = 1
81694 FS = "\a"
81698 line = $ 0
81699 nfields = split(line, field, "@")
81700 substed = 0
81701 len = length(field[1])
81702 for (i = 2; i < nfields; i++) {
81703 key = field[i]
81704 keylen = length(key)
81705 if (S_is_set[key]) {
81706 value = S[key]
81707 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
81708 len += length(value) + length(field[++i])
81709 substed = 1
81710 } else
81711 len += 1 + keylen
81714 print line
81717 _ACAWK
81718 _ACEOF
81719 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81720 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
81721 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
81722 else
81724 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
81725 || as_fn_error "could not setup config files machinery" "$LINENO" 5
81726 _ACEOF
81728 # VPATH may cause trouble with some makes, so we remove $(srcdir),
81729 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
81730 # trailing colons and then remove the whole line if VPATH becomes empty
81731 # (actually we leave an empty line to preserve line numbers).
81732 if test "x$srcdir" = x.; then
81733 ac_vpsub='/^[ ]*VPATH[ ]*=/{
81734 s/:*\$(srcdir):*/:/
81735 s/:*\${srcdir}:*/:/
81736 s/:*@srcdir@:*/:/
81737 s/^\([^=]*=[ ]*\):*/\1/
81738 s/:*$//
81739 s/^[^=]*=[ ]*$//
81743 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81744 fi # test -n "$CONFIG_FILES"
81746 # Set up the scripts for CONFIG_HEADERS section.
81747 # No need to generate them if there are no CONFIG_HEADERS.
81748 # This happens for instance with `./config.status Makefile'.
81749 if test -n "$CONFIG_HEADERS"; then
81750 cat >"$tmp/defines.awk" <<\_ACAWK ||
81751 BEGIN {
81752 _ACEOF
81754 # Transform confdefs.h into an awk script `defines.awk', embedded as
81755 # here-document in config.status, that substitutes the proper values into
81756 # config.h.in to produce config.h.
81758 # Create a delimiter string that does not exist in confdefs.h, to ease
81759 # handling of long lines.
81760 ac_delim='%!_!# '
81761 for ac_last_try in false false :; do
81762 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
81763 if test -z "$ac_t"; then
81764 break
81765 elif $ac_last_try; then
81766 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
81767 else
81768 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
81770 done
81772 # For the awk script, D is an array of macro values keyed by name,
81773 # likewise P contains macro parameters if any. Preserve backslash
81774 # newline sequences.
81776 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
81777 sed -n '
81778 s/.\{148\}/&'"$ac_delim"'/g
81779 t rset
81780 :rset
81781 s/^[ ]*#[ ]*define[ ][ ]*/ /
81782 t def
81784 :def
81785 s/\\$//
81786 t bsnl
81787 s/["\\]/\\&/g
81788 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
81789 D["\1"]=" \3"/p
81790 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
81792 :bsnl
81793 s/["\\]/\\&/g
81794 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
81795 D["\1"]=" \3\\\\\\n"\\/p
81796 t cont
81797 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
81798 t cont
81800 :cont
81802 s/.\{148\}/&'"$ac_delim"'/g
81803 t clear
81804 :clear
81805 s/\\$//
81806 t bsnlc
81807 s/["\\]/\\&/g; s/^/"/; s/$/"/p
81809 :bsnlc
81810 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
81811 b cont
81812 ' <confdefs.h | sed '
81813 s/'"$ac_delim"'/"\\\
81814 "/g' >>$CONFIG_STATUS || ac_write_fail=1
81816 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81817 for (key in D) D_is_set[key] = 1
81818 FS = "\a"
81820 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
81821 line = \$ 0
81822 split(line, arg, " ")
81823 if (arg[1] == "#") {
81824 defundef = arg[2]
81825 mac1 = arg[3]
81826 } else {
81827 defundef = substr(arg[1], 2)
81828 mac1 = arg[2]
81830 split(mac1, mac2, "(") #)
81831 macro = mac2[1]
81832 prefix = substr(line, 1, index(line, defundef) - 1)
81833 if (D_is_set[macro]) {
81834 # Preserve the white space surrounding the "#".
81835 print prefix "define", macro P[macro] D[macro]
81836 next
81837 } else {
81838 # Replace #undef with comments. This is necessary, for example,
81839 # in the case of _POSIX_SOURCE, which is predefined and required
81840 # on some systems where configure will not decide to define it.
81841 if (defundef == "undef") {
81842 print "/*", prefix defundef, macro, "*/"
81843 next
81847 { print }
81848 _ACAWK
81849 _ACEOF
81850 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81851 as_fn_error "could not setup config headers machinery" "$LINENO" 5
81852 fi # test -n "$CONFIG_HEADERS"
81855 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
81856 shift
81857 for ac_tag
81859 case $ac_tag in
81860 :[FHLC]) ac_mode=$ac_tag; continue;;
81861 esac
81862 case $ac_mode$ac_tag in
81863 :[FHL]*:*);;
81864 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
81865 :[FH]-) ac_tag=-:-;;
81866 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
81867 esac
81868 ac_save_IFS=$IFS
81869 IFS=:
81870 set x $ac_tag
81871 IFS=$ac_save_IFS
81872 shift
81873 ac_file=$1
81874 shift
81876 case $ac_mode in
81877 :L) ac_source=$1;;
81878 :[FH])
81879 ac_file_inputs=
81880 for ac_f
81882 case $ac_f in
81883 -) ac_f="$tmp/stdin";;
81884 *) # Look for the file first in the build tree, then in the source tree
81885 # (if the path is not absolute). The absolute path cannot be DOS-style,
81886 # because $ac_f cannot contain `:'.
81887 test -f "$ac_f" ||
81888 case $ac_f in
81889 [\\/$]*) false;;
81890 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
81891 esac ||
81892 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
81893 esac
81894 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
81895 as_fn_append ac_file_inputs " '$ac_f'"
81896 done
81898 # Let's still pretend it is `configure' which instantiates (i.e., don't
81899 # use $as_me), people would be surprised to read:
81900 # /* config.h. Generated by config.status. */
81901 configure_input='Generated from '`
81902 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
81903 `' by configure.'
81904 if test x"$ac_file" != x-; then
81905 configure_input="$ac_file. $configure_input"
81906 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
81907 $as_echo "$as_me: creating $ac_file" >&6;}
81909 # Neutralize special characters interpreted by sed in replacement strings.
81910 case $configure_input in #(
81911 *\&* | *\|* | *\\* )
81912 ac_sed_conf_input=`$as_echo "$configure_input" |
81913 sed 's/[\\\\&|]/\\\\&/g'`;; #(
81914 *) ac_sed_conf_input=$configure_input;;
81915 esac
81917 case $ac_tag in
81918 *:-:* | *:-) cat >"$tmp/stdin" \
81919 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
81920 esac
81922 esac
81924 ac_dir=`$as_dirname -- "$ac_file" ||
81925 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
81926 X"$ac_file" : 'X\(//\)[^/]' \| \
81927 X"$ac_file" : 'X\(//\)$' \| \
81928 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
81929 $as_echo X"$ac_file" |
81930 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
81931 s//\1/
81934 /^X\(\/\/\)[^/].*/{
81935 s//\1/
81938 /^X\(\/\/\)$/{
81939 s//\1/
81942 /^X\(\/\).*/{
81943 s//\1/
81946 s/.*/./; q'`
81947 as_dir="$ac_dir"; as_fn_mkdir_p
81948 ac_builddir=.
81950 case "$ac_dir" in
81951 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
81953 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
81954 # A ".." for each directory in $ac_dir_suffix.
81955 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
81956 case $ac_top_builddir_sub in
81957 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
81958 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
81959 esac ;;
81960 esac
81961 ac_abs_top_builddir=$ac_pwd
81962 ac_abs_builddir=$ac_pwd$ac_dir_suffix
81963 # for backward compatibility:
81964 ac_top_builddir=$ac_top_build_prefix
81966 case $srcdir in
81967 .) # We are building in place.
81968 ac_srcdir=.
81969 ac_top_srcdir=$ac_top_builddir_sub
81970 ac_abs_top_srcdir=$ac_pwd ;;
81971 [\\/]* | ?:[\\/]* ) # Absolute name.
81972 ac_srcdir=$srcdir$ac_dir_suffix;
81973 ac_top_srcdir=$srcdir
81974 ac_abs_top_srcdir=$srcdir ;;
81975 *) # Relative name.
81976 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
81977 ac_top_srcdir=$ac_top_build_prefix$srcdir
81978 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
81979 esac
81980 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
81983 case $ac_mode in
81986 # CONFIG_FILE
81989 case $INSTALL in
81990 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
81991 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
81992 esac
81993 ac_MKDIR_P=$MKDIR_P
81994 case $MKDIR_P in
81995 [\\/$]* | ?:[\\/]* ) ;;
81996 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
81997 esac
81998 _ACEOF
82000 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82001 # If the template does not know about datarootdir, expand it.
82002 # FIXME: This hack should be removed a few years after 2.60.
82003 ac_datarootdir_hack=; ac_datarootdir_seen=
82004 ac_sed_dataroot='
82005 /datarootdir/ {
82009 /@datadir@/p
82010 /@docdir@/p
82011 /@infodir@/p
82012 /@localedir@/p
82013 /@mandir@/p'
82014 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
82015 *datarootdir*) ac_datarootdir_seen=yes;;
82016 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
82017 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
82018 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
82019 _ACEOF
82020 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82021 ac_datarootdir_hack='
82022 s&@datadir@&$datadir&g
82023 s&@docdir@&$docdir&g
82024 s&@infodir@&$infodir&g
82025 s&@localedir@&$localedir&g
82026 s&@mandir@&$mandir&g
82027 s&\\\${datarootdir}&$datarootdir&g' ;;
82028 esac
82029 _ACEOF
82031 # Neutralize VPATH when `$srcdir' = `.'.
82032 # Shell code in configure.ac might set extrasub.
82033 # FIXME: do we really want to maintain this feature?
82034 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82035 ac_sed_extra="$ac_vpsub
82036 $extrasub
82037 _ACEOF
82038 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82040 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
82041 s|@configure_input@|$ac_sed_conf_input|;t t
82042 s&@top_builddir@&$ac_top_builddir_sub&;t t
82043 s&@top_build_prefix@&$ac_top_build_prefix&;t t
82044 s&@srcdir@&$ac_srcdir&;t t
82045 s&@abs_srcdir@&$ac_abs_srcdir&;t t
82046 s&@top_srcdir@&$ac_top_srcdir&;t t
82047 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
82048 s&@builddir@&$ac_builddir&;t t
82049 s&@abs_builddir@&$ac_abs_builddir&;t t
82050 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
82051 s&@INSTALL@&$ac_INSTALL&;t t
82052 s&@MKDIR_P@&$ac_MKDIR_P&;t t
82053 $ac_datarootdir_hack
82055 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
82056 || as_fn_error "could not create $ac_file" "$LINENO" 5
82058 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
82059 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
82060 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
82061 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
82062 which seems to be undefined. Please make sure it is defined." >&5
82063 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
82064 which seems to be undefined. Please make sure it is defined." >&2;}
82066 rm -f "$tmp/stdin"
82067 case $ac_file in
82068 -) cat "$tmp/out" && rm -f "$tmp/out";;
82069 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
82070 esac \
82071 || as_fn_error "could not create $ac_file" "$LINENO" 5
82075 # CONFIG_HEADER
82077 if test x"$ac_file" != x-; then
82079 $as_echo "/* $configure_input */" \
82080 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
82081 } >"$tmp/config.h" \
82082 || as_fn_error "could not create $ac_file" "$LINENO" 5
82083 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
82084 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
82085 $as_echo "$as_me: $ac_file is unchanged" >&6;}
82086 else
82087 rm -f "$ac_file"
82088 mv "$tmp/config.h" "$ac_file" \
82089 || as_fn_error "could not create $ac_file" "$LINENO" 5
82091 else
82092 $as_echo "/* $configure_input */" \
82093 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
82094 || as_fn_error "could not create -" "$LINENO" 5
82096 # Compute "$ac_file"'s index in $config_headers.
82097 _am_arg="$ac_file"
82098 _am_stamp_count=1
82099 for _am_header in $config_headers :; do
82100 case $_am_header in
82101 $_am_arg | $_am_arg:* )
82102 break ;;
82104 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
82105 esac
82106 done
82107 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
82108 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
82109 X"$_am_arg" : 'X\(//\)[^/]' \| \
82110 X"$_am_arg" : 'X\(//\)$' \| \
82111 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
82112 $as_echo X"$_am_arg" |
82113 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
82114 s//\1/
82117 /^X\(\/\/\)[^/].*/{
82118 s//\1/
82121 /^X\(\/\/\)$/{
82122 s//\1/
82125 /^X\(\/\).*/{
82126 s//\1/
82129 s/.*/./; q'`/stamp-h$_am_stamp_count
82132 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
82133 $as_echo "$as_me: executing $ac_file commands" >&6;}
82135 esac
82138 case $ac_file$ac_mode in
82139 "default-1":C)
82140 # Only add multilib support code if we just rebuilt the top-level
82141 # Makefile.
82142 case " $CONFIG_FILES " in
82143 *" Makefile "*)
82144 ac_file=Makefile . ${multi_basedir}/config-ml.in
82146 esac ;;
82147 "libtool":C)
82149 # See if we are running on zsh, and set the options which allow our
82150 # commands through without removal of \ escapes.
82151 if test -n "${ZSH_VERSION+set}" ; then
82152 setopt NO_GLOB_SUBST
82155 cfgfile="${ofile}T"
82156 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
82157 $RM "$cfgfile"
82159 cat <<_LT_EOF >> "$cfgfile"
82160 #! $SHELL
82162 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
82163 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
82164 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
82165 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
82167 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
82168 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
82169 # Written by Gordon Matzigkeit, 1996
82171 # This file is part of GNU Libtool.
82173 # GNU Libtool is free software; you can redistribute it and/or
82174 # modify it under the terms of the GNU General Public License as
82175 # published by the Free Software Foundation; either version 2 of
82176 # the License, or (at your option) any later version.
82178 # As a special exception to the GNU General Public License,
82179 # if you distribute this file as part of a program or library that
82180 # is built using GNU Libtool, you may include this file under the
82181 # same distribution terms that you use for the rest of that program.
82183 # GNU Libtool is distributed in the hope that it will be useful,
82184 # but WITHOUT ANY WARRANTY; without even the implied warranty of
82185 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
82186 # GNU General Public License for more details.
82188 # You should have received a copy of the GNU General Public License
82189 # along with GNU Libtool; see the file COPYING. If not, a copy
82190 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
82191 # obtained by writing to the Free Software Foundation, Inc.,
82192 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
82195 # The names of the tagged configurations supported by this script.
82196 available_tags="CXX "
82198 # ### BEGIN LIBTOOL CONFIG
82200 # Which release of libtool.m4 was used?
82201 macro_version=$macro_version
82202 macro_revision=$macro_revision
82204 # Whether or not to build shared libraries.
82205 build_libtool_libs=$enable_shared
82207 # Whether or not to build static libraries.
82208 build_old_libs=$enable_static
82210 # What type of objects to build.
82211 pic_mode=$pic_mode
82213 # Whether or not to optimize for fast installation.
82214 fast_install=$enable_fast_install
82216 # Shell to use when invoking shell scripts.
82217 SHELL=$lt_SHELL
82219 # An echo program that protects backslashes.
82220 ECHO=$lt_ECHO
82222 # The host system.
82223 host_alias=$host_alias
82224 host=$host
82225 host_os=$host_os
82227 # The build system.
82228 build_alias=$build_alias
82229 build=$build
82230 build_os=$build_os
82232 # A sed program that does not truncate output.
82233 SED=$lt_SED
82235 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
82236 Xsed="\$SED -e 1s/^X//"
82238 # A grep program that handles long lines.
82239 GREP=$lt_GREP
82241 # An ERE matcher.
82242 EGREP=$lt_EGREP
82244 # A literal string matcher.
82245 FGREP=$lt_FGREP
82247 # A BSD- or MS-compatible name lister.
82248 NM=$lt_NM
82250 # Whether we need soft or hard links.
82251 LN_S=$lt_LN_S
82253 # What is the maximum length of a command?
82254 max_cmd_len=$max_cmd_len
82256 # Object file suffix (normally "o").
82257 objext=$ac_objext
82259 # Executable file suffix (normally "").
82260 exeext=$exeext
82262 # whether the shell understands "unset".
82263 lt_unset=$lt_unset
82265 # turn spaces into newlines.
82266 SP2NL=$lt_lt_SP2NL
82268 # turn newlines into spaces.
82269 NL2SP=$lt_lt_NL2SP
82271 # An object symbol dumper.
82272 OBJDUMP=$lt_OBJDUMP
82274 # Method to check whether dependent libraries are shared objects.
82275 deplibs_check_method=$lt_deplibs_check_method
82277 # Command to use when deplibs_check_method == "file_magic".
82278 file_magic_cmd=$lt_file_magic_cmd
82280 # The archiver.
82281 AR=$lt_AR
82282 AR_FLAGS=$lt_AR_FLAGS
82284 # A symbol stripping program.
82285 STRIP=$lt_STRIP
82287 # Commands used to install an old-style archive.
82288 RANLIB=$lt_RANLIB
82289 old_postinstall_cmds=$lt_old_postinstall_cmds
82290 old_postuninstall_cmds=$lt_old_postuninstall_cmds
82292 # Whether to use a lock for old archive extraction.
82293 lock_old_archive_extraction=$lock_old_archive_extraction
82295 # A C compiler.
82296 LTCC=$lt_CC
82298 # LTCC compiler flags.
82299 LTCFLAGS=$lt_CFLAGS
82301 # Take the output of nm and produce a listing of raw symbols and C names.
82302 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
82304 # Transform the output of nm in a proper C declaration.
82305 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
82307 # Transform the output of nm in a C name address pair.
82308 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
82310 # Transform the output of nm in a C name address pair when lib prefix is needed.
82311 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
82313 # The name of the directory that contains temporary libtool files.
82314 objdir=$objdir
82316 # Used to examine libraries when file_magic_cmd begins with "file".
82317 MAGIC_CMD=$MAGIC_CMD
82319 # Must we lock files when doing compilation?
82320 need_locks=$lt_need_locks
82322 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
82323 DSYMUTIL=$lt_DSYMUTIL
82325 # Tool to change global to local symbols on Mac OS X.
82326 NMEDIT=$lt_NMEDIT
82328 # Tool to manipulate fat objects and archives on Mac OS X.
82329 LIPO=$lt_LIPO
82331 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
82332 OTOOL=$lt_OTOOL
82334 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
82335 OTOOL64=$lt_OTOOL64
82337 # Old archive suffix (normally "a").
82338 libext=$libext
82340 # Shared library suffix (normally ".so").
82341 shrext_cmds=$lt_shrext_cmds
82343 # The commands to extract the exported symbol list from a shared archive.
82344 extract_expsyms_cmds=$lt_extract_expsyms_cmds
82346 # Variables whose values should be saved in libtool wrapper scripts and
82347 # restored at link time.
82348 variables_saved_for_relink=$lt_variables_saved_for_relink
82350 # Do we need the "lib" prefix for modules?
82351 need_lib_prefix=$need_lib_prefix
82353 # Do we need a version for libraries?
82354 need_version=$need_version
82356 # Library versioning type.
82357 version_type=$version_type
82359 # Shared library runtime path variable.
82360 runpath_var=$runpath_var
82362 # Shared library path variable.
82363 shlibpath_var=$shlibpath_var
82365 # Is shlibpath searched before the hard-coded library search path?
82366 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
82368 # Format of library name prefix.
82369 libname_spec=$lt_libname_spec
82371 # List of archive names. First name is the real one, the rest are links.
82372 # The last name is the one that the linker finds with -lNAME
82373 library_names_spec=$lt_library_names_spec
82375 # The coded name of the library, if different from the real name.
82376 soname_spec=$lt_soname_spec
82378 # Permission mode override for installation of shared libraries.
82379 install_override_mode=$lt_install_override_mode
82381 # Command to use after installation of a shared archive.
82382 postinstall_cmds=$lt_postinstall_cmds
82384 # Command to use after uninstallation of a shared archive.
82385 postuninstall_cmds=$lt_postuninstall_cmds
82387 # Commands used to finish a libtool library installation in a directory.
82388 finish_cmds=$lt_finish_cmds
82390 # As "finish_cmds", except a single script fragment to be evaled but
82391 # not shown.
82392 finish_eval=$lt_finish_eval
82394 # Whether we should hardcode library paths into libraries.
82395 hardcode_into_libs=$hardcode_into_libs
82397 # Compile-time system search path for libraries.
82398 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
82400 # Run-time system search path for libraries.
82401 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
82403 # Whether dlopen is supported.
82404 dlopen_support=$enable_dlopen
82406 # Whether dlopen of programs is supported.
82407 dlopen_self=$enable_dlopen_self
82409 # Whether dlopen of statically linked programs is supported.
82410 dlopen_self_static=$enable_dlopen_self_static
82412 # Commands to strip libraries.
82413 old_striplib=$lt_old_striplib
82414 striplib=$lt_striplib
82417 # The linker used to build libraries.
82418 LD=$lt_LD
82420 # How to create reloadable object files.
82421 reload_flag=$lt_reload_flag
82422 reload_cmds=$lt_reload_cmds
82424 # Commands used to build an old-style archive.
82425 old_archive_cmds=$lt_old_archive_cmds
82427 # A language specific compiler.
82428 CC=$lt_compiler
82430 # Is the compiler the GNU compiler?
82431 with_gcc=$GCC
82433 # Compiler flag to turn off builtin functions.
82434 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
82436 # How to pass a linker flag through the compiler.
82437 wl=$lt_lt_prog_compiler_wl
82439 # Additional compiler flags for building library objects.
82440 pic_flag=$lt_lt_prog_compiler_pic
82442 # Compiler flag to prevent dynamic linking.
82443 link_static_flag=$lt_lt_prog_compiler_static
82445 # Does compiler simultaneously support -c and -o options?
82446 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
82448 # Whether or not to add -lc for building shared libraries.
82449 build_libtool_need_lc=$archive_cmds_need_lc
82451 # Whether or not to disallow shared libs when runtime libs are static.
82452 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
82454 # Compiler flag to allow reflexive dlopens.
82455 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
82457 # Compiler flag to generate shared objects directly from archives.
82458 whole_archive_flag_spec=$lt_whole_archive_flag_spec
82460 # Whether the compiler copes with passing no objects directly.
82461 compiler_needs_object=$lt_compiler_needs_object
82463 # Create an old-style archive from a shared archive.
82464 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
82466 # Create a temporary old-style archive to link instead of a shared archive.
82467 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
82469 # Commands used to build a shared archive.
82470 archive_cmds=$lt_archive_cmds
82471 archive_expsym_cmds=$lt_archive_expsym_cmds
82473 # Commands used to build a loadable module if different from building
82474 # a shared archive.
82475 module_cmds=$lt_module_cmds
82476 module_expsym_cmds=$lt_module_expsym_cmds
82478 # Whether we are building with GNU ld or not.
82479 with_gnu_ld=$lt_with_gnu_ld
82481 # Flag that allows shared libraries with undefined symbols to be built.
82482 allow_undefined_flag=$lt_allow_undefined_flag
82484 # Flag that enforces no undefined symbols.
82485 no_undefined_flag=$lt_no_undefined_flag
82487 # Flag to hardcode \$libdir into a binary during linking.
82488 # This must work even if \$libdir does not exist
82489 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
82491 # If ld is used when linking, flag to hardcode \$libdir into a binary
82492 # during linking. This must work even if \$libdir does not exist.
82493 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
82495 # Whether we need a single "-rpath" flag with a separated argument.
82496 hardcode_libdir_separator=$lt_hardcode_libdir_separator
82498 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
82499 # DIR into the resulting binary.
82500 hardcode_direct=$hardcode_direct
82502 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
82503 # DIR into the resulting binary and the resulting library dependency is
82504 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
82505 # library is relocated.
82506 hardcode_direct_absolute=$hardcode_direct_absolute
82508 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
82509 # into the resulting binary.
82510 hardcode_minus_L=$hardcode_minus_L
82512 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
82513 # into the resulting binary.
82514 hardcode_shlibpath_var=$hardcode_shlibpath_var
82516 # Set to "yes" if building a shared library automatically hardcodes DIR
82517 # into the library and all subsequent libraries and executables linked
82518 # against it.
82519 hardcode_automatic=$hardcode_automatic
82521 # Set to yes if linker adds runtime paths of dependent libraries
82522 # to runtime path list.
82523 inherit_rpath=$inherit_rpath
82525 # Whether libtool must link a program against all its dependency libraries.
82526 link_all_deplibs=$link_all_deplibs
82528 # Fix the shell variable \$srcfile for the compiler.
82529 fix_srcfile_path=$lt_fix_srcfile_path
82531 # Set to "yes" if exported symbols are required.
82532 always_export_symbols=$always_export_symbols
82534 # The commands to list exported symbols.
82535 export_symbols_cmds=$lt_export_symbols_cmds
82537 # Symbols that should not be listed in the preloaded symbols.
82538 exclude_expsyms=$lt_exclude_expsyms
82540 # Symbols that must always be exported.
82541 include_expsyms=$lt_include_expsyms
82543 # Commands necessary for linking programs (against libraries) with templates.
82544 prelink_cmds=$lt_prelink_cmds
82546 # Specify filename containing input files.
82547 file_list_spec=$lt_file_list_spec
82549 # How to hardcode a shared library path into an executable.
82550 hardcode_action=$hardcode_action
82552 # The directories searched by this compiler when creating a shared library.
82553 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
82555 # Dependencies to place before and after the objects being linked to
82556 # create a shared library.
82557 predep_objects=$lt_predep_objects
82558 postdep_objects=$lt_postdep_objects
82559 predeps=$lt_predeps
82560 postdeps=$lt_postdeps
82562 # The library search path used internally by the compiler when linking
82563 # a shared library.
82564 compiler_lib_search_path=$lt_compiler_lib_search_path
82566 # ### END LIBTOOL CONFIG
82568 _LT_EOF
82570 case $host_os in
82571 aix3*)
82572 cat <<\_LT_EOF >> "$cfgfile"
82573 # AIX sometimes has problems with the GCC collect2 program. For some
82574 # reason, if we set the COLLECT_NAMES environment variable, the problems
82575 # vanish in a puff of smoke.
82576 if test "X${COLLECT_NAMES+set}" != Xset; then
82577 COLLECT_NAMES=
82578 export COLLECT_NAMES
82580 _LT_EOF
82582 esac
82585 ltmain="$ac_aux_dir/ltmain.sh"
82588 # We use sed instead of cat because bash on DJGPP gets confused if
82589 # if finds mixed CR/LF and LF-only lines. Since sed operates in
82590 # text mode, it properly converts lines to CR/LF. This bash problem
82591 # is reportedly fixed, but why not run on old versions too?
82592 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
82593 || (rm -f "$cfgfile"; exit 1)
82595 case $xsi_shell in
82596 yes)
82597 cat << \_LT_EOF >> "$cfgfile"
82599 # func_dirname file append nondir_replacement
82600 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
82601 # otherwise set result to NONDIR_REPLACEMENT.
82602 func_dirname ()
82604 case ${1} in
82605 */*) func_dirname_result="${1%/*}${2}" ;;
82606 * ) func_dirname_result="${3}" ;;
82607 esac
82610 # func_basename file
82611 func_basename ()
82613 func_basename_result="${1##*/}"
82616 # func_dirname_and_basename file append nondir_replacement
82617 # perform func_basename and func_dirname in a single function
82618 # call:
82619 # dirname: Compute the dirname of FILE. If nonempty,
82620 # add APPEND to the result, otherwise set result
82621 # to NONDIR_REPLACEMENT.
82622 # value returned in "$func_dirname_result"
82623 # basename: Compute filename of FILE.
82624 # value retuned in "$func_basename_result"
82625 # Implementation must be kept synchronized with func_dirname
82626 # and func_basename. For efficiency, we do not delegate to
82627 # those functions but instead duplicate the functionality here.
82628 func_dirname_and_basename ()
82630 case ${1} in
82631 */*) func_dirname_result="${1%/*}${2}" ;;
82632 * ) func_dirname_result="${3}" ;;
82633 esac
82634 func_basename_result="${1##*/}"
82637 # func_stripname prefix suffix name
82638 # strip PREFIX and SUFFIX off of NAME.
82639 # PREFIX and SUFFIX must not contain globbing or regex special
82640 # characters, hashes, percent signs, but SUFFIX may contain a leading
82641 # dot (in which case that matches only a dot).
82642 func_stripname ()
82644 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
82645 # positional parameters, so assign one to ordinary parameter first.
82646 func_stripname_result=${3}
82647 func_stripname_result=${func_stripname_result#"${1}"}
82648 func_stripname_result=${func_stripname_result%"${2}"}
82651 # func_opt_split
82652 func_opt_split ()
82654 func_opt_split_opt=${1%%=*}
82655 func_opt_split_arg=${1#*=}
82658 # func_lo2o object
82659 func_lo2o ()
82661 case ${1} in
82662 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
82663 *) func_lo2o_result=${1} ;;
82664 esac
82667 # func_xform libobj-or-source
82668 func_xform ()
82670 func_xform_result=${1%.*}.lo
82673 # func_arith arithmetic-term...
82674 func_arith ()
82676 func_arith_result=$(( $* ))
82679 # func_len string
82680 # STRING may not start with a hyphen.
82681 func_len ()
82683 func_len_result=${#1}
82686 _LT_EOF
82688 *) # Bourne compatible functions.
82689 cat << \_LT_EOF >> "$cfgfile"
82691 # func_dirname file append nondir_replacement
82692 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
82693 # otherwise set result to NONDIR_REPLACEMENT.
82694 func_dirname ()
82696 # Extract subdirectory from the argument.
82697 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
82698 if test "X$func_dirname_result" = "X${1}"; then
82699 func_dirname_result="${3}"
82700 else
82701 func_dirname_result="$func_dirname_result${2}"
82705 # func_basename file
82706 func_basename ()
82708 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
82712 # func_stripname prefix suffix name
82713 # strip PREFIX and SUFFIX off of NAME.
82714 # PREFIX and SUFFIX must not contain globbing or regex special
82715 # characters, hashes, percent signs, but SUFFIX may contain a leading
82716 # dot (in which case that matches only a dot).
82717 # func_strip_suffix prefix name
82718 func_stripname ()
82720 case ${2} in
82721 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
82722 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
82723 esac
82726 # sed scripts:
82727 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
82728 my_sed_long_arg='1s/^-[^=]*=//'
82730 # func_opt_split
82731 func_opt_split ()
82733 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
82734 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
82737 # func_lo2o object
82738 func_lo2o ()
82740 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
82743 # func_xform libobj-or-source
82744 func_xform ()
82746 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
82749 # func_arith arithmetic-term...
82750 func_arith ()
82752 func_arith_result=`expr "$@"`
82755 # func_len string
82756 # STRING may not start with a hyphen.
82757 func_len ()
82759 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
82762 _LT_EOF
82763 esac
82765 case $lt_shell_append in
82766 yes)
82767 cat << \_LT_EOF >> "$cfgfile"
82769 # func_append var value
82770 # Append VALUE to the end of shell variable VAR.
82771 func_append ()
82773 eval "$1+=\$2"
82775 _LT_EOF
82778 cat << \_LT_EOF >> "$cfgfile"
82780 # func_append var value
82781 # Append VALUE to the end of shell variable VAR.
82782 func_append ()
82784 eval "$1=\$$1\$2"
82787 _LT_EOF
82789 esac
82792 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
82793 || (rm -f "$cfgfile"; exit 1)
82795 mv -f "$cfgfile" "$ofile" ||
82796 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
82797 chmod +x "$ofile"
82800 cat <<_LT_EOF >> "$ofile"
82802 # ### BEGIN LIBTOOL TAG CONFIG: CXX
82804 # The linker used to build libraries.
82805 LD=$lt_LD_CXX
82807 # How to create reloadable object files.
82808 reload_flag=$lt_reload_flag_CXX
82809 reload_cmds=$lt_reload_cmds_CXX
82811 # Commands used to build an old-style archive.
82812 old_archive_cmds=$lt_old_archive_cmds_CXX
82814 # A language specific compiler.
82815 CC=$lt_compiler_CXX
82817 # Is the compiler the GNU compiler?
82818 with_gcc=$GCC_CXX
82820 # Compiler flag to turn off builtin functions.
82821 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
82823 # How to pass a linker flag through the compiler.
82824 wl=$lt_lt_prog_compiler_wl_CXX
82826 # Additional compiler flags for building library objects.
82827 pic_flag=$lt_lt_prog_compiler_pic_CXX
82829 # Compiler flag to prevent dynamic linking.
82830 link_static_flag=$lt_lt_prog_compiler_static_CXX
82832 # Does compiler simultaneously support -c and -o options?
82833 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
82835 # Whether or not to add -lc for building shared libraries.
82836 build_libtool_need_lc=$archive_cmds_need_lc_CXX
82838 # Whether or not to disallow shared libs when runtime libs are static.
82839 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
82841 # Compiler flag to allow reflexive dlopens.
82842 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
82844 # Compiler flag to generate shared objects directly from archives.
82845 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
82847 # Whether the compiler copes with passing no objects directly.
82848 compiler_needs_object=$lt_compiler_needs_object_CXX
82850 # Create an old-style archive from a shared archive.
82851 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
82853 # Create a temporary old-style archive to link instead of a shared archive.
82854 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
82856 # Commands used to build a shared archive.
82857 archive_cmds=$lt_archive_cmds_CXX
82858 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
82860 # Commands used to build a loadable module if different from building
82861 # a shared archive.
82862 module_cmds=$lt_module_cmds_CXX
82863 module_expsym_cmds=$lt_module_expsym_cmds_CXX
82865 # Whether we are building with GNU ld or not.
82866 with_gnu_ld=$lt_with_gnu_ld_CXX
82868 # Flag that allows shared libraries with undefined symbols to be built.
82869 allow_undefined_flag=$lt_allow_undefined_flag_CXX
82871 # Flag that enforces no undefined symbols.
82872 no_undefined_flag=$lt_no_undefined_flag_CXX
82874 # Flag to hardcode \$libdir into a binary during linking.
82875 # This must work even if \$libdir does not exist
82876 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
82878 # If ld is used when linking, flag to hardcode \$libdir into a binary
82879 # during linking. This must work even if \$libdir does not exist.
82880 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
82882 # Whether we need a single "-rpath" flag with a separated argument.
82883 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
82885 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
82886 # DIR into the resulting binary.
82887 hardcode_direct=$hardcode_direct_CXX
82889 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
82890 # DIR into the resulting binary and the resulting library dependency is
82891 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
82892 # library is relocated.
82893 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
82895 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
82896 # into the resulting binary.
82897 hardcode_minus_L=$hardcode_minus_L_CXX
82899 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
82900 # into the resulting binary.
82901 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
82903 # Set to "yes" if building a shared library automatically hardcodes DIR
82904 # into the library and all subsequent libraries and executables linked
82905 # against it.
82906 hardcode_automatic=$hardcode_automatic_CXX
82908 # Set to yes if linker adds runtime paths of dependent libraries
82909 # to runtime path list.
82910 inherit_rpath=$inherit_rpath_CXX
82912 # Whether libtool must link a program against all its dependency libraries.
82913 link_all_deplibs=$link_all_deplibs_CXX
82915 # Fix the shell variable \$srcfile for the compiler.
82916 fix_srcfile_path=$lt_fix_srcfile_path_CXX
82918 # Set to "yes" if exported symbols are required.
82919 always_export_symbols=$always_export_symbols_CXX
82921 # The commands to list exported symbols.
82922 export_symbols_cmds=$lt_export_symbols_cmds_CXX
82924 # Symbols that should not be listed in the preloaded symbols.
82925 exclude_expsyms=$lt_exclude_expsyms_CXX
82927 # Symbols that must always be exported.
82928 include_expsyms=$lt_include_expsyms_CXX
82930 # Commands necessary for linking programs (against libraries) with templates.
82931 prelink_cmds=$lt_prelink_cmds_CXX
82933 # Specify filename containing input files.
82934 file_list_spec=$lt_file_list_spec_CXX
82936 # How to hardcode a shared library path into an executable.
82937 hardcode_action=$hardcode_action_CXX
82939 # The directories searched by this compiler when creating a shared library.
82940 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
82942 # Dependencies to place before and after the objects being linked to
82943 # create a shared library.
82944 predep_objects=$lt_predep_objects_CXX
82945 postdep_objects=$lt_postdep_objects_CXX
82946 predeps=$lt_predeps_CXX
82947 postdeps=$lt_postdeps_CXX
82949 # The library search path used internally by the compiler when linking
82950 # a shared library.
82951 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
82953 # ### END LIBTOOL TAG CONFIG: CXX
82954 _LT_EOF
82957 "include/gstdint.h":C)
82958 if test "$GCC" = yes; then
82959 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
82960 else
82961 echo "/* generated for $CC */" > tmp-stdint.h
82964 sed 's/^ *//' >> tmp-stdint.h <<EOF
82966 #ifndef GCC_GENERATED_STDINT_H
82967 #define GCC_GENERATED_STDINT_H 1
82969 #include <sys/types.h>
82972 if test "$acx_cv_header_stdint" != stdint.h; then
82973 echo "#include <stddef.h>" >> tmp-stdint.h
82975 if test "$acx_cv_header_stdint" != stddef.h; then
82976 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
82979 sed 's/^ *//' >> tmp-stdint.h <<EOF
82980 /* glibc uses these symbols as guards to prevent redefinitions. */
82981 #ifdef __int8_t_defined
82982 #define _INT8_T
82983 #define _INT16_T
82984 #define _INT32_T
82985 #endif
82986 #ifdef __uint32_t_defined
82987 #define _UINT32_T
82988 #endif
82992 # ----------------- done header, emit basic int types -------------
82993 if test "$acx_cv_header_stdint" = stddef.h; then
82994 sed 's/^ *//' >> tmp-stdint.h <<EOF
82996 #ifndef _UINT8_T
82997 #define _UINT8_T
82998 #ifndef __uint8_t_defined
82999 #define __uint8_t_defined
83000 #ifndef uint8_t
83001 typedef unsigned $acx_cv_type_int8_t uint8_t;
83002 #endif
83003 #endif
83004 #endif
83006 #ifndef _UINT16_T
83007 #define _UINT16_T
83008 #ifndef __uint16_t_defined
83009 #define __uint16_t_defined
83010 #ifndef uint16_t
83011 typedef unsigned $acx_cv_type_int16_t uint16_t;
83012 #endif
83013 #endif
83014 #endif
83016 #ifndef _UINT32_T
83017 #define _UINT32_T
83018 #ifndef __uint32_t_defined
83019 #define __uint32_t_defined
83020 #ifndef uint32_t
83021 typedef unsigned $acx_cv_type_int32_t uint32_t;
83022 #endif
83023 #endif
83024 #endif
83026 #ifndef _INT8_T
83027 #define _INT8_T
83028 #ifndef __int8_t_defined
83029 #define __int8_t_defined
83030 #ifndef int8_t
83031 typedef $acx_cv_type_int8_t int8_t;
83032 #endif
83033 #endif
83034 #endif
83036 #ifndef _INT16_T
83037 #define _INT16_T
83038 #ifndef __int16_t_defined
83039 #define __int16_t_defined
83040 #ifndef int16_t
83041 typedef $acx_cv_type_int16_t int16_t;
83042 #endif
83043 #endif
83044 #endif
83046 #ifndef _INT32_T
83047 #define _INT32_T
83048 #ifndef __int32_t_defined
83049 #define __int32_t_defined
83050 #ifndef int32_t
83051 typedef $acx_cv_type_int32_t int32_t;
83052 #endif
83053 #endif
83054 #endif
83056 elif test "$ac_cv_type_u_int32_t" = yes; then
83057 sed 's/^ *//' >> tmp-stdint.h <<EOF
83059 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
83060 #ifndef _INT8_T
83061 #define _INT8_T
83062 #endif
83063 #ifndef _INT16_T
83064 #define _INT16_T
83065 #endif
83066 #ifndef _INT32_T
83067 #define _INT32_T
83068 #endif
83070 #ifndef _UINT8_T
83071 #define _UINT8_T
83072 #ifndef __uint8_t_defined
83073 #define __uint8_t_defined
83074 #ifndef uint8_t
83075 typedef u_int8_t uint8_t;
83076 #endif
83077 #endif
83078 #endif
83080 #ifndef _UINT16_T
83081 #define _UINT16_T
83082 #ifndef __uint16_t_defined
83083 #define __uint16_t_defined
83084 #ifndef uint16_t
83085 typedef u_int16_t uint16_t;
83086 #endif
83087 #endif
83088 #endif
83090 #ifndef _UINT32_T
83091 #define _UINT32_T
83092 #ifndef __uint32_t_defined
83093 #define __uint32_t_defined
83094 #ifndef uint32_t
83095 typedef u_int32_t uint32_t;
83096 #endif
83097 #endif
83098 #endif
83100 else
83101 sed 's/^ *//' >> tmp-stdint.h <<EOF
83103 /* Some systems have guard macros to prevent redefinitions, define them. */
83104 #ifndef _INT8_T
83105 #define _INT8_T
83106 #endif
83107 #ifndef _INT16_T
83108 #define _INT16_T
83109 #endif
83110 #ifndef _INT32_T
83111 #define _INT32_T
83112 #endif
83113 #ifndef _UINT8_T
83114 #define _UINT8_T
83115 #endif
83116 #ifndef _UINT16_T
83117 #define _UINT16_T
83118 #endif
83119 #ifndef _UINT32_T
83120 #define _UINT32_T
83121 #endif
83125 # ------------- done basic int types, emit int64_t types ------------
83126 if test "$ac_cv_type_uint64_t" = yes; then
83127 sed 's/^ *//' >> tmp-stdint.h <<EOF
83129 /* system headers have good uint64_t and int64_t */
83130 #ifndef _INT64_T
83131 #define _INT64_T
83132 #endif
83133 #ifndef _UINT64_T
83134 #define _UINT64_T
83135 #endif
83137 elif test "$ac_cv_type_u_int64_t" = yes; then
83138 sed 's/^ *//' >> tmp-stdint.h <<EOF
83140 /* system headers have an u_int64_t (and int64_t) */
83141 #ifndef _INT64_T
83142 #define _INT64_T
83143 #endif
83144 #ifndef _UINT64_T
83145 #define _UINT64_T
83146 #ifndef __uint64_t_defined
83147 #define __uint64_t_defined
83148 #ifndef uint64_t
83149 typedef u_int64_t uint64_t;
83150 #endif
83151 #endif
83152 #endif
83154 elif test -n "$acx_cv_type_int64_t"; then
83155 sed 's/^ *//' >> tmp-stdint.h <<EOF
83157 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
83158 #ifndef _INT64_T
83159 #define _INT64_T
83160 #ifndef int64_t
83161 typedef $acx_cv_type_int64_t int64_t;
83162 #endif
83163 #endif
83164 #ifndef _UINT64_T
83165 #define _UINT64_T
83166 #ifndef __uint64_t_defined
83167 #define __uint64_t_defined
83168 #ifndef uint64_t
83169 typedef unsigned $acx_cv_type_int64_t uint64_t;
83170 #endif
83171 #endif
83172 #endif
83174 else
83175 sed 's/^ *//' >> tmp-stdint.h <<EOF
83177 /* some common heuristics for int64_t, using compiler-specific tests */
83178 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
83179 #ifndef _INT64_T
83180 #define _INT64_T
83181 #ifndef __int64_t_defined
83182 #ifndef int64_t
83183 typedef long long int64_t;
83184 #endif
83185 #endif
83186 #endif
83187 #ifndef _UINT64_T
83188 #define _UINT64_T
83189 #ifndef uint64_t
83190 typedef unsigned long long uint64_t;
83191 #endif
83192 #endif
83194 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
83195 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
83196 does not implement __extension__. But that compiler doesn't define
83197 __GNUC_MINOR__. */
83198 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
83199 # define __extension__
83200 # endif
83202 # ifndef _INT64_T
83203 # define _INT64_T
83204 # ifndef int64_t
83205 __extension__ typedef long long int64_t;
83206 # endif
83207 # endif
83208 # ifndef _UINT64_T
83209 # define _UINT64_T
83210 # ifndef uint64_t
83211 __extension__ typedef unsigned long long uint64_t;
83212 # endif
83213 # endif
83215 #elif !defined __STRICT_ANSI__
83216 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
83218 # ifndef _INT64_T
83219 # define _INT64_T
83220 # ifndef int64_t
83221 typedef __int64 int64_t;
83222 # endif
83223 # endif
83224 # ifndef _UINT64_T
83225 # define _UINT64_T
83226 # ifndef uint64_t
83227 typedef unsigned __int64 uint64_t;
83228 # endif
83229 # endif
83230 # endif /* compiler */
83232 #endif /* ANSI version */
83236 # ------------- done int64_t types, emit intptr types ------------
83237 if test "$ac_cv_type_uintptr_t" != yes; then
83238 sed 's/^ *//' >> tmp-stdint.h <<EOF
83240 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
83241 #ifndef __uintptr_t_defined
83242 #ifndef uintptr_t
83243 typedef u$acx_cv_type_intptr_t uintptr_t;
83244 #endif
83245 #endif
83246 #ifndef __intptr_t_defined
83247 #ifndef intptr_t
83248 typedef $acx_cv_type_intptr_t intptr_t;
83249 #endif
83250 #endif
83254 # ------------- done intptr types, emit int_least types ------------
83255 if test "$ac_cv_type_int_least32_t" != yes; then
83256 sed 's/^ *//' >> tmp-stdint.h <<EOF
83258 /* Define int_least types */
83259 typedef int8_t int_least8_t;
83260 typedef int16_t int_least16_t;
83261 typedef int32_t int_least32_t;
83262 #ifdef _INT64_T
83263 typedef int64_t int_least64_t;
83264 #endif
83266 typedef uint8_t uint_least8_t;
83267 typedef uint16_t uint_least16_t;
83268 typedef uint32_t uint_least32_t;
83269 #ifdef _UINT64_T
83270 typedef uint64_t uint_least64_t;
83271 #endif
83275 # ------------- done intptr types, emit int_fast types ------------
83276 if test "$ac_cv_type_int_fast32_t" != yes; then
83277 sed 's/^ *//' >> tmp-stdint.h <<EOF
83279 /* Define int_fast types. short is often slow */
83280 typedef int8_t int_fast8_t;
83281 typedef int int_fast16_t;
83282 typedef int32_t int_fast32_t;
83283 #ifdef _INT64_T
83284 typedef int64_t int_fast64_t;
83285 #endif
83287 typedef uint8_t uint_fast8_t;
83288 typedef unsigned int uint_fast16_t;
83289 typedef uint32_t uint_fast32_t;
83290 #ifdef _UINT64_T
83291 typedef uint64_t uint_fast64_t;
83292 #endif
83296 if test "$ac_cv_type_uintmax_t" != yes; then
83297 sed 's/^ *//' >> tmp-stdint.h <<EOF
83299 /* Define intmax based on what we found */
83300 #ifndef intmax_t
83301 #ifdef _INT64_T
83302 typedef int64_t intmax_t;
83303 #else
83304 typedef long intmax_t;
83305 #endif
83306 #endif
83307 #ifndef uintmax_t
83308 #ifdef _UINT64_T
83309 typedef uint64_t uintmax_t;
83310 #else
83311 typedef unsigned long uintmax_t;
83312 #endif
83313 #endif
83317 sed 's/^ *//' >> tmp-stdint.h <<EOF
83319 #endif /* GCC_GENERATED_STDINT_H */
83322 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
83323 rm -f tmp-stdint.h
83324 else
83325 mv -f tmp-stdint.h include/gstdint.h
83329 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
83330 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
83331 "include/Makefile":F) cat > vpsed$$ << \_EOF
83332 s!`test -f '$<' || echo '$(srcdir)/'`!!
83333 _EOF
83334 sed -f vpsed$$ $ac_file > tmp$$
83335 mv tmp$$ $ac_file
83336 rm vpsed$$
83337 echo 'MULTISUBDIR =' >> $ac_file
83338 ml_norecursion=yes
83339 . ${multi_basedir}/config-ml.in
83340 { ml_norecursion=; unset ml_norecursion;}
83342 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
83343 s!`test -f '$<' || echo '$(srcdir)/'`!!
83344 _EOF
83345 sed -f vpsed$$ $ac_file > tmp$$
83346 mv tmp$$ $ac_file
83347 rm vpsed$$
83348 echo 'MULTISUBDIR =' >> $ac_file
83349 ml_norecursion=yes
83350 . ${multi_basedir}/config-ml.in
83351 { ml_norecursion=; unset ml_norecursion;}
83353 "src/Makefile":F) cat > vpsed$$ << \_EOF
83354 s!`test -f '$<' || echo '$(srcdir)/'`!!
83355 _EOF
83356 sed -f vpsed$$ $ac_file > tmp$$
83357 mv tmp$$ $ac_file
83358 rm vpsed$$
83359 echo 'MULTISUBDIR =' >> $ac_file
83360 ml_norecursion=yes
83361 . ${multi_basedir}/config-ml.in
83362 { ml_norecursion=; unset ml_norecursion;}
83364 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
83365 s!`test -f '$<' || echo '$(srcdir)/'`!!
83366 _EOF
83367 sed -f vpsed$$ $ac_file > tmp$$
83368 mv tmp$$ $ac_file
83369 rm vpsed$$
83370 echo 'MULTISUBDIR =' >> $ac_file
83371 ml_norecursion=yes
83372 . ${multi_basedir}/config-ml.in
83373 { ml_norecursion=; unset ml_norecursion;}
83375 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
83376 s!`test -f '$<' || echo '$(srcdir)/'`!!
83377 _EOF
83378 sed -f vpsed$$ $ac_file > tmp$$
83379 mv tmp$$ $ac_file
83380 rm vpsed$$
83381 echo 'MULTISUBDIR =' >> $ac_file
83382 ml_norecursion=yes
83383 . ${multi_basedir}/config-ml.in
83384 { ml_norecursion=; unset ml_norecursion;}
83386 "src/filesystem/Makefile":F) cat > vpsed$$ << \_EOF
83387 s!`test -f '$<' || echo '$(srcdir)/'`!!
83388 _EOF
83389 sed -f vpsed$$ $ac_file > tmp$$
83390 mv tmp$$ $ac_file
83391 rm vpsed$$
83392 echo 'MULTISUBDIR =' >> $ac_file
83393 ml_norecursion=yes
83394 . ${multi_basedir}/config-ml.in
83395 { ml_norecursion=; unset ml_norecursion;}
83397 "doc/Makefile":F) cat > vpsed$$ << \_EOF
83398 s!`test -f '$<' || echo '$(srcdir)/'`!!
83399 _EOF
83400 sed -f vpsed$$ $ac_file > tmp$$
83401 mv tmp$$ $ac_file
83402 rm vpsed$$
83403 echo 'MULTISUBDIR =' >> $ac_file
83404 ml_norecursion=yes
83405 . ${multi_basedir}/config-ml.in
83406 { ml_norecursion=; unset ml_norecursion;}
83408 "po/Makefile":F) cat > vpsed$$ << \_EOF
83409 s!`test -f '$<' || echo '$(srcdir)/'`!!
83410 _EOF
83411 sed -f vpsed$$ $ac_file > tmp$$
83412 mv tmp$$ $ac_file
83413 rm vpsed$$
83414 echo 'MULTISUBDIR =' >> $ac_file
83415 ml_norecursion=yes
83416 . ${multi_basedir}/config-ml.in
83417 { ml_norecursion=; unset ml_norecursion;}
83419 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
83420 s!`test -f '$<' || echo '$(srcdir)/'`!!
83421 _EOF
83422 sed -f vpsed$$ $ac_file > tmp$$
83423 mv tmp$$ $ac_file
83424 rm vpsed$$
83425 echo 'MULTISUBDIR =' >> $ac_file
83426 ml_norecursion=yes
83427 . ${multi_basedir}/config-ml.in
83428 { ml_norecursion=; unset ml_norecursion;}
83430 "python/Makefile":F) cat > vpsed$$ << \_EOF
83431 s!`test -f '$<' || echo '$(srcdir)/'`!!
83432 _EOF
83433 sed -f vpsed$$ $ac_file > tmp$$
83434 mv tmp$$ $ac_file
83435 rm vpsed$$
83436 echo 'MULTISUBDIR =' >> $ac_file
83437 ml_norecursion=yes
83438 . ${multi_basedir}/config-ml.in
83439 { ml_norecursion=; unset ml_norecursion;}
83441 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
83443 esac
83444 done # for ac_tag
83447 as_fn_exit 0
83448 _ACEOF
83449 ac_clean_files=$ac_clean_files_save
83451 test $ac_write_fail = 0 ||
83452 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
83455 # configure is writing to config.log, and then calls config.status.
83456 # config.status does its own redirection, appending to config.log.
83457 # Unfortunately, on DOS this fails, as config.log is still kept open
83458 # by configure, so config.status won't be able to write to it; its
83459 # output is simply discarded. So we exec the FD to /dev/null,
83460 # effectively closing config.log, so it can be properly (re)opened and
83461 # appended to by config.status. When coming back to configure, we
83462 # need to make the FD available again.
83463 if test "$no_create" != yes; then
83464 ac_cs_success=:
83465 ac_config_status_args=
83466 test "$silent" = yes &&
83467 ac_config_status_args="$ac_config_status_args --quiet"
83468 exec 5>/dev/null
83469 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
83470 exec 5>>config.log
83471 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
83472 # would make configure fail if this is the last instruction.
83473 $ac_cs_success || as_fn_exit $?
83475 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
83476 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
83477 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}